Sdílet prostřednictvím


RegistrationDefinitionsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a registration definition.

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