cloud_services_update_domain_update_domains
Creates, updates, deletes, gets or lists a cloud_services_update_domain_update_domains
resource.
Overview
Name | cloud_services_update_domain_update_domains |
Type | Resource |
Id | azure.compute.cloud_services_update_domain_update_domains |
Fields
The following fields are returned by SELECT
queries:
- get
- list
Name | Datatype | Description |
---|---|---|
id | string | Resource Id |
name | string | Resource Name |
Name | Datatype | Description |
---|---|---|
id | string | Resource Id |
name | string | Resource Name |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | resourceGroupName , cloudServiceName , updateDomain , subscriptionId | 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. | |
list | select | resourceGroupName , cloudServiceName , subscriptionId | Gets 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.
Name | Datatype | Description |
---|---|---|
cloudServiceName | string | Name of the cloud service. |
resourceGroupName | string | Name of the resource group. |
subscriptionId | string | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
updateDomain | integer (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
- get
- list
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
;
Gets a list of all update domains in a cloud service.
SELECT
id,
name
FROM azure.compute.cloud_services_update_domain_update_domains
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND cloudServiceName = '{{ cloudServiceName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;