tencentcloud-sdk-tke 3.0.1101 → 3.0.1107
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/models.rb +78 -22
- 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: a5a62a5bf5d99d36643107892635ebd7a8482e34
|
4
|
+
data.tar.gz: fe3bbf40f99b12aa4fea95eba89929285089b645
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 958c4df2efd0c32d176df0f22a3c7e0611ebad8bd41ea1139dc0045ea99c8e297f138a1cddf109f4585a4d878c4ee0a6b598bf5c44d17b271046ebc0aa2e71f0
|
7
|
+
data.tar.gz: dcaaedf5c984438815e5c8b5884a929af9472f6c6eb9c2a869f08ff4e045c1201dbc49acc92dc5a4937a41d123d2b491f2832d606f0436fffe8c828512e20efb
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1107
|
data/lib/v20180525/models.rb
CHANGED
@@ -3143,10 +3143,12 @@ module TencentCloud
|
|
3143
3143
|
# @param ResolveConfig: 自定义制作镜像缓存过程中容器实例的宿主机上的 DNS。如:
|
3144
3144
|
# "nameserver 4.4.4.4\nnameserver 8.8.8.8"
|
3145
3145
|
# @type ResolveConfig: String
|
3146
|
+
# @param Tags: 腾讯云标签
|
3147
|
+
# @type Tags: Array
|
3146
3148
|
|
3147
|
-
attr_accessor :Images, :SubnetId, :VpcId, :ImageCacheName, :SecurityGroupIds, :ImageRegistryCredentials, :ExistedEipId, :AutoCreateEip, :AutoCreateEipAttribute, :ImageCacheSize, :RetentionDays, :RegistrySkipVerifyList, :RegistryHttpEndPointList, :ResolveConfig
|
3149
|
+
attr_accessor :Images, :SubnetId, :VpcId, :ImageCacheName, :SecurityGroupIds, :ImageRegistryCredentials, :ExistedEipId, :AutoCreateEip, :AutoCreateEipAttribute, :ImageCacheSize, :RetentionDays, :RegistrySkipVerifyList, :RegistryHttpEndPointList, :ResolveConfig, :Tags
|
3148
3150
|
|
3149
|
-
def initialize(images=nil, subnetid=nil, vpcid=nil, imagecachename=nil, securitygroupids=nil, imageregistrycredentials=nil, existedeipid=nil, autocreateeip=nil, autocreateeipattribute=nil, imagecachesize=nil, retentiondays=nil, registryskipverifylist=nil, registryhttpendpointlist=nil, resolveconfig=nil)
|
3151
|
+
def initialize(images=nil, subnetid=nil, vpcid=nil, imagecachename=nil, securitygroupids=nil, imageregistrycredentials=nil, existedeipid=nil, autocreateeip=nil, autocreateeipattribute=nil, imagecachesize=nil, retentiondays=nil, registryskipverifylist=nil, registryhttpendpointlist=nil, resolveconfig=nil, tags=nil)
|
3150
3152
|
@Images = images
|
3151
3153
|
@SubnetId = subnetid
|
3152
3154
|
@VpcId = vpcid
|
@@ -3161,6 +3163,7 @@ module TencentCloud
|
|
3161
3163
|
@RegistrySkipVerifyList = registryskipverifylist
|
3162
3164
|
@RegistryHttpEndPointList = registryhttpendpointlist
|
3163
3165
|
@ResolveConfig = resolveconfig
|
3166
|
+
@Tags = tags
|
3164
3167
|
end
|
3165
3168
|
|
3166
3169
|
def deserialize(params)
|
@@ -3188,6 +3191,14 @@ module TencentCloud
|
|
3188
3191
|
@RegistrySkipVerifyList = params['RegistrySkipVerifyList']
|
3189
3192
|
@RegistryHttpEndPointList = params['RegistryHttpEndPointList']
|
3190
3193
|
@ResolveConfig = params['ResolveConfig']
|
3194
|
+
unless params['Tags'].nil?
|
3195
|
+
@Tags = []
|
3196
|
+
params['Tags'].each do |i|
|
3197
|
+
tag_tmp = Tag.new
|
3198
|
+
tag_tmp.deserialize(i)
|
3199
|
+
@Tags << tag_tmp
|
3200
|
+
end
|
3201
|
+
end
|
3191
3202
|
end
|
3192
3203
|
end
|
3193
3204
|
|
@@ -12359,10 +12370,16 @@ module TencentCloud
|
|
12359
12370
|
# UpdateFailed:更新失败
|
12360
12371
|
# 只有状态为Ready时,才能正常使用镜像缓存
|
12361
12372
|
# @type Status: String
|
12373
|
+
# @param RetentionDays: 镜像缓存保留时间天数,过期将会自动清理,默认为0,永不过期。
|
12374
|
+
# @type RetentionDays: Integer
|
12375
|
+
# @param ImageRegistryCredentials: 镜像拉取凭证
|
12376
|
+
# @type ImageRegistryCredentials: Array
|
12377
|
+
# @param Tags: 腾讯云标签
|
12378
|
+
# @type Tags: Array
|
12362
12379
|
|
12363
|
-
attr_accessor :ImageCacheId, :ImageCacheName, :ImageCacheSize, :Images, :CreationTime, :ExpireDateTime, :Events, :LastMatchedTime, :SnapshotId, :Status
|
12380
|
+
attr_accessor :ImageCacheId, :ImageCacheName, :ImageCacheSize, :Images, :CreationTime, :ExpireDateTime, :Events, :LastMatchedTime, :SnapshotId, :Status, :RetentionDays, :ImageRegistryCredentials, :Tags
|
12364
12381
|
|
12365
|
-
def initialize(imagecacheid=nil, imagecachename=nil, imagecachesize=nil, images=nil, creationtime=nil, expiredatetime=nil, events=nil, lastmatchedtime=nil, snapshotid=nil, status=nil)
|
12382
|
+
def initialize(imagecacheid=nil, imagecachename=nil, imagecachesize=nil, images=nil, creationtime=nil, expiredatetime=nil, events=nil, lastmatchedtime=nil, snapshotid=nil, status=nil, retentiondays=nil, imageregistrycredentials=nil, tags=nil)
|
12366
12383
|
@ImageCacheId = imagecacheid
|
12367
12384
|
@ImageCacheName = imagecachename
|
12368
12385
|
@ImageCacheSize = imagecachesize
|
@@ -12373,6 +12390,9 @@ module TencentCloud
|
|
12373
12390
|
@LastMatchedTime = lastmatchedtime
|
12374
12391
|
@SnapshotId = snapshotid
|
12375
12392
|
@Status = status
|
12393
|
+
@RetentionDays = retentiondays
|
12394
|
+
@ImageRegistryCredentials = imageregistrycredentials
|
12395
|
+
@Tags = tags
|
12376
12396
|
end
|
12377
12397
|
|
12378
12398
|
def deserialize(params)
|
@@ -12393,6 +12413,23 @@ module TencentCloud
|
|
12393
12413
|
@LastMatchedTime = params['LastMatchedTime']
|
12394
12414
|
@SnapshotId = params['SnapshotId']
|
12395
12415
|
@Status = params['Status']
|
12416
|
+
@RetentionDays = params['RetentionDays']
|
12417
|
+
unless params['ImageRegistryCredentials'].nil?
|
12418
|
+
@ImageRegistryCredentials = []
|
12419
|
+
params['ImageRegistryCredentials'].each do |i|
|
12420
|
+
imageregistrycredential_tmp = ImageRegistryCredential.new
|
12421
|
+
imageregistrycredential_tmp.deserialize(i)
|
12422
|
+
@ImageRegistryCredentials << imageregistrycredential_tmp
|
12423
|
+
end
|
12424
|
+
end
|
12425
|
+
unless params['Tags'].nil?
|
12426
|
+
@Tags = []
|
12427
|
+
params['Tags'].each do |i|
|
12428
|
+
tag_tmp = Tag.new
|
12429
|
+
tag_tmp.deserialize(i)
|
12430
|
+
@Tags << tag_tmp
|
12431
|
+
end
|
12432
|
+
end
|
12396
12433
|
end
|
12397
12434
|
end
|
12398
12435
|
|
@@ -18137,10 +18174,10 @@ module TencentCloud
|
|
18137
18174
|
|
18138
18175
|
# 集群日志开关集合
|
18139
18176
|
class Switch < TencentCloud::Common::AbstractModel
|
18140
|
-
# @param ClusterId: 集群ID
|
18141
|
-
# @type ClusterId: String
|
18142
18177
|
# @param Audit: 审计开关的详细信息
|
18143
18178
|
# @type Audit: :class:`Tencentcloud::Tke.v20180525.models.SwitchInfo`
|
18179
|
+
# @param ClusterId: 集群ID
|
18180
|
+
# @type ClusterId: String
|
18144
18181
|
# @param Event: 事件开关的详细信息
|
18145
18182
|
# @type Event: :class:`Tencentcloud::Tke.v20180525.models.SwitchInfo`
|
18146
18183
|
# @param Log: 普通日志的详细信息
|
@@ -18148,22 +18185,22 @@ module TencentCloud
|
|
18148
18185
|
# @param MasterLog: master 日志详细信息
|
18149
18186
|
# @type MasterLog: :class:`Tencentcloud::Tke.v20180525.models.SwitchInfo`
|
18150
18187
|
|
18151
|
-
attr_accessor :
|
18188
|
+
attr_accessor :Audit, :ClusterId, :Event, :Log, :MasterLog
|
18152
18189
|
|
18153
|
-
def initialize(
|
18154
|
-
@ClusterId = clusterid
|
18190
|
+
def initialize(audit=nil, clusterid=nil, event=nil, log=nil, masterlog=nil)
|
18155
18191
|
@Audit = audit
|
18192
|
+
@ClusterId = clusterid
|
18156
18193
|
@Event = event
|
18157
18194
|
@Log = log
|
18158
18195
|
@MasterLog = masterlog
|
18159
18196
|
end
|
18160
18197
|
|
18161
18198
|
def deserialize(params)
|
18162
|
-
@ClusterId = params['ClusterId']
|
18163
18199
|
unless params['Audit'].nil?
|
18164
18200
|
@Audit = SwitchInfo.new
|
18165
18201
|
@Audit.deserialize(params['Audit'])
|
18166
18202
|
end
|
18203
|
+
@ClusterId = params['ClusterId']
|
18167
18204
|
unless params['Event'].nil?
|
18168
18205
|
@Event = SwitchInfo.new
|
18169
18206
|
@Event.deserialize(params['Event'])
|
@@ -18183,35 +18220,43 @@ module TencentCloud
|
|
18183
18220
|
class SwitchInfo < TencentCloud::Common::AbstractModel
|
18184
18221
|
# @param Enable: 开启标识符 true代表开启
|
18185
18222
|
# @type Enable: Boolean
|
18223
|
+
# @param ErrorMsg: 获取日志状态失败时,返回错误信息
|
18224
|
+
# @type ErrorMsg: String
|
18186
18225
|
# @param LogsetId: CLS日志集ID
|
18187
18226
|
# @type LogsetId: String
|
18227
|
+
# @param Status: 日志主题状态,opened表示已开启,opening开启中,closed表示已关闭,closing 表示关闭中
|
18228
|
+
# @type Status: String
|
18188
18229
|
# @param TopicId: CLS日志主题ID
|
18189
18230
|
# @type TopicId: String
|
18190
|
-
# @param Version: 当前log-agent版本
|
18191
|
-
# @type Version: String
|
18192
|
-
# @param UpgradeAble: 是否可升级
|
18193
|
-
# @type UpgradeAble: Boolean
|
18194
18231
|
# @param TopicRegion: CLS日志主题所属region
|
18195
18232
|
# @type TopicRegion: String
|
18233
|
+
# @param UpgradeAble: 是否可升级
|
18234
|
+
# @type UpgradeAble: Boolean
|
18235
|
+
# @param Version: 当前log-agent版本
|
18236
|
+
# @type Version: String
|
18196
18237
|
|
18197
|
-
attr_accessor :Enable, :LogsetId, :TopicId, :
|
18238
|
+
attr_accessor :Enable, :ErrorMsg, :LogsetId, :Status, :TopicId, :TopicRegion, :UpgradeAble, :Version
|
18198
18239
|
|
18199
|
-
def initialize(enable=nil, logsetid=nil, topicid=nil,
|
18240
|
+
def initialize(enable=nil, errormsg=nil, logsetid=nil, status=nil, topicid=nil, topicregion=nil, upgradeable=nil, version=nil)
|
18200
18241
|
@Enable = enable
|
18242
|
+
@ErrorMsg = errormsg
|
18201
18243
|
@LogsetId = logsetid
|
18244
|
+
@Status = status
|
18202
18245
|
@TopicId = topicid
|
18203
|
-
@Version = version
|
18204
|
-
@UpgradeAble = upgradeable
|
18205
18246
|
@TopicRegion = topicregion
|
18247
|
+
@UpgradeAble = upgradeable
|
18248
|
+
@Version = version
|
18206
18249
|
end
|
18207
18250
|
|
18208
18251
|
def deserialize(params)
|
18209
18252
|
@Enable = params['Enable']
|
18253
|
+
@ErrorMsg = params['ErrorMsg']
|
18210
18254
|
@LogsetId = params['LogsetId']
|
18255
|
+
@Status = params['Status']
|
18211
18256
|
@TopicId = params['TopicId']
|
18212
|
-
@Version = params['Version']
|
18213
|
-
@UpgradeAble = params['UpgradeAble']
|
18214
18257
|
@TopicRegion = params['TopicRegion']
|
18258
|
+
@UpgradeAble = params['UpgradeAble']
|
18259
|
+
@Version = params['Version']
|
18215
18260
|
end
|
18216
18261
|
end
|
18217
18262
|
|
@@ -18960,10 +19005,12 @@ module TencentCloud
|
|
18960
19005
|
# @type RetentionDays: Integer
|
18961
19006
|
# @param SecurityGroupIds: 安全组Id
|
18962
19007
|
# @type SecurityGroupIds: Array
|
19008
|
+
# @param Tags: 腾讯云标签
|
19009
|
+
# @type Tags: Array
|
18963
19010
|
|
18964
|
-
attr_accessor :ImageCacheId, :ImageCacheName, :ImageRegistryCredentials, :Images, :ImageCacheSize, :RetentionDays, :SecurityGroupIds
|
19011
|
+
attr_accessor :ImageCacheId, :ImageCacheName, :ImageRegistryCredentials, :Images, :ImageCacheSize, :RetentionDays, :SecurityGroupIds, :Tags
|
18965
19012
|
|
18966
|
-
def initialize(imagecacheid=nil, imagecachename=nil, imageregistrycredentials=nil, images=nil, imagecachesize=nil, retentiondays=nil, securitygroupids=nil)
|
19013
|
+
def initialize(imagecacheid=nil, imagecachename=nil, imageregistrycredentials=nil, images=nil, imagecachesize=nil, retentiondays=nil, securitygroupids=nil, tags=nil)
|
18967
19014
|
@ImageCacheId = imagecacheid
|
18968
19015
|
@ImageCacheName = imagecachename
|
18969
19016
|
@ImageRegistryCredentials = imageregistrycredentials
|
@@ -18971,6 +19018,7 @@ module TencentCloud
|
|
18971
19018
|
@ImageCacheSize = imagecachesize
|
18972
19019
|
@RetentionDays = retentiondays
|
18973
19020
|
@SecurityGroupIds = securitygroupids
|
19021
|
+
@Tags = tags
|
18974
19022
|
end
|
18975
19023
|
|
18976
19024
|
def deserialize(params)
|
@@ -18988,6 +19036,14 @@ module TencentCloud
|
|
18988
19036
|
@ImageCacheSize = params['ImageCacheSize']
|
18989
19037
|
@RetentionDays = params['RetentionDays']
|
18990
19038
|
@SecurityGroupIds = params['SecurityGroupIds']
|
19039
|
+
unless params['Tags'].nil?
|
19040
|
+
@Tags = []
|
19041
|
+
params['Tags'].each do |i|
|
19042
|
+
tag_tmp = Tag.new
|
19043
|
+
tag_tmp.deserialize(i)
|
19044
|
+
@Tags << tag_tmp
|
19045
|
+
end
|
19046
|
+
end
|
18991
19047
|
end
|
18992
19048
|
end
|
18993
19049
|
|
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.1107
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-07-
|
11
|
+
date: 2025-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|