Class: TencentCloud::Monitor::V20180724::GrafanaInstanceInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Monitor::V20180724::GrafanaInstanceInfo
- Defined in:
- lib/v20180724/models.rb
Overview
查询 Grafana 实例时的实例类型
Instance Attribute Summary collapse
-
#CreatedAt ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#EnableSSO ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#EnableSSOCamCheck ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#InstanceChargeType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#InstanceId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#InstanceName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#InstanceStatus ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#InternalUrl ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#InternetUrl ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Region ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RegionId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RootUrl ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#SubnetIds ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#SubnetName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TagSpecification ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Version ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#VpcId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#VpcName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Zone ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instancename = nil, instanceid = nil, region = nil, vpcid = nil, subnetids = nil, interneturl = nil, internalurl = nil, createdat = nil, instancestatus = nil, tagspecification = nil, zone = nil, instancechargetype = nil, vpcname = nil, subnetname = nil, regionid = nil, rooturl = nil, enablesso = nil, version = nil, enablessocamcheck = nil) ⇒ GrafanaInstanceInfo
constructor
A new instance of GrafanaInstanceInfo.
Constructor Details
#initialize(instancename = nil, instanceid = nil, region = nil, vpcid = nil, subnetids = nil, interneturl = nil, internalurl = nil, createdat = nil, instancestatus = nil, tagspecification = nil, zone = nil, instancechargetype = nil, vpcname = nil, subnetname = nil, regionid = nil, rooturl = nil, enablesso = nil, version = nil, enablessocamcheck = nil) ⇒ GrafanaInstanceInfo
Returns a new instance of GrafanaInstanceInfo.
10533 10534 10535 10536 10537 10538 10539 10540 10541 10542 10543 10544 10545 10546 10547 10548 10549 10550 10551 10552 10553 |
# File 'lib/v20180724/models.rb', line 10533 def initialize(instancename=nil, instanceid=nil, region=nil, vpcid=nil, subnetids=nil, interneturl=nil, internalurl=nil, createdat=nil, instancestatus=nil, =nil, zone=nil, instancechargetype=nil, vpcname=nil, subnetname=nil, regionid=nil, rooturl=nil, enablesso=nil, version=nil, enablessocamcheck=nil) @InstanceName = instancename @InstanceId = instanceid @Region = region @VpcId = vpcid @SubnetIds = subnetids @InternetUrl = interneturl @InternalUrl = internalurl @CreatedAt = createdat @InstanceStatus = instancestatus @TagSpecification = @Zone = zone @InstanceChargeType = instancechargetype @VpcName = vpcname @SubnetName = subnetname @RegionId = regionid @RootUrl = rooturl @EnableSSO = enablesso @Version = version @EnableSSOCamCheck = enablessocamcheck end |
Instance Attribute Details
#CreatedAt ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10531 10532 10533 |
# File 'lib/v20180724/models.rb', line 10531 def CreatedAt @CreatedAt end |
#EnableSSO ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10531 10532 10533 |
# File 'lib/v20180724/models.rb', line 10531 def EnableSSO @EnableSSO end |
#EnableSSOCamCheck ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10531 10532 10533 |
# File 'lib/v20180724/models.rb', line 10531 def EnableSSOCamCheck @EnableSSOCamCheck end |
#InstanceChargeType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10531 10532 10533 |
# File 'lib/v20180724/models.rb', line 10531 def InstanceChargeType @InstanceChargeType end |
#InstanceId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10531 10532 10533 |
# File 'lib/v20180724/models.rb', line 10531 def InstanceId @InstanceId end |
#InstanceName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10531 10532 10533 |
# File 'lib/v20180724/models.rb', line 10531 def InstanceName @InstanceName end |
#InstanceStatus ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10531 10532 10533 |
# File 'lib/v20180724/models.rb', line 10531 def InstanceStatus @InstanceStatus end |
#InternalUrl ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10531 10532 10533 |
# File 'lib/v20180724/models.rb', line 10531 def InternalUrl @InternalUrl end |
#InternetUrl ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10531 10532 10533 |
# File 'lib/v20180724/models.rb', line 10531 def InternetUrl @InternetUrl end |
#Region ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10531 10532 10533 |
# File 'lib/v20180724/models.rb', line 10531 def Region @Region end |
#RegionId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10531 10532 10533 |
# File 'lib/v20180724/models.rb', line 10531 def RegionId @RegionId end |
#RootUrl ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10531 10532 10533 |
# File 'lib/v20180724/models.rb', line 10531 def RootUrl @RootUrl end |
#SubnetIds ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10531 10532 10533 |
# File 'lib/v20180724/models.rb', line 10531 def SubnetIds @SubnetIds end |
#SubnetName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10531 10532 10533 |
# File 'lib/v20180724/models.rb', line 10531 def SubnetName @SubnetName end |
#TagSpecification ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10531 10532 10533 |
# File 'lib/v20180724/models.rb', line 10531 def TagSpecification @TagSpecification end |
#Version ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10531 10532 10533 |
# File 'lib/v20180724/models.rb', line 10531 def Version @Version end |
#VpcId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10531 10532 10533 |
# File 'lib/v20180724/models.rb', line 10531 def VpcId @VpcId end |
#VpcName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10531 10532 10533 |
# File 'lib/v20180724/models.rb', line 10531 def VpcName @VpcName end |
#Zone ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10531 10532 10533 |
# File 'lib/v20180724/models.rb', line 10531 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 10570 10571 10572 10573 10574 10575 10576 10577 10578 10579 10580 10581 10582 |
# File 'lib/v20180724/models.rb', line 10555 def deserialize(params) @InstanceName = params['InstanceName'] @InstanceId = params['InstanceId'] @Region = params['Region'] @VpcId = params['VpcId'] @SubnetIds = params['SubnetIds'] @InternetUrl = params['InternetUrl'] @InternalUrl = params['InternalUrl'] @CreatedAt = params['CreatedAt'] @InstanceStatus = params['InstanceStatus'] unless params['TagSpecification'].nil? @TagSpecification = [] params['TagSpecification'].each do |i| prometheustag_tmp = PrometheusTag.new prometheustag_tmp.deserialize(i) @TagSpecification << prometheustag_tmp end end @Zone = params['Zone'] @InstanceChargeType = params['InstanceChargeType'] @VpcName = params['VpcName'] @SubnetName = params['SubnetName'] @RegionId = params['RegionId'] @RootUrl = params['RootUrl'] @EnableSSO = params['EnableSSO'] @Version = params['Version'] @EnableSSOCamCheck = params['EnableSSOCamCheck'] end |