@alicloud/ecs20140526 5.0.0 → 5.0.1
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 +890 -950
- package/dist/client.js +499 -550
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +906 -952
package/src/client.ts
CHANGED
|
@@ -1966,7 +1966,7 @@ export class AttachDiskResponse extends $tea.Model {
|
|
|
1966
1966
|
export class AttachInstanceRamRoleRequest extends $tea.Model {
|
|
1967
1967
|
/**
|
|
1968
1968
|
* @remarks
|
|
1969
|
-
* The IDs of
|
|
1969
|
+
* The IDs of ECS instances. You can specify 1 to 100 ECS instances.
|
|
1970
1970
|
*
|
|
1971
1971
|
* This parameter is required.
|
|
1972
1972
|
*
|
|
@@ -1977,7 +1977,7 @@ export class AttachInstanceRamRoleRequest extends $tea.Model {
|
|
|
1977
1977
|
ownerId?: number;
|
|
1978
1978
|
/**
|
|
1979
1979
|
* @remarks
|
|
1980
|
-
* The
|
|
1980
|
+
* The additional policy. When you attach an instance RAM role to instances, you can specify an additional policy to further limit the permissions of the role. For more information, see [Policy overview](https://help.aliyun.com/document_detail/93732.html). The value of this parameter must be 1 to 1,024 characters in length.
|
|
1981
1981
|
*
|
|
1982
1982
|
* @example
|
|
1983
1983
|
* {"Statement": [{"Action": ["*"],"Effect": "Allow","Resource": ["*"]}],"Version":"1"}
|
|
@@ -2493,7 +2493,7 @@ export class AuthorizeSecurityGroupRequest extends $tea.Model {
|
|
|
2493
2493
|
ownerId?: number;
|
|
2494
2494
|
/**
|
|
2495
2495
|
* @remarks
|
|
2496
|
-
*
|
|
2496
|
+
* The security group rules. You can create 1 to 100 security group rules in a request.
|
|
2497
2497
|
*/
|
|
2498
2498
|
permissions?: AuthorizeSecurityGroupRequestPermissions[];
|
|
2499
2499
|
/**
|
|
@@ -2833,7 +2833,7 @@ export class AuthorizeSecurityGroupEgressRequest extends $tea.Model {
|
|
|
2833
2833
|
ownerId?: number;
|
|
2834
2834
|
/**
|
|
2835
2835
|
* @remarks
|
|
2836
|
-
*
|
|
2836
|
+
* An array of security group rules. You can specify 1 to 100 security group rules.
|
|
2837
2837
|
*/
|
|
2838
2838
|
permissions?: AuthorizeSecurityGroupEgressRequestPermissions[];
|
|
2839
2839
|
/**
|
|
@@ -3247,7 +3247,7 @@ export class CancelCopyImageResponse extends $tea.Model {
|
|
|
3247
3247
|
export class CancelImagePipelineExecutionRequest extends $tea.Model {
|
|
3248
3248
|
/**
|
|
3249
3249
|
* @remarks
|
|
3250
|
-
* The ID of the image
|
|
3250
|
+
* The ID of the image building task.
|
|
3251
3251
|
*
|
|
3252
3252
|
* This parameter is required.
|
|
3253
3253
|
*
|
|
@@ -3259,7 +3259,7 @@ export class CancelImagePipelineExecutionRequest extends $tea.Model {
|
|
|
3259
3259
|
ownerId?: number;
|
|
3260
3260
|
/**
|
|
3261
3261
|
* @remarks
|
|
3262
|
-
* The region ID
|
|
3262
|
+
* The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) operation to query the most recent region list.
|
|
3263
3263
|
*
|
|
3264
3264
|
* This parameter is required.
|
|
3265
3265
|
*
|
|
@@ -3271,7 +3271,7 @@ export class CancelImagePipelineExecutionRequest extends $tea.Model {
|
|
|
3271
3271
|
resourceOwnerId?: number;
|
|
3272
3272
|
/**
|
|
3273
3273
|
* @remarks
|
|
3274
|
-
* >
|
|
3274
|
+
* > This parameter is not publicly available.
|
|
3275
3275
|
*/
|
|
3276
3276
|
templateTag?: CancelImagePipelineExecutionRequestTemplateTag[];
|
|
3277
3277
|
static names(): { [key: string]: string } {
|
|
@@ -3306,7 +3306,7 @@ export class CancelImagePipelineExecutionRequest extends $tea.Model {
|
|
|
3306
3306
|
export class CancelImagePipelineExecutionResponseBody extends $tea.Model {
|
|
3307
3307
|
/**
|
|
3308
3308
|
* @remarks
|
|
3309
|
-
* The ID
|
|
3309
|
+
* The request ID.
|
|
3310
3310
|
*
|
|
3311
3311
|
* @example
|
|
3312
3312
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
@@ -5373,10 +5373,12 @@ export class CreateAutoSnapshotPolicyRequest extends $tea.Model {
|
|
|
5373
5373
|
retentionDays?: number;
|
|
5374
5374
|
/**
|
|
5375
5375
|
* @remarks
|
|
5376
|
-
* The points in time of the day at which to create automatic snapshots. The time must be in UTC+8. Unit: hours. Valid values: 0 to 23, which correspond to the 24 on-the-hour points in time from 00:00:00 to 23:00:00. 1 indicates 01:00:00. Format description:
|
|
5376
|
+
* The points in time of the day at which to create automatic snapshots. The time must be in UTC+8. Unit: hours. Valid values: 0 to 23, which correspond to the 24 on-the-hour points in time from 00:00:00 to 23:00:00. For example, 1 indicates 01:00:00. Format description:
|
|
5377
5377
|
*
|
|
5378
5378
|
* * Set this parameter to a JSON-formatted array. For example, a value of ["1"] specifies automatic snapshots to be created at 01:00:00.
|
|
5379
|
-
* * To schedule multiple automatic snapshots to be created in a day, you can specify multiple values. Separate the values with commas (,). You can specify
|
|
5379
|
+
* * To schedule multiple automatic snapshots to be created in a day, you can specify multiple values. Separate the values with commas (,). You can specify up to 24 points in time. For example, a value of ["1","3","5"] specifies automatic snapshots to be created at 01:00:00, 03:00:00, and 05:00:00.
|
|
5380
|
+
*
|
|
5381
|
+
* > If an automatic snapshot is being created when the time scheduled for creating another automatic snapshot is due, the new snapshot task is skipped. This may occur when a disk contains a large volume of data. For example, you scheduled snapshots to be automatically created at 09:00, 10:00, 11:00, and 12:00. The system starts to create a snapshot for the disk at 09:00:00. The process takes 80 minutes to complete because the disk contains a large volume of data and ends at 10:20:00. The system skips the automatic snapshot task scheduled for 10:00:00 and creates the next automatic snapshot for the disk at 11:00:00.
|
|
5380
5382
|
*
|
|
5381
5383
|
* This parameter is required.
|
|
5382
5384
|
*
|
|
@@ -8246,7 +8248,7 @@ export class CreateImageComponentRequest extends $tea.Model {
|
|
|
8246
8248
|
componentVersion?: string;
|
|
8247
8249
|
/**
|
|
8248
8250
|
* @remarks
|
|
8249
|
-
* The content of the image component. The
|
|
8251
|
+
* The content of the image component. The image component consists of multiple commands. The command content cannot exceed 16 KB in size. For information about the commands supported by Image Builder and the formats of the commands, see [Commands supported by Image Builder](https://help.aliyun.com/document_detail/200206.html).
|
|
8250
8252
|
*
|
|
8251
8253
|
* @example
|
|
8252
8254
|
* RUN yum update -y
|
|
@@ -8453,7 +8455,7 @@ export class CreateImagePipelineRequest extends $tea.Model {
|
|
|
8453
8455
|
baseImageType?: string;
|
|
8454
8456
|
/**
|
|
8455
8457
|
* @remarks
|
|
8456
|
-
* The content
|
|
8458
|
+
* The build content in the image template. The content cannot exceed 16 KB in size. For information about the commands supported by Image Builder, see [Commands supported by Image Builder](https://help.aliyun.com/document_detail/200206.html).
|
|
8457
8459
|
*
|
|
8458
8460
|
* @example
|
|
8459
8461
|
* FROM IMAGE:m-bp67acfmxazb4p****
|
|
@@ -8492,7 +8494,7 @@ export class CreateImagePipelineRequest extends $tea.Model {
|
|
|
8492
8494
|
description?: string;
|
|
8493
8495
|
/**
|
|
8494
8496
|
* @remarks
|
|
8495
|
-
*
|
|
8497
|
+
* The image family. The image family name must be 2 to 128 characters in length. The name must start with a letter and cannot start with acs: or aliyun. The name cannot contain http:// or https:// and can contain letters, digits, colons (:), underscores (_), and hyphens (-).
|
|
8496
8498
|
*
|
|
8497
8499
|
* @example
|
|
8498
8500
|
* null
|
|
@@ -8552,7 +8554,29 @@ export class CreateImagePipelineRequest extends $tea.Model {
|
|
|
8552
8554
|
regionId?: string;
|
|
8553
8555
|
/**
|
|
8554
8556
|
* @remarks
|
|
8555
|
-
*
|
|
8557
|
+
* The repair mode of the image template.
|
|
8558
|
+
*
|
|
8559
|
+
* Valid values:
|
|
8560
|
+
*
|
|
8561
|
+
* * Standard: the standard mode.
|
|
8562
|
+
*
|
|
8563
|
+
* Supported check items in Linux operating systems:
|
|
8564
|
+
*
|
|
8565
|
+
* * GUESTOS.CloudInit
|
|
8566
|
+
* * GUESTOS.Dhcp
|
|
8567
|
+
* * GUESTOS.Virtio
|
|
8568
|
+
* * GUESTOS.OnlineResizeFS
|
|
8569
|
+
* * GUESTOS.Grub
|
|
8570
|
+
* * GUESTOS.Fstab
|
|
8571
|
+
*
|
|
8572
|
+
* Supported check items in Windows operating systems:
|
|
8573
|
+
*
|
|
8574
|
+
* * GUESTOS.Virtio
|
|
8575
|
+
* * GUESTOS.Updat
|
|
8576
|
+
* * GUESTOS.Hotfix
|
|
8577
|
+
* * GUESTOS.Server
|
|
8578
|
+
*
|
|
8579
|
+
* > As the check and repair capabilities continue to improve, the number of check items may increase. For more information about check items, see [Overview of image check](https://help.aliyun.com/document_detail/439819.html).
|
|
8556
8580
|
*
|
|
8557
8581
|
* @example
|
|
8558
8582
|
* null
|
|
@@ -8585,7 +8609,7 @@ export class CreateImagePipelineRequest extends $tea.Model {
|
|
|
8585
8609
|
tag?: CreateImagePipelineRequestTag[];
|
|
8586
8610
|
/**
|
|
8587
8611
|
* @remarks
|
|
8588
|
-
*
|
|
8612
|
+
* The test content in the image template. The content cannot exceed 16 KB in size. For information about the commands supported by Image Builder, see [Commands supported by Image Builder](https://help.aliyun.com/document_detail/200206.html).
|
|
8589
8613
|
*
|
|
8590
8614
|
* @example
|
|
8591
8615
|
* null
|
|
@@ -13893,7 +13917,7 @@ export class DeactivateRouterInterfaceResponse extends $tea.Model {
|
|
|
13893
13917
|
export class DeleteActivationRequest extends $tea.Model {
|
|
13894
13918
|
/**
|
|
13895
13919
|
* @remarks
|
|
13896
|
-
* The ID of the
|
|
13920
|
+
* The ID of the unused activation code.
|
|
13897
13921
|
*
|
|
13898
13922
|
* This parameter is required.
|
|
13899
13923
|
*
|
|
@@ -13905,7 +13929,9 @@ export class DeleteActivationRequest extends $tea.Model {
|
|
|
13905
13929
|
ownerId?: number;
|
|
13906
13930
|
/**
|
|
13907
13931
|
* @remarks
|
|
13908
|
-
* The ID of the activation code.
|
|
13932
|
+
* The region ID of the activation code. Supported regions: China (Qingdao), China (Beijing), China (Zhangjiakou), China (Hohhot), China (Ulanqab), China (Hangzhou), China (Shanghai), China (Shenzhen), China (Heyuan), China (Guangzhou), China (Chengdu), China (Hong Kong), Singapore, Japan (Tokyo), US (Silicon Valley), and US (Virginia).
|
|
13933
|
+
*
|
|
13934
|
+
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) operation to query the most recent region list.
|
|
13909
13935
|
*
|
|
13910
13936
|
* This parameter is required.
|
|
13911
13937
|
*
|
|
@@ -13945,12 +13971,12 @@ export class DeleteActivationRequest extends $tea.Model {
|
|
|
13945
13971
|
export class DeleteActivationResponseBody extends $tea.Model {
|
|
13946
13972
|
/**
|
|
13947
13973
|
* @remarks
|
|
13948
|
-
*
|
|
13974
|
+
* Details about the activation code and its usage information.
|
|
13949
13975
|
*/
|
|
13950
13976
|
activation?: DeleteActivationResponseBodyActivation;
|
|
13951
13977
|
/**
|
|
13952
13978
|
* @remarks
|
|
13953
|
-
*
|
|
13979
|
+
* The request ID.
|
|
13954
13980
|
*
|
|
13955
13981
|
* @example
|
|
13956
13982
|
* 4ECEEE12-56F1-4FBC-9AB1-890F74942176
|
|
@@ -14120,23 +14146,32 @@ export class DeleteAutoProvisioningGroupResponse extends $tea.Model {
|
|
|
14120
14146
|
|
|
14121
14147
|
export class DeleteAutoSnapshotPolicyRequest extends $tea.Model {
|
|
14122
14148
|
/**
|
|
14149
|
+
* @remarks
|
|
14150
|
+
* RAM用户的虚拟账号ID。
|
|
14151
|
+
*
|
|
14123
14152
|
* @example
|
|
14124
14153
|
* 155780923770
|
|
14125
14154
|
*/
|
|
14126
14155
|
ownerId?: number;
|
|
14127
14156
|
/**
|
|
14157
|
+
* @remarks
|
|
14158
|
+
* 资源主账号的账号名称。
|
|
14159
|
+
*
|
|
14128
14160
|
* @example
|
|
14129
14161
|
* ECSforCloud
|
|
14130
14162
|
*/
|
|
14131
14163
|
resourceOwnerAccount?: string;
|
|
14132
14164
|
/**
|
|
14165
|
+
* @remarks
|
|
14166
|
+
* 资源主账号的ID,亦即UID。
|
|
14167
|
+
*
|
|
14133
14168
|
* @example
|
|
14134
14169
|
* 155780923770
|
|
14135
14170
|
*/
|
|
14136
14171
|
resourceOwnerId?: number;
|
|
14137
14172
|
/**
|
|
14138
14173
|
* @remarks
|
|
14139
|
-
* The ID of the automatic snapshot policy. You can call the [DescribeAutoSnapshotPolicyEx](https://help.aliyun.com/document_detail/25530.html) operation to query the available automatic snapshot policies.
|
|
14174
|
+
* The ID of the automatic snapshot policy. You can call the [DescribeAutoSnapshotPolicyEx](https://help.aliyun.com/document_detail/25530.html) operation to query the IDs of available automatic snapshot policies.
|
|
14140
14175
|
*
|
|
14141
14176
|
* This parameter is required.
|
|
14142
14177
|
*
|
|
@@ -14146,7 +14181,7 @@ export class DeleteAutoSnapshotPolicyRequest extends $tea.Model {
|
|
|
14146
14181
|
autoSnapshotPolicyId?: string;
|
|
14147
14182
|
/**
|
|
14148
14183
|
* @remarks
|
|
14149
|
-
* The
|
|
14184
|
+
* The ID of the region to which the automatic snapshot policy belongs. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) operation to query the most recent region list.
|
|
14150
14185
|
*
|
|
14151
14186
|
* This parameter is required.
|
|
14152
14187
|
*
|
|
@@ -14182,7 +14217,7 @@ export class DeleteAutoSnapshotPolicyRequest extends $tea.Model {
|
|
|
14182
14217
|
export class DeleteAutoSnapshotPolicyResponseBody extends $tea.Model {
|
|
14183
14218
|
/**
|
|
14184
14219
|
* @remarks
|
|
14185
|
-
* The ID
|
|
14220
|
+
* The request ID.
|
|
14186
14221
|
*
|
|
14187
14222
|
* @example
|
|
14188
14223
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
@@ -15197,7 +15232,7 @@ export class DeleteHaVipResponse extends $tea.Model {
|
|
|
15197
15232
|
export class DeleteHpcClusterRequest extends $tea.Model {
|
|
15198
15233
|
/**
|
|
15199
15234
|
* @remarks
|
|
15200
|
-
* The client token that is used to ensure the
|
|
15235
|
+
* The client token that is used to ensure the idempotency of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. **The token 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).
|
|
15201
15236
|
*
|
|
15202
15237
|
* @example
|
|
15203
15238
|
* 123e4567-e89b-12d3-a456-426655440000
|
|
@@ -15219,6 +15254,9 @@ export class DeleteHpcClusterRequest extends $tea.Model {
|
|
|
15219
15254
|
*/
|
|
15220
15255
|
ownerAccount?: string;
|
|
15221
15256
|
/**
|
|
15257
|
+
* @remarks
|
|
15258
|
+
* RAM用户的虚拟账号ID。
|
|
15259
|
+
*
|
|
15222
15260
|
* @example
|
|
15223
15261
|
* 155780923770
|
|
15224
15262
|
*/
|
|
@@ -15234,11 +15272,17 @@ export class DeleteHpcClusterRequest extends $tea.Model {
|
|
|
15234
15272
|
*/
|
|
15235
15273
|
regionId?: string;
|
|
15236
15274
|
/**
|
|
15275
|
+
* @remarks
|
|
15276
|
+
* 资源主账号的账号名称。
|
|
15277
|
+
*
|
|
15237
15278
|
* @example
|
|
15238
15279
|
* EcsforCloud
|
|
15239
15280
|
*/
|
|
15240
15281
|
resourceOwnerAccount?: string;
|
|
15241
15282
|
/**
|
|
15283
|
+
* @remarks
|
|
15284
|
+
* 资源主账号的ID,亦即UID。
|
|
15285
|
+
*
|
|
15242
15286
|
* @example
|
|
15243
15287
|
* 155780923770
|
|
15244
15288
|
*/
|
|
@@ -15275,7 +15319,7 @@ export class DeleteHpcClusterRequest extends $tea.Model {
|
|
|
15275
15319
|
export class DeleteHpcClusterResponseBody extends $tea.Model {
|
|
15276
15320
|
/**
|
|
15277
15321
|
* @remarks
|
|
15278
|
-
* The ID
|
|
15322
|
+
* The request ID.
|
|
15279
15323
|
*
|
|
15280
15324
|
* @example
|
|
15281
15325
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
@@ -17689,7 +17733,7 @@ export class DeregisterManagedInstanceRequest extends $tea.Model {
|
|
|
17689
17733
|
ownerId?: number;
|
|
17690
17734
|
/**
|
|
17691
17735
|
* @remarks
|
|
17692
|
-
* The region ID
|
|
17736
|
+
* The region ID. Supported regions: China (Qingdao), China (Beijing), China (Zhangjiakou), China (Hohhot), China (Ulanqab), China (Hangzhou), China (Shanghai), China (Shenzhen), China (Heyuan), China (Guangzhou), China (Chengdu), China (Hong Kong), Singapore, Japan (Tokyo), US (Silicon Valley), and US (Virginia).
|
|
17693
17737
|
*
|
|
17694
17738
|
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) operation to query the most recent region list.
|
|
17695
17739
|
*
|
|
@@ -17731,7 +17775,7 @@ export class DeregisterManagedInstanceRequest extends $tea.Model {
|
|
|
17731
17775
|
export class DeregisterManagedInstanceResponseBody extends $tea.Model {
|
|
17732
17776
|
/**
|
|
17733
17777
|
* @remarks
|
|
17734
|
-
*
|
|
17778
|
+
* Details of the managed instances.
|
|
17735
17779
|
*/
|
|
17736
17780
|
instance?: DeregisterManagedInstanceResponseBodyInstance;
|
|
17737
17781
|
/**
|
|
@@ -18068,7 +18112,7 @@ export class DescribeActivationsRequest extends $tea.Model {
|
|
|
18068
18112
|
maxResults?: number;
|
|
18069
18113
|
/**
|
|
18070
18114
|
* @remarks
|
|
18071
|
-
* The pagination token that is used in the next request to retrieve a new page of results. You
|
|
18115
|
+
* The pagination token that is used in the next request to retrieve a new page of results. You must specify the token that is obtained from the previous query as the value of NextToken.
|
|
18072
18116
|
*
|
|
18073
18117
|
* @example
|
|
18074
18118
|
* AAAAAdDWBF2****
|
|
@@ -18102,7 +18146,7 @@ export class DescribeActivationsRequest extends $tea.Model {
|
|
|
18102
18146
|
pageSize?: number;
|
|
18103
18147
|
/**
|
|
18104
18148
|
* @remarks
|
|
18105
|
-
* The region ID
|
|
18149
|
+
* The region ID. Supported regions: China (Qingdao), China (Beijing), China (Zhangjiakou), China (Hohhot), China (Ulanqab), China (Hangzhou), China (Shanghai), China (Shenzhen), China (Heyuan), China (Guangzhou), China (Chengdu), China (Hong Kong), Singapore, Japan (Tokyo), US (Silicon Valley), and US (Virginia).
|
|
18106
18150
|
*
|
|
18107
18151
|
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) operation to query the most recent region list.
|
|
18108
18152
|
*
|
|
@@ -19816,7 +19860,7 @@ export class DescribeCapacityReservationsRequest extends $tea.Model {
|
|
|
19816
19860
|
instanceChargeType?: string;
|
|
19817
19861
|
/**
|
|
19818
19862
|
* @remarks
|
|
19819
|
-
* The instance type.
|
|
19863
|
+
* The instance type of the capacity reservation. You can specify this parameter to query only effective capacity reservations. To query capacity reservations that are released, you must specify PrivatePoolOptions.Ids.
|
|
19820
19864
|
*
|
|
19821
19865
|
* @example
|
|
19822
19866
|
* ecs.c6.large
|
|
@@ -19882,16 +19926,16 @@ export class DescribeCapacityReservationsRequest extends $tea.Model {
|
|
|
19882
19926
|
resourceOwnerId?: number;
|
|
19883
19927
|
/**
|
|
19884
19928
|
* @remarks
|
|
19885
|
-
* The
|
|
19929
|
+
* The status of the capacity reservation. Valid values:
|
|
19886
19930
|
*
|
|
19887
19931
|
* * All: All states.
|
|
19888
19932
|
* * Pending: The capacity reservation is being initialized. Scheduled capacity reservations enter the Pending state after they are created.
|
|
19889
19933
|
* * Preparing: The capacity reservation is being prepared. Scheduled capacity reservations are in the Preparing state while resources are being provisioned.
|
|
19890
19934
|
* * Prepared: The capacity reservation is to take effect. After resources are provisioned, scheduled capacity reservations remain in the Prepared state until they take effect.
|
|
19891
19935
|
* * Active: The capacity reservation is in effect.
|
|
19892
|
-
* * Released: The capacity reservation
|
|
19936
|
+
* * Released: The capacity reservation is manually or automatically released when it expires.
|
|
19893
19937
|
*
|
|
19894
|
-
*
|
|
19938
|
+
* If you do not specify this parameter, capacity reservations in states other than Pending and Released are queried.
|
|
19895
19939
|
*
|
|
19896
19940
|
* @example
|
|
19897
19941
|
* Active
|
|
@@ -19899,7 +19943,7 @@ export class DescribeCapacityReservationsRequest extends $tea.Model {
|
|
|
19899
19943
|
status?: string;
|
|
19900
19944
|
/**
|
|
19901
19945
|
* @remarks
|
|
19902
|
-
* The tags.
|
|
19946
|
+
* The tags of the capacity reservation.
|
|
19903
19947
|
*/
|
|
19904
19948
|
tag?: DescribeCapacityReservationsRequestTag[];
|
|
19905
19949
|
/**
|
|
@@ -20378,11 +20422,7 @@ export class DescribeCloudAssistantStatusRequest extends $tea.Model {
|
|
|
20378
20422
|
ownerId?: number;
|
|
20379
20423
|
/**
|
|
20380
20424
|
* @remarks
|
|
20381
|
-
*
|
|
20382
|
-
*
|
|
20383
|
-
* Pages start from page 1.
|
|
20384
|
-
*
|
|
20385
|
-
* Default value: 1.
|
|
20425
|
+
* > This parameter will be removed in the future. We recommend that you use NextToken and MaxResults for a paged query.
|
|
20386
20426
|
*
|
|
20387
20427
|
* @example
|
|
20388
20428
|
* 1
|
|
@@ -20390,9 +20430,7 @@ export class DescribeCloudAssistantStatusRequest extends $tea.Model {
|
|
|
20390
20430
|
pageNumber?: number;
|
|
20391
20431
|
/**
|
|
20392
20432
|
* @remarks
|
|
20393
|
-
*
|
|
20394
|
-
*
|
|
20395
|
-
* Default value: 10.
|
|
20433
|
+
* > This parameter will be removed in the future. We recommend that you use NextToken and MaxResults for a paged query.
|
|
20396
20434
|
*
|
|
20397
20435
|
* @example
|
|
20398
20436
|
* 10
|
|
@@ -20710,11 +20748,7 @@ export class DescribeCommandsRequest extends $tea.Model {
|
|
|
20710
20748
|
ownerId?: number;
|
|
20711
20749
|
/**
|
|
20712
20750
|
* @remarks
|
|
20713
|
-
*
|
|
20714
|
-
*
|
|
20715
|
-
* Pages start from page 1.
|
|
20716
|
-
*
|
|
20717
|
-
* Default value: 1.
|
|
20751
|
+
* > This parameter will be removed in the future. We recommend that you use NextToken and MaxResults for a paged query.
|
|
20718
20752
|
*
|
|
20719
20753
|
* @example
|
|
20720
20754
|
* 1
|
|
@@ -20722,11 +20756,7 @@ export class DescribeCommandsRequest extends $tea.Model {
|
|
|
20722
20756
|
pageNumber?: number;
|
|
20723
20757
|
/**
|
|
20724
20758
|
* @remarks
|
|
20725
|
-
*
|
|
20726
|
-
*
|
|
20727
|
-
* Valid values: 1 to 50.
|
|
20728
|
-
*
|
|
20729
|
-
* Default value: 10.
|
|
20759
|
+
* > This parameter will be removed in the future. We recommend that you use NextToken and MaxResults for a paged query.
|
|
20730
20760
|
*
|
|
20731
20761
|
* @example
|
|
20732
20762
|
* 10
|
|
@@ -24532,13 +24562,14 @@ export class DescribeElasticityAssurancesRequest extends $tea.Model {
|
|
|
24532
24562
|
resourceOwnerId?: number;
|
|
24533
24563
|
/**
|
|
24534
24564
|
* @remarks
|
|
24535
|
-
* The status of the elasticity
|
|
24565
|
+
* The status of the elasticity assurance. Valid values:
|
|
24536
24566
|
*
|
|
24537
|
-
* * All
|
|
24538
|
-
* *
|
|
24539
|
-
* *
|
|
24540
|
-
* *
|
|
24541
|
-
* *
|
|
24567
|
+
* * All: All states.
|
|
24568
|
+
* * Deactivated: The elasticity assurance is pending activation. This state is in invitational preview.
|
|
24569
|
+
* * Preparing: The elasticity assurance is being prepared.
|
|
24570
|
+
* * Prepared: The elasticity assurance is to take effect.
|
|
24571
|
+
* * Active: The elasticity assurance is in effect.
|
|
24572
|
+
* * Released: The elasticity assurance is released.
|
|
24542
24573
|
*
|
|
24543
24574
|
* Default value: Active.
|
|
24544
24575
|
*
|
|
@@ -24725,7 +24756,7 @@ export class DescribeEniMonitorDataRequest extends $tea.Model {
|
|
|
24725
24756
|
ownerId?: number;
|
|
24726
24757
|
/**
|
|
24727
24758
|
* @remarks
|
|
24728
|
-
* The interval at which to retrieve monitoring data. Unit: seconds. Valid values:
|
|
24759
|
+
* The interval at which to retrieve the monitoring data. Unit: seconds. Valid values:
|
|
24729
24760
|
*
|
|
24730
24761
|
* * 60
|
|
24731
24762
|
* * 600
|
|
@@ -25102,7 +25133,11 @@ export class DescribeHpcClustersRequest extends $tea.Model {
|
|
|
25102
25133
|
ownerId?: number;
|
|
25103
25134
|
/**
|
|
25104
25135
|
* @remarks
|
|
25105
|
-
* The number
|
|
25136
|
+
* The page number.
|
|
25137
|
+
*
|
|
25138
|
+
* Pages start from page 1.
|
|
25139
|
+
*
|
|
25140
|
+
* Default value: 1.
|
|
25106
25141
|
*
|
|
25107
25142
|
* @example
|
|
25108
25143
|
* 1
|
|
@@ -25110,7 +25145,11 @@ export class DescribeHpcClustersRequest extends $tea.Model {
|
|
|
25110
25145
|
pageNumber?: number;
|
|
25111
25146
|
/**
|
|
25112
25147
|
* @remarks
|
|
25113
|
-
* The
|
|
25148
|
+
* The number of entries per page.
|
|
25149
|
+
*
|
|
25150
|
+
* Valid values: 1 to 100.
|
|
25151
|
+
*
|
|
25152
|
+
* Default value: 10.
|
|
25114
25153
|
*
|
|
25115
25154
|
* @example
|
|
25116
25155
|
* 10
|
|
@@ -25496,7 +25535,9 @@ export class DescribeImageComponentsResponse extends $tea.Model {
|
|
|
25496
25535
|
export class DescribeImageFromFamilyRequest extends $tea.Model {
|
|
25497
25536
|
/**
|
|
25498
25537
|
* @remarks
|
|
25499
|
-
* The name of the image
|
|
25538
|
+
* The family name of the image that you want to use to create the instances.
|
|
25539
|
+
*
|
|
25540
|
+
* You can configure image families for custom images, public images, community images, and shared images. For more information, see [Overview of image families](https://help.aliyun.com/document_detail/174241.html).
|
|
25500
25541
|
*
|
|
25501
25542
|
* This parameter is required.
|
|
25502
25543
|
*
|
|
@@ -25508,7 +25549,7 @@ export class DescribeImageFromFamilyRequest extends $tea.Model {
|
|
|
25508
25549
|
ownerId?: number;
|
|
25509
25550
|
/**
|
|
25510
25551
|
* @remarks
|
|
25511
|
-
* The
|
|
25552
|
+
* The ID of the region in which to create the custom image. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) operation to query the most recent region list.
|
|
25512
25553
|
*
|
|
25513
25554
|
* This parameter is required.
|
|
25514
25555
|
*
|
|
@@ -25677,7 +25718,7 @@ export class DescribeImagePipelineExecutionsRequest extends $tea.Model {
|
|
|
25677
25718
|
status?: string;
|
|
25678
25719
|
/**
|
|
25679
25720
|
* @remarks
|
|
25680
|
-
*
|
|
25721
|
+
* The tags of the image creation task.
|
|
25681
25722
|
*/
|
|
25682
25723
|
tag?: DescribeImagePipelineExecutionsRequestTag[];
|
|
25683
25724
|
static names(): { [key: string]: string } {
|
|
@@ -25720,7 +25761,7 @@ export class DescribeImagePipelineExecutionsRequest extends $tea.Model {
|
|
|
25720
25761
|
export class DescribeImagePipelineExecutionsResponseBody extends $tea.Model {
|
|
25721
25762
|
/**
|
|
25722
25763
|
* @remarks
|
|
25723
|
-
* Details of the image creation
|
|
25764
|
+
* Details of the image creation tasks.
|
|
25724
25765
|
*/
|
|
25725
25766
|
imagePipelineExecution?: DescribeImagePipelineExecutionsResponseBodyImagePipelineExecution;
|
|
25726
25767
|
/**
|
|
@@ -26192,10 +26233,10 @@ export class DescribeImageSharePermissionResponse extends $tea.Model {
|
|
|
26192
26233
|
export class DescribeImageSupportInstanceTypesRequest extends $tea.Model {
|
|
26193
26234
|
/**
|
|
26194
26235
|
* @remarks
|
|
26195
|
-
* The scenario in which
|
|
26236
|
+
* The scenario in which the image is used. Valid values:
|
|
26196
26237
|
*
|
|
26197
|
-
*
|
|
26198
|
-
*
|
|
26238
|
+
* * CreateEcs (default): instance creation
|
|
26239
|
+
* * ChangeOS: replacement of the system disk or operating system
|
|
26199
26240
|
*
|
|
26200
26241
|
* @example
|
|
26201
26242
|
* CreateEcs
|
|
@@ -26594,8 +26635,8 @@ export class DescribeImagesRequest extends $tea.Model {
|
|
|
26594
26635
|
* * Waiting: The image is waiting to be processed.
|
|
26595
26636
|
* * Available: The image is available.
|
|
26596
26637
|
* * UnAvailable: The image is unavailable.
|
|
26597
|
-
* * CreateFailed: The image
|
|
26598
|
-
* * Deprecated: The image is
|
|
26638
|
+
* * CreateFailed: The image fails to be created.
|
|
26639
|
+
* * Deprecated: The image is no longer used.
|
|
26599
26640
|
*
|
|
26600
26641
|
* Default value: Available. You can specify multiple values for this parameter. Separate the values with commas (,).
|
|
26601
26642
|
*
|
|
@@ -30560,11 +30601,7 @@ export class DescribeInvocationResultsRequest extends $tea.Model {
|
|
|
30560
30601
|
ownerId?: number;
|
|
30561
30602
|
/**
|
|
30562
30603
|
* @remarks
|
|
30563
|
-
*
|
|
30564
|
-
*
|
|
30565
|
-
* Pages start from page 1.
|
|
30566
|
-
*
|
|
30567
|
-
* Default value: 1.
|
|
30604
|
+
* > This parameter will be removed in the future. We recommend that you use NextToken and MaxResults for a paged query.
|
|
30568
30605
|
*
|
|
30569
30606
|
* @example
|
|
30570
30607
|
* 1
|
|
@@ -30572,11 +30609,7 @@ export class DescribeInvocationResultsRequest extends $tea.Model {
|
|
|
30572
30609
|
pageNumber?: number;
|
|
30573
30610
|
/**
|
|
30574
30611
|
* @remarks
|
|
30575
|
-
*
|
|
30576
|
-
*
|
|
30577
|
-
* Valid values: 1 to 50.
|
|
30578
|
-
*
|
|
30579
|
-
* Default value: 10.
|
|
30612
|
+
* > This parameter will be removed in the future. We recommend that you use NextToken and MaxResults for a paged query.
|
|
30580
30613
|
*
|
|
30581
30614
|
* @example
|
|
30582
30615
|
* 1
|
|
@@ -31862,11 +31895,7 @@ export class DescribeManagedInstancesRequest extends $tea.Model {
|
|
|
31862
31895
|
ownerId?: number;
|
|
31863
31896
|
/**
|
|
31864
31897
|
* @remarks
|
|
31865
|
-
*
|
|
31866
|
-
*
|
|
31867
|
-
* Pages start from page 1.
|
|
31868
|
-
*
|
|
31869
|
-
* Default value: 1.
|
|
31898
|
+
* > This parameter will be removed in the future. We recommend that you use NextToken and MaxResults for a paged query.
|
|
31870
31899
|
*
|
|
31871
31900
|
* @example
|
|
31872
31901
|
* 1
|
|
@@ -31874,11 +31903,7 @@ export class DescribeManagedInstancesRequest extends $tea.Model {
|
|
|
31874
31903
|
pageNumber?: number;
|
|
31875
31904
|
/**
|
|
31876
31905
|
* @remarks
|
|
31877
|
-
*
|
|
31878
|
-
*
|
|
31879
|
-
* Valid values: 1 to 50.
|
|
31880
|
-
*
|
|
31881
|
-
* Default value: 10.
|
|
31906
|
+
* > This parameter will be removed in the future. We recommend that you use NextToken and MaxResults for a paged query.
|
|
31882
31907
|
*
|
|
31883
31908
|
* @example
|
|
31884
31909
|
* 10
|
|
@@ -34903,7 +34928,9 @@ export class DescribeReservedInstanceAutoRenewAttributeRequest extends $tea.Mode
|
|
|
34903
34928
|
ownerId?: number;
|
|
34904
34929
|
/**
|
|
34905
34930
|
* @remarks
|
|
34906
|
-
* The region ID of the reserved
|
|
34931
|
+
* The region ID of the reserved instance.
|
|
34932
|
+
*
|
|
34933
|
+
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) operation to query the most recent region list.
|
|
34907
34934
|
*
|
|
34908
34935
|
* This parameter is required.
|
|
34909
34936
|
*
|
|
@@ -34913,7 +34940,7 @@ export class DescribeReservedInstanceAutoRenewAttributeRequest extends $tea.Mode
|
|
|
34913
34940
|
regionId?: string;
|
|
34914
34941
|
/**
|
|
34915
34942
|
* @remarks
|
|
34916
|
-
* The IDs of
|
|
34943
|
+
* The IDs of reserved instances.
|
|
34917
34944
|
*/
|
|
34918
34945
|
reservedInstanceId?: string[];
|
|
34919
34946
|
resourceOwnerAccount?: string;
|
|
@@ -35019,7 +35046,9 @@ export class DescribeReservedInstancesRequest extends $tea.Model {
|
|
|
35019
35046
|
allocationType?: string;
|
|
35020
35047
|
/**
|
|
35021
35048
|
* @remarks
|
|
35022
|
-
* The instance type. For
|
|
35049
|
+
* The instance type of the reserved instance. For information about the valid values, see [Overview of instance families](https://help.aliyun.com/document_detail/25378.html).
|
|
35050
|
+
*
|
|
35051
|
+
* > Specify the instance type that you selected when you purchased the reserved instance. If the reserved instance is a regional reserved instance, it can be used to offset the bills of instance types that belong to the same instance family as the specified instance type, regardless of instance specifications.
|
|
35023
35052
|
*
|
|
35024
35053
|
* @example
|
|
35025
35054
|
* ecs.g5.large
|
|
@@ -35027,7 +35056,7 @@ export class DescribeReservedInstancesRequest extends $tea.Model {
|
|
|
35027
35056
|
instanceType?: string;
|
|
35028
35057
|
/**
|
|
35029
35058
|
* @remarks
|
|
35030
|
-
* The instance family. For
|
|
35059
|
+
* The instance family of the reserved instance. For information about the valid values, see [Overview of instance families](https://help.aliyun.com/document_detail/25378.html).
|
|
35031
35060
|
*
|
|
35032
35061
|
* @example
|
|
35033
35062
|
* ecs.g5
|
|
@@ -35100,6 +35129,8 @@ export class DescribeReservedInstancesRequest extends $tea.Model {
|
|
|
35100
35129
|
* @remarks
|
|
35101
35130
|
* The name of the reserved instance.
|
|
35102
35131
|
*
|
|
35132
|
+
* > Only exact search is supported.
|
|
35133
|
+
*
|
|
35103
35134
|
* @example
|
|
35104
35135
|
* testReservedInstanceName
|
|
35105
35136
|
*/
|
|
@@ -35108,20 +35139,18 @@ export class DescribeReservedInstancesRequest extends $tea.Model {
|
|
|
35108
35139
|
resourceOwnerId?: number;
|
|
35109
35140
|
/**
|
|
35110
35141
|
* @remarks
|
|
35111
|
-
* The scope of the reserved instance. Valid values:
|
|
35142
|
+
* The scope level of the reserved instance. Valid values:
|
|
35112
35143
|
*
|
|
35113
35144
|
* * Region: regional
|
|
35114
35145
|
* * Zone: zonal
|
|
35115
35146
|
*
|
|
35116
|
-
* Default value: Region.
|
|
35117
|
-
*
|
|
35118
35147
|
* @example
|
|
35119
35148
|
* Region
|
|
35120
35149
|
*/
|
|
35121
35150
|
scope?: string;
|
|
35122
35151
|
/**
|
|
35123
35152
|
* @remarks
|
|
35124
|
-
* The
|
|
35153
|
+
* The status of the reserved instances.
|
|
35125
35154
|
*
|
|
35126
35155
|
* @example
|
|
35127
35156
|
* Active
|
|
@@ -35134,7 +35163,7 @@ export class DescribeReservedInstancesRequest extends $tea.Model {
|
|
|
35134
35163
|
tag?: DescribeReservedInstancesRequestTag[];
|
|
35135
35164
|
/**
|
|
35136
35165
|
* @remarks
|
|
35137
|
-
* The zone ID of the reserved
|
|
35166
|
+
* The zone ID of the reserved instance. This parameter is valid and required if you set Scope to Zone. You can call the [DescribeZones](https://help.aliyun.com/document_detail/25610.html) operation to query the most recent zone list.
|
|
35138
35167
|
*
|
|
35139
35168
|
* @example
|
|
35140
35169
|
* cn-hangzhou-z
|
|
@@ -36346,7 +36375,7 @@ export class DescribeSecurityGroupReferencesRequest extends $tea.Model {
|
|
|
36346
36375
|
ownerId?: number;
|
|
36347
36376
|
/**
|
|
36348
36377
|
* @remarks
|
|
36349
|
-
* The
|
|
36378
|
+
* The ID of the region. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) operation to query the most recent region list.
|
|
36350
36379
|
*
|
|
36351
36380
|
* This parameter is required.
|
|
36352
36381
|
*
|
|
@@ -36358,7 +36387,7 @@ export class DescribeSecurityGroupReferencesRequest extends $tea.Model {
|
|
|
36358
36387
|
resourceOwnerId?: number;
|
|
36359
36388
|
/**
|
|
36360
36389
|
* @remarks
|
|
36361
|
-
* The IDs of
|
|
36390
|
+
* The IDs of security groups. You can specify up to 10 IDs of security groups.
|
|
36362
36391
|
*
|
|
36363
36392
|
* This parameter is required.
|
|
36364
36393
|
*
|
|
@@ -36850,11 +36879,7 @@ export class DescribeSendFileResultsRequest extends $tea.Model {
|
|
|
36850
36879
|
ownerId?: number;
|
|
36851
36880
|
/**
|
|
36852
36881
|
* @remarks
|
|
36853
|
-
*
|
|
36854
|
-
*
|
|
36855
|
-
* Pages start from page 1.
|
|
36856
|
-
*
|
|
36857
|
-
* Default value: 1.
|
|
36882
|
+
* > This parameter will be removed in the future. We recommend that you use NextToken and MaxResults for a paged query.
|
|
36858
36883
|
*
|
|
36859
36884
|
* @example
|
|
36860
36885
|
* 1
|
|
@@ -36862,11 +36887,7 @@ export class DescribeSendFileResultsRequest extends $tea.Model {
|
|
|
36862
36887
|
pageNumber?: number;
|
|
36863
36888
|
/**
|
|
36864
36889
|
* @remarks
|
|
36865
|
-
*
|
|
36866
|
-
*
|
|
36867
|
-
* Valid values: 1 to 50.
|
|
36868
|
-
*
|
|
36869
|
-
* Default value: 10.
|
|
36890
|
+
* > This parameter will be removed in the future. We recommend that you use NextToken and MaxResults for a paged query.
|
|
36870
36891
|
*
|
|
36871
36892
|
* @example
|
|
36872
36893
|
* 10
|
|
@@ -37644,7 +37665,7 @@ export class DescribeSnapshotPackageRequest extends $tea.Model {
|
|
|
37644
37665
|
export class DescribeSnapshotPackageResponseBody extends $tea.Model {
|
|
37645
37666
|
/**
|
|
37646
37667
|
* @remarks
|
|
37647
|
-
*
|
|
37668
|
+
* The page number.
|
|
37648
37669
|
*
|
|
37649
37670
|
* @example
|
|
37650
37671
|
* 1
|
|
@@ -37652,7 +37673,7 @@ export class DescribeSnapshotPackageResponseBody extends $tea.Model {
|
|
|
37652
37673
|
pageNumber?: number;
|
|
37653
37674
|
/**
|
|
37654
37675
|
* @remarks
|
|
37655
|
-
* The
|
|
37676
|
+
* The number of entries per page.
|
|
37656
37677
|
*
|
|
37657
37678
|
* @example
|
|
37658
37679
|
* 10
|
|
@@ -37660,7 +37681,7 @@ export class DescribeSnapshotPackageResponseBody extends $tea.Model {
|
|
|
37660
37681
|
pageSize?: number;
|
|
37661
37682
|
/**
|
|
37662
37683
|
* @remarks
|
|
37663
|
-
* The
|
|
37684
|
+
* The request ID.
|
|
37664
37685
|
*
|
|
37665
37686
|
* @example
|
|
37666
37687
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
@@ -37668,12 +37689,12 @@ export class DescribeSnapshotPackageResponseBody extends $tea.Model {
|
|
|
37668
37689
|
requestId?: string;
|
|
37669
37690
|
/**
|
|
37670
37691
|
* @remarks
|
|
37671
|
-
*
|
|
37692
|
+
* Details about the OSS storage plans.
|
|
37672
37693
|
*/
|
|
37673
37694
|
snapshotPackages?: DescribeSnapshotPackageResponseBodySnapshotPackages;
|
|
37674
37695
|
/**
|
|
37675
37696
|
* @remarks
|
|
37676
|
-
* The
|
|
37697
|
+
* The total number of OSS storage plans.
|
|
37677
37698
|
*
|
|
37678
37699
|
* @example
|
|
37679
37700
|
* 1
|
|
@@ -38714,9 +38735,9 @@ export class DescribeStorageCapacityUnitsRequest extends $tea.Model {
|
|
|
38714
38735
|
pageNumber?: number;
|
|
38715
38736
|
/**
|
|
38716
38737
|
* @remarks
|
|
38717
|
-
* The number of entries
|
|
38738
|
+
* The number of entries per page.
|
|
38718
38739
|
*
|
|
38719
|
-
*
|
|
38740
|
+
* Valid values: 1 to 100.
|
|
38720
38741
|
*
|
|
38721
38742
|
* Default value: 10.
|
|
38722
38743
|
*
|
|
@@ -39753,7 +39774,7 @@ export class DescribeTaskAttributeResponse extends $tea.Model {
|
|
|
39753
39774
|
export class DescribeTasksRequest extends $tea.Model {
|
|
39754
39775
|
/**
|
|
39755
39776
|
* @remarks
|
|
39756
|
-
* The end
|
|
39777
|
+
* The end of the time range to query. The time range refers to the period of time during which the task is created. Specify the time in the [ISO 8601](https://help.aliyun.com/document_detail/25696.html) standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
|
|
39757
39778
|
*
|
|
39758
39779
|
* @example
|
|
39759
39780
|
* 2020-11-23T15:16:00Z
|
|
@@ -39763,9 +39784,9 @@ export class DescribeTasksRequest extends $tea.Model {
|
|
|
39763
39784
|
ownerId?: number;
|
|
39764
39785
|
/**
|
|
39765
39786
|
* @remarks
|
|
39766
|
-
* The
|
|
39787
|
+
* The page number.
|
|
39767
39788
|
*
|
|
39768
|
-
*
|
|
39789
|
+
* Pages start from page 1.
|
|
39769
39790
|
*
|
|
39770
39791
|
* Default value: 1.
|
|
39771
39792
|
*
|
|
@@ -39775,9 +39796,9 @@ export class DescribeTasksRequest extends $tea.Model {
|
|
|
39775
39796
|
pageNumber?: number;
|
|
39776
39797
|
/**
|
|
39777
39798
|
* @remarks
|
|
39778
|
-
* The number of entries
|
|
39799
|
+
* The number of entries per page.
|
|
39779
39800
|
*
|
|
39780
|
-
*
|
|
39801
|
+
* Valid values: 1 to 100.
|
|
39781
39802
|
*
|
|
39782
39803
|
* Default value: 10.
|
|
39783
39804
|
*
|
|
@@ -39787,7 +39808,7 @@ export class DescribeTasksRequest extends $tea.Model {
|
|
|
39787
39808
|
pageSize?: number;
|
|
39788
39809
|
/**
|
|
39789
39810
|
* @remarks
|
|
39790
|
-
* The region ID
|
|
39811
|
+
* The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) operation to query the most recent region list.
|
|
39791
39812
|
*
|
|
39792
39813
|
* This parameter is required.
|
|
39793
39814
|
*
|
|
@@ -39797,18 +39818,14 @@ export class DescribeTasksRequest extends $tea.Model {
|
|
|
39797
39818
|
regionId?: string;
|
|
39798
39819
|
/**
|
|
39799
39820
|
* @remarks
|
|
39800
|
-
* The
|
|
39801
|
-
*
|
|
39802
|
-
* * If TaskAction is set to ImportImage or ExportImage, set the resource ID to an image ID.
|
|
39803
|
-
* * If TaskAction is set to RedeployInstance, set the resource ID to an Elastic Compute Service (ECS) instance ID.
|
|
39804
|
-
* * If TaskAction is set to ModifyDiskSpec, set the resource ID to a disk ID.
|
|
39821
|
+
* The IDs of the resources associated with the task. Valid values of N: 1 to 100.
|
|
39805
39822
|
*/
|
|
39806
39823
|
resourceIds?: string[];
|
|
39807
39824
|
resourceOwnerAccount?: string;
|
|
39808
39825
|
resourceOwnerId?: number;
|
|
39809
39826
|
/**
|
|
39810
39827
|
* @remarks
|
|
39811
|
-
* The
|
|
39828
|
+
* The beginning of the time range to query. The time range refers to the period of time during which the task is created. Specify the time in the [ISO 8601](https://help.aliyun.com/document_detail/25696.html) standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
|
|
39812
39829
|
*
|
|
39813
39830
|
* @example
|
|
39814
39831
|
* 2020-11-23T15:10:00Z
|
|
@@ -39829,7 +39846,7 @@ export class DescribeTasksRequest extends $tea.Model {
|
|
|
39829
39846
|
taskAction?: string;
|
|
39830
39847
|
/**
|
|
39831
39848
|
* @remarks
|
|
39832
|
-
* The
|
|
39849
|
+
* The task IDs. You can specify up to 100 task IDs at a time. Separate the task IDs with commas (,).
|
|
39833
39850
|
*
|
|
39834
39851
|
* @example
|
|
39835
39852
|
* t-bp1hvgwromzv32iq****,t-bp179lofu2pv768w****
|
|
@@ -39837,15 +39854,15 @@ export class DescribeTasksRequest extends $tea.Model {
|
|
|
39837
39854
|
taskIds?: string;
|
|
39838
39855
|
/**
|
|
39839
39856
|
* @remarks
|
|
39840
|
-
* The
|
|
39857
|
+
* The task status. Valid values:
|
|
39841
39858
|
*
|
|
39842
39859
|
* * Finished
|
|
39843
39860
|
* * Processing
|
|
39844
39861
|
* * Failed
|
|
39845
39862
|
*
|
|
39846
|
-
* This parameter is empty by default.
|
|
39863
|
+
* This parameter is left empty by default.
|
|
39847
39864
|
*
|
|
39848
|
-
* > The system only
|
|
39865
|
+
* > The system only queries tasks in the Finished, Processing, and Failed states and ignores other values.
|
|
39849
39866
|
*
|
|
39850
39867
|
* @example
|
|
39851
39868
|
* Finished
|
|
@@ -39895,7 +39912,7 @@ export class DescribeTasksRequest extends $tea.Model {
|
|
|
39895
39912
|
export class DescribeTasksResponseBody extends $tea.Model {
|
|
39896
39913
|
/**
|
|
39897
39914
|
* @remarks
|
|
39898
|
-
* The page number
|
|
39915
|
+
* The page number.
|
|
39899
39916
|
*
|
|
39900
39917
|
* @example
|
|
39901
39918
|
* 1
|
|
@@ -39903,7 +39920,7 @@ export class DescribeTasksResponseBody extends $tea.Model {
|
|
|
39903
39920
|
pageNumber?: number;
|
|
39904
39921
|
/**
|
|
39905
39922
|
* @remarks
|
|
39906
|
-
* The number of entries
|
|
39923
|
+
* The number of entries per page.
|
|
39907
39924
|
*
|
|
39908
39925
|
* @example
|
|
39909
39926
|
* 10
|
|
@@ -39911,7 +39928,7 @@ export class DescribeTasksResponseBody extends $tea.Model {
|
|
|
39911
39928
|
pageSize?: number;
|
|
39912
39929
|
/**
|
|
39913
39930
|
* @remarks
|
|
39914
|
-
* The region ID
|
|
39931
|
+
* The region ID.
|
|
39915
39932
|
*
|
|
39916
39933
|
* @example
|
|
39917
39934
|
* cn-hangzhou
|
|
@@ -39919,7 +39936,7 @@ export class DescribeTasksResponseBody extends $tea.Model {
|
|
|
39919
39936
|
regionId?: string;
|
|
39920
39937
|
/**
|
|
39921
39938
|
* @remarks
|
|
39922
|
-
* The ID
|
|
39939
|
+
* The request ID.
|
|
39923
39940
|
*
|
|
39924
39941
|
* @example
|
|
39925
39942
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
@@ -41029,7 +41046,7 @@ export class DescribeZonesResponse extends $tea.Model {
|
|
|
41029
41046
|
export class DetachClassicLinkVpcRequest extends $tea.Model {
|
|
41030
41047
|
/**
|
|
41031
41048
|
* @remarks
|
|
41032
|
-
* The ID of the classic network
|
|
41049
|
+
* The ID of the instance that resides in the classic network.
|
|
41033
41050
|
*
|
|
41034
41051
|
* This parameter is required.
|
|
41035
41052
|
*
|
|
@@ -41038,13 +41055,16 @@ export class DetachClassicLinkVpcRequest extends $tea.Model {
|
|
|
41038
41055
|
*/
|
|
41039
41056
|
instanceId?: string;
|
|
41040
41057
|
/**
|
|
41058
|
+
* @remarks
|
|
41059
|
+
* RAM用户的虚拟账号ID。
|
|
41060
|
+
*
|
|
41041
41061
|
* @example
|
|
41042
41062
|
* 155780923770
|
|
41043
41063
|
*/
|
|
41044
41064
|
ownerId?: number;
|
|
41045
41065
|
/**
|
|
41046
41066
|
* @remarks
|
|
41047
|
-
* The region ID of the
|
|
41067
|
+
* The region ID of the instance. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) operation to query the most recent region list.
|
|
41048
41068
|
*
|
|
41049
41069
|
* This parameter is required.
|
|
41050
41070
|
*
|
|
@@ -41053,18 +41073,24 @@ export class DetachClassicLinkVpcRequest extends $tea.Model {
|
|
|
41053
41073
|
*/
|
|
41054
41074
|
regionId?: string;
|
|
41055
41075
|
/**
|
|
41076
|
+
* @remarks
|
|
41077
|
+
* 资源主账号的账号名称。
|
|
41078
|
+
*
|
|
41056
41079
|
* @example
|
|
41057
41080
|
* ECSforCloud
|
|
41058
41081
|
*/
|
|
41059
41082
|
resourceOwnerAccount?: string;
|
|
41060
41083
|
/**
|
|
41084
|
+
* @remarks
|
|
41085
|
+
* 资源主账号的ID,亦即UID。
|
|
41086
|
+
*
|
|
41061
41087
|
* @example
|
|
41062
41088
|
* 155780923770
|
|
41063
41089
|
*/
|
|
41064
41090
|
resourceOwnerId?: number;
|
|
41065
41091
|
/**
|
|
41066
41092
|
* @remarks
|
|
41067
|
-
* The ID of the VPC to which the instance is
|
|
41093
|
+
* The ID of the VPC to which the instance is connected.
|
|
41068
41094
|
*
|
|
41069
41095
|
* This parameter is required.
|
|
41070
41096
|
*
|
|
@@ -41102,7 +41128,7 @@ export class DetachClassicLinkVpcRequest extends $tea.Model {
|
|
|
41102
41128
|
export class DetachClassicLinkVpcResponseBody extends $tea.Model {
|
|
41103
41129
|
/**
|
|
41104
41130
|
* @remarks
|
|
41105
|
-
* The ID
|
|
41131
|
+
* The request ID.
|
|
41106
41132
|
*
|
|
41107
41133
|
* @example
|
|
41108
41134
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
@@ -41174,6 +41200,10 @@ export class DetachDiskRequest extends $tea.Model {
|
|
|
41174
41200
|
* @remarks
|
|
41175
41201
|
* The ID of the disk that you want to detach.
|
|
41176
41202
|
*
|
|
41203
|
+
* * The disk that you want to detach must be attached to an ECS instance and in the In Use (`In_use`) state.
|
|
41204
|
+
* * The instance from which you want to detach a data disk must be in the `Running` or `Stopped` state.
|
|
41205
|
+
* * The instance from which you want to detach the system disk must be in the `Stopped` state.
|
|
41206
|
+
*
|
|
41177
41207
|
* This parameter is required.
|
|
41178
41208
|
*
|
|
41179
41209
|
* @example
|
|
@@ -41712,7 +41742,9 @@ export class DisableActivationRequest extends $tea.Model {
|
|
|
41712
41742
|
ownerId?: number;
|
|
41713
41743
|
/**
|
|
41714
41744
|
* @remarks
|
|
41715
|
-
* The
|
|
41745
|
+
* The region ID. Supported regions: China (Qingdao), China (Beijing), China (Zhangjiakou), China (Hohhot), China (Ulanqab), China (Hangzhou), China (Shanghai), China (Shenzhen), China (Heyuan), China (Guangzhou), China (Chengdu), China (Hong Kong), Singapore, Japan (Tokyo), US (Silicon Valley), and US (Virginia).
|
|
41746
|
+
*
|
|
41747
|
+
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) operation to query the most recent region list.
|
|
41716
41748
|
*
|
|
41717
41749
|
* This parameter is required.
|
|
41718
41750
|
*
|
|
@@ -44261,9 +44293,9 @@ export class ListPluginStatusRequest extends $tea.Model {
|
|
|
44261
44293
|
instanceId?: string[];
|
|
44262
44294
|
/**
|
|
44263
44295
|
* @remarks
|
|
44264
|
-
* The maximum number of entries per page.
|
|
44296
|
+
* The maximum number of entries per page.
|
|
44265
44297
|
*
|
|
44266
|
-
* Valid values: 1 to 50.
|
|
44298
|
+
* Valid values: 1 to 50.
|
|
44267
44299
|
*
|
|
44268
44300
|
* Default value: 10.
|
|
44269
44301
|
*
|
|
@@ -44299,10 +44331,7 @@ export class ListPluginStatusRequest extends $tea.Model {
|
|
|
44299
44331
|
ownerId?: number;
|
|
44300
44332
|
/**
|
|
44301
44333
|
* @remarks
|
|
44302
|
-
*
|
|
44303
|
-
*
|
|
44304
|
-
* * Pages start from page 1.
|
|
44305
|
-
* * Default value: 1.
|
|
44334
|
+
* > This parameter will be removed in the future. We recommend that you use NextToken and MaxResults for a paged query.
|
|
44306
44335
|
*
|
|
44307
44336
|
* @example
|
|
44308
44337
|
* 1
|
|
@@ -44310,10 +44339,7 @@ export class ListPluginStatusRequest extends $tea.Model {
|
|
|
44310
44339
|
pageNumber?: number;
|
|
44311
44340
|
/**
|
|
44312
44341
|
* @remarks
|
|
44313
|
-
*
|
|
44314
|
-
*
|
|
44315
|
-
* * Valid values: 1 to 50.
|
|
44316
|
-
* * Default value: 10.
|
|
44342
|
+
* > This parameter will be removed in the future. We recommend that you use NextToken and MaxResults for a paged query.
|
|
44317
44343
|
*
|
|
44318
44344
|
* @example
|
|
44319
44345
|
* 10
|
|
@@ -44376,7 +44402,7 @@ export class ListPluginStatusResponseBody extends $tea.Model {
|
|
|
44376
44402
|
instancePluginStatusSet?: ListPluginStatusResponseBodyInstancePluginStatusSet;
|
|
44377
44403
|
/**
|
|
44378
44404
|
* @remarks
|
|
44379
|
-
*
|
|
44405
|
+
* The returned value of NextToken is a pagination token, which can be used in the next request to retrieve a new page of results.
|
|
44380
44406
|
*
|
|
44381
44407
|
* @example
|
|
44382
44408
|
* AAAAAdDWBF2
|
|
@@ -47678,6 +47704,7 @@ export class ModifyDiskDeploymentResponse extends $tea.Model {
|
|
|
47678
47704
|
}
|
|
47679
47705
|
|
|
47680
47706
|
export class ModifyDiskSpecRequest extends $tea.Model {
|
|
47707
|
+
destinationZoneId?: string;
|
|
47681
47708
|
/**
|
|
47682
47709
|
* @remarks
|
|
47683
47710
|
* The new disk category of the cloud disk. Valid values:
|
|
@@ -47758,6 +47785,7 @@ export class ModifyDiskSpecRequest extends $tea.Model {
|
|
|
47758
47785
|
resourceOwnerId?: number;
|
|
47759
47786
|
static names(): { [key: string]: string } {
|
|
47760
47787
|
return {
|
|
47788
|
+
destinationZoneId: 'DestinationZoneId',
|
|
47761
47789
|
diskCategory: 'DiskCategory',
|
|
47762
47790
|
diskId: 'DiskId',
|
|
47763
47791
|
dryRun: 'DryRun',
|
|
@@ -47773,6 +47801,7 @@ export class ModifyDiskSpecRequest extends $tea.Model {
|
|
|
47773
47801
|
|
|
47774
47802
|
static types(): { [key: string]: any } {
|
|
47775
47803
|
return {
|
|
47804
|
+
destinationZoneId: 'string',
|
|
47776
47805
|
diskCategory: 'string',
|
|
47777
47806
|
diskId: 'string',
|
|
47778
47807
|
dryRun: 'boolean',
|
|
@@ -48286,7 +48315,7 @@ export class ModifyHaVipAttributeResponse extends $tea.Model {
|
|
|
48286
48315
|
export class ModifyHpcClusterAttributeRequest extends $tea.Model {
|
|
48287
48316
|
/**
|
|
48288
48317
|
* @remarks
|
|
48289
|
-
* The client token that is used to ensure the idempotence of the request. You can use the client to generate the
|
|
48318
|
+
* The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. **The token 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).
|
|
48290
48319
|
*
|
|
48291
48320
|
* @example
|
|
48292
48321
|
* 123e4567-e89b-12d3-a456-426655440000
|
|
@@ -48294,7 +48323,7 @@ export class ModifyHpcClusterAttributeRequest extends $tea.Model {
|
|
|
48294
48323
|
clientToken?: string;
|
|
48295
48324
|
/**
|
|
48296
48325
|
* @remarks
|
|
48297
|
-
* The description of the HPC cluster. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
|
|
48326
|
+
* The description of the HPC cluster. The description must be 2 to 256 characters in length, and cannot start with http:// or https://.
|
|
48298
48327
|
*
|
|
48299
48328
|
* This parameter is empty by default.
|
|
48300
48329
|
*
|
|
@@ -48314,7 +48343,7 @@ export class ModifyHpcClusterAttributeRequest extends $tea.Model {
|
|
|
48314
48343
|
hpcClusterId?: string;
|
|
48315
48344
|
/**
|
|
48316
48345
|
* @remarks
|
|
48317
|
-
* The name of the HPC cluster. The name must be 2 to 128 characters in length.
|
|
48346
|
+
* The name of the HPC cluster. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with http:// or https://. The name can contain letters, digits, underscores (_), and hyphens (-).
|
|
48318
48347
|
*
|
|
48319
48348
|
* This parameter is empty by default.
|
|
48320
48349
|
*
|
|
@@ -48328,13 +48357,16 @@ export class ModifyHpcClusterAttributeRequest extends $tea.Model {
|
|
|
48328
48357
|
*/
|
|
48329
48358
|
ownerAccount?: string;
|
|
48330
48359
|
/**
|
|
48360
|
+
* @remarks
|
|
48361
|
+
* RAM用户的虚拟账号ID。
|
|
48362
|
+
*
|
|
48331
48363
|
* @example
|
|
48332
48364
|
* 1234567890
|
|
48333
48365
|
*/
|
|
48334
48366
|
ownerId?: number;
|
|
48335
48367
|
/**
|
|
48336
48368
|
* @remarks
|
|
48337
|
-
* The region ID
|
|
48369
|
+
* The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) operation to query the most recent region list.
|
|
48338
48370
|
*
|
|
48339
48371
|
* This parameter is required.
|
|
48340
48372
|
*
|
|
@@ -48343,11 +48375,17 @@ export class ModifyHpcClusterAttributeRequest extends $tea.Model {
|
|
|
48343
48375
|
*/
|
|
48344
48376
|
regionId?: string;
|
|
48345
48377
|
/**
|
|
48378
|
+
* @remarks
|
|
48379
|
+
* 资源主账号的账号名称。
|
|
48380
|
+
*
|
|
48346
48381
|
* @example
|
|
48347
48382
|
* EcsforCloud
|
|
48348
48383
|
*/
|
|
48349
48384
|
resourceOwnerAccount?: string;
|
|
48350
48385
|
/**
|
|
48386
|
+
* @remarks
|
|
48387
|
+
* 资源主账号的ID,亦即UID。
|
|
48388
|
+
*
|
|
48351
48389
|
* @example
|
|
48352
48390
|
* 1234567890
|
|
48353
48391
|
*/
|
|
@@ -48388,7 +48426,7 @@ export class ModifyHpcClusterAttributeRequest extends $tea.Model {
|
|
|
48388
48426
|
export class ModifyHpcClusterAttributeResponseBody extends $tea.Model {
|
|
48389
48427
|
/**
|
|
48390
48428
|
* @remarks
|
|
48391
|
-
* The ID
|
|
48429
|
+
* The request ID.
|
|
48392
48430
|
*
|
|
48393
48431
|
* @example
|
|
48394
48432
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
@@ -48441,13 +48479,11 @@ export class ModifyImageAttributeRequest extends $tea.Model {
|
|
|
48441
48479
|
* @remarks
|
|
48442
48480
|
* The new boot mode of the image. Valid values:
|
|
48443
48481
|
*
|
|
48444
|
-
* * BIOS:
|
|
48445
|
-
* * UEFI: Unified Extensible Firmware Interface (UEFI)
|
|
48446
|
-
* * UEFI-Preferred: BIOS and UEFI
|
|
48447
|
-
*
|
|
48448
|
-
* > Before you change the boot mode, we recommend that you obtain the boot modes supported by the image. If you specify an unsupported boot mode for the image, ECS instances that use the image cannot start as expected. If you do not know which boot modes are supported by the image, we recommend that you use the image check feature to perform a check. For information about the image check feature, see [Overview](https://help.aliyun.com/document_detail/439819.html).
|
|
48482
|
+
* * BIOS: BIOS mode
|
|
48483
|
+
* * UEFI: Unified Extensible Firmware Interface (UEFI) mode
|
|
48484
|
+
* * UEFI-Preferred: BIOS mode and UEFI mode
|
|
48449
48485
|
*
|
|
48450
|
-
* > For information about the
|
|
48486
|
+
* > Before you change this parameter, make sure that you are familiar with the boot modes supported by the image. If you specify a boot mode that is not supported by the image, ECS instances created from the image cannot start as expected. For information about the boot modes of images, see the [Boot modes of custom images](~~2244655#b9caa9b8bb1wf~~) section of the "Best practices for ECS instance boot modes" topic.
|
|
48451
48487
|
*
|
|
48452
48488
|
* @example
|
|
48453
48489
|
* BIOS
|
|
@@ -49013,10 +49049,14 @@ export class ModifyInstanceAttributeRequest extends $tea.Model {
|
|
|
49013
49049
|
* @remarks
|
|
49014
49050
|
* Specifies whether to enable the Jumbo Frames feature for the instance. Valid values:
|
|
49015
49051
|
*
|
|
49016
|
-
* * true
|
|
49017
|
-
* * false
|
|
49052
|
+
* * true: The Jumbo Frame feature is enabled for the instance.
|
|
49053
|
+
* * false: The Jumbo Frame feature is disabled for the instance.
|
|
49054
|
+
*
|
|
49055
|
+
* Take note of the following items:
|
|
49018
49056
|
*
|
|
49019
|
-
*
|
|
49057
|
+
* * The instance must be in the Running (`Running`) or Stopped (`Stopped`) state.
|
|
49058
|
+
* * The instance must reside in a VPC.
|
|
49059
|
+
* * After the Jumbo Frames feature is enabled, the MTU value of the instance is set to 8500. After the Jumbo Frames feature is disabled, the MTU value of the instance is set to 1500. You can enable the Jumbo Frames feature only for specific instance types. For more information, see [Jumbo Frames](https://help.aliyun.com/document_detail/200512.html).
|
|
49020
49060
|
*
|
|
49021
49061
|
* @example
|
|
49022
49062
|
* false
|
|
@@ -49026,8 +49066,8 @@ export class ModifyInstanceAttributeRequest extends $tea.Model {
|
|
|
49026
49066
|
* @remarks
|
|
49027
49067
|
* The hostname of the instance. Take note of the following items:
|
|
49028
49068
|
*
|
|
49029
|
-
* *
|
|
49030
|
-
* *
|
|
49069
|
+
* * The instance cannot be in the Creating (`Pending`) or Starting (`Starting`) state. Otherwise, the new hostname and the configurations in the `/etc/hosts` file may not take effect. You can call the [DescribeInstances](https://help.aliyun.com/document_detail/25506.html) operation to query the status of the instance.
|
|
49070
|
+
* * The parameter takes effect after the instance is restarted. You can restart an instance in the ECS console. For more information, see [Restart an instance](https://help.aliyun.com/document_detail/25440.html). You can also call the [RebootInstance](https://help.aliyun.com/document_detail/25502.html) operation to restart the instance. The parameter cannot take effect if you restart an instance within the operating system.
|
|
49031
49071
|
*
|
|
49032
49072
|
* The following limits apply to the hostnames of instances that run different operating systems:
|
|
49033
49073
|
*
|
|
@@ -49058,7 +49098,11 @@ export class ModifyInstanceAttributeRequest extends $tea.Model {
|
|
|
49058
49098
|
instanceName?: string;
|
|
49059
49099
|
/**
|
|
49060
49100
|
* @remarks
|
|
49061
|
-
* The number of queues supported by the primary ENI.
|
|
49101
|
+
* The number of queues supported by the primary elastic network interface (ENI) of the instance. Take note of the following items:
|
|
49102
|
+
*
|
|
49103
|
+
* * The instance must be in the Stopped (`Stopped`) state.
|
|
49104
|
+
* * The number of queues supported by an ENI cannot exceed the maximum number of queues that the instance type allows for each ENI. The total number of queues on all ENIs on the instance cannot exceed the queue quota that the instance type supports. To query the maximum number of queues that an instance type allows for each ENI and the queue quota for the instance type, call the [DescribeInstanceTypes](https://help.aliyun.com/document_detail/25620.html) operation.
|
|
49105
|
+
* * If you set this parameter to -1, the value is reset to the default value for the instance type. To query the default number of queues of an ENI of each instance type, call the [DescribeInstanceTypes](https://help.aliyun.com/document_detail/25620.html) operation.
|
|
49062
49106
|
*
|
|
49063
49107
|
* @example
|
|
49064
49108
|
* 8
|
|
@@ -49068,11 +49112,10 @@ export class ModifyInstanceAttributeRequest extends $tea.Model {
|
|
|
49068
49112
|
ownerId?: number;
|
|
49069
49113
|
/**
|
|
49070
49114
|
* @remarks
|
|
49071
|
-
* The password of the instance. The password must be 8 to 30 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. The
|
|
49072
|
-
*
|
|
49073
|
-
* ( ) ` ~ ! @ # $ % ^ & * - _ + = | { } [ ] : ; \\" < > , . ? /
|
|
49115
|
+
* The password of the instance. The password must be 8 to 30 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include **( ) \\` ~ ! @ # $ % ^ & \\* - _ + = | { } [ ] : ; \\" < > , . ? /** The password of a Windows instance cannot start with a forward slash (/). Take note of the following items:
|
|
49074
49116
|
*
|
|
49075
|
-
* The
|
|
49117
|
+
* * The instance cannot be in the Starting (`Starting`) state.
|
|
49118
|
+
* * The parameter takes effect after the instance is restarted. You can restart an instance in the ECS console. For more information, see [Restart an instance](https://help.aliyun.com/document_detail/25440.html). You can also call the [RebootInstance](https://help.aliyun.com/document_detail/25502.html) operation to restart the instance. The parameter cannot take effect if you restart an instance within the operating system.
|
|
49076
49119
|
*
|
|
49077
49120
|
* > For security reasons, we recommend that you use HTTPS to send requests if `Password` is specified.
|
|
49078
49121
|
*
|
|
@@ -49102,14 +49145,15 @@ export class ModifyInstanceAttributeRequest extends $tea.Model {
|
|
|
49102
49145
|
resourceOwnerId?: number;
|
|
49103
49146
|
/**
|
|
49104
49147
|
* @remarks
|
|
49105
|
-
* The IDs of
|
|
49148
|
+
* The IDs of the new security groups to which to assign the instance. Take note of the following items:
|
|
49106
49149
|
*
|
|
49107
|
-
* *
|
|
49108
|
-
* * The instance is moved from the current security groups to the replacement security groups. If you want the instance to remain in the current security groups, add the IDs of the current security groups to the
|
|
49109
|
-
* * You can move the instance to security groups of a different type. However, the
|
|
49150
|
+
* * The security group IDs in the array cannot be duplicate. The length of the array is related to the quota of security groups to which the instance can be assigned. For more information, see the [Security group limits](~~25412#SecurityGroupQuota1~~) section in the "Limits and quotas" topic.
|
|
49151
|
+
* * The instance is moved from the current security groups to the replacement security groups. If you want the instance to remain in the current security groups, add the IDs of the current security groups to the array.
|
|
49152
|
+
* * You can move the instance to security groups of a different type. However, the array cannot contain the IDs of both basic and advanced security groups.
|
|
49110
49153
|
* * The security groups and the instance must belong to the same VPC.
|
|
49111
|
-
* *
|
|
49112
|
-
*
|
|
49154
|
+
* * Security groups of instances in the classic network cannot be changed.
|
|
49155
|
+
*
|
|
49156
|
+
* > New security groups become valid for the instance after a short delay.
|
|
49113
49157
|
*
|
|
49114
49158
|
* @example
|
|
49115
49159
|
* sg-bp15ed6xe1yxeycg7o****
|
|
@@ -49117,9 +49161,12 @@ export class ModifyInstanceAttributeRequest extends $tea.Model {
|
|
|
49117
49161
|
securityGroupIds?: string[];
|
|
49118
49162
|
/**
|
|
49119
49163
|
* @remarks
|
|
49120
|
-
* The user data of the instance.
|
|
49164
|
+
* The user data of the instance. We recommend that you encode the data in Base64. Take note of the following items:
|
|
49121
49165
|
*
|
|
49122
|
-
* The
|
|
49166
|
+
* * The instance must meet the limits for user data. For more information, see [Initialize an instance by using instance user data](https://help.aliyun.com/document_detail/49121.html).
|
|
49167
|
+
* * After you restart the instance, the new user data is displayed but not run as scripts.
|
|
49168
|
+
*
|
|
49169
|
+
* > The maximum size of the raw data before encoding is 32 KB. We recommend that you do not pass in confidential information such as passwords and private keys in plaintext. If you must pass in confidential information, we recommend that you encrypt and Base64-encode the information before you pass it in. Then, you can decode and decrypt the information in the same way within the instance.
|
|
49123
49170
|
*
|
|
49124
49171
|
* @example
|
|
49125
49172
|
* ZWNobyBoZWxsbyBlY3Mh
|
|
@@ -51548,7 +51595,7 @@ export class ModifyManagedInstanceRequest extends $tea.Model {
|
|
|
51548
51595
|
instanceId?: string;
|
|
51549
51596
|
/**
|
|
51550
51597
|
* @remarks
|
|
51551
|
-
* The
|
|
51598
|
+
* The new name of the managed instance. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with a special character or a digit. The name can contain letters, digits, periods (.), underscores (_), hyphens (-), and colons (:) and cannot start with `http://` or `https://`.
|
|
51552
51599
|
*
|
|
51553
51600
|
* This parameter is required.
|
|
51554
51601
|
*
|
|
@@ -51560,7 +51607,9 @@ export class ModifyManagedInstanceRequest extends $tea.Model {
|
|
|
51560
51607
|
ownerId?: number;
|
|
51561
51608
|
/**
|
|
51562
51609
|
* @remarks
|
|
51563
|
-
* The ID
|
|
51610
|
+
* The region ID. Supported regions: China (Qingdao), China (Beijing), China (Zhangjiakou), China (Hohhot), China (Ulanqab), China (Hangzhou), China (Shanghai), China (Shenzhen), China (Heyuan), China (Guangzhou), China (Chengdu), China (Hong Kong), Singapore, Japan (Tokyo), US (Silicon Valley), and US (Virginia).
|
|
51611
|
+
*
|
|
51612
|
+
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) operation to query the most recent region list.
|
|
51564
51613
|
*
|
|
51565
51614
|
* This parameter is required.
|
|
51566
51615
|
*
|
|
@@ -52696,7 +52745,9 @@ export class ModifyReservedInstancesRequest extends $tea.Model {
|
|
|
52696
52745
|
ownerId?: number;
|
|
52697
52746
|
/**
|
|
52698
52747
|
* @remarks
|
|
52699
|
-
* The
|
|
52748
|
+
* The region ID of the reserved instance.
|
|
52749
|
+
*
|
|
52750
|
+
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) operation to query the most recent region list.
|
|
52700
52751
|
*
|
|
52701
52752
|
* This parameter is required.
|
|
52702
52753
|
*
|
|
@@ -53652,7 +53703,7 @@ export class ModifySecurityGroupRuleRequest extends $tea.Model {
|
|
|
53652
53703
|
ipv6SourceCidrIp?: string;
|
|
53653
53704
|
/**
|
|
53654
53705
|
* @remarks
|
|
53655
|
-
* The network interface controller (NIC)
|
|
53706
|
+
* The type of the network interface controller (NIC).
|
|
53656
53707
|
*
|
|
53657
53708
|
* > You cannot modify this parameter when you modify a security group rule by specifying the ID of the rule. If you want to change the NIC type of a security group rule, you can create a security group rule of a desired NIC type and delete the existing rule.
|
|
53658
53709
|
*
|
|
@@ -54059,7 +54110,7 @@ export class ModifySnapshotGroupRequest extends $tea.Model {
|
|
|
54059
54110
|
description?: string;
|
|
54060
54111
|
/**
|
|
54061
54112
|
* @remarks
|
|
54062
|
-
* The new name of the snapshot-consistent group. The name must be 2 to 128 characters in length. The name can contain letters, digits, periods (.), underscores (_), hyphens (-), and colons (:).
|
|
54113
|
+
* The new name of the snapshot-consistent group. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with a `http://` or `https://`. The name can contain letters, digits, periods (.), underscores (_), hyphens (-), and colons (:).
|
|
54063
54114
|
*
|
|
54064
54115
|
* @example
|
|
54065
54116
|
* testName02
|
|
@@ -55194,7 +55245,7 @@ export class PurchaseReservedInstancesOfferingRequest extends $tea.Model {
|
|
|
55194
55245
|
platform?: string;
|
|
55195
55246
|
/**
|
|
55196
55247
|
* @remarks
|
|
55197
|
-
* The
|
|
55248
|
+
* The ID of the region in which to purchase a reserved instance. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) operation to query the most recent region list.
|
|
55198
55249
|
*
|
|
55199
55250
|
* This parameter is required.
|
|
55200
55251
|
*
|
|
@@ -55235,9 +55286,9 @@ export class PurchaseReservedInstancesOfferingRequest extends $tea.Model {
|
|
|
55235
55286
|
scope?: string;
|
|
55236
55287
|
/**
|
|
55237
55288
|
* @remarks
|
|
55238
|
-
* The time when the reserved instance
|
|
55289
|
+
* The time when you want the reserved instance to take effect. Specify the time in the [ISO 8601 standard](https://help.aliyun.com/document_detail/25696.html) in the `yyyy-MM-ddTHHZ` format. The time must be in UTC.
|
|
55239
55290
|
*
|
|
55240
|
-
* > If you do not specify this parameter, the reserved instance takes effect starting on the hour when the reserved instance is purchased. For example, if you
|
|
55291
|
+
* > If you do not specify this parameter, the reserved instance takes effect starting on the hour when the reserved instance is purchased. For example, if you purchase a reserved instance at 13:45:35 on November 1, 2024, the reserved instance takes effect starting 13:00:00 on November 1, 2024.
|
|
55241
55292
|
*
|
|
55242
55293
|
* @example
|
|
55243
55294
|
* 2024-07-04T15Z
|
|
@@ -55250,7 +55301,7 @@ export class PurchaseReservedInstancesOfferingRequest extends $tea.Model {
|
|
|
55250
55301
|
tag?: PurchaseReservedInstancesOfferingRequestTag[];
|
|
55251
55302
|
/**
|
|
55252
55303
|
* @remarks
|
|
55253
|
-
* The ID of the zone in which to purchase the reserved instance. This parameter is required
|
|
55304
|
+
* The ID of the zone in which to purchase the reserved instance. This parameter takes effect and is required only if you set `Scope` to `Zone`. You can call the [DescribeZones](https://help.aliyun.com/document_detail/25610.html) operation to query the most recent zone list.
|
|
55254
55305
|
*
|
|
55255
55306
|
* @example
|
|
55256
55307
|
* cn-hangzhou-g
|
|
@@ -55696,7 +55747,10 @@ export class ReActivateInstancesResponse extends $tea.Model {
|
|
|
55696
55747
|
export class ReInitDiskRequest extends $tea.Model {
|
|
55697
55748
|
/**
|
|
55698
55749
|
* @remarks
|
|
55699
|
-
* Specifies whether to automatically start the instance after the disk is re-initialized.
|
|
55750
|
+
* Specifies whether to automatically start the instance after the disk is re-initialized. Valid values:
|
|
55751
|
+
*
|
|
55752
|
+
* * true
|
|
55753
|
+
* * false
|
|
55700
55754
|
*
|
|
55701
55755
|
* Default value: false.
|
|
55702
55756
|
*
|
|
@@ -57784,7 +57838,9 @@ export class ReplaceSystemDiskRequest extends $tea.Model {
|
|
|
57784
57838
|
imageId?: string;
|
|
57785
57839
|
/**
|
|
57786
57840
|
* @remarks
|
|
57787
|
-
* The instance
|
|
57841
|
+
* The ID of the instance whose operating system you want to replace.
|
|
57842
|
+
*
|
|
57843
|
+
* > Make sure that the instance is in the `Stopped` (`Stopped`) state.
|
|
57788
57844
|
*
|
|
57789
57845
|
* This parameter is required.
|
|
57790
57846
|
*
|
|
@@ -58190,7 +58246,7 @@ export class ReportInstancesStatusResponse extends $tea.Model {
|
|
|
58190
58246
|
export class ResetDiskRequest extends $tea.Model {
|
|
58191
58247
|
/**
|
|
58192
58248
|
* @remarks
|
|
58193
|
-
* The ID of the disk that you want to roll back.
|
|
58249
|
+
* The ID of the cloud disk that you want to roll back.
|
|
58194
58250
|
*
|
|
58195
58251
|
* This parameter is required.
|
|
58196
58252
|
*
|
|
@@ -58217,7 +58273,7 @@ export class ResetDiskRequest extends $tea.Model {
|
|
|
58217
58273
|
resourceOwnerId?: number;
|
|
58218
58274
|
/**
|
|
58219
58275
|
* @remarks
|
|
58220
|
-
* The ID of the snapshot that you want to use to roll back the disk.
|
|
58276
|
+
* The ID of the snapshot that you want to use to roll back the cloud disk.
|
|
58221
58277
|
*
|
|
58222
58278
|
* This parameter is required.
|
|
58223
58279
|
*
|
|
@@ -58586,8 +58642,8 @@ export class ResizeDiskRequest extends $tea.Model {
|
|
|
58586
58642
|
* @remarks
|
|
58587
58643
|
* The method that you want to use to resize the disk. Valid values:
|
|
58588
58644
|
*
|
|
58589
|
-
* * offline (default): resizes the disk offline. After you resize a disk offline, you must restart the
|
|
58590
|
-
* * online: resizes the disk online. After you resize a disk online, the resizing operation immediately takes effect. You do not need to restart the
|
|
58645
|
+
* * offline (default): resizes the disk offline. After you resize a disk offline, you must restart the associated instance in the ECS console or by calling the [RebootInstance](https://help.aliyun.com/document_detail/25502.html) operation for the resizing operation to take effect. For information about how to restart an ECS instance in the ECS console, see [Restart an instance](https://help.aliyun.com/document_detail/25440.html).
|
|
58646
|
+
* * online: resizes the disk online. After you resize a disk online, the resizing operation immediately takes effect. You do not need to restart the associated instance. You can resize ultra disks, standard SSDs, Enterprise SSDs (ESSDs), and elastic ephemeral disks online.
|
|
58591
58647
|
*
|
|
58592
58648
|
* @example
|
|
58593
58649
|
* offline
|
|
@@ -58758,7 +58814,7 @@ export class RevokeSecurityGroupRequest extends $tea.Model {
|
|
|
58758
58814
|
ownerId?: number;
|
|
58759
58815
|
/**
|
|
58760
58816
|
* @remarks
|
|
58761
|
-
*
|
|
58817
|
+
* The content of security group rules. You can specify 1 to 100 security group rules in a request.
|
|
58762
58818
|
*/
|
|
58763
58819
|
permissions?: RevokeSecurityGroupRequestPermissions[];
|
|
58764
58820
|
/**
|
|
@@ -58815,7 +58871,7 @@ export class RevokeSecurityGroupRequest extends $tea.Model {
|
|
|
58815
58871
|
securityGroupId?: string;
|
|
58816
58872
|
/**
|
|
58817
58873
|
* @remarks
|
|
58818
|
-
* The
|
|
58874
|
+
* The security group rule IDs. You can specify 1 to 100 security group rule IDs in a request.
|
|
58819
58875
|
*/
|
|
58820
58876
|
securityGroupRuleId?: string[];
|
|
58821
58877
|
/**
|
|
@@ -59105,7 +59161,7 @@ export class RevokeSecurityGroupEgressRequest extends $tea.Model {
|
|
|
59105
59161
|
ownerId?: number;
|
|
59106
59162
|
/**
|
|
59107
59163
|
* @remarks
|
|
59108
|
-
*
|
|
59164
|
+
* An array of security group rules. You can specify 1 to 100 security group rules.
|
|
59109
59165
|
*/
|
|
59110
59166
|
permissions?: RevokeSecurityGroupEgressRequestPermissions[];
|
|
59111
59167
|
/**
|
|
@@ -59162,7 +59218,7 @@ export class RevokeSecurityGroupEgressRequest extends $tea.Model {
|
|
|
59162
59218
|
securityGroupId?: string;
|
|
59163
59219
|
/**
|
|
59164
59220
|
* @remarks
|
|
59165
|
-
*
|
|
59221
|
+
* An array of security group rule IDs. You can specify 1 to 100 security group rules.
|
|
59166
59222
|
*/
|
|
59167
59223
|
securityGroupRuleId?: string[];
|
|
59168
59224
|
/**
|
|
@@ -61531,7 +61587,7 @@ export class StartImagePipelineExecutionRequest extends $tea.Model {
|
|
|
61531
61587
|
tag?: StartImagePipelineExecutionRequestTag[];
|
|
61532
61588
|
/**
|
|
61533
61589
|
* @remarks
|
|
61534
|
-
* >
|
|
61590
|
+
* > This parameter is deprecated.
|
|
61535
61591
|
*
|
|
61536
61592
|
* @deprecated
|
|
61537
61593
|
*/
|
|
@@ -63831,8 +63887,6 @@ export class AuthorizeSecurityGroupRequestPermissions extends $tea.Model {
|
|
|
63831
63887
|
* @remarks
|
|
63832
63888
|
* The description of the security group rule. The description must be 1 to 512 characters in length.
|
|
63833
63889
|
*
|
|
63834
|
-
* Valid values of N: 1 to 100.
|
|
63835
|
-
*
|
|
63836
63890
|
* @example
|
|
63837
63891
|
* This is description.
|
|
63838
63892
|
*/
|
|
@@ -63843,8 +63897,6 @@ export class AuthorizeSecurityGroupRequestPermissions extends $tea.Model {
|
|
|
63843
63897
|
*
|
|
63844
63898
|
* This parameter is used to support quintuple rules. For more information, see [Security group quintuple rules](https://help.aliyun.com/document_detail/97439.html).
|
|
63845
63899
|
*
|
|
63846
|
-
* Valid values of N: 1 to 100.
|
|
63847
|
-
*
|
|
63848
63900
|
* @example
|
|
63849
63901
|
* 10.0.0.0/8
|
|
63850
63902
|
*/
|
|
@@ -63872,8 +63924,6 @@ export class AuthorizeSecurityGroupRequestPermissions extends $tea.Model {
|
|
|
63872
63924
|
*
|
|
63873
63925
|
* This parameter is used to support quintuple rules. For more information, see [Security group quintuple rules](https://help.aliyun.com/document_detail/97439.html).
|
|
63874
63926
|
*
|
|
63875
|
-
* Valid values of N: 1 to 100.
|
|
63876
|
-
*
|
|
63877
63927
|
* > This parameter is valid only for ECS instances that reside in VPCs and support IPv6 CIDR blocks. You cannot specify both this parameter and `DestCidrIp` in the same request.
|
|
63878
63928
|
*
|
|
63879
63929
|
* @example
|
|
@@ -63884,8 +63934,6 @@ export class AuthorizeSecurityGroupRequestPermissions extends $tea.Model {
|
|
|
63884
63934
|
* @remarks
|
|
63885
63935
|
* The source IPv6 CIDR block of the security group rule. IPv6 CIDR blocks and IPv6 addresses are supported.
|
|
63886
63936
|
*
|
|
63887
|
-
* Valid values of N: 1 to 100.
|
|
63888
|
-
*
|
|
63889
63937
|
* > This parameter is valid only for Elastic Compute Service (ECS) instances that reside in virtual private clouds (VPCs) and support IPv6 CIDR blocks. You cannot specify both this parameter and `SourceCidrIp` in the same request.
|
|
63890
63938
|
*
|
|
63891
63939
|
* @example
|
|
@@ -63905,8 +63953,6 @@ export class AuthorizeSecurityGroupRequestPermissions extends $tea.Model {
|
|
|
63905
63953
|
*
|
|
63906
63954
|
* Default value: internet.
|
|
63907
63955
|
*
|
|
63908
|
-
* Valid values of N: 1 to 100.
|
|
63909
|
-
*
|
|
63910
63956
|
* @example
|
|
63911
63957
|
* intranet
|
|
63912
63958
|
*/
|
|
@@ -63920,8 +63966,6 @@ export class AuthorizeSecurityGroupRequestPermissions extends $tea.Model {
|
|
|
63920
63966
|
*
|
|
63921
63967
|
* Default value: accept.
|
|
63922
63968
|
*
|
|
63923
|
-
* Valid values of N: 1 to 100.
|
|
63924
|
-
*
|
|
63925
63969
|
* @example
|
|
63926
63970
|
* accept
|
|
63927
63971
|
*/
|
|
@@ -63937,8 +63981,6 @@ export class AuthorizeSecurityGroupRequestPermissions extends $tea.Model {
|
|
|
63937
63981
|
*
|
|
63938
63982
|
* For more information, see [Common ports](https://help.aliyun.com/document_detail/40724.html).
|
|
63939
63983
|
*
|
|
63940
|
-
* Valid values of N: 1 to 100.
|
|
63941
|
-
*
|
|
63942
63984
|
* @example
|
|
63943
63985
|
* 80/80
|
|
63944
63986
|
*/
|
|
@@ -63949,8 +63991,6 @@ export class AuthorizeSecurityGroupRequestPermissions extends $tea.Model {
|
|
|
63949
63991
|
*
|
|
63950
63992
|
* Default value: 1.
|
|
63951
63993
|
*
|
|
63952
|
-
* Valid values of N: 1 to 100.
|
|
63953
|
-
*
|
|
63954
63994
|
* @example
|
|
63955
63995
|
* 1
|
|
63956
63996
|
*/
|
|
@@ -63959,8 +63999,6 @@ export class AuthorizeSecurityGroupRequestPermissions extends $tea.Model {
|
|
|
63959
63999
|
* @remarks
|
|
63960
64000
|
* The source IPv4 CIDR block of the security group rule. IPv4 CIDR blocks and IPv4 addresses are supported.
|
|
63961
64001
|
*
|
|
63962
|
-
* Valid values of N: 1 to 100.
|
|
63963
|
-
*
|
|
63964
64002
|
* @example
|
|
63965
64003
|
* 10.0.0.0/8
|
|
63966
64004
|
*/
|
|
@@ -63973,13 +64011,6 @@ export class AuthorizeSecurityGroupRequestPermissions extends $tea.Model {
|
|
|
63973
64011
|
* * If you specify `SourceGroupId` but do not specify `SourceCidrIp` or `Ipv6SourceCidrIp`, you must set `NicType` to `intranet`.
|
|
63974
64012
|
* * If you specify both `SourceGroupId` and `SourceCidrIp`, `SourceCidrIp` takes precedence.
|
|
63975
64013
|
*
|
|
63976
|
-
* Valid values of N: 1 to 100.
|
|
63977
|
-
*
|
|
63978
|
-
* When you specify this parameter, take note of the following items:
|
|
63979
|
-
*
|
|
63980
|
-
* * In advanced security groups, security groups cannot be used as authorization objects.
|
|
63981
|
-
* * In each basic security group, up to 20 security groups can be used as authorization objects in security group rules.
|
|
63982
|
-
*
|
|
63983
64014
|
* @example
|
|
63984
64015
|
* sg-bp67acfmxazb4p****
|
|
63985
64016
|
*/
|
|
@@ -63991,8 +64022,6 @@ export class AuthorizeSecurityGroupRequestPermissions extends $tea.Model {
|
|
|
63991
64022
|
* * If both `SourceGroupOwnerAccount` and `SourceGroupOwnerId` are empty, access permissions are configured for another security group in your Alibaba Cloud account.
|
|
63992
64023
|
* * If you specify `SourceCidrIp`, `SourceGroupOwnerAccount` is ignored.
|
|
63993
64024
|
*
|
|
63994
|
-
* Valid values of N: 1 to 100.
|
|
63995
|
-
*
|
|
63996
64025
|
* @example
|
|
63997
64026
|
* test@aliyun.com
|
|
63998
64027
|
*/
|
|
@@ -64004,8 +64033,6 @@ export class AuthorizeSecurityGroupRequestPermissions extends $tea.Model {
|
|
|
64004
64033
|
* * If both `SourceGroupOwnerAccount` and `SourceGroupOwnerId` are empty, access permissions are configured for another security group in your Alibaba Cloud account.
|
|
64005
64034
|
* * If you specify `SourceCidrIp`, `SourceGroupOwnerAccount` is ignored.
|
|
64006
64035
|
*
|
|
64007
|
-
* Valid values of N: 1 to 100.
|
|
64008
|
-
*
|
|
64009
64036
|
* @example
|
|
64010
64037
|
* 1234567890
|
|
64011
64038
|
*/
|
|
@@ -64021,8 +64048,6 @@ export class AuthorizeSecurityGroupRequestPermissions extends $tea.Model {
|
|
|
64021
64048
|
*
|
|
64022
64049
|
* This parameter is used to support quintuple rules. For more information, see [Security group quintuple rules](https://help.aliyun.com/document_detail/97439.html).
|
|
64023
64050
|
*
|
|
64024
|
-
* Valid values of N: 1 to 100.
|
|
64025
|
-
*
|
|
64026
64051
|
* @example
|
|
64027
64052
|
* 7000/8000
|
|
64028
64053
|
*/
|
|
@@ -64031,8 +64056,6 @@ export class AuthorizeSecurityGroupRequestPermissions extends $tea.Model {
|
|
|
64031
64056
|
* @remarks
|
|
64032
64057
|
* The ID of the source prefix list of the security group rule. You can call the [DescribePrefixLists](https://help.aliyun.com/document_detail/205046.html) operation to query the IDs of available prefix lists.
|
|
64033
64058
|
*
|
|
64034
|
-
* Valid values of N: 1 to 100.
|
|
64035
|
-
*
|
|
64036
64059
|
* When you specify this parameter, take note of the following items:
|
|
64037
64060
|
*
|
|
64038
64061
|
* * If a security group resides in the classic network, you cannot specify prefix lists in the rules of the security group. For information about the limits on security groups and prefix lists, see the [Security group limits](~~25412#SecurityGroupQuota1~~) section of the "Limits and quotas" topic.
|
|
@@ -64112,11 +64135,6 @@ export class AuthorizeSecurityGroupEgressRequestPermissions extends $tea.Model {
|
|
|
64112
64135
|
* * If you specify `DestGroupId` but do not specify `DestCidrIp`, you must set `NicType` to intranet.
|
|
64113
64136
|
* * If you specify both `DestGroupId` and `DestCidrIp`, `DestCidrIp` takes precedence.
|
|
64114
64137
|
*
|
|
64115
|
-
* When you specify this parameter, take note of the following items:
|
|
64116
|
-
*
|
|
64117
|
-
* * Advanced security groups do not support security group rules that reference security groups as authorization objects.
|
|
64118
|
-
* * Each basic security group can contain up to 20 security group rules that reference security groups as authorization objects.
|
|
64119
|
-
*
|
|
64120
64138
|
* @example
|
|
64121
64139
|
* sg-bp67acfmxazb4p****
|
|
64122
64140
|
*/
|
|
@@ -64183,7 +64201,7 @@ export class AuthorizeSecurityGroupEgressRequestPermissions extends $tea.Model {
|
|
|
64183
64201
|
ipv6DestCidrIp?: string;
|
|
64184
64202
|
/**
|
|
64185
64203
|
* @remarks
|
|
64186
|
-
* The source IPv6 CIDR block
|
|
64204
|
+
* The source IPv6 CIDR block or IPv6 address.
|
|
64187
64205
|
*
|
|
64188
64206
|
* This parameter is used to support quintuple rules. For more information, see [Security group quintuple rules](https://help.aliyun.com/document_detail/97439.html).
|
|
64189
64207
|
*
|
|
@@ -64319,7 +64337,7 @@ export class AuthorizeSecurityGroupEgressRequestPermissions extends $tea.Model {
|
|
|
64319
64337
|
export class CancelImagePipelineExecutionRequestTemplateTag extends $tea.Model {
|
|
64320
64338
|
/**
|
|
64321
64339
|
* @remarks
|
|
64322
|
-
* > This parameter is
|
|
64340
|
+
* > This parameter is not publicly available.
|
|
64323
64341
|
*
|
|
64324
64342
|
* @example
|
|
64325
64343
|
* null
|
|
@@ -64327,7 +64345,7 @@ export class CancelImagePipelineExecutionRequestTemplateTag extends $tea.Model {
|
|
|
64327
64345
|
key?: string;
|
|
64328
64346
|
/**
|
|
64329
64347
|
* @remarks
|
|
64330
|
-
* > This parameter is
|
|
64348
|
+
* > This parameter is not publicly available.
|
|
64331
64349
|
*
|
|
64332
64350
|
* @example
|
|
64333
64351
|
* null
|
|
@@ -66773,7 +66791,7 @@ export class CreateAutoProvisioningGroupResponseBodyLaunchResults extends $tea.M
|
|
|
66773
66791
|
export class CreateAutoSnapshotPolicyRequestCopyEncryptionConfigurationArn extends $tea.Model {
|
|
66774
66792
|
/**
|
|
66775
66793
|
* @remarks
|
|
66776
|
-
* This parameter is not publicly available.
|
|
66794
|
+
* > This parameter is not publicly available.
|
|
66777
66795
|
*
|
|
66778
66796
|
* @example
|
|
66779
66797
|
* 1000000000
|
|
@@ -66781,7 +66799,7 @@ export class CreateAutoSnapshotPolicyRequestCopyEncryptionConfigurationArn exten
|
|
|
66781
66799
|
assumeRoleFor?: number;
|
|
66782
66800
|
/**
|
|
66783
66801
|
* @remarks
|
|
66784
|
-
* This parameter is not publicly available.
|
|
66802
|
+
* > This parameter is not publicly available.
|
|
66785
66803
|
*
|
|
66786
66804
|
* @example
|
|
66787
66805
|
* hide
|
|
@@ -66789,7 +66807,7 @@ export class CreateAutoSnapshotPolicyRequestCopyEncryptionConfigurationArn exten
|
|
|
66789
66807
|
roleType?: string;
|
|
66790
66808
|
/**
|
|
66791
66809
|
* @remarks
|
|
66792
|
-
* This parameter is not publicly available.
|
|
66810
|
+
* > This parameter is not publicly available.
|
|
66793
66811
|
*
|
|
66794
66812
|
* @example
|
|
66795
66813
|
* hide
|
|
@@ -66819,7 +66837,7 @@ export class CreateAutoSnapshotPolicyRequestCopyEncryptionConfigurationArn exten
|
|
|
66819
66837
|
export class CreateAutoSnapshotPolicyRequestCopyEncryptionConfiguration extends $tea.Model {
|
|
66820
66838
|
/**
|
|
66821
66839
|
* @remarks
|
|
66822
|
-
* This parameter is not publicly available.
|
|
66840
|
+
* > This parameter is not publicly available.
|
|
66823
66841
|
*/
|
|
66824
66842
|
arn?: CreateAutoSnapshotPolicyRequestCopyEncryptionConfigurationArn[];
|
|
66825
66843
|
/**
|
|
@@ -66837,7 +66855,7 @@ export class CreateAutoSnapshotPolicyRequestCopyEncryptionConfiguration extends
|
|
|
66837
66855
|
encrypted?: boolean;
|
|
66838
66856
|
/**
|
|
66839
66857
|
* @remarks
|
|
66840
|
-
* The ID of the KMS key used in cross-region snapshot replication and encryption.
|
|
66858
|
+
* The ID of the Key Management Service (KMS) key used in cross-region snapshot replication and encryption.
|
|
66841
66859
|
*
|
|
66842
66860
|
* @example
|
|
66843
66861
|
* 0e478b7a-4262-4802-b8cb-00d3fb40826X
|
|
@@ -67284,6 +67302,10 @@ export class CreateImageRequestDiskDeviceMapping extends $tea.Model {
|
|
|
67284
67302
|
}
|
|
67285
67303
|
|
|
67286
67304
|
export class CreateImageRequestFeatures extends $tea.Model {
|
|
67305
|
+
/**
|
|
67306
|
+
* @example
|
|
67307
|
+
* v2
|
|
67308
|
+
*/
|
|
67287
67309
|
imdsSupport?: string;
|
|
67288
67310
|
static names(): { [key: string]: string } {
|
|
67289
67311
|
return {
|
|
@@ -69082,6 +69104,7 @@ export class CreateNetworkInterfaceRequestConnectionTrackingConfiguration extend
|
|
|
69082
69104
|
}
|
|
69083
69105
|
|
|
69084
69106
|
export class CreateNetworkInterfaceRequestEnhancedNetwork extends $tea.Model {
|
|
69107
|
+
enableRss?: boolean;
|
|
69085
69108
|
/**
|
|
69086
69109
|
* @remarks
|
|
69087
69110
|
* > This parameter is not publicly available.
|
|
@@ -69092,12 +69115,14 @@ export class CreateNetworkInterfaceRequestEnhancedNetwork extends $tea.Model {
|
|
|
69092
69115
|
enableSriov?: boolean;
|
|
69093
69116
|
static names(): { [key: string]: string } {
|
|
69094
69117
|
return {
|
|
69118
|
+
enableRss: 'EnableRss',
|
|
69095
69119
|
enableSriov: 'EnableSriov',
|
|
69096
69120
|
};
|
|
69097
69121
|
}
|
|
69098
69122
|
|
|
69099
69123
|
static types(): { [key: string]: any } {
|
|
69100
69124
|
return {
|
|
69125
|
+
enableRss: 'boolean',
|
|
69101
69126
|
enableSriov: 'boolean',
|
|
69102
69127
|
};
|
|
69103
69128
|
}
|
|
@@ -69757,13 +69782,16 @@ export class CreateSnapshotGroupRequestTag extends $tea.Model {
|
|
|
69757
69782
|
|
|
69758
69783
|
export class DeleteActivationResponseBodyActivation extends $tea.Model {
|
|
69759
69784
|
/**
|
|
69785
|
+
* @remarks
|
|
69786
|
+
* The ID of the activation code.
|
|
69787
|
+
*
|
|
69760
69788
|
* @example
|
|
69761
69789
|
* 4ECEEE12-56F1-4FBC-9AB1-890F1234****
|
|
69762
69790
|
*/
|
|
69763
69791
|
activationId?: string;
|
|
69764
69792
|
/**
|
|
69765
69793
|
* @remarks
|
|
69766
|
-
* The
|
|
69794
|
+
* The time when the activation code was created.
|
|
69767
69795
|
*
|
|
69768
69796
|
* @example
|
|
69769
69797
|
* 2021-01-20T06:00:00Z
|
|
@@ -69771,7 +69799,7 @@ export class DeleteActivationResponseBodyActivation extends $tea.Model {
|
|
|
69771
69799
|
creationTime?: string;
|
|
69772
69800
|
/**
|
|
69773
69801
|
* @remarks
|
|
69774
|
-
* The
|
|
69802
|
+
* The number of instances that were deregistered.
|
|
69775
69803
|
*
|
|
69776
69804
|
* @example
|
|
69777
69805
|
* 0
|
|
@@ -69779,7 +69807,7 @@ export class DeleteActivationResponseBodyActivation extends $tea.Model {
|
|
|
69779
69807
|
deregisteredCount?: number;
|
|
69780
69808
|
/**
|
|
69781
69809
|
* @remarks
|
|
69782
|
-
* The
|
|
69810
|
+
* The description of the activation code.
|
|
69783
69811
|
*
|
|
69784
69812
|
* @example
|
|
69785
69813
|
* This is description.
|
|
@@ -69787,7 +69815,7 @@ export class DeleteActivationResponseBodyActivation extends $tea.Model {
|
|
|
69787
69815
|
description?: string;
|
|
69788
69816
|
/**
|
|
69789
69817
|
* @remarks
|
|
69790
|
-
* The
|
|
69818
|
+
* The maximum number of times that the activation code can be used to register managed instances.
|
|
69791
69819
|
*
|
|
69792
69820
|
* @example
|
|
69793
69821
|
* 1
|
|
@@ -69795,7 +69823,7 @@ export class DeleteActivationResponseBodyActivation extends $tea.Model {
|
|
|
69795
69823
|
instanceCount?: number;
|
|
69796
69824
|
/**
|
|
69797
69825
|
* @remarks
|
|
69798
|
-
* The
|
|
69826
|
+
* The default instance name prefix.
|
|
69799
69827
|
*
|
|
69800
69828
|
* @example
|
|
69801
69829
|
* test-InstanceName
|
|
@@ -69803,7 +69831,7 @@ export class DeleteActivationResponseBodyActivation extends $tea.Model {
|
|
|
69803
69831
|
instanceName?: string;
|
|
69804
69832
|
/**
|
|
69805
69833
|
* @remarks
|
|
69806
|
-
* The
|
|
69834
|
+
* The IP addresses of the hosts that are allowed to use the activation code.
|
|
69807
69835
|
*
|
|
69808
69836
|
* @example
|
|
69809
69837
|
* 0.0.0.0/0
|
|
@@ -69811,7 +69839,7 @@ export class DeleteActivationResponseBodyActivation extends $tea.Model {
|
|
|
69811
69839
|
ipAddressRange?: string;
|
|
69812
69840
|
/**
|
|
69813
69841
|
* @remarks
|
|
69814
|
-
* The
|
|
69842
|
+
* The number of instances that were registered.
|
|
69815
69843
|
*
|
|
69816
69844
|
* @example
|
|
69817
69845
|
* 0
|
|
@@ -69819,7 +69847,7 @@ export class DeleteActivationResponseBodyActivation extends $tea.Model {
|
|
|
69819
69847
|
registeredCount?: number;
|
|
69820
69848
|
/**
|
|
69821
69849
|
* @remarks
|
|
69822
|
-
* The
|
|
69850
|
+
* The validity period of the activation code. Unit: hours.
|
|
69823
69851
|
*
|
|
69824
69852
|
* @example
|
|
69825
69853
|
* 4
|
|
@@ -72535,9 +72563,9 @@ export class DescribeCapacityReservationsRequestPrivatePoolOptions extends $tea.
|
|
|
72535
72563
|
export class DescribeCapacityReservationsRequestTag extends $tea.Model {
|
|
72536
72564
|
/**
|
|
72537
72565
|
* @remarks
|
|
72538
|
-
* The key of tag N. Valid values of N: 1 to 20.
|
|
72566
|
+
* The key of tag N of the capacity reservation. Valid values of N: 1 to 20.
|
|
72539
72567
|
*
|
|
72540
|
-
* If you specify a single tag to query resources, up to 1,000 resources
|
|
72568
|
+
* If you specify a single tag to query resources, up to 1,000 resources to which the tag is added are returned. If you specify multiple tags to query resources, up to 1,000 resources to which all specified tags are added are returned. To query more than 1,000 resources that have specified tags added, call the [ListTagResources](https://help.aliyun.com/document_detail/110425.html) operation.
|
|
72541
72569
|
*
|
|
72542
72570
|
* @example
|
|
72543
72571
|
* TestKey
|
|
@@ -72545,7 +72573,7 @@ export class DescribeCapacityReservationsRequestTag extends $tea.Model {
|
|
|
72545
72573
|
key?: string;
|
|
72546
72574
|
/**
|
|
72547
72575
|
* @remarks
|
|
72548
|
-
* The value of tag N. Valid values of N: 1 to 20.
|
|
72576
|
+
* The value of tag N of the capacity reservation. Valid values of N: 1 to 20.
|
|
72549
72577
|
*
|
|
72550
72578
|
* @example
|
|
72551
72579
|
* TestValue
|
|
@@ -72857,8 +72885,8 @@ export class DescribeCapacityReservationsResponseBodyCapacityReservationSetCapac
|
|
|
72857
72885
|
* @remarks
|
|
72858
72886
|
* The type of the private pool generated after the capacity reservation takes effect. Valid values:
|
|
72859
72887
|
*
|
|
72860
|
-
* * Open: open private pool.
|
|
72861
|
-
* * Target: targeted private pool.
|
|
72888
|
+
* * Open: open private pool. If you use the capacity reservation to create Elastic Compute Service (ECS) instances, the open private pool that is associated with the capacity reservation is automatically matched. If no capacity is available in the open private pool, resources in the public pool are automatically used to create the instances.
|
|
72889
|
+
* * Target: targeted private pool. If you use the capacity reservation to create ECS instances, the targeted private pool that is associated with the capacity reservation is automatically matched. If no capacity is available in the private pool, the instances fail to be created.
|
|
72862
72890
|
*
|
|
72863
72891
|
* @example
|
|
72864
72892
|
* Open
|
|
@@ -73801,8 +73829,6 @@ export class DescribeCommandsResponseBodyCommandsCommand extends $tea.Model {
|
|
|
73801
73829
|
* @remarks
|
|
73802
73830
|
* The launcher for script execution. The value cannot exceed 1 KB in length.
|
|
73803
73831
|
*
|
|
73804
|
-
* > This parameter is not publicly available.
|
|
73805
|
-
*
|
|
73806
73832
|
* @example
|
|
73807
73833
|
* python3 -u {{ACS::ScriptFileName|Ext(".py")}}
|
|
73808
73834
|
*/
|
|
@@ -79589,7 +79615,7 @@ export class DescribeImageFromFamilyResponseBodyImageDiskDeviceMappingsDiskDevic
|
|
|
79589
79615
|
* @remarks
|
|
79590
79616
|
* The device name of the disk. Example: /dev/xvdb.
|
|
79591
79617
|
*
|
|
79592
|
-
* > This parameter will be removed in the future.
|
|
79618
|
+
* > This parameter will be removed in the future. To ensure compatibility, we recommend that you use other parameters.
|
|
79593
79619
|
*
|
|
79594
79620
|
* @example
|
|
79595
79621
|
* /dev/xvdb
|
|
@@ -79597,7 +79623,7 @@ export class DescribeImageFromFamilyResponseBodyImageDiskDeviceMappingsDiskDevic
|
|
|
79597
79623
|
device?: string;
|
|
79598
79624
|
/**
|
|
79599
79625
|
* @remarks
|
|
79600
|
-
* The format
|
|
79626
|
+
* The image format.
|
|
79601
79627
|
*
|
|
79602
79628
|
* @example
|
|
79603
79629
|
* qcow2
|
|
@@ -79613,7 +79639,7 @@ export class DescribeImageFromFamilyResponseBodyImageDiskDeviceMappingsDiskDevic
|
|
|
79613
79639
|
importOSSBucket?: string;
|
|
79614
79640
|
/**
|
|
79615
79641
|
* @remarks
|
|
79616
|
-
* The OSS object
|
|
79642
|
+
* The OSS object to which the imported image belongs.
|
|
79617
79643
|
*
|
|
79618
79644
|
* @example
|
|
79619
79645
|
* imageImport
|
|
@@ -79629,7 +79655,7 @@ export class DescribeImageFromFamilyResponseBodyImageDiskDeviceMappingsDiskDevic
|
|
|
79629
79655
|
size?: string;
|
|
79630
79656
|
/**
|
|
79631
79657
|
* @remarks
|
|
79632
|
-
* The ID
|
|
79658
|
+
* The snapshot ID.
|
|
79633
79659
|
*
|
|
79634
79660
|
* @example
|
|
79635
79661
|
* s-bp17ot2q7x72ggtw****
|
|
@@ -79637,7 +79663,7 @@ export class DescribeImageFromFamilyResponseBodyImageDiskDeviceMappingsDiskDevic
|
|
|
79637
79663
|
snapshotId?: string;
|
|
79638
79664
|
/**
|
|
79639
79665
|
* @remarks
|
|
79640
|
-
* The type
|
|
79666
|
+
* The image type.
|
|
79641
79667
|
*
|
|
79642
79668
|
* @example
|
|
79643
79669
|
* custom
|
|
@@ -79694,7 +79720,7 @@ export class DescribeImageFromFamilyResponseBodyImageDiskDeviceMappings extends
|
|
|
79694
79720
|
export class DescribeImageFromFamilyResponseBodyImageTagsTag extends $tea.Model {
|
|
79695
79721
|
/**
|
|
79696
79722
|
* @remarks
|
|
79697
|
-
* The tag key of the image.
|
|
79723
|
+
* The tag key of the custom image.
|
|
79698
79724
|
*
|
|
79699
79725
|
* @example
|
|
79700
79726
|
* TestKey
|
|
@@ -79702,7 +79728,7 @@ export class DescribeImageFromFamilyResponseBodyImageTagsTag extends $tea.Model
|
|
|
79702
79728
|
tagKey?: string;
|
|
79703
79729
|
/**
|
|
79704
79730
|
* @remarks
|
|
79705
|
-
* The tag value of the image.
|
|
79731
|
+
* The tag value of the custom image.
|
|
79706
79732
|
*
|
|
79707
79733
|
* @example
|
|
79708
79734
|
* TestValue
|
|
@@ -79749,7 +79775,7 @@ export class DescribeImageFromFamilyResponseBodyImageTags extends $tea.Model {
|
|
|
79749
79775
|
export class DescribeImageFromFamilyResponseBodyImage extends $tea.Model {
|
|
79750
79776
|
/**
|
|
79751
79777
|
* @remarks
|
|
79752
|
-
* The image
|
|
79778
|
+
* The architecture of the image. Valid values:
|
|
79753
79779
|
*
|
|
79754
79780
|
* * i386
|
|
79755
79781
|
* * x86_64
|
|
@@ -79768,7 +79794,7 @@ export class DescribeImageFromFamilyResponseBodyImage extends $tea.Model {
|
|
|
79768
79794
|
creationTime?: string;
|
|
79769
79795
|
/**
|
|
79770
79796
|
* @remarks
|
|
79771
|
-
* The description of the
|
|
79797
|
+
* The description of the volume.
|
|
79772
79798
|
*
|
|
79773
79799
|
* @example
|
|
79774
79800
|
* testDescription
|
|
@@ -79776,7 +79802,7 @@ export class DescribeImageFromFamilyResponseBodyImage extends $tea.Model {
|
|
|
79776
79802
|
description?: string;
|
|
79777
79803
|
/**
|
|
79778
79804
|
* @remarks
|
|
79779
|
-
* The mappings between the
|
|
79805
|
+
* The mappings between the disk and the snapshot in the image.
|
|
79780
79806
|
*/
|
|
79781
79807
|
diskDeviceMappings?: DescribeImageFromFamilyResponseBodyImageDiskDeviceMappings;
|
|
79782
79808
|
/**
|
|
@@ -79789,7 +79815,7 @@ export class DescribeImageFromFamilyResponseBodyImage extends $tea.Model {
|
|
|
79789
79815
|
imageFamily?: string;
|
|
79790
79816
|
/**
|
|
79791
79817
|
* @remarks
|
|
79792
|
-
* The ID
|
|
79818
|
+
* The image ID.
|
|
79793
79819
|
*
|
|
79794
79820
|
* @example
|
|
79795
79821
|
* m-bp1g7004ksh0oeuc****
|
|
@@ -79807,10 +79833,10 @@ export class DescribeImageFromFamilyResponseBodyImage extends $tea.Model {
|
|
|
79807
79833
|
* @remarks
|
|
79808
79834
|
* The alias of the image owner. Valid values:
|
|
79809
79835
|
*
|
|
79810
|
-
*
|
|
79811
|
-
*
|
|
79812
|
-
*
|
|
79813
|
-
*
|
|
79836
|
+
* * system: public images provided by Alibaba Cloud
|
|
79837
|
+
* * self: your custom images
|
|
79838
|
+
* * others: shared images from other Alibaba Cloud accounts
|
|
79839
|
+
* * marketplace: Alibaba Cloud Marketplace images
|
|
79814
79840
|
*
|
|
79815
79841
|
* @example
|
|
79816
79842
|
* self
|
|
@@ -79818,7 +79844,7 @@ export class DescribeImageFromFamilyResponseBodyImage extends $tea.Model {
|
|
|
79818
79844
|
imageOwnerAlias?: string;
|
|
79819
79845
|
/**
|
|
79820
79846
|
* @remarks
|
|
79821
|
-
* The version
|
|
79847
|
+
* The image version.
|
|
79822
79848
|
*
|
|
79823
79849
|
* @example
|
|
79824
79850
|
* 2
|
|
@@ -79834,7 +79860,7 @@ export class DescribeImageFromFamilyResponseBodyImage extends $tea.Model {
|
|
|
79834
79860
|
isCopied?: boolean;
|
|
79835
79861
|
/**
|
|
79836
79862
|
* @remarks
|
|
79837
|
-
* Indicates whether the image
|
|
79863
|
+
* Indicates whether the custom image was shared to other Alibaba Cloud accounts.
|
|
79838
79864
|
*
|
|
79839
79865
|
* @example
|
|
79840
79866
|
* true
|
|
@@ -79842,7 +79868,7 @@ export class DescribeImageFromFamilyResponseBodyImage extends $tea.Model {
|
|
|
79842
79868
|
isSelfShared?: string;
|
|
79843
79869
|
/**
|
|
79844
79870
|
* @remarks
|
|
79845
|
-
* Indicates whether you have subscribed to the image corresponding to the
|
|
79871
|
+
* Indicates whether you have subscribed to the service terms of the image product corresponding to the image product code.
|
|
79846
79872
|
*
|
|
79847
79873
|
* @example
|
|
79848
79874
|
* false
|
|
@@ -79850,7 +79876,7 @@ export class DescribeImageFromFamilyResponseBodyImage extends $tea.Model {
|
|
|
79850
79876
|
isSubscribed?: boolean;
|
|
79851
79877
|
/**
|
|
79852
79878
|
* @remarks
|
|
79853
|
-
* Indicates whether
|
|
79879
|
+
* Indicates whether cloud-init is supported.
|
|
79854
79880
|
*
|
|
79855
79881
|
* @example
|
|
79856
79882
|
* true
|
|
@@ -79866,7 +79892,7 @@ export class DescribeImageFromFamilyResponseBodyImage extends $tea.Model {
|
|
|
79866
79892
|
isSupportIoOptimized?: boolean;
|
|
79867
79893
|
/**
|
|
79868
79894
|
* @remarks
|
|
79869
|
-
* The name of the operating system.
|
|
79895
|
+
* The display name of the operating system in Chinese.
|
|
79870
79896
|
*
|
|
79871
79897
|
* @example
|
|
79872
79898
|
* Alibaba Cloud Linux 2.1903
|
|
@@ -79876,8 +79902,8 @@ export class DescribeImageFromFamilyResponseBodyImage extends $tea.Model {
|
|
|
79876
79902
|
* @remarks
|
|
79877
79903
|
* The type of the operating system. Valid values:
|
|
79878
79904
|
*
|
|
79879
|
-
*
|
|
79880
|
-
*
|
|
79905
|
+
* * windows
|
|
79906
|
+
* * linux
|
|
79881
79907
|
*
|
|
79882
79908
|
* @example
|
|
79883
79909
|
* linux
|
|
@@ -79885,7 +79911,7 @@ export class DescribeImageFromFamilyResponseBodyImage extends $tea.Model {
|
|
|
79885
79911
|
OSType?: string;
|
|
79886
79912
|
/**
|
|
79887
79913
|
* @remarks
|
|
79888
|
-
* The
|
|
79914
|
+
* The operating system.
|
|
79889
79915
|
*
|
|
79890
79916
|
* @example
|
|
79891
79917
|
* Aliyun
|
|
@@ -79901,7 +79927,7 @@ export class DescribeImageFromFamilyResponseBodyImage extends $tea.Model {
|
|
|
79901
79927
|
productCode?: string;
|
|
79902
79928
|
/**
|
|
79903
79929
|
* @remarks
|
|
79904
|
-
* The image creation progress
|
|
79930
|
+
* The image creation progress in percentage.
|
|
79905
79931
|
*
|
|
79906
79932
|
* @example
|
|
79907
79933
|
* 100
|
|
@@ -79917,12 +79943,12 @@ export class DescribeImageFromFamilyResponseBodyImage extends $tea.Model {
|
|
|
79917
79943
|
size?: number;
|
|
79918
79944
|
/**
|
|
79919
79945
|
* @remarks
|
|
79920
|
-
* The
|
|
79946
|
+
* The state of the image. Valid values:
|
|
79921
79947
|
*
|
|
79922
|
-
*
|
|
79923
|
-
*
|
|
79924
|
-
*
|
|
79925
|
-
*
|
|
79948
|
+
* * UnAvailable
|
|
79949
|
+
* * Available
|
|
79950
|
+
* * Creating
|
|
79951
|
+
* * CreateFailed
|
|
79926
79952
|
*
|
|
79927
79953
|
* @example
|
|
79928
79954
|
* Available
|
|
@@ -79930,15 +79956,15 @@ export class DescribeImageFromFamilyResponseBodyImage extends $tea.Model {
|
|
|
79930
79956
|
status?: string;
|
|
79931
79957
|
/**
|
|
79932
79958
|
* @remarks
|
|
79933
|
-
*
|
|
79959
|
+
* The tags of the image.
|
|
79934
79960
|
*/
|
|
79935
79961
|
tags?: DescribeImageFromFamilyResponseBodyImageTags;
|
|
79936
79962
|
/**
|
|
79937
79963
|
* @remarks
|
|
79938
79964
|
* Indicates whether the image has been used to create ECS instances. Valid values:
|
|
79939
79965
|
*
|
|
79940
|
-
*
|
|
79941
|
-
*
|
|
79966
|
+
* * instance: The image was used to create one or more ECS instances.
|
|
79967
|
+
* * none: The image was not used to create ECS instances.
|
|
79942
79968
|
*
|
|
79943
79969
|
* @example
|
|
79944
79970
|
* none
|
|
@@ -80008,7 +80034,7 @@ export class DescribeImageFromFamilyResponseBodyImage extends $tea.Model {
|
|
|
80008
80034
|
export class DescribeImagePipelineExecutionsRequestTag extends $tea.Model {
|
|
80009
80035
|
/**
|
|
80010
80036
|
* @remarks
|
|
80011
|
-
*
|
|
80037
|
+
* The key of tag N of the image creation task. Valid values of N: 1 to 20.
|
|
80012
80038
|
*
|
|
80013
80039
|
* @example
|
|
80014
80040
|
* null
|
|
@@ -80016,7 +80042,7 @@ export class DescribeImagePipelineExecutionsRequestTag extends $tea.Model {
|
|
|
80016
80042
|
key?: string;
|
|
80017
80043
|
/**
|
|
80018
80044
|
* @remarks
|
|
80019
|
-
*
|
|
80045
|
+
* The value of tag N of the image creation task. Valid values of N: 1 to 20.
|
|
80020
80046
|
*
|
|
80021
80047
|
* @example
|
|
80022
80048
|
* null
|
|
@@ -80044,7 +80070,7 @@ export class DescribeImagePipelineExecutionsRequestTag extends $tea.Model {
|
|
|
80044
80070
|
export class DescribeImagePipelineExecutionsResponseBodyImagePipelineExecutionImagePipelineExecutionSetTagsTag extends $tea.Model {
|
|
80045
80071
|
/**
|
|
80046
80072
|
* @remarks
|
|
80047
|
-
*
|
|
80073
|
+
* The tag key of the image creation task.
|
|
80048
80074
|
*
|
|
80049
80075
|
* @example
|
|
80050
80076
|
* null
|
|
@@ -80052,7 +80078,7 @@ export class DescribeImagePipelineExecutionsResponseBodyImagePipelineExecutionIm
|
|
|
80052
80078
|
tagKey?: string;
|
|
80053
80079
|
/**
|
|
80054
80080
|
* @remarks
|
|
80055
|
-
*
|
|
80081
|
+
* The tag value of the image creation task.
|
|
80056
80082
|
*
|
|
80057
80083
|
* @example
|
|
80058
80084
|
* null
|
|
@@ -80157,13 +80183,18 @@ export class DescribeImagePipelineExecutionsResponseBodyImagePipelineExecutionIm
|
|
|
80157
80183
|
* @remarks
|
|
80158
80184
|
* The status of the image creation task. Valid values:
|
|
80159
80185
|
*
|
|
80160
|
-
* *
|
|
80161
|
-
* *
|
|
80162
|
-
* *
|
|
80163
|
-
* *
|
|
80164
|
-
* *
|
|
80165
|
-
* *
|
|
80166
|
-
* *
|
|
80186
|
+
* * PREPARING: Resources, such as intermediate instances, are being created.
|
|
80187
|
+
* * REPAIRING: The source image is being repaired.
|
|
80188
|
+
* * BUILDING: The user-defined commands are being run and an image is being created.
|
|
80189
|
+
* * TESTING: The user-defined test commands are being run.
|
|
80190
|
+
* * DISTRIBUTING: The created image is being copied and shared.
|
|
80191
|
+
* * RELEASING: The temporary resources generated during the image creation process are being released.
|
|
80192
|
+
* * SUCCESS The image creation task is completed.
|
|
80193
|
+
* * PARTITION_SUCCESS: The image creation task is partially completed. The image is created, but exceptions may occur when the image was copied or shared or when temporary resources were released.
|
|
80194
|
+
* * FAILED: The image creation task fails.
|
|
80195
|
+
* * TEST_FAILED: The image is created, but the test fails.
|
|
80196
|
+
* * CANCELLING: The image creation task is being canceled.
|
|
80197
|
+
* * CANCELLED: The image creation task is canceled.
|
|
80167
80198
|
*
|
|
80168
80199
|
* @example
|
|
80169
80200
|
* BUILDING
|
|
@@ -80171,7 +80202,7 @@ export class DescribeImagePipelineExecutionsResponseBodyImagePipelineExecutionIm
|
|
|
80171
80202
|
status?: string;
|
|
80172
80203
|
/**
|
|
80173
80204
|
* @remarks
|
|
80174
|
-
*
|
|
80205
|
+
* The tags of the image creation task.
|
|
80175
80206
|
*/
|
|
80176
80207
|
tags?: DescribeImagePipelineExecutionsResponseBodyImagePipelineExecutionImagePipelineExecutionSetTags;
|
|
80177
80208
|
static names(): { [key: string]: string } {
|
|
@@ -81008,6 +81039,10 @@ export class DescribeImagesResponseBodyImagesImageDiskDeviceMappingsDiskDeviceMa
|
|
|
81008
81039
|
* /dev/xvda
|
|
81009
81040
|
*/
|
|
81010
81041
|
device?: string;
|
|
81042
|
+
/**
|
|
81043
|
+
* @example
|
|
81044
|
+
* true
|
|
81045
|
+
*/
|
|
81011
81046
|
encrypted?: boolean;
|
|
81012
81047
|
/**
|
|
81013
81048
|
* @remarks
|
|
@@ -81130,6 +81165,10 @@ export class DescribeImagesResponseBodyImagesImageDiskDeviceMappings extends $te
|
|
|
81130
81165
|
export class DescribeImagesResponseBodyImagesImageFeatures extends $tea.Model {
|
|
81131
81166
|
cpuOnlineDowngrade?: string;
|
|
81132
81167
|
cpuOnlineUpgrade?: string;
|
|
81168
|
+
/**
|
|
81169
|
+
* @example
|
|
81170
|
+
* v2
|
|
81171
|
+
*/
|
|
81133
81172
|
imdsSupport?: string;
|
|
81134
81173
|
memoryOnlineDowngrade?: string;
|
|
81135
81174
|
memoryOnlineUpgrade?: string;
|
|
@@ -83159,7 +83198,7 @@ export class DescribeInstanceModificationPriceResponseBodyPriceInfo extends $tea
|
|
|
83159
83198
|
price?: DescribeInstanceModificationPriceResponseBodyPriceInfoPrice;
|
|
83160
83199
|
/**
|
|
83161
83200
|
* @remarks
|
|
83162
|
-
* The promotion rules.
|
|
83201
|
+
* The information about the promotion rules.
|
|
83163
83202
|
*/
|
|
83164
83203
|
rules?: DescribeInstanceModificationPriceResponseBodyPriceInfoRules;
|
|
83165
83204
|
static names(): { [key: string]: string } {
|
|
@@ -83667,6 +83706,7 @@ export class DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeCpuOption
|
|
|
83667
83706
|
}
|
|
83668
83707
|
|
|
83669
83708
|
export class DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeEnhancedNetwork extends $tea.Model {
|
|
83709
|
+
rssSupport?: boolean;
|
|
83670
83710
|
/**
|
|
83671
83711
|
* @remarks
|
|
83672
83712
|
* > This parameter is not publicly available.
|
|
@@ -83685,6 +83725,7 @@ export class DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeEnhancedN
|
|
|
83685
83725
|
vfQueueNumberPerEni?: number;
|
|
83686
83726
|
static names(): { [key: string]: string } {
|
|
83687
83727
|
return {
|
|
83728
|
+
rssSupport: 'RssSupport',
|
|
83688
83729
|
sriovSupport: 'SriovSupport',
|
|
83689
83730
|
vfQueueNumberPerEni: 'VfQueueNumberPerEni',
|
|
83690
83731
|
};
|
|
@@ -83692,6 +83733,7 @@ export class DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeEnhancedN
|
|
|
83692
83733
|
|
|
83693
83734
|
static types(): { [key: string]: any } {
|
|
83694
83735
|
return {
|
|
83736
|
+
rssSupport: 'boolean',
|
|
83695
83737
|
sriovSupport: 'boolean',
|
|
83696
83738
|
vfQueueNumberPerEni: 'number',
|
|
83697
83739
|
};
|
|
@@ -89861,6 +89903,7 @@ export class DescribeNetworkInterfaceAttributeResponseBodyConnectionTrackingConf
|
|
|
89861
89903
|
}
|
|
89862
89904
|
|
|
89863
89905
|
export class DescribeNetworkInterfaceAttributeResponseBodyEnhancedNetwork extends $tea.Model {
|
|
89906
|
+
enableRss?: boolean;
|
|
89864
89907
|
/**
|
|
89865
89908
|
* @remarks
|
|
89866
89909
|
* This parameter is not publicly available.
|
|
@@ -89871,12 +89914,14 @@ export class DescribeNetworkInterfaceAttributeResponseBodyEnhancedNetwork extend
|
|
|
89871
89914
|
enableSriov?: boolean;
|
|
89872
89915
|
static names(): { [key: string]: string } {
|
|
89873
89916
|
return {
|
|
89917
|
+
enableRss: 'EnableRss',
|
|
89874
89918
|
enableSriov: 'EnableSriov',
|
|
89875
89919
|
};
|
|
89876
89920
|
}
|
|
89877
89921
|
|
|
89878
89922
|
static types(): { [key: string]: any } {
|
|
89879
89923
|
return {
|
|
89924
|
+
enableRss: 'boolean',
|
|
89880
89925
|
enableSriov: 'boolean',
|
|
89881
89926
|
};
|
|
89882
89927
|
}
|
|
@@ -92785,8 +92830,8 @@ export class DescribeReservedInstanceAutoRenewAttributeResponseBodyReservedInsta
|
|
|
92785
92830
|
* @remarks
|
|
92786
92831
|
* The auto-renewal status of the reserved instance. Valid values:
|
|
92787
92832
|
*
|
|
92788
|
-
* * AutoRenewal:
|
|
92789
|
-
* * Normal:
|
|
92833
|
+
* * AutoRenewal: automatically renews the reserved instance.
|
|
92834
|
+
* * Normal: manually renews the reserved instances.
|
|
92790
92835
|
*
|
|
92791
92836
|
* @example
|
|
92792
92837
|
* AutoRenewal
|
|
@@ -94353,7 +94398,7 @@ export class DescribeSecurityGroupAttributeResponseBodyPermissions extends $tea.
|
|
|
94353
94398
|
export class DescribeSecurityGroupReferencesResponseBodySecurityGroupReferencesSecurityGroupReferenceReferencingSecurityGroupsReferencingSecurityGroup extends $tea.Model {
|
|
94354
94399
|
/**
|
|
94355
94400
|
* @remarks
|
|
94356
|
-
* The ID of the Alibaba Cloud account to which the security group belongs.
|
|
94401
|
+
* The ID of the Alibaba Cloud account to which the security group whose rules reference the specified security group belongs.
|
|
94357
94402
|
*
|
|
94358
94403
|
* @example
|
|
94359
94404
|
* 123456****
|
|
@@ -94361,7 +94406,7 @@ export class DescribeSecurityGroupReferencesResponseBodySecurityGroupReferencesS
|
|
|
94361
94406
|
aliUid?: string;
|
|
94362
94407
|
/**
|
|
94363
94408
|
* @remarks
|
|
94364
|
-
* The ID of the security group.
|
|
94409
|
+
* The ID of the security group whose rules reference the specified security group.
|
|
94365
94410
|
*
|
|
94366
94411
|
* @example
|
|
94367
94412
|
* sg-bp67acfmxazb4j****
|
|
@@ -94408,7 +94453,7 @@ export class DescribeSecurityGroupReferencesResponseBodySecurityGroupReferencesS
|
|
|
94408
94453
|
export class DescribeSecurityGroupReferencesResponseBodySecurityGroupReferencesSecurityGroupReference extends $tea.Model {
|
|
94409
94454
|
/**
|
|
94410
94455
|
* @remarks
|
|
94411
|
-
* Details about the security groups whose rules
|
|
94456
|
+
* Details about the security groups whose rules reference the specified security group.
|
|
94412
94457
|
*/
|
|
94413
94458
|
referencingSecurityGroups?: DescribeSecurityGroupReferencesResponseBodySecurityGroupReferencesSecurityGroupReferenceReferencingSecurityGroups;
|
|
94414
94459
|
/**
|
|
@@ -95820,7 +95865,7 @@ export class DescribeSnapshotMonitorDataResponseBodyMonitorData extends $tea.Mod
|
|
|
95820
95865
|
export class DescribeSnapshotPackageResponseBodySnapshotPackagesSnapshotPackage extends $tea.Model {
|
|
95821
95866
|
/**
|
|
95822
95867
|
* @remarks
|
|
95823
|
-
* The
|
|
95868
|
+
* The name of the OSS storage plan.
|
|
95824
95869
|
*
|
|
95825
95870
|
* @example
|
|
95826
95871
|
* testDisplayName
|
|
@@ -95828,20 +95873,23 @@ export class DescribeSnapshotPackageResponseBodySnapshotPackagesSnapshotPackage
|
|
|
95828
95873
|
displayName?: string;
|
|
95829
95874
|
/**
|
|
95830
95875
|
* @remarks
|
|
95831
|
-
* The
|
|
95876
|
+
* The time when the OSS storage plan expires. The time follows the [ISO 8601](https://help.aliyun.com/document_detail/25696.html) standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
|
|
95832
95877
|
*
|
|
95833
95878
|
* @example
|
|
95834
95879
|
* 2018-11-30T06:32:31Z
|
|
95835
95880
|
*/
|
|
95836
95881
|
endTime?: string;
|
|
95837
95882
|
/**
|
|
95883
|
+
* @remarks
|
|
95884
|
+
* The maximum storage capacity offered by the OSS storage plan.
|
|
95885
|
+
*
|
|
95838
95886
|
* @example
|
|
95839
95887
|
* 500
|
|
95840
95888
|
*/
|
|
95841
95889
|
initCapacity?: number;
|
|
95842
95890
|
/**
|
|
95843
95891
|
* @remarks
|
|
95844
|
-
*
|
|
95892
|
+
* The time when the OSS storage plan was purchased. The time follows the [ISO 8601](https://help.aliyun.com/document_detail/25696.html) standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
|
|
95845
95893
|
*
|
|
95846
95894
|
* @example
|
|
95847
95895
|
* 2017-11-30T06:32:31Z
|
|
@@ -97448,7 +97496,7 @@ export class DescribeTasksResponseBodyTaskSetTask extends $tea.Model {
|
|
|
97448
97496
|
creationTime?: string;
|
|
97449
97497
|
/**
|
|
97450
97498
|
* @remarks
|
|
97451
|
-
* The time when the task
|
|
97499
|
+
* The time when the task ended.
|
|
97452
97500
|
*
|
|
97453
97501
|
* @example
|
|
97454
97502
|
* 2020-11-24T12:50Z
|
|
@@ -97456,7 +97504,7 @@ export class DescribeTasksResponseBodyTaskSetTask extends $tea.Model {
|
|
|
97456
97504
|
finishedTime?: string;
|
|
97457
97505
|
/**
|
|
97458
97506
|
* @remarks
|
|
97459
|
-
* The ID
|
|
97507
|
+
* The resource ID.
|
|
97460
97508
|
*
|
|
97461
97509
|
* @example
|
|
97462
97510
|
* m-bp1i8huqm5u7****
|
|
@@ -97472,7 +97520,7 @@ export class DescribeTasksResponseBodyTaskSetTask extends $tea.Model {
|
|
|
97472
97520
|
supportCancel?: string;
|
|
97473
97521
|
/**
|
|
97474
97522
|
* @remarks
|
|
97475
|
-
* The name of the task.
|
|
97523
|
+
* The name of the operation that generates the task.
|
|
97476
97524
|
*
|
|
97477
97525
|
* @example
|
|
97478
97526
|
* ImportImage
|
|
@@ -97480,7 +97528,7 @@ export class DescribeTasksResponseBodyTaskSetTask extends $tea.Model {
|
|
|
97480
97528
|
taskAction?: string;
|
|
97481
97529
|
/**
|
|
97482
97530
|
* @remarks
|
|
97483
|
-
* The ID
|
|
97531
|
+
* The task ID.
|
|
97484
97532
|
*
|
|
97485
97533
|
* @example
|
|
97486
97534
|
* t-bp1hvgwromzv32iq****
|
|
@@ -97488,7 +97536,7 @@ export class DescribeTasksResponseBodyTaskSetTask extends $tea.Model {
|
|
|
97488
97536
|
taskId?: string;
|
|
97489
97537
|
/**
|
|
97490
97538
|
* @remarks
|
|
97491
|
-
* The
|
|
97539
|
+
* The task status.
|
|
97492
97540
|
*
|
|
97493
97541
|
* @example
|
|
97494
97542
|
* Finished
|
|
@@ -100305,13 +100353,28 @@ export class ModifyElasticityAssuranceRequestPrivatePoolOptions extends $tea.Mod
|
|
|
100305
100353
|
}
|
|
100306
100354
|
|
|
100307
100355
|
export class ModifyImageAttributeRequestFeatures extends $tea.Model {
|
|
100356
|
+
/**
|
|
100357
|
+
* @remarks
|
|
100358
|
+
* The image metadata access mode. Valid values:
|
|
100359
|
+
*
|
|
100360
|
+
* * v1: You cannot set the image metadata access mode to security hardening when you create instances from the image.
|
|
100361
|
+
*
|
|
100362
|
+
* * v2: You can set the image metadata access mode to security hardening when you create instances from the image.
|
|
100363
|
+
*
|
|
100364
|
+
* **
|
|
100365
|
+
*
|
|
100366
|
+
* **Note** You cannot change the value of ImdsSupport from v2 to v1 for an image. To change the value of ImdsSupport from v2 to v1 for an image, use the snapshots associated with the image to create an image and set ImdsSupport to v1 for the new image.
|
|
100367
|
+
*
|
|
100368
|
+
* @example
|
|
100369
|
+
* v2
|
|
100370
|
+
*/
|
|
100308
100371
|
imdsSupport?: string;
|
|
100309
100372
|
/**
|
|
100310
100373
|
* @remarks
|
|
100311
|
-
* Specifies whether
|
|
100374
|
+
* Specifies whether the image supports the Non-Volatile Memory Express (NVMe) protocol. Valid values:
|
|
100312
100375
|
*
|
|
100313
|
-
* * supported: The image supports NVMe. Instances created from
|
|
100314
|
-
* * unsupported: The image does not support NVMe. Instances created from
|
|
100376
|
+
* * supported: The image supports the NVMe protocol. Instances created from the image also support the NVMe protocol.
|
|
100377
|
+
* * unsupported: The image does not support the NVMe protocol. Instances created from the image do not support the NVMe protocol.
|
|
100315
100378
|
*
|
|
100316
100379
|
* @example
|
|
100317
100380
|
* supported
|
|
@@ -100391,16 +100454,16 @@ export class ModifyInstanceAttributeRequestCpuOptions extends $tea.Model {
|
|
|
100391
100454
|
* @remarks
|
|
100392
100455
|
* The CPU topology type of the instance. Valid values:
|
|
100393
100456
|
*
|
|
100394
|
-
* *
|
|
100395
|
-
* *
|
|
100457
|
+
* * ContinuousCoreToHTMapping: The Hyper-Threading (HT) technology allows continuous threads to run on the same core in the CPU topology of the instance.
|
|
100458
|
+
* * DiscreteCoreToHTMapping: The HT technology allows discrete threads to run on the same core.
|
|
100396
100459
|
*
|
|
100397
|
-
*
|
|
100460
|
+
* This parameter is left empty by default.
|
|
100398
100461
|
*
|
|
100399
|
-
*
|
|
100462
|
+
* Take note of the following items:
|
|
100400
100463
|
*
|
|
100401
|
-
* *
|
|
100464
|
+
* * The instance must be in the Stopped (`Stopped`) state.
|
|
100402
100465
|
*
|
|
100403
|
-
*
|
|
100466
|
+
* > This parameter is supported only for specific instance families. For information about the supported instance families, see [View and modify CPU topologies](https://help.aliyun.com/document_detail/2636059.html).
|
|
100404
100467
|
*
|
|
100405
100468
|
* @example
|
|
100406
100469
|
* DiscreteCoreToHTMapping
|
|
@@ -100828,6 +100891,7 @@ export class ModifyNetworkInterfaceAttributeRequestConnectionTrackingConfigurati
|
|
|
100828
100891
|
}
|
|
100829
100892
|
|
|
100830
100893
|
export class ModifyNetworkInterfaceAttributeRequestEnhancedNetwork extends $tea.Model {
|
|
100894
|
+
enableRss?: boolean;
|
|
100831
100895
|
/**
|
|
100832
100896
|
* @remarks
|
|
100833
100897
|
* This parameter is not publicly available.
|
|
@@ -100838,12 +100902,14 @@ export class ModifyNetworkInterfaceAttributeRequestEnhancedNetwork extends $tea.
|
|
|
100838
100902
|
enableSriov?: boolean;
|
|
100839
100903
|
static names(): { [key: string]: string } {
|
|
100840
100904
|
return {
|
|
100905
|
+
enableRss: 'EnableRss',
|
|
100841
100906
|
enableSriov: 'EnableSriov',
|
|
100842
100907
|
};
|
|
100843
100908
|
}
|
|
100844
100909
|
|
|
100845
100910
|
static types(): { [key: string]: any } {
|
|
100846
100911
|
return {
|
|
100912
|
+
enableRss: 'boolean',
|
|
100847
100913
|
enableSriov: 'boolean',
|
|
100848
100914
|
};
|
|
100849
100915
|
}
|
|
@@ -101831,8 +101897,6 @@ export class RevokeSecurityGroupRequestPermissions extends $tea.Model {
|
|
|
101831
101897
|
* @remarks
|
|
101832
101898
|
* The description of the security group rule. The description must be 1 to 512 characters in length.
|
|
101833
101899
|
*
|
|
101834
|
-
* Valid values of N: 1 to 100.
|
|
101835
|
-
*
|
|
101836
101900
|
* @example
|
|
101837
101901
|
* This is description.
|
|
101838
101902
|
*/
|
|
@@ -101843,8 +101907,6 @@ export class RevokeSecurityGroupRequestPermissions extends $tea.Model {
|
|
|
101843
101907
|
*
|
|
101844
101908
|
* This parameter is used to support quintuple rules. For more information, see [Security group quintuple rules](https://help.aliyun.com/document_detail/97439.html).
|
|
101845
101909
|
*
|
|
101846
|
-
* Valid values of N: 1 to 100.
|
|
101847
|
-
*
|
|
101848
101910
|
* @example
|
|
101849
101911
|
* 10.0.0.0/8
|
|
101850
101912
|
*/
|
|
@@ -101860,8 +101922,6 @@ export class RevokeSecurityGroupRequestPermissions extends $tea.Model {
|
|
|
101860
101922
|
* * GRE.
|
|
101861
101923
|
* * ALL: All protocols are supported.
|
|
101862
101924
|
*
|
|
101863
|
-
* Valid values of N: 1 to 100.
|
|
101864
|
-
*
|
|
101865
101925
|
* @example
|
|
101866
101926
|
* TCP
|
|
101867
101927
|
*/
|
|
@@ -101872,9 +101932,7 @@ export class RevokeSecurityGroupRequestPermissions extends $tea.Model {
|
|
|
101872
101932
|
*
|
|
101873
101933
|
* This parameter is used to support quintuple rules. For more information, see [Security group quintuple rules](https://help.aliyun.com/document_detail/97439.html).
|
|
101874
101934
|
*
|
|
101875
|
-
*
|
|
101876
|
-
*
|
|
101877
|
-
* > This parameter is valid only for ECS instances that reside in VPCs and support IPv6 CIDR blocks. You cannot specify both this parameter and `DestCidrIp` in the same request.
|
|
101935
|
+
* > This parameter is valid only for ECS instances that reside in VPCs and support IPv6 CIDR blocks. You cannot specify this parameter and `DestCidrIp` in the same request.
|
|
101878
101936
|
*
|
|
101879
101937
|
* @example
|
|
101880
101938
|
* 2001:db8:1233:1a00::***
|
|
@@ -101884,8 +101942,6 @@ export class RevokeSecurityGroupRequestPermissions extends $tea.Model {
|
|
|
101884
101942
|
* @remarks
|
|
101885
101943
|
* The source IPv6 CIDR block of the security group rule. IPv6 CIDR blocks and IPv6 addresses are supported.
|
|
101886
101944
|
*
|
|
101887
|
-
* Valid values of N: 1 to 100.
|
|
101888
|
-
*
|
|
101889
101945
|
* > This parameter is valid only for Elastic Compute Service (ECS) instances that reside in virtual private clouds (VPCs) and support IPv6 CIDR blocks. You cannot specify both this parameter and `SourceCidrIp` in the same request.
|
|
101890
101946
|
*
|
|
101891
101947
|
* @example
|
|
@@ -101905,8 +101961,6 @@ export class RevokeSecurityGroupRequestPermissions extends $tea.Model {
|
|
|
101905
101961
|
*
|
|
101906
101962
|
* Default value: internet.
|
|
101907
101963
|
*
|
|
101908
|
-
* Valid values of N: 1 to 100.
|
|
101909
|
-
*
|
|
101910
101964
|
* @example
|
|
101911
101965
|
* intranet
|
|
101912
101966
|
*/
|
|
@@ -101920,8 +101974,6 @@ export class RevokeSecurityGroupRequestPermissions extends $tea.Model {
|
|
|
101920
101974
|
*
|
|
101921
101975
|
* Default value: accept.
|
|
101922
101976
|
*
|
|
101923
|
-
* Valid values of N: 1 to 100.
|
|
101924
|
-
*
|
|
101925
101977
|
* @example
|
|
101926
101978
|
* accept
|
|
101927
101979
|
*/
|
|
@@ -101930,13 +101982,11 @@ export class RevokeSecurityGroupRequestPermissions extends $tea.Model {
|
|
|
101930
101982
|
* @remarks
|
|
101931
101983
|
* The range of destination port numbers for the protocols specified in the security group rule. Valid values:
|
|
101932
101984
|
*
|
|
101933
|
-
* * If you set IpProtocol to TCP or UDP, the port number range is 1 to 65535. Specify a port
|
|
101985
|
+
* * If you set IpProtocol to TCP or UDP, the port number range is 1 to 65535. Specify a port range in the format of \\<Start port number>/\\<End port number>. Example: 1/200.
|
|
101934
101986
|
* * If you set IpProtocol to ICMP, the port number range is -1/-1.
|
|
101935
101987
|
* * If you set IpProtocol to GRE, the port number range is -1/-1.
|
|
101936
101988
|
* * If you set IpProtocol to ALL, the port number range is -1/-1, which indicates all port numbers.
|
|
101937
101989
|
*
|
|
101938
|
-
* Valid values of N: 1 to 100.
|
|
101939
|
-
*
|
|
101940
101990
|
* @example
|
|
101941
101991
|
* 1/200
|
|
101942
101992
|
*/
|
|
@@ -101947,8 +101997,6 @@ export class RevokeSecurityGroupRequestPermissions extends $tea.Model {
|
|
|
101947
101997
|
*
|
|
101948
101998
|
* Default value: 1.
|
|
101949
101999
|
*
|
|
101950
|
-
* Valid values of N: 1 to 100.
|
|
101951
|
-
*
|
|
101952
102000
|
* @example
|
|
101953
102001
|
* 1
|
|
101954
102002
|
*/
|
|
@@ -101957,8 +102005,6 @@ export class RevokeSecurityGroupRequestPermissions extends $tea.Model {
|
|
|
101957
102005
|
* @remarks
|
|
101958
102006
|
* The source IPv4 CIDR block of the security group rule. IPv4 CIDR blocks and IPv4 addresses are supported.
|
|
101959
102007
|
*
|
|
101960
|
-
* Valid values of N: 1 to 100.
|
|
101961
|
-
*
|
|
101962
102008
|
* @example
|
|
101963
102009
|
* 10.0.0.0/8
|
|
101964
102010
|
*/
|
|
@@ -101971,12 +102017,10 @@ export class RevokeSecurityGroupRequestPermissions extends $tea.Model {
|
|
|
101971
102017
|
* * If you specify `SourceGroupId` but do not specify `SourceCidrIp` or `Ipv6SourceCidrIp`, you must set NicType to intranet.
|
|
101972
102018
|
* * If you specify both `SourceGroupId` and `SourceCidrIp`, `SourceCidrIp` takes precedence.
|
|
101973
102019
|
*
|
|
101974
|
-
* When you specify
|
|
101975
|
-
*
|
|
101976
|
-
* * In advanced security groups, security groups cannot be used as authorization objects.
|
|
101977
|
-
* * In each basic security group, up to 20 security groups can be used as authorization objects in security group rules.
|
|
102020
|
+
* When you specify SourceGroupId, take note of the following items:
|
|
101978
102021
|
*
|
|
101979
|
-
*
|
|
102022
|
+
* * Advanced security groups do not support security group rules that reference security groups as authorization objects.
|
|
102023
|
+
* * Each basic security group can contain up to 20 security group rules that reference security groups as authorization objects.
|
|
101980
102024
|
*
|
|
101981
102025
|
* @example
|
|
101982
102026
|
* sg-bp67acfmxa123b****
|
|
@@ -101989,8 +102033,6 @@ export class RevokeSecurityGroupRequestPermissions extends $tea.Model {
|
|
|
101989
102033
|
* * If both `SourceGroupOwnerAccount` and `SourceGroupOwnerId` are empty, access control on another security group in your Alibaba Cloud account is removed.
|
|
101990
102034
|
* * If you specify `SourceCidrIp`, `SourceGroupOwnerAccount` is ignored.
|
|
101991
102035
|
*
|
|
101992
|
-
* Valid values of N: 1 to 100.
|
|
101993
|
-
*
|
|
101994
102036
|
* @example
|
|
101995
102037
|
* Test@aliyun.com
|
|
101996
102038
|
*/
|
|
@@ -102002,8 +102044,6 @@ export class RevokeSecurityGroupRequestPermissions extends $tea.Model {
|
|
|
102002
102044
|
* * If both `SourceGroupOwnerId` and `SourceGroupOwnerAccount` are empty, access control on another security group in your Alibaba Cloud account is removed.
|
|
102003
102045
|
* * If you specify `SourceCidrIp`, `SourceGroupOwnerId` is ignored.
|
|
102004
102046
|
*
|
|
102005
|
-
* Valid values of N: 1 to 100.
|
|
102006
|
-
*
|
|
102007
102047
|
* @example
|
|
102008
102048
|
* 12345678910
|
|
102009
102049
|
*/
|
|
@@ -102019,8 +102059,6 @@ export class RevokeSecurityGroupRequestPermissions extends $tea.Model {
|
|
|
102019
102059
|
*
|
|
102020
102060
|
* This parameter is used to support quintuple rules. For more information, see [Security group quintuple rules](https://help.aliyun.com/document_detail/97439.html).
|
|
102021
102061
|
*
|
|
102022
|
-
* Valid values of N: 1 to 100.
|
|
102023
|
-
*
|
|
102024
102062
|
* @example
|
|
102025
102063
|
* 80/80
|
|
102026
102064
|
*/
|
|
@@ -102034,8 +102072,6 @@ export class RevokeSecurityGroupRequestPermissions extends $tea.Model {
|
|
|
102034
102072
|
* * If a security group resides in the classic network, you cannot specify prefix lists in the rules of the security group. For information about the limits on security groups and prefix lists, see the [Security group limits](~~25412#SecurityGroupQuota1~~) section of the "Limits and quotas" topic.
|
|
102035
102073
|
* * If you specify `SourceCidrIp`, `Ipv6SourceCidrIp`, or `SourceGroupId`, this parameter is ignored.
|
|
102036
102074
|
*
|
|
102037
|
-
* Valid values of N: 1 to 100.
|
|
102038
|
-
*
|
|
102039
102075
|
* @example
|
|
102040
102076
|
* pl-x1j1k5ykzqlixdcy****
|
|
102041
102077
|
*/
|
|
@@ -102090,8 +102126,6 @@ export class RevokeSecurityGroupEgressRequestPermissions extends $tea.Model {
|
|
|
102090
102126
|
* @remarks
|
|
102091
102127
|
* The description of the security group rule. The description must be 1 to 512 characters in length.
|
|
102092
102128
|
*
|
|
102093
|
-
* Valid values of N: 1 to 100.
|
|
102094
|
-
*
|
|
102095
102129
|
* @example
|
|
102096
102130
|
* This is description.
|
|
102097
102131
|
*/
|
|
@@ -102100,8 +102134,6 @@ export class RevokeSecurityGroupEgressRequestPermissions extends $tea.Model {
|
|
|
102100
102134
|
* @remarks
|
|
102101
102135
|
* The destination IPv4 CIDR block of the security group rule. IPv4 CIDR blocks and IPv4 addresses are supported.
|
|
102102
102136
|
*
|
|
102103
|
-
* Valid values of N: 1 to 100.
|
|
102104
|
-
*
|
|
102105
102137
|
* @example
|
|
102106
102138
|
* 10.0.0.0/8
|
|
102107
102139
|
*/
|
|
@@ -102114,12 +102146,10 @@ export class RevokeSecurityGroupEgressRequestPermissions extends $tea.Model {
|
|
|
102114
102146
|
* * If you specify `DestGroupId` but do not specify `DestCidrIp`, you must set `NicType` to intranet.
|
|
102115
102147
|
* * If you specify both `DestGroupId` and `DestCidrIp`, `DestCidrIp` takes precedence.
|
|
102116
102148
|
*
|
|
102117
|
-
* When you
|
|
102118
|
-
*
|
|
102119
|
-
* * In advanced security groups, security groups cannot be used as authorization objects.
|
|
102120
|
-
* * In each basic security group, up to 20 security groups can be used as authorization objects in security group rules.
|
|
102149
|
+
* When you call this operation, take note of the following items:
|
|
102121
102150
|
*
|
|
102122
|
-
*
|
|
102151
|
+
* * Advanced security groups do not support security group rules that reference security groups as authorization objects.
|
|
102152
|
+
* * Each basic security group can contain up to 20 security group rules that reference security groups as authorization objects.
|
|
102123
102153
|
*
|
|
102124
102154
|
* @example
|
|
102125
102155
|
* sg-bp67acfmxa123b****
|
|
@@ -102132,8 +102162,6 @@ export class RevokeSecurityGroupEgressRequestPermissions extends $tea.Model {
|
|
|
102132
102162
|
* * If both `DestGroupOwnerAccount` and `DestGroupOwnerId` are empty, access control configurations are removed from another security group managed by your Alibaba Cloud account.
|
|
102133
102163
|
* * If you specify `DestCidrIp`, `DestGroupOwnerAccount` is ignored.
|
|
102134
102164
|
*
|
|
102135
|
-
* Valid values of N: 1 to 100.
|
|
102136
|
-
*
|
|
102137
102165
|
* @example
|
|
102138
102166
|
* Test@aliyun.com
|
|
102139
102167
|
*/
|
|
@@ -102145,8 +102173,6 @@ export class RevokeSecurityGroupEgressRequestPermissions extends $tea.Model {
|
|
|
102145
102173
|
* * If both `DestGroupOwnerId` and `DestGroupOwnerAccount` are empty, access control configurations are removed from another security group managed by your Alibaba Cloud account.
|
|
102146
102174
|
* * If you specify `DestCidrIp`, `DestGroupOwnerId` is invalid.
|
|
102147
102175
|
*
|
|
102148
|
-
* Valid values of N: 1 to 100.
|
|
102149
|
-
*
|
|
102150
102176
|
* @example
|
|
102151
102177
|
* 12345678910
|
|
102152
102178
|
*/
|
|
@@ -102160,8 +102186,6 @@ export class RevokeSecurityGroupEgressRequestPermissions extends $tea.Model {
|
|
|
102160
102186
|
* * If a security group resides in the classic network, you cannot specify prefix lists in the rules of the security group. For information about the limits on security groups and prefix lists, see the [Security group limits](~~25412#SecurityGroupQuota1~~) section of the "Limits and quotas" topic.
|
|
102161
102187
|
* * If you specify `DestCidrIp`, `Ipv6DestCidrIp`, or `DestGroupId`, this parameter is ignored.
|
|
102162
102188
|
*
|
|
102163
|
-
* Valid values of N: 1 to 100.
|
|
102164
|
-
*
|
|
102165
102189
|
* @example
|
|
102166
102190
|
* pl-x1j1k5ykzqlixdcy****
|
|
102167
102191
|
*/
|
|
@@ -102177,8 +102201,6 @@ export class RevokeSecurityGroupEgressRequestPermissions extends $tea.Model {
|
|
|
102177
102201
|
* * GRE.
|
|
102178
102202
|
* * ALL: All protocols are supported.
|
|
102179
102203
|
*
|
|
102180
|
-
* Valid values of N: 1 to 100.
|
|
102181
|
-
*
|
|
102182
102204
|
* @example
|
|
102183
102205
|
* TCP
|
|
102184
102206
|
*/
|
|
@@ -102187,8 +102209,6 @@ export class RevokeSecurityGroupEgressRequestPermissions extends $tea.Model {
|
|
|
102187
102209
|
* @remarks
|
|
102188
102210
|
* The destination IPv6 CIDR block of the security group rule. IPv6 CIDR blocks and IPv6 addresses are supported.
|
|
102189
102211
|
*
|
|
102190
|
-
* Valid values of N: 1 to 100.
|
|
102191
|
-
*
|
|
102192
102212
|
* > This parameter is valid only for Elastic Compute Service (ECS) instances that reside in virtual private clouds (VPCs) and support IPv6 CIDR blocks. You cannot specify both this parameter and `DestCidrIp` in the same request.
|
|
102193
102213
|
*
|
|
102194
102214
|
* @example
|
|
@@ -102197,12 +102217,10 @@ export class RevokeSecurityGroupEgressRequestPermissions extends $tea.Model {
|
|
|
102197
102217
|
ipv6DestCidrIp?: string;
|
|
102198
102218
|
/**
|
|
102199
102219
|
* @remarks
|
|
102200
|
-
* The source IPv6 CIDR block
|
|
102220
|
+
* The source IPv6 CIDR block or IPv6 address.
|
|
102201
102221
|
*
|
|
102202
102222
|
* This parameter is used to support quintuple rules. For more information, see [Security group quintuple rules](https://help.aliyun.com/document_detail/97439.html).
|
|
102203
102223
|
*
|
|
102204
|
-
* Valid values of N: 1 to 100.
|
|
102205
|
-
*
|
|
102206
102224
|
* > This parameter is valid only for ECS instances that reside in VPCs and support IPv6 CIDR blocks. You cannot specify both this parameter and `DestCidrIp` in the same request.
|
|
102207
102225
|
*
|
|
102208
102226
|
* @example
|
|
@@ -102222,8 +102240,6 @@ export class RevokeSecurityGroupEgressRequestPermissions extends $tea.Model {
|
|
|
102222
102240
|
*
|
|
102223
102241
|
* Default value: internet.
|
|
102224
102242
|
*
|
|
102225
|
-
* Valid values of N: 1 to 100.
|
|
102226
|
-
*
|
|
102227
102243
|
* @example
|
|
102228
102244
|
* intranet
|
|
102229
102245
|
*/
|
|
@@ -102237,8 +102253,6 @@ export class RevokeSecurityGroupEgressRequestPermissions extends $tea.Model {
|
|
|
102237
102253
|
*
|
|
102238
102254
|
* Default value: accept.
|
|
102239
102255
|
*
|
|
102240
|
-
* Valid values of N: 1 to 100.
|
|
102241
|
-
*
|
|
102242
102256
|
* @example
|
|
102243
102257
|
* accept
|
|
102244
102258
|
*/
|
|
@@ -102252,8 +102266,6 @@ export class RevokeSecurityGroupEgressRequestPermissions extends $tea.Model {
|
|
|
102252
102266
|
* * If you set IpProtocol to GRE, the port number range is -1/-1.
|
|
102253
102267
|
* * If you set IpProtocol to ALL, the port number range is -1/-1, which indicates all port numbers.
|
|
102254
102268
|
*
|
|
102255
|
-
* Valid values of N: 1 to 100.
|
|
102256
|
-
*
|
|
102257
102269
|
* @example
|
|
102258
102270
|
* 22/22
|
|
102259
102271
|
*/
|
|
@@ -102264,8 +102276,6 @@ export class RevokeSecurityGroupEgressRequestPermissions extends $tea.Model {
|
|
|
102264
102276
|
*
|
|
102265
102277
|
* Default value: 1.
|
|
102266
102278
|
*
|
|
102267
|
-
* Valid values of N: 1 to 100.
|
|
102268
|
-
*
|
|
102269
102279
|
* @example
|
|
102270
102280
|
* 1
|
|
102271
102281
|
*/
|
|
@@ -102276,8 +102286,6 @@ export class RevokeSecurityGroupEgressRequestPermissions extends $tea.Model {
|
|
|
102276
102286
|
*
|
|
102277
102287
|
* This parameter is used to support quintuple rules. For more information, see [Security group quintuple rules](https://help.aliyun.com/document_detail/97439.html).
|
|
102278
102288
|
*
|
|
102279
|
-
* Valid values of N: 1 to 100.
|
|
102280
|
-
*
|
|
102281
102289
|
* @example
|
|
102282
102290
|
* 10.0.0.0/8
|
|
102283
102291
|
*/
|
|
@@ -102291,9 +102299,7 @@ export class RevokeSecurityGroupEgressRequestPermissions extends $tea.Model {
|
|
|
102291
102299
|
* * If you set IpProtocol to GRE, the port number range is -1/-1.
|
|
102292
102300
|
* * If you set IpProtocol to ALL, the port number range is -1/-1, which indicates all port numbers.
|
|
102293
102301
|
*
|
|
102294
|
-
* This
|
|
102295
|
-
*
|
|
102296
|
-
* Valid values of N: 1 to 100.
|
|
102302
|
+
* This property is used to support quintuple rules. For more information, see [Security group quintuple rules](https://help.aliyun.com/document_detail/97439.html).
|
|
102297
102303
|
*
|
|
102298
102304
|
* @example
|
|
102299
102305
|
* 22/22
|
|
@@ -103751,7 +103757,15 @@ export class SendFileRequestTag extends $tea.Model {
|
|
|
103751
103757
|
}
|
|
103752
103758
|
|
|
103753
103759
|
export class StartImagePipelineExecutionRequestTag extends $tea.Model {
|
|
103760
|
+
/**
|
|
103761
|
+
* @example
|
|
103762
|
+
* TestKey
|
|
103763
|
+
*/
|
|
103754
103764
|
key?: string;
|
|
103765
|
+
/**
|
|
103766
|
+
* @example
|
|
103767
|
+
* TestValue
|
|
103768
|
+
*/
|
|
103755
103769
|
value?: string;
|
|
103756
103770
|
static names(): { [key: string]: string } {
|
|
103757
103771
|
return {
|
|
@@ -103775,7 +103789,7 @@ export class StartImagePipelineExecutionRequestTag extends $tea.Model {
|
|
|
103775
103789
|
export class StartImagePipelineExecutionRequestTemplateTag extends $tea.Model {
|
|
103776
103790
|
/**
|
|
103777
103791
|
* @remarks
|
|
103778
|
-
* >
|
|
103792
|
+
* > This parameter is deprecated.
|
|
103779
103793
|
*
|
|
103780
103794
|
* @example
|
|
103781
103795
|
* null
|
|
@@ -103783,7 +103797,7 @@ export class StartImagePipelineExecutionRequestTemplateTag extends $tea.Model {
|
|
|
103783
103797
|
key?: string;
|
|
103784
103798
|
/**
|
|
103785
103799
|
* @remarks
|
|
103786
|
-
* >
|
|
103800
|
+
* > This parameter is deprecated.
|
|
103787
103801
|
*
|
|
103788
103802
|
* @example
|
|
103789
103803
|
* null
|
|
@@ -104861,7 +104875,7 @@ export default class Client extends OpenApi {
|
|
|
104861
104875
|
}
|
|
104862
104876
|
|
|
104863
104877
|
/**
|
|
104864
|
-
* Assigns
|
|
104878
|
+
* Assigns secondary private IP addresses to an elastic network interface (ENI). You can specify available private IP addresses within the CIDR block of the vSwitch that is connected to the ENI. Alternatively, you can specify the number of private IP addresses that are automatically assigned from the CIDR block of the vSwitch to the ENI.
|
|
104865
104879
|
*
|
|
104866
104880
|
* @remarks
|
|
104867
104881
|
* ## [](#)Usage notes
|
|
@@ -104943,7 +104957,7 @@ export default class Client extends OpenApi {
|
|
|
104943
104957
|
}
|
|
104944
104958
|
|
|
104945
104959
|
/**
|
|
104946
|
-
* Assigns
|
|
104960
|
+
* Assigns secondary private IP addresses to an elastic network interface (ENI). You can specify available private IP addresses within the CIDR block of the vSwitch that is connected to the ENI. Alternatively, you can specify the number of private IP addresses that are automatically assigned from the CIDR block of the vSwitch to the ENI.
|
|
104947
104961
|
*
|
|
104948
104962
|
* @remarks
|
|
104949
104963
|
* ## [](#)Usage notes
|
|
@@ -105302,7 +105316,7 @@ export default class Client extends OpenApi {
|
|
|
105302
105316
|
* Attaches an instance Resource Access Management (RAM) role to Elastic Compute Service (ECS) instances.
|
|
105303
105317
|
*
|
|
105304
105318
|
* @remarks
|
|
105305
|
-
* You can call the [DescribeInstanceRamRole](https://help.aliyun.com/document_detail/2679686.html) operation to query the instance RAM roles that are attached to ECS instances.
|
|
105319
|
+
* You can call the [DescribeInstanceRamRole](https://help.aliyun.com/document_detail/2679686.html) operation to query the [instance RAM roles](https://help.aliyun.com/document_detail/61175.html) that are attached to ECS instances.
|
|
105306
105320
|
* > If an ECS instance already has an instance RAM role, an error is returned when you attach another instance RAM role to the instance.
|
|
105307
105321
|
*
|
|
105308
105322
|
* @param request - AttachInstanceRamRoleRequest
|
|
@@ -105361,7 +105375,7 @@ export default class Client extends OpenApi {
|
|
|
105361
105375
|
* Attaches an instance Resource Access Management (RAM) role to Elastic Compute Service (ECS) instances.
|
|
105362
105376
|
*
|
|
105363
105377
|
* @remarks
|
|
105364
|
-
* You can call the [DescribeInstanceRamRole](https://help.aliyun.com/document_detail/2679686.html) operation to query the instance RAM roles that are attached to ECS instances.
|
|
105378
|
+
* You can call the [DescribeInstanceRamRole](https://help.aliyun.com/document_detail/2679686.html) operation to query the [instance RAM roles](https://help.aliyun.com/document_detail/61175.html) that are attached to ECS instances.
|
|
105365
105379
|
* > If an ECS instance already has an instance RAM role, an error is returned when you attach another instance RAM role to the instance.
|
|
105366
105380
|
*
|
|
105367
105381
|
* @param request - AttachInstanceRamRoleRequest
|
|
@@ -105561,49 +105575,49 @@ export default class Client extends OpenApi {
|
|
|
105561
105575
|
}
|
|
105562
105576
|
|
|
105563
105577
|
/**
|
|
105564
|
-
* Creates inbound rules in a security group. You can use the created rules to allow or deny inbound traffic from other
|
|
105578
|
+
* Creates inbound security group rules in a security group. You can use the created rules to allow or deny inbound traffic from other objects to Elastic Compute Service (ECS) instances in the security group for fine-grained network access control.
|
|
105565
105579
|
*
|
|
105566
105580
|
* @remarks
|
|
105567
|
-
*
|
|
105568
|
-
* * The total number of
|
|
105569
|
-
* *
|
|
105570
|
-
* * When multiple security group rules have the same priority, drop rules take precedence.
|
|
105571
|
-
*
|
|
105572
|
-
* *
|
|
105573
|
-
*
|
|
105574
|
-
*
|
|
105575
|
-
* *
|
|
105576
|
-
* *
|
|
105577
|
-
*
|
|
105578
|
-
*
|
|
105579
|
-
*
|
|
105580
|
-
*
|
|
105581
|
-
*
|
|
105582
|
-
*
|
|
105583
|
-
*
|
|
105584
|
-
*
|
|
105585
|
-
*
|
|
105586
|
-
*
|
|
105587
|
-
*
|
|
105588
|
-
*
|
|
105589
|
-
*
|
|
105590
|
-
*
|
|
105591
|
-
*
|
|
105592
|
-
*
|
|
105593
|
-
*
|
|
105594
|
-
*
|
|
105595
|
-
*
|
|
105596
|
-
*
|
|
105597
|
-
*
|
|
105598
|
-
*
|
|
105599
|
-
*
|
|
105600
|
-
*
|
|
105601
|
-
*
|
|
105602
|
-
*
|
|
105603
|
-
*
|
|
105604
|
-
*
|
|
105605
|
-
*
|
|
105606
|
-
*
|
|
105581
|
+
* ### [](#)Limits
|
|
105582
|
+
* * **Quantity limit**: The total number of inbound security group rules in each security group cannot exceed 200. For more information, see the [Security group limits](~~25412#SecurityGroupQuota1~~) section of the "Limits" topic.
|
|
105583
|
+
* * **Rule types**: For inbound security group rules, you can set Policy to accept or drop to specify whether to allow or deny access.
|
|
105584
|
+
* * **Rule priorities**: For inbound security group rules, the valid values of Priority range from 1 to 100. A smaller value indicates a higher priority. When multiple security group rules have the same priority, drop rules take precedence.
|
|
105585
|
+
* ### [](#)Considerations
|
|
105586
|
+
* * If the security group rule that you call the AuthorizeSecurityGroup operation to create exists in the security group, the call is successful but no security group rule is created.
|
|
105587
|
+
* ### [](#)Parameters that define a security group rule
|
|
105588
|
+
* Define an inbound security group rule by configuring the following parameters together:
|
|
105589
|
+
* * Source: You can specify one parameter from SourceCidrIp (IPv4 address), Ipv6SourceCidrIp (IPv6 address), SourcetPrefixListId (prefix list ID), and SourceGroupId (source security group ID).
|
|
105590
|
+
* * PortRange: specifies the range of destination port numbers.
|
|
105591
|
+
* * IpProtocol: specifies the protocol.
|
|
105592
|
+
* * Policy: specifies the action.
|
|
105593
|
+
* > Advanced security groups do not support security group rules that reference security groups as authorization objects. Each basic security group can contain up to 20 security group rules that reference security groups as authorization objects.
|
|
105594
|
+
* ### [](#)Sample requests
|
|
105595
|
+
* Sample requests to create inbound security group rules that control access to different sources in a security group in the China (Hangzhou) region:---to different sources or from different sources?
|
|
105596
|
+
* * Sample request to create an inbound security group rule that controls access to a specific CIDR block: to or from?
|
|
105597
|
+
* "RegionId":"cn-hangzhou", // The region ID.
|
|
105598
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4p****", // The ID of the security group."Permissions":[
|
|
105599
|
+
* {
|
|
105600
|
+
* "SourceCidrIp":"10.0.0.0/8", // The source IPv4 CIDR block. "PortRange":"22/22" // The port range.
|
|
105601
|
+
* "IpProtocol":"TCP", //The protocol.
|
|
105602
|
+
* "IpProtocol":"TCP", //The action.
|
|
105603
|
+
* }
|
|
105604
|
+
* ]
|
|
105605
|
+
* * Sample request to create an inbound security group rule that controls access to a security group and an inbound security group rule that controls access to a prefix list:----to or from?
|
|
105606
|
+
* "RegionId":"cn-hangzhou",
|
|
105607
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4p****",
|
|
105608
|
+
* "Permissions":[
|
|
105609
|
+
* {
|
|
105610
|
+
* "SourceGroupId":"sg-bp17vs63txqxbd****", // The source security group.
|
|
105611
|
+
* "PortRange":"22/22",
|
|
105612
|
+
* "IpProtocol":"TCP",
|
|
105613
|
+
* "Policy":"Drop"
|
|
105614
|
+
* },{
|
|
105615
|
+
* "SourcePrefixListId":"pl-x1j1k5ykzqlixdcy****", //The ID of the source prefix list.
|
|
105616
|
+
* "PortRange":"22/22",
|
|
105617
|
+
* "IpProtocol":"TCP",
|
|
105618
|
+
* "Policy":"Drop"
|
|
105619
|
+
* }
|
|
105620
|
+
* ]
|
|
105607
105621
|
*
|
|
105608
105622
|
* @param request - AuthorizeSecurityGroupRequest
|
|
105609
105623
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -105738,49 +105752,49 @@ export default class Client extends OpenApi {
|
|
|
105738
105752
|
}
|
|
105739
105753
|
|
|
105740
105754
|
/**
|
|
105741
|
-
* Creates inbound rules in a security group. You can use the created rules to allow or deny inbound traffic from other
|
|
105755
|
+
* Creates inbound security group rules in a security group. You can use the created rules to allow or deny inbound traffic from other objects to Elastic Compute Service (ECS) instances in the security group for fine-grained network access control.
|
|
105742
105756
|
*
|
|
105743
105757
|
* @remarks
|
|
105744
|
-
*
|
|
105745
|
-
* * The total number of
|
|
105746
|
-
* *
|
|
105747
|
-
* * When multiple security group rules have the same priority, drop rules take precedence.
|
|
105748
|
-
*
|
|
105749
|
-
* *
|
|
105750
|
-
*
|
|
105751
|
-
*
|
|
105752
|
-
* *
|
|
105753
|
-
* *
|
|
105754
|
-
*
|
|
105755
|
-
*
|
|
105756
|
-
*
|
|
105757
|
-
*
|
|
105758
|
-
*
|
|
105759
|
-
*
|
|
105760
|
-
*
|
|
105761
|
-
*
|
|
105762
|
-
*
|
|
105763
|
-
*
|
|
105764
|
-
*
|
|
105765
|
-
*
|
|
105766
|
-
*
|
|
105767
|
-
*
|
|
105768
|
-
*
|
|
105769
|
-
*
|
|
105770
|
-
*
|
|
105771
|
-
*
|
|
105772
|
-
*
|
|
105773
|
-
*
|
|
105774
|
-
*
|
|
105775
|
-
*
|
|
105776
|
-
*
|
|
105777
|
-
*
|
|
105778
|
-
*
|
|
105779
|
-
*
|
|
105780
|
-
*
|
|
105781
|
-
*
|
|
105782
|
-
*
|
|
105783
|
-
*
|
|
105758
|
+
* ### [](#)Limits
|
|
105759
|
+
* * **Quantity limit**: The total number of inbound security group rules in each security group cannot exceed 200. For more information, see the [Security group limits](~~25412#SecurityGroupQuota1~~) section of the "Limits" topic.
|
|
105760
|
+
* * **Rule types**: For inbound security group rules, you can set Policy to accept or drop to specify whether to allow or deny access.
|
|
105761
|
+
* * **Rule priorities**: For inbound security group rules, the valid values of Priority range from 1 to 100. A smaller value indicates a higher priority. When multiple security group rules have the same priority, drop rules take precedence.
|
|
105762
|
+
* ### [](#)Considerations
|
|
105763
|
+
* * If the security group rule that you call the AuthorizeSecurityGroup operation to create exists in the security group, the call is successful but no security group rule is created.
|
|
105764
|
+
* ### [](#)Parameters that define a security group rule
|
|
105765
|
+
* Define an inbound security group rule by configuring the following parameters together:
|
|
105766
|
+
* * Source: You can specify one parameter from SourceCidrIp (IPv4 address), Ipv6SourceCidrIp (IPv6 address), SourcetPrefixListId (prefix list ID), and SourceGroupId (source security group ID).
|
|
105767
|
+
* * PortRange: specifies the range of destination port numbers.
|
|
105768
|
+
* * IpProtocol: specifies the protocol.
|
|
105769
|
+
* * Policy: specifies the action.
|
|
105770
|
+
* > Advanced security groups do not support security group rules that reference security groups as authorization objects. Each basic security group can contain up to 20 security group rules that reference security groups as authorization objects.
|
|
105771
|
+
* ### [](#)Sample requests
|
|
105772
|
+
* Sample requests to create inbound security group rules that control access to different sources in a security group in the China (Hangzhou) region:---to different sources or from different sources?
|
|
105773
|
+
* * Sample request to create an inbound security group rule that controls access to a specific CIDR block: to or from?
|
|
105774
|
+
* "RegionId":"cn-hangzhou", // The region ID.
|
|
105775
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4p****", // The ID of the security group."Permissions":[
|
|
105776
|
+
* {
|
|
105777
|
+
* "SourceCidrIp":"10.0.0.0/8", // The source IPv4 CIDR block. "PortRange":"22/22" // The port range.
|
|
105778
|
+
* "IpProtocol":"TCP", //The protocol.
|
|
105779
|
+
* "IpProtocol":"TCP", //The action.
|
|
105780
|
+
* }
|
|
105781
|
+
* ]
|
|
105782
|
+
* * Sample request to create an inbound security group rule that controls access to a security group and an inbound security group rule that controls access to a prefix list:----to or from?
|
|
105783
|
+
* "RegionId":"cn-hangzhou",
|
|
105784
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4p****",
|
|
105785
|
+
* "Permissions":[
|
|
105786
|
+
* {
|
|
105787
|
+
* "SourceGroupId":"sg-bp17vs63txqxbd****", // The source security group.
|
|
105788
|
+
* "PortRange":"22/22",
|
|
105789
|
+
* "IpProtocol":"TCP",
|
|
105790
|
+
* "Policy":"Drop"
|
|
105791
|
+
* },{
|
|
105792
|
+
* "SourcePrefixListId":"pl-x1j1k5ykzqlixdcy****", //The ID of the source prefix list.
|
|
105793
|
+
* "PortRange":"22/22",
|
|
105794
|
+
* "IpProtocol":"TCP",
|
|
105795
|
+
* "Policy":"Drop"
|
|
105796
|
+
* }
|
|
105797
|
+
* ]
|
|
105784
105798
|
*
|
|
105785
105799
|
* @param request - AuthorizeSecurityGroupRequest
|
|
105786
105800
|
* @returns AuthorizeSecurityGroupResponse
|
|
@@ -105800,9 +105814,8 @@ export default class Client extends OpenApi {
|
|
|
105800
105814
|
* * **Rule priorities**: For outbound security group rules, the valid values of Priority range from 1 to 100. A smaller value indicates a higher priority. When multiple security group rules have the same priority, drop rules take precedence.
|
|
105801
105815
|
* ### [](#)Considerations
|
|
105802
105816
|
* * If the security group rule that you call the AuthorizeSecurityGroupEgress operation to create exists in the security group, the call is successful but no security group rule is created.
|
|
105803
|
-
* * Parameters and their `Permissions.N`-prefixed counterparts cannot be specified in the same request. We recommend that you use the `Permissions.N`-prefixed parameters.
|
|
105804
105817
|
* ### [](#)Parameters that define a security group rule
|
|
105805
|
-
* Define
|
|
105818
|
+
* Define an outbound security group rule by configuring the following parameters together:
|
|
105806
105819
|
* * One of the following parameters: DestCidrIp, Ipv6DestCidrIp, DestPrefixListId, and DestGroupId. DestCidrIp specifies the destination IPv4 CIDR block. Ipv6DestCidrIp specifies the destination IPv6 CIDR block. DestPrefixListId specifies the ID of the destination prefix list. DestGroupId specifies the destination security group.
|
|
105807
105820
|
* * PortRange: specifies the range of destination port numbers.
|
|
105808
105821
|
* * IpProtocol: specifies the protocol.
|
|
@@ -105810,15 +105823,14 @@ export default class Client extends OpenApi {
|
|
|
105810
105823
|
* > Advanced security groups do not support security group rules that reference security groups as authorization objects. Each basic security group can contain up to 20 security group rules that reference security groups as authorization objects.
|
|
105811
105824
|
* ### [](#)Sample requests
|
|
105812
105825
|
* Sample requests to create outbound security group rules that control access to different destinations in a security group in the China (Hangzhou) region:
|
|
105813
|
-
* * Sample request to create an outbound security group rule that controls access to a
|
|
105814
|
-
* "RegionId":"cn-hangzhou",
|
|
105826
|
+
* * Sample request to create an outbound security group rule that controls access to a specified CIDR block:
|
|
105827
|
+
* "RegionId":"cn-hangzhou", //The region ID.
|
|
105815
105828
|
* "SecurityGroupId":"sg-bp17vs63txqxbds9***", //The ID of the source security group.
|
|
105816
105829
|
* "Permissions":[
|
|
105817
105830
|
* {
|
|
105818
|
-
* "DestCidrIp":
|
|
105819
|
-
* "PortRange":
|
|
105820
|
-
* "IpProtocol":
|
|
105821
|
-
* "Policy": "Accept" //The action.
|
|
105831
|
+
* "DestCidrIp":"10.0.0.0/8", //The destination IPv4 CIDR block.
|
|
105832
|
+
* "PortRange":"-1/-1", //The range of destination port numbers.
|
|
105833
|
+
* "IpProtocol":"ICMP", //The protocol. "Policy":"Accept" //The action.
|
|
105822
105834
|
* }
|
|
105823
105835
|
* ]
|
|
105824
105836
|
* * Sample request to create an outbound security group rule that controls access to a security group and an outbound security group rule that controls access to a prefix list:
|
|
@@ -105826,15 +105838,15 @@ export default class Client extends OpenApi {
|
|
|
105826
105838
|
* "SecurityGroupId":"sg-bp17vs63txqxbds9***",
|
|
105827
105839
|
* "Permissions":[
|
|
105828
105840
|
* {
|
|
105829
|
-
* "DestGroupId":
|
|
105830
|
-
* "PortRange":
|
|
105831
|
-
* "IpProtocol":
|
|
105832
|
-
* "Policy":
|
|
105841
|
+
* "DestGroupId":"sg-bp67acfmxazb4pi***", //The ID of the destination security group.
|
|
105842
|
+
* "PortRange":"22/22",
|
|
105843
|
+
* "IpProtocol":"TCP",
|
|
105844
|
+
* "Policy":"Drop"
|
|
105833
105845
|
* },{
|
|
105834
|
-
* "DestPrefixListId":
|
|
105835
|
-
* "PortRange":
|
|
105836
|
-
* "IpProtocol":
|
|
105837
|
-
* "Policy":
|
|
105846
|
+
* "DestPrefixListId":"pl-x1j1k5ykzqlixdcy****", //The ID of the destination prefix list.
|
|
105847
|
+
* "PortRange":"22/22",
|
|
105848
|
+
* "IpProtocol":"TCP",
|
|
105849
|
+
* "Policy":"Drop"
|
|
105838
105850
|
* }
|
|
105839
105851
|
* ]
|
|
105840
105852
|
*
|
|
@@ -105980,9 +105992,8 @@ export default class Client extends OpenApi {
|
|
|
105980
105992
|
* * **Rule priorities**: For outbound security group rules, the valid values of Priority range from 1 to 100. A smaller value indicates a higher priority. When multiple security group rules have the same priority, drop rules take precedence.
|
|
105981
105993
|
* ### [](#)Considerations
|
|
105982
105994
|
* * If the security group rule that you call the AuthorizeSecurityGroupEgress operation to create exists in the security group, the call is successful but no security group rule is created.
|
|
105983
|
-
* * Parameters and their `Permissions.N`-prefixed counterparts cannot be specified in the same request. We recommend that you use the `Permissions.N`-prefixed parameters.
|
|
105984
105995
|
* ### [](#)Parameters that define a security group rule
|
|
105985
|
-
* Define
|
|
105996
|
+
* Define an outbound security group rule by configuring the following parameters together:
|
|
105986
105997
|
* * One of the following parameters: DestCidrIp, Ipv6DestCidrIp, DestPrefixListId, and DestGroupId. DestCidrIp specifies the destination IPv4 CIDR block. Ipv6DestCidrIp specifies the destination IPv6 CIDR block. DestPrefixListId specifies the ID of the destination prefix list. DestGroupId specifies the destination security group.
|
|
105987
105998
|
* * PortRange: specifies the range of destination port numbers.
|
|
105988
105999
|
* * IpProtocol: specifies the protocol.
|
|
@@ -105990,15 +106001,14 @@ export default class Client extends OpenApi {
|
|
|
105990
106001
|
* > Advanced security groups do not support security group rules that reference security groups as authorization objects. Each basic security group can contain up to 20 security group rules that reference security groups as authorization objects.
|
|
105991
106002
|
* ### [](#)Sample requests
|
|
105992
106003
|
* Sample requests to create outbound security group rules that control access to different destinations in a security group in the China (Hangzhou) region:
|
|
105993
|
-
* * Sample request to create an outbound security group rule that controls access to a
|
|
105994
|
-
* "RegionId":"cn-hangzhou",
|
|
106004
|
+
* * Sample request to create an outbound security group rule that controls access to a specified CIDR block:
|
|
106005
|
+
* "RegionId":"cn-hangzhou", //The region ID.
|
|
105995
106006
|
* "SecurityGroupId":"sg-bp17vs63txqxbds9***", //The ID of the source security group.
|
|
105996
106007
|
* "Permissions":[
|
|
105997
106008
|
* {
|
|
105998
|
-
* "DestCidrIp":
|
|
105999
|
-
* "PortRange":
|
|
106000
|
-
* "IpProtocol":
|
|
106001
|
-
* "Policy": "Accept" //The action.
|
|
106009
|
+
* "DestCidrIp":"10.0.0.0/8", //The destination IPv4 CIDR block.
|
|
106010
|
+
* "PortRange":"-1/-1", //The range of destination port numbers.
|
|
106011
|
+
* "IpProtocol":"ICMP", //The protocol. "Policy":"Accept" //The action.
|
|
106002
106012
|
* }
|
|
106003
106013
|
* ]
|
|
106004
106014
|
* * Sample request to create an outbound security group rule that controls access to a security group and an outbound security group rule that controls access to a prefix list:
|
|
@@ -106006,15 +106016,15 @@ export default class Client extends OpenApi {
|
|
|
106006
106016
|
* "SecurityGroupId":"sg-bp17vs63txqxbds9***",
|
|
106007
106017
|
* "Permissions":[
|
|
106008
106018
|
* {
|
|
106009
|
-
* "DestGroupId":
|
|
106010
|
-
* "PortRange":
|
|
106011
|
-
* "IpProtocol":
|
|
106012
|
-
* "Policy":
|
|
106019
|
+
* "DestGroupId":"sg-bp67acfmxazb4pi***", //The ID of the destination security group.
|
|
106020
|
+
* "PortRange":"22/22",
|
|
106021
|
+
* "IpProtocol":"TCP",
|
|
106022
|
+
* "Policy":"Drop"
|
|
106013
106023
|
* },{
|
|
106014
|
-
* "DestPrefixListId":
|
|
106015
|
-
* "PortRange":
|
|
106016
|
-
* "IpProtocol":
|
|
106017
|
-
* "Policy":
|
|
106024
|
+
* "DestPrefixListId":"pl-x1j1k5ykzqlixdcy****", //The ID of the destination prefix list.
|
|
106025
|
+
* "PortRange":"22/22",
|
|
106026
|
+
* "IpProtocol":"TCP",
|
|
106027
|
+
* "Policy":"Drop"
|
|
106018
106028
|
* }
|
|
106019
106029
|
* ]
|
|
106020
106030
|
*
|
|
@@ -106157,10 +106167,10 @@ export default class Client extends OpenApi {
|
|
|
106157
106167
|
}
|
|
106158
106168
|
|
|
106159
106169
|
/**
|
|
106160
|
-
*
|
|
106170
|
+
* Cancels an image building task.
|
|
106161
106171
|
*
|
|
106162
106172
|
* @remarks
|
|
106163
|
-
* Before you call
|
|
106173
|
+
* Before you call the CancelImagePipelineExecution operation, make sure that the image building task to be canceled is in the BUILDING, PREPARING, or REPAIRING state.
|
|
106164
106174
|
*
|
|
106165
106175
|
* @param request - CancelImagePipelineExecutionRequest
|
|
106166
106176
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -106219,10 +106229,10 @@ export default class Client extends OpenApi {
|
|
|
106219
106229
|
}
|
|
106220
106230
|
|
|
106221
106231
|
/**
|
|
106222
|
-
*
|
|
106232
|
+
* Cancels an image building task.
|
|
106223
106233
|
*
|
|
106224
106234
|
* @remarks
|
|
106225
|
-
* Before you call
|
|
106235
|
+
* Before you call the CancelImagePipelineExecution operation, make sure that the image building task to be canceled is in the BUILDING, PREPARING, or REPAIRING state.
|
|
106226
106236
|
*
|
|
106227
106237
|
* @param request - CancelImagePipelineExecutionRequest
|
|
106228
106238
|
* @returns CancelImagePipelineExecutionResponse
|
|
@@ -106371,7 +106381,7 @@ export default class Client extends OpenApi {
|
|
|
106371
106381
|
}
|
|
106372
106382
|
|
|
106373
106383
|
/**
|
|
106374
|
-
*
|
|
106384
|
+
* Cancels a running task. You can cancel the running tasks generated by the ImportImage or ExportImage operation.
|
|
106375
106385
|
*
|
|
106376
106386
|
* @param request - CancelTaskRequest
|
|
106377
106387
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -106418,7 +106428,7 @@ export default class Client extends OpenApi {
|
|
|
106418
106428
|
}
|
|
106419
106429
|
|
|
106420
106430
|
/**
|
|
106421
|
-
*
|
|
106431
|
+
* Cancels a running task. You can cancel the running tasks generated by the ImportImage or ExportImage operation.
|
|
106422
106432
|
*
|
|
106423
106433
|
* @param request - CancelTaskRequest
|
|
106424
106434
|
* @returns CancelTaskResponse
|
|
@@ -107113,15 +107123,15 @@ export default class Client extends OpenApi {
|
|
|
107113
107123
|
}
|
|
107114
107124
|
|
|
107115
107125
|
/**
|
|
107116
|
-
* Creates an automatic snapshot policy in a specific region.
|
|
107126
|
+
* Creates an automatic snapshot policy in a specific region. You can specify the schedule on which to create automatic snapshots, the retention period of the automatic snapshots, and whether to enable cross-region replication for the snapshots in the automatic snapshot policy. The automatic snapshot policy can be applied to create snapshots for system disks or data disks to back up disk data.
|
|
107117
107127
|
*
|
|
107118
107128
|
* @remarks
|
|
107119
|
-
*
|
|
107120
|
-
* When you call this operation to create an automatic snapshot policy, you can specify the days of the week on which to create automatic snapshots, the retention period of the automatic snapshots, and whether to enable cross-region replication for the snapshots in the policy to meet your diverse data backup requirements. After the automatic snapshot policy is created, call the [ApplyAutoSnapshotPolicy](https://help.aliyun.com/document_detail/25531.html) operation to apply the policy to disks. If you want to modify the automatic snapshot policy, call the [ModifyAutoSnapshotPolicyEx](https://help.aliyun.com/document_detail/25529.html) operation.
|
|
107129
|
+
* Before you call this operation, learn about how to [create an automatic snapshot policy](https://help.aliyun.com/document_detail/127767.html).
|
|
107121
107130
|
* Take note of the following items:
|
|
107122
|
-
* * You can create up to 100 automatic snapshot policies per region for a single Alibaba Cloud account.
|
|
107123
|
-
* * If
|
|
107124
|
-
* *
|
|
107131
|
+
* * You can create up to 100 automatic snapshot policies per region for a single Alibaba Cloud account. If the maximum number of automatic snapshots for a disk is reached and a new snapshot creation task is created, the system deletes the oldest automatic snapshot of the disk.
|
|
107132
|
+
* * If the instance to which a disk is attached is being stopped or restarted, the system cannot create snapshots for the disk based on the associated automatic snapshot policy.
|
|
107133
|
+
* * If cross-region snapshot replication is enabled and no encryption parameters are configured, encrypted snapshots are copied to the destination region and snapshot copies are encrypted by using the service key of the destination region. For more information about the limits on cross-region snapshot replication, see [Copy a snapshot](https://help.aliyun.com/document_detail/159441.html).
|
|
107134
|
+
* After the automatic snapshot policy is created, call the [ApplyAutoSnapshotPolicy](https://help.aliyun.com/document_detail/25531.html) operation to apply the policy to disks. If you want to modify the automatic snapshot policy, call the [ModifyAutoSnapshotPolicyEx](https://help.aliyun.com/document_detail/25529.html) operation.
|
|
107125
107135
|
*
|
|
107126
107136
|
* @param request - CreateAutoSnapshotPolicyRequest
|
|
107127
107137
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -107208,15 +107218,15 @@ export default class Client extends OpenApi {
|
|
|
107208
107218
|
}
|
|
107209
107219
|
|
|
107210
107220
|
/**
|
|
107211
|
-
* Creates an automatic snapshot policy in a specific region.
|
|
107221
|
+
* Creates an automatic snapshot policy in a specific region. You can specify the schedule on which to create automatic snapshots, the retention period of the automatic snapshots, and whether to enable cross-region replication for the snapshots in the automatic snapshot policy. The automatic snapshot policy can be applied to create snapshots for system disks or data disks to back up disk data.
|
|
107212
107222
|
*
|
|
107213
107223
|
* @remarks
|
|
107214
|
-
*
|
|
107215
|
-
* When you call this operation to create an automatic snapshot policy, you can specify the days of the week on which to create automatic snapshots, the retention period of the automatic snapshots, and whether to enable cross-region replication for the snapshots in the policy to meet your diverse data backup requirements. After the automatic snapshot policy is created, call the [ApplyAutoSnapshotPolicy](https://help.aliyun.com/document_detail/25531.html) operation to apply the policy to disks. If you want to modify the automatic snapshot policy, call the [ModifyAutoSnapshotPolicyEx](https://help.aliyun.com/document_detail/25529.html) operation.
|
|
107224
|
+
* Before you call this operation, learn about how to [create an automatic snapshot policy](https://help.aliyun.com/document_detail/127767.html).
|
|
107216
107225
|
* Take note of the following items:
|
|
107217
|
-
* * You can create up to 100 automatic snapshot policies per region for a single Alibaba Cloud account.
|
|
107218
|
-
* * If
|
|
107219
|
-
* *
|
|
107226
|
+
* * You can create up to 100 automatic snapshot policies per region for a single Alibaba Cloud account. If the maximum number of automatic snapshots for a disk is reached and a new snapshot creation task is created, the system deletes the oldest automatic snapshot of the disk.
|
|
107227
|
+
* * If the instance to which a disk is attached is being stopped or restarted, the system cannot create snapshots for the disk based on the associated automatic snapshot policy.
|
|
107228
|
+
* * If cross-region snapshot replication is enabled and no encryption parameters are configured, encrypted snapshots are copied to the destination region and snapshot copies are encrypted by using the service key of the destination region. For more information about the limits on cross-region snapshot replication, see [Copy a snapshot](https://help.aliyun.com/document_detail/159441.html).
|
|
107229
|
+
* After the automatic snapshot policy is created, call the [ApplyAutoSnapshotPolicy](https://help.aliyun.com/document_detail/25531.html) operation to apply the policy to disks. If you want to modify the automatic snapshot policy, call the [ModifyAutoSnapshotPolicyEx](https://help.aliyun.com/document_detail/25529.html) operation.
|
|
107220
107230
|
*
|
|
107221
107231
|
* @param request - CreateAutoSnapshotPolicyRequest
|
|
107222
107232
|
* @returns CreateAutoSnapshotPolicyResponse
|
|
@@ -108571,10 +108581,9 @@ export default class Client extends OpenApi {
|
|
|
108571
108581
|
* ## [](#)Usage notes
|
|
108572
108582
|
* Take note of the following items:
|
|
108573
108583
|
* * You can create only custom image components.
|
|
108574
|
-
* *
|
|
108575
|
-
* *
|
|
108576
|
-
*
|
|
108577
|
-
* You can use image components to create image templates in the Elastic Compute Service (ECS) console, but cannot call API operations to create image templates from image components. For more information, see [What is Image Builder](https://help.aliyun.com/document_detail/197410.html).
|
|
108584
|
+
* * Each version number of an image component must be unique. When you add a version of an image component to an image template, you can specify the component by its name and version number.
|
|
108585
|
+
* * The content size of an image component cannot exceed 16 KB. For information about the commands supported by Image Builder, see [Commands supported by Image Builder](https://help.aliyun.com/document_detail/200206.html).
|
|
108586
|
+
* For more information, see [Image Builder](https://help.aliyun.com/document_detail/197410.html).
|
|
108578
108587
|
*
|
|
108579
108588
|
* @param request - CreateImageComponentRequest
|
|
108580
108589
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -108671,10 +108680,9 @@ export default class Client extends OpenApi {
|
|
|
108671
108680
|
* ## [](#)Usage notes
|
|
108672
108681
|
* Take note of the following items:
|
|
108673
108682
|
* * You can create only custom image components.
|
|
108674
|
-
* *
|
|
108675
|
-
* *
|
|
108676
|
-
*
|
|
108677
|
-
* You can use image components to create image templates in the Elastic Compute Service (ECS) console, but cannot call API operations to create image templates from image components. For more information, see [What is Image Builder](https://help.aliyun.com/document_detail/197410.html).
|
|
108683
|
+
* * Each version number of an image component must be unique. When you add a version of an image component to an image template, you can specify the component by its name and version number.
|
|
108684
|
+
* * The content size of an image component cannot exceed 16 KB. For information about the commands supported by Image Builder, see [Commands supported by Image Builder](https://help.aliyun.com/document_detail/200206.html).
|
|
108685
|
+
* For more information, see [Image Builder](https://help.aliyun.com/document_detail/197410.html).
|
|
108678
108686
|
*
|
|
108679
108687
|
* @param request - CreateImageComponentRequest
|
|
108680
108688
|
* @returns CreateImageComponentResponse
|
|
@@ -108691,13 +108699,12 @@ export default class Client extends OpenApi {
|
|
|
108691
108699
|
* ## [](#)Usage notes
|
|
108692
108700
|
* You can use image templates to customize image content and create images across regions and accounts. Take note of the following items:
|
|
108693
108701
|
* * You can create only custom image templates.
|
|
108694
|
-
* * You can
|
|
108695
|
-
* * When you
|
|
108696
|
-
* When you use
|
|
108697
|
-
* *
|
|
108698
|
-
* *
|
|
108699
|
-
*
|
|
108700
|
-
* You can use image components to create image templates in the ECS console, but cannot call API operations to use image components to create image templates. For more information, see [What is Image Builder](https://help.aliyun.com/document_detail/197410.html).
|
|
108702
|
+
* * You can specify only a public image, a custom image, a shared image, or an image family as the source image when you create an image template.
|
|
108703
|
+
* * When you use an image template to create an image, multiple intermediate instances are created. You are charged for the intermediate instances on a pay-as-you-go basis. For more information, see [Pay-as-you-go](https://help.aliyun.com/document_detail/40653.html).
|
|
108704
|
+
* When you use `BuildContent` to specify the build content in an image template, take note of the following items:
|
|
108705
|
+
* * The `FROM` command is deprecated. Regardless of whether you specify the `FROM` command in `BuildContent`, the system uses the source image specified by `BaseImageType` and `BaseImage`. BaseImageType specifies the type of the source image and BaseImage specifies the source image.
|
|
108706
|
+
* * The size of BuildContent cannot exceed 16 KB. For information about the commands supported by Image Builder, see [Commands supported by Image Builder](https://help.aliyun.com/document_detail/200206.html).
|
|
108707
|
+
* For more information, see [Image Builder](https://help.aliyun.com/document_detail/197410.html).
|
|
108701
108708
|
*
|
|
108702
108709
|
* @param request - CreateImagePipelineRequest
|
|
108703
108710
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -108834,13 +108841,12 @@ export default class Client extends OpenApi {
|
|
|
108834
108841
|
* ## [](#)Usage notes
|
|
108835
108842
|
* You can use image templates to customize image content and create images across regions and accounts. Take note of the following items:
|
|
108836
108843
|
* * You can create only custom image templates.
|
|
108837
|
-
* * You can
|
|
108838
|
-
* * When you
|
|
108839
|
-
* When you use
|
|
108840
|
-
* *
|
|
108841
|
-
* *
|
|
108842
|
-
*
|
|
108843
|
-
* You can use image components to create image templates in the ECS console, but cannot call API operations to use image components to create image templates. For more information, see [What is Image Builder](https://help.aliyun.com/document_detail/197410.html).
|
|
108844
|
+
* * You can specify only a public image, a custom image, a shared image, or an image family as the source image when you create an image template.
|
|
108845
|
+
* * When you use an image template to create an image, multiple intermediate instances are created. You are charged for the intermediate instances on a pay-as-you-go basis. For more information, see [Pay-as-you-go](https://help.aliyun.com/document_detail/40653.html).
|
|
108846
|
+
* When you use `BuildContent` to specify the build content in an image template, take note of the following items:
|
|
108847
|
+
* * The `FROM` command is deprecated. Regardless of whether you specify the `FROM` command in `BuildContent`, the system uses the source image specified by `BaseImageType` and `BaseImage`. BaseImageType specifies the type of the source image and BaseImage specifies the source image.
|
|
108848
|
+
* * The size of BuildContent cannot exceed 16 KB. For information about the commands supported by Image Builder, see [Commands supported by Image Builder](https://help.aliyun.com/document_detail/200206.html).
|
|
108849
|
+
* For more information, see [Image Builder](https://help.aliyun.com/document_detail/197410.html).
|
|
108844
108850
|
*
|
|
108845
108851
|
* @param request - CreateImagePipelineRequest
|
|
108846
108852
|
* @returns CreateImagePipelineResponse
|
|
@@ -111561,11 +111567,11 @@ export default class Client extends OpenApi {
|
|
|
111561
111567
|
}
|
|
111562
111568
|
|
|
111563
111569
|
/**
|
|
111564
|
-
*
|
|
111565
|
-
* Before you call this operation to delete an activation code, make sure that the activation code has never been used to register managed instances.
|
|
111570
|
+
* Deletes an unused activation code.
|
|
111566
111571
|
*
|
|
111567
111572
|
* @remarks
|
|
111568
|
-
*
|
|
111573
|
+
* ## [](#)Usage notes
|
|
111574
|
+
* Before you call this operation to delete an activation code, make sure that no managed instances are registered with the activation code.
|
|
111569
111575
|
*
|
|
111570
111576
|
* @param request - DeleteActivationRequest
|
|
111571
111577
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -111620,11 +111626,11 @@ export default class Client extends OpenApi {
|
|
|
111620
111626
|
}
|
|
111621
111627
|
|
|
111622
111628
|
/**
|
|
111623
|
-
*
|
|
111624
|
-
* Before you call this operation to delete an activation code, make sure that the activation code has never been used to register managed instances.
|
|
111629
|
+
* Deletes an unused activation code.
|
|
111625
111630
|
*
|
|
111626
111631
|
* @remarks
|
|
111627
|
-
*
|
|
111632
|
+
* ## [](#)Usage notes
|
|
111633
|
+
* Before you call this operation to delete an activation code, make sure that no managed instances are registered with the activation code.
|
|
111628
111634
|
*
|
|
111629
111635
|
* @param request - DeleteActivationRequest
|
|
111630
111636
|
* @returns DeleteActivationResponse
|
|
@@ -111701,7 +111707,7 @@ export default class Client extends OpenApi {
|
|
|
111701
111707
|
}
|
|
111702
111708
|
|
|
111703
111709
|
/**
|
|
111704
|
-
*
|
|
111710
|
+
* Deletes an automatic snapshot policy. After you delete an automatic snapshot policy, the policy is no longer applied to the disks on which it previously took effect.
|
|
111705
111711
|
*
|
|
111706
111712
|
* @param request - DeleteAutoSnapshotPolicyRequest
|
|
111707
111713
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -111748,7 +111754,7 @@ export default class Client extends OpenApi {
|
|
|
111748
111754
|
}
|
|
111749
111755
|
|
|
111750
111756
|
/**
|
|
111751
|
-
*
|
|
111757
|
+
* Deletes an automatic snapshot policy. After you delete an automatic snapshot policy, the policy is no longer applied to the disks on which it previously took effect.
|
|
111752
111758
|
*
|
|
111753
111759
|
* @param request - DeleteAutoSnapshotPolicyRequest
|
|
111754
111760
|
* @returns DeleteAutoSnapshotPolicyResponse
|
|
@@ -112411,7 +112417,7 @@ export default class Client extends OpenApi {
|
|
|
112411
112417
|
}
|
|
112412
112418
|
|
|
112413
112419
|
/**
|
|
112414
|
-
*
|
|
112420
|
+
* Deletes a high performance computing (HPC) cluster.
|
|
112415
112421
|
*
|
|
112416
112422
|
* @param request - DeleteHpcClusterRequest
|
|
112417
112423
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -112470,7 +112476,7 @@ export default class Client extends OpenApi {
|
|
|
112470
112476
|
}
|
|
112471
112477
|
|
|
112472
112478
|
/**
|
|
112473
|
-
*
|
|
112479
|
+
* Deletes a high performance computing (HPC) cluster.
|
|
112474
112480
|
*
|
|
112475
112481
|
* @param request - DeleteHpcClusterRequest
|
|
112476
112482
|
* @returns DeleteHpcClusterResponse
|
|
@@ -112697,15 +112703,14 @@ export default class Client extends OpenApi {
|
|
|
112697
112703
|
}
|
|
112698
112704
|
|
|
112699
112705
|
/**
|
|
112700
|
-
*
|
|
112706
|
+
* Deletes or releases a pay-as-you-go Elastic Compute Service (ECS) instance or an expired subscription ECS instance. You can configure parameters to specify whether to release the disks attached to the instance or retain the disks as pay-as-you-go disks.
|
|
112701
112707
|
*
|
|
112702
112708
|
* @remarks
|
|
112703
112709
|
* *
|
|
112704
112710
|
* **Warning** After an instance is released, all physical resources used by the instance are recycled. Relevant data is erased and cannot be restored.
|
|
112705
|
-
*
|
|
112706
|
-
*
|
|
112707
|
-
*
|
|
112708
|
-
* * If `DeleteAutoSnapshot` is set to false for a cloud disk attached to the instance, the automatic snapshots of the cloud disk are retained when the instance is released. If DeleteAutoSnapshot is set to true for the cloud disk, the cloud disk is released along with the instance.
|
|
112711
|
+
* After you release an instance, the manual snapshots of the cloud disks attached to the instance are retained. Whether the cloud disks and the automatic snapshots of the disks are released is determined by the options that you configured when you created the instance and disks. Before you release the instance, you can call the [DescribeDisks](https://help.aliyun.com/document_detail/2679767.html) operation to query the parameter settings for the cloud disks attached to the instance and the automatic snapshots.
|
|
112712
|
+
* * The cloud disks for which `DeleteWithInstance` is set to false are retained as pay-as-you-go disks after the instance is released. The cloud disks for which DeleteWithInstance is set to true are released along with the instance.
|
|
112713
|
+
* * If `DeleteAutoSnapshot` is set to false for a cloud disk attached to the instance, the automatic snapshots of the cloud disk are retained when the instance is released. If DeleteAutoSnapshot is set to true for the cloud disk, the automatic snapshots of the disk are released along with the instance.
|
|
112709
112714
|
* > When you release an instance that is locked for security reasons, the cloud disks attached to the instance are released even if DeleteWithInstance is set to false.
|
|
112710
112715
|
*
|
|
112711
112716
|
* @param request - DeleteInstanceRequest
|
|
@@ -112765,15 +112770,14 @@ export default class Client extends OpenApi {
|
|
|
112765
112770
|
}
|
|
112766
112771
|
|
|
112767
112772
|
/**
|
|
112768
|
-
*
|
|
112773
|
+
* Deletes or releases a pay-as-you-go Elastic Compute Service (ECS) instance or an expired subscription ECS instance. You can configure parameters to specify whether to release the disks attached to the instance or retain the disks as pay-as-you-go disks.
|
|
112769
112774
|
*
|
|
112770
112775
|
* @remarks
|
|
112771
112776
|
* *
|
|
112772
112777
|
* **Warning** After an instance is released, all physical resources used by the instance are recycled. Relevant data is erased and cannot be restored.
|
|
112773
|
-
*
|
|
112774
|
-
*
|
|
112775
|
-
*
|
|
112776
|
-
* * If `DeleteAutoSnapshot` is set to false for a cloud disk attached to the instance, the automatic snapshots of the cloud disk are retained when the instance is released. If DeleteAutoSnapshot is set to true for the cloud disk, the cloud disk is released along with the instance.
|
|
112778
|
+
* After you release an instance, the manual snapshots of the cloud disks attached to the instance are retained. Whether the cloud disks and the automatic snapshots of the disks are released is determined by the options that you configured when you created the instance and disks. Before you release the instance, you can call the [DescribeDisks](https://help.aliyun.com/document_detail/2679767.html) operation to query the parameter settings for the cloud disks attached to the instance and the automatic snapshots.
|
|
112779
|
+
* * The cloud disks for which `DeleteWithInstance` is set to false are retained as pay-as-you-go disks after the instance is released. The cloud disks for which DeleteWithInstance is set to true are released along with the instance.
|
|
112780
|
+
* * If `DeleteAutoSnapshot` is set to false for a cloud disk attached to the instance, the automatic snapshots of the cloud disk are retained when the instance is released. If DeleteAutoSnapshot is set to true for the cloud disk, the automatic snapshots of the disk are released along with the instance.
|
|
112777
112781
|
* > When you release an instance that is locked for security reasons, the cloud disks attached to the instance are released even if DeleteWithInstance is set to false.
|
|
112778
112782
|
*
|
|
112779
112783
|
* @param request - DeleteInstanceRequest
|
|
@@ -114326,9 +114330,10 @@ export default class Client extends OpenApi {
|
|
|
114326
114330
|
* Queries existing activation codes and their usage information.
|
|
114327
114331
|
*
|
|
114328
114332
|
* @remarks
|
|
114333
|
+
* ## [](#)Usage notes
|
|
114329
114334
|
* You can use one of the following methods to check the responses:
|
|
114330
|
-
*
|
|
114331
|
-
*
|
|
114335
|
+
* * Method 1: During a paged query, when you call the DescribeActivations operation to retrieve the first page of results, use `MaxResults` to specify the maximum number of entries to return in the call. The return value of `NextToken` is a pagination token, which you can use in the next request to retrieve a new page of results. When you call the DescribeActivations operation to retrieve a new page of results, set `NextToken` to the `NextToken` value returned in the previous call and set `MaxResults` to specify the maximum number of entries to return in this call.
|
|
114336
|
+
* * Method 2: Use `PageSize` to specify the number of entries to return on each page, and then use `PageNumber` to specify the number of the page to return. You can use only one of the preceding methods. If you specify `MaxResults` or `NextToken`, the `PageSize` and `PageNumber` request parameters do not take effect and the `TotalCount` response parameter is invalid.
|
|
114332
114337
|
*
|
|
114333
114338
|
* @param request - DescribeActivationsRequest
|
|
114334
114339
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -114414,9 +114419,10 @@ export default class Client extends OpenApi {
|
|
|
114414
114419
|
* Queries existing activation codes and their usage information.
|
|
114415
114420
|
*
|
|
114416
114421
|
* @remarks
|
|
114422
|
+
* ## [](#)Usage notes
|
|
114417
114423
|
* You can use one of the following methods to check the responses:
|
|
114418
|
-
*
|
|
114419
|
-
*
|
|
114424
|
+
* * Method 1: During a paged query, when you call the DescribeActivations operation to retrieve the first page of results, use `MaxResults` to specify the maximum number of entries to return in the call. The return value of `NextToken` is a pagination token, which you can use in the next request to retrieve a new page of results. When you call the DescribeActivations operation to retrieve a new page of results, set `NextToken` to the `NextToken` value returned in the previous call and set `MaxResults` to specify the maximum number of entries to return in this call.
|
|
114425
|
+
* * Method 2: Use `PageSize` to specify the number of entries to return on each page, and then use `PageNumber` to specify the number of the page to return. You can use only one of the preceding methods. If you specify `MaxResults` or `NextToken`, the `PageSize` and `PageNumber` request parameters do not take effect and the `TotalCount` response parameter is invalid.
|
|
114420
114426
|
*
|
|
114421
114427
|
* @param request - DescribeActivationsRequest
|
|
114422
114428
|
* @returns DescribeActivationsResponse
|
|
@@ -114661,7 +114667,7 @@ export default class Client extends OpenApi {
|
|
|
114661
114667
|
}
|
|
114662
114668
|
|
|
114663
114669
|
/**
|
|
114664
|
-
* Queries
|
|
114670
|
+
* Queries the details of automatic snapshot policies that are created in a specific region.
|
|
114665
114671
|
*
|
|
114666
114672
|
* @param request - DescribeAutoSnapshotPolicyExRequest
|
|
114667
114673
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -114732,7 +114738,7 @@ export default class Client extends OpenApi {
|
|
|
114732
114738
|
}
|
|
114733
114739
|
|
|
114734
114740
|
/**
|
|
114735
|
-
* Queries
|
|
114741
|
+
* Queries the details of automatic snapshot policies that are created in a specific region.
|
|
114736
114742
|
*
|
|
114737
114743
|
* @param request - DescribeAutoSnapshotPolicyExRequest
|
|
114738
114744
|
* @returns DescribeAutoSnapshotPolicyExResponse
|
|
@@ -115209,7 +115215,7 @@ export default class Client extends OpenApi {
|
|
|
115209
115215
|
}
|
|
115210
115216
|
|
|
115211
115217
|
/**
|
|
115212
|
-
* Queries
|
|
115218
|
+
* Queries instances located in the classic network that have established ClassicLink connections with virtual private clouds (VPCs).
|
|
115213
115219
|
*
|
|
115214
115220
|
* @remarks
|
|
115215
115221
|
* Take note of the following items:
|
|
@@ -115274,7 +115280,7 @@ export default class Client extends OpenApi {
|
|
|
115274
115280
|
}
|
|
115275
115281
|
|
|
115276
115282
|
/**
|
|
115277
|
-
* Queries
|
|
115283
|
+
* Queries instances located in the classic network that have established ClassicLink connections with virtual private clouds (VPCs).
|
|
115278
115284
|
*
|
|
115279
115285
|
* @remarks
|
|
115280
115286
|
* Take note of the following items:
|
|
@@ -115358,9 +115364,7 @@ export default class Client extends OpenApi {
|
|
|
115358
115364
|
* @remarks
|
|
115359
115365
|
* ## [](#)Usage notes
|
|
115360
115366
|
* * Before you run commands on or send files to instances, especially new instances, we recommend that you query the status of Cloud Assistant on the instances by calling this operation and checking the return value of CloudAssistantStatus. Run commands on or send files to the instances only when the return value is true.
|
|
115361
|
-
* *
|
|
115362
|
-
* * Method 1: During a paged query, when you call the DescribeCloudAssistantStatus operation to retrieve the first page of results, set `MaxResults` to specify the maximum number of entries to return in the call. The return value of `NextToken` is a pagination token, which can be used in the next request to retrieve a new page of results. When you call the DescribeCloudAssistantStatus operation to retrieve a new page of results, set `NextToken` to the `NextToken` value returned in the previous call and set `MaxResults` to specify the maximum number of entries to return in this call.
|
|
115363
|
-
* * Method 2: Use `PageSize` to specify the number of entries to return on each page and then use `PageNumber` to specify the number of the page to return. You can use only one of the preceding methods. If you specify `MaxResults` or `NextToken`, the `PageSize` and `PageNumber` request parameters do not take effect and the `TotalCount` response parameter is invalid.
|
|
115367
|
+
* * During a paged query, when you call the DescribeCloudAssistantStatus operation to retrieve the first page of results, set `MaxResults` to specify the maximum number of entries to return in the call. The return value of `NextToken` is a pagination token that can be used in the next call to retrieve a new page of results. When you call the DescribeCloudAssistantStatus operation to retrieve a new page of results, set `NextToken` to the `NextToken` value returned in the previous call and set `MaxResults` to specify the maximum number of entries to return in this call.
|
|
115364
115368
|
*
|
|
115365
115369
|
* @param request - DescribeCloudAssistantStatusRequest
|
|
115366
115370
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -115440,9 +115444,7 @@ export default class Client extends OpenApi {
|
|
|
115440
115444
|
* @remarks
|
|
115441
115445
|
* ## [](#)Usage notes
|
|
115442
115446
|
* * Before you run commands on or send files to instances, especially new instances, we recommend that you query the status of Cloud Assistant on the instances by calling this operation and checking the return value of CloudAssistantStatus. Run commands on or send files to the instances only when the return value is true.
|
|
115443
|
-
* *
|
|
115444
|
-
* * Method 1: During a paged query, when you call the DescribeCloudAssistantStatus operation to retrieve the first page of results, set `MaxResults` to specify the maximum number of entries to return in the call. The return value of `NextToken` is a pagination token, which can be used in the next request to retrieve a new page of results. When you call the DescribeCloudAssistantStatus operation to retrieve a new page of results, set `NextToken` to the `NextToken` value returned in the previous call and set `MaxResults` to specify the maximum number of entries to return in this call.
|
|
115445
|
-
* * Method 2: Use `PageSize` to specify the number of entries to return on each page and then use `PageNumber` to specify the number of the page to return. You can use only one of the preceding methods. If you specify `MaxResults` or `NextToken`, the `PageSize` and `PageNumber` request parameters do not take effect and the `TotalCount` response parameter is invalid.
|
|
115447
|
+
* * During a paged query, when you call the DescribeCloudAssistantStatus operation to retrieve the first page of results, set `MaxResults` to specify the maximum number of entries to return in the call. The return value of `NextToken` is a pagination token that can be used in the next call to retrieve a new page of results. When you call the DescribeCloudAssistantStatus operation to retrieve a new page of results, set `NextToken` to the `NextToken` value returned in the previous call and set `MaxResults` to specify the maximum number of entries to return in this call.
|
|
115446
115448
|
*
|
|
115447
115449
|
* @param request - DescribeCloudAssistantStatusRequest
|
|
115448
115450
|
* @returns DescribeCloudAssistantStatusResponse
|
|
@@ -115518,9 +115520,7 @@ export default class Client extends OpenApi {
|
|
|
115518
115520
|
* @remarks
|
|
115519
115521
|
* ## [](#)Usage notes
|
|
115520
115522
|
* * If you specify only `Action` and `RegionId`, all available commands (`CommandId`) that you created in the specified region are queried by default.
|
|
115521
|
-
* *
|
|
115522
|
-
* * Method 1: During a paged query, when you call the DescribeCommands operation to retrieve the first page of results, set `MaxResults` to specify the maximum number of entries to return in the call. The return value of `NextToken` is a pagination token, which can be used in the next request to retrieve a new page of results. When you call the DescribeCommands operation to retrieve a new page of results, set `NextToken` to the `NextToken` value returned in the previous call and set `MaxResults` to specify the maximum number of entries to return in this call.
|
|
115523
|
-
* * Method 2: Use `PageSize` to specify the number of entries to return on each page and then use `PageNumber` to specify the number of the page to return. You can use only one of the preceding methods. If you specify `MaxResults` or `NextToken`, the `PageSize` and `PageNumber` request parameters do not take effect and the `TotalCount` response parameter is invalid.
|
|
115523
|
+
* * During a paged query, when you call the DescribeCommands operation to retrieve the first page of results, set `MaxResults` to specify the maximum number of entries to return in the call. The return value of `NextToken` is a pagination token that can be used in the next call to retrieve a new page of results. When you call the DescribeCommands operation to retrieve a new page of results, set `NextToken` to the `NextToken` value returned in the previous call and set `MaxResults` to specify the maximum number of entries to return in this call.
|
|
115524
115524
|
*
|
|
115525
115525
|
* @param request - DescribeCommandsRequest
|
|
115526
115526
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -115628,9 +115628,7 @@ export default class Client extends OpenApi {
|
|
|
115628
115628
|
* @remarks
|
|
115629
115629
|
* ## [](#)Usage notes
|
|
115630
115630
|
* * If you specify only `Action` and `RegionId`, all available commands (`CommandId`) that you created in the specified region are queried by default.
|
|
115631
|
-
* *
|
|
115632
|
-
* * Method 1: During a paged query, when you call the DescribeCommands operation to retrieve the first page of results, set `MaxResults` to specify the maximum number of entries to return in the call. The return value of `NextToken` is a pagination token, which can be used in the next request to retrieve a new page of results. When you call the DescribeCommands operation to retrieve a new page of results, set `NextToken` to the `NextToken` value returned in the previous call and set `MaxResults` to specify the maximum number of entries to return in this call.
|
|
115633
|
-
* * Method 2: Use `PageSize` to specify the number of entries to return on each page and then use `PageNumber` to specify the number of the page to return. You can use only one of the preceding methods. If you specify `MaxResults` or `NextToken`, the `PageSize` and `PageNumber` request parameters do not take effect and the `TotalCount` response parameter is invalid.
|
|
115631
|
+
* * During a paged query, when you call the DescribeCommands operation to retrieve the first page of results, set `MaxResults` to specify the maximum number of entries to return in the call. The return value of `NextToken` is a pagination token that can be used in the next call to retrieve a new page of results. When you call the DescribeCommands operation to retrieve a new page of results, set `NextToken` to the `NextToken` value returned in the previous call and set `MaxResults` to specify the maximum number of entries to return in this call.
|
|
115634
115632
|
*
|
|
115635
115633
|
* @param request - DescribeCommandsRequest
|
|
115636
115634
|
* @returns DescribeCommandsResponse
|
|
@@ -117781,12 +117779,11 @@ export default class Client extends OpenApi {
|
|
|
117781
117779
|
}
|
|
117782
117780
|
|
|
117783
117781
|
/**
|
|
117784
|
-
*
|
|
117782
|
+
* Queries available custom images that are most recently created in a specific image family.
|
|
117785
117783
|
*
|
|
117786
117784
|
* @remarks
|
|
117787
|
-
* ##
|
|
117788
|
-
*
|
|
117789
|
-
* * If no available custom images exist in the specified image family, the response is empty.
|
|
117785
|
+
* ## [](#)Usage notes
|
|
117786
|
+
* If no available image exists in a specific image family, the response is empty.
|
|
117790
117787
|
*
|
|
117791
117788
|
* @param request - DescribeImageFromFamilyRequest
|
|
117792
117789
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -117837,12 +117834,11 @@ export default class Client extends OpenApi {
|
|
|
117837
117834
|
}
|
|
117838
117835
|
|
|
117839
117836
|
/**
|
|
117840
|
-
*
|
|
117837
|
+
* Queries available custom images that are most recently created in a specific image family.
|
|
117841
117838
|
*
|
|
117842
117839
|
* @remarks
|
|
117843
|
-
* ##
|
|
117844
|
-
*
|
|
117845
|
-
* * If no available custom images exist in the specified image family, the response is empty.
|
|
117840
|
+
* ## [](#)Usage notes
|
|
117841
|
+
* If no available image exists in a specific image family, the response is empty.
|
|
117846
117842
|
*
|
|
117847
117843
|
* @param request - DescribeImageFromFamilyRequest
|
|
117848
117844
|
* @returns DescribeImageFromFamilyResponse
|
|
@@ -118423,7 +118419,7 @@ export default class Client extends OpenApi {
|
|
|
118423
118419
|
}
|
|
118424
118420
|
|
|
118425
118421
|
/**
|
|
118426
|
-
* Queries the attributes of
|
|
118422
|
+
* Queries the attributes of a specific Elastic Compute Service (ECS) instance.
|
|
118427
118423
|
*
|
|
118428
118424
|
* @param request - DescribeInstanceAttributeRequest
|
|
118429
118425
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -118470,7 +118466,7 @@ export default class Client extends OpenApi {
|
|
|
118470
118466
|
}
|
|
118471
118467
|
|
|
118472
118468
|
/**
|
|
118473
|
-
* Queries the attributes of
|
|
118469
|
+
* Queries the attributes of a specific Elastic Compute Service (ECS) instance.
|
|
118474
118470
|
*
|
|
118475
118471
|
* @param request - DescribeInstanceAttributeRequest
|
|
118476
118472
|
* @returns DescribeInstanceAttributeResponse
|
|
@@ -118484,8 +118480,8 @@ export default class Client extends OpenApi {
|
|
|
118484
118480
|
* Queries the auto-renewal attribute of subscription Elastic Compute Service (ECS) instances, including whether auto-renewal is enabled for the instances and the auto-renewal durations of the instances.
|
|
118485
118481
|
*
|
|
118486
118482
|
* @remarks
|
|
118487
|
-
*
|
|
118488
|
-
* *
|
|
118483
|
+
* Only subscription instances are supported. If you call this operation for a pay-as-you-go instance, an error is returned.
|
|
118484
|
+
* * Before you configure auto-renewal or manual renewal for subscription instances, you can query the auto-renewal status of the instances.
|
|
118489
118485
|
*
|
|
118490
118486
|
* @param request - DescribeInstanceAutoRenewAttributeRequest
|
|
118491
118487
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -118551,8 +118547,8 @@ export default class Client extends OpenApi {
|
|
|
118551
118547
|
* Queries the auto-renewal attribute of subscription Elastic Compute Service (ECS) instances, including whether auto-renewal is enabled for the instances and the auto-renewal durations of the instances.
|
|
118552
118548
|
*
|
|
118553
118549
|
* @remarks
|
|
118554
|
-
*
|
|
118555
|
-
* *
|
|
118550
|
+
* Only subscription instances are supported. If you call this operation for a pay-as-you-go instance, an error is returned.
|
|
118551
|
+
* * Before you configure auto-renewal or manual renewal for subscription instances, you can query the auto-renewal status of the instances.
|
|
118556
118552
|
*
|
|
118557
118553
|
* @param request - DescribeInstanceAutoRenewAttributeRequest
|
|
118558
118554
|
* @returns DescribeInstanceAutoRenewAttributeResponse
|
|
@@ -119926,9 +119922,7 @@ export default class Client extends OpenApi {
|
|
|
119926
119922
|
* * After you run a command, the command may fail to run or may return unexpected results. You can call this operation to query the execution results.
|
|
119927
119923
|
* * You can query information about command executions within the last four weeks. Up to 100,000 pieces of execution information can be retained.
|
|
119928
119924
|
* * You can [subscribe to Cloud Assistant task status events](https://help.aliyun.com/document_detail/2669130.html) to obtain command execution results from the events. This helps you reduce the number of times to poll API operations and improve efficiency.
|
|
119929
|
-
* *
|
|
119930
|
-
* * Method 1: During a paged query, when you call the DescribeInvocationResults operation to retrieve the first page of results, set `MaxResults` to specify the maximum number of entries to return in the call. The return value of `NextToken` is a pagination token, which can be used in the next request to retrieve a new page of results. When you call the DescribeInvocationResults operation to retrieve a new page of results, set `NextToken` to the `NextToken` value returned in the previous call and set `MaxResults` to specify the maximum number of entries to return in this call.
|
|
119931
|
-
* * Method 2: Use `PageSize` to specify the number of entries per page, and then use `PageNumber` to specify the page number. You can use only one of the preceding methods. If you specify `MaxResults` or `NextToken`, the `PageSize` and `PageNumber` request parameters do not take effect and the `TotalCount` response parameter is invalid.
|
|
119925
|
+
* * During a paged query, when you call the DescribeInvocationResults operation to retrieve the first page of results, set `MaxResults` to specify the maximum number of entries to return in the call. The return value of `NextToken` is a pagination token that can be used in the next call to retrieve a new page of results. When you call the DescribeInvocationResults operation to retrieve a new page of results, set `NextToken` to the `NextToken` value returned in the previous call and set `MaxResults` to specify the maximum number of entries to return in this call.
|
|
119932
119926
|
* * Comparison between the `DescribeInvocations` and `DescribeInvocationResults` operations:
|
|
119933
119927
|
* * Scenario in which the `RunCommand` or `InvokeCommand` operation is called to run a Cloud Assistant command on multiple instances:
|
|
119934
119928
|
* * The `DescribeInvocations` operation queries the execution status of the command on each instance and the overall execution status of the command on all instances.
|
|
@@ -120042,9 +120036,7 @@ export default class Client extends OpenApi {
|
|
|
120042
120036
|
* * After you run a command, the command may fail to run or may return unexpected results. You can call this operation to query the execution results.
|
|
120043
120037
|
* * You can query information about command executions within the last four weeks. Up to 100,000 pieces of execution information can be retained.
|
|
120044
120038
|
* * You can [subscribe to Cloud Assistant task status events](https://help.aliyun.com/document_detail/2669130.html) to obtain command execution results from the events. This helps you reduce the number of times to poll API operations and improve efficiency.
|
|
120045
|
-
* *
|
|
120046
|
-
* * Method 1: During a paged query, when you call the DescribeInvocationResults operation to retrieve the first page of results, set `MaxResults` to specify the maximum number of entries to return in the call. The return value of `NextToken` is a pagination token, which can be used in the next request to retrieve a new page of results. When you call the DescribeInvocationResults operation to retrieve a new page of results, set `NextToken` to the `NextToken` value returned in the previous call and set `MaxResults` to specify the maximum number of entries to return in this call.
|
|
120047
|
-
* * Method 2: Use `PageSize` to specify the number of entries per page, and then use `PageNumber` to specify the page number. You can use only one of the preceding methods. If you specify `MaxResults` or `NextToken`, the `PageSize` and `PageNumber` request parameters do not take effect and the `TotalCount` response parameter is invalid.
|
|
120039
|
+
* * During a paged query, when you call the DescribeInvocationResults operation to retrieve the first page of results, set `MaxResults` to specify the maximum number of entries to return in the call. The return value of `NextToken` is a pagination token that can be used in the next call to retrieve a new page of results. When you call the DescribeInvocationResults operation to retrieve a new page of results, set `NextToken` to the `NextToken` value returned in the previous call and set `MaxResults` to specify the maximum number of entries to return in this call.
|
|
120048
120040
|
* * Comparison between the `DescribeInvocations` and `DescribeInvocationResults` operations:
|
|
120049
120041
|
* * Scenario in which the `RunCommand` or `InvokeCommand` operation is called to run a Cloud Assistant command on multiple instances:
|
|
120050
120042
|
* * The `DescribeInvocations` operation queries the execution status of the command on each instance and the overall execution status of the command on all instances.
|
|
@@ -120546,10 +120538,7 @@ export default class Client extends OpenApi {
|
|
|
120546
120538
|
* Queries managed instances.
|
|
120547
120539
|
*
|
|
120548
120540
|
* @remarks
|
|
120549
|
-
*
|
|
120550
|
-
* You can use one of the following methods to check the responses:
|
|
120551
|
-
* * Method 1: During a paged query, when you call the DescribeManagedInstances operation to retrieve the first page of results, set `MaxResults` to specify the maximum number of entries to return in the call. The return value of `NextToken` is a pagination token, which can be used in the next request to retrieve a new page of results. When you call the DescribeManagedInstances operation to retrieve a new page of results, set `NextToken` to the `NextToken` value returned in the previous call and set `MaxResults` to specify the maximum number of entries to return in this call.
|
|
120552
|
-
* * Method 2: Use `PageSize` to specify the number of entries to return on each page and then use `PageNumber` to specify the number of the page to return. You can use only one of the preceding methods. If you specify `MaxResults` or `NextToken`, the `PageSize` and `PageNumber` request parameters do not take effect and the `TotalCount` response parameter is invalid.
|
|
120541
|
+
* During a paged query, when you call the DescribeManagedInstances operation to retrieve the first page of results, set `MaxResults` to specify the maximum number of entries to return in the call. The return value of `NextToken` is a pagination token that can be used in the next call to retrieve a new page of results. When you call the DescribeManagedInstances operation to retrieve a new page of results, set `NextToken` to the `NextToken` value returned in the previous call and set `MaxResults` to specify the maximum number of entries to return in this call.
|
|
120553
120542
|
*
|
|
120554
120543
|
* @param request - DescribeManagedInstancesRequest
|
|
120555
120544
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -120647,10 +120636,7 @@ export default class Client extends OpenApi {
|
|
|
120647
120636
|
* Queries managed instances.
|
|
120648
120637
|
*
|
|
120649
120638
|
* @remarks
|
|
120650
|
-
*
|
|
120651
|
-
* You can use one of the following methods to check the responses:
|
|
120652
|
-
* * Method 1: During a paged query, when you call the DescribeManagedInstances operation to retrieve the first page of results, set `MaxResults` to specify the maximum number of entries to return in the call. The return value of `NextToken` is a pagination token, which can be used in the next request to retrieve a new page of results. When you call the DescribeManagedInstances operation to retrieve a new page of results, set `NextToken` to the `NextToken` value returned in the previous call and set `MaxResults` to specify the maximum number of entries to return in this call.
|
|
120653
|
-
* * Method 2: Use `PageSize` to specify the number of entries to return on each page and then use `PageNumber` to specify the number of the page to return. You can use only one of the preceding methods. If you specify `MaxResults` or `NextToken`, the `PageSize` and `PageNumber` request parameters do not take effect and the `TotalCount` response parameter is invalid.
|
|
120639
|
+
* During a paged query, when you call the DescribeManagedInstances operation to retrieve the first page of results, set `MaxResults` to specify the maximum number of entries to return in the call. The return value of `NextToken` is a pagination token that can be used in the next call to retrieve a new page of results. When you call the DescribeManagedInstances operation to retrieve a new page of results, set `NextToken` to the `NextToken` value returned in the previous call and set `MaxResults` to specify the maximum number of entries to return in this call.
|
|
120654
120640
|
*
|
|
120655
120641
|
* @param request - DescribeManagedInstancesRequest
|
|
120656
120642
|
* @returns DescribeManagedInstancesResponse
|
|
@@ -122683,13 +122669,10 @@ export default class Client extends OpenApi {
|
|
|
122683
122669
|
}
|
|
122684
122670
|
|
|
122685
122671
|
/**
|
|
122686
|
-
* Queries the security groups
|
|
122672
|
+
* Queries the security groups whose rules reference security groups as authorization objects.
|
|
122687
122673
|
*
|
|
122688
122674
|
* @remarks
|
|
122689
|
-
*
|
|
122690
|
-
* * A security group can be referenced by the inbound or outbound rules of other security groups.
|
|
122691
|
-
* * Up to 100 entries can be returned each time.
|
|
122692
|
-
* * If a security group cannot be deleted by calling the [DeleteSecurityGroup](https://help.aliyun.com/document_detail/25558.html) operation, you can call the DescribeSecurityGroupReferences operation to check whether the security group is referenced by the rules of other security groups. If the security group is referenced by the rules of other security groups, you must remove the reference before you can delete the security group.
|
|
122675
|
+
* If you cannot delete a security group by calling the [DeleteSecurityGroup](https://help.aliyun.com/document_detail/25558.html) operation, call the DescribeSecurityGroupReferences operation to check whether the security group is referenced by the rules of other security groups. If the security group is referenced by the rules of other security groups, you must call the [RevokeSecurityGroup](https://help.aliyun.com/document_detail/2679855.html) and [RevokeSecurityGroupEgress](https://help.aliyun.com/document_detail/2679856.html) operations to remove the references before you can delete the security group.
|
|
122693
122676
|
*
|
|
122694
122677
|
* @param request - DescribeSecurityGroupReferencesRequest
|
|
122695
122678
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -122740,13 +122723,10 @@ export default class Client extends OpenApi {
|
|
|
122740
122723
|
}
|
|
122741
122724
|
|
|
122742
122725
|
/**
|
|
122743
|
-
* Queries the security groups
|
|
122726
|
+
* Queries the security groups whose rules reference security groups as authorization objects.
|
|
122744
122727
|
*
|
|
122745
122728
|
* @remarks
|
|
122746
|
-
*
|
|
122747
|
-
* * A security group can be referenced by the inbound or outbound rules of other security groups.
|
|
122748
|
-
* * Up to 100 entries can be returned each time.
|
|
122749
|
-
* * If a security group cannot be deleted by calling the [DeleteSecurityGroup](https://help.aliyun.com/document_detail/25558.html) operation, you can call the DescribeSecurityGroupReferences operation to check whether the security group is referenced by the rules of other security groups. If the security group is referenced by the rules of other security groups, you must remove the reference before you can delete the security group.
|
|
122729
|
+
* If you cannot delete a security group by calling the [DeleteSecurityGroup](https://help.aliyun.com/document_detail/25558.html) operation, call the DescribeSecurityGroupReferences operation to check whether the security group is referenced by the rules of other security groups. If the security group is referenced by the rules of other security groups, you must call the [RevokeSecurityGroup](https://help.aliyun.com/document_detail/2679855.html) and [RevokeSecurityGroupEgress](https://help.aliyun.com/document_detail/2679856.html) operations to remove the references before you can delete the security group.
|
|
122750
122730
|
*
|
|
122751
122731
|
* @param request - DescribeSecurityGroupReferencesRequest
|
|
122752
122732
|
* @returns DescribeSecurityGroupReferencesResponse
|
|
@@ -122896,12 +122876,10 @@ export default class Client extends OpenApi {
|
|
|
122896
122876
|
* Queries the files sent by Cloud Assistant and their status.
|
|
122897
122877
|
*
|
|
122898
122878
|
* @remarks
|
|
122899
|
-
* ## [](#)Usage notes
|
|
122879
|
+
* ## [](#)Usage notes
|
|
122900
122880
|
* * When you send a file, the file may fail to be sent to specific Elastic Compute Service (ECS) instances. You can call this operation to check the file sending results.
|
|
122901
122881
|
* * You can call this operation to query the file sending records within the last six weeks.
|
|
122902
|
-
* *
|
|
122903
|
-
* * Method 1: During a paged query, when you call the DescribeSendFileResults operation to retrieve the first page of results, set `MaxResults` to specify the maximum number of entries to return in the call. The return value of `NextToken` is a pagination token, which can be used in the next request to retrieve a new page of results. When you call the DescribeSendFileResults operation to retrieve a new page of results, set `NextToken` to the `NextToken` value returned in the previous call and set `MaxResults` to specify the maximum number of entries to return in this call.
|
|
122904
|
-
* * Method 2: Use `PageSize` to specify the number of entries to return on each page and then use `PageNumber` to specify the number of the page to return. You can use only one of the preceding methods. If you specify `MaxResults` or `NextToken`, the `PageSize` and `PageNumber` request parameters do not take effect and the `TotalCount` response parameter is invalid.
|
|
122882
|
+
* * During a paged query, when you call the DescribeSendFileResults operation to retrieve the first page of results, set `MaxResults` to specify the maximum number of entries to return in the call. The return value of `NextToken` is a pagination token that can be used in the next call to retrieve a new page of results. When you call the DescribeSendFileResults operation to retrieve a new page of results, set `NextToken` to the `NextToken` value returned in the previous call and set `MaxResults` to specify the maximum number of entries to return in this call.
|
|
122905
122883
|
*
|
|
122906
122884
|
* @param request - DescribeSendFileResultsRequest
|
|
122907
122885
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -122995,12 +122973,10 @@ export default class Client extends OpenApi {
|
|
|
122995
122973
|
* Queries the files sent by Cloud Assistant and their status.
|
|
122996
122974
|
*
|
|
122997
122975
|
* @remarks
|
|
122998
|
-
* ## [](#)Usage notes
|
|
122976
|
+
* ## [](#)Usage notes
|
|
122999
122977
|
* * When you send a file, the file may fail to be sent to specific Elastic Compute Service (ECS) instances. You can call this operation to check the file sending results.
|
|
123000
122978
|
* * You can call this operation to query the file sending records within the last six weeks.
|
|
123001
|
-
* *
|
|
123002
|
-
* * Method 1: During a paged query, when you call the DescribeSendFileResults operation to retrieve the first page of results, set `MaxResults` to specify the maximum number of entries to return in the call. The return value of `NextToken` is a pagination token, which can be used in the next request to retrieve a new page of results. When you call the DescribeSendFileResults operation to retrieve a new page of results, set `NextToken` to the `NextToken` value returned in the previous call and set `MaxResults` to specify the maximum number of entries to return in this call.
|
|
123003
|
-
* * Method 2: Use `PageSize` to specify the number of entries to return on each page and then use `PageNumber` to specify the number of the page to return. You can use only one of the preceding methods. If you specify `MaxResults` or `NextToken`, the `PageSize` and `PageNumber` request parameters do not take effect and the `TotalCount` response parameter is invalid.
|
|
122979
|
+
* * During a paged query, when you call the DescribeSendFileResults operation to retrieve the first page of results, set `MaxResults` to specify the maximum number of entries to return in the call. The return value of `NextToken` is a pagination token that can be used in the next call to retrieve a new page of results. When you call the DescribeSendFileResults operation to retrieve a new page of results, set `NextToken` to the `NextToken` value returned in the previous call and set `MaxResults` to specify the maximum number of entries to return in this call.
|
|
123004
122980
|
*
|
|
123005
122981
|
* @param request - DescribeSendFileResultsRequest
|
|
123006
122982
|
* @returns DescribeSendFileResultsResponse
|
|
@@ -123287,8 +123263,7 @@ export default class Client extends OpenApi {
|
|
|
123287
123263
|
}
|
|
123288
123264
|
|
|
123289
123265
|
/**
|
|
123290
|
-
*
|
|
123291
|
-
* Default value: 1.
|
|
123266
|
+
* Queries the Object Storage Service (OSS) storage plans that you purchased in an Alibaba Cloud region. OSS storage plans can be used to offset the storage fees for standard snapshots instead of local snapshots.
|
|
123292
123267
|
*
|
|
123293
123268
|
* @param request - DescribeSnapshotPackageRequest
|
|
123294
123269
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -123343,8 +123318,7 @@ export default class Client extends OpenApi {
|
|
|
123343
123318
|
}
|
|
123344
123319
|
|
|
123345
123320
|
/**
|
|
123346
|
-
*
|
|
123347
|
-
* Default value: 1.
|
|
123321
|
+
* Queries the Object Storage Service (OSS) storage plans that you purchased in an Alibaba Cloud region. OSS storage plans can be used to offset the storage fees for standard snapshots instead of local snapshots.
|
|
123348
123322
|
*
|
|
123349
123323
|
* @param request - DescribeSnapshotPackageRequest
|
|
123350
123324
|
* @returns DescribeSnapshotPackageResponse
|
|
@@ -123797,7 +123771,7 @@ export default class Client extends OpenApi {
|
|
|
123797
123771
|
}
|
|
123798
123772
|
|
|
123799
123773
|
/**
|
|
123800
|
-
* Queries the details of
|
|
123774
|
+
* Queries the details of storage capacity units (SCUs). In the request, you can specify the name, status, or capacity of each SCU.
|
|
123801
123775
|
*
|
|
123802
123776
|
* @param request - DescribeStorageCapacityUnitsRequest
|
|
123803
123777
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -123876,7 +123850,7 @@ export default class Client extends OpenApi {
|
|
|
123876
123850
|
}
|
|
123877
123851
|
|
|
123878
123852
|
/**
|
|
123879
|
-
* Queries the details of
|
|
123853
|
+
* Queries the details of storage capacity units (SCUs). In the request, you can specify the name, status, or capacity of each SCU.
|
|
123880
123854
|
*
|
|
123881
123855
|
* @param request - DescribeStorageCapacityUnitsRequest
|
|
123882
123856
|
* @returns DescribeStorageCapacityUnitsResponse
|
|
@@ -124199,7 +124173,7 @@ export default class Client extends OpenApi {
|
|
|
124199
124173
|
}
|
|
124200
124174
|
|
|
124201
124175
|
/**
|
|
124202
|
-
* Queries the progress of one or more asynchronous
|
|
124176
|
+
* Queries the progress of one or more asynchronous tasks.
|
|
124203
124177
|
*
|
|
124204
124178
|
* @remarks
|
|
124205
124179
|
* ## Debugging
|
|
@@ -124282,7 +124256,7 @@ export default class Client extends OpenApi {
|
|
|
124282
124256
|
}
|
|
124283
124257
|
|
|
124284
124258
|
/**
|
|
124285
|
-
* Queries the progress of one or more asynchronous
|
|
124259
|
+
* Queries the progress of one or more asynchronous tasks.
|
|
124286
124260
|
*
|
|
124287
124261
|
* @remarks
|
|
124288
124262
|
* ## Debugging
|
|
@@ -124961,7 +124935,7 @@ export default class Client extends OpenApi {
|
|
|
124961
124935
|
}
|
|
124962
124936
|
|
|
124963
124937
|
/**
|
|
124964
|
-
*
|
|
124938
|
+
* Unlinks an Elastic Compute Service (ECS) instance that resides in the classic network from a virtual private cloud (VPC) by closing the ClassicLink connection between the instance and the VPC. After the instance is unlinked from the VPC, the instance can no longer communicate with instances in the VPC.
|
|
124965
124939
|
*
|
|
124966
124940
|
* @param request - DetachClassicLinkVpcRequest
|
|
124967
124941
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -125012,7 +124986,7 @@ export default class Client extends OpenApi {
|
|
|
125012
124986
|
}
|
|
125013
124987
|
|
|
125014
124988
|
/**
|
|
125015
|
-
*
|
|
124989
|
+
* Unlinks an Elastic Compute Service (ECS) instance that resides in the classic network from a virtual private cloud (VPC) by closing the ClassicLink connection between the instance and the VPC. After the instance is unlinked from the VPC, the instance can no longer communicate with instances in the VPC.
|
|
125016
124990
|
*
|
|
125017
124991
|
* @param request - DetachClassicLinkVpcRequest
|
|
125018
124992
|
* @returns DetachClassicLinkVpcResponse
|
|
@@ -125027,11 +125001,8 @@ export default class Client extends OpenApi {
|
|
|
125027
125001
|
*
|
|
125028
125002
|
* @remarks
|
|
125029
125003
|
* Take note of the following items:
|
|
125030
|
-
* *
|
|
125031
|
-
* *
|
|
125032
|
-
* * The instance from which you want to detach a system disk must be in the **Stopped** state.``
|
|
125033
|
-
* * If the `OperationLocks` parameter in the response contains `"LockReason" : "security"` when you query the instance information, the instance is locked for security reasons and all operations are prohibited on the instance.
|
|
125034
|
-
* * DetachDisk is an asynchronous operation. After you call the operation to detach a disk from an ECS instance, the disk is detached in approximately 1 minute.
|
|
125004
|
+
* * This operation is an asynchronous operation. After you call the operation to detach a disk from an ECS instance, the disk is detached in approximately 1 minute.
|
|
125005
|
+
* * If `OperationLocks` in the response contains `"LockReason" : "security"` when you query information about an instance, the instance is locked for security reasons and all operations are prohibited on the instance.
|
|
125035
125006
|
* * If you want to attach an elastic ephemeral disk that you detached from an instance, you can attach the disk only to the instance.
|
|
125036
125007
|
*
|
|
125037
125008
|
* @param request - DetachDiskRequest
|
|
@@ -125091,11 +125062,8 @@ export default class Client extends OpenApi {
|
|
|
125091
125062
|
*
|
|
125092
125063
|
* @remarks
|
|
125093
125064
|
* Take note of the following items:
|
|
125094
|
-
* *
|
|
125095
|
-
* *
|
|
125096
|
-
* * The instance from which you want to detach a system disk must be in the **Stopped** state.``
|
|
125097
|
-
* * If the `OperationLocks` parameter in the response contains `"LockReason" : "security"` when you query the instance information, the instance is locked for security reasons and all operations are prohibited on the instance.
|
|
125098
|
-
* * DetachDisk is an asynchronous operation. After you call the operation to detach a disk from an ECS instance, the disk is detached in approximately 1 minute.
|
|
125065
|
+
* * This operation is an asynchronous operation. After you call the operation to detach a disk from an ECS instance, the disk is detached in approximately 1 minute.
|
|
125066
|
+
* * If `OperationLocks` in the response contains `"LockReason" : "security"` when you query information about an instance, the instance is locked for security reasons and all operations are prohibited on the instance.
|
|
125099
125067
|
* * If you want to attach an elastic ephemeral disk that you detached from an instance, you can attach the disk only to the instance.
|
|
125100
125068
|
*
|
|
125101
125069
|
* @param request - DetachDiskRequest
|
|
@@ -125340,8 +125308,8 @@ export default class Client extends OpenApi {
|
|
|
125340
125308
|
* To prevent an activation code from being leaked, you can call the DisableActivation operation to disable the activation code. Disabled activation codes cannot be used to register new managed instances. However, managed instances that are already registered are not affected.
|
|
125341
125309
|
*
|
|
125342
125310
|
* @remarks
|
|
125343
|
-
*
|
|
125344
|
-
*
|
|
125311
|
+
* ## [](#)Usage notes
|
|
125312
|
+
* To prevent an activation code from being leaked, you can call the DisableActivation operation to disable the activation code. Disabled activation codes cannot be used to register new managed instances. However, managed instances that are already registered are not affected.
|
|
125345
125313
|
*
|
|
125346
125314
|
* @param request - DisableActivationRequest
|
|
125347
125315
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -125399,8 +125367,8 @@ export default class Client extends OpenApi {
|
|
|
125399
125367
|
* To prevent an activation code from being leaked, you can call the DisableActivation operation to disable the activation code. Disabled activation codes cannot be used to register new managed instances. However, managed instances that are already registered are not affected.
|
|
125400
125368
|
*
|
|
125401
125369
|
* @remarks
|
|
125402
|
-
*
|
|
125403
|
-
*
|
|
125370
|
+
* ## [](#)Usage notes
|
|
125371
|
+
* To prevent an activation code from being leaked, you can call the DisableActivation operation to disable the activation code. Disabled activation codes cannot be used to register new managed instances. However, managed instances that are already registered are not affected.
|
|
125404
125372
|
*
|
|
125405
125373
|
* @param request - DisableActivationRequest
|
|
125406
125374
|
* @returns DisableActivationResponse
|
|
@@ -125789,6 +125757,8 @@ export default class Client extends OpenApi {
|
|
|
125789
125757
|
}
|
|
125790
125758
|
|
|
125791
125759
|
/**
|
|
125760
|
+
* 将快照导出到指定的对象存储
|
|
125761
|
+
*
|
|
125792
125762
|
* @deprecated OpenAPI ExportSnapshot is deprecated
|
|
125793
125763
|
*
|
|
125794
125764
|
* @param request - ExportSnapshotRequest
|
|
@@ -125845,6 +125815,8 @@ export default class Client extends OpenApi {
|
|
|
125845
125815
|
}
|
|
125846
125816
|
|
|
125847
125817
|
/**
|
|
125818
|
+
* 将快照导出到指定的对象存储
|
|
125819
|
+
*
|
|
125848
125820
|
* @deprecated OpenAPI ExportSnapshot is deprecated
|
|
125849
125821
|
*
|
|
125850
125822
|
* @param request - ExportSnapshotRequest
|
|
@@ -126313,7 +126285,7 @@ export default class Client extends OpenApi {
|
|
|
126313
126285
|
}
|
|
126314
126286
|
|
|
126315
126287
|
/**
|
|
126316
|
-
* Imports the public key of a Rivest
|
|
126288
|
+
* Imports the public key of a Rivest-Shamir-Adleman (RSA) key pair that is generated by a third-party tool. After the key pair is imported, Alibaba Cloud stores the public key. You must securely lock away the private key.
|
|
126317
126289
|
*
|
|
126318
126290
|
* @remarks
|
|
126319
126291
|
* Take note of the following items:
|
|
@@ -126389,7 +126361,7 @@ export default class Client extends OpenApi {
|
|
|
126389
126361
|
}
|
|
126390
126362
|
|
|
126391
126363
|
/**
|
|
126392
|
-
* Imports the public key of a Rivest
|
|
126364
|
+
* Imports the public key of a Rivest-Shamir-Adleman (RSA) key pair that is generated by a third-party tool. After the key pair is imported, Alibaba Cloud stores the public key. You must securely lock away the private key.
|
|
126393
126365
|
*
|
|
126394
126366
|
* @remarks
|
|
126395
126367
|
* Take note of the following items:
|
|
@@ -126924,13 +126896,10 @@ export default class Client extends OpenApi {
|
|
|
126924
126896
|
* Queries the states of Cloud Assistant plug-ins on Elastic Compute Service (ECS) instances.
|
|
126925
126897
|
*
|
|
126926
126898
|
* @remarks
|
|
126927
|
-
*
|
|
126928
|
-
*
|
|
126929
|
-
*
|
|
126930
|
-
*
|
|
126931
|
-
* - You can use one of the following methods to check the responses:
|
|
126932
|
-
* - Method 1: When you call the ListPluginStatus operation to retrieve the first page of results during a paged query, use MaxResults to specify the maximum number of entries to return in the call. The return value of NextToken is a pagination token, which you can use in the next request to retrieve a new page of results. When you call the ListPluginStatus operation to retrieve a new page of results, set NextToken to the NextToken value returned in the previous call and use MaxResults to specify the maximum number of entries to return in this call.
|
|
126933
|
-
* - Method 2: Use PageSize to specify the number of entries to return on each page, and then use PageNumber to specify the number of the page to return. You can use only one of the preceding methods. If you specify MaxResults or NextToken, the PageSize and PageNumber request parameters do not take effect and the TotalCount response parameter is invalid.
|
|
126899
|
+
* Before you call this operation to query the status of Cloud Assistant plug-ins on ECS instances, make sure that the versions of Cloud Assistant Agent on the instances are not earlier than the following ones:
|
|
126900
|
+
* * 2.2.3.344 for Linux instances
|
|
126901
|
+
* * 2.1.3.344 for Windows instances
|
|
126902
|
+
* * During a paged query, when you call the ListPluginStatus operation to retrieve the first page of results, set `MaxResults` to specify the maximum number of entries to return in the call. The return value of `NextToken` is a pagination token that can be used in the next call to retrieve a new page of results. When you call the ListPluginStatus operation to retrieve a new page of results, set `NextToken` to the `NextToken` value returned in the previous call and set `MaxResults` to specify the maximum number of entries to return in this call.
|
|
126934
126903
|
*
|
|
126935
126904
|
* @param request - ListPluginStatusRequest
|
|
126936
126905
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -127008,13 +126977,10 @@ export default class Client extends OpenApi {
|
|
|
127008
126977
|
* Queries the states of Cloud Assistant plug-ins on Elastic Compute Service (ECS) instances.
|
|
127009
126978
|
*
|
|
127010
126979
|
* @remarks
|
|
127011
|
-
*
|
|
127012
|
-
*
|
|
127013
|
-
*
|
|
127014
|
-
*
|
|
127015
|
-
* - You can use one of the following methods to check the responses:
|
|
127016
|
-
* - Method 1: When you call the ListPluginStatus operation to retrieve the first page of results during a paged query, use MaxResults to specify the maximum number of entries to return in the call. The return value of NextToken is a pagination token, which you can use in the next request to retrieve a new page of results. When you call the ListPluginStatus operation to retrieve a new page of results, set NextToken to the NextToken value returned in the previous call and use MaxResults to specify the maximum number of entries to return in this call.
|
|
127017
|
-
* - Method 2: Use PageSize to specify the number of entries to return on each page, and then use PageNumber to specify the number of the page to return. You can use only one of the preceding methods. If you specify MaxResults or NextToken, the PageSize and PageNumber request parameters do not take effect and the TotalCount response parameter is invalid.
|
|
126980
|
+
* Before you call this operation to query the status of Cloud Assistant plug-ins on ECS instances, make sure that the versions of Cloud Assistant Agent on the instances are not earlier than the following ones:
|
|
126981
|
+
* * 2.2.3.344 for Linux instances
|
|
126982
|
+
* * 2.1.3.344 for Windows instances
|
|
126983
|
+
* * During a paged query, when you call the ListPluginStatus operation to retrieve the first page of results, set `MaxResults` to specify the maximum number of entries to return in the call. The return value of `NextToken` is a pagination token that can be used in the next call to retrieve a new page of results. When you call the ListPluginStatus operation to retrieve a new page of results, set `NextToken` to the `NextToken` value returned in the previous call and set `MaxResults` to specify the maximum number of entries to return in this call.
|
|
127018
126984
|
*
|
|
127019
126985
|
* @param request - ListPluginStatusRequest
|
|
127020
126986
|
* @returns ListPluginStatusResponse
|
|
@@ -128816,6 +128782,10 @@ export default class Client extends OpenApi {
|
|
|
128816
128782
|
async modifyDiskSpecWithOptions(request: ModifyDiskSpecRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDiskSpecResponse> {
|
|
128817
128783
|
Util.validateModel(request);
|
|
128818
128784
|
let query = { };
|
|
128785
|
+
if (!Util.isUnset(request.destinationZoneId)) {
|
|
128786
|
+
query["DestinationZoneId"] = request.destinationZoneId;
|
|
128787
|
+
}
|
|
128788
|
+
|
|
128819
128789
|
if (!Util.isUnset(request.diskCategory)) {
|
|
128820
128790
|
query["DiskCategory"] = request.diskCategory;
|
|
128821
128791
|
}
|
|
@@ -129203,7 +129173,7 @@ export default class Client extends OpenApi {
|
|
|
129203
129173
|
}
|
|
129204
129174
|
|
|
129205
129175
|
/**
|
|
129206
|
-
*
|
|
129176
|
+
* Modifies the description of a high performance computing (HPC) cluster.
|
|
129207
129177
|
*
|
|
129208
129178
|
* @param request - ModifyHpcClusterAttributeRequest
|
|
129209
129179
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -129270,7 +129240,7 @@ export default class Client extends OpenApi {
|
|
|
129270
129240
|
}
|
|
129271
129241
|
|
|
129272
129242
|
/**
|
|
129273
|
-
*
|
|
129243
|
+
* Modifies the description of a high performance computing (HPC) cluster.
|
|
129274
129244
|
*
|
|
129275
129245
|
* @param request - ModifyHpcClusterAttributeRequest
|
|
129276
129246
|
* @returns ModifyHpcClusterAttributeResponse
|
|
@@ -129642,28 +129612,7 @@ export default class Client extends OpenApi {
|
|
|
129642
129612
|
* Modifies the attributes of an Elastic Compute Service (ECS) instance, such as the password, name, description, hostname, security groups, maximum transmission unit (MTU), and user data of the instance.
|
|
129643
129613
|
*
|
|
129644
129614
|
* @remarks
|
|
129645
|
-
*
|
|
129646
|
-
* If the response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query the information of the instance, the instance is locked for security reasons and no operations are allowed on the instance.
|
|
129647
|
-
* Take note of the following items:
|
|
129648
|
-
* * If you change the hostname (`HostName`), restart the instance in the ECS console or by calling the [RebootInstance](https://help.aliyun.com/document_detail/25502.html) operation for the new hostname to take effect. For information about how to restart an instance in the ECS console, see [Restart an instance](https://help.aliyun.com/document_detail/25440.html). The new hostname may not take effect if you restart the instance from within the operating system.
|
|
129649
|
-
* * If you reset the password (`Password`), take note of the following items:
|
|
129650
|
-
* * The instance cannot be in the **Starting** (`Starting`) state.
|
|
129651
|
-
* * After you reset the password, restart the instance in the ECS console or by calling the [RebootInstance](https://help.aliyun.com/document_detail/25502.html) operation for the new password to take effect. For information about how to restart an instance in the ECS console, see [Restart an instance](https://help.aliyun.com/document_detail/25440.html). The new password does not take effect if you restart the instance from within the operating system.
|
|
129652
|
-
* * If you modify user data (`UserData`), take note of the following items: The instance must meet the limits for user data. For more information, see [Instance user data](https://help.aliyun.com/document_detail/49121.html).
|
|
129653
|
-
* **
|
|
129654
|
-
* **Note** After you restart the instance, the new user data is displayed but not run as scripts.
|
|
129655
|
-
* * If you change the security groups (`SecurityGroupIds.N`), take note of the following items:
|
|
129656
|
-
* * You can move the instance to a security group of a different type. If you want to move the instance to a security group of a different type, you must familiarize yourself with the differences between the rule configurations of the two security group types to prevent impacts on the instance network.
|
|
129657
|
-
* * Security groups of instances in the classic network cannot be changed. For more information, see the description of `SecurityGroupIds.N`.
|
|
129658
|
-
* * If you change the number of queues supported by the primary elastic network interface (ENI) (`NetworkInterfaceQueueNumber`), take note of the following items:
|
|
129659
|
-
* * The instance must be in the Stopped (`Stopped`) state.
|
|
129660
|
-
* * The value of this parameter cannot exceed the maximum number of queues allowed per ENI.
|
|
129661
|
-
* * The total number of queues for all ENIs on the instance cannot exceed the queue quota for the instance type. To query the maximum number of queues per ENI and the queue quota for an instance type, you can call the [DescribeInstanceTypes](https://help.aliyun.com/document_detail/25620.html) operation and view the values of the `MaximumQueueNumberPerEni` and `TotalEniQueueQuantity` response parameters.
|
|
129662
|
-
* * If you set this parameter to -1, the value is reset to the default value for the instance type. To query the default number of queues supported per primary ENI for an instance type, you can call the [DescribeInstanceTypes](https://help.aliyun.com/document_detail/25620.html) operation and view the value of the `PrimaryEniQueueNumber` response parameter.
|
|
129663
|
-
* * If you enable or disable the Jumbo Frames feature (`EnableJumboFrame`), take note of the following items. For more information, see [MTUs](https://help.aliyun.com/document_detail/200512.html).
|
|
129664
|
-
* * The instance must be in the Running (`Running`) or Stopped (`Stopped`) state.
|
|
129665
|
-
* * The instance must reside in a virtual private cloud (VPC).
|
|
129666
|
-
* * After the Jumbo Frames feature is enabled, the MTU value of the instance is set to 8500. After the Jumbo Frames feature is disabled, the MTU value of the instance is set to 1500.
|
|
129615
|
+
* You cannot call this operation to modify the attributes of the ECS instances that are locked for security reasons. For more information, see [API behavior when an instance is locked for security reasons](https://help.aliyun.com/document_detail/25695.html).
|
|
129667
129616
|
*
|
|
129668
129617
|
* @param request - ModifyInstanceAttributeRequest
|
|
129669
129618
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -129769,28 +129718,7 @@ export default class Client extends OpenApi {
|
|
|
129769
129718
|
* Modifies the attributes of an Elastic Compute Service (ECS) instance, such as the password, name, description, hostname, security groups, maximum transmission unit (MTU), and user data of the instance.
|
|
129770
129719
|
*
|
|
129771
129720
|
* @remarks
|
|
129772
|
-
*
|
|
129773
|
-
* If the response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query the information of the instance, the instance is locked for security reasons and no operations are allowed on the instance.
|
|
129774
|
-
* Take note of the following items:
|
|
129775
|
-
* * If you change the hostname (`HostName`), restart the instance in the ECS console or by calling the [RebootInstance](https://help.aliyun.com/document_detail/25502.html) operation for the new hostname to take effect. For information about how to restart an instance in the ECS console, see [Restart an instance](https://help.aliyun.com/document_detail/25440.html). The new hostname may not take effect if you restart the instance from within the operating system.
|
|
129776
|
-
* * If you reset the password (`Password`), take note of the following items:
|
|
129777
|
-
* * The instance cannot be in the **Starting** (`Starting`) state.
|
|
129778
|
-
* * After you reset the password, restart the instance in the ECS console or by calling the [RebootInstance](https://help.aliyun.com/document_detail/25502.html) operation for the new password to take effect. For information about how to restart an instance in the ECS console, see [Restart an instance](https://help.aliyun.com/document_detail/25440.html). The new password does not take effect if you restart the instance from within the operating system.
|
|
129779
|
-
* * If you modify user data (`UserData`), take note of the following items: The instance must meet the limits for user data. For more information, see [Instance user data](https://help.aliyun.com/document_detail/49121.html).
|
|
129780
|
-
* **
|
|
129781
|
-
* **Note** After you restart the instance, the new user data is displayed but not run as scripts.
|
|
129782
|
-
* * If you change the security groups (`SecurityGroupIds.N`), take note of the following items:
|
|
129783
|
-
* * You can move the instance to a security group of a different type. If you want to move the instance to a security group of a different type, you must familiarize yourself with the differences between the rule configurations of the two security group types to prevent impacts on the instance network.
|
|
129784
|
-
* * Security groups of instances in the classic network cannot be changed. For more information, see the description of `SecurityGroupIds.N`.
|
|
129785
|
-
* * If you change the number of queues supported by the primary elastic network interface (ENI) (`NetworkInterfaceQueueNumber`), take note of the following items:
|
|
129786
|
-
* * The instance must be in the Stopped (`Stopped`) state.
|
|
129787
|
-
* * The value of this parameter cannot exceed the maximum number of queues allowed per ENI.
|
|
129788
|
-
* * The total number of queues for all ENIs on the instance cannot exceed the queue quota for the instance type. To query the maximum number of queues per ENI and the queue quota for an instance type, you can call the [DescribeInstanceTypes](https://help.aliyun.com/document_detail/25620.html) operation and view the values of the `MaximumQueueNumberPerEni` and `TotalEniQueueQuantity` response parameters.
|
|
129789
|
-
* * If you set this parameter to -1, the value is reset to the default value for the instance type. To query the default number of queues supported per primary ENI for an instance type, you can call the [DescribeInstanceTypes](https://help.aliyun.com/document_detail/25620.html) operation and view the value of the `PrimaryEniQueueNumber` response parameter.
|
|
129790
|
-
* * If you enable or disable the Jumbo Frames feature (`EnableJumboFrame`), take note of the following items. For more information, see [MTUs](https://help.aliyun.com/document_detail/200512.html).
|
|
129791
|
-
* * The instance must be in the Running (`Running`) or Stopped (`Stopped`) state.
|
|
129792
|
-
* * The instance must reside in a virtual private cloud (VPC).
|
|
129793
|
-
* * After the Jumbo Frames feature is enabled, the MTU value of the instance is set to 8500. After the Jumbo Frames feature is disabled, the MTU value of the instance is set to 1500.
|
|
129721
|
+
* You cannot call this operation to modify the attributes of the ECS instances that are locked for security reasons. For more information, see [API behavior when an instance is locked for security reasons](https://help.aliyun.com/document_detail/25695.html).
|
|
129794
129722
|
*
|
|
129795
129723
|
* @param request - ModifyInstanceAttributeRequest
|
|
129796
129724
|
* @returns ModifyInstanceAttributeResponse
|
|
@@ -131007,11 +130935,11 @@ export default class Client extends OpenApi {
|
|
|
131007
130935
|
}
|
|
131008
130936
|
|
|
131009
130937
|
/**
|
|
131010
|
-
*
|
|
130938
|
+
* Modifies the information of a managed instance.
|
|
131011
130939
|
*
|
|
131012
130940
|
* @remarks
|
|
131013
|
-
*
|
|
131014
|
-
*
|
|
130941
|
+
* ## [](#)Usage notes
|
|
130942
|
+
* The ModifyManagedInstance operation can be called to change only the name of a single managed instance.
|
|
131015
130943
|
*
|
|
131016
130944
|
* @param request - ModifyManagedInstanceRequest
|
|
131017
130945
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -131070,11 +130998,11 @@ export default class Client extends OpenApi {
|
|
|
131070
130998
|
}
|
|
131071
130999
|
|
|
131072
131000
|
/**
|
|
131073
|
-
*
|
|
131001
|
+
* Modifies the information of a managed instance.
|
|
131074
131002
|
*
|
|
131075
131003
|
* @remarks
|
|
131076
|
-
*
|
|
131077
|
-
*
|
|
131004
|
+
* ## [](#)Usage notes
|
|
131005
|
+
* The ModifyManagedInstance operation can be called to change only the name of a single managed instance.
|
|
131078
131006
|
*
|
|
131079
131007
|
* @param request - ModifyManagedInstanceRequest
|
|
131080
131008
|
* @returns ModifyManagedInstanceResponse
|
|
@@ -131605,7 +131533,7 @@ export default class Client extends OpenApi {
|
|
|
131605
131533
|
}
|
|
131606
131534
|
|
|
131607
131535
|
/**
|
|
131608
|
-
* Modifies the auto-renewal attributes of reserved instances. You can disable the auto-renewal feature for reserved instances.
|
|
131536
|
+
* Modifies the auto-renewal attributes of reserved instances. You can cancel or disable the auto-renewal feature for reserved instances.
|
|
131609
131537
|
*
|
|
131610
131538
|
* @param request - ModifyReservedInstanceAutoRenewAttributeRequest
|
|
131611
131539
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -131668,7 +131596,7 @@ export default class Client extends OpenApi {
|
|
|
131668
131596
|
}
|
|
131669
131597
|
|
|
131670
131598
|
/**
|
|
131671
|
-
* Modifies the auto-renewal attributes of reserved instances. You can disable the auto-renewal feature for reserved instances.
|
|
131599
|
+
* Modifies the auto-renewal attributes of reserved instances. You can cancel or disable the auto-renewal feature for reserved instances.
|
|
131672
131600
|
*
|
|
131673
131601
|
* @param request - ModifyReservedInstanceAutoRenewAttributeRequest
|
|
131674
131602
|
* @returns ModifyReservedInstanceAutoRenewAttributeResponse
|
|
@@ -131682,8 +131610,8 @@ export default class Client extends OpenApi {
|
|
|
131682
131610
|
* Modifies the configurations of a reserved instance, such as the instance type, quantity, and zone, to split, merge, or change the scope of the reserved instance.
|
|
131683
131611
|
*
|
|
131684
131612
|
* @remarks
|
|
131685
|
-
* This operation is an asynchronous operation. After you call this operation to modify a reserved instance, the operation starts the modification process and returns the ID of the resulting new reserved instance. The original reserved instance enters the Updating state and then the Inactive state. At the same time, the resulting new reserved instance is generated and enters the Creating state and then the Active state. You can call the [DescribeReservedInstances](https://help.aliyun.com/document_detail/2679781.html) operation to query the states of the reserved instance.
|
|
131686
|
-
* * You can modify the configurations of a reserved instance only
|
|
131613
|
+
* This operation is an asynchronous operation. After you call this operation to modify a reserved instance, the operation starts the modification process and returns the ID of the resulting new reserved instance. The original reserved instance enters the `Updating` state and then the `Inactive` state. At the same time, the resulting new reserved instance is generated and enters the Creating state and then the Active state. You can call the [DescribeReservedInstances](https://help.aliyun.com/document_detail/2679781.html) operation to query the states of the reserved instance.
|
|
131614
|
+
* * You can modify the configurations of a reserved instance only if the reserved instance is in the **Active** state.
|
|
131687
131615
|
* * Make sure that the [computing power](~~140660#2742f3844abzz~~) of the reserved instance remains unchanged before and after the modification. Otherwise, the modification fails.
|
|
131688
131616
|
* * You cannot split, merge, or change the scope of a reserved instance at the same time.
|
|
131689
131617
|
* For more information, see [Split, merge, or modify reserved instances](https://help.aliyun.com/document_detail/100375.html).
|
|
@@ -131706,7 +131634,7 @@ export default class Client extends OpenApi {
|
|
|
131706
131634
|
* "InstanceAmount":1
|
|
131707
131635
|
* }
|
|
131708
131636
|
* ]
|
|
131709
|
-
* * **Sample request to merge reserved instance:**: Merge two zonal reserved instances that are scoped to Hangzhou Zone H and can match four pay-as-you-go instances of the ecs.g5.xlarge instance type into one zonal reserved instance that is scoped to Hangzhou Zone H and can match two pay-as-you-go
|
|
131637
|
+
* * **Sample request to merge reserved instance:**: Merge two zonal reserved instances that are scoped to Hangzhou Zone H and can match four pay-as-you-go instances of the ecs.g5.xlarge instance type into one zonal reserved instance that is scoped to Hangzhou Zone H and can match two pay-as-you-go instances of the ecs.g5.4xlarge instance type:
|
|
131710
131638
|
* <!---->
|
|
131711
131639
|
* "RegionId":"cn-hangzhou", //The ID of the region.
|
|
131712
131640
|
* "ReservedInstanceId":["ecsri-bp1hd03e9uv16b75****",""ecsri-bp1hd03e9uv16b76****""], //The IDs of the reserved instances that you want to merge.
|
|
@@ -131788,8 +131716,8 @@ export default class Client extends OpenApi {
|
|
|
131788
131716
|
* Modifies the configurations of a reserved instance, such as the instance type, quantity, and zone, to split, merge, or change the scope of the reserved instance.
|
|
131789
131717
|
*
|
|
131790
131718
|
* @remarks
|
|
131791
|
-
* This operation is an asynchronous operation. After you call this operation to modify a reserved instance, the operation starts the modification process and returns the ID of the resulting new reserved instance. The original reserved instance enters the Updating state and then the Inactive state. At the same time, the resulting new reserved instance is generated and enters the Creating state and then the Active state. You can call the [DescribeReservedInstances](https://help.aliyun.com/document_detail/2679781.html) operation to query the states of the reserved instance.
|
|
131792
|
-
* * You can modify the configurations of a reserved instance only
|
|
131719
|
+
* This operation is an asynchronous operation. After you call this operation to modify a reserved instance, the operation starts the modification process and returns the ID of the resulting new reserved instance. The original reserved instance enters the `Updating` state and then the `Inactive` state. At the same time, the resulting new reserved instance is generated and enters the Creating state and then the Active state. You can call the [DescribeReservedInstances](https://help.aliyun.com/document_detail/2679781.html) operation to query the states of the reserved instance.
|
|
131720
|
+
* * You can modify the configurations of a reserved instance only if the reserved instance is in the **Active** state.
|
|
131793
131721
|
* * Make sure that the [computing power](~~140660#2742f3844abzz~~) of the reserved instance remains unchanged before and after the modification. Otherwise, the modification fails.
|
|
131794
131722
|
* * You cannot split, merge, or change the scope of a reserved instance at the same time.
|
|
131795
131723
|
* For more information, see [Split, merge, or modify reserved instances](https://help.aliyun.com/document_detail/100375.html).
|
|
@@ -131812,7 +131740,7 @@ export default class Client extends OpenApi {
|
|
|
131812
131740
|
* "InstanceAmount":1
|
|
131813
131741
|
* }
|
|
131814
131742
|
* ]
|
|
131815
|
-
* * **Sample request to merge reserved instance:**: Merge two zonal reserved instances that are scoped to Hangzhou Zone H and can match four pay-as-you-go instances of the ecs.g5.xlarge instance type into one zonal reserved instance that is scoped to Hangzhou Zone H and can match two pay-as-you-go
|
|
131743
|
+
* * **Sample request to merge reserved instance:**: Merge two zonal reserved instances that are scoped to Hangzhou Zone H and can match four pay-as-you-go instances of the ecs.g5.xlarge instance type into one zonal reserved instance that is scoped to Hangzhou Zone H and can match two pay-as-you-go instances of the ecs.g5.4xlarge instance type:
|
|
131816
131744
|
* <!---->
|
|
131817
131745
|
* "RegionId":"cn-hangzhou", //The ID of the region.
|
|
131818
131746
|
* "ReservedInstanceId":["ecsri-bp1hd03e9uv16b75****",""ecsri-bp1hd03e9uv16b76****""], //The IDs of the reserved instances that you want to merge.
|
|
@@ -132090,7 +132018,7 @@ export default class Client extends OpenApi {
|
|
|
132090
132018
|
* @remarks
|
|
132091
132019
|
* Take note of the following items:
|
|
132092
132020
|
* * An authorization object in a security group rule can be of one of the following types: IPv4 CIDR block or address, IPv6 CIDR block or address, security group, or prefix list. You cannot call this operation to change the type of an existing authorization object. For example, if an authorization object is an IPv4 CIDR block, you can change the authorization object to a different IPv4 CIDR block or an IPv4 address, but you cannot change the authorization object to an IPv6 CIDR block or address, a security group, or a prefix list.
|
|
132093
|
-
* * You cannot delete the value of a non-empty parameter. If you want to delete the values of non-empty parameters, we recommend that you create
|
|
132021
|
+
* * You cannot delete the value of a non-empty parameter. If you want to delete the values of non-empty parameters, we recommend that you create another rule and delete the original rule.
|
|
132094
132022
|
*
|
|
132095
132023
|
* @param request - ModifySecurityGroupEgressRuleRequest
|
|
132096
132024
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -132218,7 +132146,7 @@ export default class Client extends OpenApi {
|
|
|
132218
132146
|
* @remarks
|
|
132219
132147
|
* Take note of the following items:
|
|
132220
132148
|
* * An authorization object in a security group rule can be of one of the following types: IPv4 CIDR block or address, IPv6 CIDR block or address, security group, or prefix list. You cannot call this operation to change the type of an existing authorization object. For example, if an authorization object is an IPv4 CIDR block, you can change the authorization object to a different IPv4 CIDR block or an IPv4 address, but you cannot change the authorization object to an IPv6 CIDR block or address, a security group, or a prefix list.
|
|
132221
|
-
* * You cannot delete the value of a non-empty parameter. If you want to delete the values of non-empty parameters, we recommend that you create
|
|
132149
|
+
* * You cannot delete the value of a non-empty parameter. If you want to delete the values of non-empty parameters, we recommend that you create another rule and delete the original rule.
|
|
132222
132150
|
*
|
|
132223
132151
|
* @param request - ModifySecurityGroupEgressRuleRequest
|
|
132224
132152
|
* @returns ModifySecurityGroupEgressRuleResponse
|
|
@@ -133555,18 +133483,15 @@ export default class Client extends OpenApi {
|
|
|
133555
133483
|
}
|
|
133556
133484
|
|
|
133557
133485
|
/**
|
|
133558
|
-
* Re-initializes a disk to the state
|
|
133486
|
+
* Re-initializes a cloud disk to the state when the cloud disk was created.
|
|
133559
133487
|
*
|
|
133560
133488
|
* @remarks
|
|
133561
|
-
* ## [](#)Usage notes
|
|
133562
133489
|
* Take note of the following items:
|
|
133563
|
-
* * The disk that you want to re-initialize must be in the **In Use** (In_use) state and the instance to which the disk is attached must be in the **Stopped** (
|
|
133490
|
+
* * The disk that you want to re-initialize must be in the **In Use** (`In_use`) state and the instance to which the disk is attached must be in the **Stopped** (`Stoppe`) state.
|
|
133564
133491
|
* * If an instance has never been started since it was created, the disks attached to it cannot be re-initialized.
|
|
133565
133492
|
* * If a local snapshot has been created for a disk, the disk cannot be re-initialized.
|
|
133566
133493
|
* * If a system disk is re-initialized, the disk is restored to the state of the image from which it was created. If the image has been deleted, the disk cannot be re-initialized.
|
|
133567
|
-
* *
|
|
133568
|
-
* * If a data disk that was created from a snapshot is re-initialized, the disk is restored to the state of the snapshot.
|
|
133569
|
-
* > If the source snapshot is deleted, the disk cannot be re-initialized and an error is returned.
|
|
133494
|
+
* * For a data disk that was created from scratch, the disk is initialized to the empty disk state. For a data disk that is created from a snapshot, the disk is initialized to the snapshot state. If the snapshots were deleted, the disks cannot be re-initialized and an error is returned.
|
|
133570
133495
|
*
|
|
133571
133496
|
* @param request - ReInitDiskRequest
|
|
133572
133497
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -133629,18 +133554,15 @@ export default class Client extends OpenApi {
|
|
|
133629
133554
|
}
|
|
133630
133555
|
|
|
133631
133556
|
/**
|
|
133632
|
-
* Re-initializes a disk to the state
|
|
133557
|
+
* Re-initializes a cloud disk to the state when the cloud disk was created.
|
|
133633
133558
|
*
|
|
133634
133559
|
* @remarks
|
|
133635
|
-
* ## [](#)Usage notes
|
|
133636
133560
|
* Take note of the following items:
|
|
133637
|
-
* * The disk that you want to re-initialize must be in the **In Use** (In_use) state and the instance to which the disk is attached must be in the **Stopped** (
|
|
133561
|
+
* * The disk that you want to re-initialize must be in the **In Use** (`In_use`) state and the instance to which the disk is attached must be in the **Stopped** (`Stoppe`) state.
|
|
133638
133562
|
* * If an instance has never been started since it was created, the disks attached to it cannot be re-initialized.
|
|
133639
133563
|
* * If a local snapshot has been created for a disk, the disk cannot be re-initialized.
|
|
133640
133564
|
* * If a system disk is re-initialized, the disk is restored to the state of the image from which it was created. If the image has been deleted, the disk cannot be re-initialized.
|
|
133641
|
-
* *
|
|
133642
|
-
* * If a data disk that was created from a snapshot is re-initialized, the disk is restored to the state of the snapshot.
|
|
133643
|
-
* > If the source snapshot is deleted, the disk cannot be re-initialized and an error is returned.
|
|
133565
|
+
* * For a data disk that was created from scratch, the disk is initialized to the empty disk state. For a data disk that is created from a snapshot, the disk is initialized to the snapshot state. If the snapshots were deleted, the disks cannot be re-initialized and an error is returned.
|
|
133644
133566
|
*
|
|
133645
133567
|
* @param request - ReInitDiskRequest
|
|
133646
133568
|
* @returns ReInitDiskResponse
|
|
@@ -133654,10 +133576,10 @@ export default class Client extends OpenApi {
|
|
|
133654
133576
|
* Restarts an Elastic Compute Service (ECS) instance.
|
|
133655
133577
|
*
|
|
133656
133578
|
* @remarks
|
|
133657
|
-
* This operation is an asynchronous operation. After you call this operation to restart an ECS instance, the operation sets the status of the ECS instance to `Starting` and begins the restart process. You can call the [DescribeInstanceStatus](https://help.aliyun.com/document_detail/2679688.html) operation to query the status of the
|
|
133658
|
-
*
|
|
133659
|
-
*
|
|
133660
|
-
*
|
|
133579
|
+
* This operation is an asynchronous operation. After you call this operation to restart an ECS instance, the operation sets the status of the ECS instance to `Starting` and begins the restart process. You can call the [DescribeInstanceStatus](https://help.aliyun.com/document_detail/2679688.html) operation to query the status of the instance. When the status of the ECS instance changes to `Running`, the instance is restarted.
|
|
133580
|
+
* ### [](#)Considerations
|
|
133581
|
+
* * You cannot call this operation to restart an ECS instance that is locked for security reasons. For more information, see [API behavior when an instance is locked for security reasons](https://help.aliyun.com/document_detail/25695.html).
|
|
133582
|
+
* * The ECS instance that you want to restart must be in the **Running** (`Running`) state.
|
|
133661
133583
|
*
|
|
133662
133584
|
* @param request - RebootInstanceRequest
|
|
133663
133585
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -133715,10 +133637,10 @@ export default class Client extends OpenApi {
|
|
|
133715
133637
|
* Restarts an Elastic Compute Service (ECS) instance.
|
|
133716
133638
|
*
|
|
133717
133639
|
* @remarks
|
|
133718
|
-
* This operation is an asynchronous operation. After you call this operation to restart an ECS instance, the operation sets the status of the ECS instance to `Starting` and begins the restart process. You can call the [DescribeInstanceStatus](https://help.aliyun.com/document_detail/2679688.html) operation to query the status of the
|
|
133719
|
-
*
|
|
133720
|
-
*
|
|
133721
|
-
*
|
|
133640
|
+
* This operation is an asynchronous operation. After you call this operation to restart an ECS instance, the operation sets the status of the ECS instance to `Starting` and begins the restart process. You can call the [DescribeInstanceStatus](https://help.aliyun.com/document_detail/2679688.html) operation to query the status of the instance. When the status of the ECS instance changes to `Running`, the instance is restarted.
|
|
133641
|
+
* ### [](#)Considerations
|
|
133642
|
+
* * You cannot call this operation to restart an ECS instance that is locked for security reasons. For more information, see [API behavior when an instance is locked for security reasons](https://help.aliyun.com/document_detail/25695.html).
|
|
133643
|
+
* * The ECS instance that you want to restart must be in the **Running** (`Running`) state.
|
|
133722
133644
|
*
|
|
133723
133645
|
* @param request - RebootInstanceRequest
|
|
133724
133646
|
* @returns RebootInstanceResponse
|
|
@@ -134273,7 +134195,7 @@ export default class Client extends OpenApi {
|
|
|
134273
134195
|
}
|
|
134274
134196
|
|
|
134275
134197
|
/**
|
|
134276
|
-
*
|
|
134198
|
+
* Disassociates a public IP address from an Elastic Compute Service (ECS) instance.
|
|
134277
134199
|
*
|
|
134278
134200
|
* @deprecated OpenAPI ReleasePublicIpAddress is deprecated
|
|
134279
134201
|
*
|
|
@@ -134319,7 +134241,7 @@ export default class Client extends OpenApi {
|
|
|
134319
134241
|
}
|
|
134320
134242
|
|
|
134321
134243
|
/**
|
|
134322
|
-
*
|
|
134244
|
+
* Disassociates a public IP address from an Elastic Compute Service (ECS) instance.
|
|
134323
134245
|
*
|
|
134324
134246
|
* @deprecated OpenAPI ReleasePublicIpAddress is deprecated
|
|
134325
134247
|
*
|
|
@@ -134405,7 +134327,7 @@ export default class Client extends OpenApi {
|
|
|
134405
134327
|
}
|
|
134406
134328
|
|
|
134407
134329
|
/**
|
|
134408
|
-
* Removes
|
|
134330
|
+
* Removes tags from a resource, such as an Elastic Compute Service (ECS) instance, disk, snapshot, image, or security group.
|
|
134409
134331
|
*
|
|
134410
134332
|
* @deprecated OpenAPI RemoveTags is deprecated, please use Ecs::2014-05-26::UntagResources instead.
|
|
134411
134333
|
*
|
|
@@ -134463,7 +134385,7 @@ export default class Client extends OpenApi {
|
|
|
134463
134385
|
}
|
|
134464
134386
|
|
|
134465
134387
|
/**
|
|
134466
|
-
* Removes
|
|
134388
|
+
* Removes tags from a resource, such as an Elastic Compute Service (ECS) instance, disk, snapshot, image, or security group.
|
|
134467
134389
|
*
|
|
134468
134390
|
* @deprecated OpenAPI RemoveTags is deprecated, please use Ecs::2014-05-26::UntagResources instead.
|
|
134469
134391
|
*
|
|
@@ -134817,18 +134739,18 @@ export default class Client extends OpenApi {
|
|
|
134817
134739
|
}
|
|
134818
134740
|
|
|
134819
134741
|
/**
|
|
134820
|
-
* Replaces the operating system of an Elastic Compute Service (ECS) instance. After
|
|
134742
|
+
* Replaces the operating system of an Elastic Compute Service (ECS) instance. After the operating system of the ECS instance is replaced, the original system disk of the instance is released and a new system disk is generated for the instance. This causes the ID of the system disk to change.
|
|
134821
134743
|
*
|
|
134822
134744
|
* @remarks
|
|
134823
|
-
*
|
|
134824
|
-
*
|
|
134825
|
-
* * The category of the system disk cannot be changed.
|
|
134745
|
+
* Before you call this operation, read [Replace the operating system (system disk) of an instance](https://help.aliyun.com/document_detail/25436.html).
|
|
134746
|
+
* When you call this operation for an ECS instance, take note of the following items:
|
|
134826
134747
|
* * The billing method of the system disk cannot be changed.
|
|
134748
|
+
* * The category of the system disk cannot be changed.
|
|
134749
|
+
* * Make sure that no unpaid orders are associated with the instance.
|
|
134827
134750
|
* * The instance must be in the `Stopped` state.
|
|
134828
134751
|
* **
|
|
134829
|
-
* **Note** The operation is applicable only to instances of the Virtual Private Cloud (VPC) type. If the instance is a pay-as-you-go instance and economical mode is enabled
|
|
134830
|
-
* * The
|
|
134831
|
-
* * No unpaid orders are associated with the instance.
|
|
134752
|
+
* **Note** The operation is applicable only to instances of the Virtual Private Cloud (VPC) type. If the instance is a pay-as-you-go instance and default economical mode is enabled, enable standard mode when you stop the instance. This prevents the instance from being unable to restart due to insufficient ECS resources after the system disk is replaced. For more information, see [StopInstance](https://help.aliyun.com/document_detail/25501.html).
|
|
134753
|
+
* * The instance cannot be locked for security reasons. If the value of `OperationLocks` in the DescribeInstances response contains `"LockReason": "security"` for an instance, the instance is locked for security reasons. For more information, see [API behavior when an instance is locked for security reasons](https://help.aliyun.com/document_detail/25695.html).
|
|
134832
134754
|
* * You can configure `SystemDisk.Size` to specify the capacity of the new system disk.
|
|
134833
134755
|
* After you call the ReplaceSystemDisk operation, you can use one of the following methods to check whether the system disk is replaced:
|
|
134834
134756
|
* * Call the [DescribeDisks](https://help.aliyun.com/document_detail/25514.html) operation to query the status of the new system disk. If the new system disk is in the In Use state, the system disk is replaced.
|
|
@@ -134939,18 +134861,18 @@ export default class Client extends OpenApi {
|
|
|
134939
134861
|
}
|
|
134940
134862
|
|
|
134941
134863
|
/**
|
|
134942
|
-
* Replaces the operating system of an Elastic Compute Service (ECS) instance. After
|
|
134864
|
+
* Replaces the operating system of an Elastic Compute Service (ECS) instance. After the operating system of the ECS instance is replaced, the original system disk of the instance is released and a new system disk is generated for the instance. This causes the ID of the system disk to change.
|
|
134943
134865
|
*
|
|
134944
134866
|
* @remarks
|
|
134945
|
-
*
|
|
134946
|
-
*
|
|
134947
|
-
* * The category of the system disk cannot be changed.
|
|
134867
|
+
* Before you call this operation, read [Replace the operating system (system disk) of an instance](https://help.aliyun.com/document_detail/25436.html).
|
|
134868
|
+
* When you call this operation for an ECS instance, take note of the following items:
|
|
134948
134869
|
* * The billing method of the system disk cannot be changed.
|
|
134870
|
+
* * The category of the system disk cannot be changed.
|
|
134871
|
+
* * Make sure that no unpaid orders are associated with the instance.
|
|
134949
134872
|
* * The instance must be in the `Stopped` state.
|
|
134950
134873
|
* **
|
|
134951
|
-
* **Note** The operation is applicable only to instances of the Virtual Private Cloud (VPC) type. If the instance is a pay-as-you-go instance and economical mode is enabled
|
|
134952
|
-
* * The
|
|
134953
|
-
* * No unpaid orders are associated with the instance.
|
|
134874
|
+
* **Note** The operation is applicable only to instances of the Virtual Private Cloud (VPC) type. If the instance is a pay-as-you-go instance and default economical mode is enabled, enable standard mode when you stop the instance. This prevents the instance from being unable to restart due to insufficient ECS resources after the system disk is replaced. For more information, see [StopInstance](https://help.aliyun.com/document_detail/25501.html).
|
|
134875
|
+
* * The instance cannot be locked for security reasons. If the value of `OperationLocks` in the DescribeInstances response contains `"LockReason": "security"` for an instance, the instance is locked for security reasons. For more information, see [API behavior when an instance is locked for security reasons](https://help.aliyun.com/document_detail/25695.html).
|
|
134954
134876
|
* * You can configure `SystemDisk.Size` to specify the capacity of the new system disk.
|
|
134955
134877
|
* After you call the ReplaceSystemDisk operation, you can use one of the following methods to check whether the system disk is replaced:
|
|
134956
134878
|
* * Call the [DescribeDisks](https://help.aliyun.com/document_detail/25514.html) operation to query the status of the new system disk. If the new system disk is in the In Use state, the system disk is replaced.
|
|
@@ -135062,11 +134984,11 @@ export default class Client extends OpenApi {
|
|
|
135062
134984
|
* Rolls back a cloud disk to a snapshot from an earlier point in time.
|
|
135063
134985
|
*
|
|
135064
134986
|
* @remarks
|
|
135065
|
-
*
|
|
135066
|
-
* * The disk must be in the In Use (
|
|
135067
|
-
* * The
|
|
135068
|
-
* * The snapshot specified by
|
|
135069
|
-
* *
|
|
134987
|
+
* Take note of the following items:
|
|
134988
|
+
* * The cloud disk that you want to roll back must be in the In Use (`In_use`) or Unattached (`Available`) state.
|
|
134989
|
+
* * The instance to which the cloud disk is attached must be in the `Stopped` state. You can call the [StopInstances](https://help.aliyun.com/document_detail/155372.html) operation to stop the instance.
|
|
134990
|
+
* * The snapshot specified by `SnapshotId` must be created from the disk specified by `DiskId`.
|
|
134991
|
+
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query information about an instance by calling the [DescribeInstances](https://help.aliyun.com/document_detail/25506.html) operation, the instance is locked for security reasons and no operations can be performed on the instance.
|
|
135070
134992
|
*
|
|
135071
134993
|
* @param request - ResetDiskRequest
|
|
135072
134994
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -135124,11 +135046,11 @@ export default class Client extends OpenApi {
|
|
|
135124
135046
|
* Rolls back a cloud disk to a snapshot from an earlier point in time.
|
|
135125
135047
|
*
|
|
135126
135048
|
* @remarks
|
|
135127
|
-
*
|
|
135128
|
-
* * The disk must be in the In Use (
|
|
135129
|
-
* * The
|
|
135130
|
-
* * The snapshot specified by
|
|
135131
|
-
* *
|
|
135049
|
+
* Take note of the following items:
|
|
135050
|
+
* * The cloud disk that you want to roll back must be in the In Use (`In_use`) or Unattached (`Available`) state.
|
|
135051
|
+
* * The instance to which the cloud disk is attached must be in the `Stopped` state. You can call the [StopInstances](https://help.aliyun.com/document_detail/155372.html) operation to stop the instance.
|
|
135052
|
+
* * The snapshot specified by `SnapshotId` must be created from the disk specified by `DiskId`.
|
|
135053
|
+
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query information about an instance by calling the [DescribeInstances](https://help.aliyun.com/document_detail/25506.html) operation, the instance is locked for security reasons and no operations can be performed on the instance.
|
|
135132
135054
|
*
|
|
135133
135055
|
* @param request - ResetDiskRequest
|
|
135134
135056
|
* @returns ResetDiskResponse
|
|
@@ -135361,48 +135283,55 @@ export default class Client extends OpenApi {
|
|
|
135361
135283
|
}
|
|
135362
135284
|
|
|
135363
135285
|
/**
|
|
135364
|
-
* Deletes
|
|
135286
|
+
* Deletes inbound security group rules from a specific security group.
|
|
135365
135287
|
*
|
|
135366
135288
|
* @remarks
|
|
135367
|
-
*
|
|
135289
|
+
* > Alibaba Cloud modified verification rules for the RevokeSecurityGroup operation on July 8, 2024. When you use the RevokeSecurityGroup operation to delete a security group rule that does not exist, the "InvalidSecurityGroupRule.RuleNotExist" error code is returned instead of a success response. Update the RevokeSecurityGroup operation to use the new verification rules with the new error code based on your business requirements.
|
|
135368
135290
|
* When you call this operation, you can use one of the following groups of parameters to specify the security group rules that you want to delete:
|
|
135369
|
-
* * Parameters used to specify the IDs of security group rules. We recommend that you specify the IDs of security group rules to delete the rules.
|
|
135370
|
-
*
|
|
135371
|
-
*
|
|
135372
|
-
* &SecurityGroupRuleId.1=sgr-bpdfmk****
|
|
135373
|
-
* &SecurityGroupRuleId.2=sgr-bpdfmg****
|
|
135374
|
-
* &<Common request parameters>
|
|
135375
|
-
* * Parameters that are prefixed with Permissions.N.
|
|
135291
|
+
* * Parameters used to specify the IDs of security group rules. We recommend that you specify the IDs of security group rules to delete the rules.
|
|
135292
|
+
* * If a security group rule ID that you specify does not exist, an error is reported.
|
|
135293
|
+
* * Parameters that start with Permissions.
|
|
135376
135294
|
* * If no security group rule matches the specified parameters, the call to RevokeSecurityGroup is successful but no security group rules are deleted.
|
|
135377
|
-
* *
|
|
135378
|
-
*
|
|
135379
|
-
*
|
|
135380
|
-
*
|
|
135381
|
-
*
|
|
135382
|
-
*
|
|
135383
|
-
*
|
|
135384
|
-
*
|
|
135385
|
-
*
|
|
135386
|
-
*
|
|
135387
|
-
*
|
|
135388
|
-
*
|
|
135389
|
-
*
|
|
135390
|
-
*
|
|
135391
|
-
*
|
|
135392
|
-
*
|
|
135393
|
-
*
|
|
135394
|
-
*
|
|
135395
|
-
*
|
|
135396
|
-
*
|
|
135397
|
-
*
|
|
135398
|
-
*
|
|
135399
|
-
*
|
|
135400
|
-
*
|
|
135401
|
-
*
|
|
135402
|
-
*
|
|
135403
|
-
*
|
|
135404
|
-
*
|
|
135405
|
-
*
|
|
135295
|
+
* * Define an inbound security group rule by configuring the following parameters together:
|
|
135296
|
+
* * Source: You can specify one parameter from SourceCidrIp (IPv4 address), Ipv6SourceCidrIp (IPv6 address), SourcePrefixListId (prefix list ID), and SourceGroupId (source security group ID).
|
|
135297
|
+
* * PortRange: specifies the range of destination port numbers.
|
|
135298
|
+
* * IpProtocol: specifies the protocol.
|
|
135299
|
+
* * Policy: specifies the action.
|
|
135300
|
+
* > You cannot specify the security group rule IDs and the parameters that start with Permissions in the same request.
|
|
135301
|
+
* ### [](#)Sample requests
|
|
135302
|
+
* * Delete security group rules by specifying their IDs.
|
|
135303
|
+
* <!---->
|
|
135304
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4p****", // The security group ID.
|
|
135305
|
+
* "SecurityGroupRuleId":["sgr-bpdfmk****","sgr-bpdfmg****"] // The IDs of the security group rules.
|
|
135306
|
+
* * Delete security group rules by specifying a CIDR block.
|
|
135307
|
+
* <!---->
|
|
135308
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4p****",
|
|
135309
|
+
* "Permissions":[
|
|
135310
|
+
* {
|
|
135311
|
+
* "SourceCidrIp":"10.0.0.0/8", // The source IPv4 CIDR block.
|
|
135312
|
+
* "IpProtocol":"TCP", // The protocol.
|
|
135313
|
+
* "PortRange":"80/80", // The range of destination port numbers. "Policy":"accept" // The action. }
|
|
135314
|
+
* ]
|
|
135315
|
+
* * Delete security group rules in which a security group is specified.
|
|
135316
|
+
* <!---->
|
|
135317
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4p****",
|
|
135318
|
+
* "Permissions":[
|
|
135319
|
+
* {
|
|
135320
|
+
* "SourceGroupId":"sg-bp67acfmxa123b****", // The ID of the source security group. "IpProtocol":"TCP,"
|
|
135321
|
+
* "PortRange":"80/80",
|
|
135322
|
+
* "Policy":"accept"
|
|
135323
|
+
* ]
|
|
135324
|
+
* }
|
|
135325
|
+
* * Delete security group rules in which a prefix list is specified.
|
|
135326
|
+
* <!---->
|
|
135327
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4p****",
|
|
135328
|
+
* "Permissions":[
|
|
135329
|
+
* {
|
|
135330
|
+
* "SourcePrefixListId":"pl-x1j1k5ykzqlixdcy****", // The ID of the source prefix list. "IpProtocol":"TCP",
|
|
135331
|
+
* "PortRange":"80/80",
|
|
135332
|
+
* "Policy":"accept"
|
|
135333
|
+
* }
|
|
135334
|
+
* ]
|
|
135406
135335
|
*
|
|
135407
135336
|
* @param request - RevokeSecurityGroupRequest
|
|
135408
135337
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -135537,48 +135466,55 @@ export default class Client extends OpenApi {
|
|
|
135537
135466
|
}
|
|
135538
135467
|
|
|
135539
135468
|
/**
|
|
135540
|
-
* Deletes
|
|
135469
|
+
* Deletes inbound security group rules from a specific security group.
|
|
135541
135470
|
*
|
|
135542
135471
|
* @remarks
|
|
135543
|
-
*
|
|
135472
|
+
* > Alibaba Cloud modified verification rules for the RevokeSecurityGroup operation on July 8, 2024. When you use the RevokeSecurityGroup operation to delete a security group rule that does not exist, the "InvalidSecurityGroupRule.RuleNotExist" error code is returned instead of a success response. Update the RevokeSecurityGroup operation to use the new verification rules with the new error code based on your business requirements.
|
|
135544
135473
|
* When you call this operation, you can use one of the following groups of parameters to specify the security group rules that you want to delete:
|
|
135545
|
-
* * Parameters used to specify the IDs of security group rules. We recommend that you specify the IDs of security group rules to delete the rules.
|
|
135546
|
-
*
|
|
135547
|
-
*
|
|
135548
|
-
* &SecurityGroupRuleId.1=sgr-bpdfmk****
|
|
135549
|
-
* &SecurityGroupRuleId.2=sgr-bpdfmg****
|
|
135550
|
-
* &<Common request parameters>
|
|
135551
|
-
* * Parameters that are prefixed with Permissions.N.
|
|
135474
|
+
* * Parameters used to specify the IDs of security group rules. We recommend that you specify the IDs of security group rules to delete the rules.
|
|
135475
|
+
* * If a security group rule ID that you specify does not exist, an error is reported.
|
|
135476
|
+
* * Parameters that start with Permissions.
|
|
135552
135477
|
* * If no security group rule matches the specified parameters, the call to RevokeSecurityGroup is successful but no security group rules are deleted.
|
|
135553
|
-
* *
|
|
135554
|
-
*
|
|
135555
|
-
*
|
|
135556
|
-
*
|
|
135557
|
-
*
|
|
135558
|
-
*
|
|
135559
|
-
*
|
|
135560
|
-
*
|
|
135561
|
-
*
|
|
135562
|
-
*
|
|
135563
|
-
*
|
|
135564
|
-
*
|
|
135565
|
-
*
|
|
135566
|
-
*
|
|
135567
|
-
*
|
|
135568
|
-
*
|
|
135569
|
-
*
|
|
135570
|
-
*
|
|
135571
|
-
*
|
|
135572
|
-
*
|
|
135573
|
-
*
|
|
135574
|
-
*
|
|
135575
|
-
*
|
|
135576
|
-
*
|
|
135577
|
-
*
|
|
135578
|
-
*
|
|
135579
|
-
*
|
|
135580
|
-
*
|
|
135581
|
-
*
|
|
135478
|
+
* * Define an inbound security group rule by configuring the following parameters together:
|
|
135479
|
+
* * Source: You can specify one parameter from SourceCidrIp (IPv4 address), Ipv6SourceCidrIp (IPv6 address), SourcePrefixListId (prefix list ID), and SourceGroupId (source security group ID).
|
|
135480
|
+
* * PortRange: specifies the range of destination port numbers.
|
|
135481
|
+
* * IpProtocol: specifies the protocol.
|
|
135482
|
+
* * Policy: specifies the action.
|
|
135483
|
+
* > You cannot specify the security group rule IDs and the parameters that start with Permissions in the same request.
|
|
135484
|
+
* ### [](#)Sample requests
|
|
135485
|
+
* * Delete security group rules by specifying their IDs.
|
|
135486
|
+
* <!---->
|
|
135487
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4p****", // The security group ID.
|
|
135488
|
+
* "SecurityGroupRuleId":["sgr-bpdfmk****","sgr-bpdfmg****"] // The IDs of the security group rules.
|
|
135489
|
+
* * Delete security group rules by specifying a CIDR block.
|
|
135490
|
+
* <!---->
|
|
135491
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4p****",
|
|
135492
|
+
* "Permissions":[
|
|
135493
|
+
* {
|
|
135494
|
+
* "SourceCidrIp":"10.0.0.0/8", // The source IPv4 CIDR block.
|
|
135495
|
+
* "IpProtocol":"TCP", // The protocol.
|
|
135496
|
+
* "PortRange":"80/80", // The range of destination port numbers. "Policy":"accept" // The action. }
|
|
135497
|
+
* ]
|
|
135498
|
+
* * Delete security group rules in which a security group is specified.
|
|
135499
|
+
* <!---->
|
|
135500
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4p****",
|
|
135501
|
+
* "Permissions":[
|
|
135502
|
+
* {
|
|
135503
|
+
* "SourceGroupId":"sg-bp67acfmxa123b****", // The ID of the source security group. "IpProtocol":"TCP,"
|
|
135504
|
+
* "PortRange":"80/80",
|
|
135505
|
+
* "Policy":"accept"
|
|
135506
|
+
* ]
|
|
135507
|
+
* }
|
|
135508
|
+
* * Delete security group rules in which a prefix list is specified.
|
|
135509
|
+
* <!---->
|
|
135510
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4p****",
|
|
135511
|
+
* "Permissions":[
|
|
135512
|
+
* {
|
|
135513
|
+
* "SourcePrefixListId":"pl-x1j1k5ykzqlixdcy****", // The ID of the source prefix list. "IpProtocol":"TCP",
|
|
135514
|
+
* "PortRange":"80/80",
|
|
135515
|
+
* "Policy":"accept"
|
|
135516
|
+
* }
|
|
135517
|
+
* ]
|
|
135582
135518
|
*
|
|
135583
135519
|
* @param request - RevokeSecurityGroupRequest
|
|
135584
135520
|
* @returns RevokeSecurityGroupResponse
|
|
@@ -135589,48 +135525,57 @@ export default class Client extends OpenApi {
|
|
|
135589
135525
|
}
|
|
135590
135526
|
|
|
135591
135527
|
/**
|
|
135592
|
-
* Deletes outbound security group rules.
|
|
135528
|
+
* Deletes outbound security group rules from a specified security group.
|
|
135593
135529
|
*
|
|
135594
135530
|
* @remarks
|
|
135595
|
-
*
|
|
135596
|
-
*
|
|
135597
|
-
* *
|
|
135598
|
-
*
|
|
135599
|
-
*
|
|
135600
|
-
*
|
|
135601
|
-
*
|
|
135602
|
-
*
|
|
135603
|
-
*
|
|
135604
|
-
*
|
|
135605
|
-
*
|
|
135606
|
-
*
|
|
135607
|
-
*
|
|
135608
|
-
*
|
|
135609
|
-
*
|
|
135610
|
-
*
|
|
135611
|
-
*
|
|
135612
|
-
*
|
|
135613
|
-
*
|
|
135614
|
-
*
|
|
135615
|
-
*
|
|
135616
|
-
*
|
|
135617
|
-
*
|
|
135618
|
-
*
|
|
135619
|
-
*
|
|
135620
|
-
*
|
|
135621
|
-
*
|
|
135622
|
-
*
|
|
135623
|
-
*
|
|
135624
|
-
*
|
|
135625
|
-
*
|
|
135626
|
-
*
|
|
135627
|
-
*
|
|
135628
|
-
*
|
|
135629
|
-
*
|
|
135630
|
-
*
|
|
135631
|
-
*
|
|
135632
|
-
*
|
|
135633
|
-
*
|
|
135531
|
+
* > Alibaba Cloud modified verification rules for the RevokeSecurityGroupEgress operation on July 8, 2024. When you use the RevokeSecurityGroupEgress operation to delete a security group rule that does not exist, the "InvalidSecurityGroupRule.RuleNotExist" error code is returned instead of a success response. Update the RevokeSecurityGroupEgress operation to use the new verification rules with the new error code based on your business requirements.
|
|
135532
|
+
* You can use one of the following methods to delete a security group rule:
|
|
135533
|
+
* * Delete a rule by specifying the IDs of security group rules. We recommend that you specify the IDs of security group rules to delete the rules.
|
|
135534
|
+
* * If a security group rule ID that you specify does not exist, an error is reported.
|
|
135535
|
+
* * Delete a rule by specifying the Permissions parameter.
|
|
135536
|
+
* * If no security group rule matches the specified parameters, the call to RevokeSecurityGroup is successful but no security group rules are deleted.
|
|
135537
|
+
* * Delete a security group rule by configuring the following parameters together:
|
|
135538
|
+
* * One of the following parameters: DestCidrIp, Ipv6DestCidrIp, DestPrefixListId, and DestGroupId. DestCidrIp specifies the destination IPv4 CIDR block. Ipv6DestCidrIp specifies the destination IPv6 CIDR block. DestPrefixListId specifies the ID of the destination prefix list. DestGroupId specifies the destination security group.
|
|
135539
|
+
* * PortRange: specifies the range of destination port numbers.
|
|
135540
|
+
* * IpProtocol: specifies the protocol.
|
|
135541
|
+
* * Policy: specifies the action.
|
|
135542
|
+
* > You cannot set the security group rule ID and the Permissions parameter at the same time.
|
|
135543
|
+
* ### [](#)Sample requests
|
|
135544
|
+
* * Delete a security group rule.
|
|
135545
|
+
* <!---->
|
|
135546
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4p****", //The security group ID.
|
|
135547
|
+
* "SecurityGroupRuleId":["sgr-bpdfmk****","sgr-bpdfmg****"] //The ID of the security group rule.
|
|
135548
|
+
* * Delete a security group rule based on the CIDR block.
|
|
135549
|
+
* <!---->
|
|
135550
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4ph***",
|
|
135551
|
+
* "Permissions":[
|
|
135552
|
+
* {
|
|
135553
|
+
* "IpProtocol":"TCP", //The protocol.
|
|
135554
|
+
* "DestCidrIp":"10.0.0.0/8", //The destination IPv4 CIDR block.
|
|
135555
|
+
* "PortRange":"22/22", //The destination port range.
|
|
135556
|
+
* "Policy":"accept" //The action. }
|
|
135557
|
+
* ]
|
|
135558
|
+
* * Delete a security group rule based on the ID of the destination security group.
|
|
135559
|
+
* <!---->
|
|
135560
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4ph***",
|
|
135561
|
+
* "Permissions":[
|
|
135562
|
+
* {
|
|
135563
|
+
* "DestGroupId":"sg-bp67acfmxa123b****", //Set the ID of the target security group.
|
|
135564
|
+
* "IpProtocol":"TCP",
|
|
135565
|
+
* "PortRange":"22/22",
|
|
135566
|
+
* "Policy":"accept"
|
|
135567
|
+
* }
|
|
135568
|
+
* ]
|
|
135569
|
+
* * Delete a security group rule based on a specified prefix list.
|
|
135570
|
+
* <!---->
|
|
135571
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4ph***",
|
|
135572
|
+
* "Permissions":[
|
|
135573
|
+
* {
|
|
135574
|
+
* "IpProtocol":"TCP",
|
|
135575
|
+
* "DestPrefixListId":"pl-x1j1k5ykzqlixdcy****", //The ID of the destination prefix list. "PortRange":"22/22",
|
|
135576
|
+
* "Policy":"accept",
|
|
135577
|
+
* }
|
|
135578
|
+
* ]
|
|
135634
135579
|
*
|
|
135635
135580
|
* @param request - RevokeSecurityGroupEgressRequest
|
|
135636
135581
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -135769,48 +135714,57 @@ export default class Client extends OpenApi {
|
|
|
135769
135714
|
}
|
|
135770
135715
|
|
|
135771
135716
|
/**
|
|
135772
|
-
* Deletes outbound security group rules.
|
|
135717
|
+
* Deletes outbound security group rules from a specified security group.
|
|
135773
135718
|
*
|
|
135774
135719
|
* @remarks
|
|
135775
|
-
*
|
|
135776
|
-
*
|
|
135777
|
-
* *
|
|
135778
|
-
*
|
|
135779
|
-
*
|
|
135780
|
-
*
|
|
135781
|
-
*
|
|
135782
|
-
*
|
|
135783
|
-
*
|
|
135784
|
-
*
|
|
135785
|
-
*
|
|
135786
|
-
*
|
|
135787
|
-
*
|
|
135788
|
-
*
|
|
135789
|
-
*
|
|
135790
|
-
*
|
|
135791
|
-
*
|
|
135792
|
-
*
|
|
135793
|
-
*
|
|
135794
|
-
*
|
|
135795
|
-
*
|
|
135796
|
-
*
|
|
135797
|
-
*
|
|
135798
|
-
*
|
|
135799
|
-
*
|
|
135800
|
-
*
|
|
135801
|
-
*
|
|
135802
|
-
*
|
|
135803
|
-
*
|
|
135804
|
-
*
|
|
135805
|
-
*
|
|
135806
|
-
*
|
|
135807
|
-
*
|
|
135808
|
-
*
|
|
135809
|
-
*
|
|
135810
|
-
*
|
|
135811
|
-
*
|
|
135812
|
-
*
|
|
135813
|
-
*
|
|
135720
|
+
* > Alibaba Cloud modified verification rules for the RevokeSecurityGroupEgress operation on July 8, 2024. When you use the RevokeSecurityGroupEgress operation to delete a security group rule that does not exist, the "InvalidSecurityGroupRule.RuleNotExist" error code is returned instead of a success response. Update the RevokeSecurityGroupEgress operation to use the new verification rules with the new error code based on your business requirements.
|
|
135721
|
+
* You can use one of the following methods to delete a security group rule:
|
|
135722
|
+
* * Delete a rule by specifying the IDs of security group rules. We recommend that you specify the IDs of security group rules to delete the rules.
|
|
135723
|
+
* * If a security group rule ID that you specify does not exist, an error is reported.
|
|
135724
|
+
* * Delete a rule by specifying the Permissions parameter.
|
|
135725
|
+
* * If no security group rule matches the specified parameters, the call to RevokeSecurityGroup is successful but no security group rules are deleted.
|
|
135726
|
+
* * Delete a security group rule by configuring the following parameters together:
|
|
135727
|
+
* * One of the following parameters: DestCidrIp, Ipv6DestCidrIp, DestPrefixListId, and DestGroupId. DestCidrIp specifies the destination IPv4 CIDR block. Ipv6DestCidrIp specifies the destination IPv6 CIDR block. DestPrefixListId specifies the ID of the destination prefix list. DestGroupId specifies the destination security group.
|
|
135728
|
+
* * PortRange: specifies the range of destination port numbers.
|
|
135729
|
+
* * IpProtocol: specifies the protocol.
|
|
135730
|
+
* * Policy: specifies the action.
|
|
135731
|
+
* > You cannot set the security group rule ID and the Permissions parameter at the same time.
|
|
135732
|
+
* ### [](#)Sample requests
|
|
135733
|
+
* * Delete a security group rule.
|
|
135734
|
+
* <!---->
|
|
135735
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4p****", //The security group ID.
|
|
135736
|
+
* "SecurityGroupRuleId":["sgr-bpdfmk****","sgr-bpdfmg****"] //The ID of the security group rule.
|
|
135737
|
+
* * Delete a security group rule based on the CIDR block.
|
|
135738
|
+
* <!---->
|
|
135739
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4ph***",
|
|
135740
|
+
* "Permissions":[
|
|
135741
|
+
* {
|
|
135742
|
+
* "IpProtocol":"TCP", //The protocol.
|
|
135743
|
+
* "DestCidrIp":"10.0.0.0/8", //The destination IPv4 CIDR block.
|
|
135744
|
+
* "PortRange":"22/22", //The destination port range.
|
|
135745
|
+
* "Policy":"accept" //The action. }
|
|
135746
|
+
* ]
|
|
135747
|
+
* * Delete a security group rule based on the ID of the destination security group.
|
|
135748
|
+
* <!---->
|
|
135749
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4ph***",
|
|
135750
|
+
* "Permissions":[
|
|
135751
|
+
* {
|
|
135752
|
+
* "DestGroupId":"sg-bp67acfmxa123b****", //Set the ID of the target security group.
|
|
135753
|
+
* "IpProtocol":"TCP",
|
|
135754
|
+
* "PortRange":"22/22",
|
|
135755
|
+
* "Policy":"accept"
|
|
135756
|
+
* }
|
|
135757
|
+
* ]
|
|
135758
|
+
* * Delete a security group rule based on a specified prefix list.
|
|
135759
|
+
* <!---->
|
|
135760
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4ph***",
|
|
135761
|
+
* "Permissions":[
|
|
135762
|
+
* {
|
|
135763
|
+
* "IpProtocol":"TCP",
|
|
135764
|
+
* "DestPrefixListId":"pl-x1j1k5ykzqlixdcy****", //The ID of the destination prefix list. "PortRange":"22/22",
|
|
135765
|
+
* "Policy":"accept",
|
|
135766
|
+
* }
|
|
135767
|
+
* ]
|
|
135814
135768
|
*
|
|
135815
135769
|
* @param request - RevokeSecurityGroupEgressRequest
|
|
135816
135770
|
* @returns RevokeSecurityGroupEgressResponse
|