Class: TencentCloud::Monitor::V20180724::DeleteServiceDiscoveryRequest

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

Overview

DeleteServiceDiscovery请求参数结构体

Instance Attribute Summary collapse

  • #KubeClusterId ⇒ Object
  • 1 = 容器服务集群(TKE)
  • 1 = ServiceMonitor
  • 2 = PodMonitor
  • 3 = PodMonitor
  • .
  • #KubeType ⇒ Object
  • 1 = 容器服务集群(TKE)
  • 1 = ServiceMonitor
  • 2 = PodMonitor
  • 3 = PodMonitor
  • .
  • #Type ⇒ Object
  • 1 = 容器服务集群(TKE)
  • 1 = ServiceMonitor
  • 2 = PodMonitor
  • 3 = PodMonitor
  • .
  • #Yaml ⇒ Object
  • 1 = 容器服务集群(TKE)
  • 1 = ServiceMonitor
  • 2 = PodMonitor
  • 3 = PodMonitor
  • .

    Instance Method Summary collapse

    Constructor Details

    #initialize(instanceid = nil, kubeclusterid = nil, kubetype = nil, type = nil, yaml = nil) ⇒ DeleteServiceDiscoveryRequest

    Returns a new instance of DeleteServiceDiscoveryRequest.

    
    
    4022
    4023
    4024
    4025
    4026
    4027
    4028
    # File 'lib/v20180724/models.rb', line 4022
    
    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 = PodMonitor
  • Parameters:

    • InstanceId:

      Prometheus 实例 ID,例如:prom-sdfk2342a

    • KubeClusterId: (li)

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

  • KubeType:

    用户 Kubernetes 集群类型:

  • Type:

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

  • Yaml:

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

  • 
    
    4020
    4021
    4022
    # File 'lib/v20180724/models.rb', line 4020
    
    def InstanceId
      @InstanceId
    end

    #KubeClusterIdObject

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

  • KubeType:

    用户 Kubernetes 集群类型:

  • Type:

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

  • Yaml:

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

  • 
    
    4020
    4021
    4022
    # File 'lib/v20180724/models.rb', line 4020
    
    def KubeClusterId
      @KubeClusterId
    end

    #KubeTypeObject

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

  • KubeType:

    用户 Kubernetes 集群类型:

  • Type:

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

  • Yaml:

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

  • 
    
    4020
    4021
    4022
    # File 'lib/v20180724/models.rb', line 4020
    
    def KubeType
      @KubeType
    end

    #TypeObject

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

  • KubeType:

    用户 Kubernetes 集群类型:

  • Type:

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

  • Yaml:

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

  • 
    
    4020
    4021
    4022
    # File 'lib/v20180724/models.rb', line 4020
    
    def Type
      @Type
    end

    #YamlObject

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

  • KubeType:

    用户 Kubernetes 集群类型:

  • Type:

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

  • Yaml:

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

  • 
    
    4020
    4021
    4022
    # File 'lib/v20180724/models.rb', line 4020
    
    def Yaml
      @Yaml
    end

    Instance Method Details

    #deserialize(params) ⇒ Object

    
    
    4030
    4031
    4032
    4033
    4034
    4035
    4036
    # File 'lib/v20180724/models.rb', line 4030
    
    def deserialize(params)
      @InstanceId = params['InstanceId']
      @KubeClusterId = params['KubeClusterId']
      @KubeType = params['KubeType']
      @Type = params['Type']
      @Yaml = params['Yaml']
    end