Class: TencentCloud::Monitor::V20180724::UpdateServiceDiscoveryRequest

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

Overview

UpdateServiceDiscovery请求参数结构体

Instance Attribute Summary collapse

  • #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

    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

    #InstanceIdObject

  • 1 = 容器服务集群(TKE)
  • 1 = ServiceMonitor
  • 2 = PodMonitor
  • 3 = JobMonitor
  • Parameters:

    • Prometheus 实例 ID

    • 类型是 TKE,为对应的腾讯云容器服务集群 ID

  • 用户 Kubernetes 集群类型:

  • 服务发现类型,取值如下:

  • 服务发现配置信息,YAML 格式,具体YAML参数内容请参考

  • 
    
    16288
    16289
    16290
    # File 'lib/v20180724/models.rb', line 16288
    
    def InstanceId
      @InstanceId
    end

    #KubeClusterIdObject

  • 1 = 容器服务集群(TKE)
  • 1 = ServiceMonitor
  • 2 = PodMonitor
  • 3 = JobMonitor
  • Parameters:

  • 用户 Kubernetes 集群类型:

  • 服务发现类型,取值如下:

  • 服务发现配置信息,YAML 格式,具体YAML参数内容请参考

  • 
    
    16288
    16289
    16290
    # File 'lib/v20180724/models.rb', line 16288
    
    def KubeClusterId
      @KubeClusterId
    end

    #KubeTypeObject

  • 1 = 容器服务集群(TKE)
  • 1 = ServiceMonitor
  • 2 = PodMonitor
  • 3 = JobMonitor
  • Parameters:

  • 用户 Kubernetes 集群类型:

  • 服务发现类型,取值如下:

  • 服务发现配置信息,YAML 格式,具体YAML参数内容请参考

  • 
    
    16288
    16289
    16290
    # File 'lib/v20180724/models.rb', line 16288
    
    def KubeType
      @KubeType
    end

    #TypeObject

  • 1 = 容器服务集群(TKE)
  • 1 = ServiceMonitor
  • 2 = PodMonitor
  • 3 = JobMonitor
  • Parameters:

  • 用户 Kubernetes 集群类型:

  • 服务发现类型,取值如下:

  • 服务发现配置信息,YAML 格式,具体YAML参数内容请参考

  • 
    
    16288
    16289
    16290
    # File 'lib/v20180724/models.rb', line 16288
    
    def Type
      @Type
    end

    #YamlObject

  • 1 = 容器服务集群(TKE)
  • 1 = ServiceMonitor
  • 2 = PodMonitor
  • 3 = JobMonitor
  • Parameters:

  • 用户 Kubernetes 集群类型:

  • 服务发现类型,取值如下:

  • 服务发现配置信息,YAML 格式,具体YAML参数内容请参考

  • 
    
    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