MongoRoleDefinitionGetResults interface

An Azure Cosmos DB Mongo Role Definition.

Extends

Properties

databaseName

The database name for which access is being granted for this Role Definition.

privileges

A set of privileges contained by the Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Scopes higher than Database are not enforceable as privilege.

roleName

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

roles

The set of roles inherited by this Role Definition.

typePropertiesType

Indicates whether the Role Definition was built-in or user created.

Inherited Properties

id

The unique resource identifier of the database account. NOTE: This property will not be serialized. It can only be populated by the server.

name

The name of the database account. NOTE: This property will not be serialized. It can only be populated by the server.

type

The type of Azure resource. NOTE: This property will not be serialized. It can only be populated by the server.

Property Details

databaseName

The database name for which access is being granted for this Role Definition.

databaseName?: string

Property Value

string

privileges

A set of privileges contained by the Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Scopes higher than Database are not enforceable as privilege.

privileges?: Privilege[]

Property Value

roleName

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

roleName?: string

Property Value

string

roles

The set of roles inherited by this Role Definition.

roles?: Role[]

Property Value

Role[]

typePropertiesType

Indicates whether the Role Definition was built-in or user created.

typePropertiesType?: MongoRoleDefinitionType

Property Value

Inherited Property Details

id

The unique resource identifier of the database account. NOTE: This property will not be serialized. It can only be populated by the server.

id?: string

Property Value

string

Inherited From ARMProxyResource.id

name

The name of the database account. NOTE: This property will not be serialized. It can only be populated by the server.

name?: string

Property Value

string

Inherited From ARMProxyResource.name

type

The type of Azure resource. NOTE: This property will not be serialized. It can only be populated by the server.

type?: string

Property Value

string

Inherited From ARMProxyResource.type