tencentcloud-sdk-cbs 3.0.618 → 3.0.620

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: 99ece274cc3d45c8084f9f60088c2e9a4ad77e5d
4
- data.tar.gz: ced168d78caa73bf803048b1398d9f0538c37df6
3
+ metadata.gz: 6c698b52b82cf1a5f8a193918c029adda8b39406
4
+ data.tar.gz: 37127f344eca3a1ee52a58e7cf00a4f3ab3b094d
5
5
  SHA512:
6
- metadata.gz: 2d026a8f392b0083569701ba63af1eedc4c35b4d769cdb19d359af1ec2442f98d4d936ae2d6b4835caf3f09251336f2e3e75a3c48b3faf36fc5c979a8205d47a
7
- data.tar.gz: bde93a6a34df9e5200f9f2b9fb7123b8dd66ddad13a1c22432eecf8293f0eefe0ea6f671d80810fb78ccbb2b9af3f6145c58dbc392560a0a8a447f013a43a6b5
6
+ metadata.gz: eae90f11095d08d998c1e4d59d3f096c535d32a5e933211e0ed83d1bd0e94ef644d46b3173d3e387fb6d51abf19c366e3cfde754a6ab399a843518c864b3a52d
7
+ data.tar.gz: 6cc91f293db21d62dfef8bd3a782919ac8762ab70dca3ec5727a3b0dce1008201132f188ea659c650ba04e72be3a8f4a29e79a68b35b9db0a48f78063f762110
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.618
1
+ 3.0.620
@@ -452,32 +452,6 @@ module TencentCloud
452
452
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
453
453
  end
454
454
 
455
- # 接口已废弃,切换至云审计接口。见https://tapd.woa.com/pro/prong/stories/view/1010114221880719007
456
-
457
- # 查询云盘操作日志功能已迁移至LookUpEvents接口(https://cloud.tencent.com/document/product/629/12359),本接口(DescribeDiskOperationLogs)即将下线,后续不再提供调用,请知悉。
458
-
459
- # @param request: Request instance for DescribeDiskOperationLogs.
460
- # @type request: :class:`Tencentcloud::cbs::V20170312::DescribeDiskOperationLogsRequest`
461
- # @rtype: :class:`Tencentcloud::cbs::V20170312::DescribeDiskOperationLogsResponse`
462
- def DescribeDiskOperationLogs(request)
463
- body = send_request('DescribeDiskOperationLogs', request.serialize)
464
- response = JSON.parse(body)
465
- if response['Response'].key?('Error') == false
466
- model = DescribeDiskOperationLogsResponse.new
467
- model.deserialize(response['Response'])
468
- model
469
- else
470
- code = response['Response']['Error']['Code']
471
- message = response['Response']['Error']['Message']
472
- reqid = response['Response']['RequestId']
473
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
474
- end
475
- rescue TencentCloud::Common::TencentCloudSDKException => e
476
- raise e
477
- rescue StandardError => e
478
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
479
- end
480
-
481
455
  # 本接口(DescribeDiskStoragePool)查询用户的云硬盘独享集群列表。
482
456
 
483
457
  # * 可以根据独享集群ID(CdcId)、可用区(zone)等信息来查询和过滤云硬盘独享集群详细信息,不同的过滤条件之间为与(AND)的关系,过滤信息详细请见过滤器`Filter`。
@@ -558,32 +532,6 @@ module TencentCloud
558
532
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
559
533
  end
560
534
 
