tencentcloud-sdk-tcb 1.0.279 → 1.0.280

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7b7ae58701c31c3a9c0e0d0c16341611cb694f0c
4
- data.tar.gz: 14fa86ff945de3fd389e921e103a2cfa03540ca7
3
+ metadata.gz: d3273f474550d239ead096c8cdb2b2e669acb339
4
+ data.tar.gz: 7f7bb172d7c081ec34f05385ed705a63243a9f02
5
5
  SHA512:
6
- metadata.gz: fdda762996ca24a92e85adb81ec6f07a331367ceeb5bbe2c992d5ba77999e2c2b1a8930857bf04833b3f9b97928376c031c04b5d69ca1dadea40f83b2bd539d1
7
- data.tar.gz: 0c2856a69b5dbb1359b8164ef7394437736af1fd2a4ce7031c753fa2a8f15a49c2ebc03dfe23a53e9a4d1d261c050d54c6eb5ba3a066fb585ecb10e75cdd6899
6
+ metadata.gz: c40140281af8f8662131a0296e355e003ef037b98a6df4b1db5d93efdda6d7c56931f1f45f13f5d870d43a8b56600859242c86ec85581bf5856c05fa920365e5
7
+ data.tar.gz: 6d0a15a3b73ac123951cf841d67c5a992202bfda8080f0fe7ea7dbca4f15a7db19005eda05e8c951f58b1f659999d9b2b3b67ddbccb9ca4e1c129e5dfb6a5ed0
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.279
1
+ 1.0.280
@@ -1592,6 +1592,30 @@ module TencentCloud
1592
1592
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1593
1593
  end
1594
1594
 
1595
+ # 批量冻结
1596
+
1597
+ # @param request: Request instance for FreezeCloudBaseRunServers.
1598
+ # @type request: :class:`Tencentcloud::tcb::V20180608::FreezeCloudBaseRunServersRequest`
1599
+ # @rtype: :class:`Tencentcloud::tcb::V20180608::FreezeCloudBaseRunServersResponse`
1600
+ def FreezeCloudBaseRunServers(request)
1601
+ body = send_request('FreezeCloudBaseRunServers', request.serialize)
1602
+ response = JSON.parse(body)
1603
+ if response['Response'].key?('Error') == false
1604
+ model = FreezeCloudBaseRunServersResponse.new
1605
+ model.deserialize(response['Response'])
1606
+ model
1607
+ else
1608
+ code = response['Response']['Error']['Code']
1609
+ message = response['Response']['Error']['Message']
1610
+ reqid = response['Response']['RequestId']
1611
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1612
+ end
1613
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1614
+ raise e
1615
+ rescue StandardError => e
1616
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1617
+ end
1618
+
1595
1619
  # 修改容器内的版本流量配置
1596
1620
 
1597
1621
  # @param request: Request instance for ModifyCloudBaseRunServerFlowConf.
@@ -1856,6 +1880,30 @@ module TencentCloud
1856
1880
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1857
1881
  end
1858
1882
 
1883
+ # 批量解冻服务
1884
+
1885
+ # @param request: Request instance for UnfreezeCloudBaseRunServers.
1886
+ # @type request: :class:`Tencentcloud::tcb::V20180608::UnfreezeCloudBaseRunServersRequest`
1887
+ # @rtype: :class:`Tencentcloud::tcb::V20180608::UnfreezeCloudBaseRunServersResponse`
1888
+ def UnfreezeCloudBaseRunServers(request)
1889
+ body = send_request('UnfreezeCloudBaseRunServers', request.serialize)
1890
+ response = JSON.parse(body)
1891
+ if response['Response'].key?('Error') == false
1892
+ model = UnfreezeCloudBaseRunServersResponse.new
1893
+ model.deserialize(response['Response'])
1894
+ model
1895
+ else
1896
+ code = response['Response']['Error']['Code']
1897
+ message = response['Response']['Error']['Message']
1898
+ reqid = response['Response']['RequestId']
1899
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1900
+ end
1901
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1902
+ raise e
1903
+ rescue StandardError => e
1904
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1905
+ end
1906
+
1859
1907
 
1860
1908
  end
1861
1909
  end
@@ -5783,6 +5783,57 @@ module TencentCloud
5783
5783
  end
5784
5784
  end
5785
5785
 
