From adc3f6497b021a724e8a50e52fb56564bb268e65 Mon Sep 17 00:00:00 2001 From: Teddy Date: Wed, 5 May 2021 18:49:25 -0400 Subject: [PATCH] bundle examples of same operation --- .../AKSCompute.json} | 0 .../AmlCompute.json} | 0 .../BasicAKSCompute.json} | 0 .../BasicAmlCompute.json} | 0 .../BasicDataFactoryCompute.json} | 0 .../ComputeInstance.json} | 0 .../ComputeInstanceMinimal.json} | 0 .../AKSCompute.json} | 0 .../AmlCompute.json} | 0 .../ComputeInstance.json} | 0 .../machineLearningServices.json | 20 +++++++++---------- 11 files changed, 10 insertions(+), 10 deletions(-) rename specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/{updateAKSCompute.json => createOrUpdate/AKSCompute.json} (100%) rename specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/{updateAmlCompute.json => createOrUpdate/AmlCompute.json} (100%) rename specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/{createBasicAKSCompute.json => createOrUpdate/BasicAKSCompute.json} (100%) rename specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/{createBasicAmlCompute.json => createOrUpdate/BasicAmlCompute.json} (100%) rename specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/{createBasicDataFactoryCompute.json => createOrUpdate/BasicDataFactoryCompute.json} (100%) rename specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/{createComputeInstance.json => createOrUpdate/ComputeInstance.json} (100%) rename specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/{createComputeInstanceMinimal.json => createOrUpdate/ComputeInstanceMinimal.json} (100%) rename specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/{getAKSCompute.json => get/AKSCompute.json} (100%) rename specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/{getAmlCompute.json => get/AmlCompute.json} (100%) rename specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/{getComputeInstance.json => get/ComputeInstance.json} (100%) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/updateAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/createOrUpdate/AKSCompute.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/updateAKSCompute.json rename to specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/createOrUpdate/AKSCompute.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/updateAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/createOrUpdate/AmlCompute.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/updateAmlCompute.json rename to specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/createOrUpdate/AmlCompute.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/createBasicAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/createOrUpdate/BasicAKSCompute.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/createBasicAKSCompute.json rename to specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/createOrUpdate/BasicAKSCompute.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/createBasicAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/createOrUpdate/BasicAmlCompute.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/createBasicAmlCompute.json rename to specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/createOrUpdate/BasicAmlCompute.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/createBasicDataFactoryCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/createOrUpdate/BasicDataFactoryCompute.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/createBasicDataFactoryCompute.json rename to specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/createOrUpdate/BasicDataFactoryCompute.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/createComputeInstance.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/createOrUpdate/ComputeInstance.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/createComputeInstance.json rename to specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/createOrUpdate/ComputeInstance.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/createComputeInstanceMinimal.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/createOrUpdate/ComputeInstanceMinimal.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/createComputeInstanceMinimal.json rename to specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/createOrUpdate/ComputeInstanceMinimal.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/getAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/get/AKSCompute.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/getAKSCompute.json rename to specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/get/AKSCompute.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/getAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/get/AmlCompute.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/getAmlCompute.json rename to specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/get/AmlCompute.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/getComputeInstance.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/get/ComputeInstance.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/getComputeInstance.json rename to specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/examples/Compute/get/ComputeInstance.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/machineLearningServices.json index b54e7b3839d7..c81b7217136f 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/machineLearningServices.json @@ -669,13 +669,13 @@ "description": "Gets compute definition by its name. Any secrets (storage keys, service credentials, etc) are not returned - use 'keys' nested resource to get them.", "x-ms-examples": { "Get a AKS Compute": { - "$ref": "./examples/Compute/getAKSCompute.json" + "$ref": "./examples/Compute/get/AKSCompute.json" }, "Get a AML Compute": { - "$ref": "./examples/Compute/getAmlCompute.json" + "$ref": "./examples/Compute/get/AmlCompute.json" }, "Get an ComputeInstance": { - "$ref": "./examples/Compute/getComputeInstance.json" + "$ref": "./examples/Compute/get/ComputeInstance.json" } }, "parameters": [ @@ -720,25 +720,25 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Create a AML Compute": { - "$ref": "./examples/Compute/createBasicAmlCompute.json" + "$ref": "./examples/Compute/createOrUpdate/BasicAmlCompute.json" }, "Create an ComputeInstance Compute with minimal inputs": { - "$ref": "./examples/Compute/createComputeInstanceMinimal.json" + "$ref": "./examples/Compute/createOrUpdate/ComputeInstanceMinimal.json" }, "Create an ComputeInstance Compute": { - "$ref": "./examples/Compute/createComputeInstance.json" + "$ref": "./examples/Compute/createOrUpdate/ComputeInstance.json" }, "Create AKS Compute": { - "$ref": "./examples/Compute/createBasicAKSCompute.json" + "$ref": "./examples/Compute/createOrUpdate/BasicAKSCompute.json" }, "Create a DataFactory Compute": { - "$ref": "./examples/Compute/createBasicDataFactoryCompute.json" + "$ref": "./examples/Compute/createOrUpdate/BasicDataFactoryCompute.json" }, "Update a AML Compute": { - "$ref": "./examples/Compute/updateAmlCompute.json" + "$ref": "./examples/Compute/createOrUpdate/AmlCompute.json" }, "Update a AKS Compute": { - "$ref": "./examples/Compute/updateAKSCompute.json" + "$ref": "./examples/Compute/createOrUpdate/AKSCompute.json" } }, "parameters": [