Compartilhar via


ArtifactsOperationsExtensions.CreateOrUpdateAsync Método

Definição

Criar ou atualizar o artefato de blueprint.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Blueprint.Models.Artifact> CreateOrUpdateAsync (this Microsoft.Azure.Management.Blueprint.IArtifactsOperations operations, string resourceScope, string blueprintName, string artifactName, Microsoft.Azure.Management.Blueprint.Models.Artifact artifact, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : 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 CreateOrUpdateAsync (operations As IArtifactsOperations, resourceScope 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.

resourceScope
String

O escopo do recurso. Os escopos válidos são: grupo de gerenciamento (formato: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), assinatura (formato: '/subscriptions/{subscriptionId}').

blueprintName
String

Nome da definição do blueprint.

artifactName
String

Nome do artefato de blueprint.

artifact
Artifact

Artefato de blueprint para criar ou atualizar.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a