Class: TencentCloud::Monitor::V20180724::CreateServiceDiscoveryRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Monitor::V20180724::CreateServiceDiscoveryRequest
- Defined in:
- lib/v20180724/models.rb
Overview
CreateServiceDiscovery请求参数结构体
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) ⇒ CreateServiceDiscoveryRequest
constructor
A new instance of CreateServiceDiscoveryRequest.
Constructor Details
#initialize(instanceid = nil, kubeclusterid = nil, kubetype = nil, type = nil, yaml = nil) ⇒ CreateServiceDiscoveryRequest
Returns a new instance of CreateServiceDiscoveryRequest.
3173 3174 3175 3176 3177 3178 3179 |
# File 'lib/v20180724/models.rb', line 3173 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
3171 3172 3173 |
# File 'lib/v20180724/models.rb', line 3171 def InstanceId @InstanceId end |
#KubeClusterId ⇒ Object
3171 3172 3173 |
# File 'lib/v20180724/models.rb', line 3171 def KubeClusterId @KubeClusterId end |
#KubeType ⇒ Object
3171 3172 3173 |
# File 'lib/v20180724/models.rb', line 3171 def KubeType @KubeType end |
#Type ⇒ Object
3171 3172 3173 |
# File 'lib/v20180724/models.rb', line 3171 def Type @Type end |
#Yaml ⇒ Object
3171 3172 3173 |
# File 'lib/v20180724/models.rb', line 3171 def Yaml @Yaml end |
Instance Method Details
#deserialize(params) ⇒ Object
3181 3182 3183 3184 3185 3186 3187 |
# File 'lib/v20180724/models.rb', line 3181 def deserialize(params) @InstanceId = params['InstanceId'] @KubeClusterId = params['KubeClusterId'] @KubeType = params['KubeType'] @Type = params['Type'] @Yaml = params['Yaml'] end |