Partager via


SubscriptionAssignmentsExtensions.CreateOrUpdateInSubscriptionAsync Méthode

Définition

Créez ou mettez à jour une affectation de blueprint.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Blueprint.Models.Assignment> CreateOrUpdateInSubscriptionAsync (this Microsoft.Azure.Management.Blueprint.IAssignmentsOperations operations, string subscriptionId, string assignmentName, Microsoft.Azure.Management.Blueprint.Models.Assignment assignment, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateInSubscriptionAsync : Microsoft.Azure.Management.Blueprint.IAssignmentsOperations * string * string * Microsoft.Azure.Management.Blueprint.Models.Assignment * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Blueprint.Models.Assignment>
<Extension()>
Public Function CreateOrUpdateInSubscriptionAsync (operations As IAssignmentsOperations, subscriptionId As String, assignmentName As String, assignment As Assignment, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Assignment)

Paramètres

operations
IAssignmentsOperations

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

subscriptionId
String

azure subscriptionId, auquel nous affectons le blueprint.

assignmentName
String

nom de l’affectation.

assignment
Assignment

objet d’affectation à enregistrer.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à