Skip to main content

cloud_services

Overview

Namecloud_services
TypeResource
Idazure.compute.cloud_services

Fields

NameDatatypeDescription
idstringResource Id.
namestringResource name.
locationstringResource location.
propertiesobjectCloud service properties
systemDataobjectThe system meta data relating to this resource.
tagsobjectResource tags.
typestringResource type.
zonesarrayList of logical availability zone of the resource. List should contain only 1 zone where cloud service should be provisioned. This field is optional.

Methods

NameAccessible byRequired ParamsDescription
getSELECTcloudServiceName, resourceGroupName, subscriptionIdDisplay information about a cloud service.
listSELECTresourceGroupName, subscriptionIdGets 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.
create_or_updateINSERTcloudServiceName, resourceGroupName, subscriptionId, data__locationCreate or update a cloud service. Please note some properties can be set only during cloud service creation.
deleteDELETEcloudServiceName, resourceGroupName, subscriptionIdDeletes a cloud service.
_listEXECresourceGroupName, subscriptionIdGets 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.
power_offEXECcloudServiceName, resourceGroupName, subscriptionIdPower off the cloud service. Note that resources are still attached and you are getting charged for the resources.
rebuildEXECcloudServiceName, resourceGroupName, subscriptionId, data__roleInstancesRebuild 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.
reimageEXECcloudServiceName, resourceGroupName, subscriptionId, data__roleInstancesReimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles.
restartEXECcloudServiceName, resourceGroupName, subscriptionId, data__roleInstancesRestarts one or more role instances in a cloud service.
startEXECcloudServiceName, resourceGroupName, subscriptionIdStarts the cloud service.
updateEXECcloudServiceName, resourceGroupName, subscriptionIdUpdate a cloud service.