561
- # 接口已废弃,切换至云审计接口。见https://tapd.woa.com/pro/prong/stories/view/1010114221880719007
562
-
563
- # 查询快照操作日志功能已迁移至LookUpEvents接口(https://cloud.tencent.com/document/product/629/12359),本接口(DescribeSnapshotOperationLogs)即将下线,后续不再提供调用,请知悉。
564
-
565
- # @param request: Request instance for DescribeSnapshotOperationLogs.
566
- # @type request: :class:`Tencentcloud::cbs::V20170312::DescribeSnapshotOperationLogsRequest`
567
- # @rtype: :class:`Tencentcloud::cbs::V20170312::DescribeSnapshotOperationLogsResponse`
568
- def DescribeSnapshotOperationLogs(request)
569
- body = send_request('DescribeSnapshotOperationLogs', request.serialize)
570
- response = JSON.parse(body)
571
- if response['Response'].key?('Error') == false
572
- model = DescribeSnapshotOperationLogsResponse.new
573
- model.deserialize(response['Response'])
574
- model
575
- else
576
- code = response['Response']['Error']['Code']
577
- message = response['Response']['Error']['Message']
578
- reqid = response['Response']['RequestId']
579
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
580
- end
581
- rescue TencentCloud::Common::TencentCloudSDKException => e
582
- raise e
583
- rescue StandardError => e
584
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
585
- end
586
-
587
535
  # 本接口(DescribeSnapshotSharePermission)用于查询快照的分享信息。
588
536
 
589
537
  # @param request: Request instance for DescribeSnapshotSharePermission.
@@ -1147,65 +1147,6 @@ module TencentCloud
1147
1147
  end
1148
1148
  end
1149
1149
 
1150
- # DescribeDiskOperationLogs请求参数结构体
1151
- class DescribeDiskOperationLogsRequest < TencentCloud::Common::AbstractModel
1152
- # @param Filters: 过滤条件。支持以下条件:
1153
- # <li>disk-id - Array of String - 是否必填:是 - 按云盘ID过滤,每个请求最多可指定10个云盘ID。
1154
- # @type Filters: Array
1155
- # @param EndTime: 要查询的操作日志的截止时间,例如:“2019-11-22 23:59:59"
1156
- # @type EndTime: String
1157
- # @param BeginTime: 要查询的操作日志的起始时间,例如:“2019-11-22 00:00:00"
1158
- # @type BeginTime: String
1159
-
1160
- attr_accessor :Filters, :EndTime, :BeginTime
1161
-
1162
- def initialize(filters=nil, endtime=nil, begintime=nil)
1163
- @Filters = filters
1164
- @EndTime = endtime
1165
- @BeginTime = begintime
1166
- end
1167
-
1168
- def deserialize(params)
1169
- unless params['Filters'].nil?
1170
- @Filters = []
1171
- params['Filters'].each do |i|
1172
- filter_tmp = Filter.new
1173
- filter_tmp.deserialize(i)
1174
- @Filters << filter_tmp
1175
- end
1176
- end
1177
- @EndTime = params['EndTime']
1178
- @BeginTime = params['BeginTime']
1179
- end
1180
- end
1181
-
1182
- # DescribeDiskOperationLogs返回参数结构体
1183
- class DescribeDiskOperationLogsResponse < TencentCloud::Common::AbstractModel
1184
- # @param DiskOperationLogSet: 云盘的操作日志列表。
1185
- # @type DiskOperationLogSet: Array
1186
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1187
- # @type RequestId: String
1188
-
1189
- attr_accessor :DiskOperationLogSet, :RequestId
1190
-
1191
- def initialize(diskoperationlogset=nil, requestid=nil)
1192
- @DiskOperationLogSet = diskoperationlogset
1193
- @RequestId = requestid
1194
- end
1195
-
1196
- def deserialize(params)
1197
- unless params['DiskOperationLogSet'].nil?
1198
- @DiskOperationLogSet = []
1199
- params['DiskOperationLogSet'].each do |i|
1200
- diskoperationlog_tmp = DiskOperationLog.new
1201
- diskoperationlog_tmp.deserialize(i)
1202
- @DiskOperationLogSet << diskoperationlog_tmp
1203
- end
1204
- end
1205
- @RequestId = params['RequestId']
1206
- end
1207
- end
1208
-
1209
1150
  # DescribeDiskStoragePool请求参数结构体
1210
1151
  class DescribeDiskStoragePoolRequest < TencentCloud::Common::AbstractModel
1211
1152
  # @param Limit: 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](/document/product/362/15633)中的相关小节。
@@ -1404,65 +1345,6 @@ module TencentCloud
1404
1345
  end
1405
1346
  end
1406
1347
 
