PermissionProperties Construtores

Definição

Sobrecargas

PermissionProperties(String, PermissionMode, CosmosContainer, Nullable<PartitionKey>)

Inicialize uma nova instância do PermissionProperties com permssão para CosmosContainer.

PermissionProperties(String, PermissionMode, CosmosContainer, PartitionKey, String)

Inicialize uma nova instância do PermissionProperties com permsão no item cosnmos.

PermissionProperties(String, PermissionMode, CosmosContainer, Nullable<PartitionKey>)

Inicialize uma nova instância do PermissionProperties com permssão para CosmosContainer.

public PermissionProperties (string id, Azure.Cosmos.PermissionMode permissionMode, Azure.Cosmos.CosmosContainer container, Azure.Cosmos.PartitionKey? resourcePartitionKey = default);
new Azure.Cosmos.PermissionProperties : string * Azure.Cosmos.PermissionMode * Azure.Cosmos.CosmosContainer * Nullable<Azure.Cosmos.PartitionKey> -> Azure.Cosmos.PermissionProperties
Public Sub New (id As String, permissionMode As PermissionMode, container As CosmosContainer, Optional resourcePartitionKey As Nullable(Of PartitionKey) = Nothing)

Parâmetros

id
String

A ID de permissão.

permissionMode
PermissionMode

O PermissionMode.

container
CosmosContainer

O objeto CosmosContainer.

resourcePartitionKey
Nullable<PartitionKey>

(Opcional) O valor da chave de partição para a permissão no serviço do Azure Cosmos DB. Ver PartitionKey

Aplica-se a

PermissionProperties(String, PermissionMode, CosmosContainer, PartitionKey, String)

Inicialize uma nova instância do PermissionProperties com permsão no item cosnmos.

public PermissionProperties (string id, Azure.Cosmos.PermissionMode permissionMode, Azure.Cosmos.CosmosContainer container, Azure.Cosmos.PartitionKey resourcePartitionKey, string itemId);
new Azure.Cosmos.PermissionProperties : string * Azure.Cosmos.PermissionMode * Azure.Cosmos.CosmosContainer * Azure.Cosmos.PartitionKey * string -> Azure.Cosmos.PermissionProperties
Public Sub New (id As String, permissionMode As PermissionMode, container As CosmosContainer, resourcePartitionKey As PartitionKey, itemId As String)

Parâmetros

id
String

A ID de permissão.

permissionMode
PermissionMode

O PermissionMode.

container
CosmosContainer

O objeto CosmosContainer.

resourcePartitionKey
PartitionKey

O PartitionKey do recurso no serviço do Azure Cosmos.

itemId
String

A ID do item cosmos

Aplica-se a