Class: TencentCloud::Cwp::V20180228::RegionListDetail
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::RegionListDetail
- Defined in:
- lib/v20180228/models.rb
Overview
地域列表详情
Instance Attribute Summary collapse
-
#CloudFrom ⇒ Object
CVM 腾讯云云服务器 LH 腾讯云轻量服务器 ECM 腾讯云边缘计算服务器 BM 腾讯云黑石1.0 服务器 Other 其他服务器(非腾讯云) 1 IDC机房 2 阿里云 3 华为云 4 亚马逊 5 微软 6 Google 7 Oracle 8 Digital Ocean.
-
#MachineType ⇒ Object
CVM 腾讯云云服务器 LH 腾讯云轻量服务器 ECM 腾讯云边缘计算服务器 BM 腾讯云黑石1.0 服务器 Other 其他服务器(非腾讯云) 1 IDC机房 2 阿里云 3 华为云 4 亚马逊 5 微软 6 Google 7 Oracle 8 Digital Ocean.
-
#RegionList ⇒ Object
CVM 腾讯云云服务器 LH 腾讯云轻量服务器 ECM 腾讯云边缘计算服务器 BM 腾讯云黑石1.0 服务器 Other 其他服务器(非腾讯云) 1 IDC机房 2 阿里云 3 华为云 4 亚马逊 5 微软 6 Google 7 Oracle 8 Digital Ocean.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(machinetype = nil, cloudfrom = nil, regionlist = nil) ⇒ RegionListDetail
constructor
A new instance of RegionListDetail.
Constructor Details
#initialize(machinetype = nil, cloudfrom = nil, regionlist = nil) ⇒ RegionListDetail
Returns a new instance of RegionListDetail.
36933 36934 36935 36936 36937 |
# File 'lib/v20180228/models.rb', line 36933 def initialize(machinetype=nil, cloudfrom=nil, regionlist=nil) @MachineType = machinetype @CloudFrom = cloudfrom @RegionList = regionlist end |
Instance Attribute Details
#CloudFrom ⇒ Object
CVM 腾讯云云服务器LH 腾讯云轻量服务器ECM 腾讯云边缘计算服务器BM 腾讯云黑石1.0 服务器Other 其他服务器(非腾讯云) 1 IDC机房2 阿里云3 华为云4 亚马逊5 微软6 Google 7 Oracle 8 Digital Ocean
36931 36932 36933 |
# File 'lib/v20180228/models.rb', line 36931 def CloudFrom @CloudFrom end |
#MachineType ⇒ Object
CVM 腾讯云云服务器LH 腾讯云轻量服务器ECM 腾讯云边缘计算服务器BM 腾讯云黑石1.0 服务器Other 其他服务器(非腾讯云) 1 IDC机房2 阿里云3 华为云4 亚马逊5 微软6 Google 7 Oracle 8 Digital Ocean
36931 36932 36933 |
# File 'lib/v20180228/models.rb', line 36931 def MachineType @MachineType end |
#RegionList ⇒ Object
CVM 腾讯云云服务器LH 腾讯云轻量服务器ECM 腾讯云边缘计算服务器BM 腾讯云黑石1.0 服务器Other 其他服务器(非腾讯云) 1 IDC机房2 阿里云3 华为云4 亚马逊5 微软6 Google 7 Oracle 8 Digital Ocean
36931 36932 36933 |
# File 'lib/v20180228/models.rb', line 36931 def RegionList @RegionList end |
Instance Method Details
#deserialize(params) ⇒ Object
36939 36940 36941 36942 36943 36944 36945 36946 36947 36948 36949 36950 |
# File 'lib/v20180228/models.rb', line 36939 def deserialize(params) @MachineType = params['MachineType'] @CloudFrom = params['CloudFrom'] unless params['RegionList'].nil? @RegionList = [] params['RegionList'].each do |i| regioninfo_tmp = RegionInfo.new regioninfo_tmp.deserialize(i) @RegionList << regioninfo_tmp end end end |