你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Locations interface

表示位置的接口。

方法

get(string, LocationsGetOptionalParams)

特定位置的详细信息

list(LocationsListOptionalParams)

特定订阅(主区域)的负责任的 ASC 的位置。 对于每个订阅,只有一个负责任的位置。 响应中的位置应用于根据 ASC 中的 ID 读取或写入其他资源。

方法详细信息

get(string, LocationsGetOptionalParams)

特定位置的详细信息

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

参数

ascLocation

string

ASC 存储订阅数据的位置。 可以从 Get 位置检索

options
LocationsGetOptionalParams

选项参数。

返回

Promise<AscLocation>

list(LocationsListOptionalParams)

特定订阅(主区域)的负责任的 ASC 的位置。 对于每个订阅,只有一个负责任的位置。 响应中的位置应用于根据 ASC 中的 ID 读取或写入其他资源。

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

参数

options
LocationsListOptionalParams

选项参数。

返回