[Automation] Collect examples from azure-sdk-for-net#Azure.ResourceManager.DataFactory_1.5.0

This commit is contained in:
Azure SDK Bot 2024-10-25 00:21:24 -07:00 коммит произвёл GitHub
Родитель e6cecf5346
Коммит af83877aee
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
120 изменённых файлов: 279 добавлений и 251 удалений

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -15,16 +15,19 @@ TokenCredential cred = new DefaultAzureCredential();
// authenticate your client
ArmClient client = new ArmClient(cred);
// this example assumes you already have this DataFactoryPrivateEndpointConnectionResource created on azure
// for more information of creating DataFactoryPrivateEndpointConnectionResource, please refer to the document of DataFactoryPrivateEndpointConnectionResource
// this example assumes you already have this DataFactoryResource created on azure
// for more information of creating DataFactoryResource, please refer to the document of DataFactoryResource
string subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345";
string resourceGroupName = "exampleResourceGroup";
string factoryName = "exampleFactoryName";
string privateEndpointConnectionName = "connection";
ResourceIdentifier dataFactoryPrivateEndpointConnectionResourceId = DataFactoryPrivateEndpointConnectionResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, factoryName, privateEndpointConnectionName);
DataFactoryPrivateEndpointConnectionResource dataFactoryPrivateEndpointConnection = client.GetDataFactoryPrivateEndpointConnectionResource(dataFactoryPrivateEndpointConnectionResourceId);
ResourceIdentifier dataFactoryResourceId = DataFactoryResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, factoryName);
DataFactoryResource dataFactory = client.GetDataFactoryResource(dataFactoryResourceId);
// get the collection of this DataFactoryPrivateEndpointConnectionResource
DataFactoryPrivateEndpointConnectionCollection collection = dataFactory.GetDataFactoryPrivateEndpointConnections();
// invoke the operation
string privateEndpointConnectionName = "connection";
DataFactoryPrivateEndpointConnectionCreateOrUpdateContent content = new DataFactoryPrivateEndpointConnectionCreateOrUpdateContent()
{
Properties = new PrivateLinkConnectionApprovalRequest()
@ -38,7 +41,7 @@ DataFactoryPrivateEndpointConnectionCreateOrUpdateContent content = new DataFact
PrivateEndpointId = new ResourceIdentifier("/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/privateEndpoints/myPrivateEndpoint"),
},
};
ArmOperation<DataFactoryPrivateEndpointConnectionResource> lro = await dataFactoryPrivateEndpointConnection.UpdateAsync(WaitUntil.Completed, content);
ArmOperation<DataFactoryPrivateEndpointConnectionResource> lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, privateEndpointConnectionName, content);
DataFactoryPrivateEndpointConnectionResource result = lro.Value;
// the variable result is a resource, you could call other operations on this instance as well

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -14,20 +14,31 @@ TokenCredential cred = new DefaultAzureCredential();
// authenticate your client
ArmClient client = new ArmClient(cred);
// this example assumes you already have this DataFactoryChangeDataCaptureResource created on azure
// for more information of creating DataFactoryChangeDataCaptureResource, please refer to the document of DataFactoryChangeDataCaptureResource
// this example assumes you already have this DataFactoryResource created on azure
// for more information of creating DataFactoryResource, please refer to the document of DataFactoryResource
string subscriptionId = "12345678-1234-1234-1234-12345678abc";
string resourceGroupName = "exampleResourceGroup";
string factoryName = "exampleFactoryName";
string changeDataCaptureName = "exampleChangeDataCapture";
ResourceIdentifier dataFactoryChangeDataCaptureResourceId = DataFactoryChangeDataCaptureResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, factoryName, changeDataCaptureName);
DataFactoryChangeDataCaptureResource dataFactoryChangeDataCapture = client.GetDataFactoryChangeDataCaptureResource(dataFactoryChangeDataCaptureResourceId);
ResourceIdentifier dataFactoryResourceId = DataFactoryResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, factoryName);
DataFactoryResource dataFactory = client.GetDataFactoryResource(dataFactoryResourceId);
// get the collection of this DataFactoryChangeDataCaptureResource
DataFactoryChangeDataCaptureCollection collection = dataFactory.GetDataFactoryChangeDataCaptures();
// invoke the operation
DataFactoryChangeDataCaptureResource result = await dataFactoryChangeDataCapture.GetAsync();
string changeDataCaptureName = "exampleChangeDataCapture";
NullableResponse<DataFactoryChangeDataCaptureResource> response = await collection.GetIfExistsAsync(changeDataCaptureName);
DataFactoryChangeDataCaptureResource result = response.HasValue ? response.Value : null;
// the variable result is a resource, you could call other operations on this instance as well
// but just for demo, we get its data from this resource instance
DataFactoryChangeDataCaptureData resourceData = result.Data;
// for demo we just print out the id
Console.WriteLine($"Succeeded on id: {resourceData.Id}");
if (result == null)
{
Console.WriteLine($"Succeeded with null as result");
}
else
{
// the variable result is a resource, you could call other operations on this instance as well
// but just for demo, we get its data from this resource instance
DataFactoryChangeDataCaptureData resourceData = result.Data;
// for demo we just print out the id
Console.WriteLine($"Succeeded on id: {resourceData.Id}");
}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -15,19 +15,16 @@ TokenCredential cred = new DefaultAzureCredential();
// authenticate your client
ArmClient client = new ArmClient(cred);
// this example assumes you already have this DataFactoryResource created on azure
// for more information of creating DataFactoryResource, please refer to the document of DataFactoryResource
// this example assumes you already have this DataFactoryDataFlowResource created on azure
// for more information of creating DataFactoryDataFlowResource, please refer to the document of DataFactoryDataFlowResource
string subscriptionId = "12345678-1234-1234-1234-12345678abc";
string resourceGroupName = "exampleResourceGroup";
string factoryName = "exampleFactoryName";
ResourceIdentifier dataFactoryResourceId = DataFactoryResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, factoryName);
DataFactoryResource dataFactory = client.GetDataFactoryResource(dataFactoryResourceId);
// get the collection of this DataFactoryDataFlowResource
DataFactoryDataFlowCollection collection = dataFactory.GetDataFactoryDataFlows();
string dataFlowName = "exampleDataFlow";
ResourceIdentifier dataFactoryDataFlowResourceId = DataFactoryDataFlowResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, factoryName, dataFlowName);
DataFactoryDataFlowResource dataFactoryDataFlow = client.GetDataFactoryDataFlowResource(dataFactoryDataFlowResourceId);
// invoke the operation
string dataFlowName = "exampleDataFlow";
DataFactoryDataFlowData data = new DataFactoryDataFlowData(new DataFactoryMappingDataFlowProperties()
{
Sources =
@ -56,7 +53,7 @@ DataFactoryDataFlowData data = new DataFactoryDataFlowData(new DataFactoryMappin
},
Description = "Sample demo data flow to convert currencies showing usage of union, derive and conditional split transformation.",
});
ArmOperation<DataFactoryDataFlowResource> lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, dataFlowName, data);
ArmOperation<DataFactoryDataFlowResource> lro = await dataFactoryDataFlow.UpdateAsync(WaitUntil.Completed, data);
DataFactoryDataFlowResource result = lro.Value;
// the variable result is a resource, you could call other operations on this instance as well

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -15,31 +15,20 @@ TokenCredential cred = new DefaultAzureCredential();
// authenticate your client
ArmClient client = new ArmClient(cred);
// this example assumes you already have this DataFactoryResource created on azure
// for more information of creating DataFactoryResource, please refer to the document of DataFactoryResource
// this example assumes you already have this DataFactoryDataFlowResource created on azure
// for more information of creating DataFactoryDataFlowResource, please refer to the document of DataFactoryDataFlowResource
string subscriptionId = "12345678-1234-1234-1234-12345678abc";
string resourceGroupName = "exampleResourceGroup";
string factoryName = "exampleFactoryName";
ResourceIdentifier dataFactoryResourceId = DataFactoryResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, factoryName);
DataFactoryResource dataFactory = client.GetDataFactoryResource(dataFactoryResourceId);
// get the collection of this DataFactoryDataFlowResource
DataFactoryDataFlowCollection collection = dataFactory.GetDataFactoryDataFlows();
string dataFlowName = "exampleDataFlow";
ResourceIdentifier dataFactoryDataFlowResourceId = DataFactoryDataFlowResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, factoryName, dataFlowName);
DataFactoryDataFlowResource dataFactoryDataFlow = client.GetDataFactoryDataFlowResource(dataFactoryDataFlowResourceId);
// invoke the operation
string dataFlowName = "exampleDataFlow";
NullableResponse<DataFactoryDataFlowResource> response = await collection.GetIfExistsAsync(dataFlowName);
DataFactoryDataFlowResource result = response.HasValue ? response.Value : null;
DataFactoryDataFlowResource result = await dataFactoryDataFlow.GetAsync();
if (result == null)
{
Console.WriteLine($"Succeeded with null as result");
}
else
{
// the variable result is a resource, you could call other operations on this instance as well
// but just for demo, we get its data from this resource instance
DataFactoryDataFlowData resourceData = result.Data;
// for demo we just print out the id
Console.WriteLine($"Succeeded on id: {resourceData.Id}");
}
// the variable result is a resource, you could call other operations on this instance as well
// but just for demo, we get its data from this resource instance
DataFactoryDataFlowData resourceData = result.Data;
// for demo we just print out the id
Console.WriteLine($"Succeeded on id: {resourceData.Id}");

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -15,19 +15,16 @@ TokenCredential cred = new DefaultAzureCredential();
// authenticate your client
ArmClient client = new ArmClient(cred);
// this example assumes you already have this DataFactoryResource created on azure
// for more information of creating DataFactoryResource, please refer to the document of DataFactoryResource
// this example assumes you already have this DataFactoryDataFlowResource created on azure
// for more information of creating DataFactoryDataFlowResource, please refer to the document of DataFactoryDataFlowResource
string subscriptionId = "12345678-1234-1234-1234-12345678abc";
string resourceGroupName = "exampleResourceGroup";
string factoryName = "exampleFactoryName";
ResourceIdentifier dataFactoryResourceId = DataFactoryResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, factoryName);
DataFactoryResource dataFactory = client.GetDataFactoryResource(dataFactoryResourceId);
// get the collection of this DataFactoryDataFlowResource
DataFactoryDataFlowCollection collection = dataFactory.GetDataFactoryDataFlows();
string dataFlowName = "exampleDataFlow";
ResourceIdentifier dataFactoryDataFlowResourceId = DataFactoryDataFlowResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, factoryName, dataFlowName);
DataFactoryDataFlowResource dataFactoryDataFlow = client.GetDataFactoryDataFlowResource(dataFactoryDataFlowResourceId);
// invoke the operation
string dataFlowName = "exampleDataFlow";
DataFactoryDataFlowData data = new DataFactoryDataFlowData(new DataFactoryMappingDataFlowProperties()
{
Sources =
@ -56,7 +53,7 @@ DataFactoryDataFlowData data = new DataFactoryDataFlowData(new DataFactoryMappin
},
Description = "Sample demo data flow to convert currencies showing usage of union, derive and conditional split transformation.",
});
ArmOperation<DataFactoryDataFlowResource> lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, dataFlowName, data);
ArmOperation<DataFactoryDataFlowResource> lro = await dataFactoryDataFlow.UpdateAsync(WaitUntil.Completed, data);
DataFactoryDataFlowResource result = lro.Value;
// the variable result is a resource, you could call other operations on this instance as well

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -15,20 +15,31 @@ TokenCredential cred = new DefaultAzureCredential();
// authenticate your client
ArmClient client = new ArmClient(cred);
// this example assumes you already have this DataFactoryPrivateEndpointConnectionResource created on azure
// for more information of creating DataFactoryPrivateEndpointConnectionResource, please refer to the document of DataFactoryPrivateEndpointConnectionResource
// this example assumes you already have this DataFactoryResource created on azure
// for more information of creating DataFactoryResource, please refer to the document of DataFactoryResource
string subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345";
string resourceGroupName = "exampleResourceGroup";
string factoryName = "exampleFactoryName";
string privateEndpointConnectionName = "connection";
ResourceIdentifier dataFactoryPrivateEndpointConnectionResourceId = DataFactoryPrivateEndpointConnectionResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, factoryName, privateEndpointConnectionName);
DataFactoryPrivateEndpointConnectionResource dataFactoryPrivateEndpointConnection = client.GetDataFactoryPrivateEndpointConnectionResource(dataFactoryPrivateEndpointConnectionResourceId);
ResourceIdentifier dataFactoryResourceId = DataFactoryResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, factoryName);
DataFactoryResource dataFactory = client.GetDataFactoryResource(dataFactoryResourceId);
// get the collection of this DataFactoryPrivateEndpointConnectionResource
DataFactoryPrivateEndpointConnectionCollection collection = dataFactory.GetDataFactoryPrivateEndpointConnections();
// invoke the operation
DataFactoryPrivateEndpointConnectionResource result = await dataFactoryPrivateEndpointConnection.GetAsync();
string privateEndpointConnectionName = "connection";
NullableResponse<DataFactoryPrivateEndpointConnectionResource> response = await collection.GetIfExistsAsync(privateEndpointConnectionName);
DataFactoryPrivateEndpointConnectionResource result = response.HasValue ? response.Value : null;
// the variable result is a resource, you could call other operations on this instance as well
// but just for demo, we get its data from this resource instance
DataFactoryPrivateEndpointConnectionData resourceData = result.Data;
// for demo we just print out the id
Console.WriteLine($"Succeeded on id: {resourceData.Id}");
if (result == null)
{
Console.WriteLine($"Succeeded with null as result");
}
else
{
// the variable result is a resource, you could call other operations on this instance as well
// but just for demo, we get its data from this resource instance
DataFactoryPrivateEndpointConnectionData resourceData = result.Data;
// for demo we just print out the id
Console.WriteLine($"Succeeded on id: {resourceData.Id}");
}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -16,21 +16,24 @@ TokenCredential cred = new DefaultAzureCredential();
// authenticate your client
ArmClient client = new ArmClient(cred);
// this example assumes you already have this DataFactoryLinkedServiceResource created on azure
// for more information of creating DataFactoryLinkedServiceResource, please refer to the document of DataFactoryLinkedServiceResource
// this example assumes you already have this DataFactoryResource created on azure
// for more information of creating DataFactoryResource, please refer to the document of DataFactoryResource
string subscriptionId = "12345678-1234-1234-1234-12345678abc";
string resourceGroupName = "exampleResourceGroup";
string factoryName = "exampleFactoryName";
string linkedServiceName = "exampleLinkedService";
ResourceIdentifier dataFactoryLinkedServiceResourceId = DataFactoryLinkedServiceResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, factoryName, linkedServiceName);
DataFactoryLinkedServiceResource dataFactoryLinkedService = client.GetDataFactoryLinkedServiceResource(dataFactoryLinkedServiceResourceId);
ResourceIdentifier dataFactoryResourceId = DataFactoryResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, factoryName);
DataFactoryResource dataFactory = client.GetDataFactoryResource(dataFactoryResourceId);
// get the collection of this DataFactoryLinkedServiceResource
DataFactoryLinkedServiceCollection collection = dataFactory.GetDataFactoryLinkedServices();
// invoke the operation
string linkedServiceName = "exampleLinkedService";
DataFactoryLinkedServiceData data = new DataFactoryLinkedServiceData(new AzureStorageLinkedService()
{
ConnectionString = DataFactoryElement<string>.FromSecretString("DefaultEndpointsProtocol=https;AccountName=examplestorageaccount;AccountKey=<storage key>"),
});
ArmOperation<DataFactoryLinkedServiceResource> lro = await dataFactoryLinkedService.UpdateAsync(WaitUntil.Completed, data);
ArmOperation<DataFactoryLinkedServiceResource> lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, linkedServiceName, data);
DataFactoryLinkedServiceResource result = lro.Value;
// the variable result is a resource, you could call other operations on this instance as well

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -16,20 +16,31 @@ TokenCredential cred = new DefaultAzureCredential();
// authenticate your client
ArmClient client = new ArmClient(cred);
// this example assumes you already have this DataFactoryLinkedServiceResource created on azure
// for more information of creating DataFactoryLinkedServiceResource, please refer to the document of DataFactoryLinkedServiceResource
// this example assumes you already have this DataFactoryResource created on azure
// for more information of creating DataFactoryResource, please refer to the document of DataFactoryResource
string subscriptionId = "12345678-1234-1234-1234-12345678abc";
string resourceGroupName = "exampleResourceGroup";
string factoryName = "exampleFactoryName";
string linkedServiceName = "exampleLinkedService";
ResourceIdentifier dataFactoryLinkedServiceResourceId = DataFactoryLinkedServiceResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, factoryName, linkedServiceName);
DataFactoryLinkedServiceResource dataFactoryLinkedService = client.GetDataFactoryLinkedServiceResource(dataFactoryLinkedServiceResourceId);
ResourceIdentifier dataFactoryResourceId = DataFactoryResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, factoryName);
DataFactoryResource dataFactory = client.GetDataFactoryResource(dataFactoryResourceId);
// get the collection of this DataFactoryLinkedServiceResource
DataFactoryLinkedServiceCollection collection = dataFactory.GetDataFactoryLinkedServices();
// invoke the operation
DataFactoryLinkedServiceResource result = await dataFactoryLinkedService.GetAsync();
string linkedServiceName = "exampleLinkedService";
NullableResponse<DataFactoryLinkedServiceResource> response = await collection.GetIfExistsAsync(linkedServiceName);
DataFactoryLinkedServiceResource result = response.HasValue ? response.Value : null;
// the variable result is a resource, you could call other operations on this instance as well
// but just for demo, we get its data from this resource instance
DataFactoryLinkedServiceData resourceData = result.Data;
// for demo we just print out the id
Console.WriteLine($"Succeeded on id: {resourceData.Id}");
if (result == null)
{
Console.WriteLine($"Succeeded with null as result");
}
else
{
// the variable result is a resource, you could call other operations on this instance as well
// but just for demo, we get its data from this resource instance
DataFactoryLinkedServiceData resourceData = result.Data;
// for demo we just print out the id
Console.WriteLine($"Succeeded on id: {resourceData.Id}");
}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -16,22 +16,25 @@ TokenCredential cred = new DefaultAzureCredential();
// authenticate your client
ArmClient client = new ArmClient(cred);
// this example assumes you already have this DataFactoryLinkedServiceResource created on azure
// for more information of creating DataFactoryLinkedServiceResource, please refer to the document of DataFactoryLinkedServiceResource
// this example assumes you already have this DataFactoryResource created on azure
// for more information of creating DataFactoryResource, please refer to the document of DataFactoryResource
string subscriptionId = "12345678-1234-1234-1234-12345678abc";
string resourceGroupName = "exampleResourceGroup";
string factoryName = "exampleFactoryName";
string linkedServiceName = "exampleLinkedService";
ResourceIdentifier dataFactoryLinkedServiceResourceId = DataFactoryLinkedServiceResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, factoryName, linkedServiceName);
DataFactoryLinkedServiceResource dataFactoryLinkedService = client.GetDataFactoryLinkedServiceResource(dataFactoryLinkedServiceResourceId);
ResourceIdentifier dataFactoryResourceId = DataFactoryResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, factoryName);
DataFactoryResource dataFactory = client.GetDataFactoryResource(dataFactoryResourceId);
// get the collection of this DataFactoryLinkedServiceResource
DataFactoryLinkedServiceCollection collection = dataFactory.GetDataFactoryLinkedServices();
// invoke the operation
string linkedServiceName = "exampleLinkedService";
DataFactoryLinkedServiceData data = new DataFactoryLinkedServiceData(new AzureStorageLinkedService()
{
ConnectionString = DataFactoryElement<string>.FromSecretString("DefaultEndpointsProtocol=https;AccountName=examplestorageaccount;AccountKey=<storage key>"),
Description = "Example description",
});
ArmOperation<DataFactoryLinkedServiceResource> lro = await dataFactoryLinkedService.UpdateAsync(WaitUntil.Completed, data);
ArmOperation<DataFactoryLinkedServiceResource> lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, linkedServiceName, data);
DataFactoryLinkedServiceResource result = lro.Value;
// the variable result is a resource, you could call other operations on this instance as well

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -15,20 +15,17 @@ TokenCredential cred = new DefaultAzureCredential();
// authenticate your client
ArmClient client = new ArmClient(cred);
// this example assumes you already have this DataFactoryManagedVirtualNetworkResource created on azure
// for more information of creating DataFactoryManagedVirtualNetworkResource, please refer to the document of DataFactoryManagedVirtualNetworkResource
// this example assumes you already have this DataFactoryPrivateEndpointResource created on azure
// for more information of creating DataFactoryPrivateEndpointResource, please refer to the document of DataFactoryPrivateEndpointResource
string subscriptionId = "12345678-1234-1234-1234-12345678abc";
string resourceGroupName = "exampleResourceGroup";
string factoryName = "exampleFactoryName";
string managedVirtualNetworkName = "exampleManagedVirtualNetworkName";
ResourceIdentifier dataFactoryManagedVirtualNetworkResourceId = DataFactoryManagedVirtualNetworkResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, factoryName, managedVirtualNetworkName);
DataFactoryManagedVirtualNetworkResource dataFactoryManagedVirtualNetwork = client.GetDataFactoryManagedVirtualNetworkResource(dataFactoryManagedVirtualNetworkResourceId);
// get the collection of this DataFactoryPrivateEndpointResource
DataFactoryPrivateEndpointCollection collection = dataFactoryManagedVirtualNetwork.GetDataFactoryPrivateEndpoints();
string managedPrivateEndpointName = "exampleManagedPrivateEndpointName";
ResourceIdentifier dataFactoryPrivateEndpointResourceId = DataFactoryPrivateEndpointResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, factoryName, managedVirtualNetworkName, managedPrivateEndpointName);
DataFactoryPrivateEndpointResource dataFactoryPrivateEndpoint = client.GetDataFactoryPrivateEndpointResource(dataFactoryPrivateEndpointResourceId);
// invoke the operation
string managedPrivateEndpointName = "exampleManagedPrivateEndpointName";
DataFactoryPrivateEndpointData data = new DataFactoryPrivateEndpointData(new DataFactoryPrivateEndpointProperties()
{
Fqdns =
@ -37,7 +34,7 @@ DataFactoryPrivateEndpointData data = new DataFactoryPrivateEndpointData(new Dat
GroupId = "blob",
PrivateLinkResourceId = new ResourceIdentifier("/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.Storage/storageAccounts/exampleBlobStorage"),
});
ArmOperation<DataFactoryPrivateEndpointResource> lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, managedPrivateEndpointName, data);
ArmOperation<DataFactoryPrivateEndpointResource> lro = await dataFactoryPrivateEndpoint.UpdateAsync(WaitUntil.Completed, data);
DataFactoryPrivateEndpointResource result = lro.Value;
// the variable result is a resource, you could call other operations on this instance as well

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -15,32 +15,21 @@ TokenCredential cred = new DefaultAzureCredential();
// authenticate your client
ArmClient client = new ArmClient(cred);
// this example assumes you already have this DataFactoryManagedVirtualNetworkResource created on azure
// for more information of creating DataFactoryManagedVirtualNetworkResource, please refer to the document of DataFactoryManagedVirtualNetworkResource
// this example assumes you already have this DataFactoryPrivateEndpointResource created on azure
// for more information of creating DataFactoryPrivateEndpointResource, please refer to the document of DataFactoryPrivateEndpointResource
string subscriptionId = "12345678-1234-1234-1234-12345678abc";
string resourceGroupName = "exampleResourceGroup";
string factoryName = "exampleFactoryName";
string managedVirtualNetworkName = "exampleManagedVirtualNetworkName";
ResourceIdentifier dataFactoryManagedVirtualNetworkResourceId = DataFactoryManagedVirtualNetworkResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, factoryName, managedVirtualNetworkName);
DataFactoryManagedVirtualNetworkResource dataFactoryManagedVirtualNetwork = client.GetDataFactoryManagedVirtualNetworkResource(dataFactoryManagedVirtualNetworkResourceId);
// get the collection of this DataFactoryPrivateEndpointResource
DataFactoryPrivateEndpointCollection collection = dataFactoryManagedVirtualNetwork.GetDataFactoryPrivateEndpoints();
string managedPrivateEndpointName = "exampleManagedPrivateEndpointName";
ResourceIdentifier dataFactoryPrivateEndpointResourceId = DataFactoryPrivateEndpointResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, factoryName, managedVirtualNetworkName, managedPrivateEndpointName);
DataFactoryPrivateEndpointResource dataFactoryPrivateEndpoint = client.GetDataFactoryPrivateEndpointResource(dataFactoryPrivateEndpointResourceId);
// invoke the operation
string managedPrivateEndpointName = "exampleManagedPrivateEndpointName";
NullableResponse<DataFactoryPrivateEndpointResource> response = await collection.GetIfExistsAsync(managedPrivateEndpointName);
DataFactoryPrivateEndpointResource result = response.HasValue ? response.Value : null;
DataFactoryPrivateEndpointResource result = await dataFactoryPrivateEndpoint.GetAsync();
if (result == null)
{
Console.WriteLine($"Succeeded with null as result");
}
else
{
// the variable result is a resource, you could call other operations on this instance as well
// but just for demo, we get its data from this resource instance
DataFactoryPrivateEndpointData resourceData = result.Data;
// for demo we just print out the id
Console.WriteLine($"Succeeded on id: {resourceData.Id}");
}
// the variable result is a resource, you could call other operations on this instance as well
// but just for demo, we get its data from this resource instance
DataFactoryPrivateEndpointData resourceData = result.Data;
// for demo we just print out the id
Console.WriteLine($"Succeeded on id: {resourceData.Id}");

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Просмотреть файл

@ -1 +1 @@
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.4.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.DataFactory_1.5.0/sdk/datafactory/Azure.ResourceManager.DataFactory/README.md"}

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше