public class CosmosSyncContainer extends Object
Provides synchronous methods for reading, deleting, and replacing existing Containers Provides methods for interacting with child resources (Items, Scripts, Conflicts)
public String id()
Id string.
Returns: the stringpublic Integer readProvisionedThroughput() throws CosmosClientException
Read provisioned throughput integer.
Returns: the integer. null response indicates database doesn't have any provisioned RUs Throws:CosmosClientException
- the cosmos client exceptionpublic Integer replaceProvisionedThroughput(int requestUnitsPerSecond) throws CosmosClientException
Replace provisioned throughput integer.
Parameters:requestUnitsPerSecond
- the request units per second Returns: the integer Throws: CosmosClientException
- the cosmos client exceptionpublic CosmosSyncScripts getScripts()
Gets the cosmos sync scripts.
Returns: the cosmos sync scriptsCopyright © 2019 Microsoft Corporation. All rights reserved.
ncG1vNJzZmiZqqq%2Fpr%2FDpJuom6Njr627wWeaqKqVY8SqusOorqxmnprBcHDWnploopGrrnCt2a6pnmWTpMCuu9JoamdsXmV8pLvMaJizraKafKWt05pmnKejory0e9KypZxnc6TArrvSjLCnm3Oku7WtyKecq2aYqbqt