Locations interface

Interface representing a Locations.

Methods

get(string, LocationsGetOptionalParams)

Details of a specific location

list(LocationsListOptionalParams)

The location of the responsible ASC of the specific subscription (home region). For each subscription there is only one responsible location. The location in the response should be used to read or write other resources in ASC according to their ID.

Method Details

get(string, LocationsGetOptionalParams)

Details of a specific location

function get(ascLocation: string, options?: LocationsGetOptionalParams): Promise<AscLocation>

Parameters

ascLocation

string

The location where ASC stores the data of the subscription. can be retrieved from Get locations

options
LocationsGetOptionalParams

The options parameters.

Returns

Promise<AscLocation>

list(LocationsListOptionalParams)

The location of the responsible ASC of the specific subscription (home region). For each subscription there is only one responsible location. The location in the response should be used to read or write other resources in ASC according to their ID.

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

Parameters

options
LocationsListOptionalParams

The options parameters.

Returns