@alicloud/ecs20140526 7.0.15 → 7.0.17
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 +28 -34
- package/dist/client.js +34 -108
- package/dist/client.js.map +1 -1
- package/dist/models/AllocateDedicatedHostsRequest.d.ts +2 -2
- package/dist/models/DescribeCloudAssistantSettingsResponseBody.d.ts +14 -0
- package/dist/models/DescribeCloudAssistantSettingsResponseBody.js +25 -1
- package/dist/models/DescribeCloudAssistantSettingsResponseBody.js.map +1 -1
- package/dist/models/DescribeDedicatedHostsRequest.d.ts +15 -15
- package/dist/models/DescribeDedicatedHostsResponseBody.d.ts +2 -2
- package/dist/models/DescribeDeploymentSetsResponseBody.d.ts +1 -0
- package/dist/models/DescribeDeploymentSetsResponseBody.js +2 -0
- package/dist/models/DescribeDeploymentSetsResponseBody.js.map +1 -1
- package/dist/models/DescribeDisksRequest.d.ts +0 -2
- package/dist/models/DescribeDisksRequest.js.map +1 -1
- package/dist/models/DescribeInstanceHistoryEventsResponseBody.d.ts +2 -0
- package/dist/models/DescribeInstanceHistoryEventsResponseBody.js.map +1 -1
- package/dist/models/DescribeInstanceTypesResponseBody.d.ts +34 -0
- package/dist/models/DescribeInstanceTypesResponseBody.js.map +1 -1
- package/dist/models/DescribeLaunchTemplatesRequest.d.ts +5 -5
- package/dist/models/DescribeLaunchTemplatesResponseBody.d.ts +6 -6
- package/dist/models/DescribeTerminalSessionsResponseBody.d.ts +7 -2
- package/dist/models/DescribeTerminalSessionsResponseBody.js.map +1 -1
- package/dist/models/ImportImageRequest.d.ts +8 -7
- package/dist/models/ImportImageRequest.js.map +1 -1
- package/dist/models/ModifyCloudAssistantSettingsRequest.d.ts +14 -0
- package/dist/models/ModifyCloudAssistantSettingsRequest.js +25 -1
- package/dist/models/ModifyCloudAssistantSettingsRequest.js.map +1 -1
- package/dist/models/ModifyCloudAssistantSettingsShrinkRequest.d.ts +1 -0
- package/dist/models/ModifyCloudAssistantSettingsShrinkRequest.js +2 -0
- package/dist/models/ModifyCloudAssistantSettingsShrinkRequest.js.map +1 -1
- package/dist/models/ModifyElasticityAssuranceRequest.d.ts +10 -10
- package/dist/models/RunInstancesRequest.d.ts +33 -18
- package/dist/models/RunInstancesRequest.js.map +1 -1
- package/dist/models/RunInstancesResponseBody.d.ts +1 -1
- package/dist/models/model.d.ts +2 -0
- package/dist/models/model.js +47 -43
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +36 -108
- package/src/models/AllocateDedicatedHostsRequest.ts +2 -2
- package/src/models/DescribeCloudAssistantSettingsResponseBody.ts +29 -0
- package/src/models/DescribeDedicatedHostsRequest.ts +15 -15
- package/src/models/DescribeDedicatedHostsResponseBody.ts +2 -2
- package/src/models/DescribeDeploymentSetsResponseBody.ts +3 -0
- package/src/models/DescribeDisksRequest.ts +0 -2
- package/src/models/DescribeInstanceHistoryEventsResponseBody.ts +2 -0
- package/src/models/DescribeInstanceTypesResponseBody.ts +34 -0
- package/src/models/DescribeLaunchTemplatesRequest.ts +5 -5
- package/src/models/DescribeLaunchTemplatesResponseBody.ts +6 -6
- package/src/models/DescribeTerminalSessionsResponseBody.ts +7 -2
- package/src/models/ImportImageRequest.ts +8 -7
- package/src/models/ModifyCloudAssistantSettingsRequest.ts +29 -0
- package/src/models/ModifyCloudAssistantSettingsShrinkRequest.ts +3 -0
- package/src/models/ModifyElasticityAssuranceRequest.ts +10 -10
- package/src/models/RunInstancesRequest.ts +33 -18
- package/src/models/RunInstancesResponseBody.ts +1 -1
- package/src/models/model.ts +2 -0
package/dist/client.d.ts
CHANGED
|
@@ -2171,10 +2171,11 @@ export default class Client extends OpenApi {
|
|
|
2171
2171
|
*/
|
|
2172
2172
|
deleteImage(request: $_model.DeleteImageRequest): Promise<$_model.DeleteImageResponse>;
|
|
2173
2173
|
/**
|
|
2174
|
-
* Deletes an image component.
|
|
2174
|
+
* Deletes an image component. You can specify RegionId and ImageComponentId in the request.
|
|
2175
2175
|
*
|
|
2176
2176
|
* @remarks
|
|
2177
|
-
*
|
|
2177
|
+
* Only custom image components can be deleted.
|
|
2178
|
+
* * When you delete a component, make sure that the component is not used in the template. Otherwise, the component fails to be deleted.
|
|
2178
2179
|
*
|
|
2179
2180
|
* @param request - DeleteImageComponentRequest
|
|
2180
2181
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2182,17 +2183,18 @@ export default class Client extends OpenApi {
|
|
|
2182
2183
|
*/
|
|
2183
2184
|
deleteImageComponentWithOptions(request: $_model.DeleteImageComponentRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteImageComponentResponse>;
|
|
2184
2185
|
/**
|
|
2185
|
-
* Deletes an image component.
|
|
2186
|
+
* Deletes an image component. You can specify RegionId and ImageComponentId in the request.
|
|
2186
2187
|
*
|
|
2187
2188
|
* @remarks
|
|
2188
|
-
*
|
|
2189
|
+
* Only custom image components can be deleted.
|
|
2190
|
+
* * When you delete a component, make sure that the component is not used in the template. Otherwise, the component fails to be deleted.
|
|
2189
2191
|
*
|
|
2190
2192
|
* @param request - DeleteImageComponentRequest
|
|
2191
2193
|
* @returns DeleteImageComponentResponse
|
|
2192
2194
|
*/
|
|
2193
2195
|
deleteImageComponent(request: $_model.DeleteImageComponentRequest): Promise<$_model.DeleteImageComponentResponse>;
|
|
2194
2196
|
/**
|
|
2195
|
-
* Deletes an image template.
|
|
2197
|
+
* Deletes an image template.
|
|
2196
2198
|
*
|
|
2197
2199
|
* @remarks
|
|
2198
2200
|
* If an ongoing image building task is associated with an image template, you cannot delete the image template. You can delete the image template only if the image building task reaches the SUCCESS, FAILED, TEST_FAILED, PARTITION_SUCCESS, or CANCELLED state. You can call the DescribeImagePipelineExecutions operation to query the details of an image building task.
|
|
@@ -2203,7 +2205,7 @@ export default class Client extends OpenApi {
|
|
|
2203
2205
|
*/
|
|
2204
2206
|
deleteImagePipelineWithOptions(request: $_model.DeleteImagePipelineRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteImagePipelineResponse>;
|
|
2205
2207
|
/**
|
|
2206
|
-
* Deletes an image template.
|
|
2208
|
+
* Deletes an image template.
|
|
2207
2209
|
*
|
|
2208
2210
|
* @remarks
|
|
2209
2211
|
* If an ongoing image building task is associated with an image template, you cannot delete the image template. You can delete the image template only if the image building task reaches the SUCCESS, FAILED, TEST_FAILED, PARTITION_SUCCESS, or CANCELLED state. You can call the DescribeImagePipelineExecutions operation to query the details of an image building task.
|
|
@@ -3098,7 +3100,7 @@ export default class Client extends OpenApi {
|
|
|
3098
3100
|
*/
|
|
3099
3101
|
describeDedicatedHostTypes(request: $_model.DescribeDedicatedHostTypesRequest): Promise<$_model.DescribeDedicatedHostTypesResponse>;
|
|
3100
3102
|
/**
|
|
3101
|
-
* Queries the information about
|
|
3103
|
+
* Queries the details of one or more Dedicated Hosts (DDHs). You can call this operation to obtain information about a DDH, including the physical performance specifications, machine code, service status, and the list of created ECS instances. You can specify relevant parameters, such as DDH IDs, DDH cluster IDs, hostname, and status, to query the required DDH details. This helps you efficiently manage and optimize cloud computing resources.
|
|
3102
3104
|
*
|
|
3103
3105
|
* @remarks
|
|
3104
3106
|
* ## [](#)Usage notes
|
|
@@ -3112,7 +3114,7 @@ export default class Client extends OpenApi {
|
|
|
3112
3114
|
*/
|
|
3113
3115
|
describeDedicatedHostsWithOptions(request: $_model.DescribeDedicatedHostsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeDedicatedHostsResponse>;
|
|
3114
3116
|
/**
|
|
3115
|
-
* Queries the information about
|
|
3117
|
+
* Queries the details of one or more Dedicated Hosts (DDHs). You can call this operation to obtain information about a DDH, including the physical performance specifications, machine code, service status, and the list of created ECS instances. You can specify relevant parameters, such as DDH IDs, DDH cluster IDs, hostname, and status, to query the required DDH details. This helps you efficiently manage and optimize cloud computing resources.
|
|
3116
3118
|
*
|
|
3117
3119
|
* @remarks
|
|
3118
3120
|
* ## [](#)Usage notes
|
|
@@ -3721,7 +3723,8 @@ export default class Client extends OpenApi {
|
|
|
3721
3723
|
*
|
|
3722
3724
|
* @remarks
|
|
3723
3725
|
* You can query system events that were completed within the last 30 days. No limits apply to the time range for querying uncompleted system events.
|
|
3724
|
-
* *
|
|
3726
|
+
* * If you do not specify the EventCycleStatus or InstanceEventCycleStatus parameter, only system events in the Avoidated, Executed, Canceled, or Failed state are included in the query results by default.
|
|
3727
|
+
* * You can also specify the InstanceEventCycleStatus parameter in the request to query the system events that are in the Scheduled, Executing, or Inquiring state.
|
|
3725
3728
|
*
|
|
3726
3729
|
* @param request - DescribeInstanceHistoryEventsRequest
|
|
3727
3730
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3733,7 +3736,8 @@ export default class Client extends OpenApi {
|
|
|
3733
3736
|
*
|
|
3734
3737
|
* @remarks
|
|
3735
3738
|
* You can query system events that were completed within the last 30 days. No limits apply to the time range for querying uncompleted system events.
|
|
3736
|
-
* *
|
|
3739
|
+
* * If you do not specify the EventCycleStatus or InstanceEventCycleStatus parameter, only system events in the Avoidated, Executed, Canceled, or Failed state are included in the query results by default.
|
|
3740
|
+
* * You can also specify the InstanceEventCycleStatus parameter in the request to query the system events that are in the Scheduled, Executing, or Inquiring state.
|
|
3737
3741
|
*
|
|
3738
3742
|
* @param request - DescribeInstanceHistoryEventsRequest
|
|
3739
3743
|
* @returns DescribeInstanceHistoryEventsResponse
|
|
@@ -6068,20 +6072,15 @@ export default class Client extends OpenApi {
|
|
|
6068
6072
|
*/
|
|
6069
6073
|
joinResourceGroup(request: $_model.JoinResourceGroupRequest): Promise<$_model.JoinResourceGroupResponse>;
|
|
6070
6074
|
/**
|
|
6071
|
-
* Adds an Elastic Compute Service (ECS) instance or an elastic network interface (ENI) to a security group.
|
|
6075
|
+
* Adds an Elastic Compute Service (ECS) instance or an elastic network interface (ENI) to a specified security group.
|
|
6072
6076
|
*
|
|
6073
6077
|
* @remarks
|
|
6074
|
-
*
|
|
6075
|
-
* > This operation is not recommended. We recommend that you call the [ModifyInstanceAttribute](https://help.aliyun.com/document_detail/25503.html) operation to add an instance to or remove an instance from a security group, and call the [ModifyNetworkInterfaceAttribute](https://help.aliyun.com/document_detail/58513.html) operation to add an ENI to or remove an ENI from a security group.
|
|
6076
|
-
* Take note of the following items:
|
|
6077
|
-
* * Before you add an instance to a security group, the instance must be in the **Stopped** (Stopped) or **Running** (Running) state.
|
|
6078
|
-
* * An instance can be added to up to five security groups by default.
|
|
6079
|
-
* * You can [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex) to change the maximum number of security groups to which an instance can be added to 4 or 10.
|
|
6080
|
-
* * A basic security group can contain up to 2,000 instances. An advanced security group can contain up to 65,536 instances.
|
|
6081
|
-
* * The security group and the instance must reside in the same region.
|
|
6082
|
-
* * The security group and the instance must be of the same network type. If the network type is Virtual Private Cloud (VPC), the security group and the instance must reside in the same VPC.
|
|
6078
|
+
* > This operation is not recommended. We recommend that you call the [ModifyInstanceAttribute](https://help.aliyun.com/document_detail/25503.html) operation to add an instance to or remove an instance from a security group, and call the [ModifyNetworkInterfaceAttribute](https://help.aliyun.com/document_detail/58513.html) operation to add an ENI to or remove an ENI from a security group.
|
|
6083
6079
|
* * An instance and an ENI cannot be added to a security group at the same time. You cannot specify `InstanceId` and `NetworkInterfaceId` at the same time in a request.
|
|
6084
|
-
*
|
|
6080
|
+
* * The security group and the ECS instance to be added to the security group must reside in the same region.
|
|
6081
|
+
* * The security group and the instance must be of the same network type. If the network type is Virtual Private Cloud (VPC), the security group and the instance must reside in the same VPC.
|
|
6082
|
+
* * Before you add an instance to a security group, the instance must be in the **Stopped** or **Running** state.
|
|
6083
|
+
* * An instance can be added to up to five security groups by default. For more information, see [Security group limits](~~25412#SecurityGroupQuota1~~).
|
|
6085
6084
|
*
|
|
6086
6085
|
* @param request - JoinSecurityGroupRequest
|
|
6087
6086
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6089,20 +6088,15 @@ export default class Client extends OpenApi {
|
|
|
6089
6088
|
*/
|
|
6090
6089
|
joinSecurityGroupWithOptions(request: $_model.JoinSecurityGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.JoinSecurityGroupResponse>;
|
|
6091
6090
|
/**
|
|
6092
|
-
* Adds an Elastic Compute Service (ECS) instance or an elastic network interface (ENI) to a security group.
|
|
6091
|
+
* Adds an Elastic Compute Service (ECS) instance or an elastic network interface (ENI) to a specified security group.
|
|
6093
6092
|
*
|
|
6094
6093
|
* @remarks
|
|
6095
|
-
*
|
|
6096
|
-
* > This operation is not recommended. We recommend that you call the [ModifyInstanceAttribute](https://help.aliyun.com/document_detail/25503.html) operation to add an instance to or remove an instance from a security group, and call the [ModifyNetworkInterfaceAttribute](https://help.aliyun.com/document_detail/58513.html) operation to add an ENI to or remove an ENI from a security group.
|
|
6097
|
-
* Take note of the following items:
|
|
6098
|
-
* * Before you add an instance to a security group, the instance must be in the **Stopped** (Stopped) or **Running** (Running) state.
|
|
6099
|
-
* * An instance can be added to up to five security groups by default.
|
|
6100
|
-
* * You can [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex) to change the maximum number of security groups to which an instance can be added to 4 or 10.
|
|
6101
|
-
* * A basic security group can contain up to 2,000 instances. An advanced security group can contain up to 65,536 instances.
|
|
6102
|
-
* * The security group and the instance must reside in the same region.
|
|
6103
|
-
* * The security group and the instance must be of the same network type. If the network type is Virtual Private Cloud (VPC), the security group and the instance must reside in the same VPC.
|
|
6094
|
+
* > This operation is not recommended. We recommend that you call the [ModifyInstanceAttribute](https://help.aliyun.com/document_detail/25503.html) operation to add an instance to or remove an instance from a security group, and call the [ModifyNetworkInterfaceAttribute](https://help.aliyun.com/document_detail/58513.html) operation to add an ENI to or remove an ENI from a security group.
|
|
6104
6095
|
* * An instance and an ENI cannot be added to a security group at the same time. You cannot specify `InstanceId` and `NetworkInterfaceId` at the same time in a request.
|
|
6105
|
-
*
|
|
6096
|
+
* * The security group and the ECS instance to be added to the security group must reside in the same region.
|
|
6097
|
+
* * The security group and the instance must be of the same network type. If the network type is Virtual Private Cloud (VPC), the security group and the instance must reside in the same VPC.
|
|
6098
|
+
* * Before you add an instance to a security group, the instance must be in the **Stopped** or **Running** state.
|
|
6099
|
+
* * An instance can be added to up to five security groups by default. For more information, see [Security group limits](~~25412#SecurityGroupQuota1~~).
|
|
6106
6100
|
*
|
|
6107
6101
|
* @param request - JoinSecurityGroupRequest
|
|
6108
6102
|
* @returns JoinSecurityGroupResponse
|
|
@@ -6474,7 +6468,7 @@ export default class Client extends OpenApi {
|
|
|
6474
6468
|
*/
|
|
6475
6469
|
modifyDiskAttribute(request: $_model.ModifyDiskAttributeRequest): Promise<$_model.ModifyDiskAttributeResponse>;
|
|
6476
6470
|
/**
|
|
6477
|
-
*
|
|
6471
|
+
* Converts the billing method of a data disk attached to a subscription ECS instance between pay-as-you-go and subscription.
|
|
6478
6472
|
*
|
|
6479
6473
|
* @remarks
|
|
6480
6474
|
* For information about how to change the billing method of cloud disks, see [Change the billing methods of a disk](https://help.aliyun.com/document_detail/145018.html).
|
|
@@ -6491,7 +6485,7 @@ export default class Client extends OpenApi {
|
|
|
6491
6485
|
*/
|
|
6492
6486
|
modifyDiskChargeTypeWithOptions(request: $_model.ModifyDiskChargeTypeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyDiskChargeTypeResponse>;
|
|
6493
6487
|
/**
|
|
6494
|
-
*
|
|
6488
|
+
* Converts the billing method of a data disk attached to a subscription ECS instance between pay-as-you-go and subscription.
|
|
6495
6489
|
*
|
|
6496
6490
|
* @remarks
|
|
6497
6491
|
* For information about how to change the billing method of cloud disks, see [Change the billing methods of a disk](https://help.aliyun.com/document_detail/145018.html).
|