tencentcloud-sdk-tsf 3.0.951 → 3.0.953

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: 459f53f8b547a113431fb4bd184e0a0714ae6b50
4
- data.tar.gz: d948dede45735c79633fdd16a560c25f7b044c55
3
+ metadata.gz: 31cdd6553e9787dc296d732b1f869146a2ac6f8c
4
+ data.tar.gz: 61dcc5444db292578b41c0dd0a8f3a41911f64cb
5
5
  SHA512:
6
- metadata.gz: fac012bb7201a0f3fb04bce0799f77a3696bf7e6bd7046c3e23b10a672548cd100cc35c7793534ffbadf4609b799eb04807c6c03f02b37562f216c5e616c13f6
7
- data.tar.gz: 2342e91e6247e5a16356732e1e0889cdd286d8082330c5bad6b1dc07ade33a5f7f5e08ffeffc3ce7ac7e52f1c79c50bad9b5a63760d27087944619f474f61294
6
+ metadata.gz: 90b31885d18eedab4b0b5e03436a1d95bffa5af034dba79f0c47548608ddef5dec09c2be64d129c4a3d852a181cb1f93c2bd0a69620580c3c9b94b5eedc94bbd
7
+ data.tar.gz: 78f716cedbf62e4a039a11f3da4795201d2d4443e0651e323c1a7da5a6889e3cd2f2e748f848a42dd32fd53b2b55ecf43eabc4df9f60dbf1fe659f09adacfed8
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.951
1
+ 3.0.953
@@ -2047,6 +2047,9 @@ module TencentCloud
2047
2047
  end
2048
2048
 
2049
2049
  # 获取容器事件列表
2050
+ # 参数限制
2051
+
2052
+ # - 当类型是 instance 时,GroupId是必填项
2050
2053
 
2051
2054
  # @param request: Request instance for DescribeContainerEvents.
2052
2055
  # @type request: :class:`Tencentcloud::tsf::V20180326::DescribeContainerEventsRequest`
@@ -221,6 +221,40 @@ module TencentCloud
221
221
  end
222
222
  end
223
223
 
224
+ # 亲和规则
225
+ class Affinity < TencentCloud::Common::AbstractModel
226
+ # @param Scope: -
227
+ # 注意:此字段可能返回 null,表示取不到有效值。
228
+ # @type Scope: String
229
+ # @param Weight: -
230
+ # 注意:此字段可能返回 null,表示取不到有效值。
231
+ # @type Weight: String
232
+ # @param Paths: -
233
+ # 注意:此字段可能返回 null,表示取不到有效值。
234
+ # @type Paths: Array
235
+
236
+ attr_accessor :Scope, :Weight, :Paths
237
+
238
+ def initialize(scope=nil, weight=nil, paths=nil)
239
+ @Scope = scope
240
+ @Weight = weight
241
+ @Paths = paths
242
+ end
243
+
244
+ def deserialize(params)
245
+ @Scope = params['Scope']
246
+ @Weight = params['Weight']
247
+ unless params['Paths'].nil?
248
+ @Paths = []
249
+ params['Paths'].each do |i|
250
+ commonoption_tmp = CommonOption.new
251
+ commonoption_tmp.deserialize(i)
252
+ @Paths << commonoption_tmp
253
+ end
254
+ end
255
+ end
256
+ end
257
+
224
258
  # 部署javaagent的类型、版本信息
225
259
  class AgentProfile < TencentCloud::Common::AbstractModel
226
260
  # @param AgentType: Agent类型
@@ -885,10 +919,37 @@ module TencentCloud
885
919
  # @param IgnoreCreateImageRepository: IgnoreCreateImageRepository
886
920
  # 注意:此字段可能返回 null,表示取不到有效值。
887
921
  # @type IgnoreCreateImageRepository: Boolean
922
+ # @param ApmInstanceId: Apm业务系统id
923
+ # 注意:此字段可能返回 null,表示取不到有效值。
924
+ # @type ApmInstanceId: String
925
+ # @param ApmInstanceName: Apm业务系统Name
926
+ # 注意:此字段可能返回 null,表示取不到有效值。
927
+ # @type ApmInstanceName: String
928
+ # @param SyncDeleteImageRepository: 同步删除镜像仓库
929
+ # 注意:此字段可能返回 null,表示取不到有效值。
930
+ # @type SyncDeleteImageRepository: Boolean
931
+ # @param MicroserviceSubType: 应用微服务子类型
932
+ # 注意:此字段可能返回 null,表示取不到有效值。
933
+ # @type MicroserviceSubType: String
934
+ # @param ProgramLanguage: 应用编程语言类型
935
+ # 注意:此字段可能返回 null,表示取不到有效值。
936
+ # @type ProgramLanguage: String
937
+ # @param FrameworkType: 开发框架类型[SpringCloud,Dubbo,Go-GRPC,Other]
938
+ # 注意:此字段可能返回 null,表示取不到有效值。
939
+ # @type FrameworkType: String
940
+ # @param ServiceGovernanceConfig: 注册配置治理信息
941
+ # 注意:此字段可能返回 null,表示取不到有效值。
942
+ # @type ServiceGovernanceConfig: :class:`Tencentcloud::Tsf.v20180326.models.ServiceGovernanceConfig`
943
+ # @param MicroserviceTypeList: 微服务类型列表
944
+ # 注意:此字段可能返回 null,表示取不到有效值。
945
+ # @type MicroserviceTypeList: Array
946
+ # @param CreateSameNameImageRepository: 是否同时创建镜像仓库
947
+ # 注意:此字段可能返回 null,表示取不到有效值。
948
+ # @type CreateSameNameImageRepository: Boolean
888
949
 
889
- attr_accessor :ApplicationId, :ApplicationName, :ApplicationDesc, :ApplicationType, :MicroserviceType, :ProgLang, :CreateTime, :UpdateTime, :ApplicationResourceType, :ApplicationRuntimeType, :ApigatewayServiceId, :ApplicationRemarkName, :ServiceConfigList, :IgnoreCreateImageRepository
950
+ attr_accessor :ApplicationId, :ApplicationName, :ApplicationDesc, :ApplicationType, :MicroserviceType, :ProgLang, :CreateTime, :UpdateTime, :ApplicationResourceType, :ApplicationRuntimeType, :ApigatewayServiceId, :ApplicationRemarkName, :ServiceConfigList, :IgnoreCreateImageRepository, :ApmInstanceId, :ApmInstanceName, :SyncDeleteImageRepository, :MicroserviceSubType, :ProgramLanguage, :FrameworkType, :ServiceGovernanceConfig, :MicroserviceTypeList, :CreateSameNameImageRepository
890
951
 
891
- def initialize(applicationid=nil, applicationname=nil, applicationdesc=nil, applicationtype=nil, microservicetype=nil, proglang=nil, createtime=nil, updatetime=nil, applicationresourcetype=nil, applicationruntimetype=nil, apigatewayserviceid=nil, applicationremarkname=nil, serviceconfiglist=nil, ignorecreateimagerepository=nil)
952
+ def initialize(applicationid=nil, applicationname=nil, applicationdesc=nil, applicationtype=nil, microservicetype=nil, proglang=nil, createtime=nil, updatetime=nil, applicationresourcetype=nil, applicationruntimetype=nil, apigatewayserviceid=nil, applicationremarkname=nil, serviceconfiglist=nil, ignorecreateimagerepository=nil, apminstanceid=nil, apminstancename=nil, syncdeleteimagerepository=nil, microservicesubtype=nil, programlanguage=nil, frameworktype=nil, servicegovernanceconfig=nil, microservicetypelist=nil, createsamenameimagerepository=nil)
892
953
  @ApplicationId = applicationid
893
954
  @ApplicationName = applicationname
894
955
  @ApplicationDesc = applicationdesc
@@ -903,6 +964,15 @@ module TencentCloud
903
964
  @ApplicationRemarkName = applicationremarkname
904
965
  @ServiceConfigList = serviceconfiglist
905
966
  @IgnoreCreateImageRepository = ignorecreateimagerepository
967
+ @ApmInstanceId = apminstanceid
968
+ @ApmInstanceName = apminstancename
969
+ @SyncDeleteImageRepository = syncdeleteimagerepository
970
+ @MicroserviceSubType = microservicesubtype
971
+ @ProgramLanguage = programlanguage
972
+ @FrameworkType = frameworktype
973
+ @ServiceGovernanceConfig = servicegovernanceconfig
974
+ @MicroserviceTypeList = microservicetypelist
975
+ @CreateSameNameImageRepository = createsamenameimagerepository
906
976
  end
907
977
 
908
978
  def deserialize(params)
@@ -927,6 +997,18 @@ module TencentCloud
927
997
  end
928
998
  end
929
999
  @IgnoreCreateImageRepository = params['IgnoreCreateImageRepository']
1000
+ @ApmInstanceId = params['ApmInstanceId']
1001
+ @ApmInstanceName = params['ApmInstanceName']
1002
+ @SyncDeleteImageRepository = params['SyncDeleteImageRepository']
1003
+ @MicroserviceSubType = params['MicroserviceSubType']
1004
+ @ProgramLanguage = params['ProgramLanguage']
1005
+ @FrameworkType = params['FrameworkType']
1006
+ unless params['ServiceGovernanceConfig'].nil?
1007
+ @ServiceGovernanceConfig = ServiceGovernanceConfig.new
1008
+ @ServiceGovernanceConfig.deserialize(params['ServiceGovernanceConfig'])
1009
+ end
1010
+ @MicroserviceTypeList = params['MicroserviceTypeList']
1011
+ @CreateSameNameImageRepository = params['CreateSameNameImageRepository']
930
1012
  end
931
1013
  end
932
1014
 
@@ -1035,6 +1117,33 @@ module TencentCloud
1035
1117
  end
1036
1118
  end
1037
1119
 
