{"base_path":"/","components":null,"consumes":"[\"application/json;charset=UTF-8\"]","definitions":{"ScalingGroupInstance":{"description":"伸缩组实例详情","properties":{"create_time":{"description":"实例加入伸缩组的时间,遵循UTC时间。","format":"date-time","type":"string"},"health_status":{"description":"实例健康状态:INITAILIZING:初始化;NORMAL:正常;ERROR:错误。","enum":["NORMAL","ERROR","INITAILIZING"],"type":"string"},"instance_id":{"description":"实例ID。","pattern":"[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}","type":"string"},"instance_name":{"description":"实例名称。","maxLength":64,"minLength":1,"type":"string"},"life_cycle_state":{"description":"实例在伸缩组中的生命周期状态:\n\n- INSERVICE:已启用\n- PENDING:正在加入伸缩组\n- PENDING_WAIT:等待(正在加入伸缩组)\n- REMOVING:正在移出伸缩组\n- REMOVING_WAIT:等待(正在移出伸缩组)\n- STANDBY:已备用\n- ENTERING_STANDBY:进入备用状态","enum":["INSERVICE","PENDING","REMOVING","PENDING_WAIT","REMOVING_WAIT"],"type":"string"},"protect_from_scaling_down":{"description":"实例的实例保护属性。","type":"boolean"},"scaling_configuration_id":{"description":"伸缩配置ID。","pattern":"[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}","type":"string"},"scaling_configuration_name":{"description":"伸缩配置名称。如果返回为空,表示伸缩配置已经被删除。如果返回MANNUAL_ADD,表示实例为手动加入。","maxLength":64,"minLength":1,"type":"string"},"scaling_group_id":{"description":"实例所在伸缩组ID。","pattern":"[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}","type":"string"},"scaling_group_name":{"description":"实例所在伸缩组名称。","type":"string"}},"type":"object"},"ScalingInstances":{"description":"请求正常","properties":{"limit":{"description":"伸缩组实例详情。","example":20,"format":"int32","type":"integer"},"scaling_group_instances":{"description":"伸缩组实例详情。","items":{"$ref":"#/definitions/ScalingGroupInstance"},"type":"array"},"start_number":{"description":"查询的起始行号。","example":0,"format":"int32","type":"integer"},"total_number":{"description":"总记录数。","example":2,"format":"int32","type":"integer"}}}},"description":null,"group_id":"c14e7adea4354f78bb333ea8451df077","host":"as.cn-north-4.myhuaweicloud.com","id":"fdbad6b472be43288fbf3acf81d6072f","info_version":"v1","method":"get","name":"ListScalingInstances","parameters":{},"paths":{"/autoscaling-api/v1/{project_id}/scaling_group_instance/{scaling_group_id}/list":{"get":{"description":"根据输入条件过滤查询弹性伸缩组中实例信息。查询结果分页显示。可根据实例在伸缩组中的生命周期状态,实例健康状态,实例保护状态,起始行号,记录条数进行条件过滤查询。若不加过滤条件默认查询组内最多20条实例信息","operationId":"ListScalingInstances","parameters":[{"description":"项目ID。","in":"path","name":"project_id","required":true,"type":"string","x-example":"0513757xxxxxd5eb2f08xxxb93ef4f0f","x-order":1},{"description":"用户Token。通过调用IAM服务获取用户Token接口获取(响应消息头中X-Subject-Token的值)。","in":"header","name":"X-Auth-Token","required":true,"type":"string","x-example":"MIIDkgYJKoZIhvcNAQcCoIIDgzCCXXXXXX...","x-order":2},{"description":"伸缩组ID。","in":"path","name":"scaling_group_id","required":true,"type":"string","x-example":"66e0f775-c4ac-xxxx-xxxx-f93ba217aa5f","x-order":3},{"description":"实例在伸缩组中的生命周期状态:INSERVICE: 正在使用。PENDING:正在加入伸缩组。REMOVING:正在移出伸缩组。PENDING_WAIT:正在加入伸缩组:等待。REMOVING_WAIT:正在移出伸缩组:等待。","enum":["INSERVICE","PENDING","REMOVING","PENDING_WAIT","REMOVING_WAIT","STANDBY","ENTERING_STANDBY"],"in":"query","name":"life_cycle_state","required":false,"type":"string","x-example":"REMOVING_WAIT","x-order":4},{"description":"实例健康状态:INITIALIZING:初始化。NORMAL:正常。ERROR:异常","enum":["INITIALIZING","NORMAL","ERROR"],"in":"query","name":"health_status","required":false,"type":"string","x-example":"INITIALIZING","x-order":5},{"description":"实例保护状态:true:已设置实例保护。false:未设置实例保护。","enum":["true","false"],"in":"query","name":"protect_from_scaling_down","required":false,"type":"string","x-example":"true","x-order":6},{"default":0,"description":"查询的起始行号,默认为0。","format":"int32","in":"query","name":"start_number","required":false,"type":"integer","x-order":7},{"default":20,"description":"查询的记录条数,默认为20。","format":"int32","in":"query","name":"limit","required":false,"type":"integer","x-example":10,"x-order":8}],"responses":{"200":{"description":"请求正常","schema":{"$ref":"#/definitions/ScalingInstances"}},"400":{"description":"Bad Request 服务器未能处理请求。"},"401":{"description":"Unauthorized 被请求的页面需要用户名和密码。"},"403":{"description":"Forbidden 对被请求的页面访问禁止。"},"404":{"description":"Not Found 服务器无法找到被请求的页面。"},"405":{"description":"Method Not Allowed 请求中指定的方法不被允许。"},"406":{"description":"Not Acceptable 服务器生成的响应无法被客户端所接受。"},"407":{"description":"Proxy Authentication 用户必须首先使用代理服务器进行验证,这样请求才会被处理"},"408":{"description":"Request Timeout 请求超出了服务器的等待时间。"},"409":{"description":"Conflict 由于冲突,请求无法被完成。"},"500":{"description":"Internal Server Error 请求未完成。服务异常。"},"501":{"description":"Not Implemented 请求未完成。服务器不支持所请求的功能。"},"502":{"description":"Bad Gateway 请求未完成。服务器从上游服务器收到一个无效的响应。"},"503":{"description":"Service Unavailable 请求未完成。系统暂时异常。"},"504":{"description":"Gateway Timeout 网关超时。"}},"summary":"查询弹性伸缩组中的实例列表","tags":["弹性伸缩实例管理"],"x-ctc":"Y","x-first_open_time":"2016-06-30","x-flow_control_group":"as","x-hc":"Y","x-hk":"Y","x-hybridcloud":"true","x-iftype":"公开接口","x-is-registered":"Y","x-is_calling":"Y","x-multi_tenant_flow_time":1,"x-multi_tenant_flow_value":780,"x-name":"查询弹性伸缩组中的实例列表","x-obc":"Y","x-order":1,"x-otc":"Y","x-request-examples-description-1":"本示例展示了查询ID为e5d27f5c-dd76-4a61-b4bc-a67c5686719a的伸缩组下已启用且处于健康状态的实例。","x-request-examples-url-1":"GET https://{Endpoint}/autoscaling-api/v1/{project_id}/scaling_group_instance/e5d27f5c-dd76-4a61-b4bc-a67c5686719a/list?life_cycle_state=INSERVICE&health_status=NORMAL","x-scope":"Commercial","x-source":"SelfDeveloped","x-support-sdk":"Y","x-tenant_flow_time":1,"x-tenant_flow_value":78,"x-timeout":"10s","x-tlf":"Y","x-version":"v1"}}},"product_short":"AS","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"查询弹性伸缩组中的实例列表","tags":"弹性伸缩实例管理","uri":null,"version":"2.0"}