Microsoft.Compute (stable:2024-11-04)

2024/12/20 • 30 new methods

CloudServiceRoleInstances_Delete (new)
Description :  Deletes a role instance from a cloud service.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}
{
roleInstanceName: string ,
resourceGroupName: string ,
cloudServiceName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}
CloudServiceRoleInstances_Get (new)
Description :  Gets a role instance from a cloud service.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}
{
roleInstanceName: string ,
resourceGroupName: string ,
cloudServiceName: string ,
subscriptionId: string ,
api-version: string ,
$expand: string ,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
sku:
{
name: string ,
tier: string ,
}
,
properties:
{
networkProfile:
{
networkInterfaces:
[
{
id: string ,
}
,
]
,
}
,
instanceView:
{
platformUpdateDomain: integer ,
platformFaultDomain: integer ,
privateId: string ,
statuses:
[
{
code: string ,
displayStatus: string ,
message: string ,
time: string ,
level: enum ,
}
,
]
,
}
,
}
,
}
CloudServiceRoleInstances_GetInstanceView (new)
Description :  Retrieves information about the run-time state of a role instance in a cloud service.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/instanceView
{
roleInstanceName: string ,
resourceGroupName: string ,
cloudServiceName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}

⚐ Response (200)

{
platformUpdateDomain: integer ,
platformFaultDomain: integer ,
privateId: string ,
statuses:
[
{
code: string ,
displayStatus: string ,
message: string ,
time: string ,
level: enum ,
}
,
]
,
}
CloudServiceRoleInstances_List (new)
Description :  Gets the list of all role instances in a cloud service. Use nextLink property in the response to get the next page of role instances. Do this till nextLink is null to fetch all the role instances.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances
{
resourceGroupName: string ,
cloudServiceName: string ,
subscriptionId: string ,
api-version: string ,
$expand: string ,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
sku:
{
name: string ,
tier: string ,
}
,
properties:
{
networkProfile:
{
networkInterfaces:
[
{
id: string ,
}
,
]
,
}
,
instanceView:
{
platformUpdateDomain: integer ,
platformFaultDomain: integer ,
privateId: string ,
statuses:
[
{
code: string ,
displayStatus: string ,
message: string ,
time: string ,
level: enum ,
}
,
]
,
}
,
}
,
}
,
]
,
nextLink: string ,
}
CloudServiceRoleInstances_Restart (new)
Description :  The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud service.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/restart
{
roleInstanceName: string ,
resourceGroupName: string ,
cloudServiceName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{}
CloudServiceRoleInstances_Reimage (new)
Description :  The Reimage Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/reimage
{
roleInstanceName: string ,
resourceGroupName: string ,
cloudServiceName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{}
CloudServiceRoleInstances_Rebuild (new)
Description :  The Rebuild Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instance.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/rebuild
{
roleInstanceName: string ,
resourceGroupName: string ,
cloudServiceName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{}
CloudServiceRoleInstances_GetRemoteDesktopFile (new)
Description :  Gets a remote desktop file for a role instance in a cloud service.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/remoteDesktopFile
{
roleInstanceName: string ,
resourceGroupName: string ,
cloudServiceName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}

⚐ Response (200)

{
$schema: file ,
}
CloudServiceRoles_Get (new)
Description :  Gets a role from a cloud service.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roles/{roleName}
{
roleName: string ,
resourceGroupName: string ,
cloudServiceName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
location: string ,
sku:
{
name: string ,
tier: string ,
capacity: integer ,
}
,
properties:
{
uniqueId: string ,
}
,
}
CloudServiceRoles_List (new)
Description :  Gets a list of all roles in a cloud service. Use nextLink property in the response to get the next page of roles. Do this till nextLink is null to fetch all the roles.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roles
{
resourceGroupName: string ,
cloudServiceName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
location: string ,
sku:
{
name: string ,
tier: string ,
capacity: integer ,
}
,
properties:
{
uniqueId: string ,
}
,
}
,
]
,
nextLink: string ,
}
CloudServices_CreateOrUpdate (new)
Description :  Create or update a cloud service. Please note some properties can be set only during cloud service creation.
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}
{
resourceGroupName: string ,
cloudServiceName: string ,
subscriptionId: string ,
api-version: string ,
parameters:
{
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
properties:
{
packageUrl: string ,
configuration: string ,
configurationUrl: string ,
startCloudService: boolean ,
allowModelOverride: boolean ,
upgradeMode: enum ,
roleProfile:
{
roles:
[
{
name: string ,
sku:
{
name: string ,
tier: string ,
capacity: integer ,
}
,
}
,
]
,
}
,
osProfile:
{
secrets:
[
{
sourceVault:
{
id: string ,
}
,
vaultCertificates:
[
{
certificateUrl: string ,
isBootstrapCertificate: boolean ,
}
,
]
,
}
,
]
,
}
,
networkProfile:
{
loadBalancerConfigurations:
[
{
id: string ,
name: string ,
properties:
{
frontendIpConfigurations:
[
{
name: string ,
properties:
{
publicIPAddress:
{
id: string ,
}
,
subnet:
{
id: string ,
}
,
privateIPAddress: string ,
}
,
}
,
]
,
}
,
}
,
]
,
slotType: enum ,
swappableCloudService:
{
id: string ,
}
,
}
,
extensionProfile:
{
extensions:
[
{
name: string ,
properties:
{
publisher: string ,
type: string ,
typeHandlerVersion: string ,
autoUpgradeMinorVersion: boolean ,
settings: object ,
protectedSettings: object ,
protectedSettingsFromKeyVault:
{
sourceVault:
{
id: string ,
}
,
secretUrl: string ,
}
,
forceUpdateTag: string ,
provisioningState: string ,
rolesAppliedTo:
[
string ,
]
,
}
,
}
,
]
,
}
,
provisioningState: string ,
uniqueId: string ,
}
,
systemData:
{
createdAt: string ,
lastModifiedAt: string ,
}
,
zones:
[
string ,
]
,
}
,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
properties:
{
packageUrl: string ,
configuration: string ,
configurationUrl: string ,
startCloudService: boolean ,
allowModelOverride: boolean ,
upgradeMode: enum ,
roleProfile:
{
roles:
[
{
name: string ,
sku:
{
name: string ,
tier: string ,
capacity: integer ,
}
,
}
,
]
,
}
,
osProfile:
{
secrets:
[
{
sourceVault:
{
id: string ,
}
,
vaultCertificates:
[
{
certificateUrl: string ,
isBootstrapCertificate: boolean ,
}
,
]
,
}
,
]
,
}
,
networkProfile:
{
loadBalancerConfigurations:
[
{
id: string ,
name: string ,
properties:
{
frontendIpConfigurations:
[
{
name: string ,
properties:
{
publicIPAddress:
{
id: string ,
}
,
subnet:
{
id: string ,
}
,
privateIPAddress: string ,
}
,
}
,
]
,
}
,
}
,
]
,
slotType: enum ,
swappableCloudService:
{
id: string ,
}
,
}
,
extensionProfile:
{
extensions:
[
{
name: string ,
properties:
{
publisher: string ,
type: string ,
typeHandlerVersion: string ,
autoUpgradeMinorVersion: boolean ,
settings: object ,
protectedSettings: object ,
protectedSettingsFromKeyVault:
{
sourceVault:
{
id: string ,
}
,
secretUrl: string ,
}
,
forceUpdateTag: string ,
provisioningState: string ,
rolesAppliedTo:
[
string ,
]
,
}
,
}
,
]
,
}
,
provisioningState: string ,
uniqueId: string ,
}
,
systemData:
{
createdAt: string ,
lastModifiedAt: string ,
}
,
zones:
[
string ,
]
,
}

