@alicloud/ecs20140526 4.1.2 → 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 +118 -52
- package/dist/client.js +165 -67
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +175 -52
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;
|
|
@@ -25230,6 +25252,20 @@ export declare class DescribeNetworkInterfaceAttributeResponseBodyBondInterfaceS
|
|
|
25230
25252
|
[key: string]: any;
|
|
25231
25253
|
});
|
|
25232
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
|
+
}
|
|
25233
25269
|
export declare class DescribeNetworkInterfaceAttributeResponseBodyIpv4PrefixSetsIpv4PrefixSet extends $tea.Model {
|
|
25234
25270
|
ipv4Prefix?: string;
|
|
25235
25271
|
static names(): {
|
|
@@ -28752,6 +28788,20 @@ export declare class ModifyManagedInstanceResponseBodyInstance extends $tea.Mode
|
|
|
28752
28788
|
[key: string]: any;
|
|
28753
28789
|
});
|
|
28754
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
|
+
}
|
|
28755
28805
|
export declare class ModifyPrefixListRequestAddEntry extends $tea.Model {
|
|
28756
28806
|
cidr?: string;
|
|
28757
28807
|
description?: string;
|
|
@@ -30393,18 +30443,20 @@ export default class Client extends OpenApi {
|
|
|
30393
30443
|
createHpcClusterWithOptions(request: CreateHpcClusterRequest, runtime: $Util.RuntimeOptions): Promise<CreateHpcClusterResponse>;
|
|
30394
30444
|
createHpcCluster(request: CreateHpcClusterRequest): Promise<CreateHpcClusterResponse>;
|
|
30395
30445
|
/**
|
|
30396
|
-
*
|
|
30397
|
-
*
|
|
30398
|
-
* *
|
|
30399
|
-
*
|
|
30400
|
-
* *
|
|
30401
|
-
*
|
|
30402
|
-
* * **Method
|
|
30403
|
-
*
|
|
30404
|
-
* *
|
|
30405
|
-
*
|
|
30406
|
-
* * You can
|
|
30407
|
-
* * 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.
|
|
30408
30460
|
*
|
|
30409
30461
|
* @param request CreateImageRequest
|
|
30410
30462
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30412,18 +30464,20 @@ export default class Client extends OpenApi {
|
|
|
30412
30464
|
*/
|
|
30413
30465
|
createImageWithOptions(request: CreateImageRequest, runtime: $Util.RuntimeOptions): Promise<CreateImageResponse>;
|
|
30414
30466
|
/**
|
|
30415
|
-
*
|
|
30416
|
-
*
|
|
30417
|
-
* *
|
|
30418
|
-
*
|
|
30419
|
-
* *
|
|
30420
|
-
*
|
|
30421
|
-
* * **Method
|
|
30422
|
-
*
|
|
30423
|
-
* *
|
|
30424
|
-
*
|
|
30425
|
-
* * You can
|
|
30426
|
-
* * 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.
|
|
30427
30481
|
*
|
|
30428
30482
|
* @param request CreateImageRequest
|
|
30429
30483
|
* @return CreateImageResponse
|
|
@@ -32143,11 +32197,11 @@ export default class Client extends OpenApi {
|
|
|
32143
32197
|
describeInstanceTypeFamiliesWithOptions(request: DescribeInstanceTypeFamiliesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceTypeFamiliesResponse>;
|
|
32144
32198
|
describeInstanceTypeFamilies(request: DescribeInstanceTypeFamiliesRequest): Promise<DescribeInstanceTypeFamiliesResponse>;
|
|
32145
32199
|
/**
|
|
32146
|
-
* ## Usage notes
|
|
32147
|
-
*
|
|
32148
|
-
* *
|
|
32149
|
-
* * We recommend that you specify
|
|
32150
|
-
* * 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.
|
|
32151
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).
|
|
32152
32206
|
*
|
|
32153
32207
|
* @param request DescribeInstanceTypesRequest
|
|
@@ -32156,11 +32210,11 @@ export default class Client extends OpenApi {
|
|
|
32156
32210
|
*/
|
|
32157
32211
|
describeInstanceTypesWithOptions(request: DescribeInstanceTypesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceTypesResponse>;
|
|
32158
32212
|
/**
|
|
32159
|
-
* ## Usage notes
|
|
32160
|
-
*
|
|
32161
|
-
* *
|
|
32162
|
-
* * We recommend that you specify
|
|
32163
|
-
* * 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.
|
|
32164
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).
|
|
32165
32219
|
*
|
|
32166
32220
|
* @param request DescribeInstanceTypesRequest
|
|
@@ -33444,20 +33498,20 @@ export default class Client extends OpenApi {
|
|
|
33444
33498
|
installCloudAssistant(request: InstallCloudAssistantRequest): Promise<InstallCloudAssistantResponse>;
|
|
33445
33499
|
/**
|
|
33446
33500
|
* ## [](#)Usage notes
|
|
33447
|
-
* * 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.
|
|
33448
33502
|
* * The instances are in the Running (`Running`) state. You can call the [DescribeInstances](~~25506~~) operation to query the status of instances.
|
|
33449
|
-
* * Cloud Assistant Agent is installed on the instances. For more information, see [Install Cloud Assistant Agent
|
|
33450
|
-
* *
|
|
33503
|
+
* * Cloud Assistant Agent is installed on the instances. For more information, see [Install Cloud Assistant Agent](~~64921~~).
|
|
33504
|
+
* * If the command is a PowerShell command, make sure that the instances have the PowerShell module configured.
|
|
33451
33505
|
* * You can configure the command to run only once on the instances.
|
|
33452
|
-
* * You can configure the command to run
|
|
33453
|
-
* * The schedule is specified by
|
|
33454
|
-
* *
|
|
33455
|
-
* 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~~).
|
|
33456
33510
|
* * Linux: 2.2.3.282
|
|
33457
33511
|
* * Windows: 2.1.3.282
|
|
33458
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~~).
|
|
33459
33513
|
* * If you enable the custom parameter feature when you create the command, you must specify custom parameters (`Parameters`) to run the command.
|
|
33460
|
-
* * 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
|
|
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.
|
|
33461
33515
|
*
|
|
33462
33516
|
* @param tmpReq InvokeCommandRequest
|
|
33463
33517
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -33466,20 +33520,20 @@ export default class Client extends OpenApi {
|
|
|
33466
33520
|
invokeCommandWithOptions(tmpReq: InvokeCommandRequest, runtime: $Util.RuntimeOptions): Promise<InvokeCommandResponse>;
|
|
33467
33521
|
/**
|
|
33468
33522
|
* ## [](#)Usage notes
|
|
33469
|
-
* * 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.
|
|
33470
33524
|
* * The instances are in the Running (`Running`) state. You can call the [DescribeInstances](~~25506~~) operation to query the status of instances.
|
|
33471
|
-
* * Cloud Assistant Agent is installed on the instances. For more information, see [Install Cloud Assistant Agent
|
|
33472
|
-
* *
|
|
33525
|
+
* * Cloud Assistant Agent is installed on the instances. For more information, see [Install Cloud Assistant Agent](~~64921~~).
|
|
33526
|
+
* * If the command is a PowerShell command, make sure that the instances have the PowerShell module configured.
|
|
33473
33527
|
* * You can configure the command to run only once on the instances.
|
|
33474
|
-
* * You can configure the command to run
|
|
33475
|
-
* * The schedule is specified by
|
|
33476
|
-
* *
|
|
33477
|
-
* 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~~).
|
|
33478
33532
|
* * Linux: 2.2.3.282
|
|
33479
33533
|
* * Windows: 2.1.3.282
|
|
33480
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~~).
|
|
33481
33535
|
* * If you enable the custom parameter feature when you create the command, you must specify custom parameters (`Parameters`) to run the command.
|
|
33482
|
-
* * 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
|
|
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.
|
|
33483
33537
|
*
|
|
33484
33538
|
* @param request InvokeCommandRequest
|
|
33485
33539
|
* @return InvokeCommandResponse
|
|
@@ -35106,7 +35160,13 @@ export default class Client extends OpenApi {
|
|
|
35106
35160
|
*/
|
|
35107
35161
|
resetDisks(request: ResetDisksRequest): Promise<ResetDisksResponse>;
|
|
35108
35162
|
/**
|
|
35109
|
-
*
|
|
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.
|
|
35110
35170
|
*
|
|
35111
35171
|
* @param request ResizeDiskRequest
|
|
35112
35172
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -35114,7 +35174,13 @@ export default class Client extends OpenApi {
|
|
|
35114
35174
|
*/
|
|
35115
35175
|
resizeDiskWithOptions(request: ResizeDiskRequest, runtime: $Util.RuntimeOptions): Promise<ResizeDiskResponse>;
|
|
35116
35176
|
/**
|
|
35117
|
-
*
|
|
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.
|
|
35118
35184
|
*
|
|
35119
35185
|
* @param request ResizeDiskRequest
|
|
35120
35186
|
* @return ResizeDiskResponse
|