Locations interface

Interface representing a Locations.

Methods

get(string, LocationsGetOptionalParams)

Get the properties of an existing Cosmos DB location

list(LocationsListOptionalParams)

List Cosmos DB locations and their properties

Method Details

get(string, LocationsGetOptionalParams)

Get the properties of an existing Cosmos DB location

function get(location: string, options?: LocationsGetOptionalParams): Promise<LocationGetResult>

Parameters

location

string

Cosmos DB region, with spaces between words and each word capitalized.

options
LocationsGetOptionalParams

The options parameters.

Returns

list(LocationsListOptionalParams)

List Cosmos DB locations and their properties

function list(options?: LocationsListOptionalParams): PagedAsyncIterableIterator<LocationGetResult, LocationGetResult[], PageSettings>

Parameters

options
LocationsListOptionalParams

The options parameters.

Returns