⚐ Response (201)

{
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
properties:
{
packageUrl: string ,
configuration: string ,
configurationUrl: string ,
startCloudService: boolean ,
allowModelOverride: boolean ,
upgradeMode: enum ,
roleProfile:
{
roles:
[
{
name: string ,
sku:
{
name: string ,
tier: string ,
capacity: integer ,
}
,
}
,
]
,
}
,
osProfile:
{
secrets:
[
{
sourceVault:
{
id: string ,
}
,
vaultCertificates:
[
{
certificateUrl: string ,
isBootstrapCertificate: boolean ,
}
,
]
,
}
,
]
,
}
,
networkProfile:
{
loadBalancerConfigurations:
[
{
id: string ,
name: string ,
properties:
{
frontendIpConfigurations:
[
{
name: string ,
properties:
{
publicIPAddress:
{
id: string ,
}
,
subnet:
{
id: string ,
}
,
privateIPAddress: string ,
}
,
}
,
]
,
}
,
}
,
]
,
slotType: enum ,
swappableCloudService:
{
id: string ,
}
,
}
,
extensionProfile:
{
extensions:
[
{
name: string ,
properties:
{
publisher: string ,
type: string ,
typeHandlerVersion: string ,
autoUpgradeMinorVersion: boolean ,
settings: object ,
protectedSettings: object ,
protectedSettingsFromKeyVault:
{
sourceVault:
{
id: string ,
}
,
secretUrl: string ,
}
,
forceUpdateTag: string ,
provisioningState: string ,
rolesAppliedTo:
[
string ,
]
,
}
,
}
,
]
,
}
,
provisioningState: string ,
uniqueId: string ,
}
,
systemData:
{
createdAt: string ,
lastModifiedAt: string ,
}
,
zones:
[
string ,
]
,
}
CloudServices_Update (new)
Description :  Update a cloud service.
Reference :  Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}
{
resourceGroupName: string ,
cloudServiceName: string ,
subscriptionId: string ,
api-version: string ,
parameters:
{
tags: object ,
}
,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
properties:
{
packageUrl: string ,
configuration: string ,
configurationUrl: string ,
startCloudService: boolean ,
allowModelOverride: boolean ,
upgradeMode: enum ,
roleProfile:
{
roles:
[
{
name: string ,
sku:
{
name: string ,
tier: string ,
capacity: integer ,
}
,
}
,
]
,
}
,
osProfile:
{
secrets:
[
{
sourceVault:
{
id: string ,
}
,
vaultCertificates:
[
{
certificateUrl: string ,
isBootstrapCertificate: boolean ,
}
,
]
,
}
,
]
,
}
,
networkProfile:
{
loadBalancerConfigurations:
[
{
id: string ,
name: string ,
properties:
{
frontendIpConfigurations:
[
{
name: string ,
properties:
{
publicIPAddress:
{
id: string ,
}
,
subnet:
{
id: string ,
}
,
privateIPAddress: string ,
}
,
}
,
]
,
}
,
}
,
]
,
slotType: enum ,
swappableCloudService:
{
id: string ,
}
,
}
,
extensionProfile:
{
extensions:
[
{
name: string ,
properties:
{
publisher: string ,
type: string ,
typeHandlerVersion: string ,
autoUpgradeMinorVersion: boolean ,
settings: object ,
protectedSettings: object ,
protectedSettingsFromKeyVault:
{
sourceVault:
{
id: string ,
}
,
secretUrl: string ,
}
,
forceUpdateTag: string ,
provisioningState: string ,
rolesAppliedTo:
[
string ,
]
,
}
,
}
,
]
,
}
,
provisioningState: string ,
uniqueId: string ,
}
,
systemData:
{
createdAt: string ,
lastModifiedAt: string ,
}
,
zones:
[
string ,
]
,
}
CloudServices_Delete (new)
Description :  Deletes a cloud service.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}
{
resourceGroupName: string ,
cloudServiceName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}
CloudServices_Get (new)
Description :  Display information about a cloud service.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}
{
resourceGroupName: string ,
cloudServiceName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
properties:
{
packageUrl: string ,
configuration: string ,
configurationUrl: string ,
startCloudService: boolean ,
allowModelOverride: boolean ,
upgradeMode: enum ,
roleProfile:
{
roles:
[
{
name: string ,
sku:
{
name: string ,
tier: string ,
capacity: integer ,
}
,
}
,
]
,
}
,
osProfile:
{
secrets:
[
{
sourceVault:
{
id: string ,
}
,
vaultCertificates:
[
{
certificateUrl: string ,
isBootstrapCertificate: boolean ,
}
,
]
,
}
,
]
,
}
,
networkProfile:
{
loadBalancerConfigurations:
[
{
id: string ,
name: string ,
properties:
{
frontendIpConfigurations:
[
{
name: string ,
properties:
{
publicIPAddress:
{
id: string ,
}
,
subnet:
{
id: string ,
}
,
privateIPAddress: string ,
}
,
}
,
]
,
}
,
}
,
]
,
slotType: enum ,
swappableCloudService:
{
id: string ,
}
,
}
,
extensionProfile:
{
extensions:
[
{
name: string ,
properties:
{
publisher: string ,
type: string ,
typeHandlerVersion: string ,
autoUpgradeMinorVersion: boolean ,
settings: object ,
protectedSettings: object ,
protectedSettingsFromKeyVault:
{
sourceVault:
{
id: string ,
}
,
secretUrl: string ,
}
,
forceUpdateTag: string ,
provisioningState: string ,
rolesAppliedTo:
[
string ,
]
,
}
,
}
,
]
,
}
,
provisioningState: string ,
uniqueId: string ,
}
,
systemData:
{
createdAt: string ,
lastModifiedAt: string ,
}
,
zones:
[
string ,
]
,
}
CloudServices_GetInstanceView (new)
Description :  Gets the status of a cloud service.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/instanceView
{
resourceGroupName: string ,
cloudServiceName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}

