Class: TencentCloud::Clb::V20180317::ZoneResource
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Clb::V20180317::ZoneResource
- Defined in:
- lib/v20180317/models.rb
Overview
可用区资源列表
Instance Attribute Summary collapse
-
#EdgeZone ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Egress ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#IPVersion ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#LocalZone ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#MasterZone ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ResourceSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#SlaveZone ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ZoneRegion ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ZoneResourceType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(masterzone = nil, resourceset = nil, slavezone = nil, ipversion = nil, zoneregion = nil, localzone = nil, zoneresourcetype = nil, edgezone = nil, egress = nil) ⇒ ZoneResource
constructor
A new instance of ZoneResource.
Constructor Details
#initialize(masterzone = nil, resourceset = nil, slavezone = nil, ipversion = nil, zoneregion = nil, localzone = nil, zoneresourcetype = nil, edgezone = nil, egress = nil) ⇒ ZoneResource
Returns a new instance of ZoneResource.
8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 |
# File 'lib/v20180317/models.rb', line 8977 def initialize(masterzone=nil, resourceset=nil, slavezone=nil, ipversion=nil, zoneregion=nil, localzone=nil, zoneresourcetype=nil, edgezone=nil, egress=nil) @MasterZone = masterzone @ResourceSet = resourceset @SlaveZone = slavezone @IPVersion = ipversion @ZoneRegion = zoneregion @LocalZone = localzone @ZoneResourceType = zoneresourcetype @EdgeZone = edgezone @Egress = egress end |
Instance Attribute Details
#EdgeZone ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8975 8976 8977 |
# File 'lib/v20180317/models.rb', line 8975 def EdgeZone @EdgeZone end |
#Egress ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8975 8976 8977 |
# File 'lib/v20180317/models.rb', line 8975 def Egress @Egress end |
#IPVersion ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8975 8976 8977 |
# File 'lib/v20180317/models.rb', line 8975 def IPVersion @IPVersion end |
#LocalZone ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8975 8976 8977 |
# File 'lib/v20180317/models.rb', line 8975 def LocalZone @LocalZone end |
#MasterZone ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8975 8976 8977 |
# File 'lib/v20180317/models.rb', line 8975 def MasterZone @MasterZone end |
#ResourceSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8975 8976 8977 |
# File 'lib/v20180317/models.rb', line 8975 def ResourceSet @ResourceSet end |
#SlaveZone ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8975 8976 8977 |
# File 'lib/v20180317/models.rb', line 8975 def SlaveZone @SlaveZone end |
#ZoneRegion ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8975 8976 8977 |
# File 'lib/v20180317/models.rb', line 8975 def ZoneRegion @ZoneRegion end |
#ZoneResourceType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8975 8976 8977 |
# File 'lib/v20180317/models.rb', line 8975 def ZoneResourceType @ZoneResourceType end |
Instance Method Details
#deserialize(params) ⇒ Object
8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 |
# File 'lib/v20180317/models.rb', line 8989 def deserialize(params) @MasterZone = params['MasterZone'] unless params['ResourceSet'].nil? @ResourceSet = [] params['ResourceSet'].each do |i| resource_tmp = Resource.new resource_tmp.deserialize(i) @ResourceSet << resource_tmp end end @SlaveZone = params['SlaveZone'] @IPVersion = params['IPVersion'] @ZoneRegion = params['ZoneRegion'] @LocalZone = params['LocalZone'] @ZoneResourceType = params['ZoneResourceType'] @EdgeZone = params['EdgeZone'] @Egress = params['Egress'] end |