ArtifactStoreResource.UpdateStateProxyArtifactAsync Method

Definition

Change artifact state defined in artifact store.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridNetwork/publishers/{publisherName}/artifactStores/{artifactStoreName}/artifactVersions/{artifactVersionName}
  • Operation Id: ProxyArtifact_UpdateState
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HybridNetwork.Models.ProxyArtifactVersionsListOverview>> UpdateStateProxyArtifactAsync (Azure.WaitUntil waitUntil, string artifactVersionName, string artifactName, Azure.ResourceManager.HybridNetwork.Models.ArtifactChangeState artifactChangeState, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateStateProxyArtifactAsync : Azure.WaitUntil * string * string * Azure.ResourceManager.HybridNetwork.Models.ArtifactChangeState * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HybridNetwork.Models.ProxyArtifactVersionsListOverview>>
override this.UpdateStateProxyArtifactAsync : Azure.WaitUntil * string * string * Azure.ResourceManager.HybridNetwork.Models.ArtifactChangeState * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HybridNetwork.Models.ProxyArtifactVersionsListOverview>>
Public Overridable Function UpdateStateProxyArtifactAsync (waitUntil As WaitUntil, artifactVersionName As String, artifactName As String, artifactChangeState As ArtifactChangeState, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of ProxyArtifactVersionsListOverview))

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.

artifactVersionName
String

The name of the artifact version.

artifactName
String

The name of the artifact.

artifactChangeState
ArtifactChangeState

Parameters supplied to update the state of artifact manifest.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

artifactVersionName is an empty string, and was expected to be non-empty.

artifactVersionName, artifactName or artifactChangeState is null.

Applies to