Class: TencentCloud::Monitor::V20180724::UpdateServiceDiscoveryRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Monitor::V20180724::UpdateServiceDiscoveryRequest
- Defined in:
- lib/v20180724/models.rb
Overview
UpdateServiceDiscovery请求参数结构体
Instance Attribute Summary collapse
-
#InstanceId ⇒ Object
- 1 = 容器服务集群(TKE)
- 1 = ServiceMonitor
- 2 = PodMonitor
- 3 = JobMonitor
. -
#KubeClusterId ⇒ Object
- 1 = 容器服务集群(TKE)
- 1 = ServiceMonitor
- 2 = PodMonitor
- 3 = JobMonitor
. -
#KubeType ⇒ Object
- 1 = 容器服务集群(TKE)
- 1 = ServiceMonitor
- 2 = PodMonitor
- 3 = JobMonitor
. -
#Type ⇒ Object
- 1 = 容器服务集群(TKE)
- 1 = ServiceMonitor
- 2 = PodMonitor
- 3 = JobMonitor
. -
#Yaml ⇒ Object
- 1 = 容器服务集群(TKE)
- 1 = ServiceMonitor
- 2 = PodMonitor
- 3 = JobMonitor
.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, kubeclusterid = nil, kubetype = nil, type = nil, yaml = nil) ⇒ UpdateServiceDiscoveryRequest
constructor
A new instance of UpdateServiceDiscoveryRequest.
Constructor Details
#initialize(instanceid = nil, kubeclusterid = nil, kubetype = nil, type = nil, yaml = nil) ⇒ UpdateServiceDiscoveryRequest
Returns a new instance of UpdateServiceDiscoveryRequest.
16290 16291 16292 16293 16294 16295 16296 |
# File 'lib/v20180724/models.rb', line 16290 def initialize(instanceid=nil, kubeclusterid=nil, kubetype=nil, type=nil, yaml=nil) @InstanceId = instanceid @KubeClusterId = kubeclusterid @KubeType = kubetype @Type = type @Yaml = yaml end |
Instance Attribute Details
#InstanceId ⇒ Object
16288 16289 16290 |
# File 'lib/v20180724/models.rb', line 16288 def InstanceId @InstanceId end |
#KubeClusterId ⇒ Object
16288 16289 16290 |
# File 'lib/v20180724/models.rb', line 16288 def KubeClusterId @KubeClusterId end |
#KubeType ⇒ Object
16288 16289 16290 |
# File 'lib/v20180724/models.rb', line 16288 def KubeType @KubeType end |
#Type ⇒ Object
16288 16289 16290 |
# File 'lib/v20180724/models.rb', line 16288 def Type @Type end |
#Yaml ⇒ Object
16288 16289 16290 |
# File 'lib/v20180724/models.rb', line 16288 def Yaml @Yaml end |
Instance Method Details
#deserialize(params) ⇒ Object
16298 16299 16300 16301 16302 16303 16304 |
# File 'lib/v20180724/models.rb', line 16298 def deserialize(params) @InstanceId = params['InstanceId'] @KubeClusterId = params['KubeClusterId'] @KubeType = params['KubeType'] @Type = params['Type'] @Yaml = params['Yaml'] end |