Skip to main content

cloud_services_update_domain_update_domains

Creates, updates, deletes, gets or lists a cloud_services_update_domain_update_domains resource.

Overview

Namecloud_services_update_domain_update_domains
TypeResource
Idazure.compute.cloud_services_update_domain_update_domains

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringResource Id
namestringResource Name

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceGroupName, cloudServiceName, updateDomain, subscriptionIdGets 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.
listselectresourceGroupName, cloudServiceName, subscriptionIdGets a list of all update domains in a cloud service.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
cloudServiceNamestringName of the cloud service.
resourceGroupNamestringName of the resource group.
subscriptionIdstringSubscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
updateDomaininteger (int32)Specifies an integer value that identifies the update domain. Update domains are identified with a zero-based index: the first update domain has an ID of 0, the second has an ID of 1, and so on.

SELECT examples

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.

SELECT
id,
name
FROM azure.compute.cloud_services_update_domain_update_domains
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND cloudServiceName = '{{ cloudServiceName }}' -- required
AND updateDomain = '{{ updateDomain }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;