Compartir a través de


RegistrationAssignmentsOperationsExtensions.CreateOrUpdateAsync Método

Definición

Crea o actualiza una asignación de registro.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ManagedServices.Models.RegistrationAssignment> CreateOrUpdateAsync (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 CreateOrUpdateAsync : 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 CreateOrUpdateAsync (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

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

scope
String

Ámbito del recurso.

registrationAssignmentId
String

Guid de la asignación de registro.

requestBody
RegistrationAssignment

Parámetros necesarios para crear una nueva asignación de registro.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a