次の方法で共有


PermissionProperties.ResourcePartitionKey プロパティ

定義

Azure Cosmos DB サービスのアクセス許可のオプションのパーティション キー値を取得します。 アクセス許可は、2 つの条件が満たされた場合にリソースに適用されます。1。 ResourceUri はリソースのリンクのプレフィックスです。 たとえば、"/dbs/mydatabase/colls/mycollection" は "/dbs/mydatabase/colls/mycollection" と "/dbs/mydatabase/colls/mycollection/docs/mydocument" 2 に適用されます。 ResourcePartitionKey は、リソースのパーティション キーのスーパーセットです。 たとえば、存在しない/空のパーティション キーは、すべてのパーティション キーのスーパーセットです。

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

プロパティ値

適用対象