1120
+ # 打散调度规则
1121
+ class AvailableZoneScatterScheduleRule < TencentCloud::Common::AbstractModel
1122
+ # @param ScatterDimension: -
1123
+ # 注意:此字段可能返回 null,表示取不到有效值。
1124
+ # @type ScatterDimension: String
1125
+ # @param MaxUnbalanceQuantity: -
1126
+ # 注意:此字段可能返回 null,表示取不到有效值。
1127
+ # @type MaxUnbalanceQuantity: Integer
1128
+ # @param IsForceSchedule: -
1129
+ # 注意:此字段可能返回 null,表示取不到有效值。
1130
+ # @type IsForceSchedule: Boolean
1131
+
1132
+ attr_accessor :ScatterDimension, :MaxUnbalanceQuantity, :IsForceSchedule
1133
+
1134
+ def initialize(scatterdimension=nil, maxunbalancequantity=nil, isforceschedule=nil)
1135
+ @ScatterDimension = scatterdimension
1136
+ @MaxUnbalanceQuantity = maxunbalancequantity
1137
+ @IsForceSchedule = isforceschedule
1138
+ end
1139
+
1140
+ def deserialize(params)
1141
+ @ScatterDimension = params['ScatterDimension']
1142
+ @MaxUnbalanceQuantity = params['MaxUnbalanceQuantity']
1143
+ @IsForceSchedule = params['IsForceSchedule']
1144
+ end
1145
+ end
1146
+
1038
1147
  # BindApiGroup请求参数结构体
1039
1148
  class BindApiGroupRequest < TencentCloud::Common::AbstractModel
1040
1149
  # @param GroupGatewayList: 分组绑定网关列表
@@ -1224,8 +1333,8 @@ module TencentCloud
1224
1333
 
1225
1334
  attr_accessor :ConfigId, :ConfigName, :ConfigPath, :ConfigDesc, :ConfigTags, :ConfigPipeline, :ConfigCreateTime, :ConfigUpdateTime, :ConfigSchema, :ConfigAssociatedGroups, :ConfigAssociatedGroupList
1226
1335
  extend Gem::Deprecate
1227
- deprecate :ConfigAssociatedGroups, :none, 2024, 9
1228
- deprecate :ConfigAssociatedGroups=, :none, 2024, 9
1336
+ deprecate :ConfigAssociatedGroups, :none, 2024, 12
1337
+ deprecate :ConfigAssociatedGroups=, :none, 2024, 12
1229
1338
 
1230
1339
  def initialize(configid=nil, configname=nil, configpath=nil, configdesc=nil, configtags=nil, configpipeline=nil, configcreatetime=nil, configupdatetime=nil, configschema=nil, configassociatedgroups=nil, configassociatedgrouplist=nil)
1231
1340
  @ConfigId = configid
@@ -1821,6 +1930,55 @@ module TencentCloud
1821
1930
  end
1822
1931
  end
1823
1932
 
1933
+ # 通用选项
1934
+ class CommonOption < TencentCloud::Common::AbstractModel
1935
+ # @param LabelName: -
1936
+ # 注意:此字段可能返回 null,表示取不到有效值。
1937
+ # @type LabelName: String
1938
+ # @param Operator: -
1939
+ # 注意:此字段可能返回 null,表示取不到有效值。
1940
+ # @type Operator: String
1941
+ # @param LabelValue: -
1942
+ # 注意:此字段可能返回 null,表示取不到有效值。
1943
+ # @type LabelValue: String
1944
+
1945
+ attr_accessor :LabelName, :Operator, :LabelValue
1946
+
1947
+ def initialize(labelname=nil, operator=nil, labelvalue=nil)
1948
+ @LabelName = labelname
1949
+ @Operator = operator
1950
+ @LabelValue = labelvalue
1951
+ end
1952
+
1953
+ def deserialize(params)
1954
+ @LabelName = params['LabelName']
1955
+ @Operator = params['Operator']
1956
+ @LabelValue = params['LabelValue']
1957
+ end
1958
+ end
1959
+
1960
+ # ValueFrom 通用结构
1961
+ class CommonRef < TencentCloud::Common::AbstractModel
1962
+ # @param Name: 名称
1963
+ # 注意:此字段可能返回 null,表示取不到有效值。
1964
+ # @type Name: String
1965
+ # @param Key: Key值
1966
+ # 注意:此字段可能返回 null,表示取不到有效值。
1967
+ # @type Key: String
1968
+
1969
+ attr_accessor :Name, :Key
1970
+
1971
+ def initialize(name=nil, key=nil)
1972
+ @Name = name
1973
+ @Key = key
1974
+ end
1975
+
1976
+ def deserialize(params)
1977
+ @Name = params['Name']
1978
+ @Key = params['Key']
1979
+ end
1980
+ end
1981
+
1824
1982
  # 配置项
1825
1983
  class Config < TencentCloud::Common::AbstractModel
1826
1984
  # @param ConfigId: 配置项ID
@@ -1893,6 +2051,33 @@ module TencentCloud
1893
2051
  end
1894
2052
  end
1895
2053
 
2054
+ # ConfigMap可选项
2055
+ class ConfigMapOption < TencentCloud::Common::AbstractModel
2056
+ # @param Key: -
2057
+ # 注意:此字段可能返回 null,表示取不到有效值。
2058
+ # @type Key: String
2059
+ # @param Path: -
2060
+ # 注意:此字段可能返回 null,表示取不到有效值。
2061
+ # @type Path: String
2062
+ # @param Mode: -
2063
+ # 注意:此字段可能返回 null,表示取不到有效值。
2064
+ # @type Mode: String
2065
+
2066
+ attr_accessor :Key, :Path, :Mode
2067
+
2068
+ def initialize(key=nil, path=nil, mode=nil)
2069
+ @Key = key
2070
+ @Path = path
2071
+ @Mode = mode
2072
+ end
2073
+
2074
+ def deserialize(params)
2075
+ @Key = params['Key']
2076
+ @Path = params['Path']
2077
+ @Mode = params['Mode']
2078
+ end
2079
+ end
2080
+
1896
2081
  # 配置项发布信息
1897
2082
  class ConfigRelease < TencentCloud::Common::AbstractModel
1898
2083
  # @param ConfigReleaseId: 配置项发布ID
@@ -3282,10 +3467,20 @@ module TencentCloud
3282
3467
  # @type IgnoreCreateImageRepository: Boolean
3283
3468
  # @param ProgramIdList: 无
3284
3469
  # @type ProgramIdList: Array
3285
-
3286
- attr_accessor :ApplicationName, :ApplicationType, :MicroserviceType, :ApplicationDesc, :ApplicationLogConfig, :ApplicationResourceType, :ApplicationRuntimeType, :ProgramId, :ServiceConfigList, :IgnoreCreateImageRepository, :ProgramIdList
3287
-
3288
- def initialize(applicationname=nil, applicationtype=nil, microservicetype=nil, applicationdesc=nil, applicationlogconfig=nil, applicationresourcetype=nil, applicationruntimetype=nil, programid=nil, serviceconfiglist=nil, ignorecreateimagerepository=nil, programidlist=nil)
3470
+ # @param ApmInstanceId: apm业务系统id
3471
+ # @type ApmInstanceId: String
3472
+ # @param ProgramLanguage: 编程语言
3473
+ # @type ProgramLanguage: String
3474
+ # @param FrameworkType: 开发框架
3475
+ # @type FrameworkType: String
3476
+ # @param ServiceGovernanceConfig: 注册配置治理
3477
+ # @type ServiceGovernanceConfig: :class:`Tencentcloud::Tsf.v20180326.models.ServiceGovernanceConfig`
3478
+ # @param CreateSameNameImageRepository: 是否创建并关联同名镜像仓库
3479
+ # @type CreateSameNameImageRepository: Boolean
3480
+
3481
+ attr_accessor :ApplicationName, :ApplicationType, :MicroserviceType, :ApplicationDesc, :ApplicationLogConfig, :ApplicationResourceType, :ApplicationRuntimeType, :ProgramId, :ServiceConfigList, :IgnoreCreateImageRepository, :ProgramIdList, :ApmInstanceId, :ProgramLanguage, :FrameworkType, :ServiceGovernanceConfig, :CreateSameNameImageRepository
3482
+
3483
+ def initialize(applicationname=nil, applicationtype=nil, microservicetype=nil, applicationdesc=nil, applicationlogconfig=nil, applicationresourcetype=nil, applicationruntimetype=nil, programid=nil, serviceconfiglist=nil, ignorecreateimagerepository=nil, programidlist=nil, apminstanceid=nil, programlanguage=nil, frameworktype=nil, servicegovernanceconfig=nil, createsamenameimagerepository=nil)
3289
3484
  @ApplicationName = applicationname
3290
3485
  @ApplicationType = applicationtype
3291
3486
  @MicroserviceType = microservicetype
@@ -3297,6 +3492,11 @@ module TencentCloud
3297
3492
  @ServiceConfigList = serviceconfiglist
3298
3493
  @IgnoreCreateImageRepository = ignorecreateimagerepository
3299
3494
  @ProgramIdList = programidlist
3495
+ @ApmInstanceId = apminstanceid
3496
+ @ProgramLanguage = programlanguage
3497
+ @FrameworkType = frameworktype
3498
+ @ServiceGovernanceConfig = servicegovernanceconfig
3499
+ @CreateSameNameImageRepository = createsamenameimagerepository
3300
3500
  end
3301
3501
 
3302
3502
  def deserialize(params)
@@ -3318,6 +3518,14 @@ module TencentCloud
3318
3518
  end
3319
3519
  @IgnoreCreateImageRepository = params['IgnoreCreateImageRepository']
3320
3520
  @ProgramIdList = params['ProgramIdList']
3521
+ @ApmInstanceId = params['ApmInstanceId']
3522
+ @ProgramLanguage = params['ProgramLanguage']
3523
+ @FrameworkType = params['FrameworkType']
3524
+ unless params['ServiceGovernanceConfig'].nil?
3525
+ @ServiceGovernanceConfig = ServiceGovernanceConfig.new
3526
+ @ServiceGovernanceConfig.deserialize(params['ServiceGovernanceConfig'])
3527
+ end
3528
+ @CreateSameNameImageRepository = params['CreateSameNameImageRepository']
3321
3529
  end
