tencentcloud-sdk-lighthouse 3.0.1077 → 3.0.1085

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b0ee712a6df878e8fbcdcd8cb79ca477c006be61
4
- data.tar.gz: 290dc9c7428547e4d547bfb54c0a8c8e876ba612
3
+ metadata.gz: 8fcaeccb26e2fb13f41258f4a78a33fc0fd7983c
4
+ data.tar.gz: bbb3ae3588d13498f98409cac7a026a5c679b447
5
5
  SHA512:
6
- metadata.gz: 9baf6ef2c49d83850a5fb1a4d606411796e86171335bb6a9558376a4b210802e1134a438c3e0458374ed0f9c2f182e2dd7be68ee8cd27e93fdbc502ecfd297e4
7
- data.tar.gz: beb47154edb54739dc2c51de3f3d7e24746055dbdec28f71c7ffc9ca2ff9fab6a268dd30f0d346b611cb4211eae6ae8ad344ea56d2414e07e7967d31eaa21657
6
+ metadata.gz: bb30407cb4f16b6d7ec15e606ac66b3c6a9d84ba37123b7b1eda5bdb85579cef71eee90571a549e17c1e0f21e912e9387d358a566762a75f3f83df1da32780a7
7
+ data.tar.gz: a0d95b8fa55fbf7741da8f3a91c9bc7f6215dceab40e84e84d0ce1125a056d35c668f6917fa2c255b741e66cbaee305e73c712fc558f53b213741e1dc89c5710
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1077
1
+ 3.0.1085
@@ -2702,6 +2702,36 @@ module TencentCloud
2702
2702
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2703
2703
  end
2704
2704
 
2705
+ # 本接口 (SyncBlueprint) 用于将自定义镜像同步到其它地域。
2706
+
2707
+ # * 支持向多个地域同步。最多10个地域。
2708
+ # * 不支持向源地域同步。
2709
+ # * 只支持NORMAL状态的镜像进行同步。
2710
+ # * 不支持中国大陆地域和非中国大陆地域之间同步。
2711
+ # * 可以通过[DescribeBlueprints](https://cloud.tencent.com/document/api/1207/47689)查询镜像状态,当镜像状态为NORMAL时表示源地域同步结束。
2712
+
2713
+ # @param request: Request instance for SyncBlueprint.
2714
+ # @type request: :class:`Tencentcloud::lighthouse::V20200324::SyncBlueprintRequest`
2715
+ # @rtype: :class:`Tencentcloud::lighthouse::V20200324::SyncBlueprintResponse`
2716
+ def SyncBlueprint(request)
2717
+ body = send_request('SyncBlueprint', request.serialize)
2718
+ response = JSON.parse(body)
2719
+ if response['Response'].key?('Error') == false
2720
+ model = SyncBlueprintResponse.new
2721
+ model.deserialize(response['Response'])
2722
+ model
2723
+ else
2724
+ code = response['Response']['Error']['Code']
2725
+ message = response['Response']['Error']['Message']
2726
+ reqid = response['Response']['RequestId']
2727
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2728
+ end
2729
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2730
+ raise e
2731
+ rescue StandardError => e
2732
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2733
+ end
2734
+
2705
2735
  # 本接口(TerminateDisks)用于销毁一个或多个云硬盘。
2706
2736
  # 云硬盘状态必须处于SHUTDOWN(已隔离)状态。
2707
2737
 
@@ -7586,6 +7586,42 @@ module TencentCloud
7586
7586
  end
7587
7587
  end
7588
7588
 
7589
+ # SyncBlueprint请求参数结构体
7590
+ class SyncBlueprintRequest < TencentCloud::Common::AbstractModel
7591
+ # @param BlueprintId: 镜像ID。
7592
+ # @type BlueprintId: String
7593
+ # @param DestinationRegions: 同步镜像的目的地域列表。
7594
+ # @type DestinationRegions: Array
7595
+
7596
+ attr_accessor :BlueprintId, :DestinationRegions
7597
+
7598
+ def initialize(blueprintid=nil, destinationregions=nil)
7599
+ @BlueprintId = blueprintid
7600
+ @DestinationRegions = destinationregions
7601
+ end
7602
+
7603
+ def deserialize(params)
7604
+ @BlueprintId = params['BlueprintId']
7605
+ @DestinationRegions = params['DestinationRegions']
7606
+ end
7607
+ end
7608
+
7609
+ # SyncBlueprint返回参数结构体
7610
+ class SyncBlueprintResponse < TencentCloud::Common::AbstractModel
7611
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7612
+ # @type RequestId: String
7613
+
7614
+ attr_accessor :RequestId
7615
+
7616
+ def initialize(requestid=nil)
7617
+ @RequestId = requestid
7618
+ end
7619
+
7620
+ def deserialize(params)
7621
+ @RequestId = params['RequestId']
7622
+ end
7623
+ end
7624
+
7589
7625
  # 描述了操作系统所在块设备即系统盘的信息。
7590
7626
  class SystemDisk < TencentCloud::Common::AbstractModel
7591
7627
  # @param DiskType: 系统盘类型。
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.1077
4
+ version: 3.0.1085
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-06-09 00:00:00.000000000 Z
11
+ date: 2025-06-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common