tencentcloud-sdk-lighthouse 3.0.693 → 3.0.694

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: ff5643741f1d1e0c810bd71b0c1f6eba1bda085d
4
- data.tar.gz: 6e93b8fd06937df740f3d0d8b3e38d506eed378e
3
+ metadata.gz: cbfbd59e854cb94e6ff791f5ca9a62eb5adb1f56
4
+ data.tar.gz: 91d33beb120bbe2d5d65d933452e0732cdcc053c
5
5
  SHA512:
6
- metadata.gz: 91d71a4d9820131cc42df4d879b7d73ddeeae15569fc0e71a5c7bd45ceebda16e002c5165e40c11b98b37265ac1256fcc08d808dc7ec806d8989c36e704c8e70
7
- data.tar.gz: eba9f3afd488728fec1fb5962ed99bab3ce390295d5382ff9e1b02afb3e54e83ead1fa5e5d953f048192bdae844c0c54b5f1bc8a2ff6e7b5de511c513fc1f717
6
+ metadata.gz: b0e0d8681b22786b5322f3af7b219df11b9c658b1ac6e27c6e4e39aba69e774ab69d67fbb0bcb9463abca8dc6c2e357c2042091a06773c41291e77656d3cb012
7
+ data.tar.gz: 3b62a9ac740ec84ef69ca87bcf01c1923a55faec1578c34b9090160689b150f2e8ccecc14a3c58550e69c4a1e04e17f83c6265a3fa9693a4aceb16bfe3cefd1d
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.693
1
+ 3.0.694
@@ -188,6 +188,31 @@ module TencentCloud
188
188
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
189
189
  end
190
190
 
191
+ # 本接口(CancelShareBlueprintAcrossAccounts)用于取消镜像跨账号共享。
192
+ # 指定的镜像ID必须为自定义镜像,且指定账号ID必须已进行共享。
193
+
194
+ # @param request: Request instance for CancelShareBlueprintAcrossAccounts.
195
+ # @type request: :class:`Tencentcloud::lighthouse::V20200324::CancelShareBlueprintAcrossAccountsRequest`
196
+ # @rtype: :class:`Tencentcloud::lighthouse::V20200324::CancelShareBlueprintAcrossAccountsResponse`
197
+ def CancelShareBlueprintAcrossAccounts(request)
198
+ body = send_request('CancelShareBlueprintAcrossAccounts', request.serialize)
199
+ response = JSON.parse(body)
200
+ if response['Response'].key?('Error') == false
201
+ model = CancelShareBlueprintAcrossAccountsResponse.new
202
+ model.deserialize(response['Response'])
203
+ model
204
+ else
205
+ code = response['Response']['Error']['Code']
206
+ message = response['Response']['Error']['Message']
207
+ reqid = response['Response']['RequestId']
208
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
209
+ end
210
+ rescue TencentCloud::Common::TencentCloudSDKException => e
211
+ raise e
212
+ rescue StandardError => e
213
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
214
+ end
215
+
191
216
  # 本接口 (CreateBlueprint) 用于创建镜像。
192
217
 
193
218
  # @param request: Request instance for CreateBlueprint.
@@ -2526,6 +2551,32 @@ module TencentCloud
2526
2551
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2527
2552
  end
2528
2553
 
2554
+ # 本接口(ShareBlueprintAcrossAccounts)用于跨账号共享镜像。
2555
+ # 仅支持共享自定义镜像, 且用于共享的镜像状态必须为NORMAL。
2556
+ # 共享的账号必须为主账号。
2557
+
2558
+ # @param request: Request instance for ShareBlueprintAcrossAccounts.
2559
+ # @type request: :class:`Tencentcloud::lighthouse::V20200324::ShareBlueprintAcrossAccountsRequest`
2560
+ # @rtype: :class:`Tencentcloud::lighthouse::V20200324::ShareBlueprintAcrossAccountsResponse`
2561
+ def ShareBlueprintAcrossAccounts(request)
2562
+ body = send_request('ShareBlueprintAcrossAccounts', request.serialize)
2563
+ response = JSON.parse(body)
2564
+ if response['Response'].key?('Error') == false
2565
+ model = ShareBlueprintAcrossAccountsResponse.new
2566
+ model.deserialize(response['Response'])
2567
+ model
2568
+ else
2569
+ code = response['Response']['Error']['Code']
2570
+ message = response['Response']['Error']['Message']
2571
+ reqid = response['Response']['RequestId']
2572
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2573
+ end
2574
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2575
+ raise e
2576
+ rescue StandardError => e
2577
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2578
+ end
2579
+
2529
2580
  # 启动实例内的Docker容器,之后可以通过返回的ActivityId调用DescribeDockerActivities接口查询启动情况。
