tencentcloud-sdk-tsf 3.0.585 → 3.0.586

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0e5c16bee547376f562f0b33f774a47f9acee5b1
4
- data.tar.gz: e8c25f81139162cf93c2d53abc4285b7e0d0a29c
3
+ metadata.gz: 06f316460d76d3d6ae43e0ebc16d90eb893af698
4
+ data.tar.gz: 9fdac030b9563a8c4b79233daa94bccff729a52e
5
5
  SHA512:
6
- metadata.gz: d82ac2d1ad8e3dbc7c0db340ac0274c8b215d8601f7f1e5fe9ec664b4184d83ba7433e7776c07891084fc143cac1cbd5213257b73bbda5612beb4573b3b1c192
7
- data.tar.gz: a0ba189ca177c4bdc1ba26ea758a5b4958a82d651271aa815c2d2b1502052f6d482fd076d7e487f2efe52f3dff60d05d363f8dbf06b9f86b7d858e6fcf55b174
6
+ metadata.gz: 6a136ce866a9cb145590b6968d66c4ac8e595508dd7928918ac735a782f03662199709f9c1db934e7aa314424b93436e80b1ccd4416f3ce6b7065f6d09614759
7
+ data.tar.gz: ef03890e38b8a2a8e9e44f71fb324d0e604b2a762c7178002d107820c52d19a572de70b2e08b6663727a4aa9507a18ffae02af21ef5346cea987cf0a28b000d4
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.585
1
+ 3.0.586
@@ -2070,6 +2070,30 @@ module TencentCloud
2070
2070
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2071
2071
  end
2072
2072
 
2073
+ # 获取部署组其他字段-用于前端并发调用
2074
+
2075
+ # @param request: Request instance for DescribeContainerGroupAttribute.
2076
+ # @type request: :class:`Tencentcloud::tsf::V20180326::DescribeContainerGroupAttributeRequest`
2077
+ # @rtype: :class:`Tencentcloud::tsf::V20180326::DescribeContainerGroupAttributeResponse`
2078
+ def DescribeContainerGroupAttribute(request)
2079
+ body = send_request('DescribeContainerGroupAttribute', request.serialize)
2080
+ response = JSON.parse(body)
2081
+ if response['Response'].key?('Error') == false
2082
+ model = DescribeContainerGroupAttributeResponse.new
2083
+ model.deserialize(response['Response'])
2084
+ model
2085
+ else
2086
+ code = response['Response']['Error']['Code']
2087
+ message = response['Response']['Error']['Message']
2088
+ reqid = response['Response']['RequestId']
2089
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2090
+ end
2091
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2092
+ raise e
2093
+ rescue StandardError => e
2094
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2095
+ end
2096
+
2073
2097
  # 获取部署组详情
2074
2098
 
2075
2099
  # @param request: Request instance for DescribeContainerGroupDeployInfo.
@@ -2665,6 +2665,80 @@ module TencentCloud
2665
2665
  end
2666
2666
  end
2667
2667
 
