RegistrationDefinitionsOperationsExtensions.CreateOrUpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET