tencentcloud-sdk-lighthouse 3.0.461 → 3.0.462

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: 1b0e23337661523cbd36925fafa7b3ee55e7d87b
4
- data.tar.gz: aacc039e45a4a9fdec495cbac6d2cb33badbd79e
3
+ metadata.gz: 9435f7b555140302e3a314716c1dbdf41e0234d6
4
+ data.tar.gz: 067c6549a03e9bf0c3fd49fafe3c596873db3c82
5
5
  SHA512:
6
- metadata.gz: 81036b265bc791241f5fd748154cbe34c959391722a3f08d58221dd3c81e82976146ea524e7b66bf14c3c7713d924db9d8419f02726b78242151af3e27b226e4
7
- data.tar.gz: 0117ad6be3e4e02d1a2759d44bdecaf988c6608e30f340a36d5b10aabc01eef64e471335200ca88807d447efe74332a6ed155d96fe492af28cba577f0668fce0
6
+ metadata.gz: 673d5b7e8fd517cd98fd7f0c472e0573b4c50947facc7cbc42fb285282f9984d6165f60b40450db728b203aecc19fc978a21156cbdb2ee56cdc567c8fde0d372
7
+ data.tar.gz: 302278bc13d1dfa8f77c8716de399085bbf817e8a02f746ad774902b0f344ebda63a7cafbc6a590052e92e8e47a8de440c3c289d09b0b1bb5af2d0f025c644c1
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.461
1
+ 3.0.462
@@ -370,6 +370,30 @@ module TencentCloud
370
370
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
371
371
  end
372
372
 
373
+ # 本接口(DescribeAllScenes)用于查询全地域使用场景列表。
374
+
375
+ # @param request: Request instance for DescribeAllScenes.
376
+ # @type request: :class:`Tencentcloud::lighthouse::V20200324::DescribeAllScenesRequest`
377
+ # @rtype: :class:`Tencentcloud::lighthouse::V20200324::DescribeAllScenesResponse`
378
+ def DescribeAllScenes(request)
379
+ body = send_request('DescribeAllScenes', request.serialize)
380
+ response = JSON.parse(body)
381
+ if response['Response'].key?('Error') == false
382
+ model = DescribeAllScenesResponse.new
383
+ model.deserialize(response['Response'])
384
+ model
385
+ else
386
+ code = response['Response']['Error']['Code']
387
+ message = response['Response']['Error']['Message']
388
+ reqid = response['Response']['RequestId']
389
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
390
+ end
391
+ rescue TencentCloud::Common::TencentCloudSDKException => e
392
+ raise e
393
+ rescue StandardError => e
394
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
395
+ end
396
+
373
397
  # 本接口(DescribeBlueprintInstances)用于查询镜像实例信息。
374
398
 
375
399
  # @param request: Request instance for DescribeBlueprintInstances.
@@ -963,6 +987,30 @@ module TencentCloud
963
987
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
964
988
  end
965
989
 
990
+ # 本接口(DescribeScenes)用于查看使用场景列表。
991
+
992
+ # @param request: Request instance for DescribeScenes.
993
+ # @type request: :class:`Tencentcloud::lighthouse::V20200324::DescribeScenesRequest`
994
+ # @rtype: :class:`Tencentcloud::lighthouse::V20200324::DescribeScenesResponse`
995
+ def DescribeScenes(request)
996
+ body = send_request('DescribeScenes', request.serialize)
997
+ response = JSON.parse(body)
998
+ if response['Response'].key?('Error') == false
999
+ model = DescribeScenesResponse.new
1000
+ model.deserialize(response['Response'])
1001
+ model
1002
+ else
1003
+ code = response['Response']['Error']['Code']
1004
+ message = response['Response']['Error']['Message']
1005
+ reqid = response['Response']['RequestId']
1006
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1007
+ end
1008
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1009
+ raise e
1010
+ rescue StandardError => e
1011
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1012
+ end
1013
+
966
1014
  # 本接口(DescribeSnapshots)用于查询快照的详细信息。
