Share via


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