Share via


MongoRoleDefinitionGetResults Constructors

Definition

Overloads

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.

MongoRoleDefinitionGetResults()

Initializes a new instance of the MongoRoleDefinitionGetResults class.

public MongoRoleDefinitionGetResults ();
Public Sub New ()

Applies to

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

Initializes a new instance of the MongoRoleDefinitionGetResults class.

public MongoRoleDefinitionGetResults (string id = default, string name = default, string type = default, string roleName = default, Microsoft.Azure.Management.CosmosDB.Models.MongoRoleDefinitionType? propertiesType = default, string databaseName = default, System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.Privilege> privileges = default, System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.Role> roles = default);
new Microsoft.Azure.Management.CosmosDB.Models.MongoRoleDefinitionGetResults : string * string * string * string * Nullable<Microsoft.Azure.Management.CosmosDB.Models.MongoRoleDefinitionType> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.Privilege> * System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.Role> -> Microsoft.Azure.Management.CosmosDB.Models.MongoRoleDefinitionGetResults
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional roleName As String = Nothing, Optional propertiesType As Nullable(Of MongoRoleDefinitionType) = Nothing, Optional databaseName As String = Nothing, Optional privileges As IList(Of Privilege) = Nothing, Optional roles As IList(Of Role) = Nothing)

Parameters

id
String

The unique resource identifier of the database account.

name
String

The name of the database account.

type
String

The type of Azure resource.

roleName
String

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

propertiesType
Nullable<MongoRoleDefinitionType>

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

databaseName
String

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

privileges
IList<Privilege>

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.

roles
IList<Role>

The set of roles inherited by this Role Definition.

Applies to