public class CosmosUser extends Object
Modifier and Type | Method and Description |
---|---|
CosmosUserResponse |
delete()
Delete cosmos user.
|
String |
getId()
Id string.
|
CosmosUserResponse |
read()
Read cosmos user
|
CosmosUserResponse |
replace(CosmosUserProperties userProperties)
Replace cosmos user.
|
public String getId()
public CosmosUserResponse read() throws CosmosClientException
CosmosClientException
- the cosmos client exceptionpublic CosmosUserResponse replace(CosmosUserProperties userProperties) throws CosmosClientException
userProperties
- the user propertiesCosmosClientException
- the cosmos client exceptionpublic CosmosUserResponse delete() throws CosmosClientException
CosmosClientException
- the cosmos client exceptionCopyright © 2020 Microsoft Corporation. All rights reserved.