3322
3530
  end
3323
3531
 
@@ -4043,10 +4251,12 @@ module TencentCloud
4043
4251
  # @type GroupResourceType: String
4044
4252
  # @param Alias: 部署组备注
4045
4253
  # @type Alias: String
4254
+ # @param Tags: 标签列表
4255
+ # @type Tags: Array
4046
4256
 
4047
- attr_accessor :ApplicationId, :NamespaceId, :GroupName, :ClusterId, :GroupDesc, :GroupResourceType, :Alias
4257
+ attr_accessor :ApplicationId, :NamespaceId, :GroupName, :ClusterId, :GroupDesc, :GroupResourceType, :Alias, :Tags
4048
4258
 
4049
- def initialize(applicationid=nil, namespaceid=nil, groupname=nil, clusterid=nil, groupdesc=nil, groupresourcetype=nil, _alias=nil)
4259
+ def initialize(applicationid=nil, namespaceid=nil, groupname=nil, clusterid=nil, groupdesc=nil, groupresourcetype=nil, _alias=nil, tags=nil)
4050
4260
  @ApplicationId = applicationid
4051
4261
  @NamespaceId = namespaceid
4052
4262
  @GroupName = groupname
@@ -4054,6 +4264,7 @@ module TencentCloud
4054
4264
  @GroupDesc = groupdesc
4055
4265
  @GroupResourceType = groupresourcetype
4056
4266
  @Alias = _alias
4267
+ @Tags = tags
4057
4268
  end
4058
4269
 
4059
4270
  def deserialize(params)
@@ -4064,6 +4275,14 @@ module TencentCloud
4064
4275
  @GroupDesc = params['GroupDesc']
4065
4276
  @GroupResourceType = params['GroupResourceType']
4066
4277
  @Alias = params['Alias']
4278
+ unless params['Tags'].nil?
4279
+ @Tags = []
4280
+ params['Tags'].each do |i|
4281
+ tag_tmp = Tag.new
4282
+ tag_tmp.deserialize(i)
4283
+ @Tags << tag_tmp
4284
+ end
4285
+ end
4067
4286
  end
4068
4287
  end
4069
4288
 
@@ -5043,6 +5262,71 @@ module TencentCloud
5043
5262
  end
5044
5263
  end
5045
5264
 
5265
+ # 自定义Pod调度规则
5266
+ class CustomPodSchedule < TencentCloud::Common::AbstractModel
5267
+ # @param ForceSchedule: -
5268
+ # 注意:此字段可能返回 null,表示取不到有效值。
5269
+ # @type ForceSchedule: :class:`Tencentcloud::Tsf.v20180326.models.ForceSchedule`
5270
+ # @param TrySchedule: -
5271
+ # 注意:此字段可能返回 null,表示取不到有效值。
5272
+ # @type TrySchedule: :class:`Tencentcloud::Tsf.v20180326.models.TrySchedule`
5273
+
5274
+ attr_accessor :ForceSchedule, :TrySchedule
5275
+
5276
+ def initialize(forceschedule=nil, tryschedule=nil)
5277
+ @ForceSchedule = forceschedule
5278
+ @TrySchedule = tryschedule
5279
+ end
5280
+
5281
+ def deserialize(params)
5282
+ unless params['ForceSchedule'].nil?
5283
+ @ForceSchedule = ForceSchedule.new
5284
+ @ForceSchedule.deserialize(params['ForceSchedule'])
5285
+ end
5286
+ unless params['TrySchedule'].nil?
5287
+ @TrySchedule = TrySchedule.new
5288
+ @TrySchedule.deserialize(params['TrySchedule'])
5289
+ end
5290
+ end
5291
+ end
5292
+
5293
+ # 自定义容忍调度规则列表
5294
+ class CustomTolerateSchedule < TencentCloud::Common::AbstractModel
5295
+ # @param Key: -
5296
+ # 注意:此字段可能返回 null,表示取不到有效值。
5297
+ # @type Key: String
5298
+ # @param Operator: -
5299
+ # 注意:此字段可能返回 null,表示取不到有效值。
5300
+ # @type Operator: String
5301
+ # @param Value: -
5302
+ # 注意:此字段可能返回 null,表示取不到有效值。
5303
+ # @type Value: String
5304
+ # @param Effect: -
5305
+ # 注意:此字段可能返回 null,表示取不到有效值。
5306
+ # @type Effect: String
5307
+ # @param TolerationSeconds: -
5308
+ # 注意:此字段可能返回 null,表示取不到有效值。
5309
+ # @type TolerationSeconds: Integer
5310
+
5311
+ attr_accessor :Key, :Operator, :Value, :Effect, :TolerationSeconds
5312
+
5313
+ def initialize(key=nil, operator=nil, value=nil, effect=nil, tolerationseconds=nil)
5314
+ @Key = key
5315
+ @Operator = operator
5316
+ @Value = value
5317
+ @Effect = effect
5318
+ @TolerationSeconds = tolerationseconds
5319
+ end
5320
+
5321
+ def deserialize(params)
5322
+ @Key = params['Key']
5323
+ @Operator = params['Operator']
5324
+ @Value = params['Value']
5325
+ @Effect = params['Effect']
5326
+ @TolerationSeconds = params['TolerationSeconds']
5327
+ end
5328
+ end
5329
+
5046
5330
  # DeleteApiGroup请求参数结构体
5047
5331
  class DeleteApiGroupRequest < TencentCloud::Common::AbstractModel
5048
5332
  # @param GroupId: API 分组ID
@@ -6893,10 +7177,12 @@ module TencentCloud
6893
7177
  # @type ApplicationResourceTypeList: Array
6894
7178
  # @param ApplicationIdList: IdList
6895
7179
  # @type ApplicationIdList: Array
7180
+ # @param MicroserviceTypeList: 查询多种微服务类型的应用
7181
+ # @type MicroserviceTypeList: Array
6896
7182
 
6897
- attr_accessor :SearchWord, :OrderBy, :OrderType, :Offset, :Limit, :ApplicationType, :MicroserviceType, :ApplicationResourceTypeList, :ApplicationIdList
7183
+ attr_accessor :SearchWord, :OrderBy, :OrderType, :Offset, :Limit, :ApplicationType, :MicroserviceType, :ApplicationResourceTypeList, :ApplicationIdList, :MicroserviceTypeList
6898
7184
 
6899
- def initialize(searchword=nil, orderby=nil, ordertype=nil, offset=nil, limit=nil, applicationtype=nil, microservicetype=nil, applicationresourcetypelist=nil, applicationidlist=nil)
7185
+ def initialize(searchword=nil, orderby=nil, ordertype=nil, offset=nil, limit=nil, applicationtype=nil, microservicetype=nil, applicationresourcetypelist=nil, applicationidlist=nil, microservicetypelist=nil)
6900
7186
  @SearchWord = searchword
6901
7187
  @OrderBy = orderby
6902
7188
  @OrderType = ordertype
@@ -6906,6 +7192,7 @@ module TencentCloud
6906
7192
  @MicroserviceType = microservicetype
6907
7193
  @ApplicationResourceTypeList = applicationresourcetypelist
6908
7194
  @ApplicationIdList = applicationidlist
7195
+ @MicroserviceTypeList = microservicetypelist
6909
7196
  end
6910
7197
 
6911
7198
  def deserialize(params)
@@ -6918,6 +7205,7 @@ module TencentCloud
6918
7205
  @MicroserviceType = params['MicroserviceType']
6919
7206
  @ApplicationResourceTypeList = params['ApplicationResourceTypeList']
6920
7207
  @ApplicationIdList = params['ApplicationIdList']
7208
+ @MicroserviceTypeList = params['MicroserviceTypeList']
6921
7209
  end
6922
7210
  end
6923
7211
 
@@ -7560,15 +7848,27 @@ module TencentCloud
7560
7848
  # @type Limit: Integer
7561
7849
  # @param GroupId: 当类型是 instance 时需要
7562
7850
  # @type GroupId: String
7851
+ # @param Kind: event的资源kind
7852
+ # @type Kind: String
7853
+ # @param Type: event 的type
7854
+ # @type Type: String
7855
+ # @param ResourceName: 资源名称
7856
+ # @type ResourceName: String
7857
+ # @param SearchWord: 关键词查询
7858
+ # @type SearchWord: String
7563
7859
 
7564
- attr_accessor :ResourceType, :ResourceId, :Offset, :Limit, :GroupId
7860
+ attr_accessor :ResourceType, :ResourceId, :Offset, :Limit, :GroupId, :Kind, :Type, :ResourceName, :SearchWord
7565
7861
 
7566
- def initialize(resourcetype=nil, resourceid=nil, offset=nil, limit=nil, groupid=nil)
7862
+ def initialize(resourcetype=nil, resourceid=nil, offset=nil, limit=nil, groupid=nil, kind=nil, type=nil, resourcename=nil, searchword=nil)
7567
7863
  @ResourceType = resourcetype
7568
7864
  @ResourceId = resourceid
7569
7865
  @Offset = offset
7570
7866
  @Limit = limit
7571
7867
  @GroupId = groupid
7868
+ @Kind = kind
7869
+ @Type = type
7870
+ @ResourceName = resourcename
7871
+ @SearchWord = searchword
7572
7872
  end
7573
7873
 
7574
7874
  def deserialize(params)
@@ -7577,6 +7877,10 @@ module TencentCloud
7577
7877
  @Offset = params['Offset']
7578
7878
  @Limit = params['Limit']
7579
7879
  @GroupId = params['GroupId']
7880
+ @Kind = params['Kind']
7881
+ @Type = params['Type']
7882
+ @ResourceName = params['ResourceName']
7883
+ @SearchWord = params['SearchWord']
7580
7884
  end
