Sdílet prostřednictvím


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);
abstract member WalkUpdateDomainAsync : Azure.WaitUntil * int * Azure.ResourceManager.Compute.Models.UpdateDomainIdentifier * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
override this.WalkUpdateDomainAsync : Azure.WaitUntil * int * Azure.ResourceManager.Compute.Models.UpdateDomainIdentifier * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
Public Overridable Function WalkUpdateDomainAsync (waitUntil As WaitUntil, updateDomain As Integer, Optional updateDomainIdentifier As UpdateDomainIdentifier = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation)

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