Class: TencentCloud::Monitor::V20180724::DescribePrometheusInstancesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Monitor::V20180724::DescribePrometheusInstancesRequest
- Defined in:
- lib/v20180724/models.rb
Overview
DescribePrometheusInstances请求参数结构体
Instance Attribute Summary collapse
-
#InstanceChargeType ⇒ Object
- 1:正在创建
- 2:运行中
- 3:异常
- 4:重建中
- 5:销毁中
- 6:已停服
- 8:欠费停服中
- 9:欠费已停服
- 2:包年包月
- 3:按量
. -
#InstanceIds ⇒ Object
- 1:正在创建
- 2:运行中
- 3:异常
- 4:重建中
- 5:销毁中
- 6:已停服
- 8:欠费停服中
- 9:欠费已停服
- 2:包年包月
- 3:按量
. -
#InstanceName ⇒ Object
- 1:正在创建
- 2:运行中
- 3:异常
- 4:重建中
- 5:销毁中
- 6:已停服
- 8:欠费停服中
- 9:欠费已停服
- 2:包年包月
- 3:按量
. -
#InstanceStatus ⇒ Object
- 1:正在创建
- 2:运行中
- 3:异常
- 4:重建中
- 5:销毁中
- 6:已停服
- 8:欠费停服中
- 9:欠费已停服
- 2:包年包月
- 3:按量
. -
#IPv4Address ⇒ Object
- 1:正在创建
- 2:运行中
- 3:异常
- 4:重建中
- 5:销毁中
- 6:已停服
- 8:欠费停服中
- 9:欠费已停服
- 2:包年包月
- 3:按量
. -
#Limit ⇒ Object
- 1:正在创建
- 2:运行中
- 3:异常
- 4:重建中
- 5:销毁中
- 6:已停服
- 8:欠费停服中
- 9:欠费已停服
- 2:包年包月
- 3:按量
. -
#Offset ⇒ Object
- 1:正在创建
- 2:运行中
- 3:异常
- 4:重建中
- 5:销毁中
- 6:已停服
- 8:欠费停服中
- 9:欠费已停服
- 2:包年包月
- 3:按量
. -
#TagFilters ⇒ Object
- 1:正在创建
- 2:运行中
- 3:异常
- 4:重建中
- 5:销毁中
- 6:已停服
- 8:欠费停服中
- 9:欠费已停服
- 2:包年包月
- 3:按量
. -
#Zones ⇒ Object
- 1:正在创建
- 2:运行中
- 3:异常
- 4:重建中
- 5:销毁中
- 6:已停服
- 8:欠费停服中
- 9:欠费已停服
- 2:包年包月
- 3:按量
.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceids = nil, instancestatus = nil, instancename = nil, zones = nil, tagfilters = nil, ipv4address = nil, limit = nil, offset = nil, instancechargetype = nil) ⇒ DescribePrometheusInstancesRequest
constructor
A new instance of DescribePrometheusInstancesRequest.
Constructor Details
#initialize(instanceids = nil, instancestatus = nil, instancename = nil, zones = nil, tagfilters = nil, ipv4address = nil, limit = nil, offset = nil, instancechargetype = nil) ⇒ DescribePrometheusInstancesRequest
Returns a new instance of DescribePrometheusInstancesRequest.
8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 |
# File 'lib/v20180724/models.rb', line 8870 def initialize(instanceids=nil, instancestatus=nil, instancename=nil, zones=nil, tagfilters=nil, ipv4address=nil, limit=nil, offset=nil, instancechargetype=nil) @InstanceIds = instanceids @InstanceStatus = instancestatus @InstanceName = instancename @Zones = zones @TagFilters = tagfilters @IPv4Address = ipv4address @Limit = limit @Offset = offset @InstanceChargeType = instancechargetype end |
Instance Attribute Details
#InstanceChargeType ⇒ Object
- 1:正在创建
- 2:运行中
- 3:异常
- 4:重建中
- 5:销毁中
- 6:已停服
- 8:欠费停服中
- 9:欠费已停服
8868 8869 8870 |
# File 'lib/v20180724/models.rb', line 8868 def InstanceChargeType @InstanceChargeType end |
#InstanceIds ⇒ Object
- 1:正在创建
- 2:运行中
- 3:异常
- 4:重建中
- 5:销毁中
- 6:已停服
- 8:欠费停服中
- 9:欠费已停服
8868 8869 8870 |
# File 'lib/v20180724/models.rb', line 8868 def InstanceIds @InstanceIds end |
#InstanceName ⇒ Object
- 1:正在创建
- 2:运行中
- 3:异常
- 4:重建中
- 5:销毁中
- 6:已停服
- 8:欠费停服中
- 9:欠费已停服
8868 8869 8870 |
# File 'lib/v20180724/models.rb', line 8868 def InstanceName @InstanceName end |
#InstanceStatus ⇒ Object
- 1:正在创建
- 2:运行中
- 3:异常
- 4:重建中
- 5:销毁中
- 6:已停服
- 8:欠费停服中
- 9:欠费已停服
8868 8869 8870 |
# File 'lib/v20180724/models.rb', line 8868 def InstanceStatus @InstanceStatus end |
#IPv4Address ⇒ Object
- 1:正在创建
- 2:运行中
- 3:异常
- 4:重建中
- 5:销毁中
- 6:已停服
- 8:欠费停服中
- 9:欠费已停服
8868 8869 8870 |
# File 'lib/v20180724/models.rb', line 8868 def IPv4Address @IPv4Address end |
#Limit ⇒ Object
- 1:正在创建
- 2:运行中
- 3:异常
- 4:重建中
- 5:销毁中
- 6:已停服
- 8:欠费停服中
- 9:欠费已停服
8868 8869 8870 |
# File 'lib/v20180724/models.rb', line 8868 def Limit @Limit end |
#Offset ⇒ Object
- 1:正在创建
- 2:运行中
- 3:异常
- 4:重建中
- 5:销毁中
- 6:已停服
- 8:欠费停服中
- 9:欠费已停服
8868 8869 8870 |
# File 'lib/v20180724/models.rb', line 8868 def Offset @Offset end |
#TagFilters ⇒ Object
- 1:正在创建
- 2:运行中
- 3:异常
- 4:重建中
- 5:销毁中
- 6:已停服
- 8:欠费停服中
- 9:欠费已停服
8868 8869 8870 |
# File 'lib/v20180724/models.rb', line 8868 def TagFilters @TagFilters end |
#Zones ⇒ Object
- 1:正在创建
- 2:运行中
- 3:异常
- 4:重建中
- 5:销毁中
- 6:已停服
- 8:欠费停服中
- 9:欠费已停服
8868 8869 8870 |
# File 'lib/v20180724/models.rb', line 8868 def Zones @Zones end |
Instance Method Details
#deserialize(params) ⇒ Object
8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 |
# File 'lib/v20180724/models.rb', line 8882 def deserialize(params) @InstanceIds = params['InstanceIds'] @InstanceStatus = params['InstanceStatus'] @InstanceName = params['InstanceName'] @Zones = params['Zones'] unless params['TagFilters'].nil? @TagFilters = [] params['TagFilters'].each do |i| prometheustag_tmp = PrometheusTag.new prometheustag_tmp.deserialize(i) @TagFilters << prometheustag_tmp end end @IPv4Address = params['IPv4Address'] @Limit = params['Limit'] @Offset = params['Offset'] @InstanceChargeType = params['InstanceChargeType'] end |