7581
7885
  end
7582
7886
 
@@ -8896,7 +9200,7 @@ module TencentCloud
8896
9200
  # @type ApplicationId: String
8897
9201
  # @param TcrRepoInfo: TcrRepoInfo值
8898
9202
  # @type TcrRepoInfo: :class:`Tencentcloud::Tsf.v20180326.models.TcrRepoInfo`
8899
- # @param RepoName: 镜像仓库
9203
+ # @param RepoName: 镜像仓库名称
8900
9204
  # @type RepoName: String
8901
9205
 
8902
9206
  attr_accessor :SearchWord, :Offset, :Limit, :RepoType, :ApplicationId, :TcrRepoInfo, :RepoName
@@ -10113,14 +10417,20 @@ module TencentCloud
10113
10417
  # @type Limit: Integer
10114
10418
  # @param PodNameList: 过滤字段
10115
10419
  # @type PodNameList: Array
10420
+ # @param DeployVersion: 新老版本pod批次标识
10421
+ # @type DeployVersion: String
10422
+ # @param TaskId: 任务ID
10423
+ # @type TaskId: String
10116
10424
 
10117
- attr_accessor :GroupId, :Offset, :Limit, :PodNameList
10425
+ attr_accessor :GroupId, :Offset, :Limit, :PodNameList, :DeployVersion, :TaskId
10118
10426
 
10119
- def initialize(groupid=nil, offset=nil, limit=nil, podnamelist=nil)
10427
+ def initialize(groupid=nil, offset=nil, limit=nil, podnamelist=nil, deployversion=nil, taskid=nil)
10120
10428
  @GroupId = groupid
10121
10429
  @Offset = offset
10122
10430
  @Limit = limit
10123
10431
  @PodNameList = podnamelist
10432
+ @DeployVersion = deployversion
10433
+ @TaskId = taskid
10124
10434
  end
10125
10435
 
10126
10436
  def deserialize(params)
@@ -10128,6 +10438,8 @@ module TencentCloud
10128
10438
  @Offset = params['Offset']
10129
10439
  @Limit = params['Limit']
10130
10440
  @PodNameList = params['PodNameList']
10441
+ @DeployVersion = params['DeployVersion']
10442
+ @TaskId = params['TaskId']
10131
10443
  end
10132
10444
  end
10133
10445
 
@@ -10658,10 +10970,12 @@ module TencentCloud
10658
10970
  # @type SearchWord: String
10659
10971
  # @param DisableProgramAuthCheck: 无
10660
10972
  # @type DisableProgramAuthCheck: Boolean
10973
+ # @param MicroserviceTypeList: 查询指定微服务类型的应用列表
10974
+ # @type MicroserviceTypeList: Array
10661
10975
 
10662
- attr_accessor :ApplicationIdList, :ApplicationType, :Limit, :Offset, :MicroserviceType, :ApplicationResourceTypeList, :SearchWord, :DisableProgramAuthCheck
10976
+ attr_accessor :ApplicationIdList, :ApplicationType, :Limit, :Offset, :MicroserviceType, :ApplicationResourceTypeList, :SearchWord, :DisableProgramAuthCheck, :MicroserviceTypeList
10663
10977
 
10664
- def initialize(applicationidlist=nil, applicationtype=nil, limit=nil, offset=nil, microservicetype=nil, applicationresourcetypelist=nil, searchword=nil, disableprogramauthcheck=nil)
10978
+ def initialize(applicationidlist=nil, applicationtype=nil, limit=nil, offset=nil, microservicetype=nil, applicationresourcetypelist=nil, searchword=nil, disableprogramauthcheck=nil, microservicetypelist=nil)
10665
10979
  @ApplicationIdList = applicationidlist
10666
10980
  @ApplicationType = applicationtype
10667
10981
  @Limit = limit
@@ -10670,6 +10984,7 @@ module TencentCloud
10670
10984
  @ApplicationResourceTypeList = applicationresourcetypelist
10671
10985
  @SearchWord = searchword
10672
10986
  @DisableProgramAuthCheck = disableprogramauthcheck
10987
+ @MicroserviceTypeList = microservicetypelist
10673
10988
  end
10674
10989
 
10675
10990
  def deserialize(params)
@@ -10681,6 +10996,7 @@ module TencentCloud
10681
10996
  @ApplicationResourceTypeList = params['ApplicationResourceTypeList']
10682
10997
  @SearchWord = params['SearchWord']
10683
10998
  @DisableProgramAuthCheck = params['DisableProgramAuthCheck']
10999
+ @MicroserviceTypeList = params['MicroserviceTypeList']
10684
11000
  end
10685
11001
  end
10686
11002
 
@@ -11868,6 +12184,38 @@ module TencentCloud
11868
12184
  end
11869
12185
  end
11870
12186
 
12187
+ # 空目录选项
12188
+ class EmptyDirOption < TencentCloud::Common::AbstractModel
12189
+ # @param EnableMemory: -
12190
+ # 注意:此字段可能返回 null,表示取不到有效值。
12191
+ # @type EnableMemory: Boolean
12192
+ # @param StorageCapacity: -
12193
+ # 注意:此字段可能返回 null,表示取不到有效值。
12194
+ # @type StorageCapacity: Integer
12195
+ # @param StorageUnit: -
12196
+ # 注意:此字段可能返回 null,表示取不到有效值。
12197
+ # @type StorageUnit: String
12198
+ # @param SizeLimit: -
12199
+ # 注意:此字段可能返回 null,表示取不到有效值。
12200
+ # @type SizeLimit: String
12201
+
12202
+ attr_accessor :EnableMemory, :StorageCapacity, :StorageUnit, :SizeLimit
12203
+
12204
+ def initialize(enablememory=nil, storagecapacity=nil, storageunit=nil, sizelimit=nil)
12205
+ @EnableMemory = enablememory
12206
+ @StorageCapacity = storagecapacity
12207
+ @StorageUnit = storageunit
12208
+ @SizeLimit = sizelimit
12209
+ end
12210
+
12211
+ def deserialize(params)
12212
+ @EnableMemory = params['EnableMemory']
12213
+ @StorageCapacity = params['StorageCapacity']
12214
+ @StorageUnit = params['StorageUnit']
12215
+ @SizeLimit = params['SizeLimit']
12216
+ end
12217
+ end
12218
+
11871
12219
  # EnableLaneRule请求参数结构体
11872
12220
  class EnableLaneRuleRequest < TencentCloud::Common::AbstractModel
11873
12221
  # @param RuleId: 泳道规则ID
@@ -12079,6 +12427,48 @@ module TencentCloud
12079
12427
  end
12080
12428
  end
12081
12429
 
12430
+ # 独占实例
12431
+ class ExclusiveInstance < TencentCloud::Common::AbstractModel
12432
+ # @param CenterType: 配置中心类型[Registration、Configuration]
12433
+ # 注意:此字段可能返回 null,表示取不到有效值。
12434
+ # @type CenterType: String
12435
+ # @param InstanceId: 实例id
12436
+ # 注意:此字段可能返回 null,表示取不到有效值。
12437
+ # @type InstanceId: String
12438
+ # @param InstanceType: 实例类型[Polaris]
12439
+ # 注意:此字段可能返回 null,表示取不到有效值。
12440
+ # @type InstanceType: String
12441
+ # @param InstanceName: 实例名称
12442
+ # 注意:此字段可能返回 null,表示取不到有效值。
12443
+ # @type InstanceName: String
12444
+ # @param RegionId: 实例地域id
12445
+ # 注意:此字段可能返回 null,表示取不到有效值。
12446
+ # @type RegionId: String
12447
+ # @param InstanceNamespaceId: 实例命名空间ID
12448
+ # 注意:此字段可能返回 null,表示取不到有效值。
12449
+ # @type InstanceNamespaceId: String
12450
+
12451
+ attr_accessor :CenterType, :InstanceId, :InstanceType, :InstanceName, :RegionId, :InstanceNamespaceId
12452
+
12453
+ def initialize(centertype=nil, instanceid=nil, instancetype=nil, instancename=nil, regionid=nil, instancenamespaceid=nil)
12454
+ @CenterType = centertype
12455
+ @InstanceId = instanceid
12456
+ @InstanceType = instancetype
12457
+ @InstanceName = instancename
12458
+ @RegionId = regionid
12459
+ @InstanceNamespaceId = instancenamespaceid
12460
+ end
12461
+
12462
+ def deserialize(params)
12463
+ @CenterType = params['CenterType']
12464
+ @InstanceId = params['InstanceId']
12465
+ @InstanceType = params['InstanceType']
12466
+ @InstanceName = params['InstanceName']
12467
+ @RegionId = params['RegionId']
12468
+ @InstanceNamespaceId = params['InstanceNamespaceId']
12469
+ end
12470
+ end
12471
+
12082
12472
  # ExecuteTaskFlow请求参数结构体
12083
12473
  class ExecuteTaskFlowRequest < TencentCloud::Common::AbstractModel
12084
12474
  # @param FlowId: 工作流 ID
@@ -12408,6 +12798,42 @@ module TencentCloud
12408
12798
  end
12409
12799
  end
12410
12800
 
12801
+ # 强制调度配置
12802
+ class ForceSchedule < TencentCloud::Common::AbstractModel
12803
+ # @param AffinityList: -
12804
+ # 注意:此字段可能返回 null,表示取不到有效值。
12805
+ # @type AffinityList: Array
12806
+ # @param AntiAffinityList: -
12807
+ # 注意:此字段可能返回 null,表示取不到有效值。
12808
+ # @type AntiAffinityList: Array
12809
+
12810
+ attr_accessor :AffinityList, :AntiAffinityList
12811
+
12812
+ def initialize(affinitylist=nil, antiaffinitylist=nil)
12813
+ @AffinityList = affinitylist
12814
+ @AntiAffinityList = antiaffinitylist
12815
+ end
12816
+
12817
+ def deserialize(params)
12818
+ unless params['AffinityList'].nil?
12819
+ @AffinityList = []
12820
+ params['AffinityList'].each do |i|
12821
+ affinity_tmp = Affinity.new
12822
+ affinity_tmp.deserialize(i)
12823
+ @AffinityList << affinity_tmp
12824
+ end
12825
+ end
12826
+ unless params['AntiAffinityList'].nil?
12827
+ @AntiAffinityList = []
12828
+ params['AntiAffinityList'].each do |i|
12829
+ affinity_tmp = Affinity.new
12830
+ affinity_tmp.deserialize(i)
12831
+ @AntiAffinityList << affinity_tmp
12832
+ end
12833
+ end
12834
+ end
12835
+ end
12836
+
12411
12837
  # 网关分组简单信息
