From 048bf2551513afae842a9c4fbb5861aeddc6c33a Mon Sep 17 00:00:00 2001 From: "jopet@microsoft.com" Date: Wed, 31 Mar 2021 15:33:34 -0700 Subject: [PATCH] remove location from example responses --- .../stable/2021-04-01/examples/createBasicAKSCompute.json | 2 -- .../stable/2021-04-01/examples/createBasicAmlCompute.json | 2 -- .../2021-04-01/examples/createBasicDataFactoryCompute.json | 2 -- .../stable/2021-04-01/examples/createComputeInstance.json | 2 -- .../2021-04-01/examples/createComputeInstanceMinimal.json | 6 ++---- .../stable/2021-04-01/examples/getAKSCompute.json | 1 - .../stable/2021-04-01/examples/getAmlCompute.json | 1 - .../stable/2021-04-01/examples/getComputeInstance.json | 1 - .../stable/2021-04-01/examples/getComputes.json | 2 -- .../stable/2021-04-01/examples/patchAmlCompute.json | 1 - .../stable/2021-04-01/examples/updateAKSCompute.json | 2 -- .../stable/2021-04-01/examples/updateAmlCompute.json | 2 -- 12 files changed, 2 insertions(+), 22 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAKSCompute.json index 9585ffacc15b..30bfff050203 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAKSCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAKSCompute.json @@ -18,7 +18,6 @@ "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", - "location": "eastus", "properties": { "computeType": "AKS", "provisioningState": "Creating" @@ -30,7 +29,6 @@ "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", - "location": "eastus", "properties": { "computeType": "AKS", "provisioningState": "Creating" diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAmlCompute.json index fc56e0855973..b57cb39f77ca 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAmlCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAmlCompute.json @@ -34,7 +34,6 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", - "location": "eastus", "properties": { "computeType": "AmlCompute", "provisioningState": "Creating" @@ -46,7 +45,6 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", - "location": "eastus", "properties": { "computeType": "AmlCompute", "provisioningState": "Creating" diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicDataFactoryCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicDataFactoryCompute.json index fad53bdc7598..635c97f8f997 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicDataFactoryCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicDataFactoryCompute.json @@ -18,7 +18,6 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", - "location": "eastus", "properties": { "computeType": "DataFactory", "provisioningState": "Creating" @@ -30,7 +29,6 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", - "location": "eastus", "properties": { "computeType": "DataFactory", "provisioningState": "Creating" diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstance.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstance.json index 6d3b484b5d7a..874529e0e833 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstance.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstance.json @@ -33,7 +33,6 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", - "location": "eastus", "properties": { "computeType": "ComputeInstance", "provisioningState": "Creating" @@ -45,7 +44,6 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", - "location": "eastus", "properties": { "computeType": "ComputeInstance", "provisioningState": "Creating" diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstanceMinimal.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstanceMinimal.json index f3dc554563a8..e1941d81632a 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstanceMinimal.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstanceMinimal.json @@ -6,8 +6,8 @@ "computeName": "compute123", "api-version": "2021-04-01", "parameters": { - "location": "eastus", - "properties": { + "location": "eastus", + "properties": { "computeType": "ComputeInstance", "properties": { "vmSize": "STANDARD_NC6" @@ -21,7 +21,6 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", - "location": "eastus", "properties": { "computeType": "ComputeInstance", "provisioningState": "Creating" @@ -33,7 +32,6 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", - "location": "eastus", "properties": { "computeType": "ComputeInstance", "provisioningState": "Creating" diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAKSCompute.json index 173a2628e1f4..ecf7a3979052 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAKSCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAKSCompute.json @@ -12,7 +12,6 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", - "location": "eastus", "properties": { "description": "some compute", "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAmlCompute.json index 116337af2009..65c75f8b271c 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAmlCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAmlCompute.json @@ -12,7 +12,6 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", - "location": "eastus2", "properties": { "description": "some compute", "computeType": "AmlCompute", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputeInstance.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputeInstance.json index 9fe4ed60705d..afd05b64e987 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputeInstance.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputeInstance.json @@ -12,7 +12,6 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", - "location": "eastus2", "properties": { "description": "some compute", "computeType": "ComputeInstance", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputes.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputes.json index 1f50b7c24ecc..970345b039e2 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputes.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputes.json @@ -13,7 +13,6 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", - "location": "eastus", "properties": { "description": "some compute", "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", @@ -25,7 +24,6 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute1234", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute1234", - "location": "eastus", "properties": { "description": "some compute", "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute1234-56826-c9b00420020b2", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/patchAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/patchAmlCompute.json index 10b2d05e1594..e3def2224bb9 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/patchAmlCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/patchAmlCompute.json @@ -21,7 +21,6 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", - "location": "eastus2", "properties": { "description": "some compute", "computeType": "AmlCompute", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAKSCompute.json index 5472e4dd1829..13db2153fb9a 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAKSCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAKSCompute.json @@ -23,7 +23,6 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", - "location": "eastus", "properties": { "description": "some compute", "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", @@ -37,7 +36,6 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", - "location": "eastus", "properties": { "description": "some compute", "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAmlCompute.json index aa6d97c43858..2ddb0224ccd7 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAmlCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAmlCompute.json @@ -26,7 +26,6 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", - "location": "eastus2", "properties": { "description": "some compute", "computeType": "AmlCompute", @@ -39,7 +38,6 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", - "location": "eastus2", "properties": { "description": "some compute", "computeType": "AmlCompute",