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.
8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 |
# File 'lib/v20180317/models.rb', line 8716 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,表示取不到有效值。
8714 8715 8716 |
# File 'lib/v20180317/models.rb', line 8714 def EdgeZone @EdgeZone end |
#Egress ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8714 8715 8716 |
# File 'lib/v20180317/models.rb', line 8714 def Egress @Egress end |
#IPVersion ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8714 8715 8716 |
# File 'lib/v20180317/models.rb', line 8714 def IPVersion @IPVersion end |
#LocalZone ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8714 8715 8716 |
# File 'lib/v20180317/models.rb', line 8714 def LocalZone @LocalZone end |
#MasterZone ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8714 8715 8716 |
# File 'lib/v20180317/models.rb', line 8714 def MasterZone @MasterZone end |
#ResourceSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8714 8715 8716 |
# File 'lib/v20180317/models.rb', line 8714 def ResourceSet @ResourceSet end |
#SlaveZone ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8714 8715 8716 |
# File 'lib/v20180317/models.rb', line 8714 def SlaveZone @SlaveZone end |
#ZoneRegion ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8714 8715 8716 |
# File 'lib/v20180317/models.rb', line 8714 def ZoneRegion @ZoneRegion end |
#ZoneResourceType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8714 8715 8716 |
# File 'lib/v20180317/models.rb', line 8714 def ZoneResourceType @ZoneResourceType end |
Instance Method Details
#deserialize(params) ⇒ Object
8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 |
# File 'lib/v20180317/models.rb', line 8728 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 |