Share via


CloudServiceResource.WalkUpdateDomainAsync Method

Definition

Updates the role instances in the specified update domain.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/updateDomains/{updateDomain}
  • Operation Id: CloudServicesUpdateDomain_WalkUpdateDomain
  • Default Api Version: 2022-09-04
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation> WalkUpdateDomainAsync (Azure.WaitUntil waitUntil, int updateDomain, Azure.ResourceManager.Compute.Models.UpdateDomainIdentifier updateDomainIdentifier = default, System.Threading.CancellationToken cancellationToken = default);

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

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.

updateDomainIdentifier
UpdateDomainIdentifier

The update domain object.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to