检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
取值范围: 字符长度1-256位 默认取值: 0 os_type 否 String os类型:Windows和Linux os_arch 是 String 系统架构:x86_64和aarch64;当os_type为Windows时,只能选择x86_64 outside_host 否
通过调用IAM服务获取用户Token接口获取(响应消息头中X-Subject-Token的值) 表4 请求Body参数 参数 是否必选 参数类型 描述 os_type 是 String 操作系统类型,包含如下2种。 Linux :Linux。 Windows :Windows。
响应消息头中X-Subject-Token的值) 响应参数 状态码:200 表4 响应Body参数 参数 参数类型 描述 policy_name String 策略名称 port_list Array of port_list objects 端口与协议 os_type String 操作系统类型
policy_name String 策略名称 policy_id String 策略ID host_num Integer 总数 is_default Boolean 是否默认 port_list Array of integers 端口列表 os_type String 操作系统类型
状态码 状态码 描述 200 请求已成功 400 参数非法 401 鉴权失败 403 权限不足 404 资源未找到 500 系统异常 错误码 请参见错误码。 父主题: 主机管理
描述 host_id String 服务器ID host_name String 服务器名称 public_ip String 弹性公网IP地址 private_ip String 服务器私有IP agent_id String Agent ID os_type String 操作系统类型
backup_info_id 否 String 本次漏洞处理的备份信息id,若不传该参数,则不进行备份 custom_backup_hosts 否 Array of custom_backup_hosts objects 自定义备份主机使用的存储库及备份名称;不在该列表中的主机备份时系统会自动选取剩余空间最大的存储库
对应主机未开启容器版防护或agent离线 "create_container_failed":创建容器失败 "get_container_info_failed":获取容器信息失败 "docker_offline":docker引擎不在线 "get_docker_root_failed":获取容器根文件系统失败
) region_name String 地域 public_ip String 服务器公网ip private_ip String 服务器私网ip group_id String 服务器组id group_name String 服务器组名称 os_type String 操作系统