Share via


Privilege Constructors

Definition

Overloads

Privilege()

Initializes a new instance of the Privilege class.

Privilege(PrivilegeResource, IList<String>)

Initializes a new instance of the Privilege class.

Privilege()

Initializes a new instance of the Privilege class.

public Privilege ();
Public Sub New ()

Applies to

Privilege(PrivilegeResource, IList<String>)

Initializes a new instance of the Privilege class.

public Privilege (Microsoft.Azure.Management.CosmosDB.Models.PrivilegeResource resource = default, System.Collections.Generic.IList<string> actions = default);
new Microsoft.Azure.Management.CosmosDB.Models.Privilege : Microsoft.Azure.Management.CosmosDB.Models.PrivilegeResource * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.CosmosDB.Models.Privilege
Public Sub New (Optional resource As PrivilegeResource = Nothing, Optional actions As IList(Of String) = Nothing)

Parameters

resource
PrivilegeResource

An Azure Cosmos DB Mongo DB Resource.

actions
IList<String>

An array of actions that are allowed.

Applies to