Class AccountProperties
Represents a AccountProperties. A AccountProperties is the container for databases in the Azure Cosmos DB service.
public class AccountProperties
- Inheritance
-
AccountProperties
- Inherited Members
- Extension Methods
Properties
Consistency
Gets the Consistency from the Azure Cosmos DB service.
public AccountConsistency Consistency { get; }
Property Value
- AccountConsistency
The ConsistencySetting.
ETag
Gets the entity tag associated with the resource from the Azure Cosmos DB service.
public string ETag { get; }
Property Value
- string
The entity tag associated with the resource.
Remarks
ETags are used for concurrency checking when updating resources.
Id
Gets the Id of the resource in the Azure Cosmos DB service.
public string Id { get; }
Property Value
- string
The Id associated with the resource.
Remarks
Every resource within an Azure Cosmos DB database account needs to have a unique identifier. Unlike Microsoft.Azure.Documents.Resource.ResourceId, which is set internally, this Id is settable by the user and is not immutable.
The following characters are restricted and cannot be used in the Id property: '/', '\\', '?', '#'
ReadableRegions
Gets the list of locations representing the readable regions of this database account from the Azure Cosmos DB service.
public IEnumerable<AccountRegion> ReadableRegions { get; }
Property Value
WritableRegions
Gets the list of locations representing the writable regions of this database account from the Azure Cosmos DB service.
public IEnumerable<AccountRegion> WritableRegions { get; }