Class DatabaseAccount
Represents a DatabaseAccount. A DatabaseAccount is the container for databases in the Azure Cosmos DB service.
public class DatabaseAccount : Resource
- Inheritance
-
DatabaseAccount
- Inherited Members
- Extension Methods
Properties
ConsistencyPolicy
Gets the ConsistencyPolicy settings from the Azure Cosmos DB service.
public ConsistencyPolicy ConsistencyPolicy { get; }
Property Value
- ConsistencyPolicy
The ConsistencyPolicy settings.
DatabasesLink
Gets the self-link for Databases in the databaseAccount from the Azure Cosmos DB service.
public string DatabasesLink { get; }
Property Value
- string
The self-link for Databases in the databaseAccount.
MaxMediaStorageUsageInMB
Gets the storage quota for media storage in the databaseAccount from the Azure Cosmos DB service.
public long MaxMediaStorageUsageInMB { get; }
Property Value
- long
The storage quota in measured MBs.
Remarks
This value is retrieved from the gateway.
MediaLink
Gets the self-link for Media in the databaseAccount from the Azure Cosmos DB service.
public string MediaLink { get; }
Property Value
- string
The self-link for Media in the databaseAccount.
MediaStorageUsageInMB
Gets the current attachment content (media) usage in MBs from the Azure Cosmos DB service.
public long MediaStorageUsageInMB { get; }
Property Value
- long
The attachment content (media) usage in MBs.
Remarks
The value is retrieved from the gateway. The value is returned from cached information updated periodically and is not guaranteed to be real time.
ReadableLocations
Gets the list of locations reprsenting the readable regions of this database account from the Azure Cosmos DB service.
public IEnumerable<DatabaseAccountLocation> ReadableLocations { get; }
Property Value
WritableLocations
Gets the list of locations reprsenting the writable regions of this database account from the Azure Cosmos DB service.
public IEnumerable<DatabaseAccountLocation> WritableLocations { get; }