@alicloud/ecs20140526 7.9.0 → 7.9.2
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.
- package/dist/client.d.ts +302 -298
- package/dist/client.js +305 -298
- package/dist/client.js.map +1 -1
- package/dist/models/AttachDiskRequest.d.ts +25 -27
- package/dist/models/AttachDiskRequest.js.map +1 -1
- package/dist/models/CancelAutoSnapshotPolicyRequest.d.ts +6 -9
- package/dist/models/CancelAutoSnapshotPolicyRequest.js.map +1 -1
- package/dist/models/CancelImagePipelineExecutionRequest.d.ts +1 -1
- package/dist/models/CloneDisksRequest.d.ts +55 -80
- package/dist/models/CloneDisksRequest.js.map +1 -1
- package/dist/models/CloneDisksResponseBody.d.ts +2 -2
- package/dist/models/CopySnapshotRequest.d.ts +17 -18
- package/dist/models/CopySnapshotRequest.js.map +1 -1
- package/dist/models/CreateAutoProvisioningGroupRequest.d.ts +286 -380
- package/dist/models/CreateAutoProvisioningGroupRequest.js.map +1 -1
- package/dist/models/CreateAutoProvisioningGroupShrinkRequest.d.ts +282 -375
- package/dist/models/CreateAutoProvisioningGroupShrinkRequest.js.map +1 -1
- package/dist/models/CreateAutoSnapshotPolicyRequest.d.ts +29 -35
- package/dist/models/CreateAutoSnapshotPolicyRequest.js.map +1 -1
- package/dist/models/CreateAutoSnapshotPolicyResponseBody.d.ts +1 -1
- package/dist/models/CreateDiskRequest.d.ts +30 -30
- package/dist/models/CreateDiskResponseBody.d.ts +2 -2
- package/dist/models/CreateImageRequest.d.ts +43 -88
- package/dist/models/CreateImageRequest.js.map +1 -1
- package/dist/models/CreateImageResponseBody.d.ts +2 -2
- package/dist/models/CreateLaunchTemplateRequest.d.ts +235 -278
- package/dist/models/CreateLaunchTemplateRequest.js.map +1 -1
- package/dist/models/CreateLaunchTemplateResponseBody.d.ts +3 -3
- package/dist/models/CreateSnapshotGroupRequest.d.ts +23 -25
- package/dist/models/CreateSnapshotGroupRequest.js.map +1 -1
- package/dist/models/CreateSnapshotRequest.d.ts +24 -29
- package/dist/models/CreateSnapshotRequest.js.map +1 -1
- package/dist/models/CreateVswitchRequest.d.ts +0 -29
- package/dist/models/CreateVswitchRequest.js.map +1 -1
- package/dist/models/CreateVswitchResponseBody.d.ts +0 -8
- package/dist/models/CreateVswitchResponseBody.js.map +1 -1
- package/dist/models/DeleteSnapshotGroupRequest.d.ts +2 -2
- package/dist/models/DeleteSnapshotGroupResponseBody.d.ts +1 -1
- package/dist/models/DeleteSnapshotRequest.d.ts +2 -2
- package/dist/models/DescribeDiskDefaultKmskeyIdRequest.d.ts +1 -1
- package/dist/models/DescribeDiskDefaultKmskeyIdResponseBody.d.ts +1 -1
- package/dist/models/DescribeDiskEncryptionByDefaultStatusRequest.d.ts +1 -1
- package/dist/models/DescribeDiskEncryptionByDefaultStatusResponseBody.d.ts +5 -3
- package/dist/models/DescribeDiskEncryptionByDefaultStatusResponseBody.js.map +1 -1
- package/dist/models/DescribeImagesRequest.d.ts +61 -88
- package/dist/models/DescribeImagesRequest.js +2 -0
- package/dist/models/DescribeImagesRequest.js.map +1 -1
- package/dist/models/DescribeImagesResponseBody.d.ts +6 -5
- package/dist/models/DescribeImagesResponseBody.js +2 -0
- package/dist/models/DescribeImagesResponseBody.js.map +1 -1
- package/dist/models/DescribeRecommendInstanceTypeRequest.d.ts +4 -4
- package/dist/models/DescribeSendFileResultsRequest.d.ts +13 -13
- package/dist/models/DescribeSnapshotGroupsRequest.d.ts +11 -11
- package/dist/models/DescribeSnapshotGroupsResponseBody.d.ts +3 -3
- package/dist/models/DisableDiskEncryptionByDefaultRequest.d.ts +1 -1
- package/dist/models/RenewElasticityAssurancesRequest.d.ts +3 -3
- package/package.json +1 -1
- package/src/client.ts +306 -298
- package/src/models/AttachDiskRequest.ts +25 -27
- package/src/models/CancelAutoSnapshotPolicyRequest.ts +6 -9
- package/src/models/CancelImagePipelineExecutionRequest.ts +1 -1
- package/src/models/CloneDisksRequest.ts +55 -80
- package/src/models/CloneDisksResponseBody.ts +2 -2
- package/src/models/CopySnapshotRequest.ts +17 -18
- package/src/models/CreateAutoProvisioningGroupRequest.ts +287 -381
- package/src/models/CreateAutoProvisioningGroupShrinkRequest.ts +283 -376
- package/src/models/CreateAutoSnapshotPolicyRequest.ts +29 -35
- package/src/models/CreateAutoSnapshotPolicyResponseBody.ts +1 -1
- package/src/models/CreateDiskRequest.ts +30 -30
- package/src/models/CreateDiskResponseBody.ts +2 -2
- package/src/models/CreateImageRequest.ts +43 -88
- package/src/models/CreateImageResponseBody.ts +2 -2
- package/src/models/CreateLaunchTemplateRequest.ts +235 -278
- package/src/models/CreateLaunchTemplateResponseBody.ts +3 -3
- package/src/models/CreateSnapshotGroupRequest.ts +23 -25
- package/src/models/CreateSnapshotRequest.ts +24 -29
- package/src/models/CreateVswitchRequest.ts +0 -29
- package/src/models/CreateVswitchResponseBody.ts +0 -8
- package/src/models/DeleteSnapshotGroupRequest.ts +2 -2
- package/src/models/DeleteSnapshotGroupResponseBody.ts +1 -1
- package/src/models/DeleteSnapshotRequest.ts +2 -2
- package/src/models/DescribeDiskDefaultKmskeyIdRequest.ts +1 -1
- package/src/models/DescribeDiskDefaultKmskeyIdResponseBody.ts +1 -1
- package/src/models/DescribeDiskEncryptionByDefaultStatusRequest.ts +1 -1
- package/src/models/DescribeDiskEncryptionByDefaultStatusResponseBody.ts +5 -3
- package/src/models/DescribeImagesRequest.ts +64 -89
- package/src/models/DescribeImagesResponseBody.ts +8 -5
- package/src/models/DescribeRecommendInstanceTypeRequest.ts +4 -4
- package/src/models/DescribeSendFileResultsRequest.ts +13 -13
- package/src/models/DescribeSnapshotGroupsRequest.ts +11 -11
- package/src/models/DescribeSnapshotGroupsResponseBody.ts +3 -3
- package/src/models/DisableDiskEncryptionByDefaultRequest.ts +1 -1
- package/src/models/RenewElasticityAssurancesRequest.ts +3 -3
|
@@ -2,15 +2,15 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class AttachDiskRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* Specifies whether to attach the disk as
|
|
5
|
+
* Specifies whether to attach the disk as a system disk. Valid values:
|
|
6
6
|
*
|
|
7
|
-
* - true:
|
|
7
|
+
* - true: The disk is attached as a system disk.
|
|
8
8
|
*
|
|
9
|
-
* - false:
|
|
9
|
+
* - false: The disk is not attached as a system disk.
|
|
10
10
|
*
|
|
11
11
|
* Default value: false.
|
|
12
12
|
*
|
|
13
|
-
* >
|
|
13
|
+
* > If you set `Bootable=true`, the destination ECS instance must have no system disk attached.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* false
|
|
@@ -20,19 +20,18 @@ export declare class AttachDiskRequest extends $dara.Model {
|
|
|
20
20
|
* @remarks
|
|
21
21
|
* Specifies whether to release the disk when the instance is released. Valid values:
|
|
22
22
|
*
|
|
23
|
-
* - true:
|
|
24
|
-
*
|
|
25
|
-
* - false: does not release the disk when the instance is released. The disk is retained as a pay-as-you-go data disk.
|
|
23
|
+
* - true: The disk is released together with the instance.
|
|
24
|
+
* - false: The disk is not released together with the instance. The disk is retained as a pay-as-you-go data disk.
|
|
26
25
|
*
|
|
27
26
|
* Default value: false.
|
|
28
27
|
*
|
|
29
|
-
* When you
|
|
28
|
+
* When you set this parameter, take note of the following items:
|
|
30
29
|
*
|
|
31
|
-
* - If
|
|
30
|
+
* - If you set `DeleteWithInstance` to `false` and the ECS instance is locked for security reasons, meaning that `OperationLocks` contains `"LockReason" : "security"`, this parameter is ignored when the instance is released, and the disk is released together with the instance.
|
|
32
31
|
*
|
|
33
|
-
* - If
|
|
32
|
+
* - If the disk to be attached is an `elastic ephemeral disk`, you must set `DeleteWithInstance` to `true`.
|
|
34
33
|
*
|
|
35
|
-
* -
|
|
34
|
+
* - Disks with the multi-attach feature enabled do not support this parameter.
|
|
36
35
|
*
|
|
37
36
|
* @example
|
|
38
37
|
* false
|
|
@@ -42,7 +41,7 @@ export declare class AttachDiskRequest extends $dara.Model {
|
|
|
42
41
|
* @remarks
|
|
43
42
|
* The device name of the disk.
|
|
44
43
|
*
|
|
45
|
-
* > This parameter will be
|
|
44
|
+
* > This parameter will be deprecated soon. To improve compatibility, use other parameters to identify the disk.
|
|
46
45
|
*
|
|
47
46
|
* @example
|
|
48
47
|
* testDeviceName
|
|
@@ -50,9 +49,9 @@ export declare class AttachDiskRequest extends $dara.Model {
|
|
|
50
49
|
device?: string;
|
|
51
50
|
/**
|
|
52
51
|
* @remarks
|
|
53
|
-
* The ID of the disk. The disk
|
|
52
|
+
* The ID of the disk to be attached. The disk (`DiskId`) and the instance (`InstanceId`) must be in the same zone.
|
|
54
53
|
*
|
|
55
|
-
* >
|
|
54
|
+
* > Both data disks and system disks can be attached. For related constraints, see the operation description section above.
|
|
56
55
|
*
|
|
57
56
|
* This parameter is required.
|
|
58
57
|
*
|
|
@@ -62,15 +61,15 @@ export declare class AttachDiskRequest extends $dara.Model {
|
|
|
62
61
|
diskId?: string;
|
|
63
62
|
/**
|
|
64
63
|
* @remarks
|
|
65
|
-
* Specifies whether to
|
|
66
|
-
*
|
|
67
|
-
* - true: force attaches the disk to the instance.
|
|
64
|
+
* Specifies whether to forcefully attach the disk. Valid values:
|
|
68
65
|
*
|
|
69
|
-
* -
|
|
66
|
+
* - true: Forcefully attaches the disk.
|
|
67
|
+
* - false: Does not forcefully attach the disk.
|
|
70
68
|
*
|
|
71
69
|
* Default value: false.
|
|
72
70
|
*
|
|
73
|
-
*
|
|
71
|
+
*
|
|
72
|
+
* > Currently, only regional ESSDs (cloud_regional_disk_auto) support setting this parameter to true.
|
|
74
73
|
*
|
|
75
74
|
* @example
|
|
76
75
|
* false
|
|
@@ -78,7 +77,7 @@ export declare class AttachDiskRequest extends $dara.Model {
|
|
|
78
77
|
force?: boolean;
|
|
79
78
|
/**
|
|
80
79
|
* @remarks
|
|
81
|
-
* The ID of the instance to which you want to attach the disk.
|
|
80
|
+
* The ID of the ECS instance to which you want to attach the disk.
|
|
82
81
|
*
|
|
83
82
|
* This parameter is required.
|
|
84
83
|
*
|
|
@@ -88,11 +87,11 @@ export declare class AttachDiskRequest extends $dara.Model {
|
|
|
88
87
|
instanceId?: string;
|
|
89
88
|
/**
|
|
90
89
|
* @remarks
|
|
91
|
-
* The name of the SSH key pair that
|
|
90
|
+
* The name of the SSH key pair that is bound to the Linux ECS instance when you attach a system disk.
|
|
92
91
|
*
|
|
93
|
-
* - Windows instances
|
|
92
|
+
* - Windows Server instances: SSH key pairs are not supported. Even if this parameter is specified, only the `Password` configuration takes effect.
|
|
94
93
|
*
|
|
95
|
-
* -
|
|
94
|
+
* - Linux instances: The password-based logon method is disabled by default.
|
|
96
95
|
*
|
|
97
96
|
* @example
|
|
98
97
|
* KeyPairTestName
|
|
@@ -102,15 +101,14 @@ export declare class AttachDiskRequest extends $dara.Model {
|
|
|
102
101
|
ownerId?: number;
|
|
103
102
|
/**
|
|
104
103
|
* @remarks
|
|
105
|
-
* The password that is set when you attach
|
|
104
|
+
* The password that is set for the instance when you attach a system disk. The password is effective only for the administrator and root usernames and is not effective for other usernames. The password must be 8 to 30 characters in length and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. The following special characters are supported:
|
|
106
105
|
*
|
|
107
106
|
* ```
|
|
108
107
|
* ()`~!@#$%^&*-_+=|{}[]:;\\"<>,.?/
|
|
109
108
|
* ```
|
|
109
|
+
* For Windows instances, the password cannot start with a forward slash (/).
|
|
110
110
|
*
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
-
* > If `Password` is configured, we recommend that you send requests over HTTPS to prevent password leaks.
|
|
111
|
+
* > If you specify the `Password` parameter, send the request over HTTPS to prevent password leaks.
|
|
114
112
|
*
|
|
115
113
|
* @example
|
|
116
114
|
* EcsV587!
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttachDiskRequest.js","sourceRoot":"","sources":["../../src/models/AttachDiskRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,iBAAkB,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"AttachDiskRequest.js","sourceRoot":"","sources":["../../src/models/AttachDiskRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,iBAAkB,SAAQ,KAAK,CAAC,KAAK;IAqHhD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,UAAU;YACpB,kBAAkB,EAAE,oBAAoB;YACxC,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,KAAK,EAAE,OAAO;YACd,UAAU,EAAE,YAAY;YACxB,WAAW,EAAE,aAAa;YAC1B,YAAY,EAAE,cAAc;YAC5B,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;YACpB,oBAAoB,EAAE,sBAAsB;YAC5C,eAAe,EAAE,iBAAiB;SACnC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,SAAS;YACnB,kBAAkB,EAAE,SAAS;YAC7B,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,KAAK,EAAE,SAAS;YAChB,UAAU,EAAE,QAAQ;YACpB,WAAW,EAAE,QAAQ;YACrB,YAAY,EAAE,QAAQ;YACtB,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,QAAQ;YAClB,oBAAoB,EAAE,QAAQ;YAC9B,eAAe,EAAE,QAAQ;SAC1B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA9JD,8CA8JC"}
|
|
@@ -5,13 +5,10 @@ export declare class CancelAutoSnapshotPolicyRequest extends $dara.Model {
|
|
|
5
5
|
resourceOwnerId?: number;
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The ID of the
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
* - If only one auto snapshot policy is applied to a disk, that policy is canceled.
|
|
13
|
-
*
|
|
14
|
-
* - If a disk has more than one auto snapshot policy, the request fails and returns the `OperationDenied.TooManyAutoSnapshotPolicies` error code. In this case, you must specify `autoSnapshotPolicyId` to identify the policy to cancel.
|
|
8
|
+
* The ID of the automatic snapshot policy that you want to cancel.
|
|
9
|
+
* - Default value: empty. If you use the default value, note the following items:
|
|
10
|
+
* - If only one automatic snapshot policy is applied to the cloud disk, the automatic snapshot policy is canceled.
|
|
11
|
+
* - If more than one automatic snapshot policy is applied to the cloud disk, the `OperationDenied.TooManyAutoSnapshotPolicies` error code is returned and the request fails. Specify the `autoSnapshotPolicyId` parameter to specify the ID of the automatic snapshot policy that you want to cancel.
|
|
15
12
|
*
|
|
16
13
|
* @example
|
|
17
14
|
* sp-bp14yziiuvu3s6jn****
|
|
@@ -19,7 +16,7 @@ export declare class CancelAutoSnapshotPolicyRequest extends $dara.Model {
|
|
|
19
16
|
autoSnapshotPolicyId?: string;
|
|
20
17
|
/**
|
|
21
18
|
* @remarks
|
|
22
|
-
* The IDs of the
|
|
19
|
+
* The IDs of the cloud disks. To cancel the automatic snapshot policy for multiple cloud disks, specify the cloud disk IDs in a JSON array in the format of "d-xxxxxxxxx", "d-yyyyyyyyy", … "d-zzzzzzzzz". Separate multiple cloud disk IDs with commas (,).
|
|
23
20
|
*
|
|
24
21
|
* This parameter is required.
|
|
25
22
|
*
|
|
@@ -29,7 +26,7 @@ export declare class CancelAutoSnapshotPolicyRequest extends $dara.Model {
|
|
|
29
26
|
diskIds?: string;
|
|
30
27
|
/**
|
|
31
28
|
* @remarks
|
|
32
|
-
* The region ID of the
|
|
29
|
+
* The region ID of the automatic snapshot policy and cloud disks. You can call [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) to query the most recent region list.
|
|
33
30
|
*
|
|
34
31
|
* This parameter is required.
|
|
35
32
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CancelAutoSnapshotPolicyRequest.js","sourceRoot":"","sources":["../../src/models/CancelAutoSnapshotPolicyRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"CancelAutoSnapshotPolicyRequest.js","sourceRoot":"","sources":["../../src/models/CancelAutoSnapshotPolicyRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IAmC9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,oBAAoB,EAAE,sBAAsB;YAC5C,eAAe,EAAE,iBAAiB;YAClC,oBAAoB,EAAE,sBAAsB;YAC5C,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;YACjB,oBAAoB,EAAE,QAAQ;YAC9B,eAAe,EAAE,QAAQ;YACzB,oBAAoB,EAAE,QAAQ;YAC9B,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAhED,0EAgEC"}
|
|
@@ -30,7 +30,7 @@ export declare class CancelImagePipelineExecutionRequestTemplateTag extends $dar
|
|
|
30
30
|
export declare class CancelImagePipelineExecutionRequest extends $dara.Model {
|
|
31
31
|
/**
|
|
32
32
|
* @remarks
|
|
33
|
-
* The ID of the
|
|
33
|
+
* The ID of the image building task.
|
|
34
34
|
*
|
|
35
35
|
* This parameter is required.
|
|
36
36
|
*
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class CloneDisksRequestArn extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* > This parameter is not
|
|
5
|
+
* > This parameter is not publicly available.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* null
|
|
@@ -10,7 +10,7 @@ export declare class CloneDisksRequestArn extends $dara.Model {
|
|
|
10
10
|
assumeRoleFor?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* > This parameter is not
|
|
13
|
+
* > This parameter is not publicly available.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* null
|
|
@@ -18,7 +18,7 @@ export declare class CloneDisksRequestArn extends $dara.Model {
|
|
|
18
18
|
roleType?: string;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* > This parameter is not
|
|
21
|
+
* > This parameter is not publicly available.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* null
|
|
@@ -38,7 +38,7 @@ export declare class CloneDisksRequestArn extends $dara.Model {
|
|
|
38
38
|
export declare class CloneDisksRequestTag extends $dara.Model {
|
|
39
39
|
/**
|
|
40
40
|
* @remarks
|
|
41
|
-
* The key of
|
|
41
|
+
* The tag key of the disk. Valid values of N: 1 to 20. The tag key cannot be an empty string. The tag key can be up to 128 characters in length and cannot start with aliyun or acs:. The tag key cannot contain http:// or https://.
|
|
42
42
|
*
|
|
43
43
|
* @example
|
|
44
44
|
* TestKey
|
|
@@ -46,7 +46,7 @@ export declare class CloneDisksRequestTag extends $dara.Model {
|
|
|
46
46
|
key?: string;
|
|
47
47
|
/**
|
|
48
48
|
* @remarks
|
|
49
|
-
* The value of
|
|
49
|
+
* The tag value of the disk. Valid values of N: 1 to 20. The tag value can be an empty string. The tag value can be up to 128 characters in length and cannot contain http:// or https://.
|
|
50
50
|
*
|
|
51
51
|
* @example
|
|
52
52
|
* TestValue
|
|
@@ -66,18 +66,15 @@ export declare class CloneDisksRequestTag extends $dara.Model {
|
|
|
66
66
|
export declare class CloneDisksRequest extends $dara.Model {
|
|
67
67
|
/**
|
|
68
68
|
* @remarks
|
|
69
|
-
* > This parameter is not
|
|
69
|
+
* > This parameter is not publicly available.
|
|
70
70
|
*/
|
|
71
71
|
arn?: CloneDisksRequestArn[];
|
|
72
72
|
/**
|
|
73
73
|
* @remarks
|
|
74
|
-
* Specifies whether to enable performance
|
|
75
|
-
*
|
|
76
|
-
* -
|
|
77
|
-
*
|
|
78
|
-
* - `false`: Disables performance bursting.
|
|
79
|
-
*
|
|
80
|
-
* > This parameter is valid only when `DiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disks](https://help.aliyun.com/zh/ecs/user-guide/essd-autopl-disks).
|
|
74
|
+
* Specifies whether to enable the performance burst feature for the new disk. Valid values:
|
|
75
|
+
* - true: enables the performance burst feature.
|
|
76
|
+
* - false: does not enable the performance burst feature.
|
|
77
|
+
* > This parameter is supported only when DiskCategory is set to cloud_auto. For more information, see [ESSD AutoPL disks](https://www.alibabacloud.com/help/en/ecs/user-guide/essd-autopl-disks).
|
|
81
78
|
*
|
|
82
79
|
* @example
|
|
83
80
|
* true
|
|
@@ -85,7 +82,7 @@ export declare class CloneDisksRequest extends $dara.Model {
|
|
|
85
82
|
burstingEnabled?: boolean;
|
|
86
83
|
/**
|
|
87
84
|
* @remarks
|
|
88
|
-
*
|
|
85
|
+
* The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but make sure that the token is unique among different requests. The ClientToken value can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](https://help.aliyun.com/document_detail/25693.html).
|
|
89
86
|
*
|
|
90
87
|
* @example
|
|
91
88
|
* 123e4567-e89b-12d3-a456-426655440000
|
|
@@ -93,21 +90,16 @@ export declare class CloneDisksRequest extends $dara.Model {
|
|
|
93
90
|
clientToken?: string;
|
|
94
91
|
/**
|
|
95
92
|
* @remarks
|
|
96
|
-
* The
|
|
97
|
-
*
|
|
98
|
-
* - `cloud_essd`: ESSD cloud disk.
|
|
99
|
-
*
|
|
100
|
-
* - `cloud_auto`: ESSD AutoPL cloud disk.
|
|
101
|
-
*
|
|
102
|
-
* - `cloud_essd_entry`: ESSD Entry cloud disk.
|
|
93
|
+
* The category of the new disk. Valid values:
|
|
103
94
|
*
|
|
104
|
-
* -
|
|
95
|
+
* - cloud_essd: enterprise SSD.
|
|
96
|
+
* - cloud_auto: ESSD AutoPL disk.
|
|
97
|
+
* - cloud_essd_entry: ESSD Entry disk.
|
|
98
|
+
* - cloud_regional_disk_auto: regional ESSD.
|
|
105
99
|
*
|
|
106
|
-
* > Disk
|
|
107
|
-
* >
|
|
108
|
-
* > -
|
|
109
|
-
* >
|
|
110
|
-
* > - A regional disk can be cloned only as a regional disk.
|
|
100
|
+
* > Disk category restrictions for disk cloning:
|
|
101
|
+
* > - Non-regional disks can be cloned only to non-regional types.
|
|
102
|
+
* > - Regional disks can be cloned only to regional types.
|
|
111
103
|
*
|
|
112
104
|
* This parameter is required.
|
|
113
105
|
*
|
|
@@ -117,9 +109,9 @@ export declare class CloneDisksRequest extends $dara.Model {
|
|
|
117
109
|
diskCategory?: string;
|
|
118
110
|
/**
|
|
119
111
|
* @remarks
|
|
120
|
-
* The name of the
|
|
112
|
+
* The name of the disk. The name must be 2 to 128 characters in length and can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-). The name must start with a letter.
|
|
121
113
|
*
|
|
122
|
-
* Default value:
|
|
114
|
+
* Default value: empty.
|
|
123
115
|
*
|
|
124
116
|
* @example
|
|
125
117
|
* MyDiskName
|
|
@@ -127,11 +119,9 @@ export declare class CloneDisksRequest extends $dara.Model {
|
|
|
127
119
|
diskName?: string;
|
|
128
120
|
/**
|
|
129
121
|
* @remarks
|
|
130
|
-
* Specifies whether to perform a dry run. Valid values:
|
|
131
|
-
*
|
|
132
|
-
* -
|
|
133
|
-
*
|
|
134
|
-
* - `false` (default): Sends a normal request. If the request passes the check, the system returns a 2xx HTTP status code and clones the disk.
|
|
122
|
+
* Specifies whether to perform only a dry run, without performing the actual request. Valid values:
|
|
123
|
+
* - true: sends a check request without querying the filing status. The check items include whether the AccessKey pair is valid, whether the Resource Access Management (RAM) user is granted the required authorization, and whether the required parameters are specified. If the check fails, the corresponding error message is returned. If the check succeeds, the DryRunOperation error code is returned.
|
|
124
|
+
* - false (default): sends a Normal request. After the check succeeds, a 2XX HTTP status code is returned and the filing status is directly queried.
|
|
135
125
|
*
|
|
136
126
|
* @example
|
|
137
127
|
* true
|
|
@@ -139,11 +129,9 @@ export declare class CloneDisksRequest extends $dara.Model {
|
|
|
139
129
|
dryRun?: string;
|
|
140
130
|
/**
|
|
141
131
|
* @remarks
|
|
142
|
-
* Specifies whether
|
|
143
|
-
*
|
|
144
|
-
* -
|
|
145
|
-
*
|
|
146
|
-
* - `false`: The disk is not encrypted.
|
|
132
|
+
* Specifies whether the new disk is encrypted. Valid values:
|
|
133
|
+
* - true: The new disk is encrypted.
|
|
134
|
+
* - false: The new disk is not encrypted.
|
|
147
135
|
*
|
|
148
136
|
* Default value: false.
|
|
149
137
|
*
|
|
@@ -153,7 +141,7 @@ export declare class CloneDisksRequest extends $dara.Model {
|
|
|
153
141
|
encrypted?: boolean;
|
|
154
142
|
/**
|
|
155
143
|
* @remarks
|
|
156
|
-
* The ID of the KMS key
|
|
144
|
+
* The key ID of the KMS key used by the new disk.
|
|
157
145
|
*
|
|
158
146
|
* @example
|
|
159
147
|
* key-szz67b2f696f4wh9yeg5d
|
|
@@ -161,11 +149,10 @@ export declare class CloneDisksRequest extends $dara.Model {
|
|
|
161
149
|
kmsKeyId?: string;
|
|
162
150
|
/**
|
|
163
151
|
* @remarks
|
|
164
|
-
* Specifies whether to enable the multi-attach
|
|
165
|
-
*
|
|
166
|
-
* - `Disabled`: Disables the multi-attach feature.
|
|
152
|
+
* Specifies whether to enable the multi-attach attribute for the new disk. Valid values:
|
|
167
153
|
*
|
|
168
|
-
* -
|
|
154
|
+
* - Disabled: disables the multi-attach attribute.
|
|
155
|
+
* - Enabled: enables the multi-attach attribute. Currently, only enterprise SSDs support Settings to `Enabled`.
|
|
169
156
|
*
|
|
170
157
|
* This parameter is required.
|
|
171
158
|
*
|
|
@@ -176,19 +163,16 @@ export declare class CloneDisksRequest extends $dara.Model {
|
|
|
176
163
|
ownerId?: number;
|
|
177
164
|
/**
|
|
178
165
|
* @remarks
|
|
179
|
-
* The performance level of the
|
|
180
|
-
*
|
|
181
|
-
* - `PL0`: A single disk can deliver up to 10,000 random read/write IOPS.
|
|
166
|
+
* The performance level of the standard SSD. Settings for this parameter depend on the disk category. Valid values:
|
|
182
167
|
*
|
|
183
|
-
* -
|
|
168
|
+
* - PL0: a single disk can deliver up to 10,000 random read/write IOPS.
|
|
169
|
+
* - PL1: a single disk can deliver up to 50,000 random read/write IOPS.
|
|
170
|
+
* - PL2: a single disk can deliver up to 100,000 random read/write IOPS.
|
|
171
|
+
* - PL3: a single disk can deliver up to 1,000,000 random read/write IOPS.
|
|
184
172
|
*
|
|
185
|
-
*
|
|
173
|
+
* > If DiskCategory is set to cloud_essd, PerformanceLevel is required.
|
|
186
174
|
*
|
|
187
|
-
*
|
|
188
|
-
*
|
|
189
|
-
* > This parameter is required when `DiskCategory` is set to `cloud_essd`.
|
|
190
|
-
*
|
|
191
|
-
* For more information about how to select an ESSD performance level, see [ESSD cloud disks](https://help.aliyun.com/document_detail/122389.html).
|
|
175
|
+
* For more information about how to select an ESSD performance level, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
192
176
|
*
|
|
193
177
|
* @example
|
|
194
178
|
* PL1
|
|
@@ -196,15 +180,13 @@ export declare class CloneDisksRequest extends $dara.Model {
|
|
|
196
180
|
performanceLevel?: string;
|
|
197
181
|
/**
|
|
198
182
|
* @remarks
|
|
199
|
-
* The provisioned read/write IOPS of the ESSD AutoPL
|
|
200
|
-
*
|
|
201
|
-
* -
|
|
183
|
+
* The provisioned read/write IOPS of the ESSD AutoPL disk. Valid values:
|
|
184
|
+
* - Capacity (GiB) <= 3: provisioned performance is not supported.
|
|
185
|
+
* - Capacity (GiB) >= 4: [0, min{(1,000 IOPS/GiB × Capacity - Baseline IOPS), 50,000}]
|
|
202
186
|
*
|
|
203
|
-
*
|
|
187
|
+
* Baseline performance = max{min{1,800 + 50 × Capacity, 50,000}, 3,000}.
|
|
204
188
|
*
|
|
205
|
-
*
|
|
206
|
-
*
|
|
207
|
-
* > This parameter is valid only when `DiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disks](https://help.aliyun.com/zh/ecs/user-guide/essd-autopl-disks).
|
|
189
|
+
* > This parameter is supported only when DiskCategory is set to cloud_auto. For more information, see [ESSD AutoPL disks](https://www.alibabacloud.com/help/en/ecs/user-guide/essd-autopl-disks).
|
|
208
190
|
*
|
|
209
191
|
* @example
|
|
210
192
|
* 10
|
|
@@ -212,7 +194,7 @@ export declare class CloneDisksRequest extends $dara.Model {
|
|
|
212
194
|
provisionedIops?: number;
|
|
213
195
|
/**
|
|
214
196
|
* @remarks
|
|
215
|
-
* The ID
|
|
197
|
+
* The region ID. You can call [DescribeRegions](https://www.alibabacloud.com/help/en/ecs/api-regions-describeregions) to query the most recent region list.
|
|
216
198
|
*
|
|
217
199
|
* This parameter is required.
|
|
218
200
|
*
|
|
@@ -222,7 +204,7 @@ export declare class CloneDisksRequest extends $dara.Model {
|
|
|
222
204
|
regionId?: string;
|
|
223
205
|
/**
|
|
224
206
|
* @remarks
|
|
225
|
-
* The ID of the resource group
|
|
207
|
+
* The ID of the resource group to which the disk belongs.
|
|
226
208
|
*
|
|
227
209
|
* @example
|
|
228
210
|
* rg-bp199lyny9b3****
|
|
@@ -231,23 +213,16 @@ export declare class CloneDisksRequest extends $dara.Model {
|
|
|
231
213
|
resourceOwnerId?: number;
|
|
232
214
|
/**
|
|
233
215
|
* @remarks
|
|
234
|
-
* The
|
|
235
|
-
*
|
|
236
|
-
* - `cloud_essd`: The value range depends on the `PerformanceLevel` value.
|
|
237
|
-
*
|
|
238
|
-
* - `PL0`: 1 to 65,536
|
|
239
|
-
*
|
|
240
|
-
* - `PL1`: 20 to 65,536
|
|
241
|
-
*
|
|
242
|
-
* - `PL2`: 461 to 65,536
|
|
243
|
-
*
|
|
244
|
-
* - `PL3`: 1,261 to 65,536
|
|
245
|
-
*
|
|
246
|
-
* - `cloud_auto`: 1 to 65,536
|
|
247
|
-
*
|
|
248
|
-
* - `cloud_essd_entry`: 10 to 32,768
|
|
216
|
+
* The capacity of the new disk. Unit: GiB. You must specify a value for this parameter. Valid values:
|
|
249
217
|
*
|
|
250
|
-
* -
|
|
218
|
+
* - cloud_essd: The valid values depend on the performance level.
|
|
219
|
+
* - PL0: 1 to 65,536.
|
|
220
|
+
* - PL1: 20 to 65,536.
|
|
221
|
+
* - PL2: 461 to 65,536.
|
|
222
|
+
* - PL3: 1,261 to 65,536.
|
|
223
|
+
* - cloud_auto: 1 to 65,536.
|
|
224
|
+
* - cloud_essd_entry: 10 to 32,768.
|
|
225
|
+
* - cloud_regional_disk_auto: 10 to 65,536.
|
|
251
226
|
*
|
|
252
227
|
* This parameter is required.
|
|
253
228
|
*
|
|
@@ -267,7 +242,7 @@ export declare class CloneDisksRequest extends $dara.Model {
|
|
|
267
242
|
sourceDiskId?: string;
|
|
268
243
|
/**
|
|
269
244
|
* @remarks
|
|
270
|
-
* The
|
|
245
|
+
* The list of tags for the disk.
|
|
271
246
|
*/
|
|
272
247
|
tag?: CloneDisksRequestTag[];
|
|
273
248
|
static names(): {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CloneDisksRequest.js","sourceRoot":"","sources":["../../src/models/CloneDisksRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oBAAqB,SAAQ,KAAK,CAAC,KAAK;IAyBnD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,eAAe;YAC9B,QAAQ,EAAE,UAAU;YACpB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,QAAQ;YACvB,QAAQ,EAAE,QAAQ;YAClB,OAAO,EAAE,QAAQ;SAClB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAhDD,oDAgDC;AAED,MAAa,oBAAqB,SAAQ,KAAK,CAAC,KAAK;IAiBnD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,GAAG,EAAE,KAAK;YACV,KAAK,EAAE,OAAO;SACf,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,GAAG,EAAE,QAAQ;YACb,KAAK,EAAE,QAAQ;SAChB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtCD,oDAsCC;AAED,MAAa,iBAAkB,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"CloneDisksRequest.js","sourceRoot":"","sources":["../../src/models/CloneDisksRequest.ts"],"names":[],"mappings":"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"}
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class CloneDisksResponseBody extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The ID
|
|
5
|
+
* The request ID.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3****
|
|
@@ -10,7 +10,7 @@ export declare class CloneDisksResponseBody extends $dara.Model {
|
|
|
10
10
|
requestId?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The ID of the disk
|
|
13
|
+
* The task group ID of the disk cloning operation. You can call [DescribeTasks](https://www.alibabacloud.com/help/en/ecs/developer-reference/api-ecs-2014-05-26-describetasks) to query the task execution result.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* g-2ze2op2grqpclwu7****
|
|
@@ -38,7 +38,7 @@ export declare class CopySnapshotRequestArn extends $dara.Model {
|
|
|
38
38
|
export declare class CopySnapshotRequestTag extends $dara.Model {
|
|
39
39
|
/**
|
|
40
40
|
* @remarks
|
|
41
|
-
* The key of
|
|
41
|
+
* The tag key of the new snapshot. Once specified, the tag key cannot be an empty string. The tag key can be up to 128 characters in length and cannot start with aliyun or acs:. It cannot contain http:// or https://.
|
|
42
42
|
*
|
|
43
43
|
* @example
|
|
44
44
|
* TestKey
|
|
@@ -46,7 +46,7 @@ export declare class CopySnapshotRequestTag extends $dara.Model {
|
|
|
46
46
|
key?: string;
|
|
47
47
|
/**
|
|
48
48
|
* @remarks
|
|
49
|
-
* The value of
|
|
49
|
+
* The tag value of the new snapshot. Once specified, the tag value can be an empty string. The tag value can be up to 128 characters in length and cannot start with aliyun or acs:. It cannot contain http:// or https://.
|
|
50
50
|
*
|
|
51
51
|
* @example
|
|
52
52
|
* TestValue
|
|
@@ -66,12 +66,12 @@ export declare class CopySnapshotRequestTag extends $dara.Model {
|
|
|
66
66
|
export declare class CopySnapshotRequest extends $dara.Model {
|
|
67
67
|
/**
|
|
68
68
|
* @remarks
|
|
69
|
-
* > This parameter is
|
|
69
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
70
70
|
*/
|
|
71
71
|
arn?: CopySnapshotRequestArn[];
|
|
72
72
|
/**
|
|
73
73
|
* @remarks
|
|
74
|
-
*
|
|
74
|
+
* Ensures the idempotence of the request. The value is generated from your client and must be unique among different requests. The value of ClientToken can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](https://help.aliyun.com/document_detail/25693.html).
|
|
75
75
|
*
|
|
76
76
|
* @example
|
|
77
77
|
* 123e4567-e89b-12d3-a456-426655440000
|
|
@@ -79,7 +79,7 @@ export declare class CopySnapshotRequest extends $dara.Model {
|
|
|
79
79
|
clientToken?: string;
|
|
80
80
|
/**
|
|
81
81
|
* @remarks
|
|
82
|
-
* The ID of the destination region to which to copy the
|
|
82
|
+
* The ID of the destination region to which to copy the snapshot.
|
|
83
83
|
*
|
|
84
84
|
* This parameter is required.
|
|
85
85
|
*
|
|
@@ -89,9 +89,9 @@ export declare class CopySnapshotRequest extends $dara.Model {
|
|
|
89
89
|
destinationRegionId?: string;
|
|
90
90
|
/**
|
|
91
91
|
* @remarks
|
|
92
|
-
* The description of the new snapshot. The description must be 2 to 256 characters in length and cannot start with http
|
|
92
|
+
* The description of the new snapshot. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
|
|
93
93
|
*
|
|
94
|
-
*
|
|
94
|
+
* Default value: null.
|
|
95
95
|
*
|
|
96
96
|
* This parameter is required.
|
|
97
97
|
*
|
|
@@ -101,9 +101,9 @@ export declare class CopySnapshotRequest extends $dara.Model {
|
|
|
101
101
|
destinationSnapshotDescription?: string;
|
|
102
102
|
/**
|
|
103
103
|
* @remarks
|
|
104
|
-
* The name of the new snapshot. The name must be 2 to 128 characters in length
|
|
104
|
+
* The name of the new snapshot. The name must be 2 to 128 characters in length and must start with a letter or a Chinese character. It cannot start with http:// or https://. The name can contain letters, digits, and Unicode characters that are categorized under the letter classification. It can also contain colons (:), underscores (_), periods (.), or hyphens (-).
|
|
105
105
|
*
|
|
106
|
-
*
|
|
106
|
+
* Default value: null.
|
|
107
107
|
*
|
|
108
108
|
* This parameter is required.
|
|
109
109
|
*
|
|
@@ -121,11 +121,10 @@ export declare class CopySnapshotRequest extends $dara.Model {
|
|
|
121
121
|
destinationStorageLocationArn?: string;
|
|
122
122
|
/**
|
|
123
123
|
* @remarks
|
|
124
|
-
* Specifies whether to encrypt the
|
|
124
|
+
* Specifies whether to encrypt the cloud disk. Valid values:
|
|
125
125
|
*
|
|
126
|
-
* - true
|
|
127
|
-
*
|
|
128
|
-
* - false
|
|
126
|
+
* - true: encrypts the cloud disk.
|
|
127
|
+
* - false: does not encrypt the cloud disk.
|
|
129
128
|
*
|
|
130
129
|
* Default value: false.
|
|
131
130
|
*
|
|
@@ -135,7 +134,7 @@ export declare class CopySnapshotRequest extends $dara.Model {
|
|
|
135
134
|
encrypted?: boolean;
|
|
136
135
|
/**
|
|
137
136
|
* @remarks
|
|
138
|
-
* The
|
|
137
|
+
* The customer master key (CMK) in the destination region.
|
|
139
138
|
*
|
|
140
139
|
* @example
|
|
141
140
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -144,7 +143,7 @@ export declare class CopySnapshotRequest extends $dara.Model {
|
|
|
144
143
|
ownerId?: number;
|
|
145
144
|
/**
|
|
146
145
|
* @remarks
|
|
147
|
-
* The region ID of the source snapshot. You can call
|
|
146
|
+
* The region ID of the source snapshot. You can call [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) to query the most recent region list.
|
|
148
147
|
*
|
|
149
148
|
* This parameter is required.
|
|
150
149
|
*
|
|
@@ -164,9 +163,9 @@ export declare class CopySnapshotRequest extends $dara.Model {
|
|
|
164
163
|
resourceOwnerId?: number;
|
|
165
164
|
/**
|
|
166
165
|
* @remarks
|
|
167
|
-
* The retention period of the new snapshot
|
|
166
|
+
* The retention period of the new snapshot, in days. The snapshot undergoes automatic release when the retention period expires. Valid values: 1 to 65536.
|
|
168
167
|
*
|
|
169
|
-
*
|
|
168
|
+
* Default value: null, which indicates that the snapshot does not undergo automatic release.
|
|
170
169
|
*
|
|
171
170
|
* @example
|
|
172
171
|
* 60
|
|
@@ -184,7 +183,7 @@ export declare class CopySnapshotRequest extends $dara.Model {
|
|
|
184
183
|
snapshotId?: string;
|
|
185
184
|
/**
|
|
186
185
|
* @remarks
|
|
187
|
-
* The tag
|
|
186
|
+
* The tag information of the new snapshot.
|
|
188
187
|
*/
|
|
189
188
|
tag?: CopySnapshotRequestTag[];
|
|
190
189
|
static names(): {
|