tencentcloud-sdk-tke 3.0.724 → 3.0.726
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180525/client.rb +48 -0
- data/lib/v20180525/models.rb +89 -0
- metadata +2 -2
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: ff6b34182870a8d92f4f055e40f416fb134eadab
         | 
| 4 | 
            +
              data.tar.gz: 64c06fffa0c175933a9dd1b5ddd225a8672830fa
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 860fde7db7a71a9e07e36fd18437dc6ab72c72eb9480c690c44bc0e0ac9a2e8203cef7254a4c24cb5447e5af1978ae9c38b16ef57bd829e9f63c1f6def8da9c5
         | 
| 7 | 
            +
              data.tar.gz: eb1dfe1e18176804f5e2cd0ba85eab279f969eaf28e0d10c250a269c9509e00674db36087fe327772055dd8960bcd85bb4840126072b59efe587a7b87220ca9a
         | 
    
        data/lib/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            3.0. | 
| 1 | 
            +
            3.0.726
         | 
    
        data/lib/v20180525/client.rb
    CHANGED
    
    | @@ -245,6 +245,30 @@ module TencentCloud | |
| 245 245 | 
             
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 246 246 | 
             
                    end
         | 
| 247 247 |  | 
| 248 | 
            +
                    # 创建日志采集配置
         | 
| 249 | 
            +
             | 
| 250 | 
            +
                    # @param request: Request instance for CreateCLSLogConfig.
         | 
| 251 | 
            +
                    # @type request: :class:`Tencentcloud::tke::V20180525::CreateCLSLogConfigRequest`
         | 
| 252 | 
            +
                    # @rtype: :class:`Tencentcloud::tke::V20180525::CreateCLSLogConfigResponse`
         | 
| 253 | 
            +
                    def CreateCLSLogConfig(request)
         | 
| 254 | 
            +
                      body = send_request('CreateCLSLogConfig', request.serialize)
         | 
| 255 | 
            +
                      response = JSON.parse(body)
         | 
| 256 | 
            +
                      if response['Response'].key?('Error') == false
         | 
| 257 | 
            +
                        model = CreateCLSLogConfigResponse.new
         | 
| 258 | 
            +
                        model.deserialize(response['Response'])
         | 
| 259 | 
            +
                        model
         | 
| 260 | 
            +
                      else
         | 
| 261 | 
            +
                        code = response['Response']['Error']['Code']
         | 
| 262 | 
            +
                        message = response['Response']['Error']['Message']
         | 
| 263 | 
            +
                        reqid = response['Response']['RequestId']
         | 
| 264 | 
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         | 
| 265 | 
            +
                      end
         | 
| 266 | 
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         | 
| 267 | 
            +
                      raise e
         | 
| 268 | 
            +
                    rescue StandardError => e
         | 
| 269 | 
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 270 | 
            +
                    end
         | 
| 271 | 
            +
             | 
| 248 272 | 
             
                    # 创建集群
         | 
| 249 273 |  | 
| 250 274 | 
             
                    # @param request: Request instance for CreateCluster.
         | 
| @@ -605,6 +629,30 @@ module TencentCloud | |
| 605 629 | 
             
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 606 630 | 
             
                    end
         | 
| 607 631 |  | 
| 632 | 
            +
                    # 为弹性集群创建日志采集配置
         | 
| 633 | 
            +
             | 
| 634 | 
            +
                    # @param request: Request instance for CreateEksLogConfig.
         | 
| 635 | 
            +
                    # @type request: :class:`Tencentcloud::tke::V20180525::CreateEksLogConfigRequest`
         | 
| 636 | 
            +
                    # @rtype: :class:`Tencentcloud::tke::V20180525::CreateEksLogConfigResponse`
         | 
| 637 | 
            +
                    def CreateEksLogConfig(request)
         | 
| 638 | 
            +
                      body = send_request('CreateEksLogConfig', request.serialize)
         | 
| 639 | 
            +
                      response = JSON.parse(body)
         | 
| 640 | 
            +
                      if response['Response'].key?('Error') == false
         | 
| 641 | 
            +
                        model = CreateEksLogConfigResponse.new
         | 
| 642 | 
            +
                        model.deserialize(response['Response'])
         | 
| 643 | 
            +
                        model
         | 
