Compartir a través de


ArtifactsOperationsExtensions.CreateOrUpdateAsync Método

Definición

Cree o actualice el artefacto del plano técnico.

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

El grupo de operaciones de este método de extensión.

resourceScope
String

Ámbito del recurso. Los ámbitos válidos son: grupo de administración (formato: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), suscripción (formato: '/subscriptions/{subscriptionId}').

blueprintName
String

Nombre de la definición del plano técnico.

artifactName
String

Nombre del artefacto del plano técnico.

artifact
Artifact

Artefacto de plano técnico para crear o actualizar.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a