tencentcloud-sdk-nodejs-cbs 4.0.646 → 4.0.648

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.
@@ -1,5 +1,5 @@
1
1
  import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
2
- import { ModifyDiskExtraPerformanceRequest, ModifyDiskAttributesResponse, DescribeDiskBackupsRequest, DescribeSnapshotOperationLogsRequest, ModifySnapshotsSharePermissionRequest, CopySnapshotCrossRegionsResponse, ModifyAutoSnapshotPolicyAttributeResponse, ModifyDiskBackupQuotaRequest, InquiryPriceCreateDisksResponse, BindAutoSnapshotPolicyRequest, CreateSnapshotResponse, DescribeAutoSnapshotPoliciesRequest, ModifySnapshotsSharePermissionResponse, DeleteDiskBackupsRequest, InitializeDisksResponse, DeleteDiskBackupsResponse, DescribeDiskStoragePoolRequest, DescribeDiskBackupsResponse, RenewDiskRequest, InquirePriceModifyDiskExtraPerformanceResponse, CreateDisksRequest, AttachDisksRequest, DescribeDiskAssociatedAutoSnapshotPolicyRequest, DescribeSnapshotsRequest, ModifyAutoSnapshotPolicyAttributeRequest, DescribeDiskConfigQuotaResponse, ApplyDiskBackupResponse, InquiryPriceResizeDiskResponse, ResizeDiskResponse, TerminateDisksResponse, ApplySnapshotResponse, DetachDisksRequest, ModifyDisksChargeTypeResponse, CreateSnapshotRequest, DescribeInstancesDiskNumRequest, DescribeSnapshotSharePermissionResponse, ModifyDiskBackupQuotaResponse, InquiryPriceRenewDisksRequest, DescribeSnapshotSharePermissionRequest, InquirePriceModifyDiskBackupQuotaRequest, DescribeSnapshotOperationLogsResponse, DeleteSnapshotsRequest, ModifyDisksRenewFlagResponse, DeleteAutoSnapshotPoliciesResponse, DescribeDisksResponse, DeleteSnapshotsResponse, ModifyDisksRenewFlagRequest, ModifySnapshotAttributeResponse, ModifyDiskAttributesRequest, GetSnapOverviewRequest, TerminateDisksRequest, DescribeInstancesDiskNumResponse, DescribeDiskOperationLogsResponse, ResizeDiskRequest, ApplyDiskBackupRequest, ModifyDisksChargeTypeRequest, InitializeDisksRequest, CreateAutoSnapshotPolicyResponse, ModifySnapshotAttributeRequest, UnbindAutoSnapshotPolicyRequest, CreateDiskBackupResponse, InquirePriceModifyDiskBackupQuotaResponse, DeleteAutoSnapshotPoliciesRequest, InquiryPriceCreateDisksRequest, DescribeSnapshotsResponse, CreateDisksResponse, AttachDisksResponse, CreateDiskBackupRequest, BindAutoSnapshotPolicyResponse, DescribeDiskOperationLogsRequest, DescribeDisksRequest, DetachDisksResponse, InquiryPriceRenewDisksResponse, DescribeDiskStoragePoolResponse, ModifyDiskExtraPerformanceResponse, InquirePriceModifyDiskExtraPerformanceRequest, InquiryPriceResizeDiskRequest, DescribeDiskConfigQuotaRequest, DescribeDiskAssociatedAutoSnapshotPolicyResponse, GetSnapOverviewResponse, CopySnapshotCrossRegionsRequest, RenewDiskResponse, DescribeAutoSnapshotPoliciesResponse, UnbindAutoSnapshotPolicyResponse, CreateAutoSnapshotPolicyRequest, ApplySnapshotRequest } from "./cbs_models";
2
+ import { ModifyDiskExtraPerformanceRequest, ModifyDiskAttributesResponse, DescribeDiskBackupsRequest, CreateDiskBackupRequest, CopySnapshotCrossRegionsResponse, ModifyAutoSnapshotPolicyAttributeResponse, ModifyDiskBackupQuotaRequest, InquiryPriceCreateDisksResponse, BindAutoSnapshotPolicyRequest, CreateSnapshotResponse, DescribeAutoSnapshotPoliciesRequest, ModifySnapshotsSharePermissionResponse, DeleteDiskBackupsRequest, InitializeDisksResponse, DescribeDiskStoragePoolRequest, DescribeDiskBackupsResponse, RenewDiskRequest, InquirePriceModifyDiskExtraPerformanceResponse, CreateDisksRequest, AttachDisksRequest, DescribeDiskAssociatedAutoSnapshotPolicyRequest, DescribeSnapshotsRequest, ModifyAutoSnapshotPolicyAttributeRequest, DescribeDiskConfigQuotaResponse, ApplyDiskBackupResponse, InquiryPriceResizeDiskResponse, ResizeDiskResponse, TerminateDisksResponse, ApplySnapshotResponse, DetachDisksRequest, ModifyDisksChargeTypeResponse, CreateSnapshotRequest, DescribeInstancesDiskNumRequest, DescribeSnapshotSharePermissionResponse, ModifyDiskBackupQuotaResponse, InquiryPriceRenewDisksRequest, DescribeSnapshotSharePermissionRequest, InquirePriceModifyDiskBackupQuotaRequest, DeleteDiskBackupsResponse, DeleteSnapshotsRequest, ModifyDisksRenewFlagResponse, DeleteAutoSnapshotPoliciesResponse, DescribeDisksResponse, DeleteSnapshotsResponse, ModifyDisksRenewFlagRequest, ModifySnapshotAttributeResponse, ModifyDiskAttributesRequest, GetSnapOverviewRequest, TerminateDisksRequest, DescribeInstancesDiskNumResponse, ResizeDiskRequest, ApplyDiskBackupRequest, ModifyDisksChargeTypeRequest, InitializeDisksRequest, CreateAutoSnapshotPolicyResponse, ModifySnapshotAttributeRequest, UnbindAutoSnapshotPolicyRequest, CreateDiskBackupResponse, InquirePriceModifyDiskBackupQuotaResponse, DeleteAutoSnapshotPoliciesRequest, InquiryPriceCreateDisksRequest, DescribeSnapshotsResponse, CreateDisksResponse, AttachDisksResponse, ModifySnapshotsSharePermissionRequest, BindAutoSnapshotPolicyResponse, DescribeDisksRequest, DetachDisksResponse, InquiryPriceRenewDisksResponse, DescribeDiskStoragePoolResponse, ModifyDiskExtraPerformanceResponse, InquirePriceModifyDiskExtraPerformanceRequest, InquiryPriceResizeDiskRequest, DescribeDiskConfigQuotaRequest, DescribeDiskAssociatedAutoSnapshotPolicyResponse, GetSnapOverviewResponse, CopySnapshotCrossRegionsRequest, RenewDiskResponse, DescribeAutoSnapshotPoliciesResponse, UnbindAutoSnapshotPolicyResponse, CreateAutoSnapshotPolicyRequest, ApplySnapshotRequest } from "./cbs_models";
3
3
  /**
4
4
  * cbs client
5
5
  * @class
@@ -94,12 +94,6 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
94
94
  如果参数为空,返回当前用户一定数量(Limit所指定的数量,默认为20)的备份点列表。
95
95
  */