| 644 | 
            +
                      else
         | 
| 645 | 
            +
                        code = response['Response']['Error']['Code']
         | 
| 646 | 
            +
                        message = response['Response']['Error']['Message']
         | 
| 647 | 
            +
                        reqid = response['Response']['RequestId']
         | 
| 648 | 
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         | 
| 649 | 
            +
                      end
         | 
| 650 | 
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         | 
| 651 | 
            +
                      raise e
         | 
| 652 | 
            +
                    rescue StandardError => e
         | 
| 653 | 
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 654 | 
            +
                    end
         | 
| 655 | 
            +
             | 
| 608 656 | 
             
                    # 创建镜像缓存的接口。创建过程中,请勿删除EKSCI实例和云盘,否则镜像缓存将创建失败。
         | 
| 609 657 |  | 
| 610 658 | 
             
                    # @param request: Request instance for CreateImageCache.
         | 
    
        data/lib/v20180525/models.rb
    CHANGED
    
    | @@ -1876,6 +1876,50 @@ module TencentCloud | |
| 1876 1876 | 
             
                    end
         | 
| 1877 1877 | 
             
                  end
         | 
| 1878 1878 |  | 
| 1879 | 
            +
                  # CreateCLSLogConfig请求参数结构体
         | 
| 1880 | 
            +
                  class CreateCLSLogConfigRequest < TencentCloud::Common::AbstractModel
         | 
| 1881 | 
            +
                    # @param LogConfig: 日志采集配置的json表达
         | 
| 1882 | 
            +
                    # @type LogConfig: String
         | 
| 1883 | 
            +
                    # @param ClusterId: 集群ID
         | 
| 1884 | 
            +
                    # @type ClusterId: String
         | 
| 1885 | 
            +
                    # @param LogsetId: CLS日志集ID
         | 
| 1886 | 
            +
                    # @type LogsetId: String
         | 
| 1887 | 
            +
                    # @param ClusterType: 当前集群类型支持tke、eks
         | 
| 1888 | 
            +
                    # @type ClusterType: String
         | 
| 1889 | 
            +
             | 
| 1890 | 
            +
                    attr_accessor :LogConfig, :ClusterId, :LogsetId, :ClusterType
         | 
| 1891 | 
            +
             | 
| 1892 | 
            +
                    def initialize(logconfig=nil, clusterid=nil, logsetid=nil, clustertype=nil)
         | 
| 1893 | 
            +
                      @LogConfig = logconfig
         | 
| 1894 | 
            +
                      @ClusterId = clusterid
         | 
| 1895 | 
            +
                      @LogsetId = logsetid
         | 
| 1896 | 
            +
                      @ClusterType = clustertype
         | 
| 1897 | 
            +
                    end
         | 
| 1898 | 
            +
             | 
| 1899 | 
            +
                    def deserialize(params)
         | 
| 1900 | 
            +
                      @LogConfig = params['LogConfig']
         | 
| 1901 | 
            +
                      @ClusterId = params['ClusterId']
         | 
| 1902 | 
            +
                      @LogsetId = params['LogsetId']
         | 
| 1903 | 
            +
                      @ClusterType = params['ClusterType']
         | 
| 1904 | 
            +
                    end
         | 
| 1905 | 
            +
                  end
         | 
| 1906 | 
            +
             | 
| 1907 | 
            +
                  # CreateCLSLogConfig返回参数结构体
         | 
| 1908 | 
            +
                  class CreateCLSLogConfigResponse < TencentCloud::Common::AbstractModel
         | 
| 1909 | 
            +
                    # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
         | 
| 1910 | 
            +
                    # @type RequestId: String
         | 
| 1911 | 
            +
             | 
| 1912 | 
            +
                    attr_accessor :RequestId
         | 
| 1913 | 
            +
             | 
| 1914 | 
            +
                    def initialize(requestid=nil)
         | 
| 1915 | 
            +
                      @RequestId = requestid
         | 
| 1916 | 
            +
                    end
         | 
| 1917 | 
            +
             | 
| 1918 | 
            +
                    def deserialize(params)
         | 
| 1919 | 
            +
                      @RequestId = params['RequestId']
         | 
| 1920 | 
            +
                    end
         | 
