SqlResourcesOperationsExtensions.BeginCreateUpdateSqlRoleDefinitionAsync 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 an Azure Cosmos DB SQL Role Definition.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.CosmosDB.Models.SqlRoleDefinitionGetResults> BeginCreateUpdateSqlRoleDefinitionAsync (this Microsoft.Azure.Management.CosmosDB.ISqlResourcesOperations operations, string roleDefinitionId, string resourceGroupName, string accountName, Microsoft.Azure.Management.CosmosDB.Models.SqlRoleDefinitionCreateUpdateParameters createUpdateSqlRoleDefinitionParameters, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateUpdateSqlRoleDefinitionAsync : Microsoft.Azure.Management.CosmosDB.ISqlResourcesOperations * string * string * string * Microsoft.Azure.Management.CosmosDB.Models.SqlRoleDefinitionCreateUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.CosmosDB.Models.SqlRoleDefinitionGetResults>
<Extension()>
Public Function BeginCreateUpdateSqlRoleDefinitionAsync (operations As ISqlResourcesOperations, roleDefinitionId As String, resourceGroupName As String, accountName As String, createUpdateSqlRoleDefinitionParameters As SqlRoleDefinitionCreateUpdateParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SqlRoleDefinitionGetResults)
Parameters
- operations
- ISqlResourcesOperations
The operations group for this extension method.
- roleDefinitionId
- String
The GUID for the Role Definition.
- resourceGroupName
- String
The name of the resource group. The name is case insensitive.
- accountName
- String
Cosmos DB database account name.
- createUpdateSqlRoleDefinitionParameters
- SqlRoleDefinitionCreateUpdateParameters
The properties required to create or update a Role 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