Condividi tramite


RegistrationAssignmentsOperationsExtensions.BeginCreateOrUpdateAsync Method

Definition

Creates or updates a registration assignment.

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)

Parameters

operations
IRegistrationAssignmentsOperations

The operations group for this extension method.

scope
String

Scope of the resource.

registrationAssignmentId
String

Guid of the registration assignment.

requestBody
RegistrationAssignment

The parameters required to create new registration assignment.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to