12412
12838
  class GatewayApiGroupVo < TencentCloud::Common::AbstractModel
12413
12839
  # @param GroupId: 分组ID
@@ -12459,12 +12885,18 @@ module TencentCloud
12459
12885
 
12460
12886
  # TSF Envoy网关服务配置
12461
12887
  class GatewayConfig < TencentCloud::Common::AbstractModel
12888
+ # @param Name: 服务名称
12889
+ # 注意:此字段可能返回 null,表示取不到有效值。
12890
+ # @type Name: String
12462
12891
 
12892
+ attr_accessor :Name
12463
12893
 
12464
- def initialize()
12894
+ def initialize(name=nil)
12895
+ @Name = name
12465
12896
  end
12466
12897
 
12467
12898
  def deserialize(params)
12899
+ @Name = params['Name']
12468
12900
  end
12469
12901
  end
12470
12902
 
@@ -12982,10 +13414,13 @@ module TencentCloud
12982
13414
  # @param NodeInstanceId: 节点实例id
12983
13415
  # 注意:此字段可能返回 null,表示取不到有效值。
12984
13416
  # @type NodeInstanceId: String
13417
+ # @param SpecTotalCount: 预期副本数
13418
+ # 注意:此字段可能返回 null,表示取不到有效值。
13419
+ # @type SpecTotalCount: String
12985
13420
 
12986
- attr_accessor :PodName, :PodId, :Status, :Reason, :NodeIp, :Ip, :RestartCount, :ReadyCount, :Runtime, :CreatedAt, :ServiceInstanceStatus, :InstanceAvailableStatus, :InstanceStatus, :NodeInstanceId
13421
+ attr_accessor :PodName, :PodId, :Status, :Reason, :NodeIp, :Ip, :RestartCount, :ReadyCount, :Runtime, :CreatedAt, :ServiceInstanceStatus, :InstanceAvailableStatus, :InstanceStatus, :NodeInstanceId, :SpecTotalCount
12987
13422
 
12988
- def initialize(podname=nil, podid=nil, status=nil, reason=nil, nodeip=nil, ip=nil, restartcount=nil, readycount=nil, runtime=nil, createdat=nil, serviceinstancestatus=nil, instanceavailablestatus=nil, instancestatus=nil, nodeinstanceid=nil)
13423
+ def initialize(podname=nil, podid=nil, status=nil, reason=nil, nodeip=nil, ip=nil, restartcount=nil, readycount=nil, runtime=nil, createdat=nil, serviceinstancestatus=nil, instanceavailablestatus=nil, instancestatus=nil, nodeinstanceid=nil, spectotalcount=nil)
12989
13424
  @PodName = podname
12990
13425
  @PodId = podid
12991
13426
  @Status = status
@@ -13000,6 +13435,7 @@ module TencentCloud
13000
13435
  @InstanceAvailableStatus = instanceavailablestatus
13001
13436
  @InstanceStatus = instancestatus
13002
13437
  @NodeInstanceId = nodeinstanceid
13438
+ @SpecTotalCount = spectotalcount
13003
13439
  end
13004
13440
 
13005
13441
  def deserialize(params)
@@ -13017,6 +13453,7 @@ module TencentCloud
13017
13453
  @InstanceAvailableStatus = params['InstanceAvailableStatus']
13018
13454
  @InstanceStatus = params['InstanceStatus']
13019
13455
  @NodeInstanceId = params['NodeInstanceId']
13456
+ @SpecTotalCount = params['SpecTotalCount']
13020
13457
  end
13021
13458
  end
13022
13459
 
@@ -13414,10 +13851,16 @@ module TencentCloud
13414
13851
  # @param Public: 是否公共,1:公有,0:私有
13415
13852
  # 注意:此字段可能返回 null,表示取不到有效值。
13416
13853
  # @type Public: Integer
13854
+ # @param CreateMode: 创建方式:manual | automatic
13855
+ # 注意:此字段可能返回 null,表示取不到有效值。
13856
+ # @type CreateMode: String
13857
+ # @param RepoName: 仓库名,等同reponame字段
13858
+ # 注意:此字段可能返回 null,表示取不到有效值。
13859
+ # @type RepoName: String
13417
13860
 
13418
- attr_accessor :Reponame, :Repotype, :TagCount, :IsPublic, :IsUserFavor, :IsQcloudOfficial, :FavorCount, :PullCount, :Description, :CreationTime, :UpdateTime, :TcrRepoInfo, :TcrBindingId, :ApplicationId, :ApplicationName, :ApplicationNameReal, :Public
13861
+ attr_accessor :Reponame, :Repotype, :TagCount, :IsPublic, :IsUserFavor, :IsQcloudOfficial, :FavorCount, :PullCount, :Description, :CreationTime, :UpdateTime, :TcrRepoInfo, :TcrBindingId, :ApplicationId, :ApplicationName, :ApplicationNameReal, :Public, :CreateMode, :RepoName
13419
13862
 
13420
- def initialize(reponame=nil, repotype=nil, tagcount=nil, ispublic=nil, isuserfavor=nil, isqcloudofficial=nil, favorcount=nil, pullcount=nil, description=nil, creationtime=nil, updatetime=nil, tcrrepoinfo=nil, tcrbindingid=nil, applicationid=nil, applicationname=nil, applicationnamereal=nil, public=nil)
13863
+ def initialize(reponame=nil, repotype=nil, tagcount=nil, ispublic=nil, isuserfavor=nil, isqcloudofficial=nil, favorcount=nil, pullcount=nil, description=nil, creationtime=nil, updatetime=nil, tcrrepoinfo=nil, tcrbindingid=nil, applicationid=nil, applicationname=nil, applicationnamereal=nil, public=nil, createmode=nil, reponame=nil)
13421
13864
  @Reponame = reponame
13422
13865
  @Repotype = repotype
13423
13866
  @TagCount = tagcount
@@ -13435,6 +13878,8 @@ module TencentCloud
13435
13878
  @ApplicationName = applicationname
13436
13879
  @ApplicationNameReal = applicationnamereal
13437
13880
  @Public = public
13881
+ @CreateMode = createmode
13882
+ @RepoName = reponame
13438
13883
  end
13439
13884
 
13440
13885
  def deserialize(params)
@@ -13461,6 +13906,8 @@ module TencentCloud
13461
13906
  end
13462
13907
  @ApplicationNameReal = params['ApplicationNameReal']
13463
13908
  @Public = params['Public']
13909
+ @CreateMode = params['CreateMode']
13910
+ @RepoName = params['RepoName']
13464
13911
  end
13465
13912
  end
13466
13913
 
@@ -14936,15 +15383,24 @@ module TencentCloud
14936
15383
  # @type ApplicationRemarkName: String
14937
15384
  # @param ServiceConfigList: 服务配置信息列表
14938
15385
  # @type ServiceConfigList: Array
15386
+ # @param MicroserviceType: 应用的微服务类型
15387
+ # @type MicroserviceType: String
15388
+ # @param ServiceGovernanceConfig: 注册配置治理信息
15389
+ # @type ServiceGovernanceConfig: :class:`Tencentcloud::Tsf.v20180326.models.ServiceGovernanceConfig`
15390
+ # @param FrameworkType: 应用开发框架
15391
+ # @type FrameworkType: String
14939
15392
 
14940
- attr_accessor :ApplicationId, :ApplicationName, :ApplicationDesc, :ApplicationRemarkName, :ServiceConfigList
15393
+ attr_accessor :ApplicationId, :ApplicationName, :ApplicationDesc, :ApplicationRemarkName, :ServiceConfigList, :MicroserviceType, :ServiceGovernanceConfig, :FrameworkType
14941
15394
 
14942
- def initialize(applicationid=nil, applicationname=nil, applicationdesc=nil, applicationremarkname=nil, serviceconfiglist=nil)
15395
+ def initialize(applicationid=nil, applicationname=nil, applicationdesc=nil, applicationremarkname=nil, serviceconfiglist=nil, microservicetype=nil, servicegovernanceconfig=nil, frameworktype=nil)
14943
15396
  @ApplicationId = applicationid
14944
15397
  @ApplicationName = applicationname
14945
15398
  @ApplicationDesc = applicationdesc
14946
15399
  @ApplicationRemarkName = applicationremarkname
14947
15400
  @ServiceConfigList = serviceconfiglist
15401
+ @MicroserviceType = microservicetype
15402
+ @ServiceGovernanceConfig = servicegovernanceconfig
15403
+ @FrameworkType = frameworktype
14948
15404
  end
14949
15405
 
14950
15406
  def deserialize(params)
@@ -14960,6 +15416,12 @@ module TencentCloud
14960
15416
  @ServiceConfigList << serviceconfig_tmp
14961
15417
  end
14962
15418
  end
15419
+ @MicroserviceType = params['MicroserviceType']
15420
+ unless params['ServiceGovernanceConfig'].nil?
15421
+ @ServiceGovernanceConfig = ServiceGovernanceConfig.new
15422
+ @ServiceGovernanceConfig.deserialize(params['ServiceGovernanceConfig'])
15423
+ end
15424
+ @FrameworkType = params['FrameworkType']
14963
15425
  end
14964
15426
  end
14965
15427
 
@@ -16596,7 +17058,7 @@ module TencentCloud
16596
17058
  end
