Compartilhar via


RegistrationDefinitionsOperationsExtensions.BeginCreateOrUpdateAsync Método

Definição

Cria ou atualiza uma definição de registro.

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)

Parâmetros

operations
IRegistrationDefinitionsOperations

O grupo de operações para esse método de extensão.

registrationDefinitionId
String

Guid da definição de registro.

scope
String

Escopo do recurso.

requestBody
RegistrationDefinition

Os parâmetros necessários para criar uma nova definição de registro.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a