tencentcloud-sdk-tcb 1.0.201 → 1.0.202
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/v20180608/client.rb +24 -0
- data/lib/v20180608/models.rb +88 -2
- 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: 0870cfd74db8d6a89783c5d8e9fbb6184ecfdb9d
|
4
|
+
data.tar.gz: 04359d8befad7a5820b6d8d93fda27b772234c00
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b342ec52f563d760599918059d6d012c635056ccc7fc7d05240bc6cdbdf58f039039f5892bdfe1f8f1c32a1dafd53eecffbd5b0f0dea2201cce90e9f46c7113f
|
7
|
+
data.tar.gz: 2135750a469882d4096980bcdcab2f0b7d1079814fe2f547a45bbc544f2ddc9b0f515f94204b523b74a620467b00801a66745a1bfbe101aba61fb3026b96be3e
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.202
|
data/lib/v20180608/client.rb
CHANGED
@@ -1616,6 +1616,30 @@ module TencentCloud
|
|
1616
1616
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1617
1617
|
end
|
1618
1618
|
|
1619
|
+
# 修改服务版本的副本数,环境变量
|
1620
|
+
|
1621
|
+
# @param request: Request instance for ModifyCloudBaseRunServerVersion.
|
1622
|
+
# @type request: :class:`Tencentcloud::tcb::V20180608::ModifyCloudBaseRunServerVersionRequest`
|
1623
|
+
# @rtype: :class:`Tencentcloud::tcb::V20180608::ModifyCloudBaseRunServerVersionResponse`
|
1624
|
+
def ModifyCloudBaseRunServerVersion(request)
|
1625
|
+
body = send_request('ModifyCloudBaseRunServerVersion', request.serialize)
|
1626
|
+
response = JSON.parse(body)
|
1627
|
+
if response['Response'].key?('Error') == false
|
1628
|
+
model = ModifyCloudBaseRunServerVersionResponse.new
|
1629
|
+
model.deserialize(response['Response'])
|
1630
|
+
model
|
1631
|
+
else
|
1632
|
+
code = response['Response']['Error']['Code']
|
1633
|
+
message = response['Response']['Error']['Message']
|
1634
|
+
reqid = response['Response']['RequestId']
|
1635
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1636
|
+
end
|
1637
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1638
|
+
raise e
|
1639
|
+
rescue StandardError => e
|
1640
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1641
|
+
end
|
1642
|
+
|
1619
1643
|
# 修改数据库权限
|
1620
1644
|
|
1621
1645
|
# @param request: Request instance for ModifyDatabaseACL.
|
data/lib/v20180608/models.rb
CHANGED
@@ -732,10 +732,13 @@ module TencentCloud
|
|
732
732
|
# @param CurrentReplicas: 当前副本数
|
733
733
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
734
734
|
# @type CurrentReplicas: Integer
|
735
|
+
# @param Architecture: Monolithic,Microservice
|
736
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
737
|
+
# @type Architecture: String
|
735
738
|
|
736
|
-
attr_accessor :VersionName, :Status, :FlowRatio, :CreatedTime, :UpdatedTime, :BuildId, :UploadType, :Remark, :UrlParam, :Priority, :IsDefaultPriority, :FlowParams, :MinReplicas, :MaxReplicas, :RunId, :Percent, :CurrentReplicas
|
739
|
+
attr_accessor :VersionName, :Status, :FlowRatio, :CreatedTime, :UpdatedTime, :BuildId, :UploadType, :Remark, :UrlParam, :Priority, :IsDefaultPriority, :FlowParams, :MinReplicas, :MaxReplicas, :RunId, :Percent, :CurrentReplicas, :Architecture
|
737
740
|
|
738
|
-
def initialize(versionname=nil, status=nil, flowratio=nil, createdtime=nil, updatedtime=nil, buildid=nil, uploadtype=nil, remark=nil, urlparam=nil, priority=nil, isdefaultpriority=nil, flowparams=nil, minreplicas=nil, maxreplicas=nil, runid=nil, percent=nil, currentreplicas=nil)
|
741
|
+
def initialize(versionname=nil, status=nil, flowratio=nil, createdtime=nil, updatedtime=nil, buildid=nil, uploadtype=nil, remark=nil, urlparam=nil, priority=nil, isdefaultpriority=nil, flowparams=nil, minreplicas=nil, maxreplicas=nil, runid=nil, percent=nil, currentreplicas=nil, architecture=nil)
|
739
742
|
@VersionName = versionname
|
740
743
|
@Status = status
|
741
744
|
@FlowRatio = flowratio
|
@@ -753,6 +756,7 @@ module TencentCloud
|
|
753
756
|
@RunId = runid
|
754
757
|
@Percent = percent
|
755
758
|
@CurrentReplicas = currentreplicas
|
759
|
+
@Architecture = architecture
|
756
760
|
end
|
757
761
|
|
758
762
|
def deserialize(params)
|
@@ -783,6 +787,7 @@ module TencentCloud
|
|
783
787
|
@RunId = params['RunId']
|
784
788
|
@Percent = params['Percent']
|
785
789
|
@CurrentReplicas = params['CurrentReplicas']
|
790
|
+
@Architecture = params['Architecture']
|
786
791
|
end
|
787
792
|
end
|
788
793
|
|
@@ -5937,6 +5942,87 @@ module TencentCloud
|
|
5937
5942
|
end
|
5938
5943
|
end
|
5939
5944
|
|
5945
|
+
# ModifyCloudBaseRunServerVersion请求参数结构体
|
5946
|
+
class ModifyCloudBaseRunServerVersionRequest < TencentCloud::Common::AbstractModel
|
5947
|
+
# @param EnvId: 环境ID
|
5948
|
+
# @type EnvId: String
|
5949
|
+
# @param ServerName: 服务名称
|
5950
|
+
# @type ServerName: String
|
5951
|
+
# @param VersionName: 版本名称
|
5952
|
+
# @type VersionName: String
|
5953
|
+
# @param EnvParams: 环境变量
|
5954
|
+
# @type EnvParams: String
|
5955
|
+
# @param MinNum: 最小副本数
|
5956
|
+
# @type MinNum: String
|
5957
|
+
# @param MaxNum: 最大副本数
|
5958
|
+
# @type MaxNum: String
|
5959
|
+
# @param ContainerPort: 端口
|
5960
|
+
# @type ContainerPort: String
|
5961
|
+
# @param Remark: 备注
|
5962
|
+
# @type Remark: String
|
5963
|
+
# @param CustomLogs: 日志采集路径
|
5964
|
+
# @type CustomLogs: String
|
5965
|
+
# @param IsResetRemark: 是否重设备注
|
5966
|
+
# @type IsResetRemark: Boolean
|
5967
|
+
# @param BasicModify: 修改基础信息
|
5968
|
+
# @type BasicModify: Boolean
|
5969
|
+
# @param OperatorRemark: 操作备注
|
5970
|
+
# @type OperatorRemark: String
|
5971
|
+
|
5972
|
+
attr_accessor :EnvId, :ServerName, :VersionName, :EnvParams, :MinNum, :MaxNum, :ContainerPort, :Remark, :CustomLogs, :IsResetRemark, :BasicModify, :OperatorRemark
|
5973
|
+
|
5974
|
+
def initialize(envid=nil, servername=nil, versionname=nil, envparams=nil, minnum=nil, maxnum=nil, containerport=nil, remark=nil, customlogs=nil, isresetremark=nil, basicmodify=nil, operatorremark=nil)
|
5975
|
+
@EnvId = envid
|
5976
|
+
@ServerName = servername
|
5977
|
+
@VersionName = versionname
|
5978
|
+
@EnvParams = envparams
|
5979
|
+
@MinNum = minnum
|
5980
|
+
@MaxNum = maxnum
|
5981
|
+
@ContainerPort = containerport
|
5982
|
+
@Remark = remark
|
5983
|
+
@CustomLogs = customlogs
|
5984
|
+
@IsResetRemark = isresetremark
|
5985
|
+
@BasicModify = basicmodify
|
5986
|
+
@OperatorRemark = operatorremark
|
5987
|
+
end
|
5988
|
+
|
5989
|
+
def deserialize(params)
|
5990
|
+
@EnvId = params['EnvId']
|
5991
|
+
@ServerName = params['ServerName']
|
5992
|
+
@VersionName = params['VersionName']
|
5993
|
+
@EnvParams = params['EnvParams']
|
5994
|
+
@MinNum = params['MinNum']
|
5995
|
+
@MaxNum = params['MaxNum']
|
5996
|
+
@ContainerPort = params['ContainerPort']
|
5997
|
+
@Remark = params['Remark']
|
5998
|
+
@CustomLogs = params['CustomLogs']
|
5999
|
+
@IsResetRemark = params['IsResetRemark']
|
6000
|
+
@BasicModify = params['BasicModify']
|
6001
|
+
@OperatorRemark = params['OperatorRemark']
|
6002
|
+
end
|
6003
|
+
end
|
6004
|
+
|
6005
|
+
# ModifyCloudBaseRunServerVersion返回参数结构体
|
6006
|
+
class ModifyCloudBaseRunServerVersionResponse < TencentCloud::Common::AbstractModel
|
6007
|
+
# @param Result: 返回结果(succ为成功)
|
6008
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6009
|
+
# @type Result: String
|
6010
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6011
|
+
# @type RequestId: String
|
6012
|
+
|
6013
|
+
attr_accessor :Result, :RequestId
|
6014
|
+
|
6015
|
+
def initialize(result=nil, requestid=nil)
|
6016
|
+
@Result = result
|
6017
|
+
@RequestId = requestid
|
6018
|
+
end
|
6019
|
+
|
6020
|
+
def deserialize(params)
|
6021
|
+
@Result = params['Result']
|
6022
|
+
@RequestId = params['RequestId']
|
6023
|
+
end
|
6024
|
+
end
|
6025
|
+
|
5940
6026
|
# ModifyDatabaseACL请求参数结构体
|
5941
6027
|
class ModifyDatabaseACLRequest < TencentCloud::Common::AbstractModel
|
5942
6028
|
# @param EnvId: 环境ID
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-tcb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.202
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-11-
|
11
|
+
date: 2021-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|