tencentcloud-sdk-cbs 3.0.1195 → 3.0.1209

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: 5905339c7b1ce94be2cd59862571494676b22ae0
4
- data.tar.gz: bd1ddcd26dff465578b496f9ae92d85c4118534c
3
+ metadata.gz: 179762eb0b83c337aba509e1d829657c3040d72b
4
+ data.tar.gz: 80364828e0698b12ebe9a9ef581d83c636238dd6
5
5
  SHA512:
6
- metadata.gz: 409e3e63c2155d58c6e2fecda31d38fcfe9d3e6714f26c8d6f8c6dca6c416869c74ceccf96e9e27cfa22ae0c77c5fa5b5bcbe8d5c270302780d0c2f7358e5f1a
7
- data.tar.gz: 35fac339b4c254a56ecf8d1931c9ce3b32cd669f7d5f943691124c55d94852fd85026a4c4df66fef327e3bb202ea7a27b334aa34f7d94e3a47de1bdb5546a2ec
6
+ metadata.gz: 5ba7c86bf36520598e303101072c4609e43d6d5087ca4c08e3be22b9fdd3ed46cfc22b5bb1ded5584354996c809fd167e2256f4ae695e5c80371923ae0ef9d12
7
+ data.tar.gz: ee1feeb5f9a357b186ae38a75ed94b406a05bc988968c832b5c9bcc6c34c5ef986f1ce335510d61b069e1c0f35303cfb5e073c440851d82a568306e0004951b7
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1195
1
+ 3.0.1209
@@ -166,6 +166,30 @@ module TencentCloud
166
166
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
167
167
  end
168
168
 
169
+ # 针对白名单内用户实现自动快照策略的跨账号复制功能
170
+
171
+ # @param request: Request instance for CopyAutoSnapshotPolicyCrossAccount.
172
+ # @type request: :class:`Tencentcloud::cbs::V20170312::CopyAutoSnapshotPolicyCrossAccountRequest`
173
+ # @rtype: :class:`Tencentcloud::cbs::V20170312::CopyAutoSnapshotPolicyCrossAccountResponse`
174
+ def CopyAutoSnapshotPolicyCrossAccount(request)
175
+ body = send_request('CopyAutoSnapshotPolicyCrossAccount', request.serialize)
176
+ response = JSON.parse(body)
177
+ if response['Response'].key?('Error') == false
178
+ model = CopyAutoSnapshotPolicyCrossAccountResponse.new
179
+ model.deserialize(response['Response'])
180
+ model
181
+ else
182
+ code = response['Response']['Error']['Code']
183
+ message = response['Response']['Error']['Message']
184
+ reqid = response['Response']['RequestId']
185
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
186
+ end
187
+ rescue TencentCloud::Common::TencentCloudSDKException => e
188
+ raise e
189
+ rescue StandardError => e
190
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
191
+ end
192
+
169
193
  # 本接口(CopySnapshotCrossRegions)用于快照跨地域复制。
170
194
 
171
195
  # * 本接口为异步接口,当跨地域复制的请求下发成功后会返回一个新的快照ID,此时快照未立即复制到目标地域,可请求目标地域的[DescribeSnapshots](/document/product/362/15647)接口查询新快照的状态,判断是否复制完成。如果快照的状态为“NORMAL”,表示快照复制完成。
@@ -518,6 +518,51 @@ module TencentCloud
518
518
  end
519
519
  end
520
520
 
521
+ # CopyAutoSnapshotPolicyCrossAccount请求参数结构体
522
+ class CopyAutoSnapshotPolicyCrossAccountRequest < TencentCloud::Common::AbstractModel
523
+ # @param AutoSnapshotPolicyIds: 要备份的定期快照策略ID列表
524
+ # @type AutoSnapshotPolicyIds: Array
525
+ # @param TargetAccountUin: 目标账户uin
526
+ # @type TargetAccountUin: String
527
+
528
+ attr_accessor :AutoSnapshotPolicyIds, :TargetAccountUin
529
+
530
+ def initialize(autosnapshotpolicyids=nil, targetaccountuin=nil)
531
+ @AutoSnapshotPolicyIds = autosnapshotpolicyids
532
+ @TargetAccountUin = targetaccountuin
533
+ end
534
+
535
+ def deserialize(params)
536
+ @AutoSnapshotPolicyIds = params['AutoSnapshotPolicyIds']
537
+ @TargetAccountUin = params['TargetAccountUin']
538
+ end
539
+ end
540
+
541
+ # CopyAutoSnapshotPolicyCrossAccount返回参数结构体
542
+ class CopyAutoSnapshotPolicyCrossAccountResponse < TencentCloud::Common::AbstractModel
543
+ # @param AutoSnapshotPolicyIds: 已备份的定期快照策略ID列表
544
+ # 注意:此字段可能返回 null,表示取不到有效值。
545
+ # @type AutoSnapshotPolicyIds: Array
546
+ # @param TargetAccountUin: 目标账户uin
547
+ # @type TargetAccountUin: String
548
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
549
+ # @type RequestId: String
550
+
551
+ attr_accessor :AutoSnapshotPolicyIds, :TargetAccountUin, :RequestId
552
+
553
+ def initialize(autosnapshotpolicyids=nil, targetaccountuin=nil, requestid=nil)
554
+ @AutoSnapshotPolicyIds = autosnapshotpolicyids
555
+ @TargetAccountUin = targetaccountuin
556
+ @RequestId = requestid
557
+ end
558
+
559
+ def deserialize(params)
560
+ @AutoSnapshotPolicyIds = params['AutoSnapshotPolicyIds']
561
+ @TargetAccountUin = params['TargetAccountUin']
562
+ @RequestId = params['RequestId']
563
+ end
564
+ end
565
+
521
566
  # CopySnapshotCrossRegions请求参数结构体
522
567
  class CopySnapshotCrossRegionsRequest < TencentCloud::Common::AbstractModel
523
568
  # @param DestinationRegions: 快照需要复制到的目标地域,各地域的标准取值可通过接口[DescribeRegions](https://cloud.tencent.com/document/product/213/9456)查询,且只能传入支持快照的地域。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cbs
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1195
4
+ version: 3.0.1209
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-01-04 00:00:00.000000000 Z
11
+ date: 2026-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common