Modifier and Type | Method and Description |
---|---|
CosmosPermissionProperties |
CosmosPermissionProperties.id(String id)
Sets the id
|
CosmosPermissionProperties |
CosmosPermissionProperties.permissionMode(PermissionMode permissionMode)
Sets the permission mode.
|
CosmosPermissionProperties |
CosmosPermissionResponse.properties()
Get the permission properties
|
CosmosPermissionProperties |
CosmosPermissionProperties.resourceLink(String resourceLink)
Sets the self-link of resource to which the permission applies.
|
CosmosPermissionProperties |
CosmosPermissionProperties.resourcePartitionKey(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.data.cosmos.internal.Permission> results) |
reactor.core.publisher.Flux<FeedResponse<CosmosPermissionProperties>> |
CosmosUser.queryPermissions(String query)
Query for permissions.
|
reactor.core.publisher.Flux<FeedResponse<CosmosPermissionProperties>> |
CosmosUser.queryPermissions(String query,
FeedOptions options)
Query for permissions.
|
reactor.core.publisher.Flux<FeedResponse<CosmosPermissionProperties>> |
CosmosUser.readAllPermissions(FeedOptions options)
Reads all permissions.
|
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<CosmosPermissionResponse> |
CosmosUser.createPermission(CosmosPermissionProperties permissionSettings,
CosmosPermissionRequestOptions options)
Creates a permission.
|
reactor.core.publisher.Mono<CosmosPermissionResponse> |
CosmosPermission.replace(CosmosPermissionProperties permissionSettings,
com.azure.data.cosmos.internal.RequestOptions options)
Replaces a permission.
|
reactor.core.publisher.Mono<CosmosPermissionResponse> |
CosmosUser.upsertPermission(CosmosPermissionProperties permissionSettings,
CosmosPermissionRequestOptions options)
Upserts a permission.
|
Copyright © 2019. All rights reserved.