RegistrationAssignmentsOperationsExtensions.BeginCreateOrUpdateAsync(IRegistrationAssignmentsOperations, String, String, RegistrationAssignment, CancellationToken) 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
System.String

Scope of the resource.

registrationAssignmentId
System.String

Guid of the registration assignment.

requestBody
RegistrationAssignment

The parameters required to create new registration assignment.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<RegistrationAssignment>

Applies to