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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET