GetMongoDBResourceMongoRoleDefinitionResult

data class GetMongoDBResourceMongoRoleDefinitionResult(val databaseName: String? = null, val id: String, val name: String, val privileges: List<PrivilegeResponse>? = null, val roleName: String? = null, val roles: List<RoleResponse>? = null, val type: String)

An Azure Cosmos DB Mongo Role Definition.

Constructors

constructor(databaseName: String? = null, id: String, name: String, privileges: List<PrivilegeResponse>? = null, roleName: String? = null, roles: List<RoleResponse>? = null, type: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val databaseName: String? = null

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

Link copied to clipboard
val id: String

The unique resource identifier of the database account.

Link copied to clipboard

The name of the database account.

Link copied to clipboard

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.

Link copied to clipboard
val roleName: String? = null

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

Link copied to clipboard
val roles: List<RoleResponse>? = null

The set of roles inherited by this Role Definition.

Link copied to clipboard

The type of Azure resource.