Package | Description |
---|---|
com.azure.cosmos |
This package provides interfaces for interacting with Azure Cosmos DB.
|
com.azure.cosmos.models |
This package provides rest contracts for interacting with Azure Cosmos DB SQL APIs.
|
Modifier and Type | Method and Description |
---|---|
Mono<CosmosPermissionResponse> |
CosmosAsyncUser.createPermission(CosmosPermissionProperties permissionProperties,
CosmosPermissionRequestOptions options)
Creates a permission.
|
Mono<CosmosPermissionResponse> |
CosmosAsyncPermission.replace(CosmosPermissionProperties permissionProperties,
CosmosPermissionRequestOptions options)
Replaces a permission.
|
Mono<CosmosPermissionResponse> |
CosmosAsyncUser.upsertPermission(CosmosPermissionProperties permissionProperties,
CosmosPermissionRequestOptions options)
Upserts a permission.
|
Modifier and Type | Method and Description |
---|---|
CosmosPermissionProperties |
CosmosPermissionResponse.getProperties()
Get the permission properties
|
CosmosPermissionProperties |
CosmosPermissionProperties.setContainerName(String containerName)
Sets the name of the Cosmos container as the parent resource which is associated with this permission object.
|
CosmosPermissionProperties |
CosmosPermissionProperties.setId(String id)
Sets the name of the permission resource.
|
CosmosPermissionProperties |
CosmosPermissionProperties.setPermissionMode(PermissionMode permissionMode)
Sets the permission mode.
|
CosmosPermissionProperties |
CosmosPermissionProperties.setResourcePartitionKey(PartitionKey partitionKey)
Sets the resource partition key associated with this permission object.
|
CosmosPermissionProperties |
CosmosPermissionProperties.setResourcePath(ContainerChildResourceType resourceKind,
String resourceName)
Sets the resource path represented by the name and kind of a resource that has a Cosmos container as the parent
resource which is associated with this permission object.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.