public class CosmosPermission extends Object
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<CosmosPermissionResponse> |
delete(CosmosPermissionRequestOptions options)
Deletes a permission.
|
String |
id()
Get the id of the
CosmosPermission |
reactor.core.publisher.Mono<CosmosPermissionResponse> |
read(com.azure.data.cosmos.internal.RequestOptions options)
Reads a permission.
|
reactor.core.publisher.Mono<CosmosPermissionResponse> |
replace(CosmosPermissionProperties permissionSettings,
com.azure.data.cosmos.internal.RequestOptions options)
Replaces a permission.
|
public String id()
CosmosPermission
CosmosPermission
public reactor.core.publisher.Mono<CosmosPermissionResponse> read(com.azure.data.cosmos.internal.RequestOptions options)
After subscription the operation will be performed.
The Mono
upon successful completion will contain a single resource response with the read permission.
In case of failure the Mono
will error.
options
- the request options.Mono
containing the single resource response with the read permission or an error.public reactor.core.publisher.Mono<CosmosPermissionResponse> replace(CosmosPermissionProperties permissionSettings, com.azure.data.cosmos.internal.RequestOptions options)
After subscription the operation will be performed.
The Mono
upon successful completion will contain a single resource response with the replaced permission.
In case of failure the Mono
will error.
permissionSettings
- the permission properties to use.options
- the request options.Mono
containing the single resource response with the replaced permission or an error.public reactor.core.publisher.Mono<CosmosPermissionResponse> delete(CosmosPermissionRequestOptions options)
After subscription the operation will be performed.
The Mono
upon successful completion will contain a single resource response for the deleted permission.
In case of failure the Mono
will error.
options
- the request options.Mono
containing the single resource response for the deleted permission or an error.Copyright © 2019. All rights reserved.