tencentcloud-sdk-tsf 3.0.1085 → 3.0.1092
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/v20180326/client.rb +24 -0
- data/lib/v20180326/models.rb +686 -8
- 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: 2e8a247dba0783bd709f919e257d4880dfeecf2a
|
4
|
+
data.tar.gz: 465d82d635c7ab818500cada0b81f9e0160937ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd3426e17ac13a9aefbff9f4c0850880564375674b352035823db36befb4ed82ec206151d8693c96266ba5f696420c684d127fd3915525e6f1327fde425c1448
|
7
|
+
data.tar.gz: 23ae865e4d1b645ad2fe07624a4c893885d24578dcd4abe72b774a3d7b70ce85dd83819feee5d5639a373b2ee8db89dfe6e92f6f9e6ca059ac1a05bd98f05edf
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1092
|
data/lib/v20180326/client.rb
CHANGED
@@ -1522,6 +1522,30 @@ module TencentCloud
|
|
1522
1522
|
|
1523
1523
|
# 部署容器应用-更新
|
1524
1524
|
|
1525
|
+
# @param request: Request instance for DeployContainerApplication.
|
1526
|
+
# @type request: :class:`Tencentcloud::tsf::V20180326::DeployContainerApplicationRequest`
|
1527
|
+
# @rtype: :class:`Tencentcloud::tsf::V20180326::DeployContainerApplicationResponse`
|
1528
|
+
def DeployContainerApplication(request)
|
1529
|
+
body = send_request('DeployContainerApplication', request.serialize)
|
1530
|
+
response = JSON.parse(body)
|
1531
|
+
if response['Response'].key?('Error') == false
|
1532
|
+
model = DeployContainerApplicationResponse.new
|
1533
|
+
model.deserialize(response['Response'])
|
1534
|
+
model
|
1535
|
+
else
|
1536
|
+
code = response['Response']['Error']['Code']
|
1537
|
+
message = response['Response']['Error']['Message']
|
1538
|
+
reqid = response['Response']['RequestId']
|
1539
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1540
|
+
end
|
1541
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1542
|
+
raise e
|
1543
|
+
rescue StandardError => e
|
1544
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1545
|
+
end
|
1546
|
+
|
1547
|
+
# 部署容器应用-更新
|
1548
|
+
|
1525
1549
|
# @param request: Request instance for DeployContainerGroup.
|
1526
1550
|
# @type request: :class:`Tencentcloud::tsf::V20180326::DeployContainerGroupRequest`
|
1527
1551
|
# @rtype: :class:`Tencentcloud::tsf::V20180326::DeployContainerGroupResponse`
|
data/lib/v20180326/models.rb
CHANGED
@@ -1324,8 +1324,8 @@ module TencentCloud
|
|
1324
1324
|
|
1325
1325
|
attr_accessor :ConfigId, :ConfigName, :ConfigPath, :ConfigDesc, :ConfigTags, :ConfigPipeline, :ConfigCreateTime, :ConfigUpdateTime, :ConfigSchema, :ConfigAssociatedGroups, :ConfigAssociatedGroupList, :FilebeatConfigEnable, :FilebeatCloseTimeout
|
1326
1326
|
extend Gem::Deprecate
|
1327
|
-
deprecate :ConfigAssociatedGroups, :none, 2025,
|
1328
|
-
deprecate :ConfigAssociatedGroups=, :none, 2025,
|
1327
|
+
deprecate :ConfigAssociatedGroups, :none, 2025, 7
|
1328
|
+
deprecate :ConfigAssociatedGroups=, :none, 2025, 7
|
1329
1329
|
|
1330
1330
|
def initialize(configid=nil, configname=nil, configpath=nil, configdesc=nil, configtags=nil, configpipeline=nil, configcreatetime=nil, configupdatetime=nil, configschema=nil, configassociatedgroups=nil, configassociatedgrouplist=nil, filebeatconfigenable=nil, filebeatclosetimeout=nil)
|
1331
1331
|
@ConfigId = configid
|
@@ -2901,6 +2901,28 @@ module TencentCloud
|
|
2901
2901
|
end
|
2902
2902
|
end
|
2903
2903
|
|
2904
|
+
# 可观测配置
|
2905
|
+
class ContainerGroupObservabilityConfig < TencentCloud::Common::AbstractModel
|
2906
|
+
# @param BusinessLogConfigIdList: 日志配置项ID列表
|
2907
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2908
|
+
# @type BusinessLogConfigIdList: Array
|
2909
|
+
# @param BusinessLogDeliveryConfigIdList: 投递配置项ID列表
|
2910
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2911
|
+
# @type BusinessLogDeliveryConfigIdList: Array
|
2912
|
+
|
2913
|
+
attr_accessor :BusinessLogConfigIdList, :BusinessLogDeliveryConfigIdList
|
2914
|
+
|
2915
|
+
def initialize(businesslogconfigidlist=nil, businesslogdeliveryconfigidlist=nil)
|
2916
|
+
@BusinessLogConfigIdList = businesslogconfigidlist
|
2917
|
+
@BusinessLogDeliveryConfigIdList = businesslogdeliveryconfigidlist
|
2918
|
+
end
|
2919
|
+
|
2920
|
+
def deserialize(params)
|
2921
|
+
@BusinessLogConfigIdList = params['BusinessLogConfigIdList']
|
2922
|
+
@BusinessLogDeliveryConfigIdList = params['BusinessLogDeliveryConfigIdList']
|
2923
|
+
end
|
2924
|
+
end
|
2925
|
+
|
2904
2926
|
# 部署组列表-其它字段
|
2905
2927
|
class ContainerGroupOther < TencentCloud::Common::AbstractModel
|
2906
2928
|
# @param InstanceNum: 实例总数
|
@@ -2974,6 +2996,233 @@ module TencentCloud
|
|
2974
2996
|
end
|
2975
2997
|
end
|
2976
2998
|
|
2999
|
+
# 服务治理相关配置项
|
3000
|
+
class ContainerGroupServiceGovernanceConfig < TencentCloud::Common::AbstractModel
|
3001
|
+
# @param EnableGovernance: 是否开启服务治理
|
3002
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3003
|
+
# @type EnableGovernance: Boolean
|
3004
|
+
# @param ServiceConfigList: 控制台场景使用 mesh服务配置信息列表
|
3005
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3006
|
+
# @type ServiceConfigList: Array
|
3007
|
+
# @param ExclusiveInstances: 注册服务治理实例
|
3008
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3009
|
+
# @type ExclusiveInstances: Array
|
3010
|
+
# @param GovernanceType: 服务治理类型
|
3011
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3012
|
+
# @type GovernanceType: String
|
3013
|
+
|
3014
|
+
attr_accessor :EnableGovernance, :ServiceConfigList, :ExclusiveInstances, :GovernanceType
|
3015
|
+
|
3016
|
+
def initialize(enablegovernance=nil, serviceconfiglist=nil, exclusiveinstances=nil, governancetype=nil)
|
3017
|
+
@EnableGovernance = enablegovernance
|
3018
|
+
@ServiceConfigList = serviceconfiglist
|
3019
|
+
@ExclusiveInstances = exclusiveinstances
|
3020
|
+
@GovernanceType = governancetype
|
3021
|
+
end
|
3022
|
+
|
3023
|
+
def deserialize(params)
|
3024
|
+
@EnableGovernance = params['EnableGovernance']
|
3025
|
+
unless params['ServiceConfigList'].nil?
|
3026
|
+
@ServiceConfigList = []
|
3027
|
+
params['ServiceConfigList'].each do |i|
|
3028
|
+
serviceconfig_tmp = ServiceConfig.new
|
3029
|
+
serviceconfig_tmp.deserialize(i)
|
3030
|
+
@ServiceConfigList << serviceconfig_tmp
|
3031
|
+
end
|
3032
|
+
end
|
3033
|
+
unless params['ExclusiveInstances'].nil?
|
3034
|
+
@ExclusiveInstances = []
|
3035
|
+
params['ExclusiveInstances'].each do |i|
|
3036
|
+
exclusiveinstance_tmp = ExclusiveInstance.new
|
3037
|
+
exclusiveinstance_tmp.deserialize(i)
|
3038
|
+
@ExclusiveInstances << exclusiveinstance_tmp
|
3039
|
+
end
|
3040
|
+
end
|
3041
|
+
@GovernanceType = params['GovernanceType']
|
3042
|
+
end
|
3043
|
+
end
|
3044
|
+
|
3045
|
+
# 容器详细信息
|
3046
|
+
class ContainerInfo < TencentCloud::Common::AbstractModel
|
3047
|
+
# @param Name: 容器名
|
3048
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3049
|
+
# @type Name: String
|
3050
|
+
# @param ContainerId: 容器ID
|
3051
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3052
|
+
# @type ContainerId: String
|
3053
|
+
# @param Status: 容器状态
|
3054
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3055
|
+
# @type Status: String
|
3056
|
+
# @param Reason: 容器的Reason
|
3057
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3058
|
+
# @type Reason: String
|
3059
|
+
# @param Image: 镜像地址
|
3060
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3061
|
+
# @type Image: String
|
3062
|
+
# @param IsBusinessMainContainer: 是否为业务主容器
|
3063
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3064
|
+
# @type IsBusinessMainContainer: Boolean
|
3065
|
+
# @param Server: 镜像Server
|
3066
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3067
|
+
# @type Server: String
|
3068
|
+
# @param RepoName: 镜像名
|
3069
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3070
|
+
# @type RepoName: String
|
3071
|
+
# @param RepoType: 仓库类型
|
3072
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3073
|
+
# @type RepoType: String
|
3074
|
+
# @param TcrRepoInfo: TCR 仓库信息
|
3075
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3076
|
+
# @type TcrRepoInfo: :class:`Tencentcloud::Tsf.v20180326.models.TcrRepoInfo`
|
3077
|
+
# @param SecretName: 容器访问凭证名称
|
3078
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3079
|
+
# @type SecretName: String
|
3080
|
+
# @param TagName: 镜像版本号
|
3081
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3082
|
+
# @type TagName: String
|
3083
|
+
# @param HealthCheckSettings: 健康检查
|
3084
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3085
|
+
# @type HealthCheckSettings: :class:`Tencentcloud::Tsf.v20180326.models.HealthCheckSettings`
|
3086
|
+
# @param CpuRequest: 容器Cpu request
|
3087
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3088
|
+
# @type CpuRequest: String
|
3089
|
+
# @param CpuLimit: 容器Cpu limit
|
3090
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3091
|
+
# @type CpuLimit: String
|
3092
|
+
# @param MemRequest: 容器Mem request
|
3093
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3094
|
+
# @type MemRequest: String
|
3095
|
+
# @param MemLimit: 容器Mem Limit
|
3096
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3097
|
+
# @type MemLimit: String
|
3098
|
+
# @param Envs: 环境变量参数
|
3099
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3100
|
+
# @type Envs: Array
|
3101
|
+
# @param UserEnvs: 环境变量参数
|
3102
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3103
|
+
# @type UserEnvs: Array
|
3104
|
+
# @param JvmOpts: JVM参数
|
3105
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3106
|
+
# @type JvmOpts: String
|
3107
|
+
# @param VolumeMountInfoList: 挂载信息
|
3108
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3109
|
+
# @type VolumeMountInfoList: Array
|
3110
|
+
# @param InitContainerEnable: 是否为初始化容器
|
3111
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3112
|
+
# @type InitContainerEnable: Boolean
|
3113
|
+
# @param LifeCycleHookList: 生命周期钩子
|
3114
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3115
|
+
# @type LifeCycleHookList: Array
|
3116
|
+
# @param PrivilegeContainerEnable: 是否为特权容器
|
3117
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3118
|
+
# @type PrivilegeContainerEnable: Boolean
|
3119
|
+
# @param RunCommand: 运行命令
|
3120
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3121
|
+
# @type RunCommand: String
|
3122
|
+
# @param RunArg: 运行参数
|
3123
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3124
|
+
# @type RunArg: String
|
3125
|
+
# @param ContainerName: 容器名称
|
3126
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3127
|
+
# @type ContainerName: String
|
3128
|
+
|
3129
|
+
attr_accessor :Name, :ContainerId, :Status, :Reason, :Image, :IsBusinessMainContainer, :Server, :RepoName, :RepoType, :TcrRepoInfo, :SecretName, :TagName, :HealthCheckSettings, :CpuRequest, :CpuLimit, :MemRequest, :MemLimit, :Envs, :UserEnvs, :JvmOpts, :VolumeMountInfoList, :InitContainerEnable, :LifeCycleHookList, :PrivilegeContainerEnable, :RunCommand, :RunArg, :ContainerName
|
3130
|
+
|
3131
|
+
def initialize(name=nil, containerid=nil, status=nil, reason=nil, image=nil, isbusinessmaincontainer=nil, server=nil, reponame=nil, repotype=nil, tcrrepoinfo=nil, secretname=nil, tagname=nil, healthchecksettings=nil, cpurequest=nil, cpulimit=nil, memrequest=nil, memlimit=nil, envs=nil, userenvs=nil, jvmopts=nil, volumemountinfolist=nil, initcontainerenable=nil, lifecyclehooklist=nil, privilegecontainerenable=nil, runcommand=nil, runarg=nil, containername=nil)
|
3132
|
+
@Name = name
|
3133
|
+
@ContainerId = containerid
|
3134
|
+
@Status = status
|
3135
|
+
@Reason = reason
|
3136
|
+
@Image = image
|
3137
|
+
@IsBusinessMainContainer = isbusinessmaincontainer
|
3138
|
+
@Server = server
|
3139
|
+
@RepoName = reponame
|
3140
|
+
@RepoType = repotype
|
3141
|
+
@TcrRepoInfo = tcrrepoinfo
|
3142
|
+
@SecretName = secretname
|
3143
|
+
@TagName = tagname
|
3144
|
+
@HealthCheckSettings = healthchecksettings
|
3145
|
+
@CpuRequest = cpurequest
|
3146
|
+
@CpuLimit = cpulimit
|
3147
|
+
@MemRequest = memrequest
|
3148
|
+
@MemLimit = memlimit
|
3149
|
+
@Envs = envs
|
3150
|
+
@UserEnvs = userenvs
|
3151
|
+
@JvmOpts = jvmopts
|
3152
|
+
@VolumeMountInfoList = volumemountinfolist
|
3153
|
+
@InitContainerEnable = initcontainerenable
|
3154
|
+
@LifeCycleHookList = lifecyclehooklist
|
3155
|
+
@PrivilegeContainerEnable = privilegecontainerenable
|
3156
|
+
@RunCommand = runcommand
|
3157
|
+
@RunArg = runarg
|
3158
|
+
@ContainerName = containername
|
3159
|
+
end
|
3160
|
+
|
3161
|
+
def deserialize(params)
|
3162
|
+
@Name = params['Name']
|
3163
|
+
@ContainerId = params['ContainerId']
|
3164
|
+
@Status = params['Status']
|
3165
|
+
@Reason = params['Reason']
|
3166
|
+
@Image = params['Image']
|
3167
|
+
@IsBusinessMainContainer = params['IsBusinessMainContainer']
|
3168
|
+
@Server = params['Server']
|
3169
|
+
@RepoName = params['RepoName']
|
3170
|
+
@RepoType = params['RepoType']
|
3171
|
+
unless params['TcrRepoInfo'].nil?
|
3172
|
+
@TcrRepoInfo = TcrRepoInfo.new
|
3173
|
+
@TcrRepoInfo.deserialize(params['TcrRepoInfo'])
|
3174
|
+
end
|
3175
|
+
@SecretName = params['SecretName']
|
3176
|
+
@TagName = params['TagName']
|
3177
|
+
unless params['HealthCheckSettings'].nil?
|
3178
|
+
@HealthCheckSettings = HealthCheckSettings.new
|
3179
|
+
@HealthCheckSettings.deserialize(params['HealthCheckSettings'])
|
3180
|
+
end
|
3181
|
+
@CpuRequest = params['CpuRequest']
|
3182
|
+
@CpuLimit = params['CpuLimit']
|
3183
|
+
@MemRequest = params['MemRequest']
|
3184
|
+
@MemLimit = params['MemLimit']
|
3185
|
+
unless params['Envs'].nil?
|
3186
|
+
@Envs = []
|
3187
|
+
params['Envs'].each do |i|
|
3188
|
+
env_tmp = Env.new
|
3189
|
+
env_tmp.deserialize(i)
|
3190
|
+
@Envs << env_tmp
|
3191
|
+
end
|
3192
|
+
end
|
3193
|
+
unless params['UserEnvs'].nil?
|
3194
|
+
@UserEnvs = []
|
3195
|
+
params['UserEnvs'].each do |i|
|
3196
|
+
env_tmp = Env.new
|
3197
|
+
env_tmp.deserialize(i)
|
3198
|
+
@UserEnvs << env_tmp
|
3199
|
+
end
|
3200
|
+
end
|
3201
|
+
@JvmOpts = params['JvmOpts']
|
3202
|
+
unless params['VolumeMountInfoList'].nil?
|
3203
|
+
@VolumeMountInfoList = []
|
3204
|
+
params['VolumeMountInfoList'].each do |i|
|
3205
|
+
volumemountinfo_tmp = VolumeMountInfo.new
|
3206
|
+
volumemountinfo_tmp.deserialize(i)
|
3207
|
+
@VolumeMountInfoList << volumemountinfo_tmp
|
3208
|
+
end
|
3209
|
+
end
|
3210
|
+
@InitContainerEnable = params['InitContainerEnable']
|
3211
|
+
unless params['LifeCycleHookList'].nil?
|
3212
|
+
@LifeCycleHookList = []
|
3213
|
+
params['LifeCycleHookList'].each do |i|
|
3214
|
+
lifecyclehook_tmp = LifeCycleHook.new
|
3215
|
+
lifecyclehook_tmp.deserialize(i)
|
3216
|
+
@LifeCycleHookList << lifecyclehook_tmp
|
3217
|
+
end
|
3218
|
+
end
|
3219
|
+
@PrivilegeContainerEnable = params['PrivilegeContainerEnable']
|
3220
|
+
@RunCommand = params['RunCommand']
|
3221
|
+
@RunArg = params['RunArg']
|
3222
|
+
@ContainerName = params['ContainerName']
|
3223
|
+
end
|
3224
|
+
end
|
3225
|
+
|
2977
3226
|
# ContinueRunFailedTaskBatch请求参数结构体
|
2978
3227
|
class ContinueRunFailedTaskBatchRequest < TencentCloud::Common::AbstractModel
|
2979
3228
|
# @param BatchId: 批次ID。
|
@@ -3356,10 +3605,10 @@ module TencentCloud
|
|
3356
3605
|
|
3357
3606
|
attr_accessor :ApplicationName, :ApplicationType, :MicroserviceType, :ApplicationDesc, :ApplicationLogConfig, :ApplicationResourceType, :ApplicationRuntimeType, :ProgramId, :ServiceConfigList, :IgnoreCreateImageRepository, :ProgramIdList, :ApmInstanceId, :ProgramLanguage, :FrameworkType, :ServiceGovernanceConfig, :CreateSameNameImageRepository
|
3358
3607
|
extend Gem::Deprecate
|
3359
|
-
deprecate :ApplicationLogConfig, :none, 2025,
|
3360
|
-
deprecate :ApplicationLogConfig=, :none, 2025,
|
3361
|
-
deprecate :ApplicationResourceType, :none, 2025,
|
3362
|
-
deprecate :ApplicationResourceType=, :none, 2025,
|
3608
|
+
deprecate :ApplicationLogConfig, :none, 2025, 7
|
3609
|
+
deprecate :ApplicationLogConfig=, :none, 2025, 7
|
3610
|
+
deprecate :ApplicationResourceType, :none, 2025, 7
|
3611
|
+
deprecate :ApplicationResourceType=, :none, 2025, 7
|
3363
3612
|
|
3364
3613
|
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)
|
3365
3614
|
@ApplicationName = applicationname
|
@@ -6240,6 +6489,368 @@ module TencentCloud
|
|
6240
6489
|
end
|
6241
6490
|
end
|
6242
6491
|
|
6492
|
+
# DeployContainerApplication请求参数结构体
|
6493
|
+
class DeployContainerApplicationRequest < TencentCloud::Common::AbstractModel
|
6494
|
+
# @param ApplicationId: 应用ID
|
6495
|
+
# @type ApplicationId: String
|
6496
|
+
# @param ObservabilityConfig: 可观测配置
|
6497
|
+
# @type ObservabilityConfig: :class:`Tencentcloud::Tsf.v20180326.models.ContainerGroupObservabilityConfig`
|
6498
|
+
# @param ClusterId: 集群ID
|
6499
|
+
# @type ClusterId: String
|
6500
|
+
# @param GroupId: 部署组ID,分组唯一标识
|
6501
|
+
# @type GroupId: String
|
6502
|
+
# @param Envs: 业务容器的环境变量参数
|
6503
|
+
# @type Envs: Array
|
6504
|
+
# @param VolumeMountInfoList: 业务容器的挂载信息
|
6505
|
+
# @type VolumeMountInfoList: Array
|
6506
|
+
# @param LifeCycleHookList: 业务主容器生命周期钩子列表
|
6507
|
+
# @type LifeCycleHookList: Array
|
6508
|
+
# @param AdditionalContainerList: 附属容器列表
|
6509
|
+
# @type AdditionalContainerList: Array
|
6510
|
+
# @param VolumeInfoList: 容器卷信息
|
6511
|
+
# @type VolumeInfoList: Array
|
6512
|
+
# @param ServiceSettingList: Service访问配置列表
|
6513
|
+
# @type ServiceSettingList: Array
|
6514
|
+
# @param Alias: 备注
|
6515
|
+
# @type Alias: String
|
6516
|
+
# @param GroupName: 部署组名称
|
6517
|
+
# @type GroupName: String
|
6518
|
+
# @param Tags: 标签列表
|
6519
|
+
# @type Tags: Array
|
6520
|
+
# @param ContainerKind: 容器类型
|
6521
|
+
# @type ContainerKind: String
|
6522
|
+
# @param Server: 业务容器的 镜像Server ccr.ccs.tencentyun.com
|
6523
|
+
# @type Server: String
|
6524
|
+
# @param RepoName: 业务容器的镜像名
|
6525
|
+
# @type RepoName: String
|
6526
|
+
# @param RepoType: 仓库类型
|
6527
|
+
# @type RepoType: String
|
6528
|
+
# @param TcrRepoInfo: TCR仓库信息
|
6529
|
+
# @type TcrRepoInfo: :class:`Tencentcloud::Tsf.v20180326.models.TcrRepoInfo`
|
6530
|
+
# @param SecretName: 容器访问凭证名称
|
6531
|
+
# @type SecretName: String
|
6532
|
+
# @param TagName: 业务容器的镜像版本号
|
6533
|
+
# @type TagName: String
|
6534
|
+
# @param HealthCheckSettings: 健康检查
|
6535
|
+
# @type HealthCheckSettings: :class:`Tencentcloud::Tsf.v20180326.models.HealthCheckSettings`
|
6536
|
+
# @param CpuRequest: 业务容器的 cpu request
|
6537
|
+
# @type CpuRequest: String
|
6538
|
+
# @param CpuLimit: 业务容器的 cpu limit
|
6539
|
+
# @type CpuLimit: String
|
6540
|
+
# @param MemRequest: 业务容器的 mem request
|
6541
|
+
# @type MemRequest: String
|
6542
|
+
# @param MemLimit: 业务容器的 mem limit
|
6543
|
+
# @type MemLimit: String
|
6544
|
+
# @param JvmOpts: 业务容器的 jvm 参数
|
6545
|
+
# @type JvmOpts: String
|
6546
|
+
# @param InitContainerEnable: 是否为初始化容器 业务主容器不能为初始化容
|
6547
|
+
# @type InitContainerEnable: Boolean
|
6548
|
+
# @param PrivilegeContainerEnable: 业务主容器是否为特权容器
|
6549
|
+
# @type PrivilegeContainerEnable: Boolean
|
6550
|
+
# @param RunCommand: 业务主容器运行命令(转base64)
|
6551
|
+
# @type RunCommand: String
|
6552
|
+
# @param RunArg: 业务主容器运行参数(转base64)
|
6553
|
+
# @type RunArg: String
|
6554
|
+
# @param InstanceNum: 实例数量
|
6555
|
+
# @type InstanceNum: Integer
|
6556
|
+
# @param SchedulingStrategy: 调度策略
|
6557
|
+
# @type SchedulingStrategy: :class:`Tencentcloud::Tsf.v20180326.models.SchedulingStrategy`
|
6558
|
+
# @param RestartPolicy: 重启策略
|
6559
|
+
# @type RestartPolicy: String
|
6560
|
+
# @param ServiceSpecEncode: 服务治理配置
|
6561
|
+
# @type ServiceSpecEncode: String
|
6562
|
+
# @param IstioMemRequest: istio容器的 mem Request
|
6563
|
+
# @type IstioMemRequest: String
|
6564
|
+
# @param IstioCpuRequest: istio容器的 cpu Request
|
6565
|
+
# @type IstioCpuRequest: String
|
6566
|
+
# @param IstioMemLimit: istio容器的 mem Limit
|
6567
|
+
# @type IstioMemLimit: String
|
6568
|
+
# @param IstioCpuLimit: istio容器的 cpu Limit
|
6569
|
+
# @type IstioCpuLimit: String
|
6570
|
+
# @param ServiceGovernanceConfig: 服务治理配置
|
6571
|
+
# @type ServiceGovernanceConfig: :class:`Tencentcloud::Tsf.v20180326.models.ContainerGroupServiceGovernanceConfig`
|
6572
|
+
# @param AgentMemRequest: agent容器的 mem Request
|
6573
|
+
# @type AgentMemRequest: String
|
6574
|
+
# @param AgentCpuRequest: agent容器的 cpu Request
|
6575
|
+
# @type AgentCpuRequest: String
|
6576
|
+
# @param AgentMemLimit: agent容器的 mem Limit
|
6577
|
+
# @type AgentMemLimit: String
|
6578
|
+
# @param AgentCpuLimit: agent容器的 cpu Limit
|
6579
|
+
# @type AgentCpuLimit: String
|
6580
|
+
# @param UpdateType: 发布策略(0表示快速更新,1表示滚动更新。默认值为0)
|
6581
|
+
# @type UpdateType: Integer
|
6582
|
+
# @param UpdateIvl: 更新间隔,单位秒
|
6583
|
+
# @type UpdateIvl: Integer
|
6584
|
+
# @param MaxSurge: 对应更新策略和策略配置参数
|
6585
|
+
# @type MaxSurge: String
|
6586
|
+
# @param MaxUnavailable: 对应更新策略和策略配置参数
|
6587
|
+
# @type MaxUnavailable: String
|
6588
|
+
# @param WarmupSetting: 预热参数配置
|
6589
|
+
# @type WarmupSetting: :class:`Tencentcloud::Tsf.v20180326.models.WarmupSetting`
|
6590
|
+
# @param ConfigTemplateId: 配置模版ID
|
6591
|
+
# @type ConfigTemplateId: String
|
6592
|
+
# @param ConfigTemplateVersion: 配置模版Version
|
6593
|
+
# @type ConfigTemplateVersion: Integer
|
6594
|
+
# @param VolumeClean: 是否清除数据卷信息
|
6595
|
+
# @type VolumeClean: Boolean
|
6596
|
+
# @param NamespaceId: 命名空间Id
|
6597
|
+
# @type NamespaceId: String
|
6598
|
+
# @param DeployAgent: 是否部署agent容器
|
6599
|
+
# @type DeployAgent: Boolean
|
6600
|
+
# @param AgentProfileList: javaagent信息: SERVICE_AGENT/OT_AGENT
|
6601
|
+
# @type AgentProfileList: Array
|
6602
|
+
# @param ServiceClean: 是否清除Service信息
|
6603
|
+
# @type ServiceClean: Boolean
|
6604
|
+
# @param EnvClean: 是否清除Env信息
|
6605
|
+
# @type EnvClean: Boolean
|
6606
|
+
# @param DeployDesc: 本次部署的描述信息
|
6607
|
+
# @type DeployDesc: String
|
6608
|
+
|
6609
|
+
attr_accessor :ApplicationId, :ObservabilityConfig, :ClusterId, :GroupId, :Envs, :VolumeMountInfoList, :LifeCycleHookList, :AdditionalContainerList, :VolumeInfoList, :ServiceSettingList, :Alias, :GroupName, :Tags, :ContainerKind, :Server, :RepoName, :RepoType, :TcrRepoInfo, :SecretName, :TagName, :HealthCheckSettings, :CpuRequest, :CpuLimit, :MemRequest, :MemLimit, :JvmOpts, :InitContainerEnable, :PrivilegeContainerEnable, :RunCommand, :RunArg, :InstanceNum, :SchedulingStrategy, :RestartPolicy, :ServiceSpecEncode, :IstioMemRequest, :IstioCpuRequest, :IstioMemLimit, :IstioCpuLimit, :ServiceGovernanceConfig, :AgentMemRequest, :AgentCpuRequest, :AgentMemLimit, :AgentCpuLimit, :UpdateType, :UpdateIvl, :MaxSurge, :MaxUnavailable, :WarmupSetting, :ConfigTemplateId, :ConfigTemplateVersion, :VolumeClean, :NamespaceId, :DeployAgent, :AgentProfileList, :ServiceClean, :EnvClean, :DeployDesc
|
6610
|
+
|
6611
|
+
def initialize(applicationid=nil, observabilityconfig=nil, clusterid=nil, groupid=nil, envs=nil, volumemountinfolist=nil, lifecyclehooklist=nil, additionalcontainerlist=nil, volumeinfolist=nil, servicesettinglist=nil, _alias=nil, groupname=nil, tags=nil, containerkind=nil, server=nil, reponame=nil, repotype=nil, tcrrepoinfo=nil, secretname=nil, tagname=nil, healthchecksettings=nil, cpurequest=nil, cpulimit=nil, memrequest=nil, memlimit=nil, jvmopts=nil, initcontainerenable=nil, privilegecontainerenable=nil, runcommand=nil, runarg=nil, instancenum=nil, schedulingstrategy=nil, restartpolicy=nil, servicespecencode=nil, istiomemrequest=nil, istiocpurequest=nil, istiomemlimit=nil, istiocpulimit=nil, servicegovernanceconfig=nil, agentmemrequest=nil, agentcpurequest=nil, agentmemlimit=nil, agentcpulimit=nil, updatetype=nil, updateivl=nil, maxsurge=nil, maxunavailable=nil, warmupsetting=nil, configtemplateid=nil, configtemplateversion=nil, volumeclean=nil, namespaceid=nil, deployagent=nil, agentprofilelist=nil, serviceclean=nil, envclean=nil, deploydesc=nil)
|
6612
|
+
@ApplicationId = applicationid
|
6613
|
+
@ObservabilityConfig = observabilityconfig
|
6614
|
+
@ClusterId = clusterid
|
6615
|
+
@GroupId = groupid
|
6616
|
+
@Envs = envs
|
6617
|
+
@VolumeMountInfoList = volumemountinfolist
|
6618
|
+
@LifeCycleHookList = lifecyclehooklist
|
6619
|
+
@AdditionalContainerList = additionalcontainerlist
|
6620
|
+
@VolumeInfoList = volumeinfolist
|
6621
|
+
@ServiceSettingList = servicesettinglist
|
6622
|
+
@Alias = _alias
|
6623
|
+
@GroupName = groupname
|
6624
|
+
@Tags = tags
|
6625
|
+
@ContainerKind = containerkind
|
6626
|
+
@Server = server
|
6627
|
+
@RepoName = reponame
|
6628
|
+
@RepoType = repotype
|
6629
|
+
@TcrRepoInfo = tcrrepoinfo
|
6630
|
+
@SecretName = secretname
|
6631
|
+
@TagName = tagname
|
6632
|
+
@HealthCheckSettings = healthchecksettings
|
6633
|
+
@CpuRequest = cpurequest
|
6634
|
+
@CpuLimit = cpulimit
|
6635
|
+
@MemRequest = memrequest
|
6636
|
+
@MemLimit = memlimit
|
6637
|
+
@JvmOpts = jvmopts
|
6638
|
+
@InitContainerEnable = initcontainerenable
|
6639
|
+
@PrivilegeContainerEnable = privilegecontainerenable
|
6640
|
+
@RunCommand = runcommand
|
6641
|
+
@RunArg = runarg
|
6642
|
+
@InstanceNum = instancenum
|
6643
|
+
@SchedulingStrategy = schedulingstrategy
|
6644
|
+
@RestartPolicy = restartpolicy
|
6645
|
+
@ServiceSpecEncode = servicespecencode
|
6646
|
+
@IstioMemRequest = istiomemrequest
|
6647
|
+
@IstioCpuRequest = istiocpurequest
|
6648
|
+
@IstioMemLimit = istiomemlimit
|
6649
|
+
@IstioCpuLimit = istiocpulimit
|
6650
|
+
@ServiceGovernanceConfig = servicegovernanceconfig
|
6651
|
+
@AgentMemRequest = agentmemrequest
|
6652
|
+
@AgentCpuRequest = agentcpurequest
|
6653
|
+
@AgentMemLimit = agentmemlimit
|
6654
|
+
@AgentCpuLimit = agentcpulimit
|
6655
|
+
@UpdateType = updatetype
|
6656
|
+
@UpdateIvl = updateivl
|
6657
|
+
@MaxSurge = maxsurge
|
6658
|
+
@MaxUnavailable = maxunavailable
|
6659
|
+
@WarmupSetting = warmupsetting
|
6660
|
+
@ConfigTemplateId = configtemplateid
|
6661
|
+
@ConfigTemplateVersion = configtemplateversion
|
6662
|
+
@VolumeClean = volumeclean
|
6663
|
+
@NamespaceId = namespaceid
|
6664
|
+
@DeployAgent = deployagent
|
6665
|
+
@AgentProfileList = agentprofilelist
|
6666
|
+
@ServiceClean = serviceclean
|
6667
|
+
@EnvClean = envclean
|
6668
|
+
@DeployDesc = deploydesc
|
6669
|
+
end
|
6670
|
+
|
6671
|
+
def deserialize(params)
|
6672
|
+
@ApplicationId = params['ApplicationId']
|
6673
|
+
unless params['ObservabilityConfig'].nil?
|
6674
|
+
@ObservabilityConfig = ContainerGroupObservabilityConfig.new
|
6675
|
+
@ObservabilityConfig.deserialize(params['ObservabilityConfig'])
|
6676
|
+
end
|
6677
|
+
@ClusterId = params['ClusterId']
|
6678
|
+
@GroupId = params['GroupId']
|
6679
|
+
unless params['Envs'].nil?
|
6680
|
+
@Envs = []
|
6681
|
+
params['Envs'].each do |i|
|
6682
|
+
env_tmp = Env.new
|
6683
|
+
env_tmp.deserialize(i)
|
6684
|
+
@Envs << env_tmp
|
6685
|
+
end
|
6686
|
+
end
|
6687
|
+
unless params['VolumeMountInfoList'].nil?
|
6688
|
+
@VolumeMountInfoList = []
|
6689
|
+
params['VolumeMountInfoList'].each do |i|
|
6690
|
+
volumemountinfo_tmp = VolumeMountInfo.new
|
6691
|
+
volumemountinfo_tmp.deserialize(i)
|
6692
|
+
@VolumeMountInfoList << volumemountinfo_tmp
|
6693
|
+
end
|
6694
|
+
end
|
6695
|
+
unless params['LifeCycleHookList'].nil?
|
6696
|
+
@LifeCycleHookList = []
|
6697
|
+
params['LifeCycleHookList'].each do |i|
|
6698
|
+
lifecyclehook_tmp = LifeCycleHook.new
|
6699
|
+
lifecyclehook_tmp.deserialize(i)
|
6700
|
+
@LifeCycleHookList << lifecyclehook_tmp
|
6701
|
+
end
|
6702
|
+
end
|
6703
|
+
unless params['AdditionalContainerList'].nil?
|
6704
|
+
@AdditionalContainerList = []
|
6705
|
+
params['AdditionalContainerList'].each do |i|
|
6706
|
+
containerinfo_tmp = ContainerInfo.new
|
6707
|
+
containerinfo_tmp.deserialize(i)
|
6708
|
+
@AdditionalContainerList << containerinfo_tmp
|
6709
|
+
end
|
6710
|
+
end
|
6711
|
+
unless params['VolumeInfoList'].nil?
|
6712
|
+
@VolumeInfoList = []
|
6713
|
+
params['VolumeInfoList'].each do |i|
|
6714
|
+
volumeinfo_tmp = VolumeInfo.new
|
6715
|
+
volumeinfo_tmp.deserialize(i)
|
6716
|
+
@VolumeInfoList << volumeinfo_tmp
|
6717
|
+
end
|
6718
|
+
end
|
6719
|
+
unless params['ServiceSettingList'].nil?
|
6720
|
+
@ServiceSettingList = []
|
6721
|
+
params['ServiceSettingList'].each do |i|
|
6722
|
+
servicesetting_tmp = ServiceSetting.new
|
6723
|
+
servicesetting_tmp.deserialize(i)
|
6724
|
+
@ServiceSettingList << servicesetting_tmp
|
6725
|
+
end
|
6726
|
+
end
|
6727
|
+
@Alias = params['Alias']
|
6728
|
+
@GroupName = params['GroupName']
|
6729
|
+
unless params['Tags'].nil?
|
6730
|
+
@Tags = []
|
6731
|
+
params['Tags'].each do |i|
|
6732
|
+
tag_tmp = Tag.new
|
6733
|
+
tag_tmp.deserialize(i)
|
6734
|
+
@Tags << tag_tmp
|
6735
|
+
end
|
6736
|
+
end
|
6737
|
+
@ContainerKind = params['ContainerKind']
|
6738
|
+
@Server = params['Server']
|
6739
|
+
@RepoName = params['RepoName']
|
6740
|
+
@RepoType = params['RepoType']
|
6741
|
+
unless params['TcrRepoInfo'].nil?
|
6742
|
+
@TcrRepoInfo = TcrRepoInfo.new
|
6743
|
+
@TcrRepoInfo.deserialize(params['TcrRepoInfo'])
|
6744
|
+
end
|
6745
|
+
@SecretName = params['SecretName']
|
6746
|
+
@TagName = params['TagName']
|
6747
|
+
unless params['HealthCheckSettings'].nil?
|
6748
|
+
@HealthCheckSettings = HealthCheckSettings.new
|
6749
|
+
@HealthCheckSettings.deserialize(params['HealthCheckSettings'])
|
6750
|
+
end
|
6751
|
+
@CpuRequest = params['CpuRequest']
|
6752
|
+
@CpuLimit = params['CpuLimit']
|
6753
|
+
@MemRequest = params['MemRequest']
|
6754
|
+
@MemLimit = params['MemLimit']
|
6755
|
+
@JvmOpts = params['JvmOpts']
|
6756
|
+
@InitContainerEnable = params['InitContainerEnable']
|
6757
|
+
@PrivilegeContainerEnable = params['PrivilegeContainerEnable']
|
6758
|
+
@RunCommand = params['RunCommand']
|
6759
|
+
@RunArg = params['RunArg']
|
6760
|
+
@InstanceNum = params['InstanceNum']
|
6761
|
+
unless params['SchedulingStrategy'].nil?
|
6762
|
+
@SchedulingStrategy = SchedulingStrategy.new
|
6763
|
+
@SchedulingStrategy.deserialize(params['SchedulingStrategy'])
|
6764
|
+
end
|
6765
|
+
@RestartPolicy = params['RestartPolicy']
|
6766
|
+
@ServiceSpecEncode = params['ServiceSpecEncode']
|
6767
|
+
@IstioMemRequest = params['IstioMemRequest']
|
6768
|
+
@IstioCpuRequest = params['IstioCpuRequest']
|
6769
|
+
@IstioMemLimit = params['IstioMemLimit']
|
6770
|
+
@IstioCpuLimit = params['IstioCpuLimit']
|
6771
|
+
unless params['ServiceGovernanceConfig'].nil?
|
6772
|
+
@ServiceGovernanceConfig = ContainerGroupServiceGovernanceConfig.new
|
6773
|
+
@ServiceGovernanceConfig.deserialize(params['ServiceGovernanceConfig'])
|
6774
|
+
end
|
6775
|
+
@AgentMemRequest = params['AgentMemRequest']
|
6776
|
+
@AgentCpuRequest = params['AgentCpuRequest']
|
6777
|
+
@AgentMemLimit = params['AgentMemLimit']
|
6778
|
+
@AgentCpuLimit = params['AgentCpuLimit']
|
6779
|
+
@UpdateType = params['UpdateType']
|
6780
|
+
@UpdateIvl = params['UpdateIvl']
|
6781
|
+
@MaxSurge = params['MaxSurge']
|
6782
|
+
@MaxUnavailable = params['MaxUnavailable']
|
6783
|
+
unless params['WarmupSetting'].nil?
|
6784
|
+
@WarmupSetting = WarmupSetting.new
|
6785
|
+
@WarmupSetting.deserialize(params['WarmupSetting'])
|
6786
|
+
end
|
6787
|
+
@ConfigTemplateId = params['ConfigTemplateId']
|
6788
|
+
@ConfigTemplateVersion = params['ConfigTemplateVersion']
|
6789
|
+
@VolumeClean = params['VolumeClean']
|
6790
|
+
@NamespaceId = params['NamespaceId']
|
6791
|
+
@DeployAgent = params['DeployAgent']
|
6792
|
+
unless params['AgentProfileList'].nil?
|
6793
|
+
@AgentProfileList = []
|
6794
|
+
params['AgentProfileList'].each do |i|
|
6795
|
+
agentprofile_tmp = AgentProfile.new
|
6796
|
+
agentprofile_tmp.deserialize(i)
|
6797
|
+
@AgentProfileList << agentprofile_tmp
|
6798
|
+
end
|
6799
|
+
end
|
6800
|
+
@ServiceClean = params['ServiceClean']
|
6801
|
+
@EnvClean = params['EnvClean']
|
6802
|
+
@DeployDesc = params['DeployDesc']
|
6803
|
+
end
|
6804
|
+
end
|
6805
|
+
|
6806
|
+
# 部署后返回的结构体
|
6807
|
+
class DeployContainerApplicationResp < TencentCloud::Common::AbstractModel
|
6808
|
+
# @param GroupId: 部署组ID
|
6809
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6810
|
+
# @type GroupId: String
|
6811
|
+
# @param TaskId: 任务ID
|
6812
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6813
|
+
# @type TaskId: String
|
6814
|
+
|
6815
|
+
attr_accessor :GroupId, :TaskId
|
6816
|
+
|
6817
|
+
def initialize(groupid=nil, taskid=nil)
|
6818
|
+
@GroupId = groupid
|
6819
|
+
@TaskId = taskid
|
6820
|
+
end
|
6821
|
+
|
6822
|
+
def deserialize(params)
|
6823
|
+
@GroupId = params['GroupId']
|
6824
|
+
@TaskId = params['TaskId']
|
6825
|
+
end
|
6826
|
+
end
|
6827
|
+
|
6828
|
+
# DeployContainerApplication返回参数结构体
|
6829
|
+
class DeployContainerApplicationResponse < TencentCloud::Common::AbstractModel
|
6830
|
+
# @param Result: 部署容器应用是否成功。
|
6831
|
+
# true:成功。
|
6832
|
+
# false:失败。
|
6833
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6834
|
+
# @type Result: :class:`Tencentcloud::Tsf.v20180326.models.DeployContainerApplicationResp`
|
6835
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6836
|
+
# @type RequestId: String
|
6837
|
+
|
6838
|
+
attr_accessor :Result, :RequestId
|
6839
|
+
|
6840
|
+
def initialize(result=nil, requestid=nil)
|
6841
|
+
@Result = result
|
6842
|
+
@RequestId = requestid
|
6843
|
+
end
|
6844
|
+
|
6845
|
+
def deserialize(params)
|
6846
|
+
unless params['Result'].nil?
|
6847
|
+
@Result = DeployContainerApplicationResp.new
|
6848
|
+
@Result.deserialize(params['Result'])
|
6849
|
+
end
|
6850
|
+
@RequestId = params['RequestId']
|
6851
|
+
end
|
6852
|
+
end
|
6853
|
+
|
6243
6854
|
# DeployContainerGroup请求参数结构体
|
6244
6855
|
class DeployContainerGroupRequest < TencentCloud::Common::AbstractModel
|
6245
6856
|
# @param GroupId: 部署组ID,分组唯一标识
|
@@ -6321,8 +6932,8 @@ module TencentCloud
|
|
6321
6932
|
|
6322
6933
|
attr_accessor :GroupId, :TagName, :InstanceNum, :Server, :Reponame, :CpuLimit, :MemLimit, :JvmOpts, :CpuRequest, :MemRequest, :DoNotStart, :RepoName, :UpdateType, :UpdateIvl, :AgentCpuRequest, :AgentCpuLimit, :AgentMemRequest, :AgentMemLimit, :IstioCpuRequest, :IstioCpuLimit, :IstioMemRequest, :IstioMemLimit, :MaxSurge, :MaxUnavailable, :HealthCheckSettings, :Envs, :ServiceSetting, :DeployAgent, :SchedulingStrategy, :IncrementalDeployment, :RepoType, :VolumeInfos, :VolumeMountInfos, :VolumeInfoList, :VolumeMountInfoList, :VolumeClean, :AgentProfileList, :WarmupSetting
|
6323
6934
|
extend Gem::Deprecate
|
6324
|
-
deprecate :Reponame, :none, 2025,
|
6325
|
-
deprecate :Reponame=, :none, 2025,
|
6935
|
+
deprecate :Reponame, :none, 2025, 7
|
6936
|
+
deprecate :Reponame=, :none, 2025, 7
|
6326
6937
|
|
6327
6938
|
def initialize(groupid=nil, tagname=nil, instancenum=nil, server=nil, cpulimit=nil, memlimit=nil, jvmopts=nil, cpurequest=nil, memrequest=nil, donotstart=nil, reponame=nil, updatetype=nil, updateivl=nil, agentcpurequest=nil, agentcpulimit=nil, agentmemrequest=nil, agentmemlimit=nil, istiocpurequest=nil, istiocpulimit=nil, istiomemrequest=nil, istiomemlimit=nil, maxsurge=nil, maxunavailable=nil, healthchecksettings=nil, envs=nil, servicesetting=nil, deployagent=nil, schedulingstrategy=nil, incrementaldeployment=nil, repotype=nil, volumeinfos=nil, volumemountinfos=nil, volumeinfolist=nil, volumemountinfolist=nil, volumeclean=nil, agentprofilelist=nil, warmupsetting=nil)
|
6328
6939
|
@GroupId = groupid
|
@@ -13546,6 +14157,38 @@ module TencentCloud
|
|
13546
14157
|
end
|
13547
14158
|
end
|
13548
14159
|
|
14160
|
+
# HttpGet 执行内容
|
14161
|
+
class HttpGetOption < TencentCloud::Common::AbstractModel
|
14162
|
+
# @param Host: 主机地址
|
14163
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
14164
|
+
# @type Host: String
|
14165
|
+
# @param Path: 路径
|
14166
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
14167
|
+
# @type Path: String
|
14168
|
+
# @param Port: 端口
|
14169
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
14170
|
+
# @type Port: String
|
14171
|
+
# @param Scheme: 协议:HTTP|HTTPS
|
14172
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
14173
|
+
# @type Scheme: String
|
14174
|
+
|
14175
|
+
attr_accessor :Host, :Path, :Port, :Scheme
|
14176
|
+
|
14177
|
+
def initialize(host=nil, path=nil, port=nil, scheme=nil)
|
14178
|
+
@Host = host
|
14179
|
+
@Path = path
|
14180
|
+
@Port = port
|
14181
|
+
@Scheme = scheme
|
14182
|
+
end
|
14183
|
+
|
14184
|
+
def deserialize(params)
|
14185
|
+
@Host = params['Host']
|
14186
|
+
@Path = params['Path']
|
14187
|
+
@Port = params['Port']
|
14188
|
+
@Scheme = params['Scheme']
|
14189
|
+
end
|
14190
|
+
end
|
14191
|
+
|
13549
14192
|
# 镜像仓库
|
13550
14193
|
class ImageRepository < TencentCloud::Common::AbstractModel
|
13551
14194
|
# @param Reponame: 仓库名,含命名空间,如tsf/nginx
|
@@ -14762,6 +15405,41 @@ module TencentCloud
|
|
14762
15405
|
end
|
14763
15406
|
end
|
14764
15407
|
|
15408
|
+
# LifeCycleHook
|
15409
|
+
class LifeCycleHook < TencentCloud::Common::AbstractModel
|
15410
|
+
# @param HookType: 生命周期函数类型:PostStart|PreStop
|
15411
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15412
|
+
# @type HookType: String
|
15413
|
+
# @param ExecMode: 函数执行方式:execCommand|httpGet|none
|
15414
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15415
|
+
# @type ExecMode: String
|
15416
|
+
# @param ExecCommandContent: execCommand函数执行内容
|
15417
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15418
|
+
# @type ExecCommandContent: String
|
15419
|
+
# @param HttpGetOption: HttpGet执行内容
|
15420
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15421
|
+
# @type HttpGetOption: :class:`Tencentcloud::Tsf.v20180326.models.HttpGetOption`
|
15422
|
+
|
15423
|
+
attr_accessor :HookType, :ExecMode, :ExecCommandContent, :HttpGetOption
|
15424
|
+
|
15425
|
+
def initialize(hooktype=nil, execmode=nil, execcommandcontent=nil, httpgetoption=nil)
|
15426
|
+
@HookType = hooktype
|
15427
|
+
@ExecMode = execmode
|
15428
|
+
@ExecCommandContent = execcommandcontent
|
15429
|
+
@HttpGetOption = httpgetoption
|
15430
|
+
end
|
15431
|
+
|
15432
|
+
def deserialize(params)
|
15433
|
+
@HookType = params['HookType']
|
15434
|
+
@ExecMode = params['ExecMode']
|
15435
|
+
@ExecCommandContent = params['ExecCommandContent']
|
15436
|
+
unless params['HttpGetOption'].nil?
|
15437
|
+
@HttpGetOption = HttpGetOption.new
|
15438
|
+
@HttpGetOption.deserialize(params['HttpGetOption'])
|
15439
|
+
end
|
15440
|
+
end
|
15441
|
+
end
|
15442
|
+
|
14765
15443
|
# Jvm监控内存数据封装
|
14766
15444
|
class MemoryPicture < TencentCloud::Common::AbstractModel
|
14767
15445
|
# @param Max: 内存最大值
|
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.
|
4
|
+
version: 3.0.1092
|
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-
|
11
|
+
date: 2025-07-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|