96
96
  DescribeDiskBackups(req: DescribeDiskBackupsRequest, cb?: (error: string, rep: DescribeDiskBackupsResponse) => void): Promise<DescribeDiskBackupsResponse>;
97
- /**
98
- * 接口已废弃,切换至云审计接口。见https://tapd.woa.com/pro/prong/stories/view/1010114221880719007
99
-
100
- 查询云盘操作日志功能已迁移至LookUpEvents接口(https://cloud.tencent.com/document/product/629/12359),本接口(DescribeDiskOperationLogs)即将下线,后续不再提供调用,请知悉。
101
- */
102
- DescribeDiskOperationLogs(req: DescribeDiskOperationLogsRequest, cb?: (error: string, rep: DescribeDiskOperationLogsResponse) => void): Promise<DescribeDiskOperationLogsResponse>;
103
97
  /**
104
98
  * 本接口(DeleteAutoSnapshotPolicies)用于删除定期快照策略。
105
99
 
@@ -227,13 +221,6 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
227
221
  * 如果是弹性云盘,则云盘必须处于未挂载状态,云硬盘挂载状态可以通过[DescribeDisks](/document/product/362/16315)接口查询,见Attached字段解释;如果是随实例一起购买的非弹性云盘,则实例必须处于关机状态,实例状态可以通过[DescribeInstancesStatus](/document/product/213/15738)接口查询。
228
222
  */
