Share via


CloudServicesUpdateDomainOperationsExtensions.ListUpdateDomainsAsync Method

Definition

Gets a list of all update domains in a cloud service.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.UpdateDomain>> ListUpdateDomainsAsync (this Microsoft.Azure.Management.Compute.ICloudServicesUpdateDomainOperations operations, string resourceGroupName, string cloudServiceName, System.Threading.CancellationToken cancellationToken = default);
static member ListUpdateDomainsAsync : Microsoft.Azure.Management.Compute.ICloudServicesUpdateDomainOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.UpdateDomain>>
<Extension()>
Public Function ListUpdateDomainsAsync (operations As ICloudServicesUpdateDomainOperations, resourceGroupName As String, cloudServiceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(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.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to