5786
+ # FreezeCloudBaseRunServers请求参数结构体
5787
+ class FreezeCloudBaseRunServersRequest < TencentCloud::Common::AbstractModel
5788
+ # @param EnvId: 环境ID
5789
+ # @type EnvId: String
5790
+ # @param ServerNameList: 服务名列表
5791
+ # @type ServerNameList: Array
5792
+
5793
+ attr_accessor :EnvId, :ServerNameList
5794
+
5795
+ def initialize(envid=nil, servernamelist=nil)
5796
+ @EnvId = envid
5797
+ @ServerNameList = servernamelist
5798
+ end
5799
+
5800
+ def deserialize(params)
5801
+ @EnvId = params['EnvId']
5802
+ @ServerNameList = params['ServerNameList']
5803
+ end
5804
+ end
5805
+
5806
+ # FreezeCloudBaseRunServers返回参数结构体
5807
+ class FreezeCloudBaseRunServersResponse < TencentCloud::Common::AbstractModel
5808
+ # @param Result: 批量状态状态
5809
+ # 成功:succ
5810
+ # 失败:fail
5811
+ # 部分:partial(部分成功、部分失败)
5812
+ # 注意:此字段可能返回 null,表示取不到有效值。
5813
+ # 注意:此字段可能返回 null,表示取不到有效值。
5814
+ # @type Result: String
5815
+ # @param FailServerList: 冻结失败服务列表
5816
+ # 注意:此字段可能返回 null,表示取不到有效值。
5817
+ # 注意:此字段可能返回 null,表示取不到有效值。
5818
+ # @type FailServerList: Array
5819
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5820
+ # @type RequestId: String
5821
+
5822
+ attr_accessor :Result, :FailServerList, :RequestId
5823
+
5824
+ def initialize(result=nil, failserverlist=nil, requestid=nil)
5825
+ @Result = result
5826
+ @FailServerList = failserverlist
5827
+ @RequestId = requestid
5828
+ end
5829
+
5830
+ def deserialize(params)
5831
+ @Result = params['Result']
5832
+ @FailServerList = params['FailServerList']
5833
+ @RequestId = params['RequestId']
5834
+ end
5835
+ end
5836
+
5786
5837
  # 函数的信息
5787
5838
  class FunctionInfo < TencentCloud::Common::AbstractModel
5788
5839
  # @param Namespace: 命名空间
@@ -7201,6 +7252,57 @@ module TencentCloud
7201
7252
  end
7202
7253
  end
7203
7254
 
7255
+ # UnfreezeCloudBaseRunServers请求参数结构体
7256
+ class UnfreezeCloudBaseRunServersRequest < TencentCloud::Common::AbstractModel
7257
+ # @param EnvId: 环境ID
7258
+ # @type EnvId: String
7259
+ # @param ServerNameList: 服务名称列表
7260
+ # @type ServerNameList: Array
7261
+
7262
+ attr_accessor :EnvId, :ServerNameList
7263
+
7264
+ def initialize(envid=nil, servernamelist=nil)
7265
+ @EnvId = envid
7266
+ @ServerNameList = servernamelist
7267
+ end
7268
+
7269
+ def deserialize(params)
7270
+ @EnvId = params['EnvId']
7271
+ @ServerNameList = params['ServerNameList']
7272
+ end
7273
+ end
7274
+
7275
+ # UnfreezeCloudBaseRunServers返回参数结构体
7276
+ class UnfreezeCloudBaseRunServersResponse < TencentCloud::Common::AbstractModel
7277
+ # @param Result: 批量执行结果
7278
+ # 成功:succ
7279
+ # 失败:fail
7280
+ # 部分:partial(部分成功、部分失败)
7281
+ # 注意:此字段可能返回 null,表示取不到有效值。
7282
+ # 注意:此字段可能返回 null,表示取不到有效值。
7283
+ # @type Result: String
7284
+ # @param FailServerList: 解冻失败列表
7285
+ # 注意:此字段可能返回 null,表示取不到有效值。
7286
+ # 注意:此字段可能返回 null,表示取不到有效值。
7287
+ # @type FailServerList: Array
7288
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7289
+ # @type RequestId: String
7290
+
7291
+ attr_accessor :Result, :FailServerList, :RequestId
7292
+
7293
+ def initialize(result=nil, failserverlist=nil, requestid=nil)
7294
+ @Result = result
7295
+ @FailServerList = failserverlist
7296
+ @RequestId = requestid
7297
+ end
7298
+
7299
+ def deserialize(params)
7300
+ @Result = params['Result']
7301
+ @FailServerList = params['FailServerList']
7302
+ @RequestId = params['RequestId']
7303
+ end
7304
+ end
7305
+
7204
7306
  end
7205
7307
  end
7206
7308
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tcb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.279
4
+ version: 1.0.280
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-18 00:00:00.000000000 Z
11
+ date: 2022-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common