1407
- # DescribeSnapshotOperationLogs请求参数结构体
1408
- class DescribeSnapshotOperationLogsRequest < TencentCloud::Common::AbstractModel
1409
- # @param Filters: 过滤条件。支持以下条件:
1410
- # <li>snapshot-id - Array of String - 是否必填:是 - 按快照ID过滤,每个请求最多可指定10个快照ID。
1411
- # @type Filters: Array
1412
- # @param EndTime: 要查询的操作日志的截止时间,例如:“2019-11-22 23:59:59"
1413
- # @type EndTime: String
1414
- # @param BeginTime: 要查询的操作日志的起始时间,例如:“2019-11-22 00:00:00"
1415
- # @type BeginTime: String
1416
-
1417
- attr_accessor :Filters, :EndTime, :BeginTime
1418
-
1419
- def initialize(filters=nil, endtime=nil, begintime=nil)
1420
- @Filters = filters
1421
- @EndTime = endtime
1422
- @BeginTime = begintime
1423
- end
1424
-
1425
- def deserialize(params)
1426
- unless params['Filters'].nil?
1427
- @Filters = []
1428
- params['Filters'].each do |i|
1429
- filter_tmp = Filter.new
1430
- filter_tmp.deserialize(i)
1431
- @Filters << filter_tmp
1432
- end
1433
- end
1434
- @EndTime = params['EndTime']
1435
- @BeginTime = params['BeginTime']
1436
- end
1437
- end
1438
-
1439
- # DescribeSnapshotOperationLogs返回参数结构体
1440
- class DescribeSnapshotOperationLogsResponse < TencentCloud::Common::AbstractModel
1441
- # @param SnapshotOperationLogSet: 快照操作日志列表。
1442
- # @type SnapshotOperationLogSet: Array
1443
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1444
- # @type RequestId: String
1445
-
1446
- attr_accessor :SnapshotOperationLogSet, :RequestId
1447
-
1448
- def initialize(snapshotoperationlogset=nil, requestid=nil)
1449
- @SnapshotOperationLogSet = snapshotoperationlogset
1450
- @RequestId = requestid
1451
- end
1452
-
1453
- def deserialize(params)
1454
- unless params['SnapshotOperationLogSet'].nil?
1455
- @SnapshotOperationLogSet = []
1456
- params['SnapshotOperationLogSet'].each do |i|
1457
- snapshotoperationlog_tmp = SnapshotOperationLog.new
1458
- snapshotoperationlog_tmp.deserialize(i)
1459
- @SnapshotOperationLogSet << snapshotoperationlog_tmp
1460
- end
1461
- end
1462
- @RequestId = params['RequestId']
1463
- end
1464
- end
1465
-
1466
1348
  # DescribeSnapshotSharePermission请求参数结构体
1467
1349
  class DescribeSnapshotSharePermissionRequest < TencentCloud::Common::AbstractModel
1468
1350
  # @param SnapshotId: 要查询快照的ID。可通过[DescribeSnapshots](https://cloud.tencent.com/document/api/362/15647)查询获取。
@@ -2030,54 +1912,6 @@ module TencentCloud
2030
1912
  end
2031
1913
  end
2032
1914
 
