你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CosmosUser Class

  • java.lang.Object
    • com.azure.cosmos.CosmosUser

public class CosmosUser

The type Cosmos sync user.

Method Summary

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.

Methods inherited from java.lang.Object

Method Details

delete

public CosmosUserResponse delete()

Delete cosmos user.

Returns:

the cosmos user response

getId

public String getId()

Id string.

Returns:

the string

read

public CosmosUserResponse read()

Read cosmos user

Returns:

the cosmos user response

replace

public CosmosUserResponse replace(CosmosUserProperties userProperties)

Replace cosmos user.

Parameters:

userProperties - the user properties

Returns:

the cosmos user response

Applies to