Share via


ArtifactManifestResource.UpdateStateAsync Method

Definition

Update state for artifact manifest.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridNetwork/publishers/{publisherName}/artifactStores/{artifactStoreName}/artifactManifests/{artifactManifestName}/updateState
  • Operation Id: ArtifactManifests_UpdateState
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HybridNetwork.Models.ArtifactManifestUpdateState>> UpdateStateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.HybridNetwork.Models.ArtifactManifestUpdateState artifactManifestUpdateState, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateStateAsync : Azure.WaitUntil * Azure.ResourceManager.HybridNetwork.Models.ArtifactManifestUpdateState * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HybridNetwork.Models.ArtifactManifestUpdateState>>
override this.UpdateStateAsync : Azure.WaitUntil * Azure.ResourceManager.HybridNetwork.Models.ArtifactManifestUpdateState * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HybridNetwork.Models.ArtifactManifestUpdateState>>
Public Overridable Function UpdateStateAsync (waitUntil As WaitUntil, artifactManifestUpdateState As ArtifactManifestUpdateState, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of ArtifactManifestUpdateState))

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.

artifactManifestUpdateState
ArtifactManifestUpdateState

Parameters supplied to update the state of artifact manifest.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

artifactManifestUpdateState is null.

Applies to