共用方式為


BlueprintArtifactResource.UpdateAsync Method

Definition

Create or update blueprint artifact.

  • Request Path: /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}/artifacts/{artifactName}
  • Operation Id: Artifacts_CreateOrUpdate
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Blueprint.BlueprintArtifactResource>> UpdateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.Blueprint.ArtifactData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.Blueprint.ArtifactData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Blueprint.BlueprintArtifactResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.Blueprint.ArtifactData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Blueprint.BlueprintArtifactResource>>
Public Overridable Function UpdateAsync (waitUntil As WaitUntil, data As ArtifactData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of BlueprintArtifactResource))

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
ArtifactData

Blueprint artifact to create or update.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

data is null.

Applies to