Compartilhar via


SubscriptionAssignmentsExtensions.CreateOrUpdateInSubscriptionAsync Método

Definição

Criar ou atualizar uma atribuição 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)

Parâmetros

operations
IAssignmentsOperations

O grupo de operações para esse método de extensão.

subscriptionId
String

azure subscriptionId, ao qual atribuimos o blueprint.

assignmentName
String

nome da atribuição.

assignment
Assignment

objeto de atribuição a ser salvo.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a