16597
17059
  end
16598
17060
 
16599
- # 端口对象
17061
+ # 端口对象
16600
17062
  class ProtocolPort < TencentCloud::Common::AbstractModel
16601
17063
  # @param Protocol: TCP UDP
16602
17064
  # @type Protocol: String
@@ -16607,14 +17069,18 @@ module TencentCloud
16607
17069
  # @param NodePort: 主机端口
16608
17070
  # 注意:此字段可能返回 null,表示取不到有效值。
16609
17071
  # @type NodePort: Integer
17072
+ # @param Name: 端口名称
17073
+ # 注意:此字段可能返回 null,表示取不到有效值。
17074
+ # @type Name: String
16610
17075
 
16611
- attr_accessor :Protocol, :Port, :TargetPort, :NodePort
17076
+ attr_accessor :Protocol, :Port, :TargetPort, :NodePort, :Name
16612
17077
 
16613
- def initialize(protocol=nil, port=nil, targetport=nil, nodeport=nil)
17078
+ def initialize(protocol=nil, port=nil, targetport=nil, nodeport=nil, name=nil)
16614
17079
  @Protocol = protocol
16615
17080
  @Port = port
16616
17081
  @TargetPort = targetport
16617
17082
  @NodePort = nodeport
17083
+ @Name = name
16618
17084
  end
16619
17085
 
16620
17086
  def deserialize(params)
@@ -16622,6 +17088,7 @@ module TencentCloud
16622
17088
  @Port = params['Port']
16623
17089
  @TargetPort = params['TargetPort']
16624
17090
  @NodePort = params['NodePort']
17091
+ @Name = params['Name']
16625
17092
  end
16626
17093
  end
16627
17094
 
@@ -17533,15 +18000,108 @@ module TencentCloud
17533
18000
  # @param Type: NONE:不使用调度策略;CROSS_AZ:跨可用区部署
17534
18001
  # 注意:此字段可能返回 null,表示取不到有效值。
17535
18002
  # @type Type: String
18003
+ # @param NodeScheduleStrategyType: -
18004
+ # 注意:此字段可能返回 null,表示取不到有效值。
18005
+ # @type NodeScheduleStrategyType: String
18006
+ # @param NodeScheduleOptions: -
18007
+ # 注意:此字段可能返回 null,表示取不到有效值。
18008
+ # @type NodeScheduleOptions: Array
18009
+ # @param StrongAffinityList: -
18010
+ # 注意:此字段可能返回 null,表示取不到有效值。
18011
+ # @type StrongAffinityList: Array
18012
+ # @param WeakAffinityList: -
18013
+ # 注意:此字段可能返回 null,表示取不到有效值。
18014
+ # @type WeakAffinityList: Array
18015
+ # @param WeakAffinityWeight: -
18016
+ # 注意:此字段可能返回 null,表示取不到有效值。
18017
+ # @type WeakAffinityWeight: Integer
18018
+ # @param AvailableZoneScatterScheduleType: -
18019
+ # 注意:此字段可能返回 null,表示取不到有效值。
18020
+ # @type AvailableZoneScatterScheduleType: String
18021
+ # @param AvailableZoneScatterScheduleRules: -
18022
+ # 注意:此字段可能返回 null,表示取不到有效值。
18023
+ # @type AvailableZoneScatterScheduleRules: Array
18024
+ # @param PodScheduleStrategyType: -
18025
+ # 注意:此字段可能返回 null,表示取不到有效值。
18026
+ # @type PodScheduleStrategyType: String
18027
+ # @param CustomPodSchedule: -
18028
+ # 注意:此字段可能返回 null,表示取不到有效值。
18029
+ # @type CustomPodSchedule: :class:`Tencentcloud::Tsf.v20180326.models.CustomPodSchedule`
18030
+ # @param TolerateScheduleType: -
18031
+ # 注意:此字段可能返回 null,表示取不到有效值。
18032
+ # @type TolerateScheduleType: String
18033
+ # @param CustomTolerateSchedules: -
18034
+ # 注意:此字段可能返回 null,表示取不到有效值。
18035
+ # @type CustomTolerateSchedules: Array
17536
18036
 
17537
- attr_accessor :Type
18037
+ attr_accessor :Type, :NodeScheduleStrategyType, :NodeScheduleOptions, :StrongAffinityList, :WeakAffinityList, :WeakAffinityWeight, :AvailableZoneScatterScheduleType, :AvailableZoneScatterScheduleRules, :PodScheduleStrategyType, :CustomPodSchedule, :TolerateScheduleType, :CustomTolerateSchedules
17538
18038
 
17539
- def initialize(type=nil)
18039
+ def initialize(type=nil, nodeschedulestrategytype=nil, nodescheduleoptions=nil, strongaffinitylist=nil, weakaffinitylist=nil, weakaffinityweight=nil, availablezonescatterscheduletype=nil, availablezonescatterschedulerules=nil, podschedulestrategytype=nil, custompodschedule=nil, toleratescheduletype=nil, customtolerateschedules=nil)
17540
18040
  @Type = type
18041
+ @NodeScheduleStrategyType = nodeschedulestrategytype
18042
+ @NodeScheduleOptions = nodescheduleoptions
18043
+ @StrongAffinityList = strongaffinitylist
18044
+ @WeakAffinityList = weakaffinitylist
18045
+ @WeakAffinityWeight = weakaffinityweight
18046
+ @AvailableZoneScatterScheduleType = availablezonescatterscheduletype
18047
+ @AvailableZoneScatterScheduleRules = availablezonescatterschedulerules
18048
+ @PodScheduleStrategyType = podschedulestrategytype
18049
+ @CustomPodSchedule = custompodschedule
18050
+ @TolerateScheduleType = toleratescheduletype
18051
+ @CustomTolerateSchedules = customtolerateschedules
17541
18052
  end
17542
18053
 
17543
18054
  def deserialize(params)
17544
18055
  @Type = params['Type']
18056
+ @NodeScheduleStrategyType = params['NodeScheduleStrategyType']
18057
+ unless params['NodeScheduleOptions'].nil?
18058
+ @NodeScheduleOptions = []
18059
+ params['NodeScheduleOptions'].each do |i|
18060
+ commonoption_tmp = CommonOption.new
18061
+ commonoption_tmp.deserialize(i)
18062
+ @NodeScheduleOptions << commonoption_tmp
18063
+ end
18064
+ end
18065
+ unless params['StrongAffinityList'].nil?
18066
+ @StrongAffinityList = []
18067
+ params['StrongAffinityList'].each do |i|
18068
+ commonoption_tmp = CommonOption.new
18069
+ commonoption_tmp.deserialize(i)
18070
+ @StrongAffinityList << commonoption_tmp
18071
+ end
18072
+ end
18073
+ unless params['WeakAffinityList'].nil?
18074
+ @WeakAffinityList = []
18075
+ params['WeakAffinityList'].each do |i|
18076
+ commonoption_tmp = CommonOption.new
18077
+ commonoption_tmp.deserialize(i)
18078
+ @WeakAffinityList << commonoption_tmp
18079
+ end
18080
+ end
18081
+ @WeakAffinityWeight = params['WeakAffinityWeight']
18082
+ @AvailableZoneScatterScheduleType = params['AvailableZoneScatterScheduleType']
18083
+ unless params['AvailableZoneScatterScheduleRules'].nil?
18084
+ @AvailableZoneScatterScheduleRules = []
18085
+ params['AvailableZoneScatterScheduleRules'].each do |i|
18086
+ availablezonescatterschedulerule_tmp = AvailableZoneScatterScheduleRule.new
18087
+ availablezonescatterschedulerule_tmp.deserialize(i)
18088
+ @AvailableZoneScatterScheduleRules << availablezonescatterschedulerule_tmp
18089
+ end
18090
+ end
18091
+ @PodScheduleStrategyType = params['PodScheduleStrategyType']
18092
+ unless params['CustomPodSchedule'].nil?
18093
+ @CustomPodSchedule = CustomPodSchedule.new
18094
+ @CustomPodSchedule.deserialize(params['CustomPodSchedule'])
18095
+ end
18096
+ @TolerateScheduleType = params['TolerateScheduleType']
18097
+ unless params['CustomTolerateSchedules'].nil?
18098
+ @CustomTolerateSchedules = []
18099
+ params['CustomTolerateSchedules'].each do |i|
18100
+ customtolerateschedule_tmp = CustomTolerateSchedule.new
18101
+ customtolerateschedule_tmp.deserialize(i)
18102
+ @CustomTolerateSchedules << customtolerateschedule_tmp
18103
+ end
18104
+ end
17545
18105
  end
17546
18106
  end
17547
18107
 
@@ -17756,6 +18316,40 @@ module TencentCloud
17756
18316
  end
17757
18317
  end
17758
18318
 
18319
+ # 注册配置治理信息
18320
+ class ServiceGovernanceConfig < TencentCloud::Common::AbstractModel
18321
+ # @param EnableGovernance: 是否开启服务注册治理
18322
+ # 注意:此字段可能返回 null,表示取不到有效值。
18323
+ # @type EnableGovernance: Boolean
18324
+ # @param GovernanceType: 服务治理类型
18325
+ # 注意:此字段可能返回 null,表示取不到有效值。
18326
+ # @type GovernanceType: String
18327
+ # @param ExclusiveInstances: 独享实例列表
18328
+ # 注意:此字段可能返回 null,表示取不到有效值。
18329
+ # @type ExclusiveInstances: Array
18330
+
18331
+ attr_accessor :EnableGovernance, :GovernanceType, :ExclusiveInstances
18332
+
18333
+ def initialize(enablegovernance=nil, governancetype=nil, exclusiveinstances=nil)
18334
+ @EnableGovernance = enablegovernance
18335
+ @GovernanceType = governancetype
18336
+ @ExclusiveInstances = exclusiveinstances
18337
+ end
18338
+
18339
+ def deserialize(params)
18340
+ @EnableGovernance = params['EnableGovernance']
18341
+ @GovernanceType = params['GovernanceType']
18342
+ unless params['ExclusiveInstances'].nil?
18343
+ @ExclusiveInstances = []
18344
+ params['ExclusiveInstances'].each do |i|
18345
+ exclusiveinstance_tmp = ExclusiveInstance.new
18346
+ exclusiveinstance_tmp.deserialize(i)
18347
+ @ExclusiveInstances << exclusiveinstance_tmp
18348
+ end
18349
+ end
18350
+ end
18351
+ end
18352
+
17759
18353
  # 容器网络设置。
