From 45eb3262f6d58fd92364d5e17c8dca575a786217 Mon Sep 17 00:00:00 2001 From: Qingqing Zheng Date: Mon, 17 Dec 2018 16:49:09 -0800 Subject: [PATCH 1/8] add operation for 2018-03-31 and 2018-08-01-preview --- .../ManagedClusterResetAADProfile.json | 74 ++++++++++++ ...dClustersResetServicePrincipalProfile.json | 67 +++++++++++ .../2018-08-01-preview/managedClusters.json | 108 ++++++++++++++++++ .../ManagedClusterResetAADProfile.json | 74 ++++++++++++ ...dClustersResetServicePrincipalProfile.json | 67 +++++++++++ .../stable/2018-03-31/managedClusters.json | 108 ++++++++++++++++++ 6 files changed, 498 insertions(+) create mode 100644 specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/examples/ManagedClusterResetAADProfile.json create mode 100644 specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/examples/ManagedClustersResetServicePrincipalProfile.json create mode 100644 specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/examples/ManagedClusterResetAADProfile.json create mode 100644 specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/examples/ManagedClustersResetServicePrincipalProfile.json diff --git a/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/examples/ManagedClusterResetAADProfile.json b/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/examples/ManagedClusterResetAADProfile.json new file mode 100644 index 000000000000..d0191f93e886 --- /dev/null +++ b/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/examples/ManagedClusterResetAADProfile.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "api-version": "2018-08-01-preview", + "subscriptionId": "subid1", + "resourceGroupName": "rg1", + "resourceName": "clustername1", + "parameters": { + "aadProfile": { + "clientAppID": "clientappid", + "serverAppID": "serverappid", + "serverAppSecret": "serverappsecret", + "tenantID": "tenantid" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1", + "location": "location1", + "name": "clustername1", + "tags": { + "archv2": "", + "tier": "production" + }, + "type": "Microsoft.ContainerService/ManagedClusters", + "properties": { + "provisioningState": "Succeeded", + "kubernetesVersion": "1.9.6", + "dnsPrefix": "dnsprefix1", + "agentPoolProfiles": [ + { + "name": "nodepool1", + "count": 3, + "vmSize": "Standard_DS1_v2", + "storageProfile": "ManagedDisks", + "maxPods": 110, + "osType": "Linux" + } + ], + "linuxProfile": { + "adminUsername": "azureuser", + "ssh": { + "publicKeys": [ + { + "keyData": "keydata" + } + ] + } + }, + "servicePrincipalProfile": { + "clientId": "clientid" + }, + "aadProfile": { + "clientAppID": "clientappid", + "serverAppID": "serverappid", + "tenantID": "tenantid" + }, + "nodeResourceGroup": "MC_rg1_clustername1_location1", + "enableRBAC": false, + "fqdn": "dnsprefix1-abcd1234.hcp.eastus.azmk8s.io", + "networkProfile": { + "networkPlugin": "kubenet", + "podCidr": "10.244.0.0/16", + "serviceCidr": "10.0.0.0/16", + "dnsServiceIP": "10.0.0.10", + "dockerBridgeCidr": "172.17.0.1/16" + } + } + } + } + } + } + \ No newline at end of file diff --git a/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/examples/ManagedClustersResetServicePrincipalProfile.json b/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/examples/ManagedClustersResetServicePrincipalProfile.json new file mode 100644 index 000000000000..c1f93e9bc5f0 --- /dev/null +++ b/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/examples/ManagedClustersResetServicePrincipalProfile.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "api-version": "2018-08-01-preview", + "subscriptionId": "subid1", + "resourceGroupName": "rg1", + "resourceName": "clustername1", + "parameters": { + "servicePrincipalProfile": { + "clientId": "clientid", + "secret": "secret" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1", + "location": "location1", + "name": "clustername1", + "tags": { + "archv2": "", + "tier": "production" + }, + "type": "Microsoft.ContainerService/ManagedClusters", + "properties": { + "provisioningState": "Succeeded", + "kubernetesVersion": "1.9.6", + "dnsPrefix": "dnsprefix1", + "agentPoolProfiles": [ + { + "name": "nodepool1", + "count": 3, + "vmSize": "Standard_DS1_v2", + "storageProfile": "ManagedDisks", + "maxPods": 110, + "osType": "Linux" + } + ], + "linuxProfile": { + "adminUsername": "azureuser", + "ssh": { + "publicKeys": [ + { + "keyData": "keydata" + } + ] + } + }, + "servicePrincipalProfile": { + "clientId": "clientid" + }, + "nodeResourceGroup": "MC_rg1_clustername1_location1", + "enableRBAC": false, + "fqdn": "dnsprefix1-abcd1234.hcp.eastus.azmk8s.io", + "networkProfile": { + "networkPlugin": "kubenet", + "podCidr": "10.244.0.0/16", + "serviceCidr": "10.0.0.0/16", + "dnsServiceIP": "10.0.0.10", + "dockerBridgeCidr": "172.17.0.1/16" + } + } + } + } + } + } + \ No newline at end of file diff --git a/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/managedClusters.json b/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/managedClusters.json index 7a3fb8844ed6..f37a7968834c 100644 --- a/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/managedClusters.json +++ b/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/managedClusters.json @@ -521,6 +521,114 @@ } } } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedclusters/{resourceName}/resetServicePrincipalProfile":{ + "post":{ + "tags": [ + "ManagedClusters" + ], + "operationId": "ManagedClusters_ResetServicePrincipalProfile", + "summary": "Reset Service Principal Profile of a managed cluster.", + "description": "Update the service principal Profile for a managed cluster.", + "parameters":[ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "resourceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the managed cluster resource." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ManagedClusterServicePrincipalProfile" + }, + "description": "Parameters supplied to the Reset Service Principal Profile operation for a Managed Cluster." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ManagedCluster" + } + } + }, + "x-ms-examples": { + "Reset Service Principal Profile": { + "$ref": "./examples/ManagedClustersResetServicePrincipalProfile.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedclusters/{resourceName}/resetAADProfile":{ + "post":{ + "tags": [ + "ManagedClusters" + ], + "operationId": "ManagedClusters_ResetAADProfile", + "summary": "Reset AAD Profile of a managed cluster.", + "description": "Update the AAD Profile for a managed cluster.", + "parameters":[ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "resourceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the managed cluster resource." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ManagedClusterAADProfile" + }, + "description": "Parameters supplied to the Reset AAD Profile operation for a Managed Cluster." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ManagedCluster" + } + } + }, + "x-ms-examples": { + "Reset Service Principal Profile": { + "$ref": "./examples/ManagedClustersResetAADProfile.json" + } + } + } } }, "definitions": { diff --git a/specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/examples/ManagedClusterResetAADProfile.json b/specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/examples/ManagedClusterResetAADProfile.json new file mode 100644 index 000000000000..5b1418a8da45 --- /dev/null +++ b/specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/examples/ManagedClusterResetAADProfile.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "api-version": "2018-03-31", + "subscriptionId": "subid1", + "resourceGroupName": "rg1", + "resourceName": "clustername1", + "parameters": { + "aadProfile": { + "clientAppID": "clientappid", + "serverAppID": "serverappid", + "serverAppSecret": "serverappsecret", + "tenantID": "tenantid" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1", + "location": "location1", + "name": "clustername1", + "tags": { + "archv2": "", + "tier": "production" + }, + "type": "Microsoft.ContainerService/ManagedClusters", + "properties": { + "provisioningState": "Succeeded", + "kubernetesVersion": "1.9.6", + "dnsPrefix": "dnsprefix1", + "agentPoolProfiles": [ + { + "name": "nodepool1", + "count": 3, + "vmSize": "Standard_DS1_v2", + "storageProfile": "ManagedDisks", + "maxPods": 110, + "osType": "Linux" + } + ], + "linuxProfile": { + "adminUsername": "azureuser", + "ssh": { + "publicKeys": [ + { + "keyData": "keydata" + } + ] + } + }, + "servicePrincipalProfile": { + "clientId": "clientid" + }, + "aadProfile": { + "clientAppID": "clientappid", + "serverAppID": "serverappid", + "tenantID": "tenantid" + }, + "nodeResourceGroup": "MC_rg1_clustername1_location1", + "enableRBAC": false, + "fqdn": "dnsprefix1-abcd1234.hcp.eastus.azmk8s.io", + "networkProfile": { + "networkPlugin": "kubenet", + "podCidr": "10.244.0.0/16", + "serviceCidr": "10.0.0.0/16", + "dnsServiceIP": "10.0.0.10", + "dockerBridgeCidr": "172.17.0.1/16" + } + } + } + } + } + } + \ No newline at end of file diff --git a/specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/examples/ManagedClustersResetServicePrincipalProfile.json b/specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/examples/ManagedClustersResetServicePrincipalProfile.json new file mode 100644 index 000000000000..6a14e1456664 --- /dev/null +++ b/specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/examples/ManagedClustersResetServicePrincipalProfile.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "api-version": "2018-03-31", + "subscriptionId": "subid1", + "resourceGroupName": "rg1", + "resourceName": "clustername1", + "parameters": { + "servicePrincipalProfile": { + "clientId": "clientid", + "secret": "secret" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1", + "location": "location1", + "name": "clustername1", + "tags": { + "archv2": "", + "tier": "production" + }, + "type": "Microsoft.ContainerService/ManagedClusters", + "properties": { + "provisioningState": "Succeeded", + "kubernetesVersion": "1.9.6", + "dnsPrefix": "dnsprefix1", + "agentPoolProfiles": [ + { + "name": "nodepool1", + "count": 3, + "vmSize": "Standard_DS1_v2", + "storageProfile": "ManagedDisks", + "maxPods": 110, + "osType": "Linux" + } + ], + "linuxProfile": { + "adminUsername": "azureuser", + "ssh": { + "publicKeys": [ + { + "keyData": "keydata" + } + ] + } + }, + "servicePrincipalProfile": { + "clientId": "clientid" + }, + "nodeResourceGroup": "MC_rg1_clustername1_location1", + "enableRBAC": false, + "fqdn": "dnsprefix1-abcd1234.hcp.eastus.azmk8s.io", + "networkProfile": { + "networkPlugin": "kubenet", + "podCidr": "10.244.0.0/16", + "serviceCidr": "10.0.0.0/16", + "dnsServiceIP": "10.0.0.10", + "dockerBridgeCidr": "172.17.0.1/16" + } + } + } + } + } + } + \ No newline at end of file diff --git a/specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/managedClusters.json b/specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/managedClusters.json index aa36a7aaea6a..26c221562b94 100644 --- a/specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/managedClusters.json +++ b/specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/managedClusters.json @@ -521,6 +521,114 @@ } } } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedclusters/{resourceName}/resetServicePrincipalProfile":{ + "post":{ + "tags": [ + "ManagedClusters" + ], + "operationId": "ManagedClusters_ResetServicePrincipalProfile", + "summary": "Reset Service Principal Profile of a managed cluster.", + "description": "Update the service principal Profile for a managed cluster.", + "parameters":[ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "resourceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the managed cluster resource." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ManagedClusterServicePrincipalProfile" + }, + "description": "Parameters supplied to the Reset Service Principal Profile operation for a Managed Cluster." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ManagedCluster" + } + } + }, + "x-ms-examples": { + "Reset Service Principal Profile": { + "$ref": "./examples/ManagedClustersResetServicePrincipalProfile.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedclusters/{resourceName}/resetAADProfile":{ + "post":{ + "tags": [ + "ManagedClusters" + ], + "operationId": "ManagedClusters_ResetAADProfile", + "summary": "Reset AAD Profile of a managed cluster.", + "description": "Update the AAD Profile for a managed cluster.", + "parameters":[ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "resourceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the managed cluster resource." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ManagedClusterAADProfile" + }, + "description": "Parameters supplied to the Reset AAD Profile operation for a Managed Cluster." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ManagedCluster" + } + } + }, + "x-ms-examples": { + "Reset Service Principal Profile": { + "$ref": "./examples/ManagedClustersResetAADProfile.json" + } + } + } } }, "definitions": { From 705a889279c218f987a492183359414ebd6c205a Mon Sep 17 00:00:00 2001 From: Qingqing Zheng Date: Mon, 17 Dec 2018 17:23:52 -0800 Subject: [PATCH 2/8] correct example fileName --- ...erResetAADProfile.json => ManagedClustersResetAADProfile.json} | 0 ...erResetAADProfile.json => ManagedClustersResetAADProfile.json} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/examples/{ManagedClusterResetAADProfile.json => ManagedClustersResetAADProfile.json} (100%) rename specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/examples/{ManagedClusterResetAADProfile.json => ManagedClustersResetAADProfile.json} (100%) diff --git a/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/examples/ManagedClusterResetAADProfile.json b/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/examples/ManagedClustersResetAADProfile.json similarity index 100% rename from specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/examples/ManagedClusterResetAADProfile.json rename to specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/examples/ManagedClustersResetAADProfile.json diff --git a/specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/examples/ManagedClusterResetAADProfile.json b/specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/examples/ManagedClustersResetAADProfile.json similarity index 100% rename from specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/examples/ManagedClusterResetAADProfile.json rename to specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/examples/ManagedClustersResetAADProfile.json From 739ebf423cf9fa4ff6c90e9056a080a5d19cfbac Mon Sep 17 00:00:00 2001 From: Qingqing Zheng Date: Tue, 18 Dec 2018 22:57:09 -0800 Subject: [PATCH 3/8] add default response and 202, correct typo --- .../2018-08-01-preview/managedClusters.json | 65 ++++++++++++++++++- .../stable/2018-03-31/managedClusters.json | 18 ++++- 2 files changed, 79 insertions(+), 4 deletions(-) diff --git a/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/managedClusters.json b/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/managedClusters.json index f37a7968834c..8dd8e8005aee 100644 --- a/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/managedClusters.json +++ b/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/managedClusters.json @@ -522,7 +522,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedclusters/{resourceName}/resetServicePrincipalProfile":{ + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetServicePrincipalProfile":{ "post":{ "tags": [ "ManagedClusters" @@ -567,8 +567,21 @@ "schema": { "$ref": "#/definitions/ManagedCluster" } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/ManagedCluster" + } + }, + "default": { + "description": "Error response describing why the operation failed. If the cluster doesn't exist, 404 (Not found) is returned.", + "schema": { + "$ref": "#/definitions/CloudError" + } } }, + "x-ms-long-running-operation": true, "x-ms-examples": { "Reset Service Principal Profile": { "$ref": "./examples/ManagedClustersResetServicePrincipalProfile.json" @@ -576,7 +589,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedclusters/{resourceName}/resetAADProfile":{ + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetAADProfile":{ "post":{ "tags": [ "ManagedClusters" @@ -621,8 +634,21 @@ "schema": { "$ref": "#/definitions/ManagedCluster" } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/ManagedCluster" + } + }, + "default": { + "description": "Error response describing why the operation failed. If the cluster doesn't exist, 404 (Not found) is returned.", + "schema": { + "$ref": "#/definitions/CloudError" + } } }, + "x-ms-long-running-operation": true, "x-ms-examples": { "Reset Service Principal Profile": { "$ref": "./examples/ManagedClustersResetAADProfile.json" @@ -1546,6 +1572,41 @@ } }, "description": "The credential result response." + }, + "CloudError": { + "x-ms-external": true, + "properties": { + "error": { + "$ref": "#/definitions/CloudErrorBody", + "description": "Details about the error." + } + }, + "description": "An error response from the Container service." + }, + "CloudErrorBody": { + "x-ms-external": true, + "properties": { + "code": { + "type": "string", + "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically." + }, + "message": { + "type": "string", + "description": "A message describing the error, intended to be suitable for display in a user interface." + }, + "target": { + "type": "string", + "description": "The target of the particular error. For example, the name of the property in error." + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/CloudErrorBody" + }, + "description": "A list of additional details about the error." + } + }, + "description": "An error response from the Container service." } }, "parameters": { diff --git a/specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/managedClusters.json b/specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/managedClusters.json index 26c221562b94..6ce659b61557 100644 --- a/specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/managedClusters.json +++ b/specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/managedClusters.json @@ -522,7 +522,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedclusters/{resourceName}/resetServicePrincipalProfile":{ + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetServicePrincipalProfile":{ "post":{ "tags": [ "ManagedClusters" @@ -567,8 +567,15 @@ "schema": { "$ref": "#/definitions/ManagedCluster" } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/ManagedCluster" + } } }, + "x-ms-long-running-operation": true, "x-ms-examples": { "Reset Service Principal Profile": { "$ref": "./examples/ManagedClustersResetServicePrincipalProfile.json" @@ -576,7 +583,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedclusters/{resourceName}/resetAADProfile":{ + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetAADProfile":{ "post":{ "tags": [ "ManagedClusters" @@ -621,8 +628,15 @@ "schema": { "$ref": "#/definitions/ManagedCluster" } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/ManagedCluster" + } } }, + "x-ms-long-running-operation": true, "x-ms-examples": { "Reset Service Principal Profile": { "$ref": "./examples/ManagedClustersResetAADProfile.json" From 5879a7fa6790acafcd64198d41724a1ee5b36f76 Mon Sep 17 00:00:00 2001 From: Qingqing Zheng Date: Wed, 19 Dec 2018 11:45:39 -0800 Subject: [PATCH 4/8] remove 200 response --- .../examples/ManagedClustersResetAADProfile.json | 4 ++-- ...anagedClustersResetServicePrincipalProfile.json | 4 ++-- .../2018-08-01-preview/managedClusters.json | 14 -------------- .../examples/ManagedClustersResetAADProfile.json | 4 ++-- ...anagedClustersResetServicePrincipalProfile.json | 4 ++-- .../stable/2018-03-31/managedClusters.json | 14 -------------- 6 files changed, 8 insertions(+), 36 deletions(-) diff --git a/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/examples/ManagedClustersResetAADProfile.json b/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/examples/ManagedClustersResetAADProfile.json index d0191f93e886..07507702d405 100644 --- a/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/examples/ManagedClustersResetAADProfile.json +++ b/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/examples/ManagedClustersResetAADProfile.json @@ -14,7 +14,7 @@ } }, "responses": { - "200": { + "202": { "body": { "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1", "location": "location1", @@ -25,7 +25,7 @@ }, "type": "Microsoft.ContainerService/ManagedClusters", "properties": { - "provisioningState": "Succeeded", + "provisioningState": "RefreshingAADProfile", "kubernetesVersion": "1.9.6", "dnsPrefix": "dnsprefix1", "agentPoolProfiles": [ diff --git a/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/examples/ManagedClustersResetServicePrincipalProfile.json b/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/examples/ManagedClustersResetServicePrincipalProfile.json index c1f93e9bc5f0..63e4396548e1 100644 --- a/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/examples/ManagedClustersResetServicePrincipalProfile.json +++ b/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/examples/ManagedClustersResetServicePrincipalProfile.json @@ -12,7 +12,7 @@ } }, "responses": { - "200": { + "202": { "body": { "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1", "location": "location1", @@ -23,7 +23,7 @@ }, "type": "Microsoft.ContainerService/ManagedClusters", "properties": { - "provisioningState": "Succeeded", + "provisioningState": "RefreshingServicePrincipalProfile", "kubernetesVersion": "1.9.6", "dnsPrefix": "dnsprefix1", "agentPoolProfiles": [ diff --git a/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/managedClusters.json b/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/managedClusters.json index 8dd8e8005aee..9fad72138514 100644 --- a/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/managedClusters.json +++ b/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/managedClusters.json @@ -562,12 +562,6 @@ } ], "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ManagedCluster" - } - }, "202": { "description": "Accepted", "schema": { @@ -581,7 +575,6 @@ } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "Reset Service Principal Profile": { "$ref": "./examples/ManagedClustersResetServicePrincipalProfile.json" @@ -629,12 +622,6 @@ } ], "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ManagedCluster" - } - }, "202": { "description": "Accepted", "schema": { @@ -648,7 +635,6 @@ } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "Reset Service Principal Profile": { "$ref": "./examples/ManagedClustersResetAADProfile.json" diff --git a/specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/examples/ManagedClustersResetAADProfile.json b/specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/examples/ManagedClustersResetAADProfile.json index 5b1418a8da45..19211ee638a1 100644 --- a/specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/examples/ManagedClustersResetAADProfile.json +++ b/specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/examples/ManagedClustersResetAADProfile.json @@ -14,7 +14,7 @@ } }, "responses": { - "200": { + "202": { "body": { "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1", "location": "location1", @@ -25,7 +25,7 @@ }, "type": "Microsoft.ContainerService/ManagedClusters", "properties": { - "provisioningState": "Succeeded", + "provisioningState": "RefreshingServicePrincipalProfile", "kubernetesVersion": "1.9.6", "dnsPrefix": "dnsprefix1", "agentPoolProfiles": [ diff --git a/specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/examples/ManagedClustersResetServicePrincipalProfile.json b/specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/examples/ManagedClustersResetServicePrincipalProfile.json index 6a14e1456664..a8fd41e6825a 100644 --- a/specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/examples/ManagedClustersResetServicePrincipalProfile.json +++ b/specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/examples/ManagedClustersResetServicePrincipalProfile.json @@ -12,7 +12,7 @@ } }, "responses": { - "200": { + "202": { "body": { "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1", "location": "location1", @@ -23,7 +23,7 @@ }, "type": "Microsoft.ContainerService/ManagedClusters", "properties": { - "provisioningState": "Succeeded", + "provisioningState": "RefreshingAADProfile", "kubernetesVersion": "1.9.6", "dnsPrefix": "dnsprefix1", "agentPoolProfiles": [ diff --git a/specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/managedClusters.json b/specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/managedClusters.json index 6ce659b61557..714e6581972e 100644 --- a/specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/managedClusters.json +++ b/specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/managedClusters.json @@ -562,12 +562,6 @@ } ], "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ManagedCluster" - } - }, "202": { "description": "Accepted", "schema": { @@ -575,7 +569,6 @@ } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "Reset Service Principal Profile": { "$ref": "./examples/ManagedClustersResetServicePrincipalProfile.json" @@ -623,12 +616,6 @@ } ], "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ManagedCluster" - } - }, "202": { "description": "Accepted", "schema": { @@ -636,7 +623,6 @@ } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "Reset Service Principal Profile": { "$ref": "./examples/ManagedClustersResetAADProfile.json" From 68b822a898956ff4152d015407f6ee8ee9299360 Mon Sep 17 00:00:00 2001 From: Qingqing Zheng Date: Wed, 19 Dec 2018 17:00:23 -0800 Subject: [PATCH 5/8] long running operation --- .../preview/2018-08-01-preview/managedClusters.json | 2 ++ .../stable/2018-03-31/managedClusters.json | 2 ++ 2 files changed, 4 insertions(+) diff --git a/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/managedClusters.json b/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/managedClusters.json index 9fad72138514..e41132864af7 100644 --- a/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/managedClusters.json +++ b/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/managedClusters.json @@ -575,6 +575,7 @@ } } }, + "x-ms-long-running-operation": true, "x-ms-examples": { "Reset Service Principal Profile": { "$ref": "./examples/ManagedClustersResetServicePrincipalProfile.json" @@ -635,6 +636,7 @@ } } }, + "x-ms-long-running-operation": true, "x-ms-examples": { "Reset Service Principal Profile": { "$ref": "./examples/ManagedClustersResetAADProfile.json" diff --git a/specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/managedClusters.json b/specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/managedClusters.json index 714e6581972e..e98e6a50bd0f 100644 --- a/specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/managedClusters.json +++ b/specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/managedClusters.json @@ -569,6 +569,7 @@ } } }, + "x-ms-long-running-operation": true, "x-ms-examples": { "Reset Service Principal Profile": { "$ref": "./examples/ManagedClustersResetServicePrincipalProfile.json" @@ -623,6 +624,7 @@ } } }, + "x-ms-long-running-operation": true, "x-ms-examples": { "Reset Service Principal Profile": { "$ref": "./examples/ManagedClustersResetAADProfile.json" From db342271af8fbeef8464a0fa7e2fc5a4cd0f1662 Mon Sep 17 00:00:00 2001 From: Qingqing Zheng Date: Wed, 19 Dec 2018 20:28:41 -0800 Subject: [PATCH 6/8] return 202 with no body --- .../ManagedClustersResetAADProfile.json | 56 +------------------ ...dClustersResetServicePrincipalProfile.json | 51 +---------------- .../2018-08-01-preview/managedClusters.json | 5 +- .../ManagedClustersResetAADProfile.json | 56 +------------------ ...dClustersResetServicePrincipalProfile.json | 51 +---------------- .../stable/2018-03-31/managedClusters.json | 10 +--- 6 files changed, 7 insertions(+), 222 deletions(-) diff --git a/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/examples/ManagedClustersResetAADProfile.json b/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/examples/ManagedClustersResetAADProfile.json index 07507702d405..99c963c19ed3 100644 --- a/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/examples/ManagedClustersResetAADProfile.json +++ b/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/examples/ManagedClustersResetAADProfile.json @@ -14,61 +14,7 @@ } }, "responses": { - "202": { - "body": { - "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1", - "location": "location1", - "name": "clustername1", - "tags": { - "archv2": "", - "tier": "production" - }, - "type": "Microsoft.ContainerService/ManagedClusters", - "properties": { - "provisioningState": "RefreshingAADProfile", - "kubernetesVersion": "1.9.6", - "dnsPrefix": "dnsprefix1", - "agentPoolProfiles": [ - { - "name": "nodepool1", - "count": 3, - "vmSize": "Standard_DS1_v2", - "storageProfile": "ManagedDisks", - "maxPods": 110, - "osType": "Linux" - } - ], - "linuxProfile": { - "adminUsername": "azureuser", - "ssh": { - "publicKeys": [ - { - "keyData": "keydata" - } - ] - } - }, - "servicePrincipalProfile": { - "clientId": "clientid" - }, - "aadProfile": { - "clientAppID": "clientappid", - "serverAppID": "serverappid", - "tenantID": "tenantid" - }, - "nodeResourceGroup": "MC_rg1_clustername1_location1", - "enableRBAC": false, - "fqdn": "dnsprefix1-abcd1234.hcp.eastus.azmk8s.io", - "networkProfile": { - "networkPlugin": "kubenet", - "podCidr": "10.244.0.0/16", - "serviceCidr": "10.0.0.0/16", - "dnsServiceIP": "10.0.0.10", - "dockerBridgeCidr": "172.17.0.1/16" - } - } - } - } + "202": {} } } \ No newline at end of file diff --git a/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/examples/ManagedClustersResetServicePrincipalProfile.json b/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/examples/ManagedClustersResetServicePrincipalProfile.json index 63e4396548e1..35b6a46560a8 100644 --- a/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/examples/ManagedClustersResetServicePrincipalProfile.json +++ b/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/examples/ManagedClustersResetServicePrincipalProfile.json @@ -12,56 +12,7 @@ } }, "responses": { - "202": { - "body": { - "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1", - "location": "location1", - "name": "clustername1", - "tags": { - "archv2": "", - "tier": "production" - }, - "type": "Microsoft.ContainerService/ManagedClusters", - "properties": { - "provisioningState": "RefreshingServicePrincipalProfile", - "kubernetesVersion": "1.9.6", - "dnsPrefix": "dnsprefix1", - "agentPoolProfiles": [ - { - "name": "nodepool1", - "count": 3, - "vmSize": "Standard_DS1_v2", - "storageProfile": "ManagedDisks", - "maxPods": 110, - "osType": "Linux" - } - ], - "linuxProfile": { - "adminUsername": "azureuser", - "ssh": { - "publicKeys": [ - { - "keyData": "keydata" - } - ] - } - }, - "servicePrincipalProfile": { - "clientId": "clientid" - }, - "nodeResourceGroup": "MC_rg1_clustername1_location1", - "enableRBAC": false, - "fqdn": "dnsprefix1-abcd1234.hcp.eastus.azmk8s.io", - "networkProfile": { - "networkPlugin": "kubenet", - "podCidr": "10.244.0.0/16", - "serviceCidr": "10.0.0.0/16", - "dnsServiceIP": "10.0.0.10", - "dockerBridgeCidr": "172.17.0.1/16" - } - } - } - } + "202": {} } } \ No newline at end of file diff --git a/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/managedClusters.json b/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/managedClusters.json index e41132864af7..bf843824525b 100644 --- a/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/managedClusters.json +++ b/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/managedClusters.json @@ -624,10 +624,7 @@ ], "responses": { "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/ManagedCluster" - } + "description": "Accepted" }, "default": { "description": "Error response describing why the operation failed. If the cluster doesn't exist, 404 (Not found) is returned.", diff --git a/specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/examples/ManagedClustersResetAADProfile.json b/specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/examples/ManagedClustersResetAADProfile.json index 19211ee638a1..4944798f572f 100644 --- a/specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/examples/ManagedClustersResetAADProfile.json +++ b/specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/examples/ManagedClustersResetAADProfile.json @@ -14,61 +14,7 @@ } }, "responses": { - "202": { - "body": { - "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1", - "location": "location1", - "name": "clustername1", - "tags": { - "archv2": "", - "tier": "production" - }, - "type": "Microsoft.ContainerService/ManagedClusters", - "properties": { - "provisioningState": "RefreshingServicePrincipalProfile", - "kubernetesVersion": "1.9.6", - "dnsPrefix": "dnsprefix1", - "agentPoolProfiles": [ - { - "name": "nodepool1", - "count": 3, - "vmSize": "Standard_DS1_v2", - "storageProfile": "ManagedDisks", - "maxPods": 110, - "osType": "Linux" - } - ], - "linuxProfile": { - "adminUsername": "azureuser", - "ssh": { - "publicKeys": [ - { - "keyData": "keydata" - } - ] - } - }, - "servicePrincipalProfile": { - "clientId": "clientid" - }, - "aadProfile": { - "clientAppID": "clientappid", - "serverAppID": "serverappid", - "tenantID": "tenantid" - }, - "nodeResourceGroup": "MC_rg1_clustername1_location1", - "enableRBAC": false, - "fqdn": "dnsprefix1-abcd1234.hcp.eastus.azmk8s.io", - "networkProfile": { - "networkPlugin": "kubenet", - "podCidr": "10.244.0.0/16", - "serviceCidr": "10.0.0.0/16", - "dnsServiceIP": "10.0.0.10", - "dockerBridgeCidr": "172.17.0.1/16" - } - } - } - } + "202": {} } } \ No newline at end of file diff --git a/specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/examples/ManagedClustersResetServicePrincipalProfile.json b/specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/examples/ManagedClustersResetServicePrincipalProfile.json index a8fd41e6825a..ccea0e49bf33 100644 --- a/specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/examples/ManagedClustersResetServicePrincipalProfile.json +++ b/specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/examples/ManagedClustersResetServicePrincipalProfile.json @@ -12,56 +12,7 @@ } }, "responses": { - "202": { - "body": { - "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1", - "location": "location1", - "name": "clustername1", - "tags": { - "archv2": "", - "tier": "production" - }, - "type": "Microsoft.ContainerService/ManagedClusters", - "properties": { - "provisioningState": "RefreshingAADProfile", - "kubernetesVersion": "1.9.6", - "dnsPrefix": "dnsprefix1", - "agentPoolProfiles": [ - { - "name": "nodepool1", - "count": 3, - "vmSize": "Standard_DS1_v2", - "storageProfile": "ManagedDisks", - "maxPods": 110, - "osType": "Linux" - } - ], - "linuxProfile": { - "adminUsername": "azureuser", - "ssh": { - "publicKeys": [ - { - "keyData": "keydata" - } - ] - } - }, - "servicePrincipalProfile": { - "clientId": "clientid" - }, - "nodeResourceGroup": "MC_rg1_clustername1_location1", - "enableRBAC": false, - "fqdn": "dnsprefix1-abcd1234.hcp.eastus.azmk8s.io", - "networkProfile": { - "networkPlugin": "kubenet", - "podCidr": "10.244.0.0/16", - "serviceCidr": "10.0.0.0/16", - "dnsServiceIP": "10.0.0.10", - "dockerBridgeCidr": "172.17.0.1/16" - } - } - } - } + "202": {} } } \ No newline at end of file diff --git a/specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/managedClusters.json b/specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/managedClusters.json index e98e6a50bd0f..c0eb7db5718e 100644 --- a/specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/managedClusters.json +++ b/specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/managedClusters.json @@ -563,10 +563,7 @@ ], "responses": { "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/ManagedCluster" - } + "description": "Accepted" } }, "x-ms-long-running-operation": true, @@ -618,10 +615,7 @@ ], "responses": { "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/ManagedCluster" - } + "description": "Accepted" } }, "x-ms-long-running-operation": true, From b39369cea532289fe4c841888bd6b04594921af8 Mon Sep 17 00:00:00 2001 From: Qingqing Zheng Date: Wed, 19 Dec 2018 20:50:52 -0800 Subject: [PATCH 7/8] forget to remove 202 body from 2018-08-01-preview api --- .../preview/2018-08-01-preview/managedClusters.json | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/managedClusters.json b/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/managedClusters.json index bf843824525b..a0a69e66478c 100644 --- a/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/managedClusters.json +++ b/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/managedClusters.json @@ -563,10 +563,7 @@ ], "responses": { "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/ManagedCluster" - } + "description": "Accepted" }, "default": { "description": "Error response describing why the operation failed. If the cluster doesn't exist, 404 (Not found) is returned.", From 9436137c879062700e3ade0d499603fc1437bfed Mon Sep 17 00:00:00 2001 From: Qingqing Zheng Date: Thu, 3 Jan 2019 11:03:23 -0800 Subject: [PATCH 8/8] add 200 without schema --- .../preview/2018-08-01-preview/managedClusters.json | 6 ++++++ .../stable/2018-03-31/managedClusters.json | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/managedClusters.json b/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/managedClusters.json index a0a69e66478c..04d308ceda95 100644 --- a/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/managedClusters.json +++ b/specification/containerservices/resource-manager/Microsoft.ContainerService/preview/2018-08-01-preview/managedClusters.json @@ -562,6 +562,9 @@ } ], "responses": { + "200": { + "description": "OK" + }, "202": { "description": "Accepted" }, @@ -620,6 +623,9 @@ } ], "responses": { + "200": { + "description": "OK" + }, "202": { "description": "Accepted" }, diff --git a/specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/managedClusters.json b/specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/managedClusters.json index c0eb7db5718e..36f693211c74 100644 --- a/specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/managedClusters.json +++ b/specification/containerservices/resource-manager/Microsoft.ContainerService/stable/2018-03-31/managedClusters.json @@ -562,6 +562,9 @@ } ], "responses": { + "200": { + "description": "OK" + }, "202": { "description": "Accepted" } @@ -614,6 +617,9 @@ } ], "responses": { + "200": { + "description": "OK" + }, "202": { "description": "Accepted" }