@alicloud/ecs20140526 4.1.2 → 4.1.4
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 +136 -54
- package/dist/client.js +192 -69
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +208 -54
package/dist/client.d.ts
CHANGED
|
@@ -643,6 +643,7 @@ export declare class AttachDiskRequest extends $tea.Model {
|
|
|
643
643
|
deleteWithInstance?: boolean;
|
|
644
644
|
device?: string;
|
|
645
645
|
diskId?: string;
|
|
646
|
+
force?: boolean;
|
|
646
647
|
instanceId?: string;
|
|
647
648
|
keyPairName?: string;
|
|
648
649
|
ownerAccount?: string;
|
|
@@ -2803,6 +2804,7 @@ export declare class CreateNatGatewayResponse extends $tea.Model {
|
|
|
2803
2804
|
export declare class CreateNetworkInterfaceRequest extends $tea.Model {
|
|
2804
2805
|
businessType?: string;
|
|
2805
2806
|
clientToken?: string;
|
|
2807
|
+
connectionTrackingConfiguration?: CreateNetworkInterfaceRequestConnectionTrackingConfiguration;
|
|
2806
2808
|
deleteOnRelease?: boolean;
|
|
2807
2809
|
description?: string;
|
|
2808
2810
|
instanceType?: string;
|
|
@@ -9153,6 +9155,7 @@ export declare class DescribeNetworkInterfaceAttributeResponseBody extends $tea.
|
|
|
9153
9155
|
associatedPublicIp?: DescribeNetworkInterfaceAttributeResponseBodyAssociatedPublicIp;
|
|
9154
9156
|
attachment?: DescribeNetworkInterfaceAttributeResponseBodyAttachment;
|
|
9155
9157
|
bondInterfaceSpecification?: DescribeNetworkInterfaceAttributeResponseBodyBondInterfaceSpecification;
|
|
9158
|
+
connectionTrackingConfiguration?: DescribeNetworkInterfaceAttributeResponseBodyConnectionTrackingConfiguration;
|
|
9156
9159
|
creationTime?: string;
|
|
9157
9160
|
deleteOnRelease?: boolean;
|
|
9158
9161
|
description?: string;
|
|
@@ -14969,6 +14972,7 @@ export declare class ModifyManagedInstanceResponse extends $tea.Model {
|
|
|
14969
14972
|
});
|
|
14970
14973
|
}
|
|
14971
14974
|
export declare class ModifyNetworkInterfaceAttributeRequest extends $tea.Model {
|
|
14975
|
+
connectionTrackingConfiguration?: ModifyNetworkInterfaceAttributeRequestConnectionTrackingConfiguration;
|
|
14972
14976
|
deleteOnRelease?: boolean;
|
|
14973
14977
|
description?: string;
|
|
14974
14978
|
networkInterfaceId?: string;
|
|
@@ -18666,14 +18670,17 @@ export declare class CreateAutoProvisioningGroupRequestLaunchConfigurationArn ex
|
|
|
18666
18670
|
});
|
|
18667
18671
|
}
|
|
18668
18672
|
export declare class CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk extends $tea.Model {
|
|
18673
|
+
burstingEnabled?: boolean;
|
|
18669
18674
|
category?: string;
|
|
18670
18675
|
deleteWithInstance?: boolean;
|
|
18671
18676
|
description?: string;
|
|
18672
18677
|
device?: string;
|
|
18673
18678
|
diskName?: string;
|
|
18679
|
+
encryptAlgorithm?: string;
|
|
18674
18680
|
encrypted?: boolean;
|
|
18675
18681
|
kmsKeyId?: string;
|
|
18676
18682
|
performanceLevel?: string;
|
|
18683
|
+
provisionedIops?: number;
|
|
18677
18684
|
size?: number;
|
|
18678
18685
|
snapshotId?: string;
|
|
18679
18686
|
static names(): {
|
|
@@ -18687,9 +18694,11 @@ export declare class CreateAutoProvisioningGroupRequestLaunchConfigurationDataDi
|
|
|
18687
18694
|
});
|
|
18688
18695
|
}
|
|
18689
18696
|
export declare class CreateAutoProvisioningGroupRequestLaunchConfigurationSystemDisk extends $tea.Model {
|
|
18697
|
+
burstingEnabled?: boolean;
|
|
18690
18698
|
encryptAlgorithm?: string;
|
|
18691
18699
|
encrypted?: string;
|
|
18692
18700
|
KMSKeyId?: string;
|
|
18701
|
+
provisionedIops?: number;
|
|
18693
18702
|
static names(): {
|
|
18694
18703
|
[key: string]: string;
|
|
18695
18704
|
};
|
|
@@ -19367,6 +19376,20 @@ export declare class CreateNatGatewayResponseBodyForwardTableIds extends $tea.Mo
|
|
|
19367
19376
|
[key: string]: any;
|
|
19368
19377
|
});
|
|
19369
19378
|
}
|
|
19379
|
+
export declare class CreateNetworkInterfaceRequestConnectionTrackingConfiguration extends $tea.Model {
|
|
19380
|
+
tcpClosedAndTimeWaitTimeout?: number;
|
|
19381
|
+
tcpEstablishedTimeout?: number;
|
|
19382
|
+
udpTimeout?: number;
|
|
19383
|
+
static names(): {
|
|
19384
|
+
[key: string]: string;
|
|
19385
|
+
};
|
|
19386
|
+
static types(): {
|
|
19387
|
+
[key: string]: any;
|
|
19388
|
+
};
|
|
19389
|
+
constructor(map?: {
|
|
19390
|
+
[key: string]: any;
|
|
19391
|
+
});
|
|
19392
|
+
}
|
|
19370
19393
|
export declare class CreateNetworkInterfaceRequestTag extends $tea.Model {
|
|
19371
19394
|
key?: string;
|
|
19372
19395
|
value?: string;
|
|
@@ -21833,6 +21856,18 @@ export declare class DescribeDisksResponseBodyDisksDiskOperationLocks extends $t
|
|
|
21833
21856
|
[key: string]: any;
|
|
21834
21857
|
});
|
|
21835
21858
|
}
|
|
21859
|
+
export declare class DescribeDisksResponseBodyDisksDiskPlacement extends $tea.Model {
|
|
21860
|
+
zoneIds?: string;
|
|
21861
|
+
static names(): {
|
|
21862
|
+
[key: string]: string;
|
|
21863
|
+
};
|
|
21864
|
+
static types(): {
|
|
21865
|
+
[key: string]: any;
|
|
21866
|
+
};
|
|
21867
|
+
constructor(map?: {
|
|
21868
|
+
[key: string]: any;
|
|
21869
|
+
});
|
|
21870
|
+
}
|
|
21836
21871
|
export declare class DescribeDisksResponseBodyDisksDiskTagsTag extends $tea.Model {
|
|
21837
21872
|
tagKey?: string;
|
|
21838
21873
|
tagValue?: string;
|
|
@@ -21889,6 +21924,7 @@ export declare class DescribeDisksResponseBodyDisksDisk extends $tea.Model {
|
|
|
21889
21924
|
multiAttach?: string;
|
|
21890
21925
|
operationLocks?: DescribeDisksResponseBodyDisksDiskOperationLocks;
|
|
21891
21926
|
performanceLevel?: string;
|
|
21927
|
+
placement?: DescribeDisksResponseBodyDisksDiskPlacement;
|
|
21892
21928
|
portable?: boolean;
|
|
21893
21929
|
productCode?: string;
|
|
21894
21930
|
provisionedIops?: number;
|
|
@@ -25230,6 +25266,20 @@ export declare class DescribeNetworkInterfaceAttributeResponseBodyBondInterfaceS
|
|
|
25230
25266
|
[key: string]: any;
|
|
25231
25267
|
});
|
|
25232
25268
|
}
|
|
25269
|
+
export declare class DescribeNetworkInterfaceAttributeResponseBodyConnectionTrackingConfiguration extends $tea.Model {
|
|
25270
|
+
tcpClosedAndTimeWaitTimeout?: number;
|
|
25271
|
+
tcpEstablishedTimeout?: number;
|
|
25272
|
+
udpTimeout?: number;
|
|
25273
|
+
static names(): {
|
|
25274
|
+
[key: string]: string;
|
|
25275
|
+
};
|
|
25276
|
+
static types(): {
|
|
25277
|
+
[key: string]: any;
|
|
25278
|
+
};
|
|
25279
|
+
constructor(map?: {
|
|
25280
|
+
[key: string]: any;
|
|
25281
|
+
});
|
|
25282
|
+
}
|
|
25233
25283
|
export declare class DescribeNetworkInterfaceAttributeResponseBodyIpv4PrefixSetsIpv4PrefixSet extends $tea.Model {
|
|
25234
25284
|
ipv4Prefix?: string;
|
|
25235
25285
|
static names(): {
|
|
@@ -28752,6 +28802,20 @@ export declare class ModifyManagedInstanceResponseBodyInstance extends $tea.Mode
|
|
|
28752
28802
|
[key: string]: any;
|
|
28753
28803
|
});
|
|
28754
28804
|
}
|
|
28805
|
+
export declare class ModifyNetworkInterfaceAttributeRequestConnectionTrackingConfiguration extends $tea.Model {
|
|
28806
|
+
tcpClosedAndTimeWaitTimeout?: number;
|
|
28807
|
+
tcpEstablishedTimeout?: number;
|
|
28808
|
+
udpTimeout?: number;
|
|
28809
|
+
static names(): {
|
|
28810
|
+
[key: string]: string;
|
|
28811
|
+
};
|
|
28812
|
+
static types(): {
|
|
28813
|
+
[key: string]: any;
|
|
28814
|
+
};
|
|
28815
|
+
constructor(map?: {
|
|
28816
|
+
[key: string]: any;
|
|
28817
|
+
});
|
|
28818
|
+
}
|
|
28755
28819
|
export declare class ModifyPrefixListRequestAddEntry extends $tea.Model {
|
|
28756
28820
|
cidr?: string;
|
|
28757
28821
|
description?: string;
|
|
@@ -30393,18 +30457,20 @@ export default class Client extends OpenApi {
|
|
|
30393
30457
|
createHpcClusterWithOptions(request: CreateHpcClusterRequest, runtime: $Util.RuntimeOptions): Promise<CreateHpcClusterResponse>;
|
|
30394
30458
|
createHpcCluster(request: CreateHpcClusterRequest): Promise<CreateHpcClusterResponse>;
|
|
30395
30459
|
/**
|
|
30396
|
-
*
|
|
30397
|
-
*
|
|
30398
|
-
* *
|
|
30399
|
-
*
|
|
30400
|
-
* *
|
|
30401
|
-
*
|
|
30402
|
-
* * **Method
|
|
30403
|
-
*
|
|
30404
|
-
* *
|
|
30405
|
-
*
|
|
30406
|
-
* * You can
|
|
30407
|
-
* * The
|
|
30460
|
+
* ## [](#)Usage notes
|
|
30461
|
+
* Take note of the following items:
|
|
30462
|
+
* * You can use the created custom image only if the image is in the Available (Available) state.
|
|
30463
|
+
* * 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.
|
|
30464
|
+
* * To optimize the image, we recommend that you specify DetectionStrategy when you create the image. For more information, see [Overview of image check](~~439819~~).
|
|
30465
|
+
* 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.
|
|
30466
|
+
* * **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.
|
|
30467
|
+
* * **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.
|
|
30468
|
+
* * **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`.
|
|
30469
|
+
* When you use Method 3 to create a custom image, take note of the following items:
|
|
30470
|
+
* * 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.
|
|
30471
|
+
* * 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.
|
|
30472
|
+
* * You can leave `SnapshotId` empty. In this case, an empty data disk with the specified size is created.
|
|
30473
|
+
* * The specified disk snapshot must be created after July 15, 2013.
|
|
30408
30474
|
*
|
|
30409
30475
|
* @param request CreateImageRequest
|
|
30410
30476
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30412,18 +30478,20 @@ export default class Client extends OpenApi {
|
|
|
30412
30478
|
*/
|
|
30413
30479
|
createImageWithOptions(request: CreateImageRequest, runtime: $Util.RuntimeOptions): Promise<CreateImageResponse>;
|
|
30414
30480
|
/**
|
|
30415
|
-
*
|
|
30416
|
-
*
|
|
30417
|
-
* *
|
|
30418
|
-
*
|
|
30419
|
-
* *
|
|
30420
|
-
*
|
|
30421
|
-
* * **Method
|
|
30422
|
-
*
|
|
30423
|
-
* *
|
|
30424
|
-
*
|
|
30425
|
-
* * You can
|
|
30426
|
-
* * The
|
|
30481
|
+
* ## [](#)Usage notes
|
|
30482
|
+
* Take note of the following items:
|
|
30483
|
+
* * You can use the created custom image only if the image is in the Available (Available) state.
|
|
30484
|
+
* * 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.
|
|
30485
|
+
* * To optimize the image, we recommend that you specify DetectionStrategy when you create the image. For more information, see [Overview of image check](~~439819~~).
|
|
30486
|
+
* 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.
|
|
30487
|
+
* * **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.
|
|
30488
|
+
* * **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.
|
|
30489
|
+
* * **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`.
|
|
30490
|
+
* When you use Method 3 to create a custom image, take note of the following items:
|
|
30491
|
+
* * 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.
|
|
30492
|
+
* * 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.
|
|
30493
|
+
* * You can leave `SnapshotId` empty. In this case, an empty data disk with the specified size is created.
|
|
30494
|
+
* * The specified disk snapshot must be created after July 15, 2013.
|
|
30427
30495
|
*
|
|
30428
30496
|
* @param request CreateImageRequest
|
|
30429
30497
|
* @return CreateImageResponse
|
|
@@ -30621,7 +30689,8 @@ export default class Client extends OpenApi {
|
|
|
30621
30689
|
*/
|
|
30622
30690
|
createLaunchTemplate(request: CreateLaunchTemplateRequest): Promise<CreateLaunchTemplateResponse>;
|
|
30623
30691
|
/**
|
|
30624
|
-
*
|
|
30692
|
+
* ## [](#)Usage notes
|
|
30693
|
+
* If you want to modify the parameters of a launch template version, you can create another version with different parameter settings for the launch template. You can create up to 30 versions for each launch template.
|
|
30625
30694
|
*
|
|
30626
30695
|
* @param request CreateLaunchTemplateVersionRequest
|
|
30627
30696
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30629,7 +30698,8 @@ export default class Client extends OpenApi {
|
|
|
30629
30698
|
*/
|
|
30630
30699
|
createLaunchTemplateVersionWithOptions(request: CreateLaunchTemplateVersionRequest, runtime: $Util.RuntimeOptions): Promise<CreateLaunchTemplateVersionResponse>;
|
|
30631
30700
|
/**
|
|
30632
|
-
*
|
|
30701
|
+
* ## [](#)Usage notes
|
|
30702
|
+
* If you want to modify the parameters of a launch template version, you can create another version with different parameter settings for the launch template. You can create up to 30 versions for each launch template.
|
|
30633
30703
|
*
|
|
30634
30704
|
* @param request CreateLaunchTemplateVersionRequest
|
|
30635
30705
|
* @return CreateLaunchTemplateVersionResponse
|
|
@@ -32143,11 +32213,11 @@ export default class Client extends OpenApi {
|
|
|
32143
32213
|
describeInstanceTypeFamiliesWithOptions(request: DescribeInstanceTypeFamiliesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceTypeFamiliesResponse>;
|
|
32144
32214
|
describeInstanceTypeFamilies(request: DescribeInstanceTypeFamiliesRequest): Promise<DescribeInstanceTypeFamiliesResponse>;
|
|
32145
32215
|
/**
|
|
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
|
|
32216
|
+
* ## [](#)Usage notes
|
|
32217
|
+
* Take note of the following items:
|
|
32218
|
+
* * 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.
|
|
32219
|
+
* * 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.
|
|
32220
|
+
* * 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
32221
|
* * 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
32222
|
*
|
|
32153
32223
|
* @param request DescribeInstanceTypesRequest
|
|
@@ -32156,11 +32226,11 @@ export default class Client extends OpenApi {
|
|
|
32156
32226
|
*/
|
|
32157
32227
|
describeInstanceTypesWithOptions(request: DescribeInstanceTypesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceTypesResponse>;
|
|
32158
32228
|
/**
|
|
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
|
|
32229
|
+
* ## [](#)Usage notes
|
|
32230
|
+
* Take note of the following items:
|
|
32231
|
+
* * 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.
|
|
32232
|
+
* * 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.
|
|
32233
|
+
* * 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
32234
|
* * 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
32235
|
*
|
|
32166
32236
|
* @param request DescribeInstanceTypesRequest
|
|
@@ -33444,20 +33514,20 @@ export default class Client extends OpenApi {
|
|
|
33444
33514
|
installCloudAssistant(request: InstallCloudAssistantRequest): Promise<InstallCloudAssistantResponse>;
|
|
33445
33515
|
/**
|
|
33446
33516
|
* ## [](#)Usage notes
|
|
33447
|
-
* * The
|
|
33517
|
+
* * 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
33518
|
* * 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
|
-
* *
|
|
33519
|
+
* * Cloud Assistant Agent is installed on the instances. For more information, see [Install Cloud Assistant Agent](~~64921~~).
|
|
33520
|
+
* * If the command is a PowerShell command, make sure that the instances have the PowerShell module configured.
|
|
33451
33521
|
* * 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
|
|
33522
|
+
* * You can configure the command to run on the instances based on a schedule.
|
|
33523
|
+
* * The schedule is specified by Frequency. The results of each execution of the command do not affect the next execution of the command.
|
|
33524
|
+
* * 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~~).
|
|
33525
|
+
* 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
33526
|
* * Linux: 2.2.3.282
|
|
33457
33527
|
* * Windows: 2.1.3.282
|
|
33458
33528
|
* * 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
33529
|
* * 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
|
|
33530
|
+
* * 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
33531
|
*
|
|
33462
33532
|
* @param tmpReq InvokeCommandRequest
|
|
33463
33533
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -33466,20 +33536,20 @@ export default class Client extends OpenApi {
|
|
|
33466
33536
|
invokeCommandWithOptions(tmpReq: InvokeCommandRequest, runtime: $Util.RuntimeOptions): Promise<InvokeCommandResponse>;
|
|
33467
33537
|
/**
|
|
33468
33538
|
* ## [](#)Usage notes
|
|
33469
|
-
* * The
|
|
33539
|
+
* * 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
33540
|
* * 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
|
-
* *
|
|
33541
|
+
* * Cloud Assistant Agent is installed on the instances. For more information, see [Install Cloud Assistant Agent](~~64921~~).
|
|
33542
|
+
* * If the command is a PowerShell command, make sure that the instances have the PowerShell module configured.
|
|
33473
33543
|
* * 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
|
|
33544
|
+
* * You can configure the command to run on the instances based on a schedule.
|
|
33545
|
+
* * The schedule is specified by Frequency. The results of each execution of the command do not affect the next execution of the command.
|
|
33546
|
+
* * 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~~).
|
|
33547
|
+
* 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
33548
|
* * Linux: 2.2.3.282
|
|
33479
33549
|
* * Windows: 2.1.3.282
|
|
33480
33550
|
* * 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
33551
|
* * 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
|
|
33552
|
+
* * 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
33553
|
*
|
|
33484
33554
|
* @param request InvokeCommandRequest
|
|
33485
33555
|
* @return InvokeCommandResponse
|
|
@@ -35106,7 +35176,13 @@ export default class Client extends OpenApi {
|
|
|
35106
35176
|
*/
|
|
35107
35177
|
resetDisks(request: ResetDisksRequest): Promise<ResetDisksResponse>;
|
|
35108
35178
|
/**
|
|
35109
|
-
*
|
|
35179
|
+
* ## [](#)Usage notes
|
|
35180
|
+
* > 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~~).
|
|
35181
|
+
* * 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).
|
|
35182
|
+
* * A disk cannot be resized when a snapshot is being created for the disk.
|
|
35183
|
+
* * The Elastic Compute Service (ECS) instance to which the disk is attached must be in the **Running** (`Running`) or **Stopped** (`Stopped`) state.
|
|
35184
|
+
* * 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.
|
|
35185
|
+
* * 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
35186
|
*
|
|
35111
35187
|
* @param request ResizeDiskRequest
|
|
35112
35188
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -35114,7 +35190,13 @@ export default class Client extends OpenApi {
|
|
|
35114
35190
|
*/
|
|
35115
35191
|
resizeDiskWithOptions(request: ResizeDiskRequest, runtime: $Util.RuntimeOptions): Promise<ResizeDiskResponse>;
|
|
35116
35192
|
/**
|
|
35117
|
-
*
|
|
35193
|
+
* ## [](#)Usage notes
|
|
35194
|
+
* > 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~~).
|
|
35195
|
+
* * 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).
|
|
35196
|
+
* * A disk cannot be resized when a snapshot is being created for the disk.
|
|
35197
|
+
* * The Elastic Compute Service (ECS) instance to which the disk is attached must be in the **Running** (`Running`) or **Stopped** (`Stopped`) state.
|
|
35198
|
+
* * 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.
|
|
35199
|
+
* * 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
35200
|
*
|
|
35119
35201
|
* @param request ResizeDiskRequest
|
|
35120
35202
|
* @return ResizeDiskResponse
|