17760
18354
  class ServiceSetting < TencentCloud::Common::AbstractModel
17761
18355
  # @param AccessType: 0:公网, 1:集群内访问, 2:NodePort, 3: VPC 内网访问
@@ -17782,10 +18376,49 @@ module TencentCloud
17782
18376
  # @param SessionAffinityTimeoutSeconds: SessionAffinity会话时间,默认10800
17783
18377
  # 注意:此字段可能返回 null,表示取不到有效值。
17784
18378
  # @type SessionAffinityTimeoutSeconds: Integer
18379
+ # @param ServiceName: 服务名称
18380
+ # 注意:此字段可能返回 null,表示取不到有效值。
18381
+ # @type ServiceName: String
18382
+ # @param ExternalTrafficStrategy: 外部流量策略
18383
+ # 注意:此字段可能返回 null,表示取不到有效值。
18384
+ # @type ExternalTrafficStrategy: String
18385
+ # @param ExternalTrafficPolicy: 外部流量策略
18386
+ # 注意:此字段可能返回 null,表示取不到有效值。
18387
+ # @type ExternalTrafficPolicy: String
18388
+ # @param LoadBalancerProvisioner: 负载均衡提供者
18389
+ # 注意:此字段可能返回 null,表示取不到有效值。
18390
+ # @type LoadBalancerProvisioner: String
18391
+ # @param LoadBalancingType: 负载均衡类型
18392
+ # 注意:此字段可能返回 null,表示取不到有效值。
18393
+ # @type LoadBalancingType: String
18394
+ # @param ClusterIp: k8s负载均衡内网vip
18395
+ # 注意:此字段可能返回 null,表示取不到有效值。
18396
+ # @type ClusterIp: String
18397
+ # @param DisableServiceInt: 禁用服务Int记录
18398
+ # 注意:此字段可能返回 null,表示取不到有效值。
18399
+ # @type DisableServiceInt: Integer
18400
+ # @param OpenSessionAffinityInt: 开启SessionAffinity Int记录
18401
+ # 注意:此字段可能返回 null,表示取不到有效值。
18402
+ # @type OpenSessionAffinityInt: Integer
18403
+ # @param HeadlessServiceInt: 开启HeadlessService int记录
18404
+ # 注意:此字段可能返回 null,表示取不到有效值。
18405
+ # @type HeadlessServiceInt: Integer
18406
+ # @param Name: 服务名称
18407
+ # 注意:此字段可能返回 null,表示取不到有效值。
18408
+ # @type Name: String
18409
+ # @param VpcId: VPC网络ID
18410
+ # 注意:此字段可能返回 null,表示取不到有效值。
18411
+ # @type VpcId: String
18412
+ # @param LoadBalancingIp: 负载均衡VIP
18413
+ # 注意:此字段可能返回 null,表示取不到有效值。
18414
+ # @type LoadBalancingIp: String
18415
+ # @param LoadBalancerId: 负载均衡id
18416
+ # 注意:此字段可能返回 null,表示取不到有效值。
18417
+ # @type LoadBalancerId: String
17785
18418
 
17786
- attr_accessor :AccessType, :ProtocolPorts, :SubnetId, :DisableService, :HeadlessService, :AllowDeleteService, :OpenSessionAffinity, :SessionAffinityTimeoutSeconds
18419
+ attr_accessor :AccessType, :ProtocolPorts, :SubnetId, :DisableService, :HeadlessService, :AllowDeleteService, :OpenSessionAffinity, :SessionAffinityTimeoutSeconds, :ServiceName, :ExternalTrafficStrategy, :ExternalTrafficPolicy, :LoadBalancerProvisioner, :LoadBalancingType, :ClusterIp, :DisableServiceInt, :OpenSessionAffinityInt, :HeadlessServiceInt, :Name, :VpcId, :LoadBalancingIp, :LoadBalancerId
17787
18420
 
17788
- def initialize(accesstype=nil, protocolports=nil, subnetid=nil, disableservice=nil, headlessservice=nil, allowdeleteservice=nil, opensessionaffinity=nil, sessionaffinitytimeoutseconds=nil)
18421
+ def initialize(accesstype=nil, protocolports=nil, subnetid=nil, disableservice=nil, headlessservice=nil, allowdeleteservice=nil, opensessionaffinity=nil, sessionaffinitytimeoutseconds=nil, servicename=nil, externaltrafficstrategy=nil, externaltrafficpolicy=nil, loadbalancerprovisioner=nil, loadbalancingtype=nil, clusterip=nil, disableserviceint=nil, opensessionaffinityint=nil, headlessserviceint=nil, name=nil, vpcid=nil, loadbalancingip=nil, loadbalancerid=nil)
17789
18422
  @AccessType = accesstype
17790
18423
  @ProtocolPorts = protocolports
17791
18424
  @SubnetId = subnetid
@@ -17794,6 +18427,19 @@ module TencentCloud
17794
18427
  @AllowDeleteService = allowdeleteservice
17795
18428
  @OpenSessionAffinity = opensessionaffinity
17796
18429
  @SessionAffinityTimeoutSeconds = sessionaffinitytimeoutseconds
18430
+ @ServiceName = servicename
18431
+ @ExternalTrafficStrategy = externaltrafficstrategy
18432
+ @ExternalTrafficPolicy = externaltrafficpolicy
18433
+ @LoadBalancerProvisioner = loadbalancerprovisioner
18434
+ @LoadBalancingType = loadbalancingtype
18435
+ @ClusterIp = clusterip
18436
+ @DisableServiceInt = disableserviceint
18437
+ @OpenSessionAffinityInt = opensessionaffinityint
18438
+ @HeadlessServiceInt = headlessserviceint
18439
+ @Name = name
18440
+ @VpcId = vpcid
18441
+ @LoadBalancingIp = loadbalancingip
18442
+ @LoadBalancerId = loadbalancerid
17797
18443
  end
17798
18444
 
17799
18445
  def deserialize(params)
@@ -17812,6 +18458,19 @@ module TencentCloud
17812
18458
  @AllowDeleteService = params['AllowDeleteService']
17813
18459
  @OpenSessionAffinity = params['OpenSessionAffinity']
17814
18460
  @SessionAffinityTimeoutSeconds = params['SessionAffinityTimeoutSeconds']
18461
+ @ServiceName = params['ServiceName']
18462
+ @ExternalTrafficStrategy = params['ExternalTrafficStrategy']
18463
+ @ExternalTrafficPolicy = params['ExternalTrafficPolicy']
18464
+ @LoadBalancerProvisioner = params['LoadBalancerProvisioner']
18465
+ @LoadBalancingType = params['LoadBalancingType']
18466
+ @ClusterIp = params['ClusterIp']
18467
+ @DisableServiceInt = params['DisableServiceInt']
18468
+ @OpenSessionAffinityInt = params['OpenSessionAffinityInt']
18469
+ @HeadlessServiceInt = params['HeadlessServiceInt']
18470
+ @Name = params['Name']
18471
+ @VpcId = params['VpcId']
18472
+ @LoadBalancingIp = params['LoadBalancingIp']
18473
+ @LoadBalancerId = params['LoadBalancerId']
17815
18474
  end
17816
18475
  end
17817
18476
 
@@ -18146,10 +18805,16 @@ module TencentCloud
18146
18805
  # @param ApplicationRuntimeType: ApplicationRuntimeType
18147
18806
  # 注意:此字段可能返回 null,表示取不到有效值。
18148
18807
  # @type ApplicationRuntimeType: String
18808
+ # @param AmpInstanceId: Apm业务系统id
18809
+ # 注意:此字段可能返回 null,表示取不到有效值。
18810
+ # @type AmpInstanceId: String
18811
+ # @param ApmInstanceName: Apm业务系统Name
18812
+ # 注意:此字段可能返回 null,表示取不到有效值。
18813
+ # @type ApmInstanceName: String
18149
18814
 
18150
- attr_accessor :ApplicationId, :ApplicationName, :ApplicationType, :MicroserviceType, :ApplicationDesc, :ProgLang, :ApplicationResourceType, :CreateTime, :UpdateTime, :ApigatewayServiceId, :ApplicationRuntimeType
18815
+ attr_accessor :ApplicationId, :ApplicationName, :ApplicationType, :MicroserviceType, :ApplicationDesc, :ProgLang, :ApplicationResourceType, :CreateTime, :UpdateTime, :ApigatewayServiceId, :ApplicationRuntimeType, :AmpInstanceId, :ApmInstanceName
18151
18816
 
18152
- def initialize(applicationid=nil, applicationname=nil, applicationtype=nil, microservicetype=nil, applicationdesc=nil, proglang=nil, applicationresourcetype=nil, createtime=nil, updatetime=nil, apigatewayserviceid=nil, applicationruntimetype=nil)
18817
+ def initialize(applicationid=nil, applicationname=nil, applicationtype=nil, microservicetype=nil, applicationdesc=nil, proglang=nil, applicationresourcetype=nil, createtime=nil, updatetime=nil, apigatewayserviceid=nil, applicationruntimetype=nil, ampinstanceid=nil, apminstancename=nil)
18153
18818
  @ApplicationId = applicationid
18154
18819
  @ApplicationName = applicationname
18155
18820
  @ApplicationType = applicationtype
@@ -18161,6 +18826,8 @@ module TencentCloud
18161
18826
  @UpdateTime = updatetime
