@alicloud/ecs20140526 4.1.1 → 4.1.3
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 +195 -115
- package/dist/client.js +247 -130
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +261 -115
package/dist/client.d.ts
CHANGED
|
@@ -2803,6 +2803,7 @@ export declare class CreateNatGatewayResponse extends $tea.Model {
|
|
|
2803
2803
|
export declare class CreateNetworkInterfaceRequest extends $tea.Model {
|
|
2804
2804
|
businessType?: string;
|
|
2805
2805
|
clientToken?: string;
|
|
2806
|
+
connectionTrackingConfiguration?: CreateNetworkInterfaceRequestConnectionTrackingConfiguration;
|
|
2806
2807
|
deleteOnRelease?: boolean;
|
|
2807
2808
|
description?: string;
|
|
2808
2809
|
instanceType?: string;
|
|
@@ -9153,6 +9154,7 @@ export declare class DescribeNetworkInterfaceAttributeResponseBody extends $tea.
|
|
|
9153
9154
|
associatedPublicIp?: DescribeNetworkInterfaceAttributeResponseBodyAssociatedPublicIp;
|
|
9154
9155
|
attachment?: DescribeNetworkInterfaceAttributeResponseBodyAttachment;
|
|
9155
9156
|
bondInterfaceSpecification?: DescribeNetworkInterfaceAttributeResponseBodyBondInterfaceSpecification;
|
|
9157
|
+
connectionTrackingConfiguration?: DescribeNetworkInterfaceAttributeResponseBodyConnectionTrackingConfiguration;
|
|
9156
9158
|
creationTime?: string;
|
|
9157
9159
|
deleteOnRelease?: boolean;
|
|
9158
9160
|
description?: string;
|
|
@@ -14969,6 +14971,7 @@ export declare class ModifyManagedInstanceResponse extends $tea.Model {
|
|
|
14969
14971
|
});
|
|
14970
14972
|
}
|
|
14971
14973
|
export declare class ModifyNetworkInterfaceAttributeRequest extends $tea.Model {
|
|
14974
|
+
connectionTrackingConfiguration?: ModifyNetworkInterfaceAttributeRequestConnectionTrackingConfiguration;
|
|
14972
14975
|
deleteOnRelease?: boolean;
|
|
14973
14976
|
description?: string;
|
|
14974
14977
|
networkInterfaceId?: string;
|
|
@@ -18666,14 +18669,17 @@ export declare class CreateAutoProvisioningGroupRequestLaunchConfigurationArn ex
|
|
|
18666
18669
|
});
|
|
18667
18670
|
}
|
|
18668
18671
|
export declare class CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk extends $tea.Model {
|
|
18672
|
+
burstingEnabled?: boolean;
|
|
18669
18673
|
category?: string;
|
|
18670
18674
|
deleteWithInstance?: boolean;
|
|
18671
18675
|
description?: string;
|
|
18672
18676
|
device?: string;
|
|
18673
18677
|
diskName?: string;
|
|
18678
|
+
encryptAlgorithm?: string;
|
|
18674
18679
|
encrypted?: boolean;
|
|
18675
18680
|
kmsKeyId?: string;
|
|
18676
18681
|
performanceLevel?: string;
|
|
18682
|
+
provisionedIops?: number;
|
|
18677
18683
|
size?: number;
|
|
18678
18684
|
snapshotId?: string;
|
|
18679
18685
|
static names(): {
|
|
@@ -18687,9 +18693,11 @@ export declare class CreateAutoProvisioningGroupRequestLaunchConfigurationDataDi
|
|
|
18687
18693
|
});
|
|
18688
18694
|
}
|
|
18689
18695
|
export declare class CreateAutoProvisioningGroupRequestLaunchConfigurationSystemDisk extends $tea.Model {
|
|
18696
|
+
burstingEnabled?: boolean;
|
|
18690
18697
|
encryptAlgorithm?: string;
|
|
18691
18698
|
encrypted?: string;
|
|
18692
18699
|
KMSKeyId?: string;
|
|
18700
|
+
provisionedIops?: number;
|
|
18693
18701
|
static names(): {
|
|
18694
18702
|
[key: string]: string;
|
|
18695
18703
|
};
|
|
@@ -19367,6 +19375,20 @@ export declare class CreateNatGatewayResponseBodyForwardTableIds extends $tea.Mo
|
|
|
19367
19375
|
[key: string]: any;
|
|
19368
19376
|
});
|
|
19369
19377
|
}
|
|
19378
|
+
export declare class CreateNetworkInterfaceRequestConnectionTrackingConfiguration extends $tea.Model {
|
|
19379
|
+
tcpClosedAndTimeWaitTimeout?: number;
|
|
19380
|
+
tcpEstablishedTimeout?: number;
|
|
19381
|
+
udpTimeout?: number;
|
|
19382
|
+
static names(): {
|
|
19383
|
+
[key: string]: string;
|
|
19384
|
+
};
|
|
19385
|
+
static types(): {
|
|
19386
|
+
[key: string]: any;
|
|
19387
|
+
};
|
|
19388
|
+
constructor(map?: {
|
|
19389
|
+
[key: string]: any;
|
|
19390
|
+
});
|
|
19391
|
+
}
|
|
19370
19392
|
export declare class CreateNetworkInterfaceRequestTag extends $tea.Model {
|
|
19371
19393
|
key?: string;
|
|
19372
19394
|
value?: string;
|
|
@@ -23729,6 +23751,18 @@ export declare class DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeN
|
|
|
23729
23751
|
[key: string]: any;
|
|
23730
23752
|
});
|
|
23731
23753
|
}
|
|
23754
|
+
export declare class DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeSupportedBootModes extends $tea.Model {
|
|
23755
|
+
supportedBootMode?: string[];
|
|
23756
|
+
static names(): {
|
|
23757
|
+
[key: string]: string;
|
|
23758
|
+
};
|
|
23759
|
+
static types(): {
|
|
23760
|
+
[key: string]: any;
|
|
23761
|
+
};
|
|
23762
|
+
constructor(map?: {
|
|
23763
|
+
[key: string]: any;
|
|
23764
|
+
});
|
|
23765
|
+
}
|
|
23732
23766
|
export declare class DescribeInstanceTypesResponseBodyInstanceTypesInstanceType extends $tea.Model {
|
|
23733
23767
|
baselineCredit?: number;
|
|
23734
23768
|
cpuArchitecture?: string;
|
|
@@ -23767,6 +23801,7 @@ export declare class DescribeInstanceTypesResponseBodyInstanceTypesInstanceType
|
|
|
23767
23801
|
primaryEniQueueNumber?: number;
|
|
23768
23802
|
queuePairNumber?: number;
|
|
23769
23803
|
secondaryEniQueueNumber?: number;
|
|
23804
|
+
supportedBootModes?: DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeSupportedBootModes;
|
|
23770
23805
|
totalEniQueueQuantity?: number;
|
|
23771
23806
|
static names(): {
|
|
23772
23807
|
[key: string]: string;
|
|
@@ -25217,6 +25252,20 @@ export declare class DescribeNetworkInterfaceAttributeResponseBodyBondInterfaceS
|
|
|
25217
25252
|
[key: string]: any;
|
|
25218
25253
|
});
|
|
25219
25254
|
}
|
|
25255
|
+
export declare class DescribeNetworkInterfaceAttributeResponseBodyConnectionTrackingConfiguration extends $tea.Model {
|
|
25256
|
+
tcpClosedAndTimeWaitTimeout?: number;
|
|
25257
|
+
tcpEstablishedTimeout?: number;
|
|
25258
|
+
udpTimeout?: number;
|
|
25259
|
+
static names(): {
|
|
25260
|
+
[key: string]: string;
|
|
25261
|
+
};
|
|
25262
|
+
static types(): {
|
|
25263
|
+
[key: string]: any;
|
|
25264
|
+
};
|
|
25265
|
+
constructor(map?: {
|
|
25266
|
+
[key: string]: any;
|
|
25267
|
+
});
|
|
25268
|
+
}
|
|
25220
25269
|
export declare class DescribeNetworkInterfaceAttributeResponseBodyIpv4PrefixSetsIpv4PrefixSet extends $tea.Model {
|
|
25221
25270
|
ipv4Prefix?: string;
|
|
25222
25271
|
static names(): {
|
|
@@ -28739,6 +28788,20 @@ export declare class ModifyManagedInstanceResponseBodyInstance extends $tea.Mode
|
|
|
28739
28788
|
[key: string]: any;
|
|
28740
28789
|
});
|
|
28741
28790
|
}
|
|
28791
|
+
export declare class ModifyNetworkInterfaceAttributeRequestConnectionTrackingConfiguration extends $tea.Model {
|
|
28792
|
+
tcpClosedAndTimeWaitTimeout?: number;
|
|
28793
|
+
tcpEstablishedTimeout?: number;
|
|
28794
|
+
udpTimeout?: number;
|
|
28795
|
+
static names(): {
|
|
28796
|
+
[key: string]: string;
|
|
28797
|
+
};
|
|
28798
|
+
static types(): {
|
|
28799
|
+
[key: string]: any;
|
|
28800
|
+
};
|
|
28801
|
+
constructor(map?: {
|
|
28802
|
+
[key: string]: any;
|
|
28803
|
+
});
|
|
28804
|
+
}
|
|
28742
28805
|
export declare class ModifyPrefixListRequestAddEntry extends $tea.Model {
|
|
28743
28806
|
cidr?: string;
|
|
28744
28807
|
description?: string;
|
|
@@ -30232,19 +30295,20 @@ export default class Client extends OpenApi {
|
|
|
30232
30295
|
*/
|
|
30233
30296
|
createCapacityReservation(request: CreateCapacityReservationRequest): Promise<CreateCapacityReservationResponse>;
|
|
30234
30297
|
/**
|
|
30298
|
+
* ## [](#)Usage notes
|
|
30235
30299
|
* * You can create commands of the following types:
|
|
30236
|
-
* *
|
|
30237
|
-
* *
|
|
30238
|
-
* *
|
|
30239
|
-
* * You can specify the
|
|
30240
|
-
* *
|
|
30300
|
+
* * Batch commands (RunBatScript), applicable to Windows instances
|
|
30301
|
+
* * PowerShell commands (RunPowerShellScript), applicable to Windows instances
|
|
30302
|
+
* * Shell commands (RunShellScript), applicable to Linux instances
|
|
30303
|
+
* * You can specify the Timeout parameter to set the maximum timeout period for executions of a command on Elastic Compute Service (ECS) instances. If an execution times out, [Cloud Assistant Agent](~~64921~~) forcefully terminates the command process by canceling the process ID (PID) of the command.
|
|
30304
|
+
* * For a one-time task, when the execution times out, the state of the command ([InvokeRecordStatus](~~64845~~)) becomes Failed.
|
|
30241
30305
|
* * For a scheduled task, take note of the following items:
|
|
30242
|
-
* * The timeout period takes effect on each execution
|
|
30243
|
-
* * When
|
|
30244
|
-
* * The timeout of one execution does not affect the subsequent executions
|
|
30245
|
-
* * You can retain up to 500 to
|
|
30246
|
-
* * You can use
|
|
30247
|
-
* * You can enable the custom parameter feature for a Cloud Assistant command by setting EnableParameter to true
|
|
30306
|
+
* * The timeout period takes effect on each execution.
|
|
30307
|
+
* * When an execution times out, the state ([InvokeRecordStatus](~~64845~~)) of the command becomes Failed.
|
|
30308
|
+
* * The timeout of one execution does not affect the subsequent executions.
|
|
30309
|
+
* * You can retain up to 500 to 50,000 Cloud Assistant commands in each region. You can also apply for a quota increase. For information about how to query and increase quotas, see [Manage quotas](~~184116~~).
|
|
30310
|
+
* * You can use WorkingDir to specify the execution directory of a Cloud Assistant command. For Linux instances, the default execution directory of Cloud Assistant commands is the home directory of the root user, which is `/root`. For Windows instances, the default execution directory of Cloud Assistant commands is the directory where the Cloud Assistant Agent process resides, such as `C:\\Windows\\System32`.
|
|
30311
|
+
* * You can enable the custom parameter feature for a Cloud Assistant command by setting EnableParameter to true. When you set CommandContent, you can define custom parameters in the {{parameter}} format. Then, when the [InvokeCommand](~~64841~~) operation is called, the key-value pairs of custom parameters are passed in. For example, if a command is `echo {{name}}`, the Parameters parameter can be used to pass in the `<name, Jack>` key-value pair when the InvokeCommand operation is called. The name key of the custom parameter is automatically replaced by the paired Jack value to generate a new command. As a result, the `echo Jack` command is run.
|
|
30248
30312
|
*
|
|
30249
30313
|
* @param request CreateCommandRequest
|
|
30250
30314
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30252,19 +30316,20 @@ export default class Client extends OpenApi {
|
|
|
30252
30316
|
*/
|
|
30253
30317
|
createCommandWithOptions(request: CreateCommandRequest, runtime: $Util.RuntimeOptions): Promise<CreateCommandResponse>;
|
|
30254
30318
|
/**
|
|
30319
|
+
* ## [](#)Usage notes
|
|
30255
30320
|
* * You can create commands of the following types:
|
|
30256
|
-
* *
|
|
30257
|
-
* *
|
|
30258
|
-
* *
|
|
30259
|
-
* * You can specify the
|
|
30260
|
-
* *
|
|
30321
|
+
* * Batch commands (RunBatScript), applicable to Windows instances
|
|
30322
|
+
* * PowerShell commands (RunPowerShellScript), applicable to Windows instances
|
|
30323
|
+
* * Shell commands (RunShellScript), applicable to Linux instances
|
|
30324
|
+
* * You can specify the Timeout parameter to set the maximum timeout period for executions of a command on Elastic Compute Service (ECS) instances. If an execution times out, [Cloud Assistant Agent](~~64921~~) forcefully terminates the command process by canceling the process ID (PID) of the command.
|
|
30325
|
+
* * For a one-time task, when the execution times out, the state of the command ([InvokeRecordStatus](~~64845~~)) becomes Failed.
|
|
30261
30326
|
* * For a scheduled task, take note of the following items:
|
|
30262
|
-
* * The timeout period takes effect on each execution
|
|
30263
|
-
* * When
|
|
30264
|
-
* * The timeout of one execution does not affect the subsequent executions
|
|
30265
|
-
* * You can retain up to 500 to
|
|
30266
|
-
* * You can use
|
|
30267
|
-
* * You can enable the custom parameter feature for a Cloud Assistant command by setting EnableParameter to true
|
|
30327
|
+
* * The timeout period takes effect on each execution.
|
|
30328
|
+
* * When an execution times out, the state ([InvokeRecordStatus](~~64845~~)) of the command becomes Failed.
|
|
30329
|
+
* * The timeout of one execution does not affect the subsequent executions.
|
|
30330
|
+
* * You can retain up to 500 to 50,000 Cloud Assistant commands in each region. You can also apply for a quota increase. For information about how to query and increase quotas, see [Manage quotas](~~184116~~).
|
|
30331
|
+
* * You can use WorkingDir to specify the execution directory of a Cloud Assistant command. For Linux instances, the default execution directory of Cloud Assistant commands is the home directory of the root user, which is `/root`. For Windows instances, the default execution directory of Cloud Assistant commands is the directory where the Cloud Assistant Agent process resides, such as `C:\\Windows\\System32`.
|
|
30332
|
+
* * You can enable the custom parameter feature for a Cloud Assistant command by setting EnableParameter to true. When you set CommandContent, you can define custom parameters in the {{parameter}} format. Then, when the [InvokeCommand](~~64841~~) operation is called, the key-value pairs of custom parameters are passed in. For example, if a command is `echo {{name}}`, the Parameters parameter can be used to pass in the `<name, Jack>` key-value pair when the InvokeCommand operation is called. The name key of the custom parameter is automatically replaced by the paired Jack value to generate a new command. As a result, the `echo Jack` command is run.
|
|
30268
30333
|
*
|
|
30269
30334
|
* @param request CreateCommandRequest
|
|
30270
30335
|
* @return CreateCommandResponse
|
|
@@ -30378,18 +30443,20 @@ export default class Client extends OpenApi {
|
|
|
30378
30443
|
createHpcClusterWithOptions(request: CreateHpcClusterRequest, runtime: $Util.RuntimeOptions): Promise<CreateHpcClusterResponse>;
|
|
30379
30444
|
createHpcCluster(request: CreateHpcClusterRequest): Promise<CreateHpcClusterResponse>;
|
|
30380
30445
|
/**
|
|
30381
|
-
*
|
|
30382
|
-
*
|
|
30383
|
-
* *
|
|
30384
|
-
*
|
|
30385
|
-
* *
|
|
30386
|
-
*
|
|
30387
|
-
* * **Method
|
|
30388
|
-
*
|
|
30389
|
-
* *
|
|
30390
|
-
*
|
|
30391
|
-
* * You can
|
|
30392
|
-
* * The
|
|
30446
|
+
* ## [](#)Usage notes
|
|
30447
|
+
* Take note of the following items:
|
|
30448
|
+
* * You can use the created custom image only if the image is in the Available (Available) state.
|
|
30449
|
+
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query the information of an instance, the instance is locked for security reasons. No operations are allowed on the instance.
|
|
30450
|
+
* * To optimize the image, we recommend that you specify DetectionStrategy when you create the image. For more information, see [Overview of image check](~~439819~~).
|
|
30451
|
+
* You can call the CreateImage operation to create a custom image by using one of the following methods. The following request parameters are sorted by priority: `InstanceId` > `DiskDeviceMapping` > `SnapshotId`. If your request contains two or more of these parameters, the custom image is created based on the parameter that has a higher priority.
|
|
30452
|
+
* * **Method 1**: Create a custom image from an instance. You need to only specify the ID of the instance by using `InstanceId`. The instance must be in the Running (`Running`) or Stopped (`Stopped`) state. After you call the CreateImage operation, a snapshot is created for each disk of the instance. When you create a custom image from a running instance, cache data may not be written to disks. In this case, the data of the custom image may be slightly different from the data of the instance. We recommend that you stop instances by calling the [StopInstances](~~155372~~) operation before you create custom images from the instances.
|
|
30453
|
+
* * **Method 2**: Create a custom image from the system disk snapshot of an instance. You need to only specify the ID of the system disk snapshot by using `SnapshotId`. The specified system disk snapshot must be created after July 15, 2013.
|
|
30454
|
+
* * **Method 3**: Create a custom image from multiple disk snapshots. You must specify data mappings between the snapshots and the disks to be created by using the parameters that start with `DiskDeviceMapping`.
|
|
30455
|
+
* When you use Method 3 to create a custom image, take note of the following items:
|
|
30456
|
+
* * You can specify only one snapshot to use to create the system disk in the custom image. The device name of the system disk must be /dev/xvda.
|
|
30457
|
+
* * You can specify up to 16 snapshots to use to create data disks in the custom image. The device names of the data disks are unique and range from /dev/xvdb to /dev/xvdz in alphabetical order.
|
|
30458
|
+
* * You can leave `SnapshotId` empty. In this case, an empty data disk with the specified size is created.
|
|
30459
|
+
* * The specified disk snapshot must be created after July 15, 2013.
|
|
30393
30460
|
*
|
|
30394
30461
|
* @param request CreateImageRequest
|
|
30395
30462
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30397,18 +30464,20 @@ export default class Client extends OpenApi {
|
|
|
30397
30464
|
*/
|
|
30398
30465
|
createImageWithOptions(request: CreateImageRequest, runtime: $Util.RuntimeOptions): Promise<CreateImageResponse>;
|
|
30399
30466
|
/**
|
|
30400
|
-
*
|
|
30401
|
-
*
|
|
30402
|
-
* *
|
|
30403
|
-
*
|
|
30404
|
-
* *
|
|
30405
|
-
*
|
|
30406
|
-
* * **Method
|
|
30407
|
-
*
|
|
30408
|
-
* *
|
|
30409
|
-
*
|
|
30410
|
-
* * You can
|
|
30411
|
-
* * The
|
|
30467
|
+
* ## [](#)Usage notes
|
|
30468
|
+
* Take note of the following items:
|
|
30469
|
+
* * You can use the created custom image only if the image is in the Available (Available) state.
|
|
30470
|
+
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query the information of an instance, the instance is locked for security reasons. No operations are allowed on the instance.
|
|
30471
|
+
* * To optimize the image, we recommend that you specify DetectionStrategy when you create the image. For more information, see [Overview of image check](~~439819~~).
|
|
30472
|
+
* You can call the CreateImage operation to create a custom image by using one of the following methods. The following request parameters are sorted by priority: `InstanceId` > `DiskDeviceMapping` > `SnapshotId`. If your request contains two or more of these parameters, the custom image is created based on the parameter that has a higher priority.
|
|
30473
|
+
* * **Method 1**: Create a custom image from an instance. You need to only specify the ID of the instance by using `InstanceId`. The instance must be in the Running (`Running`) or Stopped (`Stopped`) state. After you call the CreateImage operation, a snapshot is created for each disk of the instance. When you create a custom image from a running instance, cache data may not be written to disks. In this case, the data of the custom image may be slightly different from the data of the instance. We recommend that you stop instances by calling the [StopInstances](~~155372~~) operation before you create custom images from the instances.
|
|
30474
|
+
* * **Method 2**: Create a custom image from the system disk snapshot of an instance. You need to only specify the ID of the system disk snapshot by using `SnapshotId`. The specified system disk snapshot must be created after July 15, 2013.
|
|
30475
|
+
* * **Method 3**: Create a custom image from multiple disk snapshots. You must specify data mappings between the snapshots and the disks to be created by using the parameters that start with `DiskDeviceMapping`.
|
|
30476
|
+
* When you use Method 3 to create a custom image, take note of the following items:
|
|
30477
|
+
* * You can specify only one snapshot to use to create the system disk in the custom image. The device name of the system disk must be /dev/xvda.
|
|
30478
|
+
* * You can specify up to 16 snapshots to use to create data disks in the custom image. The device names of the data disks are unique and range from /dev/xvdb to /dev/xvdz in alphabetical order.
|
|
30479
|
+
* * You can leave `SnapshotId` empty. In this case, an empty data disk with the specified size is created.
|
|
30480
|
+
* * The specified disk snapshot must be created after July 15, 2013.
|
|
30412
30481
|
*
|
|
30413
30482
|
* @param request CreateImageRequest
|
|
30414
30483
|
* @return CreateImageResponse
|
|
@@ -30642,6 +30711,7 @@ export default class Client extends OpenApi {
|
|
|
30642
30711
|
* * If NetworkInterfaceId is empty in the response, no ENI is created. Call the operation again to create an ENI.
|
|
30643
30712
|
* * An ENI can be attached only to a single instance that resides in a virtual private cloud (VPC).
|
|
30644
30713
|
* * When an ENI is detached from an instance and attached to another instance, the attributes of the ENI remain unchanged and network traffic is redirected to the new instance.
|
|
30714
|
+
* * When you call this operation to create an ENI, you can assign up to 49 secondary private IP addresses to the ENI.
|
|
30645
30715
|
* * If you want to assign IPv6 addresses when you create an ENI, make sure that IPv6 is enabled for the vSwitch with which you want to associate the ENI. For more information, see [What is an IPv6 gateway?](~~98896~~)
|
|
30646
30716
|
* * A quota is imposed on the number of ENIs that can be created per Alibaba Cloud region per account. You can view the quota in the ECS console. For more information, see [View and increase resource quotas](~~184115~~).
|
|
30647
30717
|
* **For information about examples on how to call this operation, see** [Create an ENI](~~471552~~).
|
|
@@ -30658,6 +30728,7 @@ export default class Client extends OpenApi {
|
|
|
30658
30728
|
* * If NetworkInterfaceId is empty in the response, no ENI is created. Call the operation again to create an ENI.
|
|
30659
30729
|
* * An ENI can be attached only to a single instance that resides in a virtual private cloud (VPC).
|
|
30660
30730
|
* * When an ENI is detached from an instance and attached to another instance, the attributes of the ENI remain unchanged and network traffic is redirected to the new instance.
|
|
30731
|
+
* * When you call this operation to create an ENI, you can assign up to 49 secondary private IP addresses to the ENI.
|
|
30661
30732
|
* * If you want to assign IPv6 addresses when you create an ENI, make sure that IPv6 is enabled for the vSwitch with which you want to associate the ENI. For more information, see [What is an IPv6 gateway?](~~98896~~)
|
|
30662
30733
|
* * A quota is imposed on the number of ENIs that can be created per Alibaba Cloud region per account. You can view the quota in the ECS console. For more information, see [View and increase resource quotas](~~184115~~).
|
|
30663
30734
|
* **For information about examples on how to call this operation, see** [Create an ENI](~~471552~~).
|
|
@@ -32121,29 +32192,16 @@ export default class Client extends OpenApi {
|
|
|
32121
32192
|
* @return DescribeInstanceStatusResponse
|
|
32122
32193
|
*/
|
|
32123
32194
|
describeInstanceStatus(request: DescribeInstanceStatusRequest): Promise<DescribeInstanceStatusResponse>;
|
|
32124
|
-
/**
|
|
32125
|
-
* > The DescribeInstanceTopology operation is in invitational preview and is not commercially available.
|
|
32126
|
-
*
|
|
32127
|
-
* @param request DescribeInstanceTopologyRequest
|
|
32128
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
32129
|
-
* @return DescribeInstanceTopologyResponse
|
|
32130
|
-
*/
|
|
32131
32195
|
describeInstanceTopologyWithOptions(request: DescribeInstanceTopologyRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceTopologyResponse>;
|
|
32132
|
-
/**
|
|
32133
|
-
* > The DescribeInstanceTopology operation is in invitational preview and is not commercially available.
|
|
32134
|
-
*
|
|
32135
|
-
* @param request DescribeInstanceTopologyRequest
|
|
32136
|
-
* @return DescribeInstanceTopologyResponse
|
|
32137
|
-
*/
|
|
32138
32196
|
describeInstanceTopology(request: DescribeInstanceTopologyRequest): Promise<DescribeInstanceTopologyResponse>;
|
|
32139
32197
|
describeInstanceTypeFamiliesWithOptions(request: DescribeInstanceTypeFamiliesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceTypeFamiliesResponse>;
|
|
32140
32198
|
describeInstanceTypeFamilies(request: DescribeInstanceTypeFamiliesRequest): Promise<DescribeInstanceTypeFamiliesResponse>;
|
|
32141
32199
|
/**
|
|
32142
|
-
* ## Usage notes
|
|
32143
|
-
*
|
|
32144
|
-
* *
|
|
32145
|
-
* * We recommend that you specify
|
|
32146
|
-
* * The DescribeInstanceTypes operation is used to query only the specifications and performance information of instance types. To query instance types that are available in a
|
|
32200
|
+
* ## [](#)Usage notes
|
|
32201
|
+
* Take note of the following items:
|
|
32202
|
+
* * MaxResults specifies the maximum number of entries per page. The maximum value of this parameter is changed from 1600 to 100. As of November 15, 2023, only 100 can be used as the maximum value of MaxResults. If you called the DescribeInstanceTypes operation in 2022, you can use 1600 as the maximum value before November 15, 2023. If you do not specify NextToken when you call the DescribeInstanceTypes operation, only the first page of results that contains up to 100 entries is returned. If you want to retrieve more results, specify NextToken to perform paged queries, or specify filter conditions to filter results.
|
|
32203
|
+
* * We recommend that you specify MaxResults and NextToken to perform paged queries. The first time you call the DescribeInstanceTypes operation, set MaxResults to specify the maximum number of entries to return in a single call. If the number of entries to return exceeds the specified MaxResults value, the response includes a NextToken value. You can set NextToken to the returned value and specify MaxResults in your next request to DescribeInstanceTypes to retrieve the next page of results.
|
|
32204
|
+
* * The DescribeInstanceTypes operation is used to query only the specifications and performance information of instance types. To query instance types that are available in a specific region, call the [DescribeAvailableResource](~~66186~~) operation.
|
|
32147
32205
|
* * To use special instance types such as instance types that are unavailable for purchase, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).
|
|
32148
32206
|
*
|
|
32149
32207
|
* @param request DescribeInstanceTypesRequest
|
|
@@ -32152,11 +32210,11 @@ export default class Client extends OpenApi {
|
|
|
32152
32210
|
*/
|
|
32153
32211
|
describeInstanceTypesWithOptions(request: DescribeInstanceTypesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceTypesResponse>;
|
|
32154
32212
|
/**
|
|
32155
|
-
* ## Usage notes
|
|
32156
|
-
*
|
|
32157
|
-
* *
|
|
32158
|
-
* * We recommend that you specify
|
|
32159
|
-
* * The DescribeInstanceTypes operation is used to query only the specifications and performance information of instance types. To query instance types that are available in a
|
|
32213
|
+
* ## [](#)Usage notes
|
|
32214
|
+
* Take note of the following items:
|
|
32215
|
+
* * MaxResults specifies the maximum number of entries per page. The maximum value of this parameter is changed from 1600 to 100. As of November 15, 2023, only 100 can be used as the maximum value of MaxResults. If you called the DescribeInstanceTypes operation in 2022, you can use 1600 as the maximum value before November 15, 2023. If you do not specify NextToken when you call the DescribeInstanceTypes operation, only the first page of results that contains up to 100 entries is returned. If you want to retrieve more results, specify NextToken to perform paged queries, or specify filter conditions to filter results.
|
|
32216
|
+
* * We recommend that you specify MaxResults and NextToken to perform paged queries. The first time you call the DescribeInstanceTypes operation, set MaxResults to specify the maximum number of entries to return in a single call. If the number of entries to return exceeds the specified MaxResults value, the response includes a NextToken value. You can set NextToken to the returned value and specify MaxResults in your next request to DescribeInstanceTypes to retrieve the next page of results.
|
|
32217
|
+
* * The DescribeInstanceTypes operation is used to query only the specifications and performance information of instance types. To query instance types that are available in a specific region, call the [DescribeAvailableResource](~~66186~~) operation.
|
|
32160
32218
|
* * To use special instance types such as instance types that are unavailable for purchase, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).
|
|
32161
32219
|
*
|
|
32162
32220
|
* @param request DescribeInstanceTypesRequest
|
|
@@ -32243,10 +32301,12 @@ export default class Client extends OpenApi {
|
|
|
32243
32301
|
*/
|
|
32244
32302
|
describeInstancesFullStatus(request: DescribeInstancesFullStatusRequest): Promise<DescribeInstancesFullStatusResponse>;
|
|
32245
32303
|
/**
|
|
32246
|
-
*
|
|
32304
|
+
* ## [](#)Usage notes
|
|
32305
|
+
* * 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 of a command.
|
|
32247
32306
|
* * You can query information about command executions within the last four weeks. Up to 100,000 pieces of execution information can be retained.
|
|
32248
|
-
*
|
|
32249
|
-
*
|
|
32307
|
+
* * You can use one of the following methods to check the responses:
|
|
32308
|
+
* * 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.
|
|
32309
|
+
* * 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.
|
|
32250
32310
|
*
|
|
32251
32311
|
* @param request DescribeInvocationResultsRequest
|
|
32252
32312
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -32254,10 +32314,12 @@ export default class Client extends OpenApi {
|
|
|
32254
32314
|
*/
|
|
32255
32315
|
describeInvocationResultsWithOptions(request: DescribeInvocationResultsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInvocationResultsResponse>;
|
|
32256
32316
|
/**
|
|
32257
|
-
*
|
|
32317
|
+
* ## [](#)Usage notes
|
|
32318
|
+
* * 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 of a command.
|
|
32258
32319
|
* * You can query information about command executions within the last four weeks. Up to 100,000 pieces of execution information can be retained.
|
|
32259
|
-
*
|
|
32260
|
-
*
|
|
32320
|
+
* * You can use one of the following methods to check the responses:
|
|
32321
|
+
* * 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.
|
|
32322
|
+
* * 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.
|
|
32261
32323
|
*
|
|
32262
32324
|
* @param request DescribeInvocationResultsRequest
|
|
32263
32325
|
* @return DescribeInvocationResultsResponse
|
|
@@ -33436,20 +33498,20 @@ export default class Client extends OpenApi {
|
|
|
33436
33498
|
installCloudAssistant(request: InstallCloudAssistantRequest): Promise<InstallCloudAssistantResponse>;
|
|
33437
33499
|
/**
|
|
33438
33500
|
* ## [](#)Usage notes
|
|
33439
|
-
* * The
|
|
33501
|
+
* * The ECS instances on which you want to run the Cloud Assistant command must meet the following requirements. If multiple ECS instances are specified and one of the instances does not meet the requirements for running the command, the call fails. You must specify instances that meet the requirements and call the InvokeCommand operation again.
|
|
33440
33502
|
* * The instances are in the Running (`Running`) state. You can call the [DescribeInstances](~~25506~~) operation to query the status of instances.
|
|
33441
33503
|
* * Cloud Assistant Agent is installed on the instances. For more information, see [Install Cloud Assistant Agent](~~64921~~).
|
|
33442
|
-
* *
|
|
33504
|
+
* * If the command is a PowerShell command, make sure that the instances have the PowerShell module configured.
|
|
33443
33505
|
* * You can configure the command to run only once on the instances.
|
|
33444
|
-
* * You can configure the command to run
|
|
33445
|
-
* * The schedule is specified by
|
|
33446
|
-
* *
|
|
33447
|
-
* To ensure that scheduled tasks can run as expected, make sure that the version of Cloud Assistant Agent is not earlier than the following
|
|
33506
|
+
* * You can configure the command to run on the instances based on a schedule.
|
|
33507
|
+
* * The schedule is specified by Frequency. The results of each execution of the command do not affect the next execution of the command.
|
|
33508
|
+
* * When you use a cron expression to specify a schedule, you can specify a time zone based on your business requirements. If you do not specify a time zone, the schedule is determined by the system time of the instances. Make sure that the time or time zone of the instances meets your business requirements. For more information, see [Manage the time synchronization service](~~92704~~).
|
|
33509
|
+
* To ensure that scheduled tasks can run as expected, make sure that the version of Cloud Assistant Agent is not earlier than the following versions. A scheduled task can run a command at a fixed interval, only once at a specific time, or at specific times based on a cron expression in a specified year or time zone. If the ClientNeedUpgrade error code is returned, you must upgrade Cloud Assistant Agent to the latest version. For more information, see [Upgrade or disable upgrades for Cloud Assistant Agent](~~134383~~).
|
|
33448
33510
|
* * Linux: 2.2.3.282
|
|
33449
33511
|
* * Windows: 2.1.3.282
|
|
33450
|
-
* *
|
|
33451
|
-
* * If you
|
|
33452
|
-
* * Before you run the command on instances, especially new instances, we recommend that you call the [DescribeCloudAssistantStatus](~~87346~~) operation to query the status of Cloud Assistant Agent on the instances
|
|
33512
|
+
* * Command executions may fail due to instance status exceptions, network exceptions, or exceptions on Cloud Assistant Agent. If a command execution fails, no execution information is generated. For more information, see [Check execution results and troubleshoot common issues](~~87029~~).
|
|
33513
|
+
* * If you enable the custom parameter feature when you create the command, you must specify custom parameters (`Parameters`) to run the command.
|
|
33514
|
+
* * Before you run the command on instances, especially new instances, we recommend that you call the [DescribeCloudAssistantStatus](~~87346~~) operation to query the status of Cloud Assistant Agent on the instances and run the command when the value of CloudAssistantStatus in the response is true for the instances.
|
|
33453
33515
|
*
|
|
33454
33516
|
* @param tmpReq InvokeCommandRequest
|
|
33455
33517
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -33458,20 +33520,20 @@ export default class Client extends OpenApi {
|
|
|
33458
33520
|
invokeCommandWithOptions(tmpReq: InvokeCommandRequest, runtime: $Util.RuntimeOptions): Promise<InvokeCommandResponse>;
|
|
33459
33521
|
/**
|
|
33460
33522
|
* ## [](#)Usage notes
|
|
33461
|
-
* * The
|
|
33523
|
+
* * The ECS instances on which you want to run the Cloud Assistant command must meet the following requirements. If multiple ECS instances are specified and one of the instances does not meet the requirements for running the command, the call fails. You must specify instances that meet the requirements and call the InvokeCommand operation again.
|
|
33462
33524
|
* * The instances are in the Running (`Running`) state. You can call the [DescribeInstances](~~25506~~) operation to query the status of instances.
|
|
33463
33525
|
* * Cloud Assistant Agent is installed on the instances. For more information, see [Install Cloud Assistant Agent](~~64921~~).
|
|
33464
|
-
* *
|
|
33526
|
+
* * If the command is a PowerShell command, make sure that the instances have the PowerShell module configured.
|
|
33465
33527
|
* * You can configure the command to run only once on the instances.
|
|
33466
|
-
* * You can configure the command to run
|
|
33467
|
-
* * The schedule is specified by
|
|
33468
|
-
* *
|
|
33469
|
-
* To ensure that scheduled tasks can run as expected, make sure that the version of Cloud Assistant Agent is not earlier than the following
|
|
33528
|
+
* * You can configure the command to run on the instances based on a schedule.
|
|
33529
|
+
* * The schedule is specified by Frequency. The results of each execution of the command do not affect the next execution of the command.
|
|
33530
|
+
* * When you use a cron expression to specify a schedule, you can specify a time zone based on your business requirements. If you do not specify a time zone, the schedule is determined by the system time of the instances. Make sure that the time or time zone of the instances meets your business requirements. For more information, see [Manage the time synchronization service](~~92704~~).
|
|
33531
|
+
* To ensure that scheduled tasks can run as expected, make sure that the version of Cloud Assistant Agent is not earlier than the following versions. A scheduled task can run a command at a fixed interval, only once at a specific time, or at specific times based on a cron expression in a specified year or time zone. If the ClientNeedUpgrade error code is returned, you must upgrade Cloud Assistant Agent to the latest version. For more information, see [Upgrade or disable upgrades for Cloud Assistant Agent](~~134383~~).
|
|
33470
33532
|
* * Linux: 2.2.3.282
|
|
33471
33533
|
* * Windows: 2.1.3.282
|
|
33472
|
-
* *
|
|
33473
|
-
* * If you
|
|
33474
|
-
* * Before you run the command on instances, especially new instances, we recommend that you call the [DescribeCloudAssistantStatus](~~87346~~) operation to query the status of Cloud Assistant Agent on the instances
|
|
33534
|
+
* * Command executions may fail due to instance status exceptions, network exceptions, or exceptions on Cloud Assistant Agent. If a command execution fails, no execution information is generated. For more information, see [Check execution results and troubleshoot common issues](~~87029~~).
|
|
33535
|
+
* * If you enable the custom parameter feature when you create the command, you must specify custom parameters (`Parameters`) to run the command.
|
|
33536
|
+
* * Before you run the command on instances, especially new instances, we recommend that you call the [DescribeCloudAssistantStatus](~~87346~~) operation to query the status of Cloud Assistant Agent on the instances and run the command when the value of CloudAssistantStatus in the response is true for the instances.
|
|
33475
33537
|
*
|
|
33476
33538
|
* @param request InvokeCommandRequest
|
|
33477
33539
|
* @return InvokeCommandResponse
|
|
@@ -34324,18 +34386,21 @@ export default class Client extends OpenApi {
|
|
|
34324
34386
|
*/
|
|
34325
34387
|
modifyInstanceVpcAttribute(request: ModifyInstanceVpcAttributeRequest): Promise<ModifyInstanceVpcAttributeResponse>;
|
|
34326
34388
|
/**
|
|
34327
|
-
* * You can modify the execution information of a
|
|
34328
|
-
* * Period: The
|
|
34329
|
-
* * NextRebootOnly: The
|
|
34330
|
-
* * EveryReboot: The
|
|
34331
|
-
* * You can modify the execution information of a command
|
|
34332
|
-
* * Pending: The command is being verified or sent. When the execution
|
|
34333
|
-
* * Running: The command is being run on
|
|
34334
|
-
* * Scheduled: The command that is set to run on a schedule is sent and waiting to be run. When the execution
|
|
34335
|
-
* * Stopping: The command
|
|
34336
|
-
* *
|
|
34389
|
+
* * You can modify the execution information of a task that runs a command in one of the following modes. To query the execution mode of a command, you can call the [DescribeInvocations](~~2679916~~) operation and check the `RepeatMode` value in the response.
|
|
34390
|
+
* * Period: The task runs the command on a schedule.
|
|
34391
|
+
* * NextRebootOnly: The task runs the command the next time the associated instances start.
|
|
34392
|
+
* * EveryReboot: The task runs the command every time the associated instances start.
|
|
34393
|
+
* * You can modify the execution information of a command task in one of the following execution states. To query the execution status of a command, you can call the [DescribeInvocations](~~2679916~~) operation and check the `InvocationStatus` value.
|
|
34394
|
+
* * Pending: The command is being verified or sent. When the execution state on at least one instance is Pending, the overall execution state is Pending.
|
|
34395
|
+
* * Running: The command is being run on instances. When the execution state on at least one instance is Running, the overall execution state is Running.
|
|
34396
|
+
* * Scheduled: The command that is set to run on a schedule is sent and waiting to be run. When the execution state on at least one instance is Scheduled, the overall execution state is Scheduled.
|
|
34397
|
+
* * Stopping: The command task is being stopped. When the execution state on at least one instance is Stopping, the overall execution state is Stopping.
|
|
34398
|
+
* * Before you modify the execution information of a scheduled task, such as the command content, custom parameters, and execution frequency, make sure that the version of Cloud Assistant Agent on the ECS instances or managed instances associated with the task is later than the following versions:
|
|
34337
34399
|
* * Linux: 2.2.3.541
|
|
34338
34400
|
* * Windows: 2.1.3.541
|
|
34401
|
+
* * If the `InvalidOperation.CloudAssistantVersionUnsupported` error code is returned in the response, update Cloud Assistant Agent to the latest version.
|
|
34402
|
+
* * You cannot modify `CommandContent` for a common Cloud Assistant command.
|
|
34403
|
+
* * If you modify the `CommandContent` value of a command and set `KeepCommand` to `true` when you call the [InvokeCommand](~~64841~~) or [RunCommand](~~141751~~) operation to run the command, a new command is added and retained. The new command consumes the quota for Cloud Assistant commands. You can retain up to 500 to 50,000 Cloud Assistant commands in each region. You can apply for a quota increase. For information about how to query and increase quotas, see [Manage quotas](~~184116~~).
|
|
34339
34404
|
*
|
|
34340
34405
|
* @param tmpReq ModifyInvocationAttributeRequest
|
|
34341
34406
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -34343,18 +34408,21 @@ export default class Client extends OpenApi {
|
|
|
34343
34408
|
*/
|
|
34344
34409
|
modifyInvocationAttributeWithOptions(tmpReq: ModifyInvocationAttributeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyInvocationAttributeResponse>;
|
|
34345
34410
|
/**
|
|
34346
|
-
* * You can modify the execution information of a
|
|
34347
|
-
* * Period: The
|
|
34348
|
-
* * NextRebootOnly: The
|
|
34349
|
-
* * EveryReboot: The
|
|
34350
|
-
* * You can modify the execution information of a command
|
|
34351
|
-
* * Pending: The command is being verified or sent. When the execution
|
|
34352
|
-
* * Running: The command is being run on
|
|
34353
|
-
* * Scheduled: The command that is set to run on a schedule is sent and waiting to be run. When the execution
|
|
34354
|
-
* * Stopping: The command
|
|
34355
|
-
* *
|
|
34411
|
+
* * You can modify the execution information of a task that runs a command in one of the following modes. To query the execution mode of a command, you can call the [DescribeInvocations](~~2679916~~) operation and check the `RepeatMode` value in the response.
|
|
34412
|
+
* * Period: The task runs the command on a schedule.
|
|
34413
|
+
* * NextRebootOnly: The task runs the command the next time the associated instances start.
|
|
34414
|
+
* * EveryReboot: The task runs the command every time the associated instances start.
|
|
34415
|
+
* * You can modify the execution information of a command task in one of the following execution states. To query the execution status of a command, you can call the [DescribeInvocations](~~2679916~~) operation and check the `InvocationStatus` value.
|
|
34416
|
+
* * Pending: The command is being verified or sent. When the execution state on at least one instance is Pending, the overall execution state is Pending.
|
|
34417
|
+
* * Running: The command is being run on instances. When the execution state on at least one instance is Running, the overall execution state is Running.
|
|
34418
|
+
* * Scheduled: The command that is set to run on a schedule is sent and waiting to be run. When the execution state on at least one instance is Scheduled, the overall execution state is Scheduled.
|
|
34419
|
+
* * Stopping: The command task is being stopped. When the execution state on at least one instance is Stopping, the overall execution state is Stopping.
|
|
34420
|
+
* * Before you modify the execution information of a scheduled task, such as the command content, custom parameters, and execution frequency, make sure that the version of Cloud Assistant Agent on the ECS instances or managed instances associated with the task is later than the following versions:
|
|
34356
34421
|
* * Linux: 2.2.3.541
|
|
34357
34422
|
* * Windows: 2.1.3.541
|
|
34423
|
+
* * If the `InvalidOperation.CloudAssistantVersionUnsupported` error code is returned in the response, update Cloud Assistant Agent to the latest version.
|
|
34424
|
+
* * You cannot modify `CommandContent` for a common Cloud Assistant command.
|
|
34425
|
+
* * If you modify the `CommandContent` value of a command and set `KeepCommand` to `true` when you call the [InvokeCommand](~~64841~~) or [RunCommand](~~141751~~) operation to run the command, a new command is added and retained. The new command consumes the quota for Cloud Assistant commands. You can retain up to 500 to 50,000 Cloud Assistant commands in each region. You can apply for a quota increase. For information about how to query and increase quotas, see [Manage quotas](~~184116~~).
|
|
34358
34426
|
*
|
|
34359
34427
|
* @param request ModifyInvocationAttributeRequest
|
|
34360
34428
|
* @return ModifyInvocationAttributeResponse
|
|
@@ -35092,7 +35160,13 @@ export default class Client extends OpenApi {
|
|
|
35092
35160
|
*/
|
|
35093
35161
|
resetDisks(request: ResetDisksRequest): Promise<ResetDisksResponse>;
|
|
35094
35162
|
/**
|
|
35095
|
-
*
|
|
35163
|
+
* ## [](#)Usage notes
|
|
35164
|
+
* > Before you call this operation to resize a disk, you must check the partition format of the disk. A master boot record (MBR) disk cannot be resized to a size that is larger than 2 TiB. If you resize an MBR disk to a size that is larger than 2 TiB, data may be lost. If you want to resize an MBR disk to a size that is larger than 2 TiB, we recommend that you perform the following steps: Create another data disk that is larger than 2 TiB in size, partition and format the new data disk to GUID partition table (GPT), and then copy data from the MBR disk to the new GPT data disk. For more information, see [Step 1: Resize a disk to extend its capacity](~~44986~~).
|
|
35165
|
+
* * You can resize the following categories of disks: basic disks (`cloud`), ultra disks (`cloud_efficiency`), SSDs (`cloud_ssd`), enhanced SSDs (ESSDs)(`cloud_essd`), and ESSD AutoPL disks (cloud_auto).
|
|
35166
|
+
* * A disk cannot be resized when a snapshot is being created for the disk.
|
|
35167
|
+
* * The Elastic Compute Service (ECS) instance to which the disk is attached must be in the **Running** (`Running`) or **Stopped** (`Stopped`) state.
|
|
35168
|
+
* * After you resize a disk, the partitions and file systems of the disk are not changed. You must allocate the storage space on the disk after the disk is resized.
|
|
35169
|
+
* * Disks for which the multi-attach feature is enabled support online resizing and offline resizing. Before you resize the disks offline, make sure that the instances to which the disks are attached are in the **Stopped** (`Stopped`) state.
|
|
35096
35170
|
*
|
|
35097
35171
|
* @param request ResizeDiskRequest
|
|
35098
35172
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -35100,7 +35174,13 @@ export default class Client extends OpenApi {
|
|
|
35100
35174
|
*/
|
|
35101
35175
|
resizeDiskWithOptions(request: ResizeDiskRequest, runtime: $Util.RuntimeOptions): Promise<ResizeDiskResponse>;
|
|
35102
35176
|
/**
|
|
35103
|
-
*
|
|
35177
|
+
* ## [](#)Usage notes
|
|
35178
|
+
* > Before you call this operation to resize a disk, you must check the partition format of the disk. A master boot record (MBR) disk cannot be resized to a size that is larger than 2 TiB. If you resize an MBR disk to a size that is larger than 2 TiB, data may be lost. If you want to resize an MBR disk to a size that is larger than 2 TiB, we recommend that you perform the following steps: Create another data disk that is larger than 2 TiB in size, partition and format the new data disk to GUID partition table (GPT), and then copy data from the MBR disk to the new GPT data disk. For more information, see [Step 1: Resize a disk to extend its capacity](~~44986~~).
|
|
35179
|
+
* * You can resize the following categories of disks: basic disks (`cloud`), ultra disks (`cloud_efficiency`), SSDs (`cloud_ssd`), enhanced SSDs (ESSDs)(`cloud_essd`), and ESSD AutoPL disks (cloud_auto).
|
|
35180
|
+
* * A disk cannot be resized when a snapshot is being created for the disk.
|
|
35181
|
+
* * The Elastic Compute Service (ECS) instance to which the disk is attached must be in the **Running** (`Running`) or **Stopped** (`Stopped`) state.
|
|
35182
|
+
* * After you resize a disk, the partitions and file systems of the disk are not changed. You must allocate the storage space on the disk after the disk is resized.
|
|
35183
|
+
* * Disks for which the multi-attach feature is enabled support online resizing and offline resizing. Before you resize the disks offline, make sure that the instances to which the disks are attached are in the **Stopped** (`Stopped`) state.
|
|
35104
35184
|
*
|
|
35105
35185
|
* @param request ResizeDiskRequest
|
|
35106
35186
|
* @return ResizeDiskResponse
|