Class CosmosDatabaseResponse


public class CosmosDatabaseResponse extends CosmosResponse<CosmosDatabaseProperties>
The type Cosmos database response.
  • Method Details

    • getProperties

      public CosmosDatabaseProperties getProperties()
      Gets the cosmos database properties
      Overrides:
      getProperties in class CosmosResponse<CosmosDatabaseProperties>
      Returns:
      the cosmos database properties
    • getDatabaseQuota

      public long getDatabaseQuota()
      Gets the Max Quota.
      Returns:
      the getDatabase quota.
    • getDatabaseUsage

      public long getDatabaseUsage()
      Gets the current Usage.
      Returns:
      the current getDatabase usage.