18162
18827
  @ApigatewayServiceId = apigatewayserviceid
18163
18828
  @ApplicationRuntimeType = applicationruntimetype
18829
+ @AmpInstanceId = ampinstanceid
18830
+ @ApmInstanceName = apminstancename
18164
18831
  end
18165
18832
 
18166
18833
  def deserialize(params)
@@ -18175,6 +18842,8 @@ module TencentCloud
18175
18842
  @UpdateTime = params['UpdateTime']
18176
18843
  @ApigatewayServiceId = params['ApigatewayServiceId']
18177
18844
  @ApplicationRuntimeType = params['ApplicationRuntimeType']
18845
+ @AmpInstanceId = params['AmpInstanceId']
18846
+ @ApmInstanceName = params['ApmInstanceName']
18178
18847
  end
18179
18848
  end
18180
18849
 
@@ -18549,6 +19218,28 @@ module TencentCloud
18549
19218
  end
18550
19219
  end
18551
19220
 
19221
+ # 标签
19222
+ class Tag < TencentCloud::Common::AbstractModel
19223
+ # @param TagKey: 标签键
19224
+ # 注意:此字段可能返回 null,表示取不到有效值。
19225
+ # @type TagKey: String
19226
+ # @param TagValue: 标签值
19227
+ # 注意:此字段可能返回 null,表示取不到有效值。
19228
+ # @type TagValue: String
19229
+
19230
+ attr_accessor :TagKey, :TagValue
19231
+
19232
+ def initialize(tagkey=nil, tagvalue=nil)
19233
+ @TagKey = tagkey
19234
+ @TagValue = tagvalue
19235
+ end
19236
+
19237
+ def deserialize(params)
19238
+ @TagKey = params['TagKey']
19239
+ @TagValue = params['TagValue']
19240
+ end
19241
+ end
19242
+
18552
19243
  # 工作流图中的边
18553
19244
  class TaskFlowEdge < TencentCloud::Common::AbstractModel
18554
19245
  # @param NodeId: 节点 ID
@@ -18977,6 +19668,42 @@ module TencentCloud
18977
19668
  end
18978
19669
  end
18979
19670
 
19671
+ # 尽量调度
19672
+ class TrySchedule < TencentCloud::Common::AbstractModel
19673
+ # @param AffinityList: -
19674
+ # 注意:此字段可能返回 null,表示取不到有效值。
19675
+ # @type AffinityList: Array
19676
+ # @param AntiAffinityList: -
19677
+ # 注意:此字段可能返回 null,表示取不到有效值。
19678
+ # @type AntiAffinityList: Array
19679
+
19680
+ attr_accessor :AffinityList, :AntiAffinityList
19681
+
19682
+ def initialize(affinitylist=nil, antiaffinitylist=nil)
19683
+ @AffinityList = affinitylist
19684
+ @AntiAffinityList = antiaffinitylist
19685
+ end
19686
+
19687
+ def deserialize(params)
19688
+ unless params['AffinityList'].nil?
19689
+ @AffinityList = []
19690
+ params['AffinityList'].each do |i|
19691
+ affinity_tmp = Affinity.new
19692
+ affinity_tmp.deserialize(i)
19693
+ @AffinityList << affinity_tmp
19694
+ end
19695
+ end
19696
+ unless params['AntiAffinityList'].nil?
19697
+ @AntiAffinityList = []
19698
+ params['AntiAffinityList'].each do |i|
19699
+ affinity_tmp = Affinity.new
19700
+ affinity_tmp.deserialize(i)
19701
+ @AntiAffinityList << affinity_tmp
19702
+ end
19703
+ end
19704
+ end
19705
+ end
19706
+
18980
19707
  # TsfApiListResponse
18981
19708
  class TsfApiListResponse < TencentCloud::Common::AbstractModel
18982
19709
  # @param TotalCount: 数量
@@ -19115,12 +19842,16 @@ module TencentCloud
19115
19842
  # @param Content: 应用信息列表
19116
19843
  # 注意:此字段可能返回 null,表示取不到有效值。
19117
19844
  # @type Content: Array
19845
+ # @param SpecTotalCount: 获取部署组实例列表返回的原始批次个数
19846
+ # 注意:此字段可能返回 null,表示取不到有效值。
19847
+ # @type SpecTotalCount: Integer
19118
19848
 
19119
- attr_accessor :TotalCount, :Content
19849
+ attr_accessor :TotalCount, :Content, :SpecTotalCount
19120
19850
 
19121
- def initialize(totalcount=nil, content=nil)
19851
+ def initialize(totalcount=nil, content=nil, spectotalcount=nil)
19122
19852
  @TotalCount = totalcount
19123
19853
  @Content = content
19854
+ @SpecTotalCount = spectotalcount
19124
19855
  end
19125
19856
 
19126
19857
  def deserialize(params)
@@ -19133,6 +19864,7 @@ module TencentCloud
19133
19864
  @Content << applicationforpage_tmp
19134
19865
  end
19135
19866
  end
19867
+ @SpecTotalCount = params['SpecTotalCount']
19136
19868
  end
19137
19869
  end
19138
19870
 
@@ -20551,12 +21283,20 @@ module TencentCloud
20551
21283
  # @param ResourceFieldRef: k8s env 的 ResourceFieldRef
20552
21284
  # 注意:此字段可能返回 null,表示取不到有效值。
20553
21285
  # @type ResourceFieldRef: :class:`Tencentcloud::Tsf.v20180326.models.ResourceFieldRef`
21286
+ # @param ConfigMapKeyRef: k8s env的configMapKeyRef
21287
+ # 注意:此字段可能返回 null,表示取不到有效值。
21288
+ # @type ConfigMapKeyRef: :class:`Tencentcloud::Tsf.v20180326.models.CommonRef`
21289
+ # @param SecretKeyRef: k8s env 的 secretKeyRef
21290
+ # 注意:此字段可能返回 null,表示取不到有效值。
21291
+ # @type SecretKeyRef: :class:`Tencentcloud::Tsf.v20180326.models.CommonRef`
20554
21292
 
20555
- attr_accessor :FieldRef, :ResourceFieldRef
21293
+ attr_accessor :FieldRef, :ResourceFieldRef, :ConfigMapKeyRef, :SecretKeyRef
20556
21294
 
20557
- def initialize(fieldref=nil, resourcefieldref=nil)
21295
+ def initialize(fieldref=nil, resourcefieldref=nil, configmapkeyref=nil, secretkeyref=nil)
20558
21296
  @FieldRef = fieldref
20559
21297
  @ResourceFieldRef = resourcefieldref
21298
+ @ConfigMapKeyRef = configmapkeyref
21299
+ @SecretKeyRef = secretkeyref
20560
21300
  end
20561
21301
 
20562
21302
  def deserialize(params)
@@ -20568,6 +21308,14 @@ module TencentCloud
20568
21308
  @ResourceFieldRef = ResourceFieldRef.new
20569
21309
  @ResourceFieldRef.deserialize(params['ResourceFieldRef'])
20570
21310
  end
21311
+ unless params['ConfigMapKeyRef'].nil?
21312
+ @ConfigMapKeyRef = CommonRef.new
21313
+ @ConfigMapKeyRef.deserialize(params['ConfigMapKeyRef'])
21314
+ end
21315
+ unless params['SecretKeyRef'].nil?
21316
+ @SecretKeyRef = CommonRef.new
21317
+ @SecretKeyRef.deserialize(params['SecretKeyRef'])
21318
+ end
20571
21319
  end
20572
21320
  end
20573
21321
 
@@ -20969,19 +21717,39 @@ module TencentCloud
20969
21717
  # @type VolumeName: String
20970
21718
  # @param VolumeConfig: 数据卷配置
20971
21719
  # @type VolumeConfig: String
21720
+ # @param ConfigMapOptions: -
21721
+ # 注意:此字段可能返回 null,表示取不到有效值。
21722
+ # @type ConfigMapOptions: Array
21723
+ # @param EmptyDirOption: -
21724
+ # 注意:此字段可能返回 null,表示取不到有效值。
21725
+ # @type EmptyDirOption: :class:`Tencentcloud::Tsf.v20180326.models.EmptyDirOption`
20972
21726
 
20973
- attr_accessor :VolumeType, :VolumeName, :VolumeConfig
21727
+ attr_accessor :VolumeType, :VolumeName, :VolumeConfig, :ConfigMapOptions, :EmptyDirOption
20974
21728
 
20975
- def initialize(volumetype=nil, volumename=nil, volumeconfig=nil)
21729
+ def initialize(volumetype=nil, volumename=nil, volumeconfig=nil, configmapoptions=nil, emptydiroption=nil)
20976
21730
  @VolumeType = volumetype
20977
21731
  @VolumeName = volumename
20978
21732
  @VolumeConfig = volumeconfig
21733
+ @ConfigMapOptions = configmapoptions
21734
+ @EmptyDirOption = emptydiroption
20979
21735
  end
20980
21736
 
20981
21737
  def deserialize(params)
20982
21738
  @VolumeType = params['VolumeType']
20983
21739
  @VolumeName = params['VolumeName']
20984
21740
  @VolumeConfig = params['VolumeConfig']
21741
+ unless params['ConfigMapOptions'].nil?
21742
+ @ConfigMapOptions = []
21743
+ params['ConfigMapOptions'].each do |i|
21744
+ configmapoption_tmp = ConfigMapOption.new
21745
+ configmapoption_tmp.deserialize(i)
21746
+ @ConfigMapOptions << configmapoption_tmp
21747
+ end
21748
+ end
21749
+ unless params['EmptyDirOption'].nil?
21750
+ @EmptyDirOption = EmptyDirOption.new
21751
+ @EmptyDirOption.deserialize(params['EmptyDirOption'])
21752
+ end
20985
21753
  end
20986
21754
  end
20987
21755
 
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.951
4
+ version: 3.0.953
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-11-28 00:00:00.000000000 Z
11
+ date: 2024-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common