Share via


DatabaseAccountLocation Class

Definition

The DatabaseAccountLocation class represents an Azure Cosmos DB database account in a specific region.

public class DatabaseAccountLocation : Microsoft.Azure.Documents.JsonSerializable
type DatabaseAccountLocation = class
    inherit JsonSerializable
Public Class DatabaseAccountLocation
Inherits JsonSerializable
Inheritance
DatabaseAccountLocation

Constructors

DatabaseAccountLocation()

Creates a new instance of the DatabaseAccountLocation object in the Azure Cosmos DB service.

Properties

DatabaseAccountEndpoint

Gets the Url of the database account location in the Azure Cosmos DB service. For example, "https://contoso-WestUS.documents.azure.com:443/" as the Url of the database account location in the West US region.

Name

Gets the name of the database account location in the Azure Cosmos DB service. For example, "West US" as the name of the database account location in the West US region.

Methods

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)
ToString()

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

(Inherited from JsonSerializable)

Applies to