tencentcloud-sdk-tsf 1.0.212 → 1.0.213
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 +97 -0
- 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: 8154807a408ee8bcd4bb6ed2efc7ab8db696f5e7
|
4
|
+
data.tar.gz: f82070cffb6192b40aec522c41709dccfb53f5c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 379360ca578c83b89302db901c0893643c6f9a58173605c30e945060861d3e3a85a85b94ce0bfca0047149543181351ed750b3e3420597377c2bdc436ffab07d
|
7
|
+
data.tar.gz: a96ab9742f5557ee19d0f0a29bac4de08cb1550199693e69d041d391a1723271152cf9e1ae19a078f3b1664c243276d6c87dd0901431c7cfe0e58b60b154d628
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.213
|
data/lib/v20180326/client.rb
CHANGED
@@ -1855,6 +1855,30 @@ module TencentCloud
|
|
1855
1855
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1856
1856
|
end
|
1857
1857
|
|
1858
|
+
# 获取部署组其他属性
|
1859
|
+
|
1860
|
+
# @param request: Request instance for DescribeGroupAttribute.
|
1861
|
+
# @type request: :class:`Tencentcloud::tsf::V20180326::DescribeGroupAttributeRequest`
|
1862
|
+
# @rtype: :class:`Tencentcloud::tsf::V20180326::DescribeGroupAttributeResponse`
|
1863
|
+
def DescribeGroupAttribute(request)
|
1864
|
+
body = send_request('DescribeGroupAttribute', request.serialize)
|
1865
|
+
response = JSON.parse(body)
|
1866
|
+
if response['Response'].key?('Error') == false
|
1867
|
+
model = DescribeGroupAttributeResponse.new
|
1868
|
+
model.deserialize(response['Response'])
|
1869
|
+
model
|
1870
|
+
else
|
1871
|
+
code = response['Response']['Error']['Code']
|
1872
|
+
message = response['Response']['Error']['Message']
|
1873
|
+
reqid = response['Response']['RequestId']
|
1874
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1875
|
+
end
|
1876
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1877
|
+
raise e
|
1878
|
+
rescue StandardError => e
|
1879
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1880
|
+
end
|
1881
|
+
|
1858
1882
|
# 查询某个API分组已绑定的网关部署组信息列表
|
1859
1883
|
|
1860
1884
|
# @param request: Request instance for DescribeGroupBindedGateways.
|
data/lib/v20180326/models.rb
CHANGED
@@ -5755,6 +5755,46 @@ module TencentCloud
|
|
5755
5755
|
end
|
5756
5756
|
end
|
5757
5757
|
|
5758
|
+
# DescribeGroupAttribute请求参数结构体
|
5759
|
+
class DescribeGroupAttributeRequest < TencentCloud::Common::AbstractModel
|
5760
|
+
# @param GroupId: 部署组ID字段
|
5761
|
+
# @type GroupId: String
|
5762
|
+
|
5763
|
+
attr_accessor :GroupId
|
5764
|
+
|
5765
|
+
def initialize(groupid=nil)
|
5766
|
+
@GroupId = groupid
|
5767
|
+
end
|
5768
|
+
|
5769
|
+
def deserialize(params)
|
5770
|
+
@GroupId = params['GroupId']
|
5771
|
+
end
|
5772
|
+
end
|
5773
|
+
|
5774
|
+
# DescribeGroupAttribute返回参数结构体
|
5775
|
+
class DescribeGroupAttributeResponse < TencentCloud::Common::AbstractModel
|
5776
|
+
# @param Result: 虚拟机部署组信息
|
5777
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5778
|
+
# @type Result: :class:`Tencentcloud::Tsf.v20180326.models.VmGroupOther`
|
5779
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5780
|
+
# @type RequestId: String
|
5781
|
+
|
5782
|
+
attr_accessor :Result, :RequestId
|
5783
|
+
|
5784
|
+
def initialize(result=nil, requestid=nil)
|
5785
|
+
@Result = result
|
5786
|
+
@RequestId = requestid
|
5787
|
+
end
|
5788
|
+
|
5789
|
+
def deserialize(params)
|
5790
|
+
unless params['Result'].nil?
|
5791
|
+
@Result = VmGroupOther.new
|
5792
|
+
@Result.deserialize(params['Result'])
|
5793
|
+
end
|
5794
|
+
@RequestId = params['RequestId']
|
5795
|
+
end
|
5796
|
+
end
|
5797
|
+
|
5758
5798
|
# DescribeGroupBindedGateways请求参数结构体
|
5759
5799
|
class DescribeGroupBindedGatewaysRequest < TencentCloud::Common::AbstractModel
|
5760
5800
|
# @param GroupId: API 分组ID
|
@@ -15148,6 +15188,63 @@ module TencentCloud
|
|
15148
15188
|
end
|
15149
15189
|
end
|
15150
15190
|
|
15191
|
+
# 虚拟机部署组其他字段
|
15192
|
+
class VmGroupOther < TencentCloud::Common::AbstractModel
|
15193
|
+
# @param GroupId: 部署组ID
|
15194
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15195
|
+
# @type GroupId: String
|
15196
|
+
# @param PackageId: 程序包ID
|
15197
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15198
|
+
# @type PackageId: String
|
15199
|
+
# @param PackageName: 程序包名称
|
15200
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15201
|
+
# @type PackageName: String
|
15202
|
+
# @param PackageVersion: 程序包版本
|
15203
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15204
|
+
# @type PackageVersion: String
|
15205
|
+
# @param InstanceCount: 部署组实例数
|
15206
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15207
|
+
# @type InstanceCount: Integer
|
15208
|
+
# @param RunInstanceCount: 部署组运行中实例数
|
15209
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15210
|
+
# @type RunInstanceCount: Integer
|
15211
|
+
# @param OffInstanceCount: 部署组中停止实例数
|
15212
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15213
|
+
# @type OffInstanceCount: Integer
|
15214
|
+
# @param GroupStatus: 部署组状态
|
15215
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15216
|
+
# @type GroupStatus: String
|
15217
|
+
# @param IsNotEqualServiceConfig: 服务配置信息是否匹配
|
15218
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15219
|
+
# @type IsNotEqualServiceConfig: Boolean
|
15220
|
+
|
15221
|
+
attr_accessor :GroupId, :PackageId, :PackageName, :PackageVersion, :InstanceCount, :RunInstanceCount, :OffInstanceCount, :GroupStatus, :IsNotEqualServiceConfig
|
15222
|
+
|
15223
|
+
def initialize(groupid=nil, packageid=nil, packagename=nil, packageversion=nil, instancecount=nil, runinstancecount=nil, offinstancecount=nil, groupstatus=nil, isnotequalserviceconfig=nil)
|
15224
|
+
@GroupId = groupid
|
15225
|
+
@PackageId = packageid
|
15226
|
+
@PackageName = packagename
|
15227
|
+
@PackageVersion = packageversion
|
15228
|
+
@InstanceCount = instancecount
|
15229
|
+
@RunInstanceCount = runinstancecount
|
15230
|
+
@OffInstanceCount = offinstancecount
|
15231
|
+
@GroupStatus = groupstatus
|
15232
|
+
@IsNotEqualServiceConfig = isnotequalserviceconfig
|
15233
|
+
end
|
15234
|
+
|
15235
|
+
def deserialize(params)
|
15236
|
+
@GroupId = params['GroupId']
|
15237
|
+
@PackageId = params['PackageId']
|
15238
|
+
@PackageName = params['PackageName']
|
15239
|
+
@PackageVersion = params['PackageVersion']
|
15240
|
+
@InstanceCount = params['InstanceCount']
|
15241
|
+
@RunInstanceCount = params['RunInstanceCount']
|
15242
|
+
@OffInstanceCount = params['OffInstanceCount']
|
15243
|
+
@GroupStatus = params['GroupStatus']
|
15244
|
+
@IsNotEqualServiceConfig = params['IsNotEqualServiceConfig']
|
15245
|
+
end
|
15246
|
+
end
|
15247
|
+
|
15151
15248
|
# 虚拟机部署组列表简要字段
|
15152
15249
|
class VmGroupSimple < TencentCloud::Common::AbstractModel
|
15153
15250
|
# @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: 1.0.
|
4
|
+
version: 1.0.213
|
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-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|