Class: TencentCloud::Monitor::V20180724::CreateExternalClusterRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Monitor::V20180724::CreateExternalClusterRequest
- Defined in:
- lib/v20180724/models.rb
Overview
CreateExternalCluster请求参数结构体
Instance Attribute Summary collapse
- #ClusterId ⇒ Object
- #ClusterName ⇒ Object
- #ClusterRegion ⇒ Object
- #EnableExternal ⇒ Object
- #ExternalLabels ⇒ Object
- #InstanceId ⇒ Object
- #OpenDefaultRecord ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, clusterregion = nil, clustername = nil, clusterid = nil, externallabels = nil, opendefaultrecord = nil, enableexternal = nil) ⇒ CreateExternalClusterRequest
constructor
A new instance of CreateExternalClusterRequest.
Constructor Details
#initialize(instanceid = nil, clusterregion = nil, clustername = nil, clusterid = nil, externallabels = nil, opendefaultrecord = nil, enableexternal = nil) ⇒ CreateExternalClusterRequest
Returns a new instance of CreateExternalClusterRequest.
2156 2157 2158 2159 2160 2161 2162 2163 2164 |
# File 'lib/v20180724/models.rb', line 2156 def initialize(instanceid=nil, clusterregion=nil, clustername=nil, clusterid=nil, externallabels=nil, opendefaultrecord=nil, enableexternal=nil) @InstanceId = instanceid @ClusterRegion = clusterregion @ClusterName = clustername @ClusterId = clusterid @ExternalLabels = externallabels @OpenDefaultRecord = opendefaultrecord @EnableExternal = enableexternal end |
Instance Attribute Details
#ClusterId ⇒ Object
2154 2155 2156 |
# File 'lib/v20180724/models.rb', line 2154 def ClusterId @ClusterId end |
#ClusterName ⇒ Object
2154 2155 2156 |
# File 'lib/v20180724/models.rb', line 2154 def ClusterName @ClusterName end |
#ClusterRegion ⇒ Object
2154 2155 2156 |
# File 'lib/v20180724/models.rb', line 2154 def ClusterRegion @ClusterRegion end |
#EnableExternal ⇒ Object
2154 2155 2156 |
# File 'lib/v20180724/models.rb', line 2154 def EnableExternal @EnableExternal end |
#ExternalLabels ⇒ Object
2154 2155 2156 |
# File 'lib/v20180724/models.rb', line 2154 def ExternalLabels @ExternalLabels end |
#InstanceId ⇒ Object
2154 2155 2156 |
# File 'lib/v20180724/models.rb', line 2154 def InstanceId @InstanceId end |
#OpenDefaultRecord ⇒ Object
2154 2155 2156 |
# File 'lib/v20180724/models.rb', line 2154 def OpenDefaultRecord @OpenDefaultRecord end |
Instance Method Details
#deserialize(params) ⇒ Object
2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 |
# File 'lib/v20180724/models.rb', line 2166 def deserialize(params) @InstanceId = params['InstanceId'] @ClusterRegion = params['ClusterRegion'] @ClusterName = params['ClusterName'] @ClusterId = params['ClusterId'] unless params['ExternalLabels'].nil? @ExternalLabels = [] params['ExternalLabels'].each do |i| label_tmp = Label.new label_tmp.deserialize(i) @ExternalLabels << label_tmp end end @OpenDefaultRecord = params['OpenDefaultRecord'] @EnableExternal = params['EnableExternal'] end |