Permission.ResourcePartitionKey Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets optional partition key value for the permission in the Azure Cosmos DB service. A permission applies to resources when two conditions are met: 1. ResourceLink 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.
[Newtonsoft.Json.JsonProperty(PropertyName="resourcePartitionKey")]
public Microsoft.Azure.Documents.PartitionKey ResourcePartitionKey { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="resourcePartitionKey")>]
member this.ResourcePartitionKey : Microsoft.Azure.Documents.PartitionKey with get, set
Public Property ResourcePartitionKey As PartitionKey
Property Value
- Attributes
-
Newtonsoft.Json.JsonPropertyAttribute
Applies to
Azure SDK for .NET