@alicloud/ecs20140526 4.1.6 → 4.1.7
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 +59 -52
- package/dist/client.js +68 -52
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +73 -52
package/dist/client.d.ts
CHANGED
|
@@ -10234,6 +10234,8 @@ export declare class DescribeSavingsPlanPriceResponse extends $tea.Model {
|
|
|
10234
10234
|
}
|
|
10235
10235
|
export declare class DescribeSecurityGroupAttributeRequest extends $tea.Model {
|
|
10236
10236
|
direction?: string;
|
|
10237
|
+
maxResults?: number;
|
|
10238
|
+
nextToken?: string;
|
|
10237
10239
|
nicType?: string;
|
|
10238
10240
|
ownerAccount?: string;
|
|
10239
10241
|
ownerId?: number;
|
|
@@ -10254,6 +10256,7 @@ export declare class DescribeSecurityGroupAttributeRequest extends $tea.Model {
|
|
|
10254
10256
|
export declare class DescribeSecurityGroupAttributeResponseBody extends $tea.Model {
|
|
10255
10257
|
description?: string;
|
|
10256
10258
|
innerAccessPolicy?: string;
|
|
10259
|
+
nextToken?: string;
|
|
10257
10260
|
permissions?: DescribeSecurityGroupAttributeResponseBodyPermissions;
|
|
10258
10261
|
regionId?: string;
|
|
10259
10262
|
requestId?: string;
|
|
@@ -32441,9 +32444,10 @@ export default class Client extends OpenApi {
|
|
|
32441
32444
|
*/
|
|
32442
32445
|
describeDedicatedHostAutoRenew(request: DescribeDedicatedHostAutoRenewRequest): Promise<DescribeDedicatedHostAutoRenewResponse>;
|
|
32443
32446
|
/**
|
|
32444
|
-
* @summary Queries the
|
|
32447
|
+
* @summary Queries the information about one or more dedicated host clusters.
|
|
32445
32448
|
*
|
|
32446
|
-
* @description
|
|
32449
|
+
* @description ## [](#)Usage notes
|
|
32450
|
+
* You can specify multiple request parameters to filter query results. Specified request parameters have logical AND relations. Only the specified parameters are included in the filter conditions. However, if `DedicatedHostClusterIds` is set to an empty JSON array (`[]`), this parameter is regarded as a valid filter condition and an empty result is returned.
|
|
32447
32451
|
*
|
|
32448
32452
|
* @param request DescribeDedicatedHostClustersRequest
|
|
32449
32453
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -32451,9 +32455,10 @@ export default class Client extends OpenApi {
|
|
|
32451
32455
|
*/
|
|
32452
32456
|
describeDedicatedHostClustersWithOptions(request: DescribeDedicatedHostClustersRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDedicatedHostClustersResponse>;
|
|
32453
32457
|
/**
|
|
32454
|
-
* @summary Queries the
|
|
32458
|
+
* @summary Queries the information about one or more dedicated host clusters.
|
|
32455
32459
|
*
|
|
32456
|
-
* @description
|
|
32460
|
+
* @description ## [](#)Usage notes
|
|
32461
|
+
* You can specify multiple request parameters to filter query results. Specified request parameters have logical AND relations. Only the specified parameters are included in the filter conditions. However, if `DedicatedHostClusterIds` is set to an empty JSON array (`[]`), this parameter is regarded as a valid filter condition and an empty result is returned.
|
|
32457
32462
|
*
|
|
32458
32463
|
* @param request DescribeDedicatedHostClustersRequest
|
|
32459
32464
|
* @return DescribeDedicatedHostClustersResponse
|
|
@@ -32907,10 +32912,9 @@ export default class Client extends OpenApi {
|
|
|
32907
32912
|
*/
|
|
32908
32913
|
describeImagePipelineExecutions(request: DescribeImagePipelineExecutionsRequest): Promise<DescribeImagePipelineExecutionsResponse>;
|
|
32909
32914
|
/**
|
|
32910
|
-
* @summary Queries the
|
|
32915
|
+
* @summary Queries the information about one or more image templates.
|
|
32911
32916
|
*
|
|
32912
|
-
* @description
|
|
32913
|
-
* You can use `NextToken` to configure the query token. Set the value to the `NextToken` value that is returned in the last call to the `DescribeImagePipelines` operation. Then, use `MaxResults` to specify the maximum number of entries to return on each page.
|
|
32917
|
+
* @description You can use `NextToken` to configure the query token. Set the value to the `NextToken` value that is returned in the previous call to the `DescribeImagePipelines` operation. Then, use `MaxResults` to specify the maximum number of entries to return on each page.
|
|
32914
32918
|
*
|
|
32915
32919
|
* @param request DescribeImagePipelinesRequest
|
|
32916
32920
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -32918,10 +32922,9 @@ export default class Client extends OpenApi {
|
|
|
32918
32922
|
*/
|
|
32919
32923
|
describeImagePipelinesWithOptions(request: DescribeImagePipelinesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeImagePipelinesResponse>;
|
|
32920
32924
|
/**
|
|
32921
|
-
* @summary Queries the
|
|
32925
|
+
* @summary Queries the information about one or more image templates.
|
|
32922
32926
|
*
|
|
32923
|
-
* @description
|
|
32924
|
-
* You can use `NextToken` to configure the query token. Set the value to the `NextToken` value that is returned in the last call to the `DescribeImagePipelines` operation. Then, use `MaxResults` to specify the maximum number of entries to return on each page.
|
|
32927
|
+
* @description You can use `NextToken` to configure the query token. Set the value to the `NextToken` value that is returned in the previous call to the `DescribeImagePipelines` operation. Then, use `MaxResults` to specify the maximum number of entries to return on each page.
|
|
32925
32928
|
*
|
|
32926
32929
|
* @param request DescribeImagePipelinesRequest
|
|
32927
32930
|
* @return DescribeImagePipelinesResponse
|
|
@@ -33278,15 +33281,16 @@ export default class Client extends OpenApi {
|
|
|
33278
33281
|
*/
|
|
33279
33282
|
describeInstanceVncUrl(request: DescribeInstanceVncUrlRequest): Promise<DescribeInstanceVncUrlResponse>;
|
|
33280
33283
|
/**
|
|
33281
|
-
* @summary Queries the
|
|
33284
|
+
* @summary Queries the information about Elastic Compute Service (ECS) instances.
|
|
33282
33285
|
*
|
|
33283
|
-
* @description
|
|
33284
|
-
* *
|
|
33285
|
-
* *
|
|
33286
|
-
* *
|
|
33287
|
-
*
|
|
33288
|
-
* *
|
|
33289
|
-
*
|
|
33286
|
+
* @description ## [](#)Usage notes
|
|
33287
|
+
* * You can specify multiple request parameters to filter query results. Specified request parameters have logical AND relations. Only the specified parameters are included in the filter conditions. However, if InstanceIds is set to an empty JSON array, this parameter is regarded as a valid filter condition and an empty result is returned.
|
|
33288
|
+
* * If you are using a Resource Access Management (RAM) user or RAM role that does not have the permissions to call this operation, an empty list is returned. You can include `DryRun` in your request to check whether the empty list is caused by lack of permissions.
|
|
33289
|
+
* * When you call the API operation by using Alibaba Cloud CLI, you must specify request parameter values of different data types in the required formats. For more information, see [Parameter formats](https://help.aliyun.com/document_detail/110340.html).
|
|
33290
|
+
* * You can use one of the following methods to check the responses:
|
|
33291
|
+
* * Method 1: During a paged query, when you call the DescribeInstances 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 DescribeInstances 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.
|
|
33292
|
+
* * 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.
|
|
33293
|
+
* You can use only one of the preceding methods. If a large number of entries are to be returned, we recommend that you use Method 1. When `MaxResults` or `NextToken` is specified, the `PageSize` and `PageNumber` request parameters do not take effect and the `TotalCount` response parameter is invalid.
|
|
33290
33294
|
*
|
|
33291
33295
|
* @param request DescribeInstancesRequest
|
|
33292
33296
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -33294,24 +33298,26 @@ export default class Client extends OpenApi {
|
|
|
33294
33298
|
*/
|
|
33295
33299
|
describeInstancesWithOptions(request: DescribeInstancesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstancesResponse>;
|
|
33296
33300
|
/**
|
|
33297
|
-
* @summary Queries the
|
|
33301
|
+
* @summary Queries the information about Elastic Compute Service (ECS) instances.
|
|
33298
33302
|
*
|
|
33299
|
-
* @description
|
|
33300
|
-
* *
|
|
33301
|
-
* *
|
|
33302
|
-
* *
|
|
33303
|
-
*
|
|
33304
|
-
* *
|
|
33305
|
-
*
|
|
33303
|
+
* @description ## [](#)Usage notes
|
|
33304
|
+
* * You can specify multiple request parameters to filter query results. Specified request parameters have logical AND relations. Only the specified parameters are included in the filter conditions. However, if InstanceIds is set to an empty JSON array, this parameter is regarded as a valid filter condition and an empty result is returned.
|
|
33305
|
+
* * If you are using a Resource Access Management (RAM) user or RAM role that does not have the permissions to call this operation, an empty list is returned. You can include `DryRun` in your request to check whether the empty list is caused by lack of permissions.
|
|
33306
|
+
* * When you call the API operation by using Alibaba Cloud CLI, you must specify request parameter values of different data types in the required formats. For more information, see [Parameter formats](https://help.aliyun.com/document_detail/110340.html).
|
|
33307
|
+
* * You can use one of the following methods to check the responses:
|
|
33308
|
+
* * Method 1: During a paged query, when you call the DescribeInstances 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 DescribeInstances 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.
|
|
33309
|
+
* * 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.
|
|
33310
|
+
* You can use only one of the preceding methods. If a large number of entries are to be returned, we recommend that you use Method 1. When `MaxResults` or `NextToken` is specified, the `PageSize` and `PageNumber` request parameters do not take effect and the `TotalCount` response parameter is invalid.
|
|
33306
33311
|
*
|
|
33307
33312
|
* @param request DescribeInstancesRequest
|
|
33308
33313
|
* @return DescribeInstancesResponse
|
|
33309
33314
|
*/
|
|
33310
33315
|
describeInstances(request: DescribeInstancesRequest): Promise<DescribeInstancesResponse>;
|
|
33311
33316
|
/**
|
|
33312
|
-
* @summary Queries the full status information of Elastic Compute Service (ECS) instances. The full status information includes instance
|
|
33317
|
+
* @summary Queries the full status information of one or more Elastic Compute Service (ECS) instances. The full status information includes the instance status and the status of instance system events. The instance status is the lifecycle status of instances. The status of instance system events is the health status of maintenance events.
|
|
33313
33318
|
*
|
|
33314
|
-
* @description
|
|
33319
|
+
* @description ## [](#)Usage notes
|
|
33320
|
+
* The response includes the instance status and the instance system events that are in the Scheduled state.
|
|
33315
33321
|
* You can specify a period of time to query events that occurred within the period of time.
|
|
33316
33322
|
*
|
|
33317
33323
|
* @param request DescribeInstancesFullStatusRequest
|
|
@@ -33320,9 +33326,10 @@ export default class Client extends OpenApi {
|
|
|
33320
33326
|
*/
|
|
33321
33327
|
describeInstancesFullStatusWithOptions(request: DescribeInstancesFullStatusRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstancesFullStatusResponse>;
|
|
33322
33328
|
/**
|
|
33323
|
-
* @summary Queries the full status information of Elastic Compute Service (ECS) instances. The full status information includes instance
|
|
33329
|
+
* @summary Queries the full status information of one or more Elastic Compute Service (ECS) instances. The full status information includes the instance status and the status of instance system events. The instance status is the lifecycle status of instances. The status of instance system events is the health status of maintenance events.
|
|
33324
33330
|
*
|
|
33325
|
-
* @description
|
|
33331
|
+
* @description ## [](#)Usage notes
|
|
33332
|
+
* The response includes the instance status and the instance system events that are in the Scheduled state.
|
|
33326
33333
|
* You can specify a period of time to query events that occurred within the period of time.
|
|
33327
33334
|
*
|
|
33328
33335
|
* @param request DescribeInstancesFullStatusRequest
|
|
@@ -33771,7 +33778,7 @@ export default class Client extends OpenApi {
|
|
|
33771
33778
|
*/
|
|
33772
33779
|
describeResourceByTags(request: DescribeResourceByTagsRequest): Promise<DescribeResourceByTagsResponse>;
|
|
33773
33780
|
/**
|
|
33774
|
-
* @summary Queries available resources
|
|
33781
|
+
* @summary Queries available resources in a specific zone when you upgrade or downgrade Elastic Compute Service (ECS) instance types or replace system disks.
|
|
33775
33782
|
*
|
|
33776
33783
|
* @description ## Debugging
|
|
33777
33784
|
* [OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=Ecs\\&api=DescribeResourcesModification\\&type=RPC\\&version=2014-05-26)
|
|
@@ -33782,7 +33789,7 @@ export default class Client extends OpenApi {
|
|
|
33782
33789
|
*/
|
|
33783
33790
|
describeResourcesModificationWithOptions(request: DescribeResourcesModificationRequest, runtime: $Util.RuntimeOptions): Promise<DescribeResourcesModificationResponse>;
|
|
33784
33791
|
/**
|
|
33785
|
-
* @summary Queries available resources
|
|
33792
|
+
* @summary Queries available resources in a specific zone when you upgrade or downgrade Elastic Compute Service (ECS) instance types or replace system disks.
|
|
33786
33793
|
*
|
|
33787
33794
|
* @description ## Debugging
|
|
33788
33795
|
* [OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=Ecs\\&api=DescribeResourcesModification\\&type=RPC\\&version=2014-05-26)
|
|
@@ -37693,14 +37700,14 @@ export default class Client extends OpenApi {
|
|
|
37693
37700
|
/**
|
|
37694
37701
|
* @summary Sends a file to one or more Elastic Compute Service (ECS) instances.
|
|
37695
37702
|
*
|
|
37696
|
-
* @description ## Usage notes
|
|
37697
|
-
* * The instances to which to send a file must be in the Running (`Running`) state.
|
|
37698
|
-
* * [Cloud Assistant Agent
|
|
37703
|
+
* @description ## [](#)Usage notes
|
|
37704
|
+
* * The instances to which you want to send a file must be in the Running (`Running`) state.
|
|
37705
|
+
* * [Cloud Assistant Agent](https://help.aliyun.com/document_detail/64921.html) must be installed on the instances.
|
|
37699
37706
|
* * Only Cloud Assistant Agent versions that are later than the following ones support file sending. If the `ClientNeedUpgrade` error code is returned, update Cloud Assistant Agent to the latest version.
|
|
37700
37707
|
* * For Linux instances, the version of Cloud Assistant Agent must be later than 1.0.2.569.
|
|
37701
37708
|
* * For Windows instances, the version of Cloud Assistant Agent must be later than 1.0.0.149.
|
|
37702
|
-
* * The file
|
|
37703
|
-
* * The file may fail to be sent due to instance exceptions, network exceptions, or exceptions on Cloud Assistant Agent.
|
|
37709
|
+
* * The file to be sent must not exceed 32 KB in size after it is encoded in Base64.
|
|
37710
|
+
* * The file may fail to be sent due to instance exceptions, network exceptions, or exceptions on Cloud Assistant Agent. If the file fails to be sent, call the [DescribeSendFileResults](https://help.aliyun.com/document_detail/184117.html) operation or see [Check execution results and troubleshoot common issues](https://help.aliyun.com/document_detail/87029.html) for troubleshooting.
|
|
37704
37711
|
*
|
|
37705
37712
|
* @param request SendFileRequest
|
|
37706
37713
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -37710,14 +37717,14 @@ export default class Client extends OpenApi {
|
|
|
37710
37717
|
/**
|
|
37711
37718
|
* @summary Sends a file to one or more Elastic Compute Service (ECS) instances.
|
|
37712
37719
|
*
|
|
37713
|
-
* @description ## Usage notes
|
|
37714
|
-
* * The instances to which to send a file must be in the Running (`Running`) state.
|
|
37715
|
-
* * [Cloud Assistant Agent
|
|
37720
|
+
* @description ## [](#)Usage notes
|
|
37721
|
+
* * The instances to which you want to send a file must be in the Running (`Running`) state.
|
|
37722
|
+
* * [Cloud Assistant Agent](https://help.aliyun.com/document_detail/64921.html) must be installed on the instances.
|
|
37716
37723
|
* * Only Cloud Assistant Agent versions that are later than the following ones support file sending. If the `ClientNeedUpgrade` error code is returned, update Cloud Assistant Agent to the latest version.
|
|
37717
37724
|
* * For Linux instances, the version of Cloud Assistant Agent must be later than 1.0.2.569.
|
|
37718
37725
|
* * For Windows instances, the version of Cloud Assistant Agent must be later than 1.0.0.149.
|
|
37719
|
-
* * The file
|
|
37720
|
-
* * The file may fail to be sent due to instance exceptions, network exceptions, or exceptions on Cloud Assistant Agent.
|
|
37726
|
+
* * The file to be sent must not exceed 32 KB in size after it is encoded in Base64.
|
|
37727
|
+
* * The file may fail to be sent due to instance exceptions, network exceptions, or exceptions on Cloud Assistant Agent. If the file fails to be sent, call the [DescribeSendFileResults](https://help.aliyun.com/document_detail/184117.html) operation or see [Check execution results and troubleshoot common issues](https://help.aliyun.com/document_detail/87029.html) for troubleshooting.
|
|
37721
37728
|
*
|
|
37722
37729
|
* @param request SendFileRequest
|
|
37723
37730
|
* @return SendFileResponse
|
|
@@ -37963,7 +37970,7 @@ export default class Client extends OpenApi {
|
|
|
37963
37970
|
*/
|
|
37964
37971
|
terminateVirtualBorderRouter(request: TerminateVirtualBorderRouterRequest): Promise<TerminateVirtualBorderRouterResponse>;
|
|
37965
37972
|
/**
|
|
37966
|
-
* @summary Unassigns
|
|
37973
|
+
* @summary Unassigns IPv6 addresses from an elastic network interface (ENI).
|
|
37967
37974
|
*
|
|
37968
37975
|
* @description ## [](#)Usage notes
|
|
37969
37976
|
* Take note of the following items:
|
|
@@ -37976,7 +37983,7 @@ export default class Client extends OpenApi {
|
|
|
37976
37983
|
*/
|
|
37977
37984
|
unassignIpv6AddressesWithOptions(request: UnassignIpv6AddressesRequest, runtime: $Util.RuntimeOptions): Promise<UnassignIpv6AddressesResponse>;
|
|
37978
37985
|
/**
|
|
37979
|
-
* @summary Unassigns
|
|
37986
|
+
* @summary Unassigns IPv6 addresses from an elastic network interface (ENI).
|
|
37980
37987
|
*
|
|
37981
37988
|
* @description ## [](#)Usage notes
|
|
37982
37989
|
* Take note of the following items:
|
|
@@ -37988,11 +37995,11 @@ export default class Client extends OpenApi {
|
|
|
37988
37995
|
*/
|
|
37989
37996
|
unassignIpv6Addresses(request: UnassignIpv6AddressesRequest): Promise<UnassignIpv6AddressesResponse>;
|
|
37990
37997
|
/**
|
|
37991
|
-
* @summary Unassigns
|
|
37998
|
+
* @summary Unassigns secondary private IP addresses from an elastic network interface (ENI).
|
|
37992
37999
|
*
|
|
37993
|
-
* @description ## Usage notes
|
|
37994
|
-
*
|
|
37995
|
-
*
|
|
38000
|
+
* @description ## [](#)Usage notes
|
|
38001
|
+
* * The ENI from which to unassign secondary private IP addresses must be in the **Available** (Available) or **InUse** (InUse) state.
|
|
38002
|
+
* * If the ENI is a primary ENI, the Elastic Compute Service (ECS) instance to which the ENI is attached must be in the **Running** (Running) or **Stopped** (Stopped) state.
|
|
37996
38003
|
*
|
|
37997
38004
|
* @param request UnassignPrivateIpAddressesRequest
|
|
37998
38005
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -38000,11 +38007,11 @@ export default class Client extends OpenApi {
|
|
|
38000
38007
|
*/
|
|
38001
38008
|
unassignPrivateIpAddressesWithOptions(request: UnassignPrivateIpAddressesRequest, runtime: $Util.RuntimeOptions): Promise<UnassignPrivateIpAddressesResponse>;
|
|
38002
38009
|
/**
|
|
38003
|
-
* @summary Unassigns
|
|
38010
|
+
* @summary Unassigns secondary private IP addresses from an elastic network interface (ENI).
|
|
38004
38011
|
*
|
|
38005
|
-
* @description ## Usage notes
|
|
38006
|
-
*
|
|
38007
|
-
*
|
|
38012
|
+
* @description ## [](#)Usage notes
|
|
38013
|
+
* * The ENI from which to unassign secondary private IP addresses must be in the **Available** (Available) or **InUse** (InUse) state.
|
|
38014
|
+
* * If the ENI is a primary ENI, the Elastic Compute Service (ECS) instance to which the ENI is attached must be in the **Running** (Running) or **Stopped** (Stopped) state.
|
|
38008
38015
|
*
|
|
38009
38016
|
* @param request UnassignPrivateIpAddressesRequest
|
|
38010
38017
|
* @return UnassignPrivateIpAddressesResponse
|
package/dist/client.js
CHANGED
|
@@ -15100,6 +15100,8 @@ class DescribeSecurityGroupAttributeRequest extends $tea.Model {
|
|
|
15100
15100
|
static names() {
|
|
15101
15101
|
return {
|
|
15102
15102
|
direction: 'Direction',
|
|
15103
|
+
maxResults: 'MaxResults',
|
|
15104
|
+
nextToken: 'NextToken',
|
|
15103
15105
|
nicType: 'NicType',
|
|
15104
15106
|
ownerAccount: 'OwnerAccount',
|
|
15105
15107
|
ownerId: 'OwnerId',
|
|
@@ -15112,6 +15114,8 @@ class DescribeSecurityGroupAttributeRequest extends $tea.Model {
|
|
|
15112
15114
|
static types() {
|
|
15113
15115
|
return {
|
|
15114
15116
|
direction: 'string',
|
|
15117
|
+
maxResults: 'number',
|
|
15118
|
+
nextToken: 'string',
|
|
15115
15119
|
nicType: 'string',
|
|
15116
15120
|
ownerAccount: 'string',
|
|
15117
15121
|
ownerId: 'number',
|
|
@@ -15131,6 +15135,7 @@ class DescribeSecurityGroupAttributeResponseBody extends $tea.Model {
|
|
|
15131
15135
|
return {
|
|
15132
15136
|
description: 'Description',
|
|
15133
15137
|
innerAccessPolicy: 'InnerAccessPolicy',
|
|
15138
|
+
nextToken: 'NextToken',
|
|
15134
15139
|
permissions: 'Permissions',
|
|
15135
15140
|
regionId: 'RegionId',
|
|
15136
15141
|
requestId: 'RequestId',
|
|
@@ -15143,6 +15148,7 @@ class DescribeSecurityGroupAttributeResponseBody extends $tea.Model {
|
|
|
15143
15148
|
return {
|
|
15144
15149
|
description: 'string',
|
|
15145
15150
|
innerAccessPolicy: 'string',
|
|
15151
|
+
nextToken: 'string',
|
|
15146
15152
|
permissions: DescribeSecurityGroupAttributeResponseBodyPermissions,
|
|
15147
15153
|
regionId: 'string',
|
|
15148
15154
|
requestId: 'string',
|
|
@@ -52902,9 +52908,10 @@ class Client extends openapi_client_1.default {
|
|
|
52902
52908
|
return await this.describeDedicatedHostAutoRenewWithOptions(request, runtime);
|
|
52903
52909
|
}
|
|
52904
52910
|
/**
|
|
52905
|
-
* @summary Queries the
|
|
52911
|
+
* @summary Queries the information about one or more dedicated host clusters.
|
|
52906
52912
|
*
|
|
52907
|
-
* @description
|
|
52913
|
+
* @description ## [](#)Usage notes
|
|
52914
|
+
* You can specify multiple request parameters to filter query results. Specified request parameters have logical AND relations. Only the specified parameters are included in the filter conditions. However, if `DedicatedHostClusterIds` is set to an empty JSON array (`[]`), this parameter is regarded as a valid filter condition and an empty result is returned.
|
|
52908
52915
|
*
|
|
52909
52916
|
* @param request DescribeDedicatedHostClustersRequest
|
|
52910
52917
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -52972,9 +52979,10 @@ class Client extends openapi_client_1.default {
|
|
|
52972
52979
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDedicatedHostClustersResponse({}));
|
|
52973
52980
|
}
|
|
52974
52981
|
/**
|
|
52975
|
-
* @summary Queries the
|
|
52982
|
+
* @summary Queries the information about one or more dedicated host clusters.
|
|
52976
52983
|
*
|
|
52977
|
-
* @description
|
|
52984
|
+
* @description ## [](#)Usage notes
|
|
52985
|
+
* You can specify multiple request parameters to filter query results. Specified request parameters have logical AND relations. Only the specified parameters are included in the filter conditions. However, if `DedicatedHostClusterIds` is set to an empty JSON array (`[]`), this parameter is regarded as a valid filter condition and an empty result is returned.
|
|
52978
52986
|
*
|
|
52979
52987
|
* @param request DescribeDedicatedHostClustersRequest
|
|
52980
52988
|
* @return DescribeDedicatedHostClustersResponse
|
|
@@ -54695,10 +54703,9 @@ class Client extends openapi_client_1.default {
|
|
|
54695
54703
|
return await this.describeImagePipelineExecutionsWithOptions(request, runtime);
|
|
54696
54704
|
}
|
|
54697
54705
|
/**
|
|
54698
|
-
* @summary Queries the
|
|
54706
|
+
* @summary Queries the information about one or more image templates.
|
|
54699
54707
|
*
|
|
54700
|
-
* @description
|
|
54701
|
-
* You can use `NextToken` to configure the query token. Set the value to the `NextToken` value that is returned in the last call to the `DescribeImagePipelines` operation. Then, use `MaxResults` to specify the maximum number of entries to return on each page.
|
|
54708
|
+
* @description You can use `NextToken` to configure the query token. Set the value to the `NextToken` value that is returned in the previous call to the `DescribeImagePipelines` operation. Then, use `MaxResults` to specify the maximum number of entries to return on each page.
|
|
54702
54709
|
*
|
|
54703
54710
|
* @param request DescribeImagePipelinesRequest
|
|
54704
54711
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -54763,10 +54770,9 @@ class Client extends openapi_client_1.default {
|
|
|
54763
54770
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeImagePipelinesResponse({}));
|
|
54764
54771
|
}
|
|
54765
54772
|
/**
|
|
54766
|
-
* @summary Queries the
|
|
54773
|
+
* @summary Queries the information about one or more image templates.
|
|
54767
54774
|
*
|
|
54768
|
-
* @description
|
|
54769
|
-
* You can use `NextToken` to configure the query token. Set the value to the `NextToken` value that is returned in the last call to the `DescribeImagePipelines` operation. Then, use `MaxResults` to specify the maximum number of entries to return on each page.
|
|
54775
|
+
* @description You can use `NextToken` to configure the query token. Set the value to the `NextToken` value that is returned in the previous call to the `DescribeImagePipelines` operation. Then, use `MaxResults` to specify the maximum number of entries to return on each page.
|
|
54770
54776
|
*
|
|
54771
54777
|
* @param request DescribeImagePipelinesRequest
|
|
54772
54778
|
* @return DescribeImagePipelinesResponse
|
|
@@ -56038,15 +56044,16 @@ class Client extends openapi_client_1.default {
|
|
|
56038
56044
|
return await this.describeInstanceVncUrlWithOptions(request, runtime);
|
|
56039
56045
|
}
|
|
56040
56046
|
/**
|
|
56041
|
-
* @summary Queries the
|
|
56047
|
+
* @summary Queries the information about Elastic Compute Service (ECS) instances.
|
|
56042
56048
|
*
|
|
56043
|
-
* @description
|
|
56044
|
-
* *
|
|
56045
|
-
* *
|
|
56046
|
-
* *
|
|
56047
|
-
*
|
|
56048
|
-
* *
|
|
56049
|
-
*
|
|
56049
|
+
* @description ## [](#)Usage notes
|
|
56050
|
+
* * You can specify multiple request parameters to filter query results. Specified request parameters have logical AND relations. Only the specified parameters are included in the filter conditions. However, if InstanceIds is set to an empty JSON array, this parameter is regarded as a valid filter condition and an empty result is returned.
|
|
56051
|
+
* * If you are using a Resource Access Management (RAM) user or RAM role that does not have the permissions to call this operation, an empty list is returned. You can include `DryRun` in your request to check whether the empty list is caused by lack of permissions.
|
|
56052
|
+
* * When you call the API operation by using Alibaba Cloud CLI, you must specify request parameter values of different data types in the required formats. For more information, see [Parameter formats](https://help.aliyun.com/document_detail/110340.html).
|
|
56053
|
+
* * You can use one of the following methods to check the responses:
|
|
56054
|
+
* * Method 1: During a paged query, when you call the DescribeInstances 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 DescribeInstances 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.
|
|
56055
|
+
* * 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.
|
|
56056
|
+
* You can use only one of the preceding methods. If a large number of entries are to be returned, we recommend that you use Method 1. When `MaxResults` or `NextToken` is specified, the `PageSize` and `PageNumber` request parameters do not take effect and the `TotalCount` response parameter is invalid.
|
|
56050
56057
|
*
|
|
56051
56058
|
* @param request DescribeInstancesRequest
|
|
56052
56059
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -56198,15 +56205,16 @@ class Client extends openapi_client_1.default {
|
|
|
56198
56205
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeInstancesResponse({}));
|
|
56199
56206
|
}
|
|
56200
56207
|
/**
|
|
56201
|
-
* @summary Queries the
|
|
56208
|
+
* @summary Queries the information about Elastic Compute Service (ECS) instances.
|
|
56202
56209
|
*
|
|
56203
|
-
* @description
|
|
56204
|
-
* *
|
|
56205
|
-
* *
|
|
56206
|
-
* *
|
|
56207
|
-
*
|
|
56208
|
-
* *
|
|
56209
|
-
*
|
|
56210
|
+
* @description ## [](#)Usage notes
|
|
56211
|
+
* * You can specify multiple request parameters to filter query results. Specified request parameters have logical AND relations. Only the specified parameters are included in the filter conditions. However, if InstanceIds is set to an empty JSON array, this parameter is regarded as a valid filter condition and an empty result is returned.
|
|
56212
|
+
* * If you are using a Resource Access Management (RAM) user or RAM role that does not have the permissions to call this operation, an empty list is returned. You can include `DryRun` in your request to check whether the empty list is caused by lack of permissions.
|
|
56213
|
+
* * When you call the API operation by using Alibaba Cloud CLI, you must specify request parameter values of different data types in the required formats. For more information, see [Parameter formats](https://help.aliyun.com/document_detail/110340.html).
|
|
56214
|
+
* * You can use one of the following methods to check the responses:
|
|
56215
|
+
* * Method 1: During a paged query, when you call the DescribeInstances 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 DescribeInstances 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.
|
|
56216
|
+
* * 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.
|
|
56217
|
+
* You can use only one of the preceding methods. If a large number of entries are to be returned, we recommend that you use Method 1. When `MaxResults` or `NextToken` is specified, the `PageSize` and `PageNumber` request parameters do not take effect and the `TotalCount` response parameter is invalid.
|
|
56210
56218
|
*
|
|
56211
56219
|
* @param request DescribeInstancesRequest
|
|
56212
56220
|
* @return DescribeInstancesResponse
|
|
@@ -56216,9 +56224,10 @@ class Client extends openapi_client_1.default {
|
|
|
56216
56224
|
return await this.describeInstancesWithOptions(request, runtime);
|
|
56217
56225
|
}
|
|
56218
56226
|
/**
|
|
56219
|
-
* @summary Queries the full status information of Elastic Compute Service (ECS) instances. The full status information includes instance
|
|
56227
|
+
* @summary Queries the full status information of one or more Elastic Compute Service (ECS) instances. The full status information includes the instance status and the status of instance system events. The instance status is the lifecycle status of instances. The status of instance system events is the health status of maintenance events.
|
|
56220
56228
|
*
|
|
56221
|
-
* @description
|
|
56229
|
+
* @description ## [](#)Usage notes
|
|
56230
|
+
* The response includes the instance status and the instance system events that are in the Scheduled state.
|
|
56222
56231
|
* You can specify a period of time to query events that occurred within the period of time.
|
|
56223
56232
|
*
|
|
56224
56233
|
* @param request DescribeInstancesFullStatusRequest
|
|
@@ -56293,9 +56302,10 @@ class Client extends openapi_client_1.default {
|
|
|
56293
56302
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeInstancesFullStatusResponse({}));
|
|
56294
56303
|
}
|
|
56295
56304
|
/**
|
|
56296
|
-
* @summary Queries the full status information of Elastic Compute Service (ECS) instances. The full status information includes instance
|
|
56305
|
+
* @summary Queries the full status information of one or more Elastic Compute Service (ECS) instances. The full status information includes the instance status and the status of instance system events. The instance status is the lifecycle status of instances. The status of instance system events is the health status of maintenance events.
|
|
56297
56306
|
*
|
|
56298
|
-
* @description
|
|
56307
|
+
* @description ## [](#)Usage notes
|
|
56308
|
+
* The response includes the instance status and the instance system events that are in the Scheduled state.
|
|
56299
56309
|
* You can specify a period of time to query events that occurred within the period of time.
|
|
56300
56310
|
*
|
|
56301
56311
|
* @param request DescribeInstancesFullStatusRequest
|
|
@@ -58132,7 +58142,7 @@ class Client extends openapi_client_1.default {
|
|
|
58132
58142
|
return await this.describeResourceByTagsWithOptions(request, runtime);
|
|
58133
58143
|
}
|
|
58134
58144
|
/**
|
|
58135
|
-
* @summary Queries available resources
|
|
58145
|
+
* @summary Queries available resources in a specific zone when you upgrade or downgrade Elastic Compute Service (ECS) instance types or replace system disks.
|
|
58136
58146
|
*
|
|
58137
58147
|
* @description ## Debugging
|
|
58138
58148
|
* [OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=Ecs\\&api=DescribeResourcesModification\\&type=RPC\\&version=2014-05-26)
|
|
@@ -58203,7 +58213,7 @@ class Client extends openapi_client_1.default {
|
|
|
58203
58213
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeResourcesModificationResponse({}));
|
|
58204
58214
|
}
|
|
58205
58215
|
/**
|
|
58206
|
-
* @summary Queries available resources
|
|
58216
|
+
* @summary Queries available resources in a specific zone when you upgrade or downgrade Elastic Compute Service (ECS) instance types or replace system disks.
|
|
58207
58217
|
*
|
|
58208
58218
|
* @description ## Debugging
|
|
58209
58219
|
* [OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=Ecs\\&api=DescribeResourcesModification\\&type=RPC\\&version=2014-05-26)
|
|
@@ -58475,6 +58485,12 @@ class Client extends openapi_client_1.default {
|
|
|
58475
58485
|
if (!tea_util_1.default.isUnset(request.direction)) {
|
|
58476
58486
|
query["Direction"] = request.direction;
|
|
58477
58487
|
}
|
|
58488
|
+
if (!tea_util_1.default.isUnset(request.maxResults)) {
|
|
58489
|
+
query["MaxResults"] = request.maxResults;
|
|
58490
|
+
}
|
|
58491
|
+
if (!tea_util_1.default.isUnset(request.nextToken)) {
|
|
58492
|
+
query["NextToken"] = request.nextToken;
|
|
58493
|
+
}
|
|
58478
58494
|
if (!tea_util_1.default.isUnset(request.nicType)) {
|
|
58479
58495
|
query["NicType"] = request.nicType;
|
|
58480
58496
|
}
|
|
@@ -70020,14 +70036,14 @@ class Client extends openapi_client_1.default {
|
|
|
70020
70036
|
/**
|
|
70021
70037
|
* @summary Sends a file to one or more Elastic Compute Service (ECS) instances.
|
|
70022
70038
|
*
|
|
70023
|
-
* @description ## Usage notes
|
|
70024
|
-
* * The instances to which to send a file must be in the Running (`Running`) state.
|
|
70025
|
-
* * [Cloud Assistant Agent
|
|
70039
|
+
* @description ## [](#)Usage notes
|
|
70040
|
+
* * The instances to which you want to send a file must be in the Running (`Running`) state.
|
|
70041
|
+
* * [Cloud Assistant Agent](https://help.aliyun.com/document_detail/64921.html) must be installed on the instances.
|
|
70026
70042
|
* * Only Cloud Assistant Agent versions that are later than the following ones support file sending. If the `ClientNeedUpgrade` error code is returned, update Cloud Assistant Agent to the latest version.
|
|
70027
70043
|
* * For Linux instances, the version of Cloud Assistant Agent must be later than 1.0.2.569.
|
|
70028
70044
|
* * For Windows instances, the version of Cloud Assistant Agent must be later than 1.0.0.149.
|
|
70029
|
-
* * The file
|
|
70030
|
-
* * The file may fail to be sent due to instance exceptions, network exceptions, or exceptions on Cloud Assistant Agent.
|
|
70045
|
+
* * The file to be sent must not exceed 32 KB in size after it is encoded in Base64.
|
|
70046
|
+
* * The file may fail to be sent due to instance exceptions, network exceptions, or exceptions on Cloud Assistant Agent. If the file fails to be sent, call the [DescribeSendFileResults](https://help.aliyun.com/document_detail/184117.html) operation or see [Check execution results and troubleshoot common issues](https://help.aliyun.com/document_detail/87029.html) for troubleshooting.
|
|
70031
70047
|
*
|
|
70032
70048
|
* @param request SendFileRequest
|
|
70033
70049
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -70112,14 +70128,14 @@ class Client extends openapi_client_1.default {
|
|
|
70112
70128
|
/**
|
|
70113
70129
|
* @summary Sends a file to one or more Elastic Compute Service (ECS) instances.
|
|
70114
70130
|
*
|
|
70115
|
-
* @description ## Usage notes
|
|
70116
|
-
* * The instances to which to send a file must be in the Running (`Running`) state.
|
|
70117
|
-
* * [Cloud Assistant Agent
|
|
70131
|
+
* @description ## [](#)Usage notes
|
|
70132
|
+
* * The instances to which you want to send a file must be in the Running (`Running`) state.
|
|
70133
|
+
* * [Cloud Assistant Agent](https://help.aliyun.com/document_detail/64921.html) must be installed on the instances.
|
|
70118
70134
|
* * Only Cloud Assistant Agent versions that are later than the following ones support file sending. If the `ClientNeedUpgrade` error code is returned, update Cloud Assistant Agent to the latest version.
|
|
70119
70135
|
* * For Linux instances, the version of Cloud Assistant Agent must be later than 1.0.2.569.
|
|
70120
70136
|
* * For Windows instances, the version of Cloud Assistant Agent must be later than 1.0.0.149.
|
|
70121
|
-
* * The file
|
|
70122
|
-
* * The file may fail to be sent due to instance exceptions, network exceptions, or exceptions on Cloud Assistant Agent.
|
|
70137
|
+
* * The file to be sent must not exceed 32 KB in size after it is encoded in Base64.
|
|
70138
|
+
* * The file may fail to be sent due to instance exceptions, network exceptions, or exceptions on Cloud Assistant Agent. If the file fails to be sent, call the [DescribeSendFileResults](https://help.aliyun.com/document_detail/184117.html) operation or see [Check execution results and troubleshoot common issues](https://help.aliyun.com/document_detail/87029.html) for troubleshooting.
|
|
70123
70139
|
*
|
|
70124
70140
|
* @param request SendFileRequest
|
|
70125
70141
|
* @return SendFileResponse
|
|
@@ -70884,7 +70900,7 @@ class Client extends openapi_client_1.default {
|
|
|
70884
70900
|
return await this.terminateVirtualBorderRouterWithOptions(request, runtime);
|
|
70885
70901
|
}
|
|
70886
70902
|
/**
|
|
70887
|
-
* @summary Unassigns
|
|
70903
|
+
* @summary Unassigns IPv6 addresses from an elastic network interface (ENI).
|
|
70888
70904
|
*
|
|
70889
70905
|
* @description ## [](#)Usage notes
|
|
70890
70906
|
* Take note of the following items:
|
|
@@ -70942,7 +70958,7 @@ class Client extends openapi_client_1.default {
|
|
|
70942
70958
|
return $tea.cast(await this.callApi(params, req, runtime), new UnassignIpv6AddressesResponse({}));
|
|
70943
70959
|
}
|
|
70944
70960
|
/**
|
|
70945
|
-
* @summary Unassigns
|
|
70961
|
+
* @summary Unassigns IPv6 addresses from an elastic network interface (ENI).
|
|
70946
70962
|
*
|
|
70947
70963
|
* @description ## [](#)Usage notes
|
|
70948
70964
|
* Take note of the following items:
|
|
@@ -70957,11 +70973,11 @@ class Client extends openapi_client_1.default {
|
|
|
70957
70973
|
return await this.unassignIpv6AddressesWithOptions(request, runtime);
|
|
70958
70974
|
}
|
|
70959
70975
|
/**
|
|
70960
|
-
* @summary Unassigns
|
|
70976
|
+
* @summary Unassigns secondary private IP addresses from an elastic network interface (ENI).
|
|
70961
70977
|
*
|
|
70962
|
-
* @description ## Usage notes
|
|
70963
|
-
*
|
|
70964
|
-
*
|
|
70978
|
+
* @description ## [](#)Usage notes
|
|
70979
|
+
* * The ENI from which to unassign secondary private IP addresses must be in the **Available** (Available) or **InUse** (InUse) state.
|
|
70980
|
+
* * If the ENI is a primary ENI, the Elastic Compute Service (ECS) instance to which the ENI is attached must be in the **Running** (Running) or **Stopped** (Stopped) state.
|
|
70965
70981
|
*
|
|
70966
70982
|
* @param request UnassignPrivateIpAddressesRequest
|
|
70967
70983
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -71014,11 +71030,11 @@ class Client extends openapi_client_1.default {
|
|
|
71014
71030
|
return $tea.cast(await this.callApi(params, req, runtime), new UnassignPrivateIpAddressesResponse({}));
|
|
71015
71031
|
}
|
|
71016
71032
|
/**
|
|
71017
|
-
* @summary Unassigns
|
|
71033
|
+
* @summary Unassigns secondary private IP addresses from an elastic network interface (ENI).
|
|
71018
71034
|
*
|
|
71019
|
-
* @description ## Usage notes
|
|
71020
|
-
*
|
|
71021
|
-
*
|
|
71035
|
+
* @description ## [](#)Usage notes
|
|
71036
|
+
* * The ENI from which to unassign secondary private IP addresses must be in the **Available** (Available) or **InUse** (InUse) state.
|
|
71037
|
+
* * If the ENI is a primary ENI, the Elastic Compute Service (ECS) instance to which the ENI is attached must be in the **Running** (Running) or **Stopped** (Stopped) state.
|
|
71022
71038
|
*
|
|
71023
71039
|
* @param request UnassignPrivateIpAddressesRequest
|
|
71024
71040
|
* @return UnassignPrivateIpAddressesResponse
|