Class: TencentCloud::As::V20180419::DescribeAutoScalingGroupsRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180419/models.rb

Overview

DescribeAutoScalingGroups请求参数结构体

Instance Attribute Summary collapse

  • #Filters ⇒ Object
  • auto-scaling-group-id - String - 是否必填:否 -(过滤条件)按照伸缩组ID过滤。 可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
  • auto-scaling-group-name - String - 是否必填:否 -(过滤条件)按照伸缩组名称过滤。
  • vague-auto-scaling-group-name - String - 是否必填:否 -(过滤条件)按照伸缩组名称模糊搜索。
  • launch-configuration-id - String - 是否必填:否 -(过滤条件)按照启动配置ID过滤。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/config) 或调用接口 [DescribeLaunchConfigurations](https://cloud.tencent.com/document/api/377/20445) ,取返回信息中的 LaunchConfigurationId 获取启动配置ID。
  • tag-key - String - 是否必填:否 -(过滤条件)按照标签键进行过滤。可通过调用接口 [GetTags](https://cloud.tencent.com/document/product/651/72275) ,取返回信息中的 TagKey 获取标签键。
  • tag-value - String - 是否必填:否 -(过滤条件)按照标签值进行过滤。可通过调用接口 [GetTags](https://cloud.tencent.com/document/product/651/72275) ,取返回信息中的 TagValue 获取标签值。
  • tag:tag-key - String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换,请参考示例2。可通过调用接口 [GetTags](https://cloud.tencent.com/document/product/651/72275) ,取返回信息中的 TagKey 获取标签键。
  • 每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。参数不支持同时指定`AutoScalingGroupIds`和`Filters`。.
  • #Limit ⇒ Object
  • auto-scaling-group-id - String - 是否必填:否 -(过滤条件)按照伸缩组ID过滤。 可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
  • auto-scaling-group-name - String - 是否必填:否 -(过滤条件)按照伸缩组名称过滤。
  • vague-auto-scaling-group-name - String - 是否必填:否 -(过滤条件)按照伸缩组名称模糊搜索。
  • launch-configuration-id - String - 是否必填:否 -(过滤条件)按照启动配置ID过滤。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/config) 或调用接口 [DescribeLaunchConfigurations](https://cloud.tencent.com/document/api/377/20445) ,取返回信息中的 LaunchConfigurationId 获取启动配置ID。
  • tag-key - String - 是否必填:否 -(过滤条件)按照标签键进行过滤。可通过调用接口 [GetTags](https://cloud.tencent.com/document/product/651/72275) ,取返回信息中的 TagKey 获取标签键。
  • tag-value - String - 是否必填:否 -(过滤条件)按照标签值进行过滤。可通过调用接口 [GetTags](https://cloud.tencent.com/document/product/651/72275) ,取返回信息中的 TagValue 获取标签值。
  • tag:tag-key - String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换,请参考示例2。可通过调用接口 [GetTags](https://cloud.tencent.com/document/product/651/72275) ,取返回信息中的 TagKey 获取标签键。
  • 每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。参数不支持同时指定`AutoScalingGroupIds`和`Filters`。.
  • #Offset ⇒ Object
  • auto-scaling-group-id - String - 是否必填:否 -(过滤条件)按照伸缩组ID过滤。 可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
  • auto-scaling-group-name - String - 是否必填:否 -(过滤条件)按照伸缩组名称过滤。
  • vague-auto-scaling-group-name - String - 是否必填:否 -(过滤条件)按照伸缩组名称模糊搜索。
  • launch-configuration-id - String - 是否必填:否 -(过滤条件)按照启动配置ID过滤。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/config) 或调用接口 [DescribeLaunchConfigurations](https://cloud.tencent.com/document/api/377/20445) ,取返回信息中的 LaunchConfigurationId 获取启动配置ID。
  • tag-key - String - 是否必填:否 -(过滤条件)按照标签键进行过滤。可通过调用接口 [GetTags](https://cloud.tencent.com/document/product/651/72275) ,取返回信息中的 TagKey 获取标签键。
  • tag-value - String - 是否必填:否 -(过滤条件)按照标签值进行过滤。可通过调用接口 [GetTags](https://cloud.tencent.com/document/product/651/72275) ,取返回信息中的 TagValue 获取标签值。
  • tag:tag-key - String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换,请参考示例2。可通过调用接口 [GetTags](https://cloud.tencent.com/document/product/651/72275) ,取返回信息中的 TagKey 获取标签键。
  • 每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。参数不支持同时指定`AutoScalingGroupIds`和`Filters`。.

    Instance Method Summary collapse

    Constructor Details

    #initialize(autoscalinggroupids = nil, filters = nil, limit = nil, offset = nil) ⇒ DescribeAutoScalingGroupsRequest

    Returns a new instance of DescribeAutoScalingGroupsRequest.

    
    
    2004
    2005
    2006
    2007
    2008
    2009
    # File 'lib/v20180419/models.rb', line 2004
    
    def initialize(autoscalinggroupids=nil, filters=nil, limit=nil, offset=nil)
      @AutoScalingGroupIds = autoscalinggroupids
      @Filters = filters
      @Limit = limit
      @Offset = offset
    end

    Instance Attribute Details

    #AutoScalingGroupIdsObject

  • auto-scaling-group-id - String - 是否必填:否 -(过滤条件)按照伸缩组ID过滤。 可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
  • auto-scaling-group-name - String - 是否必填:否 -(过滤条件)按照伸缩组名称过滤。
  • vague-auto-scaling-group-name - String - 是否必填:否 -(过滤条件)按照伸缩组名称模糊搜索。
  • launch-configuration-id - String - 是否必填:否 -(过滤条件)按照启动配置ID过滤。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/config) 或调用接口 [DescribeLaunchConfigurations](https://cloud.tencent.com/document/api/377/20445) ,取返回信息中的 LaunchConfigurationId 获取启动配置ID。
  • tag-key - String - 是否必填:否 -(过滤条件)按照标签键进行过滤。可通过调用接口 [GetTags](https://cloud.tencent.com/document/product/651/72275) ,取返回信息中的 TagKey 获取标签键。
  • tag-value - String - 是否必填:否 -(过滤条件)按照标签值进行过滤。可通过调用接口 [GetTags](https://cloud.tencent.com/document/product/651/72275) ,取返回信息中的 TagValue 获取标签值。
  • tag:tag-key - String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换,请参考示例2。可通过调用接口 [GetTags](https://cloud.tencent.com/document/product/651/72275) ,取返回信息中的 TagKey 获取标签键。
  • 每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。参数不支持同时指定`AutoScalingGroupIds`和`Filters`。

    Parameters:

    • AutoScalingGroupIds:

      按照一个或者多个伸缩组ID查询。伸缩组ID形如:asg-nkdwoui0。每次请求的上限为100。参数不支持同时指定AutoScalingGroupIdsFilters

    • Filters:

      过滤条件。

    • Limit:

      返回数量,默认为20,最大值为100。关于Limit的更进一步介绍请参考 API 简介中的相关小节。

    • Offset:

      偏移量,默认为0。关于Offset的更进一步介绍请参考 API 简介中的相关小节。

    
    
    2002
    2003
    2004
    # File 'lib/v20180419/models.rb', line 2002
    
    def AutoScalingGroupIds
      @AutoScalingGroupIds
    end

    #FiltersObject

  • auto-scaling-group-id - String - 是否必填:否 -(过滤条件)按照伸缩组ID过滤。 可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
  • auto-scaling-group-name - String - 是否必填:否 -(过滤条件)按照伸缩组名称过滤。
  • vague-auto-scaling-group-name - String - 是否必填:否 -(过滤条件)按照伸缩组名称模糊搜索。
  • launch-configuration-id - String - 是否必填:否 -(过滤条件)按照启动配置ID过滤。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/config) 或调用接口 [DescribeLaunchConfigurations](https://cloud.tencent.com/document/api/377/20445) ,取返回信息中的 LaunchConfigurationId 获取启动配置ID。
  • tag-key - String - 是否必填:否 -(过滤条件)按照标签键进行过滤。可通过调用接口 [GetTags](https://cloud.tencent.com/document/product/651/72275) ,取返回信息中的 TagKey 获取标签键。
  • tag-value - String - 是否必填:否 -(过滤条件)按照标签值进行过滤。可通过调用接口 [GetTags](https://cloud.tencent.com/document/product/651/72275) ,取返回信息中的 TagValue 获取标签值。
  • tag:tag-key - String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换,请参考示例2。可通过调用接口 [GetTags](https://cloud.tencent.com/document/product/651/72275) ,取返回信息中的 TagKey 获取标签键。
  • 每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。参数不支持同时指定`AutoScalingGroupIds`和`Filters`。

    Parameters:

    • AutoScalingGroupIds:

      按照一个或者多个伸缩组ID查询。伸缩组ID形如:asg-nkdwoui0。每次请求的上限为100。参数不支持同时指定AutoScalingGroupIdsFilters

    • Filters:

      过滤条件。

    • Limit:

      返回数量,默认为20,最大值为100。关于Limit的更进一步介绍请参考 API 简介中的相关小节。

    • Offset:

      偏移量,默认为0。关于Offset的更进一步介绍请参考 API 简介中的相关小节。

    
    
    2002
    2003
    2004
    # File 'lib/v20180419/models.rb', line 2002
    
    def Filters
      @Filters
    end

    #LimitObject

  • auto-scaling-group-id - String - 是否必填:否 -(过滤条件)按照伸缩组ID过滤。 可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
  • auto-scaling-group-name - String - 是否必填:否 -(过滤条件)按照伸缩组名称过滤。
  • vague-auto-scaling-group-name - String - 是否必填:否 -(过滤条件)按照伸缩组名称模糊搜索。
  • launch-configuration-id - String - 是否必填:否 -(过滤条件)按照启动配置ID过滤。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/config) 或调用接口 [DescribeLaunchConfigurations](https://cloud.tencent.com/document/api/377/20445) ,取返回信息中的 LaunchConfigurationId 获取启动配置ID。
  • tag-key - String - 是否必填:否 -(过滤条件)按照标签键进行过滤。可通过调用接口 [GetTags](https://cloud.tencent.com/document/product/651/72275) ,取返回信息中的 TagKey 获取标签键。
  • tag-value - String - 是否必填:否 -(过滤条件)按照标签值进行过滤。可通过调用接口 [GetTags](https://cloud.tencent.com/document/product/651/72275) ,取返回信息中的 TagValue 获取标签值。
  • tag:tag-key - String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换,请参考示例2。可通过调用接口 [GetTags](https://cloud.tencent.com/document/product/651/72275) ,取返回信息中的 TagKey 获取标签键。
  • 每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。参数不支持同时指定`AutoScalingGroupIds`和`Filters`。

    Parameters:

    • AutoScalingGroupIds:

      按照一个或者多个伸缩组ID查询。伸缩组ID形如:asg-nkdwoui0。每次请求的上限为100。参数不支持同时指定AutoScalingGroupIdsFilters

    • Filters:

      过滤条件。

    • Limit:

      返回数量,默认为20,最大值为100。关于Limit的更进一步介绍请参考 API 简介中的相关小节。

    • Offset:

      偏移量,默认为0。关于Offset的更进一步介绍请参考 API 简介中的相关小节。

    
    
    2002
    2003
    2004
    # File 'lib/v20180419/models.rb', line 2002
    
    def Limit
      @Limit
    end

    #OffsetObject

  • auto-scaling-group-id - String - 是否必填:否 -(过滤条件)按照伸缩组ID过滤。 可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
  • auto-scaling-group-name - String - 是否必填:否 -(过滤条件)按照伸缩组名称过滤。
  • vague-auto-scaling-group-name - String - 是否必填:否 -(过滤条件)按照伸缩组名称模糊搜索。
  • launch-configuration-id - String - 是否必填:否 -(过滤条件)按照启动配置ID过滤。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/config) 或调用接口 [DescribeLaunchConfigurations](https://cloud.tencent.com/document/api/377/20445) ,取返回信息中的 LaunchConfigurationId 获取启动配置ID。
  • tag-key - String - 是否必填:否 -(过滤条件)按照标签键进行过滤。可通过调用接口 [GetTags](https://cloud.tencent.com/document/product/651/72275) ,取返回信息中的 TagKey 获取标签键。
  • tag-value - String - 是否必填:否 -(过滤条件)按照标签值进行过滤。可通过调用接口 [GetTags](https://cloud.tencent.com/document/product/651/72275) ,取返回信息中的 TagValue 获取标签值。
  • tag:tag-key - String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换,请参考示例2。可通过调用接口 [GetTags](https://cloud.tencent.com/document/product/651/72275) ,取返回信息中的 TagKey 获取标签键。
  • 每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。参数不支持同时指定`AutoScalingGroupIds`和`Filters`。

    Parameters:

    • AutoScalingGroupIds:

      按照一个或者多个伸缩组ID查询。伸缩组ID形如:asg-nkdwoui0。每次请求的上限为100。参数不支持同时指定AutoScalingGroupIdsFilters

    • Filters:

      过滤条件。

    • Limit:

      返回数量,默认为20,最大值为100。关于Limit的更进一步介绍请参考 API 简介中的相关小节。

    • Offset:

      偏移量,默认为0。关于Offset的更进一步介绍请参考 API 简介中的相关小节。

    
    
    2002
    2003
    2004
    # File 'lib/v20180419/models.rb', line 2002
    
    def Offset
      @Offset
    end

    Instance Method Details

    #deserialize(params) ⇒ Object

    
    
    2011
    2012
    2013
    2014
    2015
    2016
    2017
    2018
    2019
    2020
    2021
    2022
    2023
    # File 'lib/v20180419/models.rb', line 2011
    
    def deserialize(params)
      @AutoScalingGroupIds = params['AutoScalingGroupIds']
      unless params['Filters'].nil?
        @Filters = []
        params['Filters'].each do |i|
          filter_tmp = Filter.new
          filter_tmp.deserialize(i)
          @Filters << filter_tmp
        end
      end
      @Limit = params['Limit']
      @Offset = params['Offset']
    end