| 1921 | 
            +
                  end
         | 
| 1922 | 
            +
             | 
| 1879 1923 | 
             
                  # CreateClusterEndpoint请求参数结构体
         | 
| 1880 1924 | 
             
                  class CreateClusterEndpointRequest < TencentCloud::Common::AbstractModel
         | 
| 1881 1925 | 
             
                    # @param ClusterId: 集群ID
         | 
| @@ -3005,6 +3049,51 @@ module TencentCloud | |
| 3005 3049 | 
             
                    end
         | 
| 3006 3050 | 
             
                  end
         | 
| 3007 3051 |  | 
| 3052 | 
            +
                  # CreateEksLogConfig请求参数结构体
         | 
| 3053 | 
            +
                  class CreateEksLogConfigRequest < TencentCloud::Common::AbstractModel
         | 
| 3054 | 
            +
                    # @param ClusterId: 集群ID
         | 
| 3055 | 
            +
                    # @type ClusterId: String
         | 
| 3056 | 
            +
                    # @param LogConfig: 日志采集配置的json表达
         | 
| 3057 | 
            +
                    # @type LogConfig: String
         | 
| 3058 | 
            +
                    # @param LogsetId: 日志集ID
         | 
| 3059 | 
            +
                    # @type LogsetId: String
         | 
| 3060 | 
            +
             | 
| 3061 | 
            +
                    attr_accessor :ClusterId, :LogConfig, :LogsetId
         | 
| 3062 | 
            +
             | 
| 3063 | 
            +
                    def initialize(clusterid=nil, logconfig=nil, logsetid=nil)
         | 
| 3064 | 
            +
                      @ClusterId = clusterid
         | 
| 3065 | 
            +
                      @LogConfig = logconfig
         | 
| 3066 | 
            +
                      @LogsetId = logsetid
         | 
| 3067 | 
            +
                    end
         | 
| 3068 | 
            +
             | 
| 3069 | 
            +
                    def deserialize(params)
         | 
| 3070 | 
            +
                      @ClusterId = params['ClusterId']
         | 
| 3071 | 
            +
                      @LogConfig = params['LogConfig']
         | 
| 3072 | 
            +
                      @LogsetId = params['LogsetId']
         | 
| 3073 | 
            +
                    end
         | 
| 3074 | 
            +
                  end
         | 
| 3075 | 
            +
             | 
| 3076 | 
            +
                  # CreateEksLogConfig返回参数结构体
         | 
| 3077 | 
            +
                  class CreateEksLogConfigResponse < TencentCloud::Common::AbstractModel
         | 
| 3078 | 
            +
                    # @param TopicId: 日志采集topicid
         | 
| 3079 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 3080 | 
            +
                    # @type TopicId: String
         | 
| 3081 | 
            +
                    # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
         | 
| 3082 | 
            +
                    # @type RequestId: String
         | 
| 3083 | 
            +
             | 
| 3084 | 
            +
                    attr_accessor :TopicId, :RequestId
         | 
| 3085 | 
            +
             | 
| 3086 | 
            +
                    def initialize(topicid=nil, requestid=nil)
         | 
| 3087 | 
            +
                      @TopicId = topicid
         | 
| 3088 | 
            +
                      @RequestId = requestid
         | 
| 3089 | 
            +
                    end
         | 
| 3090 | 
            +
             | 
| 3091 | 
            +
                    def deserialize(params)
         | 
| 3092 | 
            +
                      @TopicId = params['TopicId']
         | 
| 3093 | 
            +
                      @RequestId = params['RequestId']
         | 
| 3094 | 
            +
                    end
         | 
| 3095 | 
            +
                  end
         | 
| 3096 | 
            +
             | 
| 3008 3097 | 
             
                  # CreateImageCache请求参数结构体
         | 
| 3009 3098 | 
             
                  class CreateImageCacheRequest < TencentCloud::Common::AbstractModel
         | 
| 3010 3099 | 
             
                    # @param Images: 用于制作镜像缓存的容器镜像列表
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: tencentcloud-sdk-tke
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 3.0. | 
| 4 | 
            +
              version: 3.0.726
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Tencent Cloud
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2023-12- | 
| 11 | 
            +
            date: 2023-12-13 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: tencentcloud-sdk-common
         |