⚐ Response (200)

{
roleInstance:
{
statusesSummary:
[
{
code: string ,
count: integer ,
}
,
]
,
}
,
sdkVersion: string ,
privateIds:
[
string ,
]
,
statuses:
[
{
code: string ,
displayStatus: string ,
message: string ,
time: string ,
level: enum ,
}
,
]
,
}
CloudServices_ListAll (new)
Description :  Gets a list of all cloud services in the subscription, regardless of the associated resource group. Use nextLink property in the response to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud Services.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Compute/cloudServices
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
properties:
{
packageUrl: string ,
configuration: string ,
configurationUrl: string ,
startCloudService: boolean ,
allowModelOverride: boolean ,
upgradeMode: enum ,
roleProfile:
{
roles:
[
{
name: string ,
sku:
{
name: string ,
tier: string ,
capacity: integer ,
}
,
}
,
]
,
}
,
osProfile:
{
secrets:
[
{
sourceVault:
{
id: string ,
}
,
vaultCertificates:
[
{
certificateUrl: string ,
isBootstrapCertificate: boolean ,
}
,
]
,
}
,
]
,
}
,
networkProfile:
{
loadBalancerConfigurations:
[
{
id: string ,
name: string ,
properties:
{
frontendIpConfigurations:
[
{
name: string ,
properties:
{
publicIPAddress:
{
id: string ,
}
,
subnet:
{
id: string ,
}
,
privateIPAddress: string ,
}
,
}
,
]
,
}
,
}
,
]
,
slotType: enum ,
swappableCloudService:
{
id: string ,
}
,
}
,
extensionProfile:
{
extensions:
[
{
name: string ,
properties:
{
publisher: string ,
type: string ,
typeHandlerVersion: string ,
autoUpgradeMinorVersion: boolean ,
settings: object ,
protectedSettings: object ,
protectedSettingsFromKeyVault:
{
sourceVault:
{
id: string ,
}
,
secretUrl: string ,
}
,
forceUpdateTag: string ,
provisioningState: string ,
rolesAppliedTo:
[
string ,
]
,
}
,
}
,
]
,
}
,
provisioningState: string ,
uniqueId: string ,
}
,
systemData:
{
createdAt: string ,
lastModifiedAt: string ,
}
,
zones:
[
string ,
]
,
}
,
]
,
nextLink: string ,
}
CloudServices_List (new)
Description :  Gets a list of all cloud services under a resource group. Use nextLink property in the response to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud Services.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices
{
resourceGroupName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
properties:
{
packageUrl: string ,
configuration: string ,
configurationUrl: string ,
startCloudService: boolean ,
allowModelOverride: boolean ,
upgradeMode: enum ,
roleProfile:
{
roles:
[
{
name: string ,
sku:
{
name: string ,
tier: string ,
capacity: integer ,
}
,
}
,
]
,
}
,
osProfile:
{
secrets:
[
{
sourceVault:
{
id: string ,
}
,
vaultCertificates:
[
{
certificateUrl: string ,
isBootstrapCertificate: boolean ,
}
,
]
,
}
,
]
,
}
,
networkProfile:
{
loadBalancerConfigurations:
[
{
id: string ,
name: string ,
properties:
{
frontendIpConfigurations:
[
{
name: string ,
properties:
{
publicIPAddress:
{
id: string ,
}
,
subnet:
{
id: string ,
}
,
privateIPAddress: string ,
}
,
}
,
]
,
}
,
}
,
]
,
slotType: enum ,
swappableCloudService:
{
id: string ,
}
,
}
,
extensionProfile:
{
extensions:
[
{
name: string ,
properties:
{
publisher: string ,
type: string ,
typeHandlerVersion: string ,
autoUpgradeMinorVersion: boolean ,
settings: object ,
protectedSettings: object ,
protectedSettingsFromKeyVault:
{
sourceVault:
{
id: string ,
}
,
secretUrl: string ,
}
,
forceUpdateTag: string ,
provisioningState: string ,
rolesAppliedTo:
[
string ,
]
,
}
,
}
,
]
,
}
,
provisioningState: string ,
uniqueId: string ,
}
,
systemData:
{
createdAt: string ,
lastModifiedAt: string ,
}
,
zones:
[
string ,
]
,
}
,
]
,
nextLink: string ,
}
CloudServices_Start (new)
Description :  Starts the cloud service.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/start
{
resourceGroupName: string ,
cloudServiceName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{}
CloudServices_PowerOff (new)
Description :  Power off the cloud service. Note that resources are still attached and you are getting charged for the resources.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/poweroff
{
resourceGroupName: string ,
cloudServiceName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{}
CloudServices_Restart (new)
Description :  Restarts one or more role instances in a cloud service.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/restart
{
resourceGroupName: string ,
cloudServiceName: string ,
subscriptionId: string ,
api-version: string ,
parameters:
{
roleInstances:
[
string ,
]
,
}
,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{}
CloudServices_Reimage (new)
Description :  Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/reimage
{
resourceGroupName: string ,
cloudServiceName: string ,
subscriptionId: string ,
api-version: string ,
parameters:
{
roleInstances:
[
string ,
]
,
}
,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{}
CloudServices_Rebuild (new)
Description :  Rebuild Role Instances reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instances.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/rebuild
{
resourceGroupName: string ,
cloudServiceName: string ,
subscriptionId: string ,
api-version: string ,
parameters:
{
roleInstances:
[
string ,
]
,
}
,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{}
CloudServices_DeleteInstances (new)
Description :  Deletes role instances in a cloud service.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/delete
{
resourceGroupName: string ,
cloudServiceName: string ,
subscriptionId: string ,
api-version: string ,
parameters:
{
roleInstances:
[
string ,
]
,
}
,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{}
CloudServicesUpdateDomain_WalkUpdateDomain (new)
Description :  Updates the role instances in the specified update domain.
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/updateDomains/{updateDomain}
{
resourceGroupName: string ,
cloudServiceName: string ,
updateDomain: integer ,
subscriptionId: string ,
api-version: string ,
parameters:
{
id: string ,
name: string ,
}
,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{}
CloudServicesUpdateDomain_GetUpdateDomain (new)
Description :  Gets the specified update domain of a cloud service. Use nextLink property in the response to get the next page of update domains. Do this till nextLink is null to fetch all the update domains.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/updateDomains/{updateDomain}
{
resourceGroupName: string ,
cloudServiceName: string ,
updateDomain: integer ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}

⚐ Response (200)

{
id: string ,
name: string ,
}
CloudServicesUpdateDomain_ListUpdateDomains (new)
Description :  Gets a list of all update domains in a cloud service.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/updateDomains
{
resourceGroupName: string ,
cloudServiceName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
}
,
]
,
nextLink: string ,
}
CloudServiceOperatingSystems_GetOSVersion (new)
Description :  Gets properties of a guest operating system version that can be specified in the XML service configuration (.cscfg) for a cloud service.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsVersions/{osVersionName}
{
location: string ,
osVersionName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
location: string ,
properties:
{
family: string ,
familyLabel: string ,
version: string ,
label: string ,
isDefault: boolean ,
isActive: boolean ,
}
,
}
CloudServiceOperatingSystems_ListOSVersions (new)
Description :  Gets a list of all guest operating system versions available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS versions. Do this till nextLink is null to fetch all the OS versions.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsVersions
{
location: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
location: string ,
properties:
{
family: string ,
familyLabel: string ,
version: string ,
label: string ,
isDefault: boolean ,
isActive: boolean ,
}
,
}
,
]
,
nextLink: string ,
}
CloudServiceOperatingSystems_GetOSFamily (new)
Description :  Gets properties of a guest operating system family that can be specified in the XML service configuration (.cscfg) for a cloud service.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsFamilies/{osFamilyName}
{
location: string ,
osFamilyName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
location: string ,
properties:
{
name: string ,
label: string ,
versions:
[
{
version: string ,
label: string ,
isDefault: boolean ,
isActive: boolean ,
}
,
]
,
}
,
}
CloudServiceOperatingSystems_ListOSFamilies (new)
Description :  Gets a list of all guest operating system families available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS Families. Do this till nextLink is null to fetch all the OS Families.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsFamilies
{
location: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
location: string ,
properties:
{
name: string ,
label: string ,
versions:
[
{
version: string ,
label: string ,
isDefault: boolean ,
isActive: boolean ,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}