From b50a71e771cfb764c9c3c83adf101e30ed951215 Mon Sep 17 00:00:00 2001 From: Ashutosh Kumar Verma Date: Fri, 21 Oct 2022 13:39:55 -0700 Subject: [PATCH 1/5] Adding zones, example and renaming frontendIPConfigurations to frontendIpConfigurations, LoadBalancerFrontendIPConfiguration to LoadBalancerFrontendIpConfiguration, LoadBalancerFrontendIPConfigurationProperties to LoadBalancerFrontendIpConfigurationProperties --- .../stable/2022-09-04/cloudService.json | 19 +- .../CloudService_Create_WithMultiRole.json | 6 +- ...ervice_Create_WithMultiRole_WithZones.json | 182 ++++++++++++++++++ .../CloudService_Create_WithSingleRole.json | 6 +- ...e_Create_WithSingleRoleAndCertificate.json | 6 +- ...udService_Create_WithSingleRoleAndRDP.json | 6 +- .../CloudService_Get_WithMultiRoleAndRDP.json | 2 +- .../CloudService_List_ByResourceGroup.json | 2 +- .../CloudService_List_BySubscription.json | 2 +- .../CloudService_Update_ToIncludeTags.json | 2 +- 10 files changed, 211 insertions(+), 22 deletions(-) create mode 100644 specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithMultiRole_WithZones.json diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/cloudService.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/cloudService.json index 2438aea78c66..f7aead62c6c0 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/cloudService.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/cloudService.json @@ -2050,7 +2050,7 @@ } } }, - "LoadBalancerFrontendIPConfigurationProperties": { + "LoadBalancerFrontendIpConfigurationProperties": { "description": "Describes a cloud service IP Configuration", "type": "object", "properties": { @@ -2068,7 +2068,7 @@ } } }, - "LoadBalancerFrontendIPConfiguration": { + "LoadBalancerFrontendIpConfiguration": { "description": "Specifies the frontend IP to be used for the load balancer. Only IPv4 frontend IP address is supported. Each load balancer configuration must have exactly one frontend IP configuration.", "type": "object", "properties": { @@ -2077,7 +2077,7 @@ "type": "string" }, "properties": { - "$ref": "#/definitions/LoadBalancerFrontendIPConfigurationProperties", + "$ref": "#/definitions/LoadBalancerFrontendIpConfigurationProperties", "description": "Properties of load balancer frontend ip configuration." } }, @@ -2090,11 +2090,11 @@ "description": "Describes the properties of the load balancer configuration.", "type": "object", "properties": { - "frontendIPConfigurations": { + "frontendIpConfigurations": { "description": "Specifies the frontend IP to be used for the load balancer. Only IPv4 frontend IP address is supported. Each load balancer configuration must have exactly one frontend IP configuration.", "type": "array", "items": { - "$ref": "#/definitions/LoadBalancerFrontendIPConfiguration" + "$ref": "#/definitions/LoadBalancerFrontendIpConfiguration" }, "x-ms-identifiers": [ "name" @@ -2102,7 +2102,7 @@ } }, "required": [ - "frontendIPConfigurations" + "frontendIpConfigurations" ] }, "LoadBalancerConfiguration": { @@ -2337,6 +2337,13 @@ }, "systemData": { "$ref": "../../../common-types/v1/common.json#/definitions/SystemData" + }, + "zones": { + "description": "List of logical availability zone of the resource. List should contain only 1 zone where cloud service should be provisioned. This field is optional.", + "type": "array", + "items": { + "type": "string" + } } }, "x-ms-azure-resource": true, diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithMultiRole.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithMultiRole.json index d4086a42ea88..1047bd4b85e6 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithMultiRole.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithMultiRole.json @@ -10,7 +10,7 @@ "loadBalancerConfigurations": [ { "properties": { - "frontendIPConfigurations": [ + "frontendIpConfigurations": [ { "properties": { "publicIPAddress": { @@ -91,7 +91,7 @@ { "name": "contosolb", "properties": { - "frontendIPConfigurations": [ + "frontendIpConfigurations": [ { "name": "contosofe", "properties": { @@ -152,7 +152,7 @@ { "name": "contosolb", "properties": { - "frontendIPConfigurations": [ + "frontendIpConfigurations": [ { "name": "contosofe", "properties": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithMultiRole_WithZones.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithMultiRole_WithZones.json new file mode 100644 index 000000000000..5aae2818acec --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithMultiRole_WithZones.json @@ -0,0 +1,182 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "ConstosoRG", + "cloudServiceName": "{cs-name}", + "api-version": "2022-09-04", + "parameters": { + "properties": { + "networkProfile": { + "loadBalancerConfigurations": [ + { + "properties": { + "frontendIpConfigurations": [ + { + "properties": { + "publicIPAddress": { + "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip" + } + }, + "name": "contosofe" + } + ] + }, + "name": "contosolb" + } + ] + }, + "roleProfile": { + "roles": [ + { + "sku": { + "name": "Standard_D1_v2", + "capacity": 1, + "tier": "Standard" + }, + "name": "ContosoFrontend" + }, + { + "sku": { + "name": "Standard_D1_v2", + "capacity": 1, + "tier": "Standard" + }, + "name": "ContosoBackend" + } + ] + }, + "configuration": "{ServiceConfiguration}", + "packageUrl": "{PackageUrl}", + "upgradeMode": "Auto" + }, + "location": "westus", + "zones": ["1"] + } + }, + "responses": { + "200": { + "body": { + "name": "{cs-name}", + "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Compute/cloudServices/{cs-name}", + "type": "Microsoft.Compute/cloudServices", + "location": "westus", + "properties": { + "configuration": "{ServiceConfiguration}", + "packageUrl": "{PackageUrl}", + "upgradeMode": "Auto", + "roleProfile": { + "roles": [ + { + "name": "ContosoFrontend", + "sku": { + "name": "Standard_D1_v2", + "tier": "Standard", + "capacity": 1 + } + }, + { + "name": "ContosoBackend", + "sku": { + "name": "Standard_D1_v2", + "tier": "Standard", + "capacity": 1 + } + } + ] + }, + "osProfile": { + "secrets": [] + }, + "networkProfile": { + "loadBalancerConfigurations": [ + { + "name": "contosolb", + "properties": { + "frontendIpConfigurations": [ + { + "name": "contosofe", + "properties": { + "publicIPAddress": { + "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip" + } + } + } + ] + } + } + ] + }, + "provisioningState": "Updating", + "uniqueId": "7f3edf91-cb34-4a3e-971a-177dc3dd43cb" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedAt": "2020-01-01T17:18:19.1234567Z" + }, + "zones": ["1"] + } + }, + "201": { + "body": { + "name": "{cs-name}", + "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Compute/cloudServices/{cs-name}", + "type": "Microsoft.Compute/cloudServices", + "location": "westus", + "properties": { + "configuration": "{ServiceConfiguration}", + "packageUrl": "{PackageUrl}", + "upgradeMode": "Auto", + "roleProfile": { + "roles": [ + { + "name": "ContosoFrontend", + "sku": { + "name": "Standard_D1_v2", + "tier": "Standard", + "capacity": 1 + } + }, + { + "name": "ContosoBackend", + "sku": { + "name": "Standard_D1_v2", + "tier": "Standard", + "capacity": 1 + } + } + ] + }, + "osProfile": { + "secrets": [] + }, + "networkProfile": { + "loadBalancerConfigurations": [ + { + "name": "contosolb", + "properties": { + "frontendIpConfigurations": [ + { + "name": "contosofe", + "properties": { + "publicIPAddress": { + "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip" + } + } + } + ] + } + } + ] + }, + "provisioningState": "Creating", + "uniqueId": "7f3edf91-cb34-4a3e-971a-177dc3dd43cb" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedAt": "2020-01-01T17:18:19.1234567Z" + }, + "zones": [ "1" ] + } + } + } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRole.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRole.json index 21aa61952e0a..9affdd4ce2c8 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRole.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRole.json @@ -11,7 +11,7 @@ "loadBalancerConfigurations": [ { "properties": { - "frontendIPConfigurations": [ + "frontendIpConfigurations": [ { "properties": { "publicIPAddress": { @@ -74,7 +74,7 @@ "loadBalancerConfigurations": [ { "properties": { - "frontendIPConfigurations": [ + "frontendIpConfigurations": [ { "properties": { "publicIPAddress": { @@ -127,7 +127,7 @@ "loadBalancerConfigurations": [ { "properties": { - "frontendIPConfigurations": [ + "frontendIpConfigurations": [ { "properties": { "publicIPAddress": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRoleAndCertificate.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRoleAndCertificate.json index eee17673c020..6fb6cbc22f0d 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRoleAndCertificate.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRoleAndCertificate.json @@ -11,7 +11,7 @@ "loadBalancerConfigurations": [ { "properties": { - "frontendIPConfigurations": [ + "frontendIpConfigurations": [ { "properties": { "publicIPAddress": { @@ -100,7 +100,7 @@ { "name": "contosolb", "properties": { - "frontendIPConfigurations": [ + "frontendIpConfigurations": [ { "name": "contosofe", "properties": { @@ -164,7 +164,7 @@ { "name": "contosolb", "properties": { - "frontendIPConfigurations": [ + "frontendIpConfigurations": [ { "name": "contosofe", "properties": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRoleAndRDP.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRoleAndRDP.json index b33fd1b342a7..d9245e3ec107 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRoleAndRDP.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRoleAndRDP.json @@ -25,7 +25,7 @@ "loadBalancerConfigurations": [ { "properties": { - "frontendIPConfigurations": [ + "frontendIpConfigurations": [ { "properties": { "publicIPAddress": { @@ -90,7 +90,7 @@ { "name": "contosolb", "properties": { - "frontendIPConfigurations": [ + "frontendIpConfigurations": [ { "name": "contosofe", "properties": { @@ -161,7 +161,7 @@ { "name": "contosolb", "properties": { - "frontendIPConfigurations": [ + "frontendIpConfigurations": [ { "name": "contosofe", "properties": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Get_WithMultiRoleAndRDP.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Get_WithMultiRoleAndRDP.json index 07867d87de23..d411cecbc48a 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Get_WithMultiRoleAndRDP.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Get_WithMultiRoleAndRDP.json @@ -43,7 +43,7 @@ { "name": "contosolb", "properties": { - "frontendIPConfigurations": [ + "frontendIpConfigurations": [ { "name": "contosofe", "properties": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_List_ByResourceGroup.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_List_ByResourceGroup.json index 56c0ba1f9efa..8c3b517f19b5 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_List_ByResourceGroup.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_List_ByResourceGroup.json @@ -44,7 +44,7 @@ { "name": "contosolb", "properties": { - "frontendIPConfigurations": [ + "frontendIpConfigurations": [ { "name": "contosofe", "properties": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_List_BySubscription.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_List_BySubscription.json index 85951abe4bbd..942c61c6dbc8 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_List_BySubscription.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_List_BySubscription.json @@ -43,7 +43,7 @@ { "name": "contosolb", "properties": { - "frontendIPConfigurations": [ + "frontendIpConfigurations": [ { "name": "contosofe", "properties": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Update_ToIncludeTags.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Update_ToIncludeTags.json index 1c424becf4cf..e974d43a4cd4 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Update_ToIncludeTags.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Update_ToIncludeTags.json @@ -51,7 +51,7 @@ { "name": "contosolb", "properties": { - "frontendIPConfigurations": [ + "frontendIpConfigurations": [ { "name": "contosofe", "properties": { From 35d758d419191f3357a436a4fa461370aa8b1ab4 Mon Sep 17 00:00:00 2001 From: Ashutosh Kumar Verma Date: Tue, 25 Oct 2022 14:26:19 -0700 Subject: [PATCH 2/5] resolving CI validations --- .../stable/2022-09-04/cloudService.json | 106 ++++++++++-------- .../CloudServiceRoleInstance_Delete.json | 6 +- ...iceRoleInstance_Delete_ByCloudService.json | 6 +- .../CloudServiceRoleInstance_Rebuild.json | 6 +- ...ceRoleInstance_Rebuild_ByCloudService.json | 6 +- .../CloudServiceRoleInstance_Reimage.json | 6 +- ...ceRoleInstance_Reimage_ByCloudService.json | 6 +- .../CloudServiceRoleInstance_Restart.json | 6 +- ...ceRoleInstance_Restart_ByCloudService.json | 6 +- .../CloudServiceUpdateDomain_Update.json | 6 +- .../CloudService_Create_WithMultiRole.json | 3 + ...ervice_Create_WithMultiRole_WithZones.json | 15 ++- .../CloudService_Create_WithSingleRole.json | 3 + ...e_Create_WithSingleRoleAndCertificate.json | 3 + ...udService_Create_WithSingleRoleAndRDP.json | 3 + .../examples/CloudService_Delete.json | 6 +- .../examples/CloudService_PowerOff.json | 6 +- .../examples/CloudService_Start.json | 6 +- 18 files changed, 142 insertions(+), 63 deletions(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/cloudService.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/cloudService.json index f7aead62c6c0..113d15c0f109 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/cloudService.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/cloudService.json @@ -44,22 +44,22 @@ "parameters": [ { "in": "path", - "name": "roleInstanceName", - "description": "Name of the role instance.", + "name": "resourceGroupName", + "description": "Name of the resource group.", "required": true, "type": "string" }, { "in": "path", - "name": "resourceGroupName", - "description": "Name of the resource group.", + "name": "cloudServiceName", + "description": "Name of the cloud service.", "required": true, "type": "string" }, { "in": "path", - "name": "cloudServiceName", - "description": "Name of the cloud service.", + "name": "roleInstanceName", + "description": "Name of the role instance.", "required": true, "type": "string" }, @@ -103,22 +103,22 @@ "parameters": [ { "in": "path", - "name": "roleInstanceName", - "description": "Name of the role instance.", + "name": "resourceGroupName", + "description": "Name of the resource group.", "required": true, "type": "string" }, { "in": "path", - "name": "resourceGroupName", - "description": "Name of the resource group.", + "name": "cloudServiceName", + "description": "Name of the cloud service.", "required": true, "type": "string" }, { "in": "path", - "name": "cloudServiceName", - "description": "Name of the cloud service.", + "name": "roleInstanceName", + "description": "Name of the role instance.", "required": true, "type": "string" }, @@ -174,22 +174,22 @@ "parameters": [ { "in": "path", - "name": "roleInstanceName", - "description": "Name of the role instance.", + "name": "resourceGroupName", + "description": "Name of the resource group.", "required": true, "type": "string" }, { "in": "path", - "name": "resourceGroupName", - "description": "Name of the resource group.", + "name": "cloudServiceName", + "description": "Name of the cloud service.", "required": true, "type": "string" }, { "in": "path", - "name": "cloudServiceName", - "description": "Name of the cloud service.", + "name": "roleInstanceName", + "description": "Name of the role instance.", "required": true, "type": "string" }, @@ -298,22 +298,22 @@ "parameters": [ { "in": "path", - "name": "roleInstanceName", - "description": "Name of the role instance.", + "name": "resourceGroupName", + "description": "Name of the resource group.", "required": true, "type": "string" }, { "in": "path", - "name": "resourceGroupName", - "description": "Name of the resource group.", + "name": "cloudServiceName", + "description": "Name of the cloud service.", "required": true, "type": "string" }, { "in": "path", - "name": "cloudServiceName", - "description": "Name of the cloud service.", + "name": "roleInstanceName", + "description": "Name of the role instance.", "required": true, "type": "string" }, @@ -356,22 +356,22 @@ "parameters": [ { "in": "path", - "name": "roleInstanceName", - "description": "Name of the role instance.", + "name": "resourceGroupName", + "description": "Name of the resource group.", "required": true, "type": "string" }, { "in": "path", - "name": "resourceGroupName", - "description": "Name of the resource group.", + "name": "cloudServiceName", + "description": "Name of the cloud service.", "required": true, "type": "string" }, { "in": "path", - "name": "cloudServiceName", - "description": "Name of the cloud service.", + "name": "roleInstanceName", + "description": "Name of the role instance.", "required": true, "type": "string" }, @@ -414,22 +414,22 @@ "parameters": [ { "in": "path", - "name": "roleInstanceName", - "description": "Name of the role instance.", + "name": "resourceGroupName", + "description": "Name of the resource group.", "required": true, "type": "string" }, { "in": "path", - "name": "resourceGroupName", - "description": "Name of the resource group.", + "name": "cloudServiceName", + "description": "Name of the cloud service.", "required": true, "type": "string" }, { "in": "path", - "name": "cloudServiceName", - "description": "Name of the cloud service.", + "name": "roleInstanceName", + "description": "Name of the role instance.", "required": true, "type": "string" }, @@ -475,22 +475,22 @@ "parameters": [ { "in": "path", - "name": "roleInstanceName", - "description": "Name of the role instance.", + "name": "resourceGroupName", + "description": "Name of the resource group.", "required": true, "type": "string" }, { "in": "path", - "name": "resourceGroupName", - "description": "Name of the resource group.", + "name": "cloudServiceName", + "description": "Name of the cloud service.", "required": true, "type": "string" }, { "in": "path", - "name": "cloudServiceName", - "description": "Name of the cloud service.", + "name": "roleInstanceName", + "description": "Name of the role instance.", "required": true, "type": "string" }, @@ -533,22 +533,22 @@ "parameters": [ { "in": "path", - "name": "roleName", - "description": "Name of the role.", + "name": "resourceGroupName", + "description": "Name of the resource group.", "required": true, "type": "string" }, { "in": "path", - "name": "resourceGroupName", - "description": "Name of the resource group.", + "name": "cloudServiceName", + "description": "Name of the cloud service.", "required": true, "type": "string" }, { "in": "path", - "name": "cloudServiceName", - "description": "Name of the cloud service.", + "name": "roleName", + "description": "Name of the role.", "required": true, "type": "string" }, @@ -703,6 +703,9 @@ }, "Create New Cloud Service with Single Role and Certificate from Key Vault": { "$ref": "./examples/CloudService_Create_WithSingleRoleAndCertificate.json" + }, + "Create New Cloud Service with Multiple Roles in a specific availability zone": { + "$ref": "./examples//CloudService_Create_WithMultiRole_WithZones.json" } } }, @@ -1856,6 +1859,7 @@ "$ref": "#/definitions/InstanceSku" }, "properties": { + "x-ms-client-flatten": true, "$ref": "#/definitions/RoleInstanceProperties" } } @@ -1938,6 +1942,7 @@ "$ref": "#/definitions/CloudServiceRoleSku" }, "properties": { + "x-ms-client-flatten": true, "$ref": "#/definitions/CloudServiceRoleProperties" } } @@ -2077,6 +2082,7 @@ "type": "string" }, "properties": { + "x-ms-client-flatten": true, "$ref": "#/definitions/LoadBalancerFrontendIpConfigurationProperties", "description": "Properties of load balancer frontend ip configuration." } @@ -2118,6 +2124,7 @@ "type": "string" }, "properties": { + "x-ms-client-flatten": true, "$ref": "#/definitions/LoadBalancerConfigurationProperties", "description": "Properties of the load balancer configuration." } @@ -2231,6 +2238,7 @@ "type": "string" }, "properties": { + "x-ms-client-flatten": true, "$ref": "#/definitions/CloudServiceExtensionProperties" } } @@ -2333,6 +2341,7 @@ } }, "properties": { + "x-ms-client-flatten": true, "$ref": "#/definitions/CloudServiceProperties" }, "systemData": { @@ -2660,6 +2669,7 @@ "readOnly": true }, "properties": { + "x-ms-client-flatten": true, "$ref": "#/definitions/OSFamilyProperties" } } diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Delete.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Delete.json index ea8b9fe455de..7e04cde00272 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Delete.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Delete.json @@ -8,7 +8,11 @@ }, "responses": { "200": {}, - "202": {}, + "202": { + "headers": { + "location": "https://foo.com/operationstatus" + } + }, "204": {} } } diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Delete_ByCloudService.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Delete_ByCloudService.json index a5083ed0fcdb..235d2786106b 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Delete_ByCloudService.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Delete_ByCloudService.json @@ -13,6 +13,10 @@ }, "responses": { "200": {}, - "202": {} + "202": { + "headers": { + "location": "https://foo.com/operationstatus" + } + } } } diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Rebuild.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Rebuild.json index df65a3c1d05b..e2df70baeebc 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Rebuild.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Rebuild.json @@ -8,6 +8,10 @@ }, "responses": { "200": {}, - "202": {} + "202": { + "headers": { + "location": "https://foo.com/operationstatus" + } + } } } diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Rebuild_ByCloudService.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Rebuild_ByCloudService.json index a5083ed0fcdb..235d2786106b 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Rebuild_ByCloudService.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Rebuild_ByCloudService.json @@ -13,6 +13,10 @@ }, "responses": { "200": {}, - "202": {} + "202": { + "headers": { + "location": "https://foo.com/operationstatus" + } + } } } diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Reimage.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Reimage.json index df65a3c1d05b..e2df70baeebc 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Reimage.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Reimage.json @@ -8,6 +8,10 @@ }, "responses": { "200": {}, - "202": {} + "202": { + "headers": { + "location": "https://foo.com/operationstatus" + } + } } } diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Reimage_ByCloudService.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Reimage_ByCloudService.json index a5083ed0fcdb..235d2786106b 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Reimage_ByCloudService.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Reimage_ByCloudService.json @@ -13,6 +13,10 @@ }, "responses": { "200": {}, - "202": {} + "202": { + "headers": { + "location": "https://foo.com/operationstatus" + } + } } } diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Restart.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Restart.json index df65a3c1d05b..e2df70baeebc 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Restart.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Restart.json @@ -8,6 +8,10 @@ }, "responses": { "200": {}, - "202": {} + "202": { + "headers": { + "location": "https://foo.com/operationstatus" + } + } } } diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Restart_ByCloudService.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Restart_ByCloudService.json index a5083ed0fcdb..235d2786106b 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Restart_ByCloudService.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Restart_ByCloudService.json @@ -13,6 +13,10 @@ }, "responses": { "200": {}, - "202": {} + "202": { + "headers": { + "location": "https://foo.com/operationstatus" + } + } } } diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceUpdateDomain_Update.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceUpdateDomain_Update.json index 67c778b6ce7f..018b1b071586 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceUpdateDomain_Update.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceUpdateDomain_Update.json @@ -8,6 +8,10 @@ }, "responses": { "200": {}, - "202": {} + "202": { + "headers": { + "location": "https://foo.com/operationstatus" + } + } } } diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithMultiRole.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithMultiRole.json index 1047bd4b85e6..442be911e01a 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithMultiRole.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithMultiRole.json @@ -115,6 +115,9 @@ } }, "201": { + "headers": { + "location": "https://foo.com/operationstatus" + }, "body": { "name": "{cs-name}", "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Compute/cloudServices/{cs-name}", diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithMultiRole_WithZones.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithMultiRole_WithZones.json index 5aae2818acec..90212973cce1 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithMultiRole_WithZones.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithMultiRole_WithZones.json @@ -50,7 +50,9 @@ "upgradeMode": "Auto" }, "location": "westus", - "zones": ["1"] + "zones": [ + "1" + ] } }, "responses": { @@ -113,10 +115,15 @@ "createdAt": "2020-01-01T17:18:19.1234567Z", "lastModifiedAt": "2020-01-01T17:18:19.1234567Z" }, - "zones": ["1"] + "zones": [ + "1" + ] } }, "201": { + "headers": { + "location": "https://foo.com/operationstatus" + }, "body": { "name": "{cs-name}", "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Compute/cloudServices/{cs-name}", @@ -175,7 +182,9 @@ "createdAt": "2020-01-01T17:18:19.1234567Z", "lastModifiedAt": "2020-01-01T17:18:19.1234567Z" }, - "zones": [ "1" ] + "zones": [ + "1" + ] } } } diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRole.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRole.json index 9affdd4ce2c8..5ea19d998e36 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRole.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRole.json @@ -99,6 +99,9 @@ } }, "201": { + "headers": { + "location": "https://foo.com/operationstatus" + }, "body": { "name": "{cs-name}", "id": "/subscriptions/5393f919-a68a-43d0-9063-4b2bda6bffdf/resourceGroups/ConstosoRG/providers/Microsoft.Compute/cloudServices/{cs-name}", diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRoleAndCertificate.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRoleAndCertificate.json index 6fb6cbc22f0d..a076b99a38a0 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRoleAndCertificate.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRoleAndCertificate.json @@ -124,6 +124,9 @@ } }, "201": { + "headers": { + "location": "https://foo.com/operationstatus" + }, "body": { "name": "{cs-name}", "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Compute/cloudServices/{cs-name}", diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRoleAndRDP.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRoleAndRDP.json index d9245e3ec107..ca4e985fdcf4 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRoleAndRDP.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRoleAndRDP.json @@ -132,6 +132,9 @@ } }, "201": { + "headers": { + "location": "https://foo.com/operationstatus" + }, "body": { "name": "{cs-name}", "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Compute/cloudServices/{cs-name}", diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Delete.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Delete.json index 50f52c9b3ed9..376fc5a09a57 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Delete.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Delete.json @@ -7,7 +7,11 @@ }, "responses": { "200": {}, - "202": {}, + "202": { + "headers": { + "location": "https://foo.com/operationstatus" + } + }, "204": {} } } diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_PowerOff.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_PowerOff.json index 2bef616b3bef..76d7094f2d61 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_PowerOff.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_PowerOff.json @@ -7,6 +7,10 @@ }, "responses": { "200": {}, - "202": {} + "202": { + "headers": { + "location": "https://foo.com/operationstatus" + } + } } } diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Start.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Start.json index 2bef616b3bef..76d7094f2d61 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Start.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Start.json @@ -7,6 +7,10 @@ }, "responses": { "200": {}, - "202": {} + "202": { + "headers": { + "location": "https://foo.com/operationstatus" + } + } } } From 48ccc41fb5d1bd9eba06ac81342990f4d82c4ffb Mon Sep 17 00:00:00 2001 From: Ashutosh Kumar Verma Date: Tue, 25 Oct 2022 14:57:19 -0700 Subject: [PATCH 3/5] changing privateIPAddress to privateIpAddress, publiCIPAddress to ppublicIpAddress --- .../CloudserviceRP/stable/2022-09-04/cloudService.json | 4 ++-- .../examples/CloudService_Create_WithMultiRole.json | 6 +++--- .../CloudService_Create_WithMultiRole_WithZones.json | 6 +++--- .../examples/CloudService_Create_WithSingleRole.json | 6 +++--- .../CloudService_Create_WithSingleRoleAndCertificate.json | 6 +++--- .../examples/CloudService_Create_WithSingleRoleAndRDP.json | 6 +++--- .../examples/CloudService_Get_WithMultiRoleAndRDP.json | 2 +- .../examples/CloudService_List_ByResourceGroup.json | 2 +- .../examples/CloudService_List_BySubscription.json | 2 +- .../examples/CloudService_Update_ToIncludeTags.json | 2 +- 10 files changed, 21 insertions(+), 21 deletions(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/cloudService.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/cloudService.json index 113d15c0f109..408c7ff96204 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/cloudService.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/cloudService.json @@ -2059,7 +2059,7 @@ "description": "Describes a cloud service IP Configuration", "type": "object", "properties": { - "publicIPAddress": { + "publicIpAddress": { "$ref": "../../../common-types/v1/common.json#/definitions/SubResource", "description": "The reference to the public ip address resource." }, @@ -2067,7 +2067,7 @@ "$ref": "../../../common-types/v1/common.json#/definitions/SubResource", "description": "The reference to the virtual network subnet resource." }, - "privateIPAddress": { + "privateIpAddress": { "description": "The virtual network private IP address of the IP configuration.", "type": "string" } diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithMultiRole.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithMultiRole.json index 442be911e01a..7135d952d3a4 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithMultiRole.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithMultiRole.json @@ -13,7 +13,7 @@ "frontendIpConfigurations": [ { "properties": { - "publicIPAddress": { + "publicIpAddress": { "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip" } }, @@ -95,7 +95,7 @@ { "name": "contosofe", "properties": { - "publicIPAddress": { + "publicIpAddress": { "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip" } } @@ -159,7 +159,7 @@ { "name": "contosofe", "properties": { - "publicIPAddress": { + "publicIpAddress": { "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip" } } diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithMultiRole_WithZones.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithMultiRole_WithZones.json index 90212973cce1..676dc454fd1c 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithMultiRole_WithZones.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithMultiRole_WithZones.json @@ -13,7 +13,7 @@ "frontendIpConfigurations": [ { "properties": { - "publicIPAddress": { + "publicIpAddress": { "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip" } }, @@ -98,7 +98,7 @@ { "name": "contosofe", "properties": { - "publicIPAddress": { + "publicIpAddress": { "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip" } } @@ -165,7 +165,7 @@ { "name": "contosofe", "properties": { - "publicIPAddress": { + "publicIpAddress": { "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip" } } diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRole.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRole.json index 5ea19d998e36..104266e9a8fd 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRole.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRole.json @@ -14,7 +14,7 @@ "frontendIpConfigurations": [ { "properties": { - "publicIPAddress": { + "publicIpAddress": { "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/myPublicIP" } }, @@ -77,7 +77,7 @@ "frontendIpConfigurations": [ { "properties": { - "publicIPAddress": { + "publicIpAddress": { "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/myPublicIP" } }, @@ -133,7 +133,7 @@ "frontendIpConfigurations": [ { "properties": { - "publicIPAddress": { + "publicIpAddress": { "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/myPublicIP" } }, diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRoleAndCertificate.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRoleAndCertificate.json index a076b99a38a0..a8a940454db8 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRoleAndCertificate.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRoleAndCertificate.json @@ -14,7 +14,7 @@ "frontendIpConfigurations": [ { "properties": { - "publicIPAddress": { + "publicIpAddress": { "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip" } }, @@ -104,7 +104,7 @@ { "name": "contosofe", "properties": { - "publicIPAddress": { + "publicIpAddress": { "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip" } } @@ -171,7 +171,7 @@ { "name": "contosofe", "properties": { - "publicIPAddress": { + "publicIpAddress": { "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip" } } diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRoleAndRDP.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRoleAndRDP.json index ca4e985fdcf4..f8f87bbf2429 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRoleAndRDP.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRoleAndRDP.json @@ -28,7 +28,7 @@ "frontendIpConfigurations": [ { "properties": { - "publicIPAddress": { + "publicIpAddress": { "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip" } }, @@ -94,7 +94,7 @@ { "name": "contosofe", "properties": { - "publicIPAddress": { + "publicIpAddress": { "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip" } } @@ -168,7 +168,7 @@ { "name": "contosofe", "properties": { - "publicIPAddress": { + "publicIpAddress": { "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip" } } diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Get_WithMultiRoleAndRDP.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Get_WithMultiRoleAndRDP.json index d411cecbc48a..5d2c9fae915c 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Get_WithMultiRoleAndRDP.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Get_WithMultiRoleAndRDP.json @@ -47,7 +47,7 @@ { "name": "contosofe", "properties": { - "publicIPAddress": { + "publicIpAddress": { "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip" } } diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_List_ByResourceGroup.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_List_ByResourceGroup.json index 8c3b517f19b5..5c90f220966d 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_List_ByResourceGroup.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_List_ByResourceGroup.json @@ -48,7 +48,7 @@ { "name": "contosofe", "properties": { - "publicIPAddress": { + "publicIpAddress": { "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip" } } diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_List_BySubscription.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_List_BySubscription.json index 942c61c6dbc8..ad21de57a524 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_List_BySubscription.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_List_BySubscription.json @@ -47,7 +47,7 @@ { "name": "contosofe", "properties": { - "publicIPAddress": { + "publicIpAddress": { "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip" } } diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Update_ToIncludeTags.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Update_ToIncludeTags.json index e974d43a4cd4..a0ff92256df8 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Update_ToIncludeTags.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Update_ToIncludeTags.json @@ -55,7 +55,7 @@ { "name": "contosofe", "properties": { - "publicIPAddress": { + "publicIpAddress": { "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip" } } From 0b986afba533aede03ac8ca29800cff996ff4126 Mon Sep 17 00:00:00 2001 From: Ashutosh Kumar Verma Date: Tue, 1 Nov 2022 13:11:14 -0700 Subject: [PATCH 4/5] reverting publicIpAddress, privateIpAddress to privateIPAddress, publicIPAddress --- .../CloudserviceRP/stable/2022-09-04/cloudService.json | 4 ++-- .../examples/CloudService_Create_WithMultiRole.json | 6 +++--- .../CloudService_Create_WithMultiRole_WithZones.json | 6 +++--- .../examples/CloudService_Create_WithSingleRole.json | 6 +++--- .../CloudService_Create_WithSingleRoleAndCertificate.json | 6 +++--- .../examples/CloudService_Create_WithSingleRoleAndRDP.json | 6 +++--- .../examples/CloudService_Get_WithMultiRoleAndRDP.json | 2 +- .../examples/CloudService_List_ByResourceGroup.json | 2 +- .../examples/CloudService_List_BySubscription.json | 2 +- .../examples/CloudService_Update_ToIncludeTags.json | 2 +- 10 files changed, 21 insertions(+), 21 deletions(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/cloudService.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/cloudService.json index 408c7ff96204..113d15c0f109 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/cloudService.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/cloudService.json @@ -2059,7 +2059,7 @@ "description": "Describes a cloud service IP Configuration", "type": "object", "properties": { - "publicIpAddress": { + "publicIPAddress": { "$ref": "../../../common-types/v1/common.json#/definitions/SubResource", "description": "The reference to the public ip address resource." }, @@ -2067,7 +2067,7 @@ "$ref": "../../../common-types/v1/common.json#/definitions/SubResource", "description": "The reference to the virtual network subnet resource." }, - "privateIpAddress": { + "privateIPAddress": { "description": "The virtual network private IP address of the IP configuration.", "type": "string" } diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithMultiRole.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithMultiRole.json index 7135d952d3a4..442be911e01a 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithMultiRole.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithMultiRole.json @@ -13,7 +13,7 @@ "frontendIpConfigurations": [ { "properties": { - "publicIpAddress": { + "publicIPAddress": { "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip" } }, @@ -95,7 +95,7 @@ { "name": "contosofe", "properties": { - "publicIpAddress": { + "publicIPAddress": { "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip" } } @@ -159,7 +159,7 @@ { "name": "contosofe", "properties": { - "publicIpAddress": { + "publicIPAddress": { "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip" } } diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithMultiRole_WithZones.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithMultiRole_WithZones.json index 676dc454fd1c..90212973cce1 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithMultiRole_WithZones.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithMultiRole_WithZones.json @@ -13,7 +13,7 @@ "frontendIpConfigurations": [ { "properties": { - "publicIpAddress": { + "publicIPAddress": { "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip" } }, @@ -98,7 +98,7 @@ { "name": "contosofe", "properties": { - "publicIpAddress": { + "publicIPAddress": { "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip" } } @@ -165,7 +165,7 @@ { "name": "contosofe", "properties": { - "publicIpAddress": { + "publicIPAddress": { "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip" } } diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRole.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRole.json index 104266e9a8fd..5ea19d998e36 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRole.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRole.json @@ -14,7 +14,7 @@ "frontendIpConfigurations": [ { "properties": { - "publicIpAddress": { + "publicIPAddress": { "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/myPublicIP" } }, @@ -77,7 +77,7 @@ "frontendIpConfigurations": [ { "properties": { - "publicIpAddress": { + "publicIPAddress": { "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/myPublicIP" } }, @@ -133,7 +133,7 @@ "frontendIpConfigurations": [ { "properties": { - "publicIpAddress": { + "publicIPAddress": { "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/myPublicIP" } }, diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRoleAndCertificate.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRoleAndCertificate.json index a8a940454db8..a076b99a38a0 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRoleAndCertificate.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRoleAndCertificate.json @@ -14,7 +14,7 @@ "frontendIpConfigurations": [ { "properties": { - "publicIpAddress": { + "publicIPAddress": { "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip" } }, @@ -104,7 +104,7 @@ { "name": "contosofe", "properties": { - "publicIpAddress": { + "publicIPAddress": { "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip" } } @@ -171,7 +171,7 @@ { "name": "contosofe", "properties": { - "publicIpAddress": { + "publicIPAddress": { "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip" } } diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRoleAndRDP.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRoleAndRDP.json index f8f87bbf2429..ca4e985fdcf4 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRoleAndRDP.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRoleAndRDP.json @@ -28,7 +28,7 @@ "frontendIpConfigurations": [ { "properties": { - "publicIpAddress": { + "publicIPAddress": { "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip" } }, @@ -94,7 +94,7 @@ { "name": "contosofe", "properties": { - "publicIpAddress": { + "publicIPAddress": { "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip" } } @@ -168,7 +168,7 @@ { "name": "contosofe", "properties": { - "publicIpAddress": { + "publicIPAddress": { "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip" } } diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Get_WithMultiRoleAndRDP.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Get_WithMultiRoleAndRDP.json index 5d2c9fae915c..d411cecbc48a 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Get_WithMultiRoleAndRDP.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Get_WithMultiRoleAndRDP.json @@ -47,7 +47,7 @@ { "name": "contosofe", "properties": { - "publicIpAddress": { + "publicIPAddress": { "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip" } } diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_List_ByResourceGroup.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_List_ByResourceGroup.json index 5c90f220966d..8c3b517f19b5 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_List_ByResourceGroup.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_List_ByResourceGroup.json @@ -48,7 +48,7 @@ { "name": "contosofe", "properties": { - "publicIpAddress": { + "publicIPAddress": { "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip" } } diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_List_BySubscription.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_List_BySubscription.json index ad21de57a524..942c61c6dbc8 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_List_BySubscription.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_List_BySubscription.json @@ -47,7 +47,7 @@ { "name": "contosofe", "properties": { - "publicIpAddress": { + "publicIPAddress": { "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip" } } diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Update_ToIncludeTags.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Update_ToIncludeTags.json index a0ff92256df8..e974d43a4cd4 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Update_ToIncludeTags.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Update_ToIncludeTags.json @@ -55,7 +55,7 @@ { "name": "contosofe", "properties": { - "publicIpAddress": { + "publicIPAddress": { "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip" } } From 45b6b9e794dcf433e1952aa91bee4aaf516c0422 Mon Sep 17 00:00:00 2001 From: Ashutosh Kumar Verma Date: Thu, 10 Nov 2022 12:37:27 -0800 Subject: [PATCH 5/5] removing x-ms-client-flatten and parameter order change --- .../stable/2022-09-04/cloudService.json | 103 ++++++++---------- 1 file changed, 48 insertions(+), 55 deletions(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/cloudService.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/cloudService.json index 113d15c0f109..31df9b97f16c 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/cloudService.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/cloudService.json @@ -44,22 +44,22 @@ "parameters": [ { "in": "path", - "name": "resourceGroupName", - "description": "Name of the resource group.", + "name": "roleInstanceName", + "description": "Name of the role instance.", "required": true, "type": "string" }, { "in": "path", - "name": "cloudServiceName", - "description": "Name of the cloud service.", + "name": "resourceGroupName", + "description": "Name of the resource group.", "required": true, "type": "string" }, { "in": "path", - "name": "roleInstanceName", - "description": "Name of the role instance.", + "name": "cloudServiceName", + "description": "Name of the cloud service.", "required": true, "type": "string" }, @@ -103,22 +103,22 @@ "parameters": [ { "in": "path", - "name": "resourceGroupName", - "description": "Name of the resource group.", + "name": "roleInstanceName", + "description": "Name of the role instance.", "required": true, "type": "string" }, { "in": "path", - "name": "cloudServiceName", - "description": "Name of the cloud service.", + "name": "resourceGroupName", + "description": "Name of the resource group.", "required": true, "type": "string" }, { "in": "path", - "name": "roleInstanceName", - "description": "Name of the role instance.", + "name": "cloudServiceName", + "description": "Name of the cloud service.", "required": true, "type": "string" }, @@ -174,22 +174,22 @@ "parameters": [ { "in": "path", - "name": "resourceGroupName", - "description": "Name of the resource group.", + "name": "roleInstanceName", + "description": "Name of the role instance.", "required": true, "type": "string" }, { "in": "path", - "name": "cloudServiceName", - "description": "Name of the cloud service.", + "name": "resourceGroupName", + "description": "Name of the resource group.", "required": true, "type": "string" }, { "in": "path", - "name": "roleInstanceName", - "description": "Name of the role instance.", + "name": "cloudServiceName", + "description": "Name of the cloud service.", "required": true, "type": "string" }, @@ -298,22 +298,22 @@ "parameters": [ { "in": "path", - "name": "resourceGroupName", - "description": "Name of the resource group.", + "name": "roleInstanceName", + "description": "Name of the role instance.", "required": true, "type": "string" }, { "in": "path", - "name": "cloudServiceName", - "description": "Name of the cloud service.", + "name": "resourceGroupName", + "description": "Name of the resource group.", "required": true, "type": "string" }, { "in": "path", - "name": "roleInstanceName", - "description": "Name of the role instance.", + "name": "cloudServiceName", + "description": "Name of the cloud service.", "required": true, "type": "string" }, @@ -356,22 +356,22 @@ "parameters": [ { "in": "path", - "name": "resourceGroupName", - "description": "Name of the resource group.", + "name": "roleInstanceName", + "description": "Name of the role instance.", "required": true, "type": "string" }, { "in": "path", - "name": "cloudServiceName", - "description": "Name of the cloud service.", + "name": "resourceGroupName", + "description": "Name of the resource group.", "required": true, "type": "string" }, { "in": "path", - "name": "roleInstanceName", - "description": "Name of the role instance.", + "name": "cloudServiceName", + "description": "Name of the cloud service.", "required": true, "type": "string" }, @@ -414,22 +414,22 @@ "parameters": [ { "in": "path", - "name": "resourceGroupName", - "description": "Name of the resource group.", + "name": "roleInstanceName", + "description": "Name of the role instance.", "required": true, "type": "string" }, { "in": "path", - "name": "cloudServiceName", - "description": "Name of the cloud service.", + "name": "resourceGroupName", + "description": "Name of the resource group.", "required": true, "type": "string" }, { "in": "path", - "name": "roleInstanceName", - "description": "Name of the role instance.", + "name": "cloudServiceName", + "description": "Name of the cloud service.", "required": true, "type": "string" }, @@ -475,22 +475,22 @@ "parameters": [ { "in": "path", - "name": "resourceGroupName", - "description": "Name of the resource group.", + "name": "roleInstanceName", + "description": "Name of the role instance.", "required": true, "type": "string" }, { "in": "path", - "name": "cloudServiceName", - "description": "Name of the cloud service.", + "name": "resourceGroupName", + "description": "Name of the resource group.", "required": true, "type": "string" }, { "in": "path", - "name": "roleInstanceName", - "description": "Name of the role instance.", + "name": "cloudServiceName", + "description": "Name of the cloud service.", "required": true, "type": "string" }, @@ -533,22 +533,22 @@ "parameters": [ { "in": "path", - "name": "resourceGroupName", - "description": "Name of the resource group.", + "name": "roleName", + "description": "Name of the role.", "required": true, "type": "string" }, { "in": "path", - "name": "cloudServiceName", - "description": "Name of the cloud service.", + "name": "resourceGroupName", + "description": "Name of the resource group.", "required": true, "type": "string" }, { "in": "path", - "name": "roleName", - "description": "Name of the role.", + "name": "cloudServiceName", + "description": "Name of the cloud service.", "required": true, "type": "string" }, @@ -1859,7 +1859,6 @@ "$ref": "#/definitions/InstanceSku" }, "properties": { - "x-ms-client-flatten": true, "$ref": "#/definitions/RoleInstanceProperties" } } @@ -1942,7 +1941,6 @@ "$ref": "#/definitions/CloudServiceRoleSku" }, "properties": { - "x-ms-client-flatten": true, "$ref": "#/definitions/CloudServiceRoleProperties" } } @@ -2082,7 +2080,6 @@ "type": "string" }, "properties": { - "x-ms-client-flatten": true, "$ref": "#/definitions/LoadBalancerFrontendIpConfigurationProperties", "description": "Properties of load balancer frontend ip configuration." } @@ -2124,7 +2121,6 @@ "type": "string" }, "properties": { - "x-ms-client-flatten": true, "$ref": "#/definitions/LoadBalancerConfigurationProperties", "description": "Properties of the load balancer configuration." } @@ -2238,7 +2234,6 @@ "type": "string" }, "properties": { - "x-ms-client-flatten": true, "$ref": "#/definitions/CloudServiceExtensionProperties" } } @@ -2341,7 +2336,6 @@ } }, "properties": { - "x-ms-client-flatten": true, "$ref": "#/definitions/CloudServiceProperties" }, "systemData": { @@ -2669,7 +2663,6 @@ "readOnly": true }, "properties": { - "x-ms-client-flatten": true, "$ref": "#/definitions/OSFamilyProperties" } }