Package com.azure.data.cosmos
Class CosmosDatabaseProperties
- java.lang.Object
-
- com.azure.data.cosmos.JsonSerializable
-
- com.azure.data.cosmos.Resource
-
- com.azure.data.cosmos.CosmosDatabaseProperties
-
public class CosmosDatabaseProperties extends Resource
Represents a CosmosDatabase in the Azure Cosmos database service. A cosmos database manages users, permissions and a set of containersEach Azure Cosmos DB Service is able to support multiple independent named databases, with the database being the logical container for data. Each Database consists of one or more cosmos containers, each of which in turn contain one or more cosmos items. Since databases are an an administrative resource and the Service Key will be required in order to access and successfully complete any action using the User APIs.
-
-
Constructor Summary
Constructors Constructor Description CosmosDatabaseProperties(String id)
Constructor
-
Method Summary
-
Methods inherited from class com.azure.data.cosmos.Resource
etag, id, id, resourceId, resourceId, selfLink, timestamp
-
Methods inherited from class com.azure.data.cosmos.JsonSerializable
get, getBoolean, getCollection, getDouble, getInt, getList, getLogger, getLong, getMap, getObject, getObjectByPath, getString, has, toJson, toJson, toObject, toString
-
-
-
-
Constructor Detail
-
CosmosDatabaseProperties
public CosmosDatabaseProperties(String id)
Constructor- Parameters:
id
- id of the database
-
-