967
1015
 
968
1016
  # @param request: Request instance for DescribeSnapshots.
@@ -950,6 +950,61 @@ module TencentCloud
950
950
  end
951
951
  end
952
952
 
953
+ # DescribeAllScenes请求参数结构体
954
+ class DescribeAllScenesRequest < TencentCloud::Common::AbstractModel
955
+ # @param SceneIds: 使用场景ID列表。
956
+ # @type SceneIds: Array
957
+ # @param Offset: 偏移量,默认为 0。
958
+ # @type Offset: Integer
959
+ # @param Limit: 返回数量,默认为 20,最大值为 100。
960
+ # @type Limit: Integer
961
+
962
+ attr_accessor :SceneIds, :Offset, :Limit
963
+
964
+ def initialize(sceneids=nil, offset=nil, limit=nil)
965
+ @SceneIds = sceneids
966
+ @Offset = offset
967
+ @Limit = limit
968
+ end
969
+
970
+ def deserialize(params)
971
+ @SceneIds = params['SceneIds']
972
+ @Offset = params['Offset']
973
+ @Limit = params['Limit']
974
+ end
975
+ end
976
+
977
+ # DescribeAllScenes返回参数结构体
978
+ class DescribeAllScenesResponse < TencentCloud::Common::AbstractModel
979
+ # @param SceneInfoSet: 使用场景详细信息列表。
980
+ # @type SceneInfoSet: Array
981
+ # @param TotalCount: 使用场景详细信息总数量。
982
+ # @type TotalCount: Integer
983
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
984
+ # @type RequestId: String
985
+
986
+ attr_accessor :SceneInfoSet, :TotalCount, :RequestId
987
+
988
+ def initialize(sceneinfoset=nil, totalcount=nil, requestid=nil)
989
+ @SceneInfoSet = sceneinfoset
990
+ @TotalCount = totalcount
991
+ @RequestId = requestid
992
+ end
993
+
994
+ def deserialize(params)
995
+ unless params['SceneInfoSet'].nil?
996
+ @SceneInfoSet = []
997
+ params['SceneInfoSet'].each do |i|
998
+ sceneinfo_tmp = SceneInfo.new
999
+ sceneinfo_tmp.deserialize(i)
1000
+ @SceneInfoSet << sceneinfo_tmp
1001
+ end
1002
+ end
1003
+ @TotalCount = params['TotalCount']
1004
+ @RequestId = params['RequestId']
1005
+ end
1006
+ end
1007
+
953
1008
  # DescribeBlueprintInstances请求参数结构体
954
1009
  class DescribeBlueprintInstancesRequest < TencentCloud::Common::AbstractModel
955
1010
  # @param InstanceIds: 实例 ID 列表,当前最多支持 1 个。
@@ -2355,6 +2410,61 @@ module TencentCloud
2355
2410
  end
2356
2411
  end
2357
2412
 
