tencentcloud-sdk-lighthouse 3.0.693 → 3.0.695
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20200324/client.rb +51 -0
- data/lib/v20200324/models.rb +72 -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: 721f496e617bec4f31f4afe299f1c639fbe44ba3
|
4
|
+
data.tar.gz: a6361ac9636e0f49cdde01a53b7ce922c9044f9c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0890e14cad90855ad99b4a293f53df5f013d5d62fef1bbed262b1fa47a91519a39d22871f273ddaf7d320ea536debfbdd7d1a689a02d71fde058ce679fd42d65
|
7
|
+
data.tar.gz: 8c11fba3fa75cfa1d7ad4e21aff7e2bf632332e1da8fc417b46985bd0c18151ac46fee9a65d234fc41646009316a89375f3ba752433ad6baeeab4ce4bcea998d
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.695
|
data/lib/v20200324/client.rb
CHANGED
@@ -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.
|
data/lib/v20200324/models.rb
CHANGED
@@ -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.
|
4
|
+
version: 3.0.695
|
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-
|
11
|
+
date: 2023-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|