@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
|
@@ -5,15 +5,15 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class AttachDiskRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* Specifies whether to attach the disk as
|
|
8
|
+
* Specifies whether to attach the disk as a system disk. Valid values:
|
|
9
9
|
*
|
|
10
|
-
* - true:
|
|
10
|
+
* - true: The disk is attached as a system disk.
|
|
11
11
|
*
|
|
12
|
-
* - false:
|
|
12
|
+
* - false: The disk is not attached as a system disk.
|
|
13
13
|
*
|
|
14
14
|
* Default value: false.
|
|
15
15
|
*
|
|
16
|
-
* >
|
|
16
|
+
* > If you set `Bootable=true`, the destination ECS instance must have no system disk attached.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* false
|
|
@@ -23,19 +23,18 @@ export class AttachDiskRequest extends $dara.Model {
|
|
|
23
23
|
* @remarks
|
|
24
24
|
* Specifies whether to release the disk when the instance is released. Valid values:
|
|
25
25
|
*
|
|
26
|
-
* - true:
|
|
27
|
-
*
|
|
28
|
-
* - false: does not release the disk when the instance is released. The disk is retained as a pay-as-you-go data disk.
|
|
26
|
+
* - true: The disk is released together with the instance.
|
|
27
|
+
* - false: The disk is not released together with the instance. The disk is retained as a pay-as-you-go data disk.
|
|
29
28
|
*
|
|
30
29
|
* Default value: false.
|
|
31
30
|
*
|
|
32
|
-
* When you
|
|
31
|
+
* When you set this parameter, take note of the following items:
|
|
33
32
|
*
|
|
34
|
-
* - If
|
|
33
|
+
* - 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.
|
|
35
34
|
*
|
|
36
|
-
* - If
|
|
35
|
+
* - If the disk to be attached is an `elastic ephemeral disk`, you must set `DeleteWithInstance` to `true`.
|
|
37
36
|
*
|
|
38
|
-
* -
|
|
37
|
+
* - Disks with the multi-attach feature enabled do not support this parameter.
|
|
39
38
|
*
|
|
40
39
|
* @example
|
|
41
40
|
* false
|
|
@@ -45,7 +44,7 @@ export class AttachDiskRequest extends $dara.Model {
|
|
|
45
44
|
* @remarks
|
|
46
45
|
* The device name of the disk.
|
|
47
46
|
*
|
|
48
|
-
* > This parameter will be
|
|
47
|
+
* > This parameter will be deprecated soon. To improve compatibility, use other parameters to identify the disk.
|
|
49
48
|
*
|
|
50
49
|
* @example
|
|
51
50
|
* testDeviceName
|
|
@@ -53,9 +52,9 @@ export class AttachDiskRequest extends $dara.Model {
|
|
|
53
52
|
device?: string;
|
|
54
53
|
/**
|
|
55
54
|
* @remarks
|
|
56
|
-
* The ID of the disk. The disk
|
|
55
|
+
* The ID of the disk to be attached. The disk (`DiskId`) and the instance (`InstanceId`) must be in the same zone.
|
|
57
56
|
*
|
|
58
|
-
* >
|
|
57
|
+
* > Both data disks and system disks can be attached. For related constraints, see the operation description section above.
|
|
59
58
|
*
|
|
60
59
|
* This parameter is required.
|
|
61
60
|
*
|
|
@@ -65,15 +64,15 @@ export class AttachDiskRequest extends $dara.Model {
|
|
|
65
64
|
diskId?: string;
|
|
66
65
|
/**
|
|
67
66
|
* @remarks
|
|
68
|
-
* Specifies whether to
|
|
69
|
-
*
|
|
70
|
-
* - true: force attaches the disk to the instance.
|
|
67
|
+
* Specifies whether to forcefully attach the disk. Valid values:
|
|
71
68
|
*
|
|
72
|
-
* -
|
|
69
|
+
* - true: Forcefully attaches the disk.
|
|
70
|
+
* - false: Does not forcefully attach the disk.
|
|
73
71
|
*
|
|
74
72
|
* Default value: false.
|
|
75
73
|
*
|
|
76
|
-
*
|
|
74
|
+
*
|
|
75
|
+
* > Currently, only regional ESSDs (cloud_regional_disk_auto) support setting this parameter to true.
|
|
77
76
|
*
|
|
78
77
|
* @example
|
|
79
78
|
* false
|
|
@@ -81,7 +80,7 @@ export class AttachDiskRequest extends $dara.Model {
|
|
|
81
80
|
force?: boolean;
|
|
82
81
|
/**
|
|
83
82
|
* @remarks
|
|
84
|
-
* The ID of the instance to which you want to attach the disk.
|
|
83
|
+
* The ID of the ECS instance to which you want to attach the disk.
|
|
85
84
|
*
|
|
86
85
|
* This parameter is required.
|
|
87
86
|
*
|
|
@@ -91,11 +90,11 @@ export class AttachDiskRequest extends $dara.Model {
|
|
|
91
90
|
instanceId?: string;
|
|
92
91
|
/**
|
|
93
92
|
* @remarks
|
|
94
|
-
* The name of the SSH key pair that
|
|
93
|
+
* The name of the SSH key pair that is bound to the Linux ECS instance when you attach a system disk.
|
|
95
94
|
*
|
|
96
|
-
* - Windows instances
|
|
95
|
+
* - Windows Server instances: SSH key pairs are not supported. Even if this parameter is specified, only the `Password` configuration takes effect.
|
|
97
96
|
*
|
|
98
|
-
* -
|
|
97
|
+
* - Linux instances: The password-based logon method is disabled by default.
|
|
99
98
|
*
|
|
100
99
|
* @example
|
|
101
100
|
* KeyPairTestName
|
|
@@ -105,15 +104,14 @@ export class AttachDiskRequest extends $dara.Model {
|
|
|
105
104
|
ownerId?: number;
|
|
106
105
|
/**
|
|
107
106
|
* @remarks
|
|
108
|
-
* The password that is set when you attach
|
|
107
|
+
* 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:
|
|
109
108
|
*
|
|
110
109
|
* ```
|
|
111
110
|
* ()`~!@#$%^&*-_+=|{}[]:;\\"<>,.?/
|
|
112
111
|
* ```
|
|
112
|
+
* For Windows instances, the password cannot start with a forward slash (/).
|
|
113
113
|
*
|
|
114
|
-
*
|
|
115
|
-
*
|
|
116
|
-
* > If `Password` is configured, we recommend that you send requests over HTTPS to prevent password leaks.
|
|
114
|
+
* > If you specify the `Password` parameter, send the request over HTTPS to prevent password leaks.
|
|
117
115
|
*
|
|
118
116
|
* @example
|
|
119
117
|
* EcsV587!
|
|
@@ -8,13 +8,10 @@ export class CancelAutoSnapshotPolicyRequest extends $dara.Model {
|
|
|
8
8
|
resourceOwnerId?: number;
|
|
9
9
|
/**
|
|
10
10
|
* @remarks
|
|
11
|
-
* The ID of the
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* - If only one auto snapshot policy is applied to a disk, that policy is canceled.
|
|
16
|
-
*
|
|
17
|
-
* - 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.
|
|
11
|
+
* The ID of the automatic snapshot policy that you want to cancel.
|
|
12
|
+
* - Default value: empty. If you use the default value, note the following items:
|
|
13
|
+
* - If only one automatic snapshot policy is applied to the cloud disk, the automatic snapshot policy is canceled.
|
|
14
|
+
* - 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.
|
|
18
15
|
*
|
|
19
16
|
* @example
|
|
20
17
|
* sp-bp14yziiuvu3s6jn****
|
|
@@ -22,7 +19,7 @@ export class CancelAutoSnapshotPolicyRequest extends $dara.Model {
|
|
|
22
19
|
autoSnapshotPolicyId?: string;
|
|
23
20
|
/**
|
|
24
21
|
* @remarks
|
|
25
|
-
* The IDs of the
|
|
22
|
+
* 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 (,).
|
|
26
23
|
*
|
|
27
24
|
* This parameter is required.
|
|
28
25
|
*
|
|
@@ -32,7 +29,7 @@ export class CancelAutoSnapshotPolicyRequest extends $dara.Model {
|
|
|
32
29
|
diskIds?: string;
|
|
33
30
|
/**
|
|
34
31
|
* @remarks
|
|
35
|
-
* The region ID of the
|
|
32
|
+
* 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.
|
|
36
33
|
*
|
|
37
34
|
* This parameter is required.
|
|
38
35
|
*
|
|
@@ -45,7 +45,7 @@ export class CancelImagePipelineExecutionRequestTemplateTag extends $dara.Model
|
|
|
45
45
|
export class CancelImagePipelineExecutionRequest extends $dara.Model {
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The ID of the
|
|
48
|
+
* The ID of the image building task.
|
|
49
49
|
*
|
|
50
50
|
* This parameter is required.
|
|
51
51
|
*
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CloneDisksRequestArn extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* > This parameter is not
|
|
8
|
+
* > This parameter is not publicly available.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* null
|
|
@@ -13,7 +13,7 @@ export class CloneDisksRequestArn extends $dara.Model {
|
|
|
13
13
|
assumeRoleFor?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* > This parameter is not
|
|
16
|
+
* > This parameter is not publicly available.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* null
|
|
@@ -21,7 +21,7 @@ export class CloneDisksRequestArn extends $dara.Model {
|
|
|
21
21
|
roleType?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* > This parameter is not
|
|
24
|
+
* > This parameter is not publicly available.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* null
|
|
@@ -55,7 +55,7 @@ export class CloneDisksRequestArn extends $dara.Model {
|
|
|
55
55
|
export class CloneDisksRequestTag extends $dara.Model {
|
|
56
56
|
/**
|
|
57
57
|
* @remarks
|
|
58
|
-
* The key of
|
|
58
|
+
* 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://.
|
|
59
59
|
*
|
|
60
60
|
* @example
|
|
61
61
|
* TestKey
|
|
@@ -63,7 +63,7 @@ export class CloneDisksRequestTag extends $dara.Model {
|
|
|
63
63
|
key?: string;
|
|
64
64
|
/**
|
|
65
65
|
* @remarks
|
|
66
|
-
* The value of
|
|
66
|
+
* 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://.
|
|
67
67
|
*
|
|
68
68
|
* @example
|
|
69
69
|
* TestValue
|
|
@@ -95,18 +95,15 @@ export class CloneDisksRequestTag extends $dara.Model {
|
|
|
95
95
|
export class CloneDisksRequest extends $dara.Model {
|
|
96
96
|
/**
|
|
97
97
|
* @remarks
|
|
98
|
-
* > This parameter is not
|
|
98
|
+
* > This parameter is not publicly available.
|
|
99
99
|
*/
|
|
100
100
|
arn?: CloneDisksRequestArn[];
|
|
101
101
|
/**
|
|
102
102
|
* @remarks
|
|
103
|
-
* Specifies whether to enable performance
|
|
104
|
-
*
|
|
105
|
-
* -
|
|
106
|
-
*
|
|
107
|
-
* - `false`: Disables performance bursting.
|
|
108
|
-
*
|
|
109
|
-
* > 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).
|
|
103
|
+
* Specifies whether to enable the performance burst feature for the new disk. Valid values:
|
|
104
|
+
* - true: enables the performance burst feature.
|
|
105
|
+
* - false: does not enable the performance burst feature.
|
|
106
|
+
* > 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).
|
|
110
107
|
*
|
|
111
108
|
* @example
|
|
112
109
|
* true
|
|
@@ -114,7 +111,7 @@ export class CloneDisksRequest extends $dara.Model {
|
|
|
114
111
|
burstingEnabled?: boolean;
|
|
115
112
|
/**
|
|
116
113
|
* @remarks
|
|
117
|
-
*
|
|
114
|
+
* 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).
|
|
118
115
|
*
|
|
119
116
|
* @example
|
|
120
117
|
* 123e4567-e89b-12d3-a456-426655440000
|
|
@@ -122,21 +119,16 @@ export class CloneDisksRequest extends $dara.Model {
|
|
|
122
119
|
clientToken?: string;
|
|
123
120
|
/**
|
|
124
121
|
* @remarks
|
|
125
|
-
* The
|
|
126
|
-
*
|
|
127
|
-
* - `cloud_essd`: ESSD cloud disk.
|
|
128
|
-
*
|
|
129
|
-
* - `cloud_auto`: ESSD AutoPL cloud disk.
|
|
130
|
-
*
|
|
131
|
-
* - `cloud_essd_entry`: ESSD Entry cloud disk.
|
|
122
|
+
* The category of the new disk. Valid values:
|
|
132
123
|
*
|
|
133
|
-
* -
|
|
124
|
+
* - cloud_essd: enterprise SSD.
|
|
125
|
+
* - cloud_auto: ESSD AutoPL disk.
|
|
126
|
+
* - cloud_essd_entry: ESSD Entry disk.
|
|
127
|
+
* - cloud_regional_disk_auto: regional ESSD.
|
|
134
128
|
*
|
|
135
|
-
* > Disk
|
|
136
|
-
* >
|
|
137
|
-
* > -
|
|
138
|
-
* >
|
|
139
|
-
* > - A regional disk can be cloned only as a regional disk.
|
|
129
|
+
* > Disk category restrictions for disk cloning:
|
|
130
|
+
* > - Non-regional disks can be cloned only to non-regional types.
|
|
131
|
+
* > - Regional disks can be cloned only to regional types.
|
|
140
132
|
*
|
|
141
133
|
* This parameter is required.
|
|
142
134
|
*
|
|
@@ -146,9 +138,9 @@ export class CloneDisksRequest extends $dara.Model {
|
|
|
146
138
|
diskCategory?: string;
|
|
147
139
|
/**
|
|
148
140
|
* @remarks
|
|
149
|
-
* The name of the
|
|
141
|
+
* 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.
|
|
150
142
|
*
|
|
151
|
-
* Default value:
|
|
143
|
+
* Default value: empty.
|
|
152
144
|
*
|
|
153
145
|
* @example
|
|
154
146
|
* MyDiskName
|
|
@@ -156,11 +148,9 @@ export class CloneDisksRequest extends $dara.Model {
|
|
|
156
148
|
diskName?: string;
|
|
157
149
|
/**
|
|
158
150
|
* @remarks
|
|
159
|
-
* Specifies whether to perform a dry run. Valid values:
|
|
160
|
-
*
|
|
161
|
-
* -
|
|
162
|
-
*
|
|
163
|
-
* - `false` (default): Sends a normal request. If the request passes the check, the system returns a 2xx HTTP status code and clones the disk.
|
|
151
|
+
* Specifies whether to perform only a dry run, without performing the actual request. Valid values:
|
|
152
|
+
* - 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.
|
|
153
|
+
* - false (default): sends a Normal request. After the check succeeds, a 2XX HTTP status code is returned and the filing status is directly queried.
|
|
164
154
|
*
|
|
165
155
|
* @example
|
|
166
156
|
* true
|
|
@@ -168,11 +158,9 @@ export class CloneDisksRequest extends $dara.Model {
|
|
|
168
158
|
dryRun?: string;
|
|
169
159
|
/**
|
|
170
160
|
* @remarks
|
|
171
|
-
* Specifies whether
|
|
172
|
-
*
|
|
173
|
-
* -
|
|
174
|
-
*
|
|
175
|
-
* - `false`: The disk is not encrypted.
|
|
161
|
+
* Specifies whether the new disk is encrypted. Valid values:
|
|
162
|
+
* - true: The new disk is encrypted.
|
|
163
|
+
* - false: The new disk is not encrypted.
|
|
176
164
|
*
|
|
177
165
|
* Default value: false.
|
|
178
166
|
*
|
|
@@ -182,7 +170,7 @@ export class CloneDisksRequest extends $dara.Model {
|
|
|
182
170
|
encrypted?: boolean;
|
|
183
171
|
/**
|
|
184
172
|
* @remarks
|
|
185
|
-
* The ID of the KMS key
|
|
173
|
+
* The key ID of the KMS key used by the new disk.
|
|
186
174
|
*
|
|
187
175
|
* @example
|
|
188
176
|
* key-szz67b2f696f4wh9yeg5d
|
|
@@ -190,11 +178,10 @@ export class CloneDisksRequest extends $dara.Model {
|
|
|
190
178
|
kmsKeyId?: string;
|
|
191
179
|
/**
|
|
192
180
|
* @remarks
|
|
193
|
-
* Specifies whether to enable the multi-attach
|
|
194
|
-
*
|
|
195
|
-
* - `Disabled`: Disables the multi-attach feature.
|
|
181
|
+
* Specifies whether to enable the multi-attach attribute for the new disk. Valid values:
|
|
196
182
|
*
|
|
197
|
-
* -
|
|
183
|
+
* - Disabled: disables the multi-attach attribute.
|
|
184
|
+
* - Enabled: enables the multi-attach attribute. Currently, only enterprise SSDs support Settings to `Enabled`.
|
|
198
185
|
*
|
|
199
186
|
* This parameter is required.
|
|
200
187
|
*
|
|
@@ -205,19 +192,16 @@ export class CloneDisksRequest extends $dara.Model {
|
|
|
205
192
|
ownerId?: number;
|
|
206
193
|
/**
|
|
207
194
|
* @remarks
|
|
208
|
-
* The performance level of the
|
|
209
|
-
*
|
|
210
|
-
* - `PL0`: A single disk can deliver up to 10,000 random read/write IOPS.
|
|
195
|
+
* The performance level of the standard SSD. Settings for this parameter depend on the disk category. Valid values:
|
|
211
196
|
*
|
|
212
|
-
* -
|
|
197
|
+
* - PL0: a single disk can deliver up to 10,000 random read/write IOPS.
|
|
198
|
+
* - PL1: a single disk can deliver up to 50,000 random read/write IOPS.
|
|
199
|
+
* - PL2: a single disk can deliver up to 100,000 random read/write IOPS.
|
|
200
|
+
* - PL3: a single disk can deliver up to 1,000,000 random read/write IOPS.
|
|
213
201
|
*
|
|
214
|
-
*
|
|
202
|
+
* > If DiskCategory is set to cloud_essd, PerformanceLevel is required.
|
|
215
203
|
*
|
|
216
|
-
*
|
|
217
|
-
*
|
|
218
|
-
* > This parameter is required when `DiskCategory` is set to `cloud_essd`.
|
|
219
|
-
*
|
|
220
|
-
* For more information about how to select an ESSD performance level, see [ESSD cloud disks](https://help.aliyun.com/document_detail/122389.html).
|
|
204
|
+
* For more information about how to select an ESSD performance level, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
221
205
|
*
|
|
222
206
|
* @example
|
|
223
207
|
* PL1
|
|
@@ -225,15 +209,13 @@ export class CloneDisksRequest extends $dara.Model {
|
|
|
225
209
|
performanceLevel?: string;
|
|
226
210
|
/**
|
|
227
211
|
* @remarks
|
|
228
|
-
* The provisioned read/write IOPS of the ESSD AutoPL
|
|
229
|
-
*
|
|
230
|
-
* -
|
|
212
|
+
* The provisioned read/write IOPS of the ESSD AutoPL disk. Valid values:
|
|
213
|
+
* - Capacity (GiB) <= 3: provisioned performance is not supported.
|
|
214
|
+
* - Capacity (GiB) >= 4: [0, min{(1,000 IOPS/GiB × Capacity - Baseline IOPS), 50,000}]
|
|
231
215
|
*
|
|
232
|
-
*
|
|
216
|
+
* Baseline performance = max{min{1,800 + 50 × Capacity, 50,000}, 3,000}.
|
|
233
217
|
*
|
|
234
|
-
*
|
|
235
|
-
*
|
|
236
|
-
* > 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).
|
|
218
|
+
* > 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).
|
|
237
219
|
*
|
|
238
220
|
* @example
|
|
239
221
|
* 10
|
|
@@ -241,7 +223,7 @@ export class CloneDisksRequest extends $dara.Model {
|
|
|
241
223
|
provisionedIops?: number;
|
|
242
224
|
/**
|
|
243
225
|
* @remarks
|
|
244
|
-
* The ID
|
|
226
|
+
* The region ID. You can call [DescribeRegions](https://www.alibabacloud.com/help/en/ecs/api-regions-describeregions) to query the most recent region list.
|
|
245
227
|
*
|
|
246
228
|
* This parameter is required.
|
|
247
229
|
*
|
|
@@ -251,7 +233,7 @@ export class CloneDisksRequest extends $dara.Model {
|
|
|
251
233
|
regionId?: string;
|
|
252
234
|
/**
|
|
253
235
|
* @remarks
|
|
254
|
-
* The ID of the resource group
|
|
236
|
+
* The ID of the resource group to which the disk belongs.
|
|
255
237
|
*
|
|
256
238
|
* @example
|
|
257
239
|
* rg-bp199lyny9b3****
|
|
@@ -260,23 +242,16 @@ export class CloneDisksRequest extends $dara.Model {
|
|
|
260
242
|
resourceOwnerId?: number;
|
|
261
243
|
/**
|
|
262
244
|
* @remarks
|
|
263
|
-
* The
|
|
264
|
-
*
|
|
265
|
-
* - `cloud_essd`: The value range depends on the `PerformanceLevel` value.
|
|
266
|
-
*
|
|
267
|
-
* - `PL0`: 1 to 65,536
|
|
268
|
-
*
|
|
269
|
-
* - `PL1`: 20 to 65,536
|
|
270
|
-
*
|
|
271
|
-
* - `PL2`: 461 to 65,536
|
|
272
|
-
*
|
|
273
|
-
* - `PL3`: 1,261 to 65,536
|
|
274
|
-
*
|
|
275
|
-
* - `cloud_auto`: 1 to 65,536
|
|
276
|
-
*
|
|
277
|
-
* - `cloud_essd_entry`: 10 to 32,768
|
|
245
|
+
* The capacity of the new disk. Unit: GiB. You must specify a value for this parameter. Valid values:
|
|
278
246
|
*
|
|
279
|
-
* -
|
|
247
|
+
* - cloud_essd: The valid values depend on the performance level.
|
|
248
|
+
* - PL0: 1 to 65,536.
|
|
249
|
+
* - PL1: 20 to 65,536.
|
|
250
|
+
* - PL2: 461 to 65,536.
|
|
251
|
+
* - PL3: 1,261 to 65,536.
|
|
252
|
+
* - cloud_auto: 1 to 65,536.
|
|
253
|
+
* - cloud_essd_entry: 10 to 32,768.
|
|
254
|
+
* - cloud_regional_disk_auto: 10 to 65,536.
|
|
280
255
|
*
|
|
281
256
|
* This parameter is required.
|
|
282
257
|
*
|
|
@@ -296,7 +271,7 @@ export class CloneDisksRequest extends $dara.Model {
|
|
|
296
271
|
sourceDiskId?: string;
|
|
297
272
|
/**
|
|
298
273
|
* @remarks
|
|
299
|
-
* The
|
|
274
|
+
* The list of tags for the disk.
|
|
300
275
|
*/
|
|
301
276
|
tag?: CloneDisksRequestTag[];
|
|
302
277
|
static names(): { [key: string]: string } {
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CloneDisksResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The ID
|
|
8
|
+
* The request ID.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3****
|
|
@@ -13,7 +13,7 @@ export class CloneDisksResponseBody extends $dara.Model {
|
|
|
13
13
|
requestId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The ID of the disk
|
|
16
|
+
* 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.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* g-2ze2op2grqpclwu7****
|
|
@@ -55,7 +55,7 @@ export class CopySnapshotRequestArn extends $dara.Model {
|
|
|
55
55
|
export class CopySnapshotRequestTag extends $dara.Model {
|
|
56
56
|
/**
|
|
57
57
|
* @remarks
|
|
58
|
-
* The key of
|
|
58
|
+
* 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://.
|
|
59
59
|
*
|
|
60
60
|
* @example
|
|
61
61
|
* TestKey
|
|
@@ -63,7 +63,7 @@ export class CopySnapshotRequestTag extends $dara.Model {
|
|
|
63
63
|
key?: string;
|
|
64
64
|
/**
|
|
65
65
|
* @remarks
|
|
66
|
-
* The value of
|
|
66
|
+
* 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://.
|
|
67
67
|
*
|
|
68
68
|
* @example
|
|
69
69
|
* TestValue
|
|
@@ -95,12 +95,12 @@ export class CopySnapshotRequestTag extends $dara.Model {
|
|
|
95
95
|
export class CopySnapshotRequest extends $dara.Model {
|
|
96
96
|
/**
|
|
97
97
|
* @remarks
|
|
98
|
-
* > This parameter is
|
|
98
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
99
99
|
*/
|
|
100
100
|
arn?: CopySnapshotRequestArn[];
|
|
101
101
|
/**
|
|
102
102
|
* @remarks
|
|
103
|
-
*
|
|
103
|
+
* 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).
|
|
104
104
|
*
|
|
105
105
|
* @example
|
|
106
106
|
* 123e4567-e89b-12d3-a456-426655440000
|
|
@@ -108,7 +108,7 @@ export class CopySnapshotRequest extends $dara.Model {
|
|
|
108
108
|
clientToken?: string;
|
|
109
109
|
/**
|
|
110
110
|
* @remarks
|
|
111
|
-
* The ID of the destination region to which to copy the
|
|
111
|
+
* The ID of the destination region to which to copy the snapshot.
|
|
112
112
|
*
|
|
113
113
|
* This parameter is required.
|
|
114
114
|
*
|
|
@@ -118,9 +118,9 @@ export class CopySnapshotRequest extends $dara.Model {
|
|
|
118
118
|
destinationRegionId?: string;
|
|
119
119
|
/**
|
|
120
120
|
* @remarks
|
|
121
|
-
* The description of the new snapshot. The description must be 2 to 256 characters in length and cannot start with http
|
|
121
|
+
* The description of the new snapshot. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
|
|
122
122
|
*
|
|
123
|
-
*
|
|
123
|
+
* Default value: null.
|
|
124
124
|
*
|
|
125
125
|
* This parameter is required.
|
|
126
126
|
*
|
|
@@ -130,9 +130,9 @@ export class CopySnapshotRequest extends $dara.Model {
|
|
|
130
130
|
destinationSnapshotDescription?: string;
|
|
131
131
|
/**
|
|
132
132
|
* @remarks
|
|
133
|
-
* The name of the new snapshot. The name must be 2 to 128 characters in length
|
|
133
|
+
* 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 (-).
|
|
134
134
|
*
|
|
135
|
-
*
|
|
135
|
+
* Default value: null.
|
|
136
136
|
*
|
|
137
137
|
* This parameter is required.
|
|
138
138
|
*
|
|
@@ -150,11 +150,10 @@ export class CopySnapshotRequest extends $dara.Model {
|
|
|
150
150
|
destinationStorageLocationArn?: string;
|
|
151
151
|
/**
|
|
152
152
|
* @remarks
|
|
153
|
-
* Specifies whether to encrypt the
|
|
153
|
+
* Specifies whether to encrypt the cloud disk. Valid values:
|
|
154
154
|
*
|
|
155
|
-
* - true
|
|
156
|
-
*
|
|
157
|
-
* - false
|
|
155
|
+
* - true: encrypts the cloud disk.
|
|
156
|
+
* - false: does not encrypt the cloud disk.
|
|
158
157
|
*
|
|
159
158
|
* Default value: false.
|
|
160
159
|
*
|
|
@@ -164,7 +163,7 @@ export class CopySnapshotRequest extends $dara.Model {
|
|
|
164
163
|
encrypted?: boolean;
|
|
165
164
|
/**
|
|
166
165
|
* @remarks
|
|
167
|
-
* The
|
|
166
|
+
* The customer master key (CMK) in the destination region.
|
|
168
167
|
*
|
|
169
168
|
* @example
|
|
170
169
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -173,7 +172,7 @@ export class CopySnapshotRequest extends $dara.Model {
|
|
|
173
172
|
ownerId?: number;
|
|
174
173
|
/**
|
|
175
174
|
* @remarks
|
|
176
|
-
* The region ID of the source snapshot. You can call
|
|
175
|
+
* 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.
|
|
177
176
|
*
|
|
178
177
|
* This parameter is required.
|
|
179
178
|
*
|
|
@@ -193,9 +192,9 @@ export class CopySnapshotRequest extends $dara.Model {
|
|
|
193
192
|
resourceOwnerId?: number;
|
|
194
193
|
/**
|
|
195
194
|
* @remarks
|
|
196
|
-
* The retention period of the new snapshot
|
|
195
|
+
* The retention period of the new snapshot, in days. The snapshot undergoes automatic release when the retention period expires. Valid values: 1 to 65536.
|
|
197
196
|
*
|
|
198
|
-
*
|
|
197
|
+
* Default value: null, which indicates that the snapshot does not undergo automatic release.
|
|
199
198
|
*
|
|
200
199
|
* @example
|
|
201
200
|
* 60
|
|
@@ -213,7 +212,7 @@ export class CopySnapshotRequest extends $dara.Model {
|
|
|
213
212
|
snapshotId?: string;
|
|
214
213
|
/**
|
|
215
214
|
* @remarks
|
|
216
|
-
* The tag
|
|
215
|
+
* The tag information of the new snapshot.
|
|
217
216
|
*/
|
|
218
217
|
tag?: CopySnapshotRequestTag[];
|
|
219
218
|
static names(): { [key: string]: string } {
|