From a0c63391551a0bcd5f2a0ee088296f8a86b26cdb Mon Sep 17 00:00:00 2001 From: Arpit Khandelwal Date: Wed, 1 Jun 2022 15:48:17 -0700 Subject: [PATCH 1/2] Update cloud service swagger file and examples --- .../CloudServiceRP/cloudService.json | 448 ++++++++++-------- ...dServiceRoleInstance_Get_InstanceView.json | 2 +- ...ceRoleInstance_Reimage_ByCloudService.json | 2 +- .../CloudServiceRoleInstance_Restart.json | 2 +- ...ceRoleInstance_Restart_ByCloudService.json | 2 +- .../CloudService_Create_WithMultiRole.json | 8 + .../CloudService_Create_WithSingleRole.json | 8 + ...e_Create_WithSingleRoleAndCertificate.json | 8 + ...udService_Create_WithSingleRoleAndRDP.json | 14 +- .../CloudService_Get_WithMultiRoleAndRDP.json | 6 +- .../CloudService_List_ByResourceGroup.json | 2 +- .../CloudService_List_BySubscription.json | 2 +- 12 files changed, 305 insertions(+), 199 deletions(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/cloudService.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/cloudService.json index ffeb575880a6..7d736c1845e8 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/cloudService.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/cloudService.json @@ -25,12 +25,12 @@ "securityDefinitions": { "azure_auth": { "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", "scopes": { "user_impersonation": "impersonate your user account" - } + }, + "description": "Azure Active Directory OAuth2 Flow" } }, "paths": { @@ -52,12 +52,14 @@ { "in": "path", "name": "resourceGroupName", + "description": "Name of the resource group.", "required": true, "type": "string" }, { "in": "path", "name": "cloudServiceName", + "description": "Name of the cloud service.", "required": true, "type": "string" }, @@ -69,6 +71,12 @@ } ], "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../common.json#/definitions/CloudError" + } + }, "200": { "description": "OK" }, @@ -77,12 +85,6 @@ }, "204": { "description": "No Content" - }, - "default": { - "description": "Error", - "schema": { - "$ref": "../common.json#/definitions/CloudError" - } } }, "x-ms-long-running-operation": true, @@ -109,12 +111,14 @@ { "in": "path", "name": "resourceGroupName", + "description": "Name of the resource group.", "required": true, "type": "string" }, { "in": "path", "name": "cloudServiceName", + "description": "Name of the cloud service.", "required": true, "type": "string" }, @@ -140,17 +144,17 @@ } ], "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/RoleInstance" - } - }, "default": { "description": "Error", "schema": { "$ref": "../common.json#/definitions/CloudError" } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/RoleInstance" + } } }, "x-ms-examples": { @@ -178,12 +182,14 @@ { "in": "path", "name": "resourceGroupName", + "description": "Name of the resource group.", "required": true, "type": "string" }, { "in": "path", "name": "cloudServiceName", + "description": "Name of the cloud service.", "required": true, "type": "string" }, @@ -195,17 +201,17 @@ } ], "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/RoleInstanceInstanceView" - } - }, "default": { "description": "Error", "schema": { "$ref": "../common.json#/definitions/CloudError" } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/RoleInstanceInstanceView" + } } }, "x-ms-examples": { @@ -226,12 +232,14 @@ { "in": "path", "name": "resourceGroupName", + "description": "Name of the resource group.", "required": true, "type": "string" }, { "in": "path", "name": "cloudServiceName", + "description": "Name of the cloud service.", "required": true, "type": "string" }, @@ -257,17 +265,17 @@ } ], "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/RoleInstanceListResult" - } - }, "default": { "description": "Error", "schema": { "$ref": "../common.json#/definitions/CloudError" } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/RoleInstanceListResult" + } } }, "x-ms-examples": { @@ -298,12 +306,14 @@ { "in": "path", "name": "resourceGroupName", + "description": "Name of the resource group.", "required": true, "type": "string" }, { "in": "path", "name": "cloudServiceName", + "description": "Name of the cloud service.", "required": true, "type": "string" }, @@ -315,17 +325,17 @@ } ], "responses": { - "200": { - "description": "OK" - }, - "202": { - "description": "Accepted" - }, "default": { "description": "Error", "schema": { "$ref": "../common.json#/definitions/CloudError" } + }, + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" } }, "x-ms-long-running-operation": true, @@ -354,12 +364,14 @@ { "in": "path", "name": "resourceGroupName", + "description": "Name of the resource group.", "required": true, "type": "string" }, { "in": "path", "name": "cloudServiceName", + "description": "Name of the cloud service.", "required": true, "type": "string" }, @@ -371,17 +383,17 @@ } ], "responses": { - "200": { - "description": "OK" - }, - "202": { - "description": "Accepted" - }, "default": { "description": "Error", "schema": { "$ref": "../common.json#/definitions/CloudError" } + }, + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" } }, "x-ms-long-running-operation": true, @@ -410,12 +422,14 @@ { "in": "path", "name": "resourceGroupName", + "description": "Name of the resource group.", "required": true, "type": "string" }, { "in": "path", "name": "cloudServiceName", + "description": "Name of the cloud service.", "required": true, "type": "string" }, @@ -427,17 +441,17 @@ } ], "responses": { - "200": { - "description": "OK" - }, - "202": { - "description": "Accepted" - }, "default": { "description": "Error", "schema": { "$ref": "../common.json#/definitions/CloudError" } + }, + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" } }, "x-ms-long-running-operation": true, @@ -469,12 +483,14 @@ { "in": "path", "name": "resourceGroupName", + "description": "Name of the resource group.", "required": true, "type": "string" }, { "in": "path", "name": "cloudServiceName", + "description": "Name of the cloud service.", "required": true, "type": "string" }, @@ -486,18 +502,18 @@ } ], "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../common.json#/definitions/CloudError" + } + }, "200": { "description": "OK", "schema": { "format": "binary", "type": "file" } - }, - "default": { - "description": "Error", - "schema": { - "$ref": "../common.json#/definitions/CloudError" - } } } } @@ -520,12 +536,14 @@ { "in": "path", "name": "resourceGroupName", + "description": "Name of the resource group.", "required": true, "type": "string" }, { "in": "path", "name": "cloudServiceName", + "description": "Name of the cloud service.", "required": true, "type": "string" }, @@ -537,17 +555,17 @@ } ], "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CloudServiceRole" - } - }, "default": { "description": "Error", "schema": { "$ref": "../common.json#/definitions/CloudError" } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CloudServiceRole" + } } }, "x-ms-examples": { @@ -568,12 +586,14 @@ { "in": "path", "name": "resourceGroupName", + "description": "Name of the resource group.", "required": true, "type": "string" }, { "in": "path", "name": "cloudServiceName", + "description": "Name of the cloud service.", "required": true, "type": "string" }, @@ -585,17 +605,17 @@ } ], "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CloudServiceRoleListResult" - } - }, "default": { "description": "Error", "schema": { "$ref": "../common.json#/definitions/CloudError" } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CloudServiceRoleListResult" + } } }, "x-ms-examples": { @@ -646,6 +666,12 @@ } ], "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../common.json#/definitions/CloudError" + } + }, "200": { "description": "OK", "schema": { @@ -657,12 +683,6 @@ "schema": { "$ref": "#/definitions/CloudService" } - }, - "default": { - "description": "Error", - "schema": { - "$ref": "../common.json#/definitions/CloudError" - } } }, "x-ms-long-running-operation": true, @@ -718,17 +738,17 @@ } ], "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CloudService" - } - }, "default": { "description": "Error", "schema": { "$ref": "../common.json#/definitions/CloudError" } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CloudService" + } } }, "x-ms-long-running-operation": true, @@ -767,6 +787,12 @@ } ], "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../common.json#/definitions/CloudError" + } + }, "200": { "description": "OK" }, @@ -775,12 +801,6 @@ }, "204": { "description": "No Content" - }, - "default": { - "description": "Error", - "schema": { - "$ref": "../common.json#/definitions/CloudError" - } } }, "x-ms-long-running-operation": true, @@ -819,17 +839,17 @@ } ], "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CloudService" - } - }, "default": { "description": "Error", "schema": { "$ref": "../common.json#/definitions/CloudError" } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CloudService" + } } }, "x-ms-examples": { @@ -869,17 +889,17 @@ } ], "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CloudServiceInstanceView" - } - }, "default": { "description": "Error", "schema": { "$ref": "../common.json#/definitions/CloudError" } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CloudServiceInstanceView" + } } }, "x-ms-examples": { @@ -905,17 +925,17 @@ } ], "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CloudServiceListResult" - } - }, "default": { "description": "Error", "schema": { "$ref": "../common.json#/definitions/CloudError" } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CloudServiceListResult" + } } }, "x-ms-examples": { @@ -951,17 +971,17 @@ } ], "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CloudServiceListResult" - } - }, "default": { "description": "Error", "schema": { "$ref": "../common.json#/definitions/CloudError" } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CloudServiceListResult" + } } }, "x-ms-examples": { @@ -1004,17 +1024,17 @@ } ], "responses": { - "200": { - "description": "OK" - }, - "202": { - "description": "Accepted" - }, "default": { "description": "Error", "schema": { "$ref": "../common.json#/definitions/CloudError" } + }, + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" } }, "x-ms-long-running-operation": true, @@ -1055,17 +1075,17 @@ } ], "responses": { - "200": { - "description": "OK" - }, - "202": { - "description": "Accepted" - }, "default": { "description": "Error", "schema": { "$ref": "../common.json#/definitions/CloudError" } + }, + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" } }, "x-ms-long-running-operation": true, @@ -1114,17 +1134,17 @@ } ], "responses": { - "200": { - "description": "OK" - }, - "202": { - "description": "Accepted" - }, "default": { "description": "Error", "schema": { "$ref": "../common.json#/definitions/CloudError" } + }, + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" } }, "x-ms-long-running-operation": true, @@ -1173,17 +1193,17 @@ } ], "responses": { - "200": { - "description": "OK" - }, - "202": { - "description": "Accepted" - }, "default": { "description": "Error", "schema": { "$ref": "../common.json#/definitions/CloudError" } + }, + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" } }, "x-ms-long-running-operation": true, @@ -1232,17 +1252,17 @@ } ], "responses": { - "200": { - "description": "OK" - }, - "202": { - "description": "Accepted" - }, "default": { "description": "Error", "schema": { "$ref": "../common.json#/definitions/CloudError" } + }, + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" } }, "x-ms-long-running-operation": true, @@ -1291,17 +1311,17 @@ } ], "responses": { - "200": { - "description": "OK" - }, - "202": { - "description": "Accepted" - }, "default": { "description": "Error", "schema": { "$ref": "../common.json#/definitions/CloudError" } + }, + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" } }, "x-ms-long-running-operation": true, @@ -1358,17 +1378,17 @@ } ], "responses": { - "200": { - "description": "OK" - }, - "202": { - "description": "Accepted" - }, "default": { "description": "Error", "schema": { "$ref": "../common.json#/definitions/CloudError" } + }, + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" } }, "x-ms-long-running-operation": true, @@ -1415,17 +1435,17 @@ } ], "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/UpdateDomain" - } - }, "default": { "description": "Error", "schema": { "$ref": "../common.json#/definitions/CloudError" } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/UpdateDomain" + } } }, "x-ms-examples": { @@ -1465,17 +1485,17 @@ } ], "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/UpdateDomainListResult" - } - }, "default": { "description": "Error", "schema": { "$ref": "../common.json#/definitions/CloudError" } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/UpdateDomainListResult" + } } }, "x-ms-examples": { @@ -1518,17 +1538,17 @@ } ], "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/OSVersion" - } - }, "default": { "description": "Error", "schema": { "$ref": "../common.json#/definitions/CloudError" } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/OSVersion" + } } }, "x-ms-examples": { @@ -1561,17 +1581,17 @@ } ], "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/OSVersionListResult" - } - }, "default": { "description": "Error", "schema": { "$ref": "../common.json#/definitions/CloudError" } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/OSVersionListResult" + } } }, "x-ms-examples": { @@ -1614,17 +1634,17 @@ } ], "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/OSFamily" - } - }, "default": { "description": "Error", "schema": { "$ref": "../common.json#/definitions/CloudError" } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/OSFamily" + } } }, "x-ms-examples": { @@ -1657,17 +1677,17 @@ } ], "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/OSFamilyListResult" - } - }, "default": { "description": "Error", "schema": { "$ref": "../common.json#/definitions/CloudError" } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/OSFamilyListResult" + } } }, "x-ms-examples": { @@ -1683,6 +1703,7 @@ }, "definitions": { "InstanceSku": { + "description": "The role instance SKU.", "type": "object", "properties": { "name": { @@ -1783,6 +1804,7 @@ } }, "RoleInstanceProperties": { + "description": "Role instance properties.", "type": "object", "properties": { "networkProfile": { @@ -1794,6 +1816,7 @@ } }, "RoleInstance": { + "description": "Describes the cloud service role instance.", "type": "object", "properties": { "id": { @@ -1833,15 +1856,18 @@ } }, "RoleInstanceListResult": { + "description": "The list operation result.", "type": "object", "properties": { "value": { + "description": "The list of resources.", "type": "array", "items": { "$ref": "#/definitions/RoleInstance" } }, "nextLink": { + "description": "The URI to fetch the next page of resources. Use this to get the next page of resources. Do this till nextLink is null to fetch all the resources.", "type": "string" } }, @@ -1869,7 +1895,7 @@ } }, "CloudServiceRoleProperties": { - "description": "", + "description": "The cloud service role properties.", "type": "object", "properties": { "uniqueId": { @@ -1912,15 +1938,18 @@ } }, "CloudServiceRoleListResult": { + "description": "The list operation result.", "type": "object", "properties": { "value": { + "description": "The list of resources.", "type": "array", "items": { "$ref": "#/definitions/CloudServiceRole" } }, "nextLink": { + "description": "The URI to fetch the next page of resources. Use this to get the next page of resources. Do this till nextLink is null to fetch all the resources.", "type": "string" } }, @@ -2035,6 +2064,7 @@ } }, "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": { "name": { @@ -2052,6 +2082,7 @@ ] }, "LoadBalancerConfigurationProperties": { + "description": "Describes the properties of the load balancer configuration.", "type": "object", "properties": { "frontendIPConfigurations": { @@ -2112,12 +2143,15 @@ "type": "object", "properties": { "sourceVault": { - "$ref": "../common.json#/definitions/SubResource" + "$ref": "../common.json#/definitions/SubResource", + "description": "The ARM Resource ID of the Key Vault" }, "secretUrl": { - "type": "string" + "type": "string", + "description": "Secret URL which contains the protected settings of the extension" } - } + }, + "description": "Protected settings for the extension, referenced using KeyVault which are encrypted before sent to the role instance." }, "CloudServiceExtensionProperties": { "description": "Extension Properties.", @@ -2141,11 +2175,11 @@ }, "settings": { "description": "Public settings for the extension. For JSON extensions, this is the JSON settings for the extension. For XML Extension (like RDP), this is the XML setting for the extension.", - "type": "string" + "type": "object" }, "protectedSettings": { "description": "Protected settings for the extension which are encrypted before sent to the role instance.", - "type": "string" + "type": "object" }, "protectedSettingsFromKeyVault": { "$ref": "#/definitions/CloudServiceVaultAndSecretReference" @@ -2248,6 +2282,25 @@ } } }, + "SystemData": { + "description": "The system meta data relating to this resource.", + "type": "object", + "properties": { + "createdAt": { + "format": "date-time", + "description": "Specifies the time in UTC at which the Cloud Service (extended support) resource was created.
Minimum api-version: 2022-04-04.", + "type": "string", + "readOnly": true + }, + "lastModifiedAt": { + "format": "date-time", + "description": "Specifies the time in UTC at which the Cloud Service (extended support) resource was last modified.
Minimum api-version: 2022-04-04.", + "type": "string", + "readOnly": true + } + }, + "readOnly": true + }, "CloudService": { "description": "Describes the cloud service.", "type": "object", @@ -2280,6 +2333,9 @@ }, "properties": { "$ref": "#/definitions/CloudServiceProperties" + }, + "systemData": { + "$ref": "#/definitions/SystemData" } }, "x-ms-azure-resource": true, @@ -2300,6 +2356,7 @@ } }, "StatusCodeCount": { + "description": "The status code and count of the cloud service instance view statuses", "type": "object", "properties": { "code": { @@ -2320,6 +2377,7 @@ "type": "object", "properties": { "statusesSummary": { + "description": "The summary.", "type": "array", "items": { "$ref": "#/definitions/StatusCodeCount" @@ -2360,15 +2418,18 @@ } }, "CloudServiceListResult": { + "description": "The list operation result.", "type": "object", "properties": { "value": { + "description": "The list of resources.", "type": "array", "items": { "$ref": "#/definitions/CloudService" } }, "nextLink": { + "description": "The URI to fetch the next page of resources. Use this to get the next page of resources. Do this till nextLink is null to fetch all the resources.", "type": "string" } }, @@ -2409,15 +2470,18 @@ } }, "UpdateDomainListResult": { + "description": "The list operation result.", "type": "object", "properties": { "value": { + "description": "The list of resources.", "type": "array", "items": { "$ref": "#/definitions/UpdateDomain" } }, "nextLink": { + "description": "The URI to fetch the next page of resources. Use this to get the next page of resources. Do this till nextLink is null to fetch all the resources.", "type": "string" } }, @@ -2491,15 +2555,18 @@ } }, "OSVersionListResult": { + "description": "The list operation result.", "type": "object", "properties": { "value": { + "description": "The list of resources.", "type": "array", "items": { "$ref": "#/definitions/OSVersion" } }, "nextLink": { + "description": "The URI to fetch the next page of resources. Use this to get the next page of resources. Do this till nextLink is null to fetch all the resources.", "type": "string" } }, @@ -2590,15 +2657,18 @@ } }, "OSFamilyListResult": { + "description": "The list operation result.", "type": "object", "properties": { "value": { + "description": "The list of resources.", "type": "array", "items": { "$ref": "#/definitions/OSFamily" } }, "nextLink": { + "description": "The URI to fetch the next page of resources. Use this to get the next page of resources. Do this till nextLink is null to fetch all the resources.", "type": "string" } }, diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Get_InstanceView.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Get_InstanceView.json index 12fbb0c10754..3b810e64fdbf 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Get_InstanceView.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Get_InstanceView.json @@ -23,4 +23,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Reimage_ByCloudService.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Reimage_ByCloudService.json index 5f6b83b83932..c59f5aa55d7b 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Reimage_ByCloudService.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Reimage_ByCloudService.json @@ -15,4 +15,4 @@ "200": {}, "202": {} } -} +} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Restart.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Restart.json index fab4c2377aea..33e6aa7601c5 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Restart.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Restart.json @@ -10,4 +10,4 @@ "200": {}, "202": {} } -} +} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Restart_ByCloudService.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Restart_ByCloudService.json index 5f6b83b83932..c59f5aa55d7b 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Restart_ByCloudService.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Restart_ByCloudService.json @@ -15,4 +15,4 @@ "200": {}, "202": {} } -} +} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Create_WithMultiRole.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Create_WithMultiRole.json index d35c9adfd5bc..d49aa97bc4a4 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Create_WithMultiRole.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Create_WithMultiRole.json @@ -107,6 +107,10 @@ }, "provisioningState": "Updating", "uniqueId": "7f3edf91-cb34-4a3e-971a-177dc3dd43cb" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedAt": "2020-01-01T17:18:19.1234567Z" } } }, @@ -164,6 +168,10 @@ }, "provisioningState": "Creating", "uniqueId": "7f3edf91-cb34-4a3e-971a-177dc3dd43cb" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedAt": "2020-01-01T17:18:19.1234567Z" } } } diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Create_WithSingleRole.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Create_WithSingleRole.json index f9a4f43ab4ff..89447d575e0b 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Create_WithSingleRole.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Create_WithSingleRole.json @@ -91,6 +91,10 @@ }, "provisioningState": "Updating", "uniqueId": "14d10b45-ced7-42ef-a406-50a3df2cea7d" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedAt": "2020-01-01T17:18:19.1234567Z" } } }, @@ -140,6 +144,10 @@ }, "provisioningState": "Creating", "uniqueId": "14d10b45-ced7-42ef-a406-50a3df2cea7d" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedAt": "2020-01-01T17:18:19.1234567Z" } } } diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Create_WithSingleRoleAndCertificate.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Create_WithSingleRoleAndCertificate.json index fc8101c5d3cb..8ae16503eec7 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Create_WithSingleRoleAndCertificate.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Create_WithSingleRoleAndCertificate.json @@ -116,6 +116,10 @@ }, "provisioningState": "Updating", "uniqueId": "60b6cd59-600b-4e02-b717-521b07aa94bf" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedAt": "2020-01-01T17:18:19.1234567Z" } } }, @@ -176,6 +180,10 @@ }, "provisioningState": "Creating", "uniqueId": "60b6cd59-600b-4e02-b717-521b07aa94bf" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedAt": "2020-01-01T17:18:19.1234567Z" } } } diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Create_WithSingleRoleAndRDP.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Create_WithSingleRoleAndRDP.json index c128d6a9c9b9..338d7324bb89 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Create_WithSingleRoleAndRDP.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Create_WithSingleRoleAndRDP.json @@ -15,7 +15,7 @@ "protectedSettings": "{password}", "publisher": "Microsoft.Windows.Azure.Extensions", "settings": "UserAzure10/22/2021 15:05:45", - "typeHandlerVersion": "1.2.1" + "typeHandlerVersion": "1.2" }, "name": "RDPExtension" } @@ -116,7 +116,7 @@ ], "publisher": "Microsoft.Windows.Azure.Extensions", "type": "RDP", - "typeHandlerVersion": "1.2.1", + "typeHandlerVersion": "1.2", "settings": "UserAzure10/22/2021 15:05:45" } } @@ -124,6 +124,10 @@ }, "provisioningState": "Updating", "uniqueId": "c948cccb-bbfa-4516-a250-c28abc4d0c15" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedAt": "2020-01-01T17:18:19.1234567Z" } } }, @@ -183,7 +187,7 @@ ], "publisher": "Microsoft.Windows.Azure.Extensions", "type": "RDP", - "typeHandlerVersion": "1.2.1", + "typeHandlerVersion": "1.2", "settings": "UserAzure10/22/2021 15:05:45" } } @@ -191,6 +195,10 @@ }, "provisioningState": "Creating", "uniqueId": "c948cccb-bbfa-4516-a250-c28abc4d0c15" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedAt": "2020-01-01T17:18:19.1234567Z" } } } diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Get_WithMultiRoleAndRDP.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Get_WithMultiRoleAndRDP.json index 1ae071ef8625..45ff1ae5fb68 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Get_WithMultiRoleAndRDP.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Get_WithMultiRoleAndRDP.json @@ -69,7 +69,7 @@ ], "publisher": "Microsoft.Windows.Azure.Extensions", "type": "RDP", - "typeHandlerVersion": "1.2.1", + "typeHandlerVersion": "1.2", "settings": "userazure01/12/2022 16:29:02" } } @@ -77,6 +77,10 @@ }, "provisioningState": "Succeeded", "uniqueId": "4ccb4323-4740-4545-bb81-780b27375947" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedAt": "2020-01-01T17:18:19.1234567Z" } } } diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_List_ByResourceGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_List_ByResourceGroup.json index 8bec2da3ebf3..492b1eeaa24e 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_List_ByResourceGroup.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_List_ByResourceGroup.json @@ -70,7 +70,7 @@ ], "publisher": "Microsoft.Windows.Azure.Extensions", "type": "RDP", - "typeHandlerVersion": "1.2.1", + "typeHandlerVersion": "1.2", "settings": "userazure01/12/2022 16:29:02" } } diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_List_BySubscription.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_List_BySubscription.json index 9cc1d1a55a4e..19693d272ffe 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_List_BySubscription.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_List_BySubscription.json @@ -69,7 +69,7 @@ ], "publisher": "Microsoft.Windows.Azure.Extensions", "type": "RDP", - "typeHandlerVersion": "1.2.1", + "typeHandlerVersion": "1.2", "settings": "userazure01/12/2022 16:29:02" } } From 199d9c21b3b1795b7f5d8f84697b898b7b59de3a Mon Sep 17 00:00:00 2001 From: Arpit Khandelwal Date: Fri, 3 Jun 2022 13:55:11 -0700 Subject: [PATCH 2/2] Update cloudService.json --- .../stable/2022-04-04/CloudServiceRP/cloudService.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/cloudService.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/cloudService.json index 7d736c1845e8..a8932ac97967 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/cloudService.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/cloudService.json @@ -25,12 +25,12 @@ "securityDefinitions": { "azure_auth": { "type": "oauth2", - "flow": "implicit", "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", "scopes": { "user_impersonation": "impersonate your user account" - }, - "description": "Azure Active Directory OAuth2 Flow" + } } }, "paths": {