Dela via


ArtifactStoreResource.UpdateStateProxyArtifact 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 Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HybridNetwork.Models.ProxyArtifactVersionsListOverview> UpdateStateProxyArtifact (Azure.WaitUntil waitUntil, string artifactVersionName, string artifactName, Azure.ResourceManager.HybridNetwork.Models.ArtifactChangeState artifactChangeState, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateStateProxyArtifact : Azure.WaitUntil * string * string * Azure.ResourceManager.HybridNetwork.Models.ArtifactChangeState * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HybridNetwork.Models.ProxyArtifactVersionsListOverview>
override this.UpdateStateProxyArtifact : Azure.WaitUntil * string * string * Azure.ResourceManager.HybridNetwork.Models.ArtifactChangeState * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HybridNetwork.Models.ProxyArtifactVersionsListOverview>
Public Overridable Function UpdateStateProxyArtifact (waitUntil As WaitUntil, artifactVersionName As String, artifactName As String, artifactChangeState As ArtifactChangeState, Optional cancellationToken As CancellationToken = Nothing) As 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