Share via


PrivilegeResource Constructors

Definition

Overloads

PrivilegeResource()

Initializes a new instance of the PrivilegeResource class.

PrivilegeResource(String, String)

Initializes a new instance of the PrivilegeResource class.

PrivilegeResource()

Initializes a new instance of the PrivilegeResource class.

public PrivilegeResource ();
Public Sub New ()

Applies to

PrivilegeResource(String, String)

Initializes a new instance of the PrivilegeResource class.

public PrivilegeResource (string db = default, string collection = default);
new Microsoft.Azure.Management.CosmosDB.Models.PrivilegeResource : string * string -> Microsoft.Azure.Management.CosmosDB.Models.PrivilegeResource
Public Sub New (Optional db As String = Nothing, Optional collection As String = Nothing)

Parameters

db
String

The database name the role is applied.

collection
String

The collection name the role is applied.

Applies to