Udostępnij za pośrednictwem


RegistrationDefinitionsOperationsExtensions.BeginCreateOrUpdateAsync Method

Definition

Creates or updates a registration definition.

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

Parameters

operations
IRegistrationDefinitionsOperations

The operations group for this extension method.

registrationDefinitionId
String

Guid of the registration definition.

scope
String

Scope of the resource.

requestBody
RegistrationDefinition

The parameters required to create new registration definition.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to