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

ResourcePools interface

表示 ResourcePools 的接口。

方法

get(string, string, string, ResourcePoolsGetOptionalParams)

按名称返回资源池模板

list(string, string, ResourcePoolsListOptionalParams)

返回私有云区域中资源池的列表

方法详细信息

get(string, string, string, ResourcePoolsGetOptionalParams)

按名称返回资源池模板

function get(regionId: string, pcName: string, resourcePoolName: string, options?: ResourcePoolsGetOptionalParams): Promise<ResourcePool>

参数

regionId

string

区域 ID (westus、eastus)

pcName

string

私有云名称

resourcePoolName

string

资源池 id (vsphereId)

options
ResourcePoolsGetOptionalParams

选项参数。

返回

Promise<ResourcePool>

list(string, string, ResourcePoolsListOptionalParams)

返回私有云区域中资源池的列表

function list(regionId: string, pcName: string, options?: ResourcePoolsListOptionalParams): PagedAsyncIterableIterator<ResourcePool, ResourcePool[], PageSettings>

参数

regionId

string

区域 ID (westus、eastus)

pcName

string

私有云名称

options
ResourcePoolsListOptionalParams

选项参数。

返回