Class: TencentCloud::Postgres::V20170312::ZoneInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Postgres::V20170312::ZoneInfo
- Defined in:
- lib/v20170312/models.rb
Overview
描述可用区的编码和状态信息
Instance Attribute Summary collapse
-
#StandbyZoneSet ⇒ Object
UNAVAILABLE:不可用。 AVAILABLE:可用。 SELLOUT:售罄。 SUPPORTMODIFYONLY:支持变配。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Zone ⇒ Object
UNAVAILABLE:不可用。 AVAILABLE:可用。 SELLOUT:售罄。 SUPPORTMODIFYONLY:支持变配。 注意:此字段可能返回 null,表示取不到有效值。.
-
#ZoneId ⇒ Object
UNAVAILABLE:不可用。 AVAILABLE:可用。 SELLOUT:售罄。 SUPPORTMODIFYONLY:支持变配。 注意:此字段可能返回 null,表示取不到有效值。.
-
#ZoneName ⇒ Object
UNAVAILABLE:不可用。 AVAILABLE:可用。 SELLOUT:售罄。 SUPPORTMODIFYONLY:支持变配。 注意:此字段可能返回 null,表示取不到有效值。.
-
#ZoneState ⇒ Object
UNAVAILABLE:不可用。 AVAILABLE:可用。 SELLOUT:售罄。 SUPPORTMODIFYONLY:支持变配。 注意:此字段可能返回 null,表示取不到有效值。.
-
#ZoneSupportIpv6 ⇒ Object
UNAVAILABLE:不可用。 AVAILABLE:可用。 SELLOUT:售罄。 SUPPORTMODIFYONLY:支持变配。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(zone = nil, zonename = nil, zoneid = nil, zonestate = nil, zonesupportipv6 = nil, standbyzoneset = nil) ⇒ ZoneInfo
constructor
A new instance of ZoneInfo.
Constructor Details
#initialize(zone = nil, zonename = nil, zoneid = nil, zonestate = nil, zonesupportipv6 = nil, standbyzoneset = nil) ⇒ ZoneInfo
Returns a new instance of ZoneInfo.
7875 7876 7877 7878 7879 7880 7881 7882 |
# File 'lib/v20170312/models.rb', line 7875 def initialize(zone=nil, zonename=nil, zoneid=nil, zonestate=nil, zonesupportipv6=nil, standbyzoneset=nil) @Zone = zone @ZoneName = zonename @ZoneId = zoneid @ZoneState = zonestate @ZoneSupportIpv6 = zonesupportipv6 @StandbyZoneSet = standbyzoneset end |
Instance Attribute Details
#StandbyZoneSet ⇒ Object
UNAVAILABLE:不可用。AVAILABLE:可用。SELLOUT:售罄。SUPPORTMODIFYONLY:支持变配。注意:此字段可能返回 null,表示取不到有效值。
7873 7874 7875 |
# File 'lib/v20170312/models.rb', line 7873 def StandbyZoneSet @StandbyZoneSet end |
#Zone ⇒ Object
UNAVAILABLE:不可用。AVAILABLE:可用。SELLOUT:售罄。SUPPORTMODIFYONLY:支持变配。注意:此字段可能返回 null,表示取不到有效值。
7873 7874 7875 |
# File 'lib/v20170312/models.rb', line 7873 def Zone @Zone end |
#ZoneId ⇒ Object
UNAVAILABLE:不可用。AVAILABLE:可用。SELLOUT:售罄。SUPPORTMODIFYONLY:支持变配。注意:此字段可能返回 null,表示取不到有效值。
7873 7874 7875 |
# File 'lib/v20170312/models.rb', line 7873 def ZoneId @ZoneId end |
#ZoneName ⇒ Object
UNAVAILABLE:不可用。AVAILABLE:可用。SELLOUT:售罄。SUPPORTMODIFYONLY:支持变配。注意:此字段可能返回 null,表示取不到有效值。
7873 7874 7875 |
# File 'lib/v20170312/models.rb', line 7873 def ZoneName @ZoneName end |
#ZoneState ⇒ Object
UNAVAILABLE:不可用。AVAILABLE:可用。SELLOUT:售罄。SUPPORTMODIFYONLY:支持变配。注意:此字段可能返回 null,表示取不到有效值。
7873 7874 7875 |
# File 'lib/v20170312/models.rb', line 7873 def ZoneState @ZoneState end |
#ZoneSupportIpv6 ⇒ Object
UNAVAILABLE:不可用。AVAILABLE:可用。SELLOUT:售罄。SUPPORTMODIFYONLY:支持变配。注意:此字段可能返回 null,表示取不到有效值。
7873 7874 7875 |
# File 'lib/v20170312/models.rb', line 7873 def ZoneSupportIpv6 @ZoneSupportIpv6 end |
Instance Method Details
#deserialize(params) ⇒ Object
7884 7885 7886 7887 7888 7889 7890 7891 |
# File 'lib/v20170312/models.rb', line 7884 def deserialize(params) @Zone = params['Zone'] @ZoneName = params['ZoneName'] @ZoneId = params['ZoneId'] @ZoneState = params['ZoneState'] @ZoneSupportIpv6 = params['ZoneSupportIpv6'] @StandbyZoneSet = params['StandbyZoneSet'] end |