Udostępnij za pośrednictwem


PermissionProperties.ResourcePartitionKey Property

Definition

Gets optional partition key value for the permission in the Azure Cosmos DB service. A permission applies to resources when two conditions are met: 1. ResourceUri is prefix of resource's link. For example "/dbs/mydatabase/colls/mycollection" applies to "/dbs/mydatabase/colls/mycollection" and "/dbs/mydatabase/colls/mycollection/docs/mydocument" 2. ResourcePartitionKey is superset of resource's partition key. For example absent/empty partition key is superset of all partition keys.

public Azure.Cosmos.PartitionKey? ResourcePartitionKey { get; set; }
member this.ResourcePartitionKey : Nullable<Azure.Cosmos.PartitionKey> with get, set
Public Property ResourcePartitionKey As Nullable(Of PartitionKey)

Property Value

Applies to