2530
2581
 
2531
2582
  # @param request: Request instance for StartDockerContainers.
@@ -551,6 +551,42 @@ module TencentCloud
551
551
  end
552
552
  end
553
553
 
554
+ # CancelShareBlueprintAcrossAccounts请求参数结构体
555
+ class CancelShareBlueprintAcrossAccountsRequest < TencentCloud::Common::AbstractModel
556
+ # @param BlueprintId: 镜像ID, 可以通过[DescribeBlueprints](https://cloud.tencent.com/document/product/1207/47689)接口返回的BlueprintId获取。
557
+ # @type BlueprintId: String
558
+ # @param AccountIds: 接收共享镜像的账号ID列表。帐号ID不同于QQ号,查询用户帐号ID请查看帐号信息中的帐号ID栏。账号个数取值最大为10。
559
+ # @type AccountIds: Array
560
+
561
+ attr_accessor :BlueprintId, :AccountIds
562
+
563
+ def initialize(blueprintid=nil, accountids=nil)
564
+ @BlueprintId = blueprintid
565
+ @AccountIds = accountids
566
+ end
567
+
568
+ def deserialize(params)
569
+ @BlueprintId = params['BlueprintId']
570
+ @AccountIds = params['AccountIds']
571
+ end
572
+ end
573
+
574
+ # CancelShareBlueprintAcrossAccounts返回参数结构体
575
+ class CancelShareBlueprintAcrossAccountsResponse < TencentCloud::Common::AbstractModel
576
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
577
+ # @type RequestId: String
578
+
579
+ attr_accessor :RequestId
580
+
581
+ def initialize(requestid=nil)
582
+ @RequestId = requestid
583
+ end
584
+
585
+ def deserialize(params)
586
+ @RequestId = params['RequestId']
587
+ end
588
+ end
589
+
554
590
  # 云联网关联的实例列表。
555
591
  class CcnAttachedInstance < TencentCloud::Common::AbstractModel
556
592
  # @param CcnId: 云联网ID。
@@ -6932,6 +6968,42 @@ module TencentCloud
6932
6968
  end
6933
6969
  end
6934
6970
 
6971
+ # ShareBlueprintAcrossAccounts请求参数结构体
6972
+ class ShareBlueprintAcrossAccountsRequest < TencentCloud::Common::AbstractModel
6973
+ # @param BlueprintId: 镜像ID, 可以通过[DescribeBlueprints](https://cloud.tencent.com/document/product/1207/47689)接口返回的BlueprintId获取。
6974
+ # @type BlueprintId: String
6975
+ # @param AccountIds: 接收共享镜像的账号Id列表。帐号ID不同于QQ号,查询用户帐号ID请查看帐号信息中的帐号ID栏。账号个数取值最大为10。
6976
+ # @type AccountIds: Array
6977
+
6978
+ attr_accessor :BlueprintId, :AccountIds
6979
+
6980
+ def initialize(blueprintid=nil, accountids=nil)
6981
+ @BlueprintId = blueprintid
6982
+ @AccountIds = accountids
6983
+ end
6984
+
6985
+ def deserialize(params)
6986
+ @BlueprintId = params['BlueprintId']
6987
+ @AccountIds = params['AccountIds']
6988
+ end
6989
+ end
6990
+
6991
+ # ShareBlueprintAcrossAccounts返回参数结构体
6992
+ class ShareBlueprintAcrossAccountsResponse < TencentCloud::Common::AbstractModel
6993
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6994
+ # @type RequestId: String
6995
+
6996
+ attr_accessor :RequestId
6997
+
6998
+ def initialize(requestid=nil)
6999
+ @RequestId = requestid
7000
+ end
7001
+
7002
+ def deserialize(params)
7003
+ @RequestId = params['RequestId']
7004
+ end
7005
+ end
7006
+
6935
7007
  # 描述了快照相关信息。
6936
7008
  class Snapshot < TencentCloud::Common::AbstractModel
6937
7009
  # @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.693
4
+ version: 3.0.694
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-11-05 00:00:00.000000000 Z
11
+ date: 2023-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common