tencentcloud-sdk-tsf 3.0.505 → 3.0.507
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 +83 -6
- 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: 86b02caec2ba15ffe971d8e252b347770011d6af
|
4
|
+
data.tar.gz: 200b04ffd8ea08e1565676c13d5c7e0d05d7debb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6e2140e37221535487460bed62f66a457f53f067d4d3798df34e9687f510daf9521b435236c578cbf84171d422f743025b19bda48c5734aedc3a3f23124fb19
|
7
|
+
data.tar.gz: 3b9b4478aa09ee98b0ac450496d54a73ccb7fe233f104fb000b28e98d288f4a050de75a8e1c5ef7e8222629f165ccf3b16fd0dcba321e7ec57df44afe5ff27e0
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.507
|
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
@@ -332,10 +332,22 @@ module TencentCloud
|
|
332
332
|
# @param ApiMatchType: API路径匹配类型。normal:普通API;wildcard:通配API。
|
333
333
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
334
334
|
# @type ApiMatchType: String
|
335
|
+
# @param RpcExt: RPC 额外信息
|
336
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
337
|
+
# @type RpcExt: String
|
338
|
+
# @param GatewayDeployGroupId: 部署组id
|
339
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
340
|
+
# @type GatewayDeployGroupId: String
|
341
|
+
# @param Md5: md5
|
342
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
343
|
+
# @type Md5: String
|
344
|
+
# @param RpcType: RPC 类型
|
345
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
346
|
+
# @type RpcType: String
|
335
347
|
|
336
|
-
attr_accessor :ApiId, :NamespaceId, :NamespaceName, :MicroserviceId, :MicroserviceName, :Path, :PathMapping, :Method, :GroupId, :UsableStatus, :ReleaseStatus, :RateLimitStatus, :MockStatus, :CreatedTime, :UpdatedTime, :ReleasedTime, :GroupName, :Timeout, :Host, :ApiType, :Description, :ApiMatchType
|
348
|
+
attr_accessor :ApiId, :NamespaceId, :NamespaceName, :MicroserviceId, :MicroserviceName, :Path, :PathMapping, :Method, :GroupId, :UsableStatus, :ReleaseStatus, :RateLimitStatus, :MockStatus, :CreatedTime, :UpdatedTime, :ReleasedTime, :GroupName, :Timeout, :Host, :ApiType, :Description, :ApiMatchType, :RpcExt, :GatewayDeployGroupId, :Md5, :RpcType
|
337
349
|
|
338
|
-
def initialize(apiid=nil, namespaceid=nil, namespacename=nil, microserviceid=nil, microservicename=nil, path=nil, pathmapping=nil, method=nil, groupid=nil, usablestatus=nil, releasestatus=nil, ratelimitstatus=nil, mockstatus=nil, createdtime=nil, updatedtime=nil, releasedtime=nil, groupname=nil, timeout=nil, host=nil, apitype=nil, description=nil, apimatchtype=nil)
|
350
|
+
def initialize(apiid=nil, namespaceid=nil, namespacename=nil, microserviceid=nil, microservicename=nil, path=nil, pathmapping=nil, method=nil, groupid=nil, usablestatus=nil, releasestatus=nil, ratelimitstatus=nil, mockstatus=nil, createdtime=nil, updatedtime=nil, releasedtime=nil, groupname=nil, timeout=nil, host=nil, apitype=nil, description=nil, apimatchtype=nil, rpcext=nil, gatewaydeploygroupid=nil, md5=nil, rpctype=nil)
|
339
351
|
@ApiId = apiid
|
340
352
|
@NamespaceId = namespaceid
|
341
353
|
@NamespaceName = namespacename
|
@@ -358,6 +370,10 @@ module TencentCloud
|
|
358
370
|
@ApiType = apitype
|
359
371
|
@Description = description
|
360
372
|
@ApiMatchType = apimatchtype
|
373
|
+
@RpcExt = rpcext
|
374
|
+
@GatewayDeployGroupId = gatewaydeploygroupid
|
375
|
+
@Md5 = md5
|
376
|
+
@RpcType = rpctype
|
361
377
|
end
|
362
378
|
|
363
379
|
def deserialize(params)
|
@@ -383,6 +399,10 @@ module TencentCloud
|
|
383
399
|
@ApiType = params['ApiType']
|
384
400
|
@Description = params['Description']
|
385
401
|
@ApiMatchType = params['ApiMatchType']
|
402
|
+
@RpcExt = params['RpcExt']
|
403
|
+
@GatewayDeployGroupId = params['GatewayDeployGroupId']
|
404
|
+
@Md5 = params['Md5']
|
405
|
+
@RpcType = params['RpcType']
|
386
406
|
end
|
387
407
|
end
|
388
408
|
|
@@ -2155,7 +2175,7 @@ module TencentCloud
|
|
2155
2175
|
end
|
2156
2176
|
end
|
2157
2177
|
|
2158
|
-
#
|
2178
|
+
# 获取部署组
|
2159
2179
|
class ContainerGroupDeploy < TencentCloud::Common::AbstractModel
|
2160
2180
|
# @param GroupId: 部署组id
|
2161
2181
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -2397,7 +2417,7 @@ module TencentCloud
|
|
2397
2417
|
end
|
2398
2418
|
end
|
2399
2419
|
|
2400
|
-
#
|
2420
|
+
# 容器部署组详情
|
2401
2421
|
class ContainerGroupDetail < TencentCloud::Common::AbstractModel
|
2402
2422
|
# @param GroupId: 部署组ID
|
2403
2423
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -2510,10 +2530,22 @@ module TencentCloud
|
|
2510
2530
|
# @param HealthCheckSettings: 部署组健康检查设置
|
2511
2531
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2512
2532
|
# @type HealthCheckSettings: :class:`Tencentcloud::Tsf.v20180326.models.HealthCheckSettings`
|
2533
|
+
# @param AllowPlainYamlDeploy: 允许PlainYamlDeploy
|
2534
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2535
|
+
# @type AllowPlainYamlDeploy: Boolean
|
2536
|
+
# @param IsNotEqualServiceConfig: 是否不等于ServiceConfig
|
2537
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2538
|
+
# @type IsNotEqualServiceConfig: Boolean
|
2539
|
+
# @param RepoName: 仓库名
|
2540
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2541
|
+
# @type RepoName: String
|
2542
|
+
# @param Alias: 别名
|
2543
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2544
|
+
# @type Alias: String
|
2513
2545
|
|
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
|
2546
|
+
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
2547
|
|
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)
|
2548
|
+
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
2549
|
@GroupId = groupid
|
2518
2550
|
@GroupName = groupname
|
2519
2551
|
@InstanceNum = instancenum
|
@@ -2551,6 +2583,10 @@ module TencentCloud
|
|
2551
2583
|
@MaxSurge = maxsurge
|
2552
2584
|
@MaxUnavailable = maxunavailable
|
2553
2585
|
@HealthCheckSettings = healthchecksettings
|
2586
|
+
@AllowPlainYamlDeploy = allowplainyamldeploy
|
2587
|
+
@IsNotEqualServiceConfig = isnotequalserviceconfig
|
2588
|
+
@RepoName = reponame
|
2589
|
+
@Alias = _alias
|
2554
2590
|
end
|
2555
2591
|
|
2556
2592
|
def deserialize(params)
|
@@ -2608,6 +2644,10 @@ module TencentCloud
|
|
2608
2644
|
@HealthCheckSettings = HealthCheckSettings.new
|
2609
2645
|
@HealthCheckSettings.deserialize(params['HealthCheckSettings'])
|
2610
2646
|
end
|
2647
|
+
@AllowPlainYamlDeploy = params['AllowPlainYamlDeploy']
|
2648
|
+
@IsNotEqualServiceConfig = params['IsNotEqualServiceConfig']
|
2649
|
+
@RepoName = params['RepoName']
|
2650
|
+
@Alias = params['Alias']
|
2611
2651
|
end
|
2612
2652
|
end
|
2613
2653
|
|
@@ -4458,6 +4498,43 @@ module TencentCloud
|
|
4458
4498
|
end
|
4459
4499
|
end
|
4460
4500
|
|
4501
|
+
# DeleteFileConfig请求参数结构体
|
4502
|
+
class DeleteFileConfigRequest < TencentCloud::Common::AbstractModel
|
4503
|
+
# @param ConfigId: 文件配置项ID
|
4504
|
+
# @type ConfigId: String
|
4505
|
+
|
4506
|
+
attr_accessor :ConfigId
|
4507
|
+
|
4508
|
+
def initialize(configid=nil)
|
4509
|
+
@ConfigId = configid
|
4510
|
+
end
|
4511
|
+
|
4512
|
+
def deserialize(params)
|
4513
|
+
@ConfigId = params['ConfigId']
|
4514
|
+
end
|
4515
|
+
end
|
4516
|
+
|
4517
|
+
# DeleteFileConfig返回参数结构体
|
4518
|
+
class DeleteFileConfigResponse < TencentCloud::Common::AbstractModel
|
4519
|
+
# @param Result: 删除结果
|
4520
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4521
|
+
# @type Result: Boolean
|
4522
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4523
|
+
# @type RequestId: String
|
4524
|
+
|
4525
|
+
attr_accessor :Result, :RequestId
|
4526
|
+
|
4527
|
+
def initialize(result=nil, requestid=nil)
|
4528
|
+
@Result = result
|
4529
|
+
@RequestId = requestid
|
4530
|
+
end
|
4531
|
+
|
4532
|
+
def deserialize(params)
|
4533
|
+
@Result = params['Result']
|
4534
|
+
@RequestId = params['RequestId']
|
4535
|
+
end
|
4536
|
+
end
|
4537
|
+
|
4461
4538
|
# DeleteGroup请求参数结构体
|
4462
4539
|
class DeleteGroupRequest < TencentCloud::Common::AbstractModel
|
4463
4540
|
# @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.507
|
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-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|