2413
+ # DescribeScenes请求参数结构体
2414
+ class DescribeScenesRequest < TencentCloud::Common::AbstractModel
2415
+ # @param SceneIds: 使用场景ID列表。
2416
+ # @type SceneIds: Array
2417
+ # @param Offset: 偏移量,默认为 0。
2418
+ # @type Offset: Integer
2419
+ # @param Limit: 返回数量,默认为 20,最大值为 100。
2420
+ # @type Limit: Integer
2421
+
2422
+ attr_accessor :SceneIds, :Offset, :Limit
2423
+
2424
+ def initialize(sceneids=nil, offset=nil, limit=nil)
2425
+ @SceneIds = sceneids
2426
+ @Offset = offset
2427
+ @Limit = limit
2428
+ end
2429
+
2430
+ def deserialize(params)
2431
+ @SceneIds = params['SceneIds']
2432
+ @Offset = params['Offset']
2433
+ @Limit = params['Limit']
2434
+ end
2435
+ end
2436
+
2437
+ # DescribeScenes返回参数结构体
2438
+ class DescribeScenesResponse < TencentCloud::Common::AbstractModel
2439
+ # @param SceneSet: 使用场景列表。
2440
+ # @type SceneSet: Array
2441
+ # @param TotalCount: 使用场景总数量。
2442
+ # @type TotalCount: Integer
2443
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2444
+ # @type RequestId: String
2445
+
2446
+ attr_accessor :SceneSet, :TotalCount, :RequestId
2447
+
2448
+ def initialize(sceneset=nil, totalcount=nil, requestid=nil)
2449
+ @SceneSet = sceneset
2450
+ @TotalCount = totalcount
2451
+ @RequestId = requestid
2452
+ end
2453
+
2454
+ def deserialize(params)
2455
+ unless params['SceneSet'].nil?
2456
+ @SceneSet = []
2457
+ params['SceneSet'].each do |i|
2458
+ scene_tmp = Scene.new
2459
+ scene_tmp.deserialize(i)
2460
+ @SceneSet << scene_tmp
2461
+ end
2462
+ end
2463
+ @TotalCount = params['TotalCount']
2464
+ @RequestId = params['RequestId']
2465
+ end
2466
+ end
2467
+
2358
2468
  # DescribeSnapshotsDeniedActions请求参数结构体
2359
2469
  class DescribeSnapshotsDeniedActionsRequest < TencentCloud::Common::AbstractModel
2360
2470
  # @param SnapshotIds: 快照 ID 列表, 可通过 DescribeSnapshots 查询。
@@ -4718,6 +4828,54 @@ module TencentCloud
4718
4828
  end
4719
4829
  end
4720
4830
 
4831
+ # 使用场景信息
4832
+ class Scene < TencentCloud::Common::AbstractModel
4833
+ # @param SceneId: 使用场景Id
4834
+ # @type SceneId: String
4835
+ # @param DisplayName: 使用场景展示名称
4836
+ # @type DisplayName: String
4837
+ # @param Description: 使用场景描述
4838
+ # @type Description: String
4839
+
4840
+ attr_accessor :SceneId, :DisplayName, :Description
4841
+
4842
+ def initialize(sceneid=nil, displayname=nil, description=nil)
4843
+ @SceneId = sceneid
4844
+ @DisplayName = displayname
4845
+ @Description = description
4846
+ end
4847
+
4848
+ def deserialize(params)
4849
+ @SceneId = params['SceneId']
4850
+ @DisplayName = params['DisplayName']
4851
+ @Description = params['Description']
4852
+ end
4853
+ end
4854
+
4855
+ # 使用场景详细信息
4856
+ class SceneInfo < TencentCloud::Common::AbstractModel
4857
+ # @param SceneId: 使用场景Id。
4858
+ # @type SceneId: String
4859
+ # @param DisplayName: 使用场景展示名称。
4860
+ # @type DisplayName: String
4861
+ # @param Description: 使用场景描述信息。
4862
+ # @type Description: String
4863
+
4864
+ attr_accessor :SceneId, :DisplayName, :Description
4865
+
4866
+ def initialize(sceneid=nil, displayname=nil, description=nil)
4867
+ @SceneId = sceneid
4868
+ @DisplayName = displayname
4869
+ @Description = description
4870
+ end
4871
+
4872
+ def deserialize(params)
4873
+ @SceneId = params['SceneId']
4874
+ @DisplayName = params['DisplayName']
4875
+ @Description = params['Description']
4876
+ end
4877
+ end
4878
+
4721
4879
  # 描述了快照相关信息。
4722
4880
  class Snapshot < TencentCloud::Common::AbstractModel
4723
4881
  # @param SnapshotId: 快照 ID。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-lighthouse
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.461
4
+ version: 3.0.462
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-29 00:00:00.000000000 Z
11
+ date: 2022-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common