229
223
  ApplySnapshot(req: ApplySnapshotRequest, cb?: (error: string, rep: ApplySnapshotResponse) => void): Promise<ApplySnapshotResponse>;
230
- /**
231
- * 接口已废弃,切换至云审计接口。见https://tapd.woa.com/pro/prong/stories/view/1010114221880719007
232
-
233
- 查询快照操作日志功能已迁移至LookUpEvents接口(https://cloud.tencent.com/document/product/629/12359),本接口(DescribeSnapshotOperationLogs)即将下线,后续不再提供调用,请知悉。
234
-
235
- */
236
- DescribeSnapshotOperationLogs(req: DescribeSnapshotOperationLogsRequest, cb?: (error: string, rep: DescribeSnapshotOperationLogsResponse) => void): Promise<DescribeSnapshotOperationLogsResponse>;
237
224
  /**
238
225
  * 本接口(ModifySnapshotsSharePermission)用于修改快照分享信息。
239
226
 
@@ -245,12 +232,13 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
245
232
  */
246
233
  ModifySnapshotsSharePermission(req: ModifySnapshotsSharePermissionRequest, cb?: (error: string, rep: ModifySnapshotsSharePermissionResponse) => void): Promise<ModifySnapshotsSharePermissionResponse>;
247
234
  /**
248
- * 本接口(DetachDisks)用于卸载云硬盘。
235
+ * 本接口(CreateSnapshot)用于对指定云盘创建快照。
249
236
 
250
- * 支持批量操作,卸载挂载在同一主机上的多块云盘。如果多块云盘中存在不允许卸载的云盘,则操作不执行,返回特定的错误码。
251
- * 本接口为异步接口,当请求成功返回时,云盘并未立即从主机卸载,可通过接口[DescribeDisks](/document/product/362/16315)来查询对应云盘的状态,如果云盘的状态由“ATTACHED”变为“UNATTACHED”,则为卸载成功。
237
+ * 只有具有快照能力的云硬盘才能创建快照。云硬盘是否具有快照能力可由[DescribeDisks](/document/product/362/16315)接口查询,见SnapshotAbility字段。
238
+ * 可创建快照数量限制见[产品使用限制](https://cloud.tencent.com/doc/product/362/5145)
239
+ * 当前支持将备份点转化为普通快照,转化之后可能会收取快照使用费用,备份点不保留,其占用的备份点配额也将被释放。
252
240
  */
253
- DetachDisks(req: DetachDisksRequest, cb?: (error: string, rep: DetachDisksResponse) => void): Promise<DetachDisksResponse>;
241
+ CreateSnapshot(req: CreateSnapshotRequest, cb?: (error: string, rep: CreateSnapshotResponse) => void): Promise<CreateSnapshotResponse>;
254
242
  /**
255
243
  * 获取快照概览信息
256
244
  */
@@ -263,13 +251,12 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
263
251
  */
264
252
  ResizeDisk(req: ResizeDiskRequest, cb?: (error: string, rep: ResizeDiskResponse) => void): Promise<ResizeDiskResponse>;
