Class: TencentCloud::Monitor::V20180724::CreateExporterIntegrationRequest

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

Overview

CreateExporterIntegration请求参数结构体

Instance Attribute Summary collapse

  • #Content ⇒ Object
  • 1= 容器集群(TKE)
  • 2=弹性集群(EKS)
  • 3= Prometheus管理的弹性集群(MEKS)
  • .
  • #InstanceId ⇒ Object
  • 1= 容器集群(TKE)
  • 2=弹性集群(EKS)
  • 3= Prometheus管理的弹性集群(MEKS)
  • .
  • #Kind ⇒ Object
  • 1= 容器集群(TKE)
  • 2=弹性集群(EKS)
  • 3= Prometheus管理的弹性集群(MEKS)
  • .
  • #KubeType ⇒ Object
  • 1= 容器集群(TKE)
  • 2=弹性集群(EKS)
  • 3= Prometheus管理的弹性集群(MEKS)
  • .

    Instance Method Summary collapse

    Constructor Details

    #initialize(instanceid = nil, kind = nil, content = nil, kubetype = nil, clusterid = nil) ⇒ CreateExporterIntegrationRequest

    Returns a new instance of CreateExporterIntegrationRequest.

    
    
    2100
    2101
    2102
    2103
    2104
    2105
    2106
    # File 'lib/v20180724/models.rb', line 2100
    
    def initialize(instanceid=nil, kind=nil, content=nil, kubetype=nil, clusterid=nil)
      @InstanceId = instanceid
      @Kind = kind
      @Content = content
      @KubeType = kubetype
      @ClusterId = clusterid
    end

    Instance Attribute Details

    #ClusterIdObject

  • 1= 容器集群(TKE)
  • 2=弹性集群(EKS)
  • 3= Prometheus管理的弹性集群(MEKS)
  • Parameters:

    • InstanceId:

      实例 ID

    • Kind:

      类型(可通过 DescribePrometheusIntegrations 接口获取,取每一项中的 ExporterType 字段)

    • Content:

      集成配置

    • KubeType:

      Kubernetes 集群类型,可不填,取值如下:

    • ClusterId:

      集群 ID,可不填

    
    
    2098
    2099
    2100
    # File 'lib/v20180724/models.rb', line 2098
    
    def ClusterId
      @ClusterId
    end

    #ContentObject

  • 1= 容器集群(TKE)
  • 2=弹性集群(EKS)
  • 3= Prometheus管理的弹性集群(MEKS)
  • Parameters:

    • InstanceId:

      实例 ID

    • Kind:

      类型(可通过 DescribePrometheusIntegrations 接口获取,取每一项中的 ExporterType 字段)

    • Content:

      集成配置

    • KubeType:

      Kubernetes 集群类型,可不填,取值如下:

    • ClusterId:

      集群 ID,可不填

    
    
    2098
    2099
    2100
    # File 'lib/v20180724/models.rb', line 2098
    
    def Content
      @Content
    end

    #InstanceIdObject

  • 1= 容器集群(TKE)
  • 2=弹性集群(EKS)
  • 3= Prometheus管理的弹性集群(MEKS)
  • Parameters:

    • InstanceId:

      实例 ID

    • Kind:

      类型(可通过 DescribePrometheusIntegrations 接口获取,取每一项中的 ExporterType 字段)

    • Content:

      集成配置

    • KubeType:

      Kubernetes 集群类型,可不填,取值如下:

    • ClusterId:

      集群 ID,可不填

    
    
    2098
    2099
    2100
    # File 'lib/v20180724/models.rb', line 2098
    
    def InstanceId
      @InstanceId
    end

    #KindObject

  • 1= 容器集群(TKE)
  • 2=弹性集群(EKS)
  • 3= Prometheus管理的弹性集群(MEKS)
  • Parameters:

    • InstanceId:

      实例 ID

    • Kind:

      类型(可通过 DescribePrometheusIntegrations 接口获取,取每一项中的 ExporterType 字段)

    • Content:

      集成配置

    • KubeType:

      Kubernetes 集群类型,可不填,取值如下:

    • ClusterId:

      集群 ID,可不填

    
    
    2098
    2099
    2100
    # File 'lib/v20180724/models.rb', line 2098
    
    def Kind
      @Kind
    end

    #KubeTypeObject

  • 1= 容器集群(TKE)
  • 2=弹性集群(EKS)
  • 3= Prometheus管理的弹性集群(MEKS)
  • Parameters:

    • InstanceId:

      实例 ID

    • Kind:

      类型(可通过 DescribePrometheusIntegrations 接口获取,取每一项中的 ExporterType 字段)

    • Content:

      集成配置

    • KubeType:

      Kubernetes 集群类型,可不填,取值如下:

    • ClusterId:

      集群 ID,可不填

    
    
    2098
    2099
    2100
    # File 'lib/v20180724/models.rb', line 2098
    
    def KubeType
      @KubeType
    end

    Instance Method Details

    #deserialize(params) ⇒ Object

    
    
    2108
    2109
    2110
    2111
    2112
    2113
    2114
    # File 'lib/v20180724/models.rb', line 2108
    
    def deserialize(params)
      @InstanceId = params['InstanceId']
      @Kind = params['Kind']
      @Content = params['Content']
      @KubeType = params['KubeType']
      @ClusterId = params['ClusterId']
    end