SubscriptionArtifactsExtensions.CreateOrUpdateInSubscriptionAsync Method

Definition

Create or update Blueprint artifact.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Blueprint.Models.Artifact> CreateOrUpdateInSubscriptionAsync (this Microsoft.Azure.Management.Blueprint.IArtifactsOperations operations, string subscriptionId, string blueprintName, string artifactName, Microsoft.Azure.Management.Blueprint.Models.Artifact artifact, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateInSubscriptionAsync : Microsoft.Azure.Management.Blueprint.IArtifactsOperations * string * string * string * Microsoft.Azure.Management.Blueprint.Models.Artifact * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Blueprint.Models.Artifact>
<Extension()>
Public Function CreateOrUpdateInSubscriptionAsync (operations As IArtifactsOperations, subscriptionId As String, blueprintName As String, artifactName As String, artifact As Artifact, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Artifact)

Parameters

operations
IArtifactsOperations

The operations group for this extension method.

subscriptionId
String

azure subscriptionId, which we save the blueprint to.

blueprintName
String

name of the blueprint.

artifactName
String

name of the artifact.

artifact
Artifact

Blueprint artifact to save.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to