tencentcloud-sdk-tsf 3.0.504 → 3.0.506
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180326/client.rb +24 -0
- data/lib/v20180326/models.rb +60 -3
- 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: 5fb17854d5cf3a6a675e734ae93fcc7237ff9613
|
4
|
+
data.tar.gz: 898d0182f8492445e09c91923e3d4058357439c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89bee291a1ad91566df9877826e3460c83e442e4645b61699aa8f0a77e68706d57a87d73f0ec10afc5fdf32576e5c559d1500d8c23a22b5b3c69398be9eb6155
|
7
|
+
data.tar.gz: c378dd0b133dcf816e5f94ffef4afa6516b47d8c899ea08f535c0c48252a27e6051040e6e35d4c76ecd828e3748842bab1b5dd61a03bf995c34cfbb2196a07a8
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.506
|
data/lib/v20180326/client.rb
CHANGED
@@ -893,6 +893,30 @@ module TencentCloud
|
|
893
893
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
894
894
|
end
|
895
895
|
|
896
|
+
# 删除文件配置项
|
897
|
+
|
898
|
+
# @param request: Request instance for DeleteFileConfig.
|
899
|
+
# @type request: :class:`Tencentcloud::tsf::V20180326::DeleteFileConfigRequest`
|
900
|
+
# @rtype: :class:`Tencentcloud::tsf::V20180326::DeleteFileConfigResponse`
|
901
|
+
def DeleteFileConfig(request)
|
902
|
+
body = send_request('DeleteFileConfig', request.serialize)
|
903
|
+
response = JSON.parse(body)
|
904
|
+
if response['Response'].key?('Error') == false
|
905
|
+
model = DeleteFileConfigResponse.new
|
906
|
+
model.deserialize(response['Response'])
|
907
|
+
model
|
908
|
+
else
|
909
|
+
code = response['Response']['Error']['Code']
|
910
|
+
message = response['Response']['Error']['Message']
|
911
|
+
reqid = response['Response']['RequestId']
|
912
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
913
|
+
end
|
914
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
915
|
+
raise e
|
916
|
+
rescue StandardError => e
|
917
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
918
|
+
end
|
919
|
+
|
896
920
|
# 删除容器部署组
|
897
921
|
|
898
922
|
# @param request: Request instance for DeleteGroup.
|
data/lib/v20180326/models.rb
CHANGED
@@ -2397,7 +2397,7 @@ module TencentCloud
|
|
2397
2397
|
end
|
2398
2398
|
end
|
2399
2399
|
|
2400
|
-
#
|
2400
|
+
# 容器部署组详情
|
2401
2401
|
class ContainerGroupDetail < TencentCloud::Common::AbstractModel
|
2402
2402
|
# @param GroupId: 部署组ID
|
2403
2403
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -2510,10 +2510,22 @@ module TencentCloud
|
|
2510
2510
|
# @param HealthCheckSettings: 部署组健康检查设置
|
2511
2511
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2512
2512
|
# @type HealthCheckSettings: :class:`Tencentcloud::Tsf.v20180326.models.HealthCheckSettings`
|
2513
|
+
# @param AllowPlainYamlDeploy: 允许PlainYamlDeploy
|
2514
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2515
|
+
# @type AllowPlainYamlDeploy: Boolean
|
2516
|
+
# @param IsNotEqualServiceConfig: 是否不等于ServiceConfig
|
2517
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2518
|
+
# @type IsNotEqualServiceConfig: Boolean
|
2519
|
+
# @param RepoName: 仓库名
|
2520
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2521
|
+
# @type RepoName: String
|
2522
|
+
# @param Alias: 别名
|
2523
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2524
|
+
# @type Alias: String
|
2513
2525
|
|
2514
|
-
attr_accessor :GroupId, :GroupName, :InstanceNum, :CurrentNum, :CreateTime, :Server, :Reponame, :TagName, :ClusterId, :ClusterName, :NamespaceId, :NamespaceName, :ApplicationId, :LbIp, :ApplicationType, :ClusterIp, :NodePort, :CpuLimit, :MemLimit, :AccessType, :UpdateType, :UpdateIvl, :ProtocolPorts, :Envs, :ApplicationName, :Message, :Status, :MicroserviceType, :CpuRequest, :MemRequest, :SubnetId, :GroupResourceType, :InstanceCount, :UpdatedTime, :MaxSurge, :MaxUnavailable, :HealthCheckSettings
|
2526
|
+
attr_accessor :GroupId, :GroupName, :InstanceNum, :CurrentNum, :CreateTime, :Server, :Reponame, :TagName, :ClusterId, :ClusterName, :NamespaceId, :NamespaceName, :ApplicationId, :LbIp, :ApplicationType, :ClusterIp, :NodePort, :CpuLimit, :MemLimit, :AccessType, :UpdateType, :UpdateIvl, :ProtocolPorts, :Envs, :ApplicationName, :Message, :Status, :MicroserviceType, :CpuRequest, :MemRequest, :SubnetId, :GroupResourceType, :InstanceCount, :UpdatedTime, :MaxSurge, :MaxUnavailable, :HealthCheckSettings, :AllowPlainYamlDeploy, :IsNotEqualServiceConfig, :RepoName, :Alias
|
2515
2527
|
|
2516
|
-
def initialize(groupid=nil, groupname=nil, instancenum=nil, currentnum=nil, createtime=nil, server=nil, reponame=nil, tagname=nil, clusterid=nil, clustername=nil, namespaceid=nil, namespacename=nil, applicationid=nil, lbip=nil, applicationtype=nil, clusterip=nil, nodeport=nil, cpulimit=nil, memlimit=nil, accesstype=nil, updatetype=nil, updateivl=nil, protocolports=nil, envs=nil, applicationname=nil, message=nil, status=nil, microservicetype=nil, cpurequest=nil, memrequest=nil, subnetid=nil, groupresourcetype=nil, instancecount=nil, updatedtime=nil, maxsurge=nil, maxunavailable=nil, healthchecksettings=nil)
|
2528
|
+
def initialize(groupid=nil, groupname=nil, instancenum=nil, currentnum=nil, createtime=nil, server=nil, reponame=nil, tagname=nil, clusterid=nil, clustername=nil, namespaceid=nil, namespacename=nil, applicationid=nil, lbip=nil, applicationtype=nil, clusterip=nil, nodeport=nil, cpulimit=nil, memlimit=nil, accesstype=nil, updatetype=nil, updateivl=nil, protocolports=nil, envs=nil, applicationname=nil, message=nil, status=nil, microservicetype=nil, cpurequest=nil, memrequest=nil, subnetid=nil, groupresourcetype=nil, instancecount=nil, updatedtime=nil, maxsurge=nil, maxunavailable=nil, healthchecksettings=nil, allowplainyamldeploy=nil, isnotequalserviceconfig=nil, reponame=nil, _alias=nil)
|
2517
2529
|
@GroupId = groupid
|
2518
2530
|
@GroupName = groupname
|
2519
2531
|
@InstanceNum = instancenum
|
@@ -2551,6 +2563,10 @@ module TencentCloud
|
|
2551
2563
|
@MaxSurge = maxsurge
|
2552
2564
|
@MaxUnavailable = maxunavailable
|
2553
2565
|
@HealthCheckSettings = healthchecksettings
|
2566
|
+
@AllowPlainYamlDeploy = allowplainyamldeploy
|
2567
|
+
@IsNotEqualServiceConfig = isnotequalserviceconfig
|
2568
|
+
@RepoName = reponame
|
2569
|
+
@Alias = _alias
|
2554
2570
|
end
|
2555
2571
|
|
2556
2572
|
def deserialize(params)
|
@@ -2608,6 +2624,10 @@ module TencentCloud
|
|
2608
2624
|
@HealthCheckSettings = HealthCheckSettings.new
|
2609
2625
|
@HealthCheckSettings.deserialize(params['HealthCheckSettings'])
|
2610
2626
|
end
|
2627
|
+
@AllowPlainYamlDeploy = params['AllowPlainYamlDeploy']
|
2628
|
+
@IsNotEqualServiceConfig = params['IsNotEqualServiceConfig']
|
2629
|
+
@RepoName = params['RepoName']
|
2630
|
+
@Alias = params['Alias']
|
2611
2631
|
end
|
2612
2632
|
end
|
2613
2633
|
|
@@ -4458,6 +4478,43 @@ module TencentCloud
|
|
4458
4478
|
end
|
4459
4479
|
end
|
4460
4480
|
|
4481
|
+
# DeleteFileConfig请求参数结构体
|
4482
|
+
class DeleteFileConfigRequest < TencentCloud::Common::AbstractModel
|
4483
|
+
# @param ConfigId: 文件配置项ID
|
4484
|
+
# @type ConfigId: String
|
4485
|
+
|
4486
|
+
attr_accessor :ConfigId
|
4487
|
+
|
4488
|
+
def initialize(configid=nil)
|
4489
|
+
@ConfigId = configid
|
4490
|
+
end
|
4491
|
+
|
4492
|
+
def deserialize(params)
|
4493
|
+
@ConfigId = params['ConfigId']
|
4494
|
+
end
|
4495
|
+
end
|
4496
|
+
|
4497
|
+
# DeleteFileConfig返回参数结构体
|
4498
|
+
class DeleteFileConfigResponse < TencentCloud::Common::AbstractModel
|
4499
|
+
# @param Result: 删除结果
|
4500
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4501
|
+
# @type Result: Boolean
|
4502
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4503
|
+
# @type RequestId: String
|
4504
|
+
|
4505
|
+
attr_accessor :Result, :RequestId
|
4506
|
+
|
4507
|
+
def initialize(result=nil, requestid=nil)
|
4508
|
+
@Result = result
|
4509
|
+
@RequestId = requestid
|
4510
|
+
end
|
4511
|
+
|
4512
|
+
def deserialize(params)
|
4513
|
+
@Result = params['Result']
|
4514
|
+
@RequestId = params['RequestId']
|
4515
|
+
end
|
4516
|
+
end
|
4517
|
+
|
4461
4518
|
# DeleteGroup请求参数结构体
|
4462
4519
|
class DeleteGroupRequest < TencentCloud::Common::AbstractModel
|
4463
4520
|
# @param GroupId: 部署组ID
|
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.506
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-02-
|
11
|
+
date: 2023-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|