Modifier and Type | Method and Description |
---|---|
CosmosPermissionProperties |
CosmosAsyncPermissionResponse.getProperties()
Get the permission properties
|
CosmosPermissionProperties |
CosmosPermissionProperties.setId(String id)
Sets the id
|
CosmosPermissionProperties |
CosmosPermissionProperties.setPermissionMode(PermissionMode permissionMode)
Sets the permission mode.
|
CosmosPermissionProperties |
CosmosPermissionProperties.setResourceLink(String resourceLink)
Sets the self-link of resource to which the permission applies.
|
CosmosPermissionProperties |
CosmosPermissionProperties.setResourcePartitionKey(PartitionKey partitionKey)
Sets the resource partition key associated with this permission object.
|
Modifier and Type | Method and Description |
---|---|
static List<CosmosPermissionProperties> |
CosmosPermissionProperties.getFromV2Results(List<com.azure.cosmos.implementation.Permission> results) |
CosmosContinuablePagedFlux<CosmosPermissionProperties> |
CosmosAsyncUser.queryPermissions(String query)
Query for permissions.
|
CosmosContinuablePagedFlux<CosmosPermissionProperties> |
CosmosAsyncUser.queryPermissions(String query,
FeedOptions options)
Query for permissions.
|
CosmosContinuablePagedFlux<CosmosPermissionProperties> |
CosmosAsyncUser.readAllPermissions(FeedOptions options)
Reads all permissions.
|
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<CosmosAsyncPermissionResponse> |
CosmosAsyncUser.createPermission(CosmosPermissionProperties permissionSettings,
CosmosPermissionRequestOptions options)
Creates a permission.
|
reactor.core.publisher.Mono<CosmosAsyncPermissionResponse> |
CosmosAsyncPermission.replace(CosmosPermissionProperties permissionSettings,
CosmosPermissionRequestOptions options)
Replaces a permission.
|
reactor.core.publisher.Mono<CosmosAsyncPermissionResponse> |
CosmosAsyncUser.upsertPermission(CosmosPermissionProperties permissionSettings,
CosmosPermissionRequestOptions options)
Upserts a permission.
|
Copyright © 2020 Microsoft Corporation. All rights reserved.