2668
+ # 部署组列表-其它字段
2669
+ class ContainerGroupOther < TencentCloud::Common::AbstractModel
2670
+ # @param InstanceNum: 实例总数
2671
+ # @type InstanceNum: Integer
2672
+ # @param CurrentNum: 已启动实例总数
2673
+ # @type CurrentNum: Integer
2674
+ # @param LbIp: 负载均衡ip
2675
+ # @type LbIp: String
2676
+ # @param ClusterIp: Service ip
2677
+ # @type ClusterIp: String
2678
+ # @param Status: 服务状态,请参考后面的的状态定义
2679
+ # @type Status: String
2680
+ # @param Message: 服务状态,请参考后面的的状态定义
2681
+ # @type Message: String
2682
+ # @param Envs: 环境变量
2683
+ # @type Envs: Array
2684
+ # @param NodePort: Service NodePort
2685
+ # 注意:此字段可能返回 null,表示取不到有效值。
2686
+ # @type NodePort: Integer
2687
+ # @param SubnetId: 子网ID
2688
+ # 注意:此字段可能返回 null,表示取不到有效值。
2689
+ # @type SubnetId: String
2690
+ # @param HealthCheckSettings: 健康检查相关字段
2691
+ # 注意:此字段可能返回 null,表示取不到有效值。
2692
+ # @type HealthCheckSettings: Array
2693
+ # @param IsNotEqualServiceConfig: 服务配置信息是否匹配
2694
+ # 注意:此字段可能返回 null,表示取不到有效值。
2695
+ # @type IsNotEqualServiceConfig: Boolean
2696
+
2697
+ attr_accessor :InstanceNum, :CurrentNum, :LbIp, :ClusterIp, :Status, :Message, :Envs, :NodePort, :SubnetId, :HealthCheckSettings, :IsNotEqualServiceConfig
2698
+
2699
+ def initialize(instancenum=nil, currentnum=nil, lbip=nil, clusterip=nil, status=nil, message=nil, envs=nil, nodeport=nil, subnetid=nil, healthchecksettings=nil, isnotequalserviceconfig=nil)
2700
+ @InstanceNum = instancenum
2701
+ @CurrentNum = currentnum
2702
+ @LbIp = lbip
2703
+ @ClusterIp = clusterip
2704
+ @Status = status
2705
+ @Message = message
2706
+ @Envs = envs
2707
+ @NodePort = nodeport
2708
+ @SubnetId = subnetid
2709
+ @HealthCheckSettings = healthchecksettings
2710
+ @IsNotEqualServiceConfig = isnotequalserviceconfig
2711
+ end
2712
+
2713
+ def deserialize(params)
2714
+ @InstanceNum = params['InstanceNum']
2715
+ @CurrentNum = params['CurrentNum']
2716
+ @LbIp = params['LbIp']
2717
+ @ClusterIp = params['ClusterIp']
2718
+ @Status = params['Status']
2719
+ @Message = params['Message']
2720
+ unless params['Envs'].nil?
2721
+ @Envs = []
2722
+ params['Envs'].each do |i|
2723
+ env_tmp = Env.new
2724
+ env_tmp.deserialize(i)
2725
+ @Envs << env_tmp
2726
+ end
2727
+ end
2728
+ @NodePort = params['NodePort']
2729
+ @SubnetId = params['SubnetId']
2730
+ unless params['HealthCheckSettings'].nil?
2731
+ @HealthCheckSettings = []
2732
+ params['HealthCheckSettings'].each do |i|
2733
+ healthchecksetting_tmp = HealthCheckSetting.new
2734
+ healthchecksetting_tmp.deserialize(i)
2735
+ @HealthCheckSettings << healthchecksetting_tmp
2736
+ end
2737
+ end
2738
+ @IsNotEqualServiceConfig = params['IsNotEqualServiceConfig']
2739
+ end
2740
+ end
2741
+
2668
2742
  # ContinueRunFailedTaskBatch请求参数结构体
2669
2743
  class ContinueRunFailedTaskBatchRequest < TencentCloud::Common::AbstractModel
2670
2744
  # @param BatchId: 批次ID。
@@ -7336,6 +7410,45 @@ module TencentCloud
7336
7410
  end
7337
7411
  end
7338
7412
 
7413
+ # DescribeContainerGroupAttribute请求参数结构体
7414
+ class DescribeContainerGroupAttributeRequest < TencentCloud::Common::AbstractModel
7415
+ # @param GroupId: 部署组ID
7416
+ # @type GroupId: String
7417
+
7418
+ attr_accessor :GroupId
7419
+
7420
+ def initialize(groupid=nil)
7421
+ @GroupId = groupid
7422
+ end
7423
+
7424
+ def deserialize(params)
7425
+ @GroupId = params['GroupId']
7426
+ end
7427
+ end
7428
+
7429
+ # DescribeContainerGroupAttribute返回参数结构体
7430
+ class DescribeContainerGroupAttributeResponse < TencentCloud::Common::AbstractModel
7431
+ # @param Result: 部署组列表-其它字段
7432
+ # @type Result: :class:`Tencentcloud::Tsf.v20180326.models.ContainerGroupOther`
7433
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7434
+ # @type RequestId: String
7435
+
7436
+ attr_accessor :Result, :RequestId
7437
+
7438
+ def initialize(result=nil, requestid=nil)
7439
+ @Result = result
7440
+ @RequestId = requestid
7441
+ end
7442
+
7443
+ def deserialize(params)
7444
+ unless params['Result'].nil?
7445
+ @Result = ContainerGroupOther.new
7446
+ @Result.deserialize(params['Result'])
7447
+ end
7448
+ @RequestId = params['RequestId']
7449
+ end
7450
+ end
7451
+
7339
7452
  # DescribeContainerGroupDeployInfo请求参数结构体
7340
7453
  class DescribeContainerGroupDeployInfoRequest < TencentCloud::Common::AbstractModel
7341
7454
  # @param GroupId: 实例所属 groupId
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tsf
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.585
4
+ version: 3.0.586
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-06-06 00:00:00.000000000 Z
11
+ date: 2023-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common