tencentcloud-sdk-tsf 3.0.559 → 3.0.561
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 +85 -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: 17baee6627bea6e82ec7259c199847cc35d91f78
|
4
|
+
data.tar.gz: 2a4bd7c83f109cdf412496eddc9ce6e04ac36bba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7ff9d9aa025a74cddee0ca8aacda8a8581d37e2bde5c9911fedfd5a0ce39436800d5560ab1c8a79d255fd27bdedc367bbb398e5fb8a5043ca6773c9eaee7cdc
|
7
|
+
data.tar.gz: 2f66845e881550bd1c7e9e9475947e145684fe3bf9b9cb85bfec8b64b4b6f1736a4fecdfb7579b7f83cfee99ce109488f7e9391e19fe57fed55a81d4081a4f4c
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.561
|
data/lib/v20180326/client.rb
CHANGED
@@ -3631,6 +3631,30 @@ module TencentCloud
|
|
3631
3631
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3632
3632
|
end
|
3633
3633
|
|
3634
|
+
# 查询单元化规则列表V2
|
3635
|
+
|
3636
|
+
# @param request: Request instance for DescribeUnitRulesV2.
|
3637
|
+
# @type request: :class:`Tencentcloud::tsf::V20180326::DescribeUnitRulesV2Request`
|
3638
|
+
# @rtype: :class:`Tencentcloud::tsf::V20180326::DescribeUnitRulesV2Response`
|
3639
|
+
def DescribeUnitRulesV2(request)
|
3640
|
+
body = send_request('DescribeUnitRulesV2', request.serialize)
|
3641
|
+
response = JSON.parse(body)
|
3642
|
+
if response['Response'].key?('Error') == false
|
3643
|
+
model = DescribeUnitRulesV2Response.new
|
3644
|
+
model.deserialize(response['Response'])
|
3645
|
+
model
|
3646
|
+
else
|
3647
|
+
code = response['Response']['Error']['Code']
|
3648
|
+
message = response['Response']['Error']['Message']
|
3649
|
+
reqid = response['Response']['RequestId']
|
3650
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3651
|
+
end
|
3652
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3653
|
+
raise e
|
3654
|
+
rescue StandardError => e
|
3655
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3656
|
+
end
|
3657
|
+
|
3634
3658
|
# TSF会将软件包上传到腾讯云对象存储(COS)。调用此接口获取上传信息,如目标地域,桶,包Id,存储路径,鉴权信息等,之后请使用COS API(或SDK)进行上传。
|
3635
3659
|
# COS相关文档请查阅:https://cloud.tencent.com/document/product/436
|
3636
3660
|
|
data/lib/v20180326/models.rb
CHANGED
@@ -10977,6 +10977,62 @@ module TencentCloud
|
|
10977
10977
|
end
|
10978
10978
|
end
|
10979
10979
|
|
10980
|
+
# DescribeUnitRulesV2请求参数结构体
|
10981
|
+
class DescribeUnitRulesV2Request < TencentCloud::Common::AbstractModel
|
10982
|
+
# @param GatewayInstanceId: 网关实体ID
|
10983
|
+
# @type GatewayInstanceId: String
|
10984
|
+
# @param SearchWord: 根据规则名或备注内容模糊查询
|
10985
|
+
# @type SearchWord: String
|
10986
|
+
# @param Status: 启用状态, disabled: 未发布, enabled: 发布
|
10987
|
+
# @type Status: String
|
10988
|
+
# @param Offset: 翻页查询偏移量
|
10989
|
+
# @type Offset: Integer
|
10990
|
+
# @param Limit: 翻页查询每页记录数
|
10991
|
+
# @type Limit: Integer
|
10992
|
+
|
10993
|
+
attr_accessor :GatewayInstanceId, :SearchWord, :Status, :Offset, :Limit
|
10994
|
+
|
10995
|
+
def initialize(gatewayinstanceid=nil, searchword=nil, status=nil, offset=nil, limit=nil)
|
10996
|
+
@GatewayInstanceId = gatewayinstanceid
|
10997
|
+
@SearchWord = searchword
|
10998
|
+
@Status = status
|
10999
|
+
@Offset = offset
|
11000
|
+
@Limit = limit
|
11001
|
+
end
|
11002
|
+
|
11003
|
+
def deserialize(params)
|
11004
|
+
@GatewayInstanceId = params['GatewayInstanceId']
|
11005
|
+
@SearchWord = params['SearchWord']
|
11006
|
+
@Status = params['Status']
|
11007
|
+
@Offset = params['Offset']
|
11008
|
+
@Limit = params['Limit']
|
11009
|
+
end
|
11010
|
+
end
|
11011
|
+
|
11012
|
+
# DescribeUnitRulesV2返回参数结构体
|
11013
|
+
class DescribeUnitRulesV2Response < TencentCloud::Common::AbstractModel
|
11014
|
+
# @param Result: 分页列表信息
|
11015
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11016
|
+
# @type Result: :class:`Tencentcloud::Tsf.v20180326.models.TsfPageUnitRuleV2`
|
11017
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
11018
|
+
# @type RequestId: String
|
11019
|
+
|
11020
|
+
attr_accessor :Result, :RequestId
|
11021
|
+
|
11022
|
+
def initialize(result=nil, requestid=nil)
|
11023
|
+
@Result = result
|
11024
|
+
@RequestId = requestid
|
11025
|
+
end
|
11026
|
+
|
11027
|
+
def deserialize(params)
|
11028
|
+
unless params['Result'].nil?
|
11029
|
+
@Result = TsfPageUnitRuleV2.new
|
11030
|
+
@Result.deserialize(params['Result'])
|
11031
|
+
end
|
11032
|
+
@RequestId = params['RequestId']
|
11033
|
+
end
|
11034
|
+
end
|
11035
|
+
|
10980
11036
|
# DescribeUploadInfo请求参数结构体
|
10981
11037
|
class DescribeUploadInfoRequest < TencentCloud::Common::AbstractModel
|
10982
11038
|
# @param ApplicationId: 应用ID
|
@@ -18959,6 +19015,35 @@ module TencentCloud
|
|
18959
19015
|
end
|
18960
19016
|
end
|
18961
19017
|
|
19018
|
+
# 单元化规则翻页对象
|
19019
|
+
class TsfPageUnitRuleV2 < TencentCloud::Common::AbstractModel
|
19020
|
+
# @param TotalCount: 记录总数
|
19021
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19022
|
+
# @type TotalCount: Integer
|
19023
|
+
# @param Content: 记录实体列表
|
19024
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19025
|
+
# @type Content: Array
|
19026
|
+
|
19027
|
+
attr_accessor :TotalCount, :Content
|
19028
|
+
|
19029
|
+
def initialize(totalcount=nil, content=nil)
|
19030
|
+
@TotalCount = totalcount
|
19031
|
+
@Content = content
|
19032
|
+
end
|
19033
|
+
|
19034
|
+
def deserialize(params)
|
19035
|
+
@TotalCount = params['TotalCount']
|
19036
|
+
unless params['Content'].nil?
|
19037
|
+
@Content = []
|
19038
|
+
params['Content'].each do |i|
|
19039
|
+
unitrule_tmp = UnitRule.new
|
19040
|
+
unitrule_tmp.deserialize(i)
|
19041
|
+
@Content << unitrule_tmp
|
19042
|
+
end
|
19043
|
+
end
|
19044
|
+
end
|
19045
|
+
end
|
19046
|
+
|
18962
19047
|
# 列表中部署组分页信息
|
18963
19048
|
class TsfPageVmGroup < TencentCloud::Common::AbstractModel
|
18964
19049
|
# @param TotalCount: 虚拟机部署组总数目
|
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.561
|
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-04-
|
11
|
+
date: 2023-04-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|