Class: TencentCloud::Dbdc::V20201029::DescribeInstancesRequest

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

Overview

DescribeInstances请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instancetypes = nil, productids = nil, instanceids = nil, fenceflag = nil, instancename = nil, pagesize = nil, pagenumber = nil, orderby = nil, orderbytype = nil, instancestatus = nil) ⇒ DescribeInstancesRequest

Returns a new instance of DescribeInstancesRequest.



640
641
642
643
644
645
646
647
648
649
650
651
# File 'lib/v20201029/models.rb', line 640

def initialize(instancetypes=nil, productids=nil, instanceids=nil, fenceflag=nil, instancename=nil, pagesize=nil, pagenumber=nil, orderby=nil, orderbytype=nil, instancestatus=nil)
  @InstanceTypes = instancetypes
  @ProductIds = productids
  @InstanceIds = instanceids
  @FenceFlag = fenceflag
  @InstanceName = instancename
  @PageSize = pagesize
  @PageNumber = pagenumber
  @OrderBy = orderby
  @OrderByType = orderbytype
  @InstanceStatus = instancestatus
end

Instance Attribute Details

#FenceFlagObject

Parameters:

  • InstanceTypes:

    集群类型: 0 一主一备, 1 一主两备...N-1 一主N备

  • ProductIds:

    产品ID: 0 MYSQL,1 TDSQL

  • InstanceIds:

    集群uuid: 如 dbdc-q810131s

  • FenceFlag:

    是否按金融围笼标志搜索

  • InstanceName:

    按实例名字模糊匹配

  • PageSize:

    每页数目, 整型

  • PageNumber:

    页码, 整型

  • OrderBy:

    排序字段,枚举:createtime,groupname

  • OrderByType:

    排序方式: asc升序, desc降序

  • InstanceStatus:

    集群状态: -2 已删除, -1 已隔离, 0 创建中, 1 运行中, 2 扩容中, 3 删除中



638
639
640
# File 'lib/v20201029/models.rb', line 638

def FenceFlag
  @FenceFlag
end

#InstanceIdsObject

Parameters:

  • InstanceTypes:

    集群类型: 0 一主一备, 1 一主两备...N-1 一主N备

  • ProductIds:

    产品ID: 0 MYSQL,1 TDSQL

  • InstanceIds:

    集群uuid: 如 dbdc-q810131s

  • FenceFlag:

    是否按金融围笼标志搜索

  • InstanceName:

    按实例名字模糊匹配

  • PageSize:

    每页数目, 整型

  • PageNumber:

    页码, 整型

  • OrderBy:

    排序字段,枚举:createtime,groupname

  • OrderByType:

    排序方式: asc升序, desc降序

  • InstanceStatus:

    集群状态: -2 已删除, -1 已隔离, 0 创建中, 1 运行中, 2 扩容中, 3 删除中



638
639
640
# File 'lib/v20201029/models.rb', line 638

def InstanceIds
  @InstanceIds
end

#InstanceNameObject

Parameters:

  • InstanceTypes:

    集群类型: 0 一主一备, 1 一主两备...N-1 一主N备

  • ProductIds:

    产品ID: 0 MYSQL,1 TDSQL

  • InstanceIds:

    集群uuid: 如 dbdc-q810131s

  • FenceFlag:

    是否按金融围笼标志搜索

  • InstanceName:

    按实例名字模糊匹配

  • PageSize:

    每页数目, 整型

  • PageNumber:

    页码, 整型

  • OrderBy:

    排序字段,枚举:createtime,groupname

  • OrderByType:

    排序方式: asc升序, desc降序

  • InstanceStatus:

    集群状态: -2 已删除, -1 已隔离, 0 创建中, 1 运行中, 2 扩容中, 3 删除中



638
639
640
# File 'lib/v20201029/models.rb', line 638

def InstanceName
  @InstanceName
end

#InstanceStatusObject

Parameters:

  • InstanceTypes:

    集群类型: 0 一主一备, 1 一主两备...N-1 一主N备

  • ProductIds:

    产品ID: 0 MYSQL,1 TDSQL

  • InstanceIds:

    集群uuid: 如 dbdc-q810131s

  • FenceFlag:

    是否按金融围笼标志搜索

  • InstanceName:

    按实例名字模糊匹配

  • PageSize:

    每页数目, 整型

  • PageNumber:

    页码, 整型

  • OrderBy:

    排序字段,枚举:createtime,groupname

  • OrderByType:

    排序方式: asc升序, desc降序

  • InstanceStatus:

    集群状态: -2 已删除, -1 已隔离, 0 创建中, 1 运行中, 2 扩容中, 3 删除中



638
639
640
# File 'lib/v20201029/models.rb', line 638

def InstanceStatus
  @InstanceStatus
end

#InstanceTypesObject

Parameters:

  • InstanceTypes:

    集群类型: 0 一主一备, 1 一主两备...N-1 一主N备

  • ProductIds:

    产品ID: 0 MYSQL,1 TDSQL

  • InstanceIds:

    集群uuid: 如 dbdc-q810131s

  • FenceFlag:

    是否按金融围笼标志搜索

  • InstanceName:

    按实例名字模糊匹配

  • PageSize:

    每页数目, 整型

  • PageNumber:

    页码, 整型

  • OrderBy:

    排序字段,枚举:createtime,groupname

  • OrderByType:

    排序方式: asc升序, desc降序

  • InstanceStatus:

    集群状态: -2 已删除, -1 已隔离, 0 创建中, 1 运行中, 2 扩容中, 3 删除中



