tencentcloud-sdk-tke 3.0.924 → 3.0.926
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180525/client.rb +48 -0
- data/lib/v20180525/models.rb +145 -2
- 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: 4529f499bd432e0eb7033cb44fe1544723e036d1
|
4
|
+
data.tar.gz: 454a77129042711a522f85a85b282a831a75cdff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60747e3e0bf4b59d1cceabfddd037a5f17949cf703bec7080ff1f4f5cd16b0bc9317ea60ccd95065f24c802222ebd65c83bf605794e064354cc621b9e1e3d9af
|
7
|
+
data.tar.gz: bd9dd6528048a65673a28bf3d1e3d36cfef932ed68f67ff292d6d41bee2022091ce1da3b0335ce9de7907cdd6a6319b5dc397ed26fcbb2a5a38d38deae6b8928
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.926
|
data/lib/v20180525/client.rb
CHANGED
@@ -1781,6 +1781,30 @@ module TencentCloud
|
|
1781
1781
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1782
1782
|
end
|
1783
1783
|
|
1784
|
+
# 查询批量修改标签状态
|
1785
|
+
|
1786
|
+
# @param request: Request instance for DescribeBatchModifyTagsStatus.
|
1787
|
+
# @type request: :class:`Tencentcloud::tke::V20180525::DescribeBatchModifyTagsStatusRequest`
|
1788
|
+
# @rtype: :class:`Tencentcloud::tke::V20180525::DescribeBatchModifyTagsStatusResponse`
|
1789
|
+
def DescribeBatchModifyTagsStatus(request)
|
1790
|
+
body = send_request('DescribeBatchModifyTagsStatus', request.serialize)
|
1791
|
+
response = JSON.parse(body)
|
1792
|
+
if response['Response'].key?('Error') == false
|
1793
|
+
model = DescribeBatchModifyTagsStatusResponse.new
|
1794
|
+
model.deserialize(response['Response'])
|
1795
|
+
model
|
1796
|
+
else
|
1797
|
+
code = response['Response']['Error']['Code']
|
1798
|
+
message = response['Response']['Error']['Message']
|
1799
|
+
reqid = response['Response']['RequestId']
|
1800
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1801
|
+
end
|
1802
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1803
|
+
raise e
|
1804
|
+
rescue StandardError => e
|
1805
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1806
|
+
end
|
1807
|
+
|
1784
1808
|
# 集群弹性伸缩配置
|
1785
1809
|
|
1786
1810
|
# @param request: Request instance for DescribeClusterAsGroupOption.
|
@@ -4565,6 +4589,30 @@ module TencentCloud
|
|
4565
4589
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4566
4590
|
end
|
4567
4591
|
|
4592
|
+
# 修改集群标签
|
4593
|
+
|
4594
|
+
# @param request: Request instance for ModifyClusterTags.
|
4595
|
+
# @type request: :class:`Tencentcloud::tke::V20180525::ModifyClusterTagsRequest`
|
4596
|
+
# @rtype: :class:`Tencentcloud::tke::V20180525::ModifyClusterTagsResponse`
|
4597
|
+
def ModifyClusterTags(request)
|
4598
|
+
body = send_request('ModifyClusterTags', request.serialize)
|
4599
|
+
response = JSON.parse(body)
|
4600
|
+
if response['Response'].key?('Error') == false
|
4601
|
+
model = ModifyClusterTagsResponse.new
|
4602
|
+
model.deserialize(response['Response'])
|
4603
|
+
model
|
4604
|
+
else
|
4605
|
+
code = response['Response']['Error']['Code']
|
4606
|
+
message = response['Response']['Error']['Message']
|
4607
|
+
reqid = response['Response']['RequestId']
|
4608
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
4609
|
+
end
|
4610
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
4611
|
+
raise e
|
4612
|
+
rescue StandardError => e
|
4613
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4614
|
+
end
|
4615
|
+
|
4568
4616
|
# 修改超级节点池
|
4569
4617
|
|
4570
4618
|
# @param request: Request instance for ModifyClusterVirtualNodePool.
|
data/lib/v20180525/models.rb
CHANGED
@@ -5315,6 +5315,68 @@ module TencentCloud
|
|
5315
5315
|
end
|
5316
5316
|
end
|
5317
5317
|
|
5318
|
+
# DescribeBatchModifyTagsStatus请求参数结构体
|
5319
|
+
class DescribeBatchModifyTagsStatusRequest < TencentCloud::Common::AbstractModel
|
5320
|
+
|
5321
|
+
|
5322
|
+
def initialize()
|
5323
|
+
end
|
5324
|
+
|
5325
|
+
def deserialize(params)
|
5326
|
+
end
|
5327
|
+
end
|
5328
|
+
|
5329
|
+
# DescribeBatchModifyTagsStatus返回参数结构体
|
5330
|
+
class DescribeBatchModifyTagsStatusResponse < TencentCloud::Common::AbstractModel
|
5331
|
+
# @param FailedResources: 失败资源列表
|
5332
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5333
|
+
# @type FailedResources: Array
|
5334
|
+
# @param Status: 任务状态:
|
5335
|
+
# - running 运行中
|
5336
|
+
# - failed 失败
|
5337
|
+
# - done 成功
|
5338
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5339
|
+
# @type Status: String
|
5340
|
+
# @param SyncSubresource: 是否同步集群内子资源标签
|
5341
|
+
# @type SyncSubresource: Boolean
|
5342
|
+
# @param Tags: 集群标签
|
5343
|
+
# @type Tags: Array
|
5344
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5345
|
+
# @type RequestId: String
|
5346
|
+
|
5347
|
+
attr_accessor :FailedResources, :Status, :SyncSubresource, :Tags, :RequestId
|
5348
|
+
|
5349
|
+
def initialize(failedresources=nil, status=nil, syncsubresource=nil, tags=nil, requestid=nil)
|
5350
|
+
@FailedResources = failedresources
|
5351
|
+
@Status = status
|
5352
|
+
@SyncSubresource = syncsubresource
|
5353
|
+
@Tags = tags
|
5354
|
+
@RequestId = requestid
|
5355
|
+
end
|
5356
|
+
|
5357
|
+
def deserialize(params)
|
5358
|
+
unless params['FailedResources'].nil?
|
5359
|
+
@FailedResources = []
|
5360
|
+
params['FailedResources'].each do |i|
|
5361
|
+
failedresource_tmp = FailedResource.new
|
5362
|
+
failedresource_tmp.deserialize(i)
|
5363
|
+
@FailedResources << failedresource_tmp
|
5364
|
+
end
|
5365
|
+
end
|
5366
|
+
@Status = params['Status']
|
5367
|
+
@SyncSubresource = params['SyncSubresource']
|
5368
|
+
unless params['Tags'].nil?
|
5369
|
+
@Tags = []
|
5370
|
+
params['Tags'].each do |i|
|
5371
|
+
tag_tmp = Tag.new
|
5372
|
+
tag_tmp.deserialize(i)
|
5373
|
+
@Tags << tag_tmp
|
5374
|
+
end
|
5375
|
+
end
|
5376
|
+
@RequestId = params['RequestId']
|
5377
|
+
end
|
5378
|
+
end
|
5379
|
+
|
5318
5380
|
# DescribeClusterAsGroupOption请求参数结构体
|
5319
5381
|
class DescribeClusterAsGroupOptionRequest < TencentCloud::Common::AbstractModel
|
5320
5382
|
# @param ClusterId: 集群ID
|
@@ -11914,6 +11976,28 @@ module TencentCloud
|
|
11914
11976
|
end
|
11915
11977
|
end
|
11916
11978
|
|
11979
|
+
# 修改标签失败的资源
|
11980
|
+
class FailedResource < TencentCloud::Common::AbstractModel
|
11981
|
+
# @param Resource: 资源六段式
|
11982
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11983
|
+
# @type Resource: String
|
11984
|
+
# @param Error: 执行失败的原因
|
11985
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11986
|
+
# @type Error: String
|
11987
|
+
|
11988
|
+
attr_accessor :Resource, :Error
|
11989
|
+
|
11990
|
+
def initialize(resource=nil, error=nil)
|
11991
|
+
@Resource = resource
|
11992
|
+
@Error = error
|
11993
|
+
end
|
11994
|
+
|
11995
|
+
def deserialize(params)
|
11996
|
+
@Resource = params['Resource']
|
11997
|
+
@Error = params['Error']
|
11998
|
+
end
|
11999
|
+
end
|
12000
|
+
|
11917
12001
|
# 过滤器
|
11918
12002
|
class Filter < TencentCloud::Common::AbstractModel
|
11919
12003
|
# @param Name: 属性名称, 若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
|
@@ -14087,6 +14171,65 @@ module TencentCloud
|
|
14087
14171
|
end
|
14088
14172
|
end
|
14089
14173
|
|
14174
|
+
# ModifyClusterTags请求参数结构体
|
14175
|
+
class ModifyClusterTagsRequest < TencentCloud::Common::AbstractModel
|
14176
|
+
# @param ClusterId: 集群ID
|
14177
|
+
# @type ClusterId: String
|
14178
|
+
# @param Tags: 集群标签
|
14179
|
+
# @type Tags: Array
|
14180
|
+
# @param SyncSubresource: 是否同步集群内子资源标签
|
14181
|
+
# @type SyncSubresource: Boolean
|
14182
|
+
|
14183
|
+
attr_accessor :ClusterId, :Tags, :SyncSubresource
|
14184
|
+
|
14185
|
+
def initialize(clusterid=nil, tags=nil, syncsubresource=nil)
|
14186
|
+
@ClusterId = clusterid
|
14187
|
+
@Tags = tags
|
14188
|
+
@SyncSubresource = syncsubresource
|
14189
|
+
end
|
14190
|
+
|
14191
|
+
def deserialize(params)
|
14192
|
+
@ClusterId = params['ClusterId']
|
14193
|
+
unless params['Tags'].nil?
|
14194
|
+
@Tags = []
|
14195
|
+
params['Tags'].each do |i|
|
14196
|
+
tag_tmp = Tag.new
|
14197
|
+
tag_tmp.deserialize(i)
|
14198
|
+
@Tags << tag_tmp
|
14199
|
+
end
|
14200
|
+
end
|
14201
|
+
@SyncSubresource = params['SyncSubresource']
|
14202
|
+
end
|
14203
|
+
end
|
14204
|
+
|
14205
|
+
# ModifyClusterTags返回参数结构体
|
14206
|
+
class ModifyClusterTagsResponse < TencentCloud::Common::AbstractModel
|
14207
|
+
# @param Tags: 集群标签
|
14208
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
14209
|
+
# @type Tags: Array
|
14210
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14211
|
+
# @type RequestId: String
|
14212
|
+
|
14213
|
+
attr_accessor :Tags, :RequestId
|
14214
|
+
|
14215
|
+
def initialize(tags=nil, requestid=nil)
|
14216
|
+
@Tags = tags
|
14217
|
+
@RequestId = requestid
|
14218
|
+
end
|
14219
|
+
|
14220
|
+
def deserialize(params)
|
14221
|
+
unless params['Tags'].nil?
|
14222
|
+
@Tags = []
|
14223
|
+
params['Tags'].each do |i|
|
14224
|
+
tag_tmp = Tag.new
|
14225
|
+
tag_tmp.deserialize(i)
|
14226
|
+
@Tags << tag_tmp
|
14227
|
+
end
|
14228
|
+
end
|
14229
|
+
@RequestId = params['RequestId']
|
14230
|
+
end
|
14231
|
+
end
|
14232
|
+
|
14090
14233
|
# ModifyClusterVirtualNodePool请求参数结构体
|
14091
14234
|
class ModifyClusterVirtualNodePoolRequest < TencentCloud::Common::AbstractModel
|
14092
14235
|
# @param ClusterId: 集群ID
|
@@ -15064,7 +15207,7 @@ module TencentCloud
|
|
15064
15207
|
# @param Name: 策略英文名称
|
15065
15208
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
15066
15209
|
# @type Name: String
|
15067
|
-
# @param Kind:
|
15210
|
+
# @param Kind: 策略模板类型
|
15068
15211
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
15069
15212
|
# @type Kind: String
|
15070
15213
|
# @param EnabledStatus: 策略开关状态:open打开,close关闭
|
@@ -15119,7 +15262,7 @@ module TencentCloud
|
|
15119
15262
|
# @type EnforcementAction: String
|
15120
15263
|
# @param Name: 策略英文名称
|
15121
15264
|
# @type Name: String
|
15122
|
-
# @param Kind:
|
15265
|
+
# @param Kind: 策略模板类型
|
15123
15266
|
# @type Kind: String
|
15124
15267
|
# @param EnabledStatus: 策略开关状态:open打开,close关闭
|
15125
15268
|
# @type EnabledStatus: String
|
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.926
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-10-
|
11
|
+
date: 2024-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|