次の方法で共有


HciClusterUpdateRunResource.UpdateAsync Method

Definition

Put Update runs for a specified update

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/updates/{updateName}/updateRuns/{updateRunName}
  • Operation Id: UpdateRuns_Put
  • Default Api Version: 2024-04-01
  • Resource: HciClusterUpdateRunResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Hci.HciClusterUpdateRunResource>> UpdateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.Hci.HciClusterUpdateRunData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.Hci.HciClusterUpdateRunData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Hci.HciClusterUpdateRunResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.Hci.HciClusterUpdateRunData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Hci.HciClusterUpdateRunResource>>
Public Overridable Function UpdateAsync (waitUntil As WaitUntil, data As HciClusterUpdateRunData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of HciClusterUpdateRunResource))

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.

data
HciClusterUpdateRunData

Properties of the updateRuns object.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

data is null.

Applies to