查询导入全局设置
更新时间:2025-08-15 03:41:38
基本信息
Action
DescribeGlobalSetting
Path
/iaas
Method
GET
请求参数
此接口仅包含公共参数。关于公共参数的更多信息,请参见前文内容。
返回数据
此接口除公共返回参数外,还包含以下返回参数。关于公共返回参数的更多信息,请参见前文内容。
| 参数名 | 类型 | 是否必须 | 描述 |
|---|---|---|---|
setting |
Object |
否 |
全局设置 |
setting.hypervisor |
String |
否 |
虚拟化类型 |
setting.import_type |
Integer |
否 |
导入类型 |
setting.instance_class |
Array |
否 |
主机类型 |
setting.resource |
String |
否 |
资源路径 |
setting.volume_classes |
Array |
否 |
请求示例
null
返回示例
{
"action": "DescribeGlobalSettingResponse",
"ret_code": 0,
"setting": {
"hypervisor": [
"KVM"
],
"import_type": 2,
"instance_classes": [
0,
1,
1202
],
"resource_path": "root@10.10.0.10:/pitrix/apps/migrate_appcenter2_apps/migrate_appcenter2_zookeeper",
"volume_classes": [
0,
1,
2,
3,
5,
7
]
}
}