Share via


MongoRoleDefinitionGetResults Class

Definition

An Azure Cosmos DB Mongo Role Definition.

[Microsoft.Rest.Serialization.JsonTransformation]
public class MongoRoleDefinitionGetResults : Microsoft.Azure.Management.CosmosDB.Models.ARMProxyResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type MongoRoleDefinitionGetResults = class
    inherit ARMProxyResource
Public Class MongoRoleDefinitionGetResults
Inherits ARMProxyResource
Inheritance
MongoRoleDefinitionGetResults
Attributes

Constructors

MongoRoleDefinitionGetResults()

Initializes a new instance of the MongoRoleDefinitionGetResults class.

MongoRoleDefinitionGetResults(String, String, String, String, Nullable<MongoRoleDefinitionType>, String, IList<Privilege>, IList<Role>)

Initializes a new instance of the MongoRoleDefinitionGetResults class.

Properties

DatabaseName

Gets or sets the database name for which access is being granted for this Role Definition.

Id

Gets the unique resource identifier of the database account.

(Inherited from ARMProxyResource)
Name

Gets the name of the database account.

(Inherited from ARMProxyResource)
Privileges

Gets or sets 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.

PropertiesType

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

RoleName

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

Roles

Gets or sets the set of roles inherited by this Role Definition.

Type

Gets the type of Azure resource.

(Inherited from ARMProxyResource)

Applies to