[Automation] Collect examples from azure-sdk-for-net#Azure.ResourceManager.MachineLearning_1.2.0-beta.1
Co-authored-by: azure-sdk <azuresdk@microsoft.com>
This commit is contained in:
Родитель
9915554669
Коммит
8d9f3ef9ab
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/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 MachineLearningCodeContainerResource created on azure
|
||||
// for more information of creating MachineLearningCodeContainerResource, please refer to the document of MachineLearningCodeContainerResource
|
||||
// this example assumes you already have this MachineLearningCodeVersionResource created on azure
|
||||
// for more information of creating MachineLearningCodeVersionResource, please refer to the document of MachineLearningCodeVersionResource
|
||||
string subscriptionId = "00000000-1111-2222-3333-444444444444";
|
||||
string resourceGroupName = "test-rg";
|
||||
string workspaceName = "my-aml-workspace";
|
||||
string name = "string";
|
||||
ResourceIdentifier machineLearningCodeContainerResourceId = MachineLearningCodeContainerResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, workspaceName, name);
|
||||
MachineLearningCodeContainerResource machineLearningCodeContainer = client.GetMachineLearningCodeContainerResource(machineLearningCodeContainerResourceId);
|
||||
|
||||
// get the collection of this MachineLearningCodeVersionResource
|
||||
MachineLearningCodeVersionCollection collection = machineLearningCodeContainer.GetMachineLearningCodeVersions();
|
||||
string version = "string";
|
||||
ResourceIdentifier machineLearningCodeVersionResourceId = MachineLearningCodeVersionResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, workspaceName, name, version);
|
||||
MachineLearningCodeVersionResource machineLearningCodeVersion = client.GetMachineLearningCodeVersionResource(machineLearningCodeVersionResourceId);
|
||||
|
||||
// invoke the operation
|
||||
string version = "string";
|
||||
MachineLearningCodeVersionData data = new MachineLearningCodeVersionData(new MachineLearningCodeVersionProperties()
|
||||
{
|
||||
CodeUri = new Uri("https://blobStorage/folderName"),
|
||||
|
@ -43,7 +40,7 @@ MachineLearningCodeVersionData data = new MachineLearningCodeVersionData(new Mac
|
|||
["string"] = "string",
|
||||
},
|
||||
});
|
||||
ArmOperation<MachineLearningCodeVersionResource> lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, version, data);
|
||||
ArmOperation<MachineLearningCodeVersionResource> lro = await machineLearningCodeVersion.UpdateAsync(WaitUntil.Completed, data);
|
||||
MachineLearningCodeVersionResource 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.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -15,20 +15,21 @@ TokenCredential cred = new DefaultAzureCredential();
|
|||
// authenticate your client
|
||||
ArmClient client = new ArmClient(cred);
|
||||
|
||||
// this example assumes you already have this MachineLearningCodeContainerResource created on azure
|
||||
// for more information of creating MachineLearningCodeContainerResource, please refer to the document of MachineLearningCodeContainerResource
|
||||
// this example assumes you already have this MachineLearningCodeVersionResource created on azure
|
||||
// for more information of creating MachineLearningCodeVersionResource, please refer to the document of MachineLearningCodeVersionResource
|
||||
string subscriptionId = "00000000-1111-2222-3333-444444444444";
|
||||
string resourceGroupName = "test-rg";
|
||||
string workspaceName = "my-aml-workspace";
|
||||
string name = "string";
|
||||
ResourceIdentifier machineLearningCodeContainerResourceId = MachineLearningCodeContainerResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, workspaceName, name);
|
||||
MachineLearningCodeContainerResource machineLearningCodeContainer = client.GetMachineLearningCodeContainerResource(machineLearningCodeContainerResourceId);
|
||||
|
||||
// get the collection of this MachineLearningCodeVersionResource
|
||||
MachineLearningCodeVersionCollection collection = machineLearningCodeContainer.GetMachineLearningCodeVersions();
|
||||
string version = "string";
|
||||
ResourceIdentifier machineLearningCodeVersionResourceId = MachineLearningCodeVersionResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, workspaceName, name, version);
|
||||
MachineLearningCodeVersionResource machineLearningCodeVersion = client.GetMachineLearningCodeVersionResource(machineLearningCodeVersionResourceId);
|
||||
|
||||
// invoke the operation
|
||||
string version = "string";
|
||||
bool result = await collection.ExistsAsync(version);
|
||||
MachineLearningCodeVersionResource result = await machineLearningCodeVersion.GetAsync();
|
||||
|
||||
Console.WriteLine($"Succeeded: {result}");
|
||||
// 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
|
||||
MachineLearningCodeVersionData 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.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/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 MachineLearningDatastoreResource created on azure
|
||||
// for more information of creating MachineLearningDatastoreResource, please refer to the document of MachineLearningDatastoreResource
|
||||
// this example assumes you already have this MachineLearningWorkspaceResource created on azure
|
||||
// for more information of creating MachineLearningWorkspaceResource, please refer to the document of MachineLearningWorkspaceResource
|
||||
string subscriptionId = "00000000-1111-2222-3333-444444444444";
|
||||
string resourceGroupName = "test-rg";
|
||||
string workspaceName = "my-aml-workspace";
|
||||
string name = "string";
|
||||
ResourceIdentifier machineLearningDatastoreResourceId = MachineLearningDatastoreResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, workspaceName, name);
|
||||
MachineLearningDatastoreResource machineLearningDatastore = client.GetMachineLearningDatastoreResource(machineLearningDatastoreResourceId);
|
||||
ResourceIdentifier machineLearningWorkspaceResourceId = MachineLearningWorkspaceResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, workspaceName);
|
||||
MachineLearningWorkspaceResource machineLearningWorkspace = client.GetMachineLearningWorkspaceResource(machineLearningWorkspaceResourceId);
|
||||
|
||||
// get the collection of this MachineLearningDatastoreResource
|
||||
MachineLearningDatastoreCollection collection = machineLearningWorkspace.GetMachineLearningDatastores();
|
||||
|
||||
// invoke the operation
|
||||
string name = "string";
|
||||
MachineLearningDatastoreData data = new MachineLearningDatastoreData(new MachineLearningAzureBlobDatastore(new MachineLearningAccountKeyDatastoreCredentials(new MachineLearningAccountKeyDatastoreSecrets()
|
||||
{
|
||||
Key = "string",
|
||||
|
@ -44,7 +47,7 @@ MachineLearningDatastoreData data = new MachineLearningDatastoreData(new Machine
|
|||
},
|
||||
});
|
||||
bool? skipValidation = false;
|
||||
ArmOperation<MachineLearningDatastoreResource> lro = await machineLearningDatastore.UpdateAsync(WaitUntil.Completed, data, skipValidation: skipValidation);
|
||||
ArmOperation<MachineLearningDatastoreResource> lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, name, data, skipValidation: skipValidation);
|
||||
MachineLearningDatastoreResource 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.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/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 MachineLearningDatastoreResource created on azure
|
||||
// for more information of creating MachineLearningDatastoreResource, please refer to the document of MachineLearningDatastoreResource
|
||||
// this example assumes you already have this MachineLearningWorkspaceResource created on azure
|
||||
// for more information of creating MachineLearningWorkspaceResource, please refer to the document of MachineLearningWorkspaceResource
|
||||
string subscriptionId = "00000000-1111-2222-3333-444444444444";
|
||||
string resourceGroupName = "test-rg";
|
||||
string workspaceName = "my-aml-workspace";
|
||||
string name = "string";
|
||||
ResourceIdentifier machineLearningDatastoreResourceId = MachineLearningDatastoreResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, workspaceName, name);
|
||||
MachineLearningDatastoreResource machineLearningDatastore = client.GetMachineLearningDatastoreResource(machineLearningDatastoreResourceId);
|
||||
ResourceIdentifier machineLearningWorkspaceResourceId = MachineLearningWorkspaceResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, workspaceName);
|
||||
MachineLearningWorkspaceResource machineLearningWorkspace = client.GetMachineLearningWorkspaceResource(machineLearningWorkspaceResourceId);
|
||||
|
||||
// get the collection of this MachineLearningDatastoreResource
|
||||
MachineLearningDatastoreCollection collection = machineLearningWorkspace.GetMachineLearningDatastores();
|
||||
|
||||
// invoke the operation
|
||||
string name = "string";
|
||||
MachineLearningDatastoreData data = new MachineLearningDatastoreData(new MachineLearningAzureDataLakeGen1Datastore(new MachineLearningServicePrincipalDatastoreCredentials(Guid.Parse("00000000-1111-2222-3333-444444444444"), new MachineLearningServicePrincipalDatastoreSecrets()
|
||||
{
|
||||
ClientSecret = "string",
|
||||
|
@ -44,7 +47,7 @@ MachineLearningDatastoreData data = new MachineLearningDatastoreData(new Machine
|
|||
},
|
||||
});
|
||||
bool? skipValidation = false;
|
||||
ArmOperation<MachineLearningDatastoreResource> lro = await machineLearningDatastore.UpdateAsync(WaitUntil.Completed, data, skipValidation: skipValidation);
|
||||
ArmOperation<MachineLearningDatastoreResource> lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, name, data, skipValidation: skipValidation);
|
||||
MachineLearningDatastoreResource 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.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/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 MachineLearningDatastoreResource created on azure
|
||||
// for more information of creating MachineLearningDatastoreResource, please refer to the document of MachineLearningDatastoreResource
|
||||
// this example assumes you already have this MachineLearningWorkspaceResource created on azure
|
||||
// for more information of creating MachineLearningWorkspaceResource, please refer to the document of MachineLearningWorkspaceResource
|
||||
string subscriptionId = "00000000-1111-2222-3333-444444444444";
|
||||
string resourceGroupName = "test-rg";
|
||||
string workspaceName = "my-aml-workspace";
|
||||
string name = "string";
|
||||
ResourceIdentifier machineLearningDatastoreResourceId = MachineLearningDatastoreResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, workspaceName, name);
|
||||
MachineLearningDatastoreResource machineLearningDatastore = client.GetMachineLearningDatastoreResource(machineLearningDatastoreResourceId);
|
||||
ResourceIdentifier machineLearningWorkspaceResourceId = MachineLearningWorkspaceResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, workspaceName);
|
||||
MachineLearningWorkspaceResource machineLearningWorkspace = client.GetMachineLearningWorkspaceResource(machineLearningWorkspaceResourceId);
|
||||
|
||||
// get the collection of this MachineLearningDatastoreResource
|
||||
MachineLearningDatastoreCollection collection = machineLearningWorkspace.GetMachineLearningDatastores();
|
||||
|
||||
// invoke the operation
|
||||
string name = "string";
|
||||
MachineLearningDatastoreData data = new MachineLearningDatastoreData(new MachineLearningAzureDataLakeGen2Datastore(new MachineLearningServicePrincipalDatastoreCredentials(Guid.Parse("00000000-1111-2222-3333-444444444444"), new MachineLearningServicePrincipalDatastoreSecrets()
|
||||
{
|
||||
ClientSecret = "string",
|
||||
|
@ -46,7 +49,7 @@ MachineLearningDatastoreData data = new MachineLearningDatastoreData(new Machine
|
|||
},
|
||||
});
|
||||
bool? skipValidation = false;
|
||||
ArmOperation<MachineLearningDatastoreResource> lro = await machineLearningDatastore.UpdateAsync(WaitUntil.Completed, data, skipValidation: skipValidation);
|
||||
ArmOperation<MachineLearningDatastoreResource> lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, name, data, skipValidation: skipValidation);
|
||||
MachineLearningDatastoreResource 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.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/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 MachineLearningDatastoreResource created on azure
|
||||
// for more information of creating MachineLearningDatastoreResource, please refer to the document of MachineLearningDatastoreResource
|
||||
// this example assumes you already have this MachineLearningWorkspaceResource created on azure
|
||||
// for more information of creating MachineLearningWorkspaceResource, please refer to the document of MachineLearningWorkspaceResource
|
||||
string subscriptionId = "00000000-1111-2222-3333-444444444444";
|
||||
string resourceGroupName = "test-rg";
|
||||
string workspaceName = "my-aml-workspace";
|
||||
string name = "string";
|
||||
ResourceIdentifier machineLearningDatastoreResourceId = MachineLearningDatastoreResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, workspaceName, name);
|
||||
MachineLearningDatastoreResource machineLearningDatastore = client.GetMachineLearningDatastoreResource(machineLearningDatastoreResourceId);
|
||||
ResourceIdentifier machineLearningWorkspaceResourceId = MachineLearningWorkspaceResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, workspaceName);
|
||||
MachineLearningWorkspaceResource machineLearningWorkspace = client.GetMachineLearningWorkspaceResource(machineLearningWorkspaceResourceId);
|
||||
|
||||
// get the collection of this MachineLearningDatastoreResource
|
||||
MachineLearningDatastoreCollection collection = machineLearningWorkspace.GetMachineLearningDatastores();
|
||||
|
||||
// invoke the operation
|
||||
string name = "string";
|
||||
MachineLearningDatastoreData data = new MachineLearningDatastoreData(new MachineLearningAzureFileDatastore(new MachineLearningAccountKeyDatastoreCredentials(new MachineLearningAccountKeyDatastoreSecrets()
|
||||
{
|
||||
Key = "string",
|
||||
|
@ -42,7 +45,7 @@ MachineLearningDatastoreData data = new MachineLearningDatastoreData(new Machine
|
|||
},
|
||||
});
|
||||
bool? skipValidation = false;
|
||||
ArmOperation<MachineLearningDatastoreResource> lro = await machineLearningDatastore.UpdateAsync(WaitUntil.Completed, data, skipValidation: skipValidation);
|
||||
ArmOperation<MachineLearningDatastoreResource> lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, name, data, skipValidation: skipValidation);
|
||||
MachineLearningDatastoreResource 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.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -15,20 +15,19 @@ TokenCredential cred = new DefaultAzureCredential();
|
|||
// authenticate your client
|
||||
ArmClient client = new ArmClient(cred);
|
||||
|
||||
// this example assumes you already have this MachineLearningDatastoreResource created on azure
|
||||
// for more information of creating MachineLearningDatastoreResource, please refer to the document of MachineLearningDatastoreResource
|
||||
// this example assumes you already have this MachineLearningWorkspaceResource created on azure
|
||||
// for more information of creating MachineLearningWorkspaceResource, please refer to the document of MachineLearningWorkspaceResource
|
||||
string subscriptionId = "00000000-1111-2222-3333-444444444444";
|
||||
string resourceGroupName = "test-rg";
|
||||
string workspaceName = "my-aml-workspace";
|
||||
string name = "string";
|
||||
ResourceIdentifier machineLearningDatastoreResourceId = MachineLearningDatastoreResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, workspaceName, name);
|
||||
MachineLearningDatastoreResource machineLearningDatastore = client.GetMachineLearningDatastoreResource(machineLearningDatastoreResourceId);
|
||||
ResourceIdentifier machineLearningWorkspaceResourceId = MachineLearningWorkspaceResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, workspaceName);
|
||||
MachineLearningWorkspaceResource machineLearningWorkspace = client.GetMachineLearningWorkspaceResource(machineLearningWorkspaceResourceId);
|
||||
|
||||
// get the collection of this MachineLearningDatastoreResource
|
||||
MachineLearningDatastoreCollection collection = machineLearningWorkspace.GetMachineLearningDatastores();
|
||||
|
||||
// invoke the operation
|
||||
MachineLearningDatastoreResource result = await machineLearningDatastore.GetAsync();
|
||||
string name = "string";
|
||||
bool result = await collection.ExistsAsync(name);
|
||||
|
||||
// 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
|
||||
MachineLearningDatastoreData resourceData = result.Data;
|
||||
// for demo we just print out the id
|
||||
Console.WriteLine($"Succeeded on id: {resourceData.Id}");
|
||||
Console.WriteLine($"Succeeded: {result}");
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/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 MachineLearningEnvironmentContainerResource created on azure
|
||||
// for more information of creating MachineLearningEnvironmentContainerResource, please refer to the document of MachineLearningEnvironmentContainerResource
|
||||
// this example assumes you already have this MachineLearningEnvironmentVersionResource created on azure
|
||||
// for more information of creating MachineLearningEnvironmentVersionResource, please refer to the document of MachineLearningEnvironmentVersionResource
|
||||
string subscriptionId = "00000000-1111-2222-3333-444444444444";
|
||||
string resourceGroupName = "test-rg";
|
||||
string workspaceName = "my-aml-workspace";
|
||||
string name = "string";
|
||||
ResourceIdentifier machineLearningEnvironmentContainerResourceId = MachineLearningEnvironmentContainerResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, workspaceName, name);
|
||||
MachineLearningEnvironmentContainerResource machineLearningEnvironmentContainer = client.GetMachineLearningEnvironmentContainerResource(machineLearningEnvironmentContainerResourceId);
|
||||
|
||||
// get the collection of this MachineLearningEnvironmentVersionResource
|
||||
MachineLearningEnvironmentVersionCollection collection = machineLearningEnvironmentContainer.GetMachineLearningEnvironmentVersions();
|
||||
string version = "string";
|
||||
ResourceIdentifier machineLearningEnvironmentVersionResourceId = MachineLearningEnvironmentVersionResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, workspaceName, name, version);
|
||||
MachineLearningEnvironmentVersionResource machineLearningEnvironmentVersion = client.GetMachineLearningEnvironmentVersionResource(machineLearningEnvironmentVersionResourceId);
|
||||
|
||||
// invoke the operation
|
||||
string version = "string";
|
||||
MachineLearningEnvironmentVersionData data = new MachineLearningEnvironmentVersionData(new MachineLearningEnvironmentVersionProperties()
|
||||
{
|
||||
Build = new MachineLearningBuildContext(new Uri("https://storage-account.blob.core.windows.net/azureml/DockerBuildContext/95ddede6b9b8c4e90472db3acd0a8d28/"))
|
||||
|
@ -54,7 +51,7 @@ MachineLearningEnvironmentVersionData data = new MachineLearningEnvironmentVersi
|
|||
["string"] = "string",
|
||||
},
|
||||
});
|
||||
ArmOperation<MachineLearningEnvironmentVersionResource> lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, version, data);
|
||||
ArmOperation<MachineLearningEnvironmentVersionResource> lro = await machineLearningEnvironmentVersion.UpdateAsync(WaitUntil.Completed, data);
|
||||
MachineLearningEnvironmentVersionResource 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.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -15,20 +15,21 @@ TokenCredential cred = new DefaultAzureCredential();
|
|||
// authenticate your client
|
||||
ArmClient client = new ArmClient(cred);
|
||||
|
||||
// this example assumes you already have this MachineLearningEnvironmentContainerResource created on azure
|
||||
// for more information of creating MachineLearningEnvironmentContainerResource, please refer to the document of MachineLearningEnvironmentContainerResource
|
||||
// this example assumes you already have this MachineLearningEnvironmentVersionResource created on azure
|
||||
// for more information of creating MachineLearningEnvironmentVersionResource, please refer to the document of MachineLearningEnvironmentVersionResource
|
||||
string subscriptionId = "00000000-1111-2222-3333-444444444444";
|
||||
string resourceGroupName = "test-rg";
|
||||
string workspaceName = "my-aml-workspace";
|
||||
string name = "string";
|
||||
ResourceIdentifier machineLearningEnvironmentContainerResourceId = MachineLearningEnvironmentContainerResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, workspaceName, name);
|
||||
MachineLearningEnvironmentContainerResource machineLearningEnvironmentContainer = client.GetMachineLearningEnvironmentContainerResource(machineLearningEnvironmentContainerResourceId);
|
||||
|
||||
// get the collection of this MachineLearningEnvironmentVersionResource
|
||||
MachineLearningEnvironmentVersionCollection collection = machineLearningEnvironmentContainer.GetMachineLearningEnvironmentVersions();
|
||||
string version = "string";
|
||||
ResourceIdentifier machineLearningEnvironmentVersionResourceId = MachineLearningEnvironmentVersionResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, workspaceName, name, version);
|
||||
MachineLearningEnvironmentVersionResource machineLearningEnvironmentVersion = client.GetMachineLearningEnvironmentVersionResource(machineLearningEnvironmentVersionResourceId);
|
||||
|
||||
// invoke the operation
|
||||
string version = "string";
|
||||
bool result = await collection.ExistsAsync(version);
|
||||
MachineLearningEnvironmentVersionResource result = await machineLearningEnvironmentVersion.GetAsync();
|
||||
|
||||
Console.WriteLine($"Succeeded: {result}");
|
||||
// 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
|
||||
MachineLearningEnvironmentVersionData 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.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.1.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.MachineLearning_1.2.0-beta.1/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/README.md"}
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче