Share via


CloudServicesUpdateDomainOperationsExtensions.GetUpdateDomainAsync Method

Definition

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.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.UpdateDomain> GetUpdateDomainAsync (this Microsoft.Azure.Management.Compute.ICloudServicesUpdateDomainOperations operations, string resourceGroupName, string cloudServiceName, int updateDomain, System.Threading.CancellationToken cancellationToken = default);
static member GetUpdateDomainAsync : Microsoft.Azure.Management.Compute.ICloudServicesUpdateDomainOperations * string * string * int * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.UpdateDomain>
<Extension()>
Public Function GetUpdateDomainAsync (operations As ICloudServicesUpdateDomainOperations, resourceGroupName As String, cloudServiceName As String, updateDomain As Integer, Optional cancellationToken As CancellationToken = Nothing) As Task(Of UpdateDomain)

Parameters

operations
ICloudServicesUpdateDomainOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group.

cloudServiceName
String

Name of the cloud service.

updateDomain
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.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to