2033
- # 云盘操作日志。
2034
- class DiskOperationLog < TencentCloud::Common::AbstractModel
2035
- # @param OperationState: 操作的状态。取值范围:
2036
- # SUCCESS :表示操作成功
2037
- # FAILED :表示操作失败
2038
- # PROCESSING :表示操作中。
2039
- # @type OperationState: String
2040
- # @param StartTime: 开始时间。
2041
- # @type StartTime: String
2042
- # @param Operator: 操作者的UIN。
2043
- # @type Operator: String
2044
- # @param Operation: 操作类型。取值范围:
2045
- # CBS_OPERATION_ATTACH:挂载云硬盘
2046
- # CBS_OPERATION_DETACH:解挂云硬盘
2047
- # CBS_OPERATION_RENEW:续费
2048
- # CBS_OPERATION_EXPAND:扩容
2049
- # CBS_OPERATION_CREATE:创建
2050
- # CBS_OPERATION_ISOLATE:隔离
2051
- # CBS_OPERATION_MODIFY:修改云硬盘属性
2052
- # ASP_OPERATION_BIND:关联定期快照策略
2053
- # ASP_OPERATION_UNBIND:取消关联定期快照策略
2054
- # @type Operation: String
2055
- # @param EndTime: 结束时间。
2056
- # @type EndTime: String
2057
- # @param DiskId: 操作的云盘ID。
2058
- # @type DiskId: String
2059
-
2060
- attr_accessor :OperationState, :StartTime, :Operator, :Operation, :EndTime, :DiskId
2061
-
2062
- def initialize(operationstate=nil, starttime=nil, operator=nil, operation=nil, endtime=nil, diskid=nil)
2063
- @OperationState = operationstate
2064
- @StartTime = starttime
2065
- @Operator = operator
2066
- @Operation = operation
2067
- @EndTime = endtime
2068
- @DiskId = diskid
2069
- end
2070
-
2071
- def deserialize(params)
2072
- @OperationState = params['OperationState']
2073
- @StartTime = params['StartTime']
2074
- @Operator = params['Operator']
2075
- @Operation = params['Operation']
2076
- @EndTime = params['EndTime']
2077
- @DiskId = params['DiskId']
2078
- end
2079
- end
2080
-
2081
1915
  # 描述键值对过滤器,用于条件过滤查询。
2082
1916
  class Filter < TencentCloud::Common::AbstractModel
2083
1917
  # @param Values: 一个或者多个过滤值。
@@ -3234,53 +3068,6 @@ module TencentCloud
3234
3068
  end
3235
3069
  end
3236
3070
 
3237
- # 快照操作日志,已废弃。
3238
- class SnapshotOperationLog < TencentCloud::Common::AbstractModel
3239
- # @param OperationState: 操作的状态。取值范围:
3240
- # SUCCESS :表示操作成功
3241
- # FAILED :表示操作失败
3242
- # PROCESSING :表示操作中。
3243
- # @type OperationState: String
3244
- # @param StartTime: 开始时间。
3245
- # @type StartTime: String
3246
- # @param Operator: 操作者的UIN。
3247
- # 注意:此字段可能返回 null,表示取不到有效值。
3248
- # @type Operator: String
3249
- # @param SnapshotId: 操作的快照ID。
3250
- # @type SnapshotId: String
3251
- # @param Operation: 操作类型。取值范围:
3252
- # SNAP_OPERATION_DELETE:删除快照
3253
- # SNAP_OPERATION_ROLLBACK:回滚快照
3254
- # SNAP_OPERATION_MODIFY:修改快照属性
3255
- # SNAP_OPERATION_CREATE:创建快照
3256
- # SNAP_OPERATION_COPY:跨地域复制快照
3257
- # ASP_OPERATION_CREATE_SNAP:由定期快照策略创建快照
3258
- # ASP_OPERATION_DELETE_SNAP:由定期快照策略删除快照
3259
- # @type Operation: String
3260
- # @param EndTime: 结束时间。
3261
- # @type EndTime: String
3262
-
3263
- attr_accessor :OperationState, :StartTime, :Operator, :SnapshotId, :Operation, :EndTime
3264
-
3265
- def initialize(operationstate=nil, starttime=nil, operator=nil, snapshotid=nil, operation=nil, endtime=nil)
3266
- @OperationState = operationstate
3267
- @StartTime = starttime
3268
- @Operator = operator
3269
- @SnapshotId = snapshotid
3270
- @Operation = operation
3271
- @EndTime = endtime
3272
- end
3273
-
3274
- def deserialize(params)
3275
- @OperationState = params['OperationState']
3276
- @StartTime = params['StartTime']
3277
- @Operator = params['Operator']
3278
- @SnapshotId = params['SnapshotId']
3279
- @Operation = params['Operation']
3280
- @EndTime = params['EndTime']
3281
- end
3282
- end
3283
-
3284
3071
  # 标签。
3285
3072
  class Tag < TencentCloud::Common::AbstractModel
3286
3073
  # @param Key: 标签健。
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.618
4
+ version: 3.0.620
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-07-21 00:00:00.000000000 Z
11
+ date: 2023-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common