Bagikan melalui


DatabaseAccount Class

Definition

Represents a DatabaseAccount. A DatabaseAccount is the container for databases in the Azure Cosmos DB service.

public class DatabaseAccount : Microsoft.Azure.Documents.Resource
type DatabaseAccount = class
    inherit Resource
Public Class DatabaseAccount
Inherits Resource
Inheritance
DatabaseAccount

Properties

AltLink

Gets the alt-link associated with the resource from the Azure Cosmos DB service.

(Inherited from Resource)
ConsistencyPolicy

Gets the ConsistencyPolicy settings from the Azure Cosmos DB service.

DatabasesLink

Gets the self-link for Databases in the databaseAccount from the Azure Cosmos DB service.

ETag

Gets the entity tag associated with the resource from the Azure Cosmos DB service.

(Inherited from Resource)
Id

Gets or sets the Id of the resource in the Azure Cosmos DB service.

(Inherited from Resource)
MaxMediaStorageUsageInMB

Gets the storage quota for media storage in the databaseAccount from the Azure Cosmos DB service.

MediaLink

Gets the self-link for Media in the databaseAccount from the Azure Cosmos DB service.

MediaStorageUsageInMB

Gets the current attachment content (media) usage in MBs from the Azure Cosmos DB service.

ReadableLocations

Gets the list of locations reprsenting the readable regions of this database account from the Azure Cosmos DB service.

ResourceId

Gets or sets the Resource Id associated with the resource in the Azure Cosmos DB service.

(Inherited from Resource)
SelfLink

Gets the self-link associated with the resource from the Azure Cosmos DB service.

(Inherited from Resource)
Timestamp

Gets the last modified timestamp associated with the resource from the Azure Cosmos DB service.

(Inherited from Resource)
WritableLocations

Gets the list of locations reprsenting the writable regions of this database account from the Azure Cosmos DB service.

Methods

GetPropertyValue<T>(String)

Gets property value associated with the specified property name from the Azure Cosmos DB service.

(Inherited from Resource)
LoadFrom(JsonReader, JsonSerializerSettings)

Loads the object from the specified JSON reader in the Azure Cosmos DB service.

(Inherited from JsonSerializable)
LoadFrom(JsonReader)

Loads the object from the specified JSON reader in the Azure Cosmos DB service.

(Inherited from JsonSerializable)
SaveTo(Stream, SerializationFormattingPolicy, JsonSerializerSettings)

Saves the object to the specified stream in the Azure Cosmos DB service.

(Inherited from JsonSerializable)
SaveTo(Stream, SerializationFormattingPolicy)

Saves the object to the specified stream in the Azure Cosmos DB service.

(Inherited from JsonSerializable)
SetPropertyValue(String, Object)

Sets property value associated with the specified property name in the Azure Cosmos DB service.

(Inherited from Resource)
ToByteArray()

Serialize to a byte array via SaveTo for the Azure Cosmos DB service.

(Inherited from Resource)
ToString()

Returns the string representation of the object in the Azure Cosmos DB service.

(Inherited from JsonSerializable)

Applies to