Class: TencentCloud::Emr::V20190103::MultiZoneSetting

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190103/models.rb

Overview

各个可用区的参数信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(zonetag = nil, vpcsettings = nil, placement = nil, resourcespec = nil) ⇒ MultiZoneSetting

Returns a new instance of MultiZoneSetting.



9689
9690
9691
9692
9693
9694
# File 'lib/v20190103/models.rb', line 9689

def initialize(zonetag=nil, vpcsettings=nil, placement=nil, resourcespec=nil)
  @ZoneTag = zonetag
  @VPCSettings = vpcsettings
  @Placement = placement
  @ResourceSpec = resourcespec
end

Instance Attribute Details

#PlacementObject

Parameters:

  • ZoneTag:、、 ("master""standby""third-party")

    oneTag: "master"、"standby"、"third-party"

  • VPCSettings:

  • Placement:

  • ResourceSpec:



9687
9688
9689
# File 'lib/v20190103/models.rb', line 9687

def Placement
  @Placement
end

#ResourceSpecObject

Parameters:

  • ZoneTag:、、 ("master""standby""third-party")

    oneTag: "master"、"standby"、"third-party"

  • VPCSettings:

  • Placement:

  • ResourceSpec:



9687
9688
9689
# File 'lib/v20190103/models.rb', line 9687

def ResourceSpec
  @ResourceSpec
end

#VPCSettingsObject

Parameters:

  • ZoneTag:、、 ("master""standby""third-party")

    oneTag: "master"、"standby"、"third-party"

  • VPCSettings:

  • Placement:

  • ResourceSpec:



9687
9688
9689
# File 'lib/v20190103/models.rb', line 9687

def VPCSettings
  @VPCSettings
end

#ZoneTagObject

Parameters:

  • ZoneTag:、、 ("master""standby""third-party")

    oneTag: "master"、"standby"、"third-party"

  • VPCSettings:

  • Placement:

  • ResourceSpec:



9687
9688
9689
# File 'lib/v20190103/models.rb', line 9687

def ZoneTag
  @ZoneTag
end

Instance Method Details

#deserialize(params) ⇒ Object



9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
# File 'lib/v20190103/models.rb', line 9696

def deserialize(params)
  @ZoneTag = params['ZoneTag']
  unless params['VPCSettings'].nil?
    @VPCSettings = VPCSettings.new
    @VPCSettings.deserialize(params['VPCSettings'])
  end
  unless params['Placement'].nil?
    @Placement = Placement.new
    @Placement.deserialize(params['Placement'])
  end
  unless params['ResourceSpec'].nil?
    @ResourceSpec = NewResourceSpec.new
    @ResourceSpec.deserialize(params['ResourceSpec'])
  end
end