Partilhar via


SubscriptionArtifactsExtensions.CreateOrUpdateInSubscriptionAsync Método

Definição

Criar ou atualizar o artefacto do Esquema.

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 este método de extensão.

subscriptionId
String

azure subscriptionId, no qual guardamos o esquema.

blueprintName
String

nome do esquema.

artifactName
String

nome do artefacto.

artifact
Artifact

Artefacto de esquema a guardar.

cancellationToken
CancellationToken

O token de cancelamento.

Devoluções

Aplica-se a