638
639
640
# File 'lib/v20201029/models.rb', line 638

def InstanceTypes
  @InstanceTypes
end

#OrderByObject

Parameters:

  • InstanceTypes:

    集群类型: 0 一主一备, 1 一主两备...N-1 一主N备

  • ProductIds:

    产品ID: 0 MYSQL,1 TDSQL

  • InstanceIds:

    集群uuid: 如 dbdc-q810131s

  • FenceFlag:

    是否按金融围笼标志搜索

  • InstanceName:

    按实例名字模糊匹配

  • PageSize:

    每页数目, 整型

  • PageNumber:

    页码, 整型

  • OrderBy:

    排序字段,枚举:createtime,groupname

  • OrderByType:

    排序方式: asc升序, desc降序

  • InstanceStatus:

    集群状态: -2 已删除, -1 已隔离, 0 创建中, 1 运行中, 2 扩容中, 3 删除中



638
639
640
# File 'lib/v20201029/models.rb', line 638

def OrderBy
  @OrderBy
end

#OrderByTypeObject

Parameters:

  • InstanceTypes:

    集群类型: 0 一主一备, 1 一主两备...N-1 一主N备

  • ProductIds:

    产品ID: 0 MYSQL,1 TDSQL

  • InstanceIds:

    集群uuid: 如 dbdc-q810131s

  • FenceFlag:

    是否按金融围笼标志搜索

  • InstanceName:

    按实例名字模糊匹配

  • PageSize:

    每页数目, 整型

  • PageNumber:

    页码, 整型

  • OrderBy:

    排序字段,枚举:createtime,groupname

  • OrderByType:

    排序方式: asc升序, desc降序

  • InstanceStatus:

    集群状态: -2 已删除, -1 已隔离, 0 创建中, 1 运行中, 2 扩容中, 3 删除中



638
639
640
# File 'lib/v20201029/models.rb', line 638

def OrderByType
  @OrderByType
end

#PageNumberObject

Parameters:

  • InstanceTypes:

    集群类型: 0 一主一备, 1 一主两备...N-1 一主N备

  • ProductIds:

    产品ID: 0 MYSQL,1 TDSQL

  • InstanceIds:

    集群uuid: 如 dbdc-q810131s

  • FenceFlag:

    是否按金融围笼标志搜索

  • InstanceName:

    按实例名字模糊匹配

  • PageSize:

    每页数目, 整型

  • PageNumber:

    页码, 整型

  • OrderBy:

    排序字段,枚举:createtime,groupname

  • OrderByType:

    排序方式: asc升序, desc降序

  • InstanceStatus:

    集群状态: -2 已删除, -1 已隔离, 0 创建中, 1 运行中, 2 扩容中, 3 删除中



638
639
640
# File 'lib/v20201029/models.rb', line 638

def PageNumber
  @PageNumber
end

#PageSizeObject

Parameters:

  • InstanceTypes:

    集群类型: 0 一主一备, 1 一主两备...N-1 一主N备

  • ProductIds:

    产品ID: 0 MYSQL,1 TDSQL

  • InstanceIds:

    集群uuid: 如 dbdc-q810131s

  • FenceFlag:

    是否按金融围笼标志搜索

  • InstanceName:

    按实例名字模糊匹配

  • PageSize:

    每页数目, 整型

  • PageNumber:

    页码, 整型

  • OrderBy:

    排序字段,枚举:createtime,groupname

  • OrderByType:

    排序方式: asc升序, desc降序

  • InstanceStatus:

    集群状态: -2 已删除, -1 已隔离, 0 创建中, 1 运行中, 2 扩容中, 3 删除中



638
639
640
# File 'lib/v20201029/models.rb', line 638

def PageSize
  @PageSize
end

#ProductIdsObject

Parameters:

  • InstanceTypes:

    集群类型: 0 一主一备, 1 一主两备...N-1 一主N备

  • ProductIds:

    产品ID: 0 MYSQL,1 TDSQL

  • InstanceIds:

    集群uuid: 如 dbdc-q810131s

  • FenceFlag:

    是否按金融围笼标志搜索

  • InstanceName:

    按实例名字模糊匹配

  • PageSize:

    每页数目, 整型

  • PageNumber:

    页码, 整型

  • OrderBy:

    排序字段,枚举:createtime,groupname

  • OrderByType:

    排序方式: asc升序, desc降序

  • InstanceStatus:

    集群状态: -2 已删除, -1 已隔离, 0 创建中, 1 运行中, 2 扩容中, 3 删除中



638
639
640
# File 'lib/v20201029/models.rb', line 638

def ProductIds
  @ProductIds
end

Instance Method Details

#deserialize(params) ⇒ Object



653
654
655
656
657
658
659
660
661
662
663
664
# File 'lib/v20201029/models.rb', line 653

def deserialize(params)
  @InstanceTypes = params['InstanceTypes']
  @ProductIds = params['ProductIds']
  @InstanceIds = params['InstanceIds']
  @FenceFlag = params['FenceFlag']
  @InstanceName = params['InstanceName']
  @PageSize = params['PageSize']
  @PageNumber = params['PageNumber']
  @OrderBy = params['OrderBy']
  @OrderByType = params['OrderByType']
  @InstanceStatus = params['InstanceStatus']
end