你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CloudServiceResource.GetUpdateDomainsAsync(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.AsyncPageable<Azure.ResourceManager.Compute.Models.UpdateDomainIdentifier> GetUpdateDomainsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetUpdateDomainsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Compute.Models.UpdateDomainIdentifier>
override this.GetUpdateDomainsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Compute.Models.UpdateDomainIdentifier>
Public Overridable Function GetUpdateDomainsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of UpdateDomainIdentifier)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to