共用方式為


SqlRoleDefinitionCreateUpdateParameters Class

Definition

Parameters to create and update an Azure Cosmos DB SQL Role Definition.

[Microsoft.Rest.Serialization.JsonTransformation]
public class SqlRoleDefinitionCreateUpdateParameters
[<Microsoft.Rest.Serialization.JsonTransformation>]
type SqlRoleDefinitionCreateUpdateParameters = class
Public Class SqlRoleDefinitionCreateUpdateParameters
Inheritance
SqlRoleDefinitionCreateUpdateParameters
Attributes

Constructors

SqlRoleDefinitionCreateUpdateParameters()

Initializes a new instance of the SqlRoleDefinitionCreateUpdateParameters class.

SqlRoleDefinitionCreateUpdateParameters(String, Nullable<RoleDefinitionType>, IList<String>, IList<Permission>)

Initializes a new instance of the SqlRoleDefinitionCreateUpdateParameters class.

Properties

AssignableScopes

Gets or sets a set of fully qualified Scopes at or below which Role Assignments may be created using this Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Must have at least one element. Scopes higher than Database account are not enforceable as assignable Scopes. Note that resources referenced in assignable Scopes need not exist.

Permissions

Gets or sets the set of operations allowed through this Role Definition.

RoleName

Gets or sets a user-friendly name for the Role Definition. Must be unique for the database account.

Type

Gets or sets indicates whether the Role Definition was built-in or user created. Possible values include: 'BuiltInRole', 'CustomRole'

Applies to