你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
PrivateClouds interface
表示 PrivateClouds 的接口。
方法
get(string, string, Private |
按名称返回私有云 |
list(string, Private |
返回特定区域中的私有云列表 |
方法详细信息
get(string, string, PrivateCloudsGetOptionalParams)
按名称返回私有云
function get(pcName: string, regionId: string, options?: PrivateCloudsGetOptionalParams): Promise<PrivateCloud>
参数
- pcName
-
string
私有云名称
- regionId
-
string
区域 ID (westus、eastus)
- options
- PrivateCloudsGetOptionalParams
选项参数。
返回
Promise<PrivateCloud>
list(string, PrivateCloudsListOptionalParams)
返回特定区域中的私有云列表
function list(regionId: string, options?: PrivateCloudsListOptionalParams): PagedAsyncIterableIterator<PrivateCloud, PrivateCloud[], PageSettings>
参数
- regionId
-
string
区域 ID (westus、eastus)
- options
- PrivateCloudsListOptionalParams
选项参数。