다음을 통해 공유


AccountRegion Class

Definition

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

[System.Text.Json.Serialization.JsonConverter(typeof(Azure.Cosmos.TextJsonAccountRegionConverter))]
public class AccountRegion
[<System.Text.Json.Serialization.JsonConverter(typeof(Azure.Cosmos.TextJsonAccountRegionConverter))>]
type AccountRegion = class
Public Class AccountRegion
Inheritance
AccountRegion
Attributes

Constructors

AccountRegion()

Properties

Endpoint

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.

Applies to