全部文档
当前文档

暂无内容

如果没有找到您期望的内容,请尝试其他搜索词

文档中心

查询伸缩组列表

最近更新时间:2021-03-10 13:24:34

DescribeScalingGroup(查询伸缩组列表)

Request Parameters(请求参数)

ScalingGroupId.N

  • 待查询的各伸缩组组成的数组,数组下标从0开始;
  • 类型:Array
  • 是否可缺省:是

ScalingGroupName

  • 待查询的伸缩组名称
  • 类型:String
  • 是否可缺省:是

ScalingConfigurationId

  • 待查询的伸缩组所使用的启动配置ID
  • 类型:String
  • 是否可缺省:是

VpcId

  • 私有网络ID;不传则查询全部网络伸缩组,传0表示基础网络, 如需指定vpc网络
  • 类型:String
  • 是否可缺省:是

Marker

  • 分页标识,单次调用未返回全部伸缩组时,标记下次调用的返回值的起点,默认值是0
  • 类型: Integer
  • 是否可缺省: 是

MaxResults

  • 一次显示的最多条目数
  • 类型:int
  • 有效值:默认为10,最小为5
  • 是否可缺省:是
Response Elements(返回值)

RequestId

  • 请求ID
  • 类型: String

ScalingGroupCount

  • 伸缩组实例数量
  • 类型:Int

ScalingGroupSet

Examples(例子)

Sample Request(请求)
http://kec.cn-beijing-6.api.ksyun.com/?Action=DescribeScalingGroup&Version=2016-03-04&ScalingGroupId.0=424250140171509760
Sample Response(返回)
{
    "RequestId": "b79c87a9-853b-4bdc-9d8b-20df615cb08c",
    "ScalingGroupCount": 1,
    "ScalingGroupSet": [
        {
            "ScalingGroupId": "485942687369101312",
            "ScalingGroupName": "中*大本营2",
            "ScalingConfigurationId": "467401507127762944",
            "ScalingConfigurationName": "test_copy",
            "MinSize": 0,
            "MaxSize": 1,
            "InstanceNum": 0,
            "CreateTime": "2020-07-29 20:03:51",
            "RemovePolicy": "RemoveOldestInstance",
            "VpcId": "c909f149-83d5-4bdc-a54a-a9beecda43f3",
            "SlbId": "8933e68d-92c8-4c07-a08a-ce995d1084f7",
            "SecurityGroupId": "c87c4edb-d19c-4329-b7f6-f717212d9847",
            "ListenerId": "db9a7fe5-c26a-4b49-8fed-50e46c45043c",
            "Status": "Active",
            "ProductLine": "KEC",
            "DesiredCapacity": 0,
            "ServerPorts": "1,2,3,0",
            "SubnetIdSet": [
                "8b4884e8-1199-42e5-a233-35c833408a8b",
                "d743309a-e87c-4153-915a-9a36e20fa527",
                "204161b1-aa53-4885-9b59-888ca50e499c"
            ],
            "SubnetStrategy": "balanced-distribution",
            "SlbConfigSet": [
                {
                    "SlbId": "8933e68d-92c8-4c07-a08a-ce995d1084f7",
                    "ListenerId": "db9a7fe5-c26a-4b49-8fed-50e46c45043c",
                    "ServerPortSet": [
                        2,
                        3,
                        4,
                        5,
                        6
                    ],
                    "Weight": 2
                },
                {
                    "SlbId": "8933e68d-92c8-4c07-a08a-ce995d1084f7",
                    "ListenerId": "ea3ba72b-bc72-4f84-902d-ca869549bf17",
                    "ServerPortSet": [
                        21,
                        22
                    ],
                    "Weight": 32
                }
            ]
        }
    ]
}

文档导读
纯净模式常规模式

纯净模式

点击可全屏预览文档内容
文档反馈