CosmosAsyncUser Class
- java.
lang. Object - com.
azure. cosmos. CosmosAsyncUser
- com.
public class CosmosAsyncUser
The type Cosmos async user.
Method Summary
Methods inherited from java.lang.Object
Method Details
createPermission
public Mono
Creates a permission.
After subscription the operation will be performed. The Mono upon successful completion will contain a single resource response with the created permission. In case of failure the Mono will error.
Parameters:
Returns:
delete
public Mono
Delete a cosmos user
Returns:
getId
getPermission
public CosmosAsyncPermission getPermission(String id)
Get cosmos permission without making a call to backend
Parameters:
Returns:
queryPermissions
public CosmosPagedFlux
Query for permissions.
After subscription the operation will be performed. The CosmosPagedFlux<T> will contain one or several feed response pages of the obtained permissions. In case of failure the CosmosPagedFlux<T> will error.
Parameters:
Returns:
queryPermissions
public CosmosPagedFlux
Query for permissions.
After subscription the operation will be performed. The CosmosPagedFlux<T> will contain one or several feed response pages of the obtained permissions. In case of failure the CosmosPagedFlux<T> will error.
Parameters:
Returns:
read
public Mono
Reads a cosmos user
Returns:
readAllPermissions
public CosmosPagedFlux
Reads all permissions.
After subscription the operation will be performed. The CosmosPagedFlux<T> will contain one or several feed response pages of the read permissions. In case of failure the CosmosPagedFlux<T> will error.
Returns:
replace
public Mono
Replace a cosmos user
Parameters:
Returns:
upsertPermission
public Mono
Upserts a permission.
After subscription the operation will be performed. The Mono upon successful completion will contain a single resource response with the upserted permission. In case of failure the Mono will error.
Parameters:
Returns: