@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,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateLaunchTemplateResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The launch template ID.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* lt-m5eiaupmvm2op9d****
|
|
@@ -13,7 +13,7 @@ export class CreateLaunchTemplateResponseBody extends $dara.Model {
|
|
|
13
13
|
launchTemplateId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The version number
|
|
16
|
+
* The launch template version number.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 20
|
|
@@ -21,7 +21,7 @@ export class CreateLaunchTemplateResponseBody extends $dara.Model {
|
|
|
21
21
|
launchTemplateVersionNumber?: number;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The ID
|
|
24
|
+
* The request ID.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3****
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateSnapshotGroupRequestTag extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The tag key of the snapshot-consistent group. 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://`.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* TestKey
|
|
@@ -13,7 +13,7 @@ export class CreateSnapshotGroupRequestTag extends $dara.Model {
|
|
|
13
13
|
key?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The
|
|
16
|
+
* The tag value of the snapshot-consistent group. 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 start with `acs:`. The tag value cannot contain `http://` or `https://`.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* TestValue
|
|
@@ -45,7 +45,7 @@ export class CreateSnapshotGroupRequestTag extends $dara.Model {
|
|
|
45
45
|
export class CreateSnapshotGroupRequest extends $dara.Model {
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but
|
|
48
|
+
* 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).
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* 123e4567-e89b-12d3-a456-426655440000
|
|
@@ -53,7 +53,7 @@ export class CreateSnapshotGroupRequest extends $dara.Model {
|
|
|
53
53
|
clientToken?: string;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
* The description
|
|
56
|
+
* The description. The description must be 2 to 256 characters in length and cannot start with `http://` or `https://`.
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
59
|
* This is description.
|
|
@@ -61,22 +61,21 @@ export class CreateSnapshotGroupRequest extends $dara.Model {
|
|
|
61
61
|
description?: string;
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
* The
|
|
64
|
+
* The ID of a disk for which you want to create a snapshot-consistent group. You can specify disk IDs across instances within the same zone. Valid values of N: 1 to 16. A snapshot-consistent group can contain up to 16 disks with a total capacity of up to 32 TiB.
|
|
65
65
|
*
|
|
66
|
-
* Take note of the following:
|
|
66
|
+
* Take note of the following items:
|
|
67
67
|
*
|
|
68
|
-
* -
|
|
69
|
-
*
|
|
70
|
-
* - If you specify `InstanceId`, you can specify the IDs of cloud disks that are attached only to the specified instance. You cannot specify the IDs of cloud disks that are attached to multiple instances.
|
|
68
|
+
* - This parameter cannot be specified together with `ExcludeDiskId.N`.
|
|
69
|
+
* - If you specify `InstanceId`, this parameter can only be set to disks attached to the specified instance and no longer supports specifying disk IDs across multiple instances.
|
|
71
70
|
*/
|
|
72
71
|
diskId?: string[];
|
|
73
72
|
/**
|
|
74
73
|
* @remarks
|
|
75
|
-
* The
|
|
74
|
+
* The ID of a disk in the instance for which you do not want to create a snapshot. After you specify this parameter, the snapshot-consistent group does not contain the snapshot of the specified disk. Valid values of N: 1 to 16.
|
|
76
75
|
*
|
|
77
|
-
*
|
|
76
|
+
* Default value: null, which indicates that snapshots are created for all disks in the instance.
|
|
78
77
|
*
|
|
79
|
-
* > This parameter cannot be
|
|
78
|
+
* > This parameter cannot be specified together with `DiskId.N`.
|
|
80
79
|
*
|
|
81
80
|
* @example
|
|
82
81
|
* d-j6cf7l0ewidb78lq****
|
|
@@ -92,15 +91,14 @@ export class CreateSnapshotGroupRequest extends $dara.Model {
|
|
|
92
91
|
instanceId?: string;
|
|
93
92
|
/**
|
|
94
93
|
* @remarks
|
|
95
|
-
* Specifies whether to enable
|
|
96
|
-
*
|
|
97
|
-
* - true
|
|
94
|
+
* Specifies whether to enable snapshot instant access. Valid values:
|
|
98
95
|
*
|
|
99
|
-
* -
|
|
96
|
+
* - true: enables snapshot instant access.
|
|
97
|
+
* - false: disables snapshot instant access.
|
|
100
98
|
*
|
|
101
99
|
* Default value: false.
|
|
102
100
|
*
|
|
103
|
-
* >
|
|
101
|
+
* >This parameter is deprecated. Standard snapshots of enterprise SSDs are upgraded to [instant access by default](https://help.aliyun.com/document_detail/193667.html). No additional configuration or fees are required.
|
|
104
102
|
*
|
|
105
103
|
* @example
|
|
106
104
|
* false
|
|
@@ -108,13 +106,13 @@ export class CreateSnapshotGroupRequest extends $dara.Model {
|
|
|
108
106
|
instantAccess?: boolean;
|
|
109
107
|
/**
|
|
110
108
|
* @remarks
|
|
111
|
-
* The number of days for which the instant access feature
|
|
109
|
+
* The number of days for which the snapshot instant access feature remains active. Unit: days. Valid values: 1 to 65535.
|
|
112
110
|
*
|
|
113
|
-
* This parameter takes effect only when `InstantAccess
|
|
111
|
+
* This parameter takes effect only when `InstantAccess=true`. The snapshot instant access feature is automatically shutdown when the specified duration expires.
|
|
114
112
|
*
|
|
115
|
-
*
|
|
113
|
+
* Default value: null, which indicates that the instant access duration is the same as the snapshot release period.
|
|
116
114
|
*
|
|
117
|
-
* >
|
|
115
|
+
* >This parameter is deprecated. Standard snapshots of enterprise SSDs are upgraded to [instant access by default](https://help.aliyun.com/document_detail/193667.html). No additional configuration or fees are required.
|
|
118
116
|
*
|
|
119
117
|
* @example
|
|
120
118
|
* 1
|
|
@@ -122,7 +120,7 @@ export class CreateSnapshotGroupRequest extends $dara.Model {
|
|
|
122
120
|
instantAccessRetentionDays?: number;
|
|
123
121
|
/**
|
|
124
122
|
* @remarks
|
|
125
|
-
* The name of the snapshot-consistent group. The name must be 2 to 128 characters in length. The name can contain
|
|
123
|
+
* The name of the snapshot-consistent group. The name must be 2 to 128 characters in length. It must start with a letter and cannot start with `http://` or `https://`. The name can contain digits, periods (.), underscores (_), hyphens (-), and colons (:).
|
|
126
124
|
*
|
|
127
125
|
* @example
|
|
128
126
|
* testName
|
|
@@ -132,7 +130,7 @@ export class CreateSnapshotGroupRequest extends $dara.Model {
|
|
|
132
130
|
ownerId?: number;
|
|
133
131
|
/**
|
|
134
132
|
* @remarks
|
|
135
|
-
* The region ID of the instance. You can call
|
|
133
|
+
* The region ID of the instance. You can call [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) to query the most recent region list.
|
|
136
134
|
*
|
|
137
135
|
* This parameter is required.
|
|
138
136
|
*
|
|
@@ -152,7 +150,7 @@ export class CreateSnapshotGroupRequest extends $dara.Model {
|
|
|
152
150
|
resourceOwnerId?: number;
|
|
153
151
|
/**
|
|
154
152
|
* @remarks
|
|
155
|
-
* >
|
|
153
|
+
* >This parameter is not publicly available.
|
|
156
154
|
*
|
|
157
155
|
* @example
|
|
158
156
|
* null
|
|
@@ -160,7 +158,7 @@ export class CreateSnapshotGroupRequest extends $dara.Model {
|
|
|
160
158
|
storageLocationArn?: string;
|
|
161
159
|
/**
|
|
162
160
|
* @remarks
|
|
163
|
-
* The
|
|
161
|
+
* The tags.
|
|
164
162
|
*/
|
|
165
163
|
tag?: CreateSnapshotGroupRequestTag[];
|
|
166
164
|
static names(): { [key: string]: string } {
|
|
@@ -5,9 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateSnapshotRequestTag extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The key of the tag.
|
|
9
|
-
*
|
|
10
|
-
* > This parameter is not recommended. For better compatibility, use the Key parameter instead.
|
|
8
|
+
* The tag key of the snapshot. 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://.
|
|
11
9
|
*
|
|
12
10
|
* @example
|
|
13
11
|
* TestKey
|
|
@@ -15,7 +13,7 @@ export class CreateSnapshotRequestTag extends $dara.Model {
|
|
|
15
13
|
key?: string;
|
|
16
14
|
/**
|
|
17
15
|
* @remarks
|
|
18
|
-
* The tag value.
|
|
16
|
+
* The tag value of the snapshot. 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://.
|
|
19
17
|
*
|
|
20
18
|
* @example
|
|
21
19
|
* TestValue
|
|
@@ -47,13 +45,12 @@ export class CreateSnapshotRequestTag extends $dara.Model {
|
|
|
47
45
|
export class CreateSnapshotRequest extends $dara.Model {
|
|
48
46
|
/**
|
|
49
47
|
* @remarks
|
|
50
|
-
* The type
|
|
51
|
-
*
|
|
52
|
-
* - Standard: a standard snapshot.
|
|
48
|
+
* The snapshot type. Valid values:
|
|
53
49
|
*
|
|
54
|
-
* -
|
|
50
|
+
* - Standard: standard snapshot.
|
|
51
|
+
* - Flash: local snapshot.
|
|
55
52
|
*
|
|
56
|
-
* > This parameter
|
|
53
|
+
* > This parameter will be deprecated. Standard snapshots of enterprise SSDs have been upgraded to [instant access by default](https://help.aliyun.com/document_detail/193667.html). No additional configuration or fees are required. This applies to enterprise SSDs, ESSD AutoPL disks, ESSD Entry disks, and regional enterprise SSDs. Standard snapshots of standard SSDs are also active by default.
|
|
57
54
|
*
|
|
58
55
|
* @example
|
|
59
56
|
* Standard
|
|
@@ -61,7 +58,7 @@ export class CreateSnapshotRequest extends $dara.Model {
|
|
|
61
58
|
category?: string;
|
|
62
59
|
/**
|
|
63
60
|
* @remarks
|
|
64
|
-
*
|
|
61
|
+
* 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).
|
|
65
62
|
*
|
|
66
63
|
* @example
|
|
67
64
|
* 123e4567-e89b-12d3-a456-426655440000
|
|
@@ -69,9 +66,9 @@ export class CreateSnapshotRequest extends $dara.Model {
|
|
|
69
66
|
clientToken?: string;
|
|
70
67
|
/**
|
|
71
68
|
* @remarks
|
|
72
|
-
* The snapshot description must be 2 to 256 characters in length and cannot start with `http://` or `https://`.
|
|
69
|
+
* The description of the snapshot. The description must be 2 to 256 characters in length and cannot start with `http://` or `https://`.
|
|
73
70
|
*
|
|
74
|
-
*
|
|
71
|
+
* Default value: null.
|
|
75
72
|
*
|
|
76
73
|
* @example
|
|
77
74
|
* testDescription
|
|
@@ -79,7 +76,7 @@ export class CreateSnapshotRequest extends $dara.Model {
|
|
|
79
76
|
description?: string;
|
|
80
77
|
/**
|
|
81
78
|
* @remarks
|
|
82
|
-
* The ID
|
|
79
|
+
* The disk ID.
|
|
83
80
|
*
|
|
84
81
|
* This parameter is required.
|
|
85
82
|
*
|
|
@@ -89,15 +86,13 @@ export class CreateSnapshotRequest extends $dara.Model {
|
|
|
89
86
|
diskId?: string;
|
|
90
87
|
/**
|
|
91
88
|
* @remarks
|
|
92
|
-
* Specifies whether to enable the
|
|
93
|
-
*
|
|
94
|
-
* -
|
|
95
|
-
*
|
|
96
|
-
* - false: Disables the Instant Access feature. A standard snapshot is created.
|
|
89
|
+
* Specifies whether to enable the snapshot instant access feature. Valid values:
|
|
90
|
+
* - true: enables the feature. Only enterprise SSDs support this feature.
|
|
91
|
+
* - false: shutdown. A standard snapshot is created.
|
|
97
92
|
*
|
|
98
93
|
* Default value: false.
|
|
99
94
|
*
|
|
100
|
-
* > This parameter is deprecated.
|
|
95
|
+
* > This parameter is deprecated. Standard snapshots of enterprise SSDs have been upgraded to [instant access by default](https://help.aliyun.com/document_detail/193667.html). No additional configuration or fees are required. This applies to enterprise SSDs, ESSD AutoPL disks, ESSD Entry disks, and regional enterprise SSDs. Standard snapshots of standard SSDs are also active by default.
|
|
101
96
|
*
|
|
102
97
|
* @example
|
|
103
98
|
* false
|
|
@@ -105,11 +100,11 @@ export class CreateSnapshotRequest extends $dara.Model {
|
|
|
105
100
|
instantAccess?: boolean;
|
|
106
101
|
/**
|
|
107
102
|
* @remarks
|
|
108
|
-
*
|
|
103
|
+
* Settings for the retention period of the snapshot instant access feature. After the retention period expires, the snapshot is subject to automatic release. This parameter takes effect only when `InstantAccess=true`. Unit: days. Valid values: 1 to 65535.
|
|
109
104
|
*
|
|
110
|
-
*
|
|
105
|
+
* Default value: the same as the value of the `RetentionDays` parameter.
|
|
111
106
|
*
|
|
112
|
-
* > This parameter is deprecated.
|
|
107
|
+
* > This parameter is deprecated. Standard snapshots of enterprise SSDs have been upgraded to [instant access by default](https://help.aliyun.com/document_detail/193667.html). No additional configuration or fees are required. This applies to enterprise SSDs, ESSD AutoPL disks, ESSD Entry disks, and regional enterprise SSDs. Standard snapshots of standard SSDs are also active by default.
|
|
113
108
|
*
|
|
114
109
|
* @example
|
|
115
110
|
* 1
|
|
@@ -119,7 +114,7 @@ export class CreateSnapshotRequest extends $dara.Model {
|
|
|
119
114
|
ownerId?: number;
|
|
120
115
|
/**
|
|
121
116
|
* @remarks
|
|
122
|
-
* The ID of the
|
|
117
|
+
* The ID of the resource group to which the snapshot belongs.
|
|
123
118
|
*
|
|
124
119
|
* @example
|
|
125
120
|
* rg-bp67acfmxazb4p****
|
|
@@ -129,9 +124,9 @@ export class CreateSnapshotRequest extends $dara.Model {
|
|
|
129
124
|
resourceOwnerId?: number;
|
|
130
125
|
/**
|
|
131
126
|
* @remarks
|
|
132
|
-
*
|
|
127
|
+
* Settings for the retention period of the snapshot. Unit: days. Valid values: 1 to 65536. The snapshot is subject to automatic release when the retention period expires.
|
|
133
128
|
*
|
|
134
|
-
*
|
|
129
|
+
* Default value: null, which indicates that the snapshot is not subject to automatic release.
|
|
135
130
|
*
|
|
136
131
|
* @example
|
|
137
132
|
* 30
|
|
@@ -139,9 +134,9 @@ export class CreateSnapshotRequest extends $dara.Model {
|
|
|
139
134
|
retentionDays?: number;
|
|
140
135
|
/**
|
|
141
136
|
* @remarks
|
|
142
|
-
* The snapshot name must be 2 to 128 characters
|
|
137
|
+
* The name of the snapshot. The name must be 2 to 128 characters in length. It must start with a letter and cannot start with `http://` or `https://`. The name can contain Unicode characters under the letter category (including letters in English and Chinese), ASCII digits (0-9), colons (:), underscores (_), periods (.), and hyphens (-).
|
|
143
138
|
*
|
|
144
|
-
* > The name cannot start with `
|
|
139
|
+
* > The name cannot start with `auto` to avoid conflicts with the names of automatic snapshots.
|
|
145
140
|
*
|
|
146
141
|
* @example
|
|
147
142
|
* testSnapshotName
|
|
@@ -149,7 +144,7 @@ export class CreateSnapshotRequest extends $dara.Model {
|
|
|
149
144
|
snapshotName?: string;
|
|
150
145
|
/**
|
|
151
146
|
* @remarks
|
|
152
|
-
* > This parameter is not available
|
|
147
|
+
* > This parameter is not publicly available.
|
|
153
148
|
*
|
|
154
149
|
* @example
|
|
155
150
|
* null
|
|
@@ -157,7 +152,7 @@ export class CreateSnapshotRequest extends $dara.Model {
|
|
|
157
152
|
storageLocationArn?: string;
|
|
158
153
|
/**
|
|
159
154
|
* @remarks
|
|
160
|
-
* The tags
|
|
155
|
+
* The tags.
|
|
161
156
|
*/
|
|
162
157
|
tag?: CreateSnapshotRequestTag[];
|
|
163
158
|
static names(): { [key: string]: string } {
|
|
@@ -5,53 +5,24 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateVSwitchRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The CIDR block for the vSwitch.\\
|
|
9
|
-
* It must be a subnet of the VPC\\"s CIDR block and must not overlap with the CIDR blocks of other vSwitches in the same VPC.\\
|
|
10
|
-
*
|
|
11
8
|
* This parameter is required.
|
|
12
9
|
*/
|
|
13
10
|
cidrBlock?: string;
|
|
14
|
-
/**
|
|
15
|
-
* @remarks
|
|
16
|
-
* A client token to ensure the idempotence of the request. The token must be unique across requests, contain only ASCII characters, and not exceed 64 characters in length.
|
|
17
|
-
*/
|
|
18
11
|
clientToken?: string;
|
|
19
|
-
/**
|
|
20
|
-
* @remarks
|
|
21
|
-
* The description for the vSwitch.\\
|
|
22
|
-
* It must be 2 to 256 characters long and must not start with `http://` or `https://`.\\
|
|
23
|
-
*/
|
|
24
12
|
description?: string;
|
|
25
13
|
ownerAccount?: string;
|
|
26
14
|
ownerId?: number;
|
|
27
|
-
/**
|
|
28
|
-
* @remarks
|
|
29
|
-
* The ID of the region in which to create the vSwitch.\\
|
|
30
|
-
* Call the `DescribeRegions` operation to get a list of available regions.\\
|
|
31
|
-
*/
|
|
32
15
|
regionId?: string;
|
|
33
16
|
resourceOwnerAccount?: string;
|
|
34
17
|
resourceOwnerId?: number;
|
|
35
|
-
/**
|
|
36
|
-
* @remarks
|
|
37
|
-
* The name for the vSwitch.\\
|
|
38
|
-
* The name must be 2 to 128 characters long, start with a letter, and contain only letters, digits, underscores (_), and hyphens (-).\\
|
|
39
|
-
* If unspecified, the name defaults to the vSwitch ID.\\
|
|
40
|
-
* \\
|
|
41
|
-
*/
|
|
42
18
|
vSwitchName?: string;
|
|
43
19
|
/**
|
|
44
20
|
* @remarks
|
|
45
|
-
* The ID of the VPC in which to create the vSwitch.
|
|
46
|
-
*
|
|
47
21
|
* This parameter is required.
|
|
48
22
|
*/
|
|
49
23
|
vpcId?: string;
|
|
50
24
|
/**
|
|
51
25
|
* @remarks
|
|
52
|
-
* The ID of the zone in which to create the vSwitch.\\
|
|
53
|
-
* Call the `DescribeZones` operation to get a list of available zones.\\
|
|
54
|
-
*
|
|
55
26
|
* This parameter is required.
|
|
56
27
|
*/
|
|
57
28
|
zoneId?: string;
|
|
@@ -3,15 +3,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class CreateVSwitchResponseBody extends $dara.Model {
|
|
6
|
-
/**
|
|
7
|
-
* @remarks
|
|
8
|
-
* The ID of the request.
|
|
9
|
-
*/
|
|
10
6
|
requestId?: string;
|
|
11
|
-
/**
|
|
12
|
-
* @remarks
|
|
13
|
-
* The ID of the created VSwitch.
|
|
14
|
-
*/
|
|
15
7
|
vSwitchId?: string;
|
|
16
8
|
static names(): { [key: string]: string } {
|
|
17
9
|
return {
|
|
@@ -7,7 +7,7 @@ export class DeleteSnapshotGroupRequest extends $dara.Model {
|
|
|
7
7
|
ownerId?: number;
|
|
8
8
|
/**
|
|
9
9
|
* @remarks
|
|
10
|
-
* The region ID of the snapshot-consistent group. You can call
|
|
10
|
+
* The region ID of the snapshot-consistent group. You can call [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) to query the most recent region list.
|
|
11
11
|
*
|
|
12
12
|
* This parameter is required.
|
|
13
13
|
*
|
|
@@ -19,7 +19,7 @@ export class DeleteSnapshotGroupRequest extends $dara.Model {
|
|
|
19
19
|
resourceOwnerId?: number;
|
|
20
20
|
/**
|
|
21
21
|
* @remarks
|
|
22
|
-
* The ID of the snapshot-consistent group. You can call
|
|
22
|
+
* The ID of the snapshot-consistent group. You can call [DescribeSnapshotGroups](https://help.aliyun.com/document_detail/210940.html) to query snapshot-consistent group IDs.
|
|
23
23
|
*
|
|
24
24
|
* This parameter is required.
|
|
25
25
|
*
|
|
@@ -119,7 +119,7 @@ export class DeleteSnapshotGroupResponseBody extends $dara.Model {
|
|
|
119
119
|
operationProgressSet?: DeleteSnapshotGroupResponseBodyOperationProgressSet;
|
|
120
120
|
/**
|
|
121
121
|
* @remarks
|
|
122
|
-
* The ID
|
|
122
|
+
* The request ID.
|
|
123
123
|
*
|
|
124
124
|
* @example
|
|
125
125
|
* 6EDE885A-FDC1-4FAE-BC44-6EACAEA6CC6E
|
|
@@ -7,9 +7,9 @@ export class DeleteSnapshotRequest extends $dara.Model {
|
|
|
7
7
|
* @remarks
|
|
8
8
|
* Specifies whether to force delete the snapshot that has been used to create cloud disks. Valid values:
|
|
9
9
|
*
|
|
10
|
-
* - true:
|
|
10
|
+
* - true: Force deletes the snapshot. After the snapshot is forcibly deleted, the cloud disk created from the snapshot cannot be reinitialized.
|
|
11
11
|
*
|
|
12
|
-
* - false:
|
|
12
|
+
* - false: Does not force delete the snapshot.
|
|
13
13
|
*
|
|
14
14
|
* Default value: false.
|
|
15
15
|
*
|
|
@@ -6,7 +6,7 @@ export class DescribeDiskDefaultKMSKeyIdRequest extends $dara.Model {
|
|
|
6
6
|
ownerId?: number;
|
|
7
7
|
/**
|
|
8
8
|
* @remarks
|
|
9
|
-
* The ID
|
|
9
|
+
* The region ID. You can call [DescribeRegions](https://help.aliyun.com/document_detail/2679950.html) to query the most recent region list.
|
|
10
10
|
*
|
|
11
11
|
* This parameter is required.
|
|
12
12
|
*
|
|
@@ -6,7 +6,7 @@ export class DescribeDiskEncryptionByDefaultStatusRequest extends $dara.Model {
|
|
|
6
6
|
ownerId?: number;
|
|
7
7
|
/**
|
|
8
8
|
* @remarks
|
|
9
|
-
* The region ID. You can call
|
|
9
|
+
* The region ID. You can call [DescribeRegions](https://help.aliyun.com/document_detail/2679950.html) to query the most recent region list.
|
|
10
10
|
*
|
|
11
11
|
* This parameter is required.
|
|
12
12
|
*
|
|
@@ -5,11 +5,13 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DescribeDiskEncryptionByDefaultStatusResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* Indicates whether account-level default encryption
|
|
8
|
+
* Indicates whether account-level default encryption is enabled for block storage.
|
|
9
9
|
*
|
|
10
|
-
*
|
|
10
|
+
* Valid values:
|
|
11
11
|
*
|
|
12
|
-
* -
|
|
12
|
+
* - true: Enabled.
|
|
13
|
+
*
|
|
14
|
+
* - false: Not enabled.
|
|
13
15
|
*
|
|
14
16
|
* Default value: false.
|
|
15
17
|
*
|