SqlRoleDefinitionGetResults Class

An Azure Cosmos DB SQL Role Definition.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.cosmosdb.models._models_py3.ARMProxyResource
SqlRoleDefinitionGetResults

Constructor

SqlRoleDefinitionGetResults(*, role_name: Optional[str] = None, type_properties_type: Optional[Union[str, _models.RoleDefinitionType]] = None, assignable_scopes: Optional[List[str]] = None, permissions: Optional[List[_models.Permission]] = None, **kwargs)

Variables

id
str

The unique resource identifier of the database account.

name
str

The name of the database account.

type
str

The type of Azure resource.

role_name
str

A user-friendly name for the Role Definition. Must be unique for the database account.

type_properties_type
str or RoleDefinitionType

Indicates whether the Role Definition was built-in or user created. Known values are: "BuiltInRole", "CustomRole".

assignable_scopes
list[str]

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
list[Permission]

The set of operations allowed through this Role Definition.