tencentcloud-sdk-tsf 3.0.560 → 3.0.563

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c42e287ffc00ed3a1b3eb9cb1dd0a778e8ec80a5
4
- data.tar.gz: 7ce9ba797dd13de6893beaeb0d7287ac8c6c6bdf
3
+ metadata.gz: d7b367a7efe7ba78ef9ee9f3f6a08589e9f2a268
4
+ data.tar.gz: 51d4a5377744284551d9b0f35183f4b8400197d6
5
5
  SHA512:
6
- metadata.gz: c1a1f380fb3f00e985610e5107857ffd3a00e8d1fd1aaed607b5c6acb8432faea36d2e7110c04d8fed203a7ca7f9f0f0c456f416d88377d44c327e2de836af38
7
- data.tar.gz: ba51e394e996d8d6535bf4d15a5d826c30d242406704ed79f7fd730a07c7a1dfa152b6f6b41f9693afebcc2849566d96ee82fcd588dd1f4acfafa87af42aba49
6
+ metadata.gz: 87240f6d5c651eb5cec224f6399acbef43d0dfe9b437b9681117568c9ca576e6b851ad18e8afbfd0d8eada934bf011f9c2daf7f492c5c56ebdc0ed46e8fcfed2
7
+ data.tar.gz: 44511dea428dfc295eef730e6edddcc11df2f5679b151d7e4dc66d9341a6d57c648d231672a981d1fb495ba503f8f26075ee229d9c525a739d7cf71ca3491925
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.560
1
+ 3.0.563
@@ -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
 
@@ -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.560
4
+ version: 3.0.563
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-26 00:00:00.000000000 Z
11
+ date: 2023-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common