Compartilhar via


RegistrationAssignmentsOperationsExtensions.BeginCreateOrUpdateAsync Método

Definição

Cria ou atualiza uma atribuição de registro.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ManagedServices.Models.RegistrationAssignment> BeginCreateOrUpdateAsync (this Microsoft.Azure.Management.ManagedServices.IRegistrationAssignmentsOperations operations, string scope, string registrationAssignmentId, Microsoft.Azure.Management.ManagedServices.Models.RegistrationAssignment requestBody, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateOrUpdateAsync : Microsoft.Azure.Management.ManagedServices.IRegistrationAssignmentsOperations * string * string * Microsoft.Azure.Management.ManagedServices.Models.RegistrationAssignment * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ManagedServices.Models.RegistrationAssignment>
<Extension()>
Public Function BeginCreateOrUpdateAsync (operations As IRegistrationAssignmentsOperations, scope As String, registrationAssignmentId As String, requestBody As RegistrationAssignment, Optional cancellationToken As CancellationToken = Nothing) As Task(Of RegistrationAssignment)

Parâmetros

operations
IRegistrationAssignmentsOperations

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

scope
String

Escopo do recurso.

registrationAssignmentId
String

Guid da atribuição de registro.

requestBody
RegistrationAssignment

Os parâmetros necessários para criar uma nova atribuição de registro.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a