通过


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

ApiExport interface

表示 ApiExport 的接口。

方法

get(string, string, string, string, string, ApiExportGetOptionalParams)

获取由其标识符指定的 API 的详细信息,其标识符的格式指定为存储 Blob,SAS 密钥有效期为 5 分钟。

方法详细信息

get(string, string, string, string, string, ApiExportGetOptionalParams)

获取由其标识符指定的 API 的详细信息,其标识符的格式指定为存储 Blob,SAS 密钥有效期为 5 分钟。

function get(resourceGroupName: string, serviceName: string, apiId: string, format: string, exportParam: string, options?: ApiExportGetOptionalParams): Promise<ApiExportResult>

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

serviceName

string

API 管理服务的名称。

apiId

string

API 修订标识符。 当前 API 管理服务实例中必须是唯一的。 非当前修订有;rev=n 作为后缀,其中 n 是修订号。

format

string

将 API 详细信息导出到存储 Blob 的格式,Sas 密钥有效期为 5 分钟。 将来可以添加新格式。

exportParam

string

导出 API 详细信息所需的查询参数。

options
ApiExportGetOptionalParams

选项参数。

返回

Promise<ApiExportResult>