SqlResourcesOperationsExtensions.CreateUpdateSqlRoleDefinition 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 Microsoft.Azure.Management.CosmosDB.Models.SqlRoleDefinitionGetResults CreateUpdateSqlRoleDefinition (this Microsoft.Azure.Management.CosmosDB.ISqlResourcesOperations operations, string roleDefinitionId, string resourceGroupName, string accountName, Microsoft.Azure.Management.CosmosDB.Models.SqlRoleDefinitionCreateUpdateParameters createUpdateSqlRoleDefinitionParameters);
static member CreateUpdateSqlRoleDefinition : Microsoft.Azure.Management.CosmosDB.ISqlResourcesOperations * string * string * string * Microsoft.Azure.Management.CosmosDB.Models.SqlRoleDefinitionCreateUpdateParameters -> Microsoft.Azure.Management.CosmosDB.Models.SqlRoleDefinitionGetResults
<Extension()>
Public Function CreateUpdateSqlRoleDefinition (operations As ISqlResourcesOperations, roleDefinitionId As String, resourceGroupName As String, accountName As String, createUpdateSqlRoleDefinitionParameters As SqlRoleDefinitionCreateUpdateParameters) As 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.