Compartilhar via


SubscriptionArtifactsExtensions.CreateOrUpdateInSubscriptionAsync Método

Definição

Criar ou atualizar o artefato do Blueprint.

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)

Parâmetros

operations
IArtifactsOperations

O grupo de operações para esse método de extensão.

subscriptionId
String

azure subscriptionId, no qual salvamos o blueprint.

blueprintName
String

nome do blueprint.

artifactName
String

nome do artefato.

artifact
Artifact

Artefato de blueprint a ser salvo.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a