Share via


CloudServiceResource.GetUpdateDomains(CancellationToken) Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/updateDomains
  • Operation Id: CloudServicesUpdateDomain_ListUpdateDomains
  • Default Api Version: 2022-09-04
public virtual Azure.Pageable<Azure.ResourceManager.Compute.Models.UpdateDomainIdentifier> GetUpdateDomains (System.Threading.CancellationToken cancellationToken = default);
abstract member GetUpdateDomains : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Compute.Models.UpdateDomainIdentifier>
override this.GetUpdateDomains : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Compute.Models.UpdateDomainIdentifier>
Public Overridable Function GetUpdateDomains (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of UpdateDomainIdentifier)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of UpdateDomainIdentifier that may take multiple service requests to iterate over.

Applies to