Partager via


SubscriptionArtifactsExtensions.CreateOrUpdateInSubscriptionAsync Méthode

Définition

Créez ou mettez à jour l’artefact 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)

Paramètres

operations
IArtifactsOperations

Groupe d’opérations pour cette méthode d’extension.

subscriptionId
String

azure subscriptionId, dans lequel nous enregistrons le blueprint.

blueprintName
String

nom du blueprint.

artifactName
String

nom de l’artefact.

artifact
Artifact

Artefact de blueprint à enregistrer.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à