265
253
  /**
266
- * 本接口(CreateSnapshot)用于对指定云盘创建快照。
254
+ * 本接口(DetachDisks)用于卸载云硬盘。
267
255
 
268
- * 只有具有快照能力的云硬盘才能创建快照。云硬盘是否具有快照能力可由[DescribeDisks](/document/product/362/16315)接口查询,见SnapshotAbility字段。
269
- * 可创建快照数量限制见[产品使用限制](https://cloud.tencent.com/doc/product/362/5145)
270
- * 当前支持将备份点转化为普通快照,转化之后可能会收取快照使用费用,备份点不保留,其占用的备份点配额也将被释放。
256
+ * 支持批量操作,卸载挂载在同一主机上的多块云盘。如果多块云盘中存在不允许卸载的云盘,则操作不执行,返回特定的错误码。
257
+ * 本接口为异步接口,当请求成功返回时,云盘并未立即从主机卸载,可通过接口[DescribeDisks](/document/product/362/16315)来查询对应云盘的状态,如果云盘的状态由“ATTACHED”变为“UNATTACHED”,则为卸载成功。
271
258
  */
272
- CreateSnapshot(req: CreateSnapshotRequest, cb?: (error: string, rep: CreateSnapshotResponse) => void): Promise<CreateSnapshotResponse>;
259
+ DetachDisks(req: DetachDisksRequest, cb?: (error: string, rep: DetachDisksResponse) => void): Promise<DetachDisksResponse>;
273
260
  /**
274
261
  * 本接口(InquiryPriceRenewDisks)用于续费云硬盘询价。
275
262
 
@@ -145,14 +145,6 @@ class Client extends TencentCloudCommon.AbstractClient {
145
145
  async DescribeDiskBackups(req, cb) {
146
146
  return this.request("DescribeDiskBackups", req, cb);
147
147
  }
148
- /**
149
- * 接口已废弃,切换至云审计接口。见https://tapd.woa.com/pro/prong/stories/view/1010114221880719007
150
-
151
- 查询云盘操作日志功能已迁移至LookUpEvents接口(https://cloud.tencent.com/document/product/629/12359),本接口(DescribeDiskOperationLogs)即将下线,后续不再提供调用,请知悉。
152
- */
153
- async DescribeDiskOperationLogs(req, cb) {
154
- return this.request("DescribeDiskOperationLogs", req, cb);
155
- }
156
148
  /**
157
149
  * 本接口(DeleteAutoSnapshotPolicies)用于删除定期快照策略。
158
150
 
@@ -320,15 +312,6 @@ class Client extends TencentCloudCommon.AbstractClient {
320
312
  async ApplySnapshot(req, cb) {
321
313
  return this.request("ApplySnapshot", req, cb);
322
314
  }
323
- /**
324
- * 接口已废弃,切换至云审计接口。见https://tapd.woa.com/pro/prong/stories/view/1010114221880719007
325
-
326
- 查询快照操作日志功能已迁移至LookUpEvents接口(https://cloud.tencent.com/document/product/629/12359),本接口(DescribeSnapshotOperationLogs)即将下线,后续不再提供调用,请知悉。
327
-
328
- */
329
- async DescribeSnapshotOperationLogs(req, cb) {
330
- return this.request("DescribeSnapshotOperationLogs", req, cb);
331
- }
332
315
  /**
333
316
  * 本接口(ModifySnapshotsSharePermission)用于修改快照分享信息。
334
317
 
@@ -342,13 +325,14 @@ class Client extends TencentCloudCommon.AbstractClient {
342
325
  return this.request("ModifySnapshotsSharePermission", req, cb);
343
326
  }
344
327
  /**
345
- * 本接口(DetachDisks)用于卸载云硬盘。
328
+ * 本接口(CreateSnapshot)用于对指定云盘创建快照。
346
329
 
347
- * 支持批量操作,卸载挂载在同一主机上的多块云盘。如果多块云盘中存在不允许卸载的云盘,则操作不执行,返回特定的错误码。
348
- * 本接口为异步接口,当请求成功返回时,云盘并未立即从主机卸载,可通过接口[DescribeDisks](/document/product/362/16315)来查询对应云盘的状态,如果云盘的状态由“ATTACHED”变为“UNATTACHED”,则为卸载成功。
330
+ * 只有具有快照能力的云硬盘才能创建快照。云硬盘是否具有快照能力可由[DescribeDisks](/document/product/362/16315)接口查询,见SnapshotAbility字段。
331
+ * 可创建快照数量限制见[产品使用限制](https://cloud.tencent.com/doc/product/362/5145)
332
+ * 当前支持将备份点转化为普通快照,转化之后可能会收取快照使用费用,备份点不保留,其占用的备份点配额也将被释放。
349
333
  */
350
- async DetachDisks(req, cb) {
351
- return this.request("DetachDisks", req, cb);
334
+ async CreateSnapshot(req, cb) {
335
+ return this.request("CreateSnapshot", req, cb);
352
336
  }
353
337
  /**
354
338
  * 获取快照概览信息
@@ -366,14 +350,13 @@ class Client extends TencentCloudCommon.AbstractClient {
366
350
  return this.request("ResizeDisk", req, cb);
367
351
  }
368
352
  /**
369
- * 本接口(CreateSnapshot)用于对指定云盘创建快照。
353
+ * 本接口(DetachDisks)用于卸载云硬盘。
370
354
 
371
- * 只有具有快照能力的云硬盘才能创建快照。云硬盘是否具有快照能力可由[DescribeDisks](/document/product/362/16315)接口查询,见SnapshotAbility字段。
372
- * 可创建快照数量限制见[产品使用限制](https://cloud.tencent.com/doc/product/362/5145)
373
- * 当前支持将备份点转化为普通快照,转化之后可能会收取快照使用费用,备份点不保留,其占用的备份点配额也将被释放。
355
+ * 支持批量操作,卸载挂载在同一主机上的多块云盘。如果多块云盘中存在不允许卸载的云盘,则操作不执行,返回特定的错误码。
356
+ * 本接口为异步接口,当请求成功返回时,云盘并未立即从主机卸载,可通过接口[DescribeDisks](/document/product/362/16315)来查询对应云盘的状态,如果云盘的状态由“ATTACHED”变为“UNATTACHED”,则为卸载成功。
374
357
  */
375
- async CreateSnapshot(req, cb) {
376
- return this.request("CreateSnapshot", req, cb);
358
+ async DetachDisks(req, cb) {
359
+ return this.request("DetachDisks", req, cb);
377
360
  }
378
361
  /**
379
362
  * 本接口(InquiryPriceRenewDisks)用于续费云硬盘询价。
@@ -1,43 +1,3 @@
1
- /**
2
- * 快照操作日志,已废弃。
3
- */
4
- export interface SnapshotOperationLog {
5
- /**
6
- * 操作的状态。取值范围:
7
- SUCCESS :表示操作成功
8
- FAILED :表示操作失败
9
- PROCESSING :表示操作中。
10
- */
11
- OperationState: string;
12
- /**
13
- * 开始时间。
14
- */
15
- StartTime: string;
16
- /**
17
- * 操作者的UIN。
18
- 注意:此字段可能返回 null,表示取不到有效值。
19
- */
20
- Operator: string;
21
- /**
22
- * 操作的快照ID。
23
- */
24
- SnapshotId: string;
25
- /**
26
- * 操作类型。取值范围:
27
- SNAP_OPERATION_DELETE:删除快照
28
- SNAP_OPERATION_ROLLBACK:回滚快照
29
- SNAP_OPERATION_MODIFY:修改快照属性
30
- SNAP_OPERATION_CREATE:创建快照
31
- SNAP_OPERATION_COPY:跨地域复制快照
32
- ASP_OPERATION_CREATE_SNAP:由定期快照策略创建快照
33
- ASP_OPERATION_DELETE_SNAP:由定期快照策略删除快照
34
- */
35
- Operation: string;
36
- /**
37
- * 结束时间。
38
- */
39
- EndTime: string;
40
- }
41
1
  /**
42
2
  * ModifyDiskExtraPerformance请求参数结构体
43
3
  */
@@ -236,39 +196,17 @@ export interface DetailPrice {
236
196
  UnitPriceDiscountHigh?: string;
237
197
  }
238
198
  /**
239
- * DescribeSnapshotOperationLogs请求参数结构体
240
- */
241
- export interface DescribeSnapshotOperationLogsRequest {
242
- /**
243
- * 过滤条件。支持以下条件:
244
- <li>snapshot-id - Array of String - 是否必填:是 - 按快照ID过滤,每个请求最多可指定10个快照ID。
245
- */
246
- Filters: Array<Filter>;
247
- /**
248
- * 要查询的操作日志的截止时间,例如:“2019-11-22 23:59:59"
249
- */
250
- EndTime?: string;
251
- /**
252
- * 要查询的操作日志的起始时间,例如:“2019-11-22 00:00:00"
253
- */
254
- BeginTime?: string;
255
- }
256
- /**
257
- * ModifySnapshotsSharePermission请求参数结构体
199
+ * CreateDiskBackup请求参数结构体
258
200
  */
259
- export interface ModifySnapshotsSharePermissionRequest {
260
- /**
261
- * 快照ID, 可通过[DescribeSnapshots](https://cloud.tencent.com/document/api/362/15647)查询获取。
262
- */
263
- SnapshotIds: Array<string>;
201
+ export interface CreateDiskBackupRequest {
264
202
  /**
265
- * 接收分享快照的账号Id列表,array型参数的格式可以参考[API简介](https://cloud.tencent.com/document/api/213/568)。帐号ID不同于QQ号,查询用户帐号ID请查看[帐号信息](https://console.cloud.tencent.com/developer)中的帐号ID栏。
203
+ * 要创建备份点的云硬盘名称。
266
204
  */
267
- AccountIds: Array<string>;
205
+ DiskId: string;
268
206
  /**
269
- * 操作,包括 SHARE,CANCEL。其中SHARE代表分享操作,CANCEL代表取消分享操作。
207
+ * 云硬盘备份点名称。长度不能超过100个字符。
270
208
  */
271
- Permission: string;
209
+ DiskBackupName?: string;
272
210
  }
273
211
  /**
274
212
  * CopySnapshotCrossRegions返回参数结构体
@@ -401,15 +339,6 @@ export interface InitializeDisksResponse {
401
339
  */
402
340
  RequestId?: string;
403
341
  }
404
- /**
405
- * DeleteDiskBackups返回参数结构体
406
- */
407
- export interface DeleteDiskBackupsResponse {
408
- /**
409
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
410
- */
411
- RequestId?: string;
412
- }
413
342
  /**
414
343
  * DescribeDiskStoragePool请求参数结构体
415
344
  */
@@ -1069,13 +998,9 @@ export interface InquirePriceModifyDiskBackupQuotaRequest {
1069
998
  DiskBackupQuota: number;
1070
999
  }
1071
1000
  /**
1072
- * DescribeSnapshotOperationLogs返回参数结构体
1001
+ * DeleteDiskBackups返回参数结构体
1073
1002
  */
1074
- export interface DescribeSnapshotOperationLogsResponse {
1075
- /**
1076
- * 快照操作日志列表。
1077
- */
1078
- SnapshotOperationLogSet: Array<SnapshotOperationLog>;
1003
+ export interface DeleteDiskBackupsResponse {
1079
1004
  /**
1080
1005
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1081
1006
  */
@@ -1286,19 +1211,6 @@ export interface DescribeInstancesDiskNumResponse {
1286
1211
  */
1287
1212
  RequestId?: string;
1288
1213
  }
1289
- /**
1290
- * DescribeDiskOperationLogs返回参数结构体
1291
- */
1292
- export interface DescribeDiskOperationLogsResponse {
1293
- /**
1294
- * 云盘的操作日志列表。
1295
- */
1296
- DiskOperationLogSet: Array<DiskOperationLog>;
1297
- /**
1298
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1299
- */
1300
- RequestId?: string;
1301
- }
1302
1214
  /**
1303
1215
  * ResizeDisk请求参数结构体
1304
1216
  */
@@ -1688,58 +1600,21 @@ export interface AttachDisksResponse {
1688
1600
  RequestId?: string;
1689
1601
  }
1690
1602
  /**
1691
- * CreateDiskBackup请求参数结构体
1692
- */
1693
- export interface CreateDiskBackupRequest {
1694
- /**
1695
- * 要创建备份点的云硬盘名称。
1696
- */
1697
- DiskId: string;
1698
- /**
1699
- * 云硬盘备份点名称。长度不能超过100个字符。
1700
- */
1701
- DiskBackupName?: string;
1702
- }
1703
- /**
1704
- * 云盘操作日志。
1603
+ * ModifySnapshotsSharePermission请求参数结构体
1705
1604
  */
1706
- export interface DiskOperationLog {
1707
- /**
1708
- * 操作的状态。取值范围:
1709
- SUCCESS :表示操作成功
1710
- FAILED :表示操作失败
1711
- PROCESSING :表示操作中。
1712
- */
1713
- OperationState: string;
1714
- /**
1715
- * 开始时间。
1716
- */
1717
- StartTime: string;
1718
- /**
1719
- * 操作者的UIN。
1720
- */
1721
- Operator: string;
1605
+ export interface ModifySnapshotsSharePermissionRequest {
1722
1606
  /**
1723
- * 操作类型。取值范围:
1724
- CBS_OPERATION_ATTACH:挂载云硬盘
1725
- CBS_OPERATION_DETACH:解挂云硬盘
1726
- CBS_OPERATION_RENEW:续费
1727
- CBS_OPERATION_EXPAND:扩容
1728
- CBS_OPERATION_CREATE:创建
1729
- CBS_OPERATION_ISOLATE:隔离
1730
- CBS_OPERATION_MODIFY:修改云硬盘属性
1731
- ASP_OPERATION_BIND:关联定期快照策略
1732
- ASP_OPERATION_UNBIND:取消关联定期快照策略
1607
+ * 快照ID, 可通过[DescribeSnapshots](https://cloud.tencent.com/document/api/362/15647)查询获取。
1733
1608
  */
1734
- Operation: string;
1609
+ SnapshotIds: Array<string>;
1735
1610
  /**
1736
- * 结束时间。
1611
+ * 接收分享快照的账号Id列表,array型参数的格式可以参考[API简介](https://cloud.tencent.com/document/api/213/568)。帐号ID不同于QQ号,查询用户帐号ID请查看[帐号信息](https://console.cloud.tencent.com/developer)中的帐号ID栏。
1737
1612
  */
1738
- EndTime: string;
1613
+ AccountIds: Array<string>;
1739
1614
  /**
1740
- * 操作的云盘ID。
1615
+ * 操作,包括 SHARE,CANCEL。其中SHARE代表分享操作,CANCEL代表取消分享操作。
1741
1616
  */
1742
- DiskId: string;
1617
+ Permission: string;
1743
1618
  }
1744
1619
  /**
1745
1620
  * BindAutoSnapshotPolicy返回参数结构体
@@ -1750,24 +1625,6 @@ export interface BindAutoSnapshotPolicyResponse {
1750
1625
  */
1751
1626
  RequestId?: string;
1752
1627
  }
1753
- /**
1754
- * DescribeDiskOperationLogs请求参数结构体
1755
- */
1756
- export interface DescribeDiskOperationLogsRequest {
1757
- /**
1758
- * 过滤条件。支持以下条件:
1759
- <li>disk-id - Array of String - 是否必填:是 - 按云盘ID过滤,每个请求最多可指定10个云盘ID。
1760
- */
1761
- Filters: Array<Filter>;
1762
- /**
1763
- * 要查询的操作日志的截止时间,例如:“2019-11-22 23:59:59"
1764
- */
1765
- EndTime?: string;
1766
- /**
1767
- * 要查询的操作日志的起始时间,例如:“2019-11-22 00:00:00"
1768
- */
1769
- BeginTime?: string;
1770
- }
1771
1628
  /**
1772
1629
  * 云硬盘备份点。
1773
1630
  */