public class CosmosAsyncPermission extends Object
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<CosmosAsyncPermissionResponse> |
delete(CosmosPermissionRequestOptions options)
Deletes a permission.
|
String |
id()
Get the id of the
CosmosAsyncPermission |
reactor.core.publisher.Mono<CosmosAsyncPermissionResponse> |
read(CosmosPermissionRequestOptions options)
Reads a permission.
|
reactor.core.publisher.Mono<CosmosAsyncPermissionResponse> |
replace(CosmosPermissionProperties permissionSettings,
CosmosPermissionRequestOptions options)
Replaces a permission.
|
public String id()
CosmosAsyncPermission
CosmosAsyncPermission
public reactor.core.publisher.Mono<CosmosAsyncPermissionResponse> read(CosmosPermissionRequestOptions 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<CosmosAsyncPermissionResponse> replace(CosmosPermissionProperties permissionSettings, CosmosPermissionRequestOptions 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<CosmosAsyncPermissionResponse> 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 © 2020 Microsoft Corporation. All rights reserved.