Uses of Class
com.azure.cosmos.models.CosmosPermissionProperties
Package
Description
This package provides interfaces for interacting with Azure Cosmos DB.
This package provides rest contracts for interacting with Azure Cosmos DB SQL APIs.
-
Uses of CosmosPermissionProperties in com.azure.cosmos
Modifier and TypeMethodDescriptionCosmosAsyncUser.queryPermissions
(String query) Query for permissions.CosmosAsyncUser.queryPermissions
(String query, CosmosQueryRequestOptions options) Query for permissions.CosmosAsyncUser.readAllPermissions()
Reads all permissions.Modifier and TypeMethodDescriptionCosmosAsyncUser.createPermission
(CosmosPermissionProperties permissionProperties, CosmosPermissionRequestOptions options) Creates a permission.CosmosAsyncPermission.replace
(CosmosPermissionProperties permissionProperties, CosmosPermissionRequestOptions options) Replaces a permission.CosmosAsyncUser.upsertPermission
(CosmosPermissionProperties permissionProperties, CosmosPermissionRequestOptions options) Upserts a permission.Modifier and TypeMethodDescriptionCosmosClientBuilder.permissions
(List<CosmosPermissionProperties> permissions) Sets the permission list, which contains the resource tokens needed to access resources. -
Uses of CosmosPermissionProperties in com.azure.cosmos.models
Modifier and TypeMethodDescriptionCosmosPermissionResponse.getProperties()
Get the permission propertiesCosmosPermissionProperties.setContainerName
(String containerName) Sets the name of the Cosmos container as the parent resource which is associated with this permission object.Sets the name of the permission resource.CosmosPermissionProperties.setPermissionMode
(PermissionMode permissionMode) Sets the permission mode.CosmosPermissionProperties.setResourcePartitionKey
(PartitionKey partitionKey) Sets the resource partition key associated with this permission object.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.