@alicloud/ecs20140526 3.0.5 → 3.0.6
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 +886 -1202
- package/dist/client.js +902 -1202
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +912 -1202
package/dist/client.js
CHANGED
|
@@ -9334,6 +9334,7 @@ class DescribeDeploymentSetSupportedInstanceTypeFamilyRequest extends $tea.Model
|
|
|
9334
9334
|
regionId: 'RegionId',
|
|
9335
9335
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
9336
9336
|
resourceOwnerId: 'ResourceOwnerId',
|
|
9337
|
+
strategy: 'Strategy',
|
|
9337
9338
|
};
|
|
9338
9339
|
}
|
|
9339
9340
|
static types() {
|
|
@@ -9343,6 +9344,7 @@ class DescribeDeploymentSetSupportedInstanceTypeFamilyRequest extends $tea.Model
|
|
|
9343
9344
|
regionId: 'string',
|
|
9344
9345
|
resourceOwnerAccount: 'string',
|
|
9345
9346
|
resourceOwnerId: 'number',
|
|
9347
|
+
strategy: 'string',
|
|
9346
9348
|
};
|
|
9347
9349
|
}
|
|
9348
9350
|
}
|
|
@@ -18001,6 +18003,7 @@ class InvokeCommandRequest extends $tea.Model {
|
|
|
18001
18003
|
}
|
|
18002
18004
|
static names() {
|
|
18003
18005
|
return {
|
|
18006
|
+
clientToken: 'ClientToken',
|
|
18004
18007
|
commandId: 'CommandId',
|
|
18005
18008
|
containerId: 'ContainerId',
|
|
18006
18009
|
containerName: 'ContainerName',
|
|
@@ -18023,6 +18026,7 @@ class InvokeCommandRequest extends $tea.Model {
|
|
|
18023
18026
|
}
|
|
18024
18027
|
static types() {
|
|
18025
18028
|
return {
|
|
18029
|
+
clientToken: 'string',
|
|
18026
18030
|
commandId: 'string',
|
|
18027
18031
|
containerId: 'string',
|
|
18028
18032
|
containerName: 'string',
|
|
@@ -18051,6 +18055,7 @@ class InvokeCommandShrinkRequest extends $tea.Model {
|
|
|
18051
18055
|
}
|
|
18052
18056
|
static names() {
|
|
18053
18057
|
return {
|
|
18058
|
+
clientToken: 'ClientToken',
|
|
18054
18059
|
commandId: 'CommandId',
|
|
18055
18060
|
containerId: 'ContainerId',
|
|
18056
18061
|
containerName: 'ContainerName',
|
|
@@ -18073,6 +18078,7 @@ class InvokeCommandShrinkRequest extends $tea.Model {
|
|
|
18073
18078
|
}
|
|
18074
18079
|
static types() {
|
|
18075
18080
|
return {
|
|
18081
|
+
clientToken: 'string',
|
|
18076
18082
|
commandId: 'string',
|
|
18077
18083
|
containerId: 'string',
|
|
18078
18084
|
containerName: 'string',
|
|
@@ -24725,6 +24731,7 @@ class RunCommandRequest extends $tea.Model {
|
|
|
24725
24731
|
}
|
|
24726
24732
|
static names() {
|
|
24727
24733
|
return {
|
|
24734
|
+
clientToken: 'ClientToken',
|
|
24728
24735
|
commandContent: 'CommandContent',
|
|
24729
24736
|
containerId: 'ContainerId',
|
|
24730
24737
|
containerName: 'ContainerName',
|
|
@@ -24754,6 +24761,7 @@ class RunCommandRequest extends $tea.Model {
|
|
|
24754
24761
|
}
|
|
24755
24762
|
static types() {
|
|
24756
24763
|
return {
|
|
24764
|
+
clientToken: 'string',
|
|
24757
24765
|
commandContent: 'string',
|
|
24758
24766
|
containerId: 'string',
|
|
24759
24767
|
containerName: 'string',
|
|
@@ -24789,6 +24797,7 @@ class RunCommandShrinkRequest extends $tea.Model {
|
|
|
24789
24797
|
}
|
|
24790
24798
|
static names() {
|
|
24791
24799
|
return {
|
|
24800
|
+
clientToken: 'ClientToken',
|
|
24792
24801
|
commandContent: 'CommandContent',
|
|
24793
24802
|
containerId: 'ContainerId',
|
|
24794
24803
|
containerName: 'ContainerName',
|
|
@@ -24818,6 +24827,7 @@ class RunCommandShrinkRequest extends $tea.Model {
|
|
|
24818
24827
|
}
|
|
24819
24828
|
static types() {
|
|
24820
24829
|
return {
|
|
24830
|
+
clientToken: 'string',
|
|
24821
24831
|
commandContent: 'string',
|
|
24822
24832
|
containerId: 'string',
|
|
24823
24833
|
containerName: 'string',
|
|
@@ -30338,6 +30348,7 @@ class DescribeDemandsResponseBodyDemandsDemandSupplyInfosSupplyInfo extends $tea
|
|
|
30338
30348
|
static names() {
|
|
30339
30349
|
return {
|
|
30340
30350
|
amount: 'Amount',
|
|
30351
|
+
privatePoolId: 'PrivatePoolId',
|
|
30341
30352
|
supplyEndTime: 'SupplyEndTime',
|
|
30342
30353
|
supplyStartTime: 'SupplyStartTime',
|
|
30343
30354
|
supplyStatus: 'SupplyStatus',
|
|
@@ -30346,6 +30357,7 @@ class DescribeDemandsResponseBodyDemandsDemandSupplyInfosSupplyInfo extends $tea
|
|
|
30346
30357
|
static types() {
|
|
30347
30358
|
return {
|
|
30348
30359
|
amount: 'number',
|
|
30360
|
+
privatePoolId: 'string',
|
|
30349
30361
|
supplyEndTime: 'string',
|
|
30350
30362
|
supplyStartTime: 'string',
|
|
30351
30363
|
supplyStatus: 'string',
|
|
@@ -32372,11 +32384,13 @@ class DescribeImageSharePermissionResponseBodyAccountsAccount extends $tea.Model
|
|
|
32372
32384
|
static names() {
|
|
32373
32385
|
return {
|
|
32374
32386
|
aliyunId: 'AliyunId',
|
|
32387
|
+
sharedTime: 'SharedTime',
|
|
32375
32388
|
};
|
|
32376
32389
|
}
|
|
32377
32390
|
static types() {
|
|
32378
32391
|
return {
|
|
32379
32392
|
aliyunId: 'string',
|
|
32393
|
+
sharedTime: 'string',
|
|
32380
32394
|
};
|
|
32381
32395
|
}
|
|
32382
32396
|
}
|
|
@@ -41876,12 +41890,12 @@ class Client extends openapi_client_1.default {
|
|
|
41876
41890
|
return await this.addTagsWithOptions(request, runtime);
|
|
41877
41891
|
}
|
|
41878
41892
|
/**
|
|
41879
|
-
* Before you create a dedicated host, you can call the [DescribeAvailableResource](~~66186~~) operation to query the available
|
|
41893
|
+
* Before you create a dedicated host, you can call the [DescribeAvailableResource](~~66186~~) operation to query the resources available in a specific region or zone.
|
|
41880
41894
|
* We recommend that you understand the billing methods of resources before you create a dedicated host. You are charged for resources used by the created dedicated host. For more information, see [Billing overview](~~68978~~).
|
|
41881
|
-
* *
|
|
41882
|
-
* *
|
|
41883
|
-
* *
|
|
41884
|
-
* *
|
|
41895
|
+
* * You can create up to 100 pay-as-you-go or subscription dedicated hosts at a time.
|
|
41896
|
+
* * After a dedicated host is created, you can use the returned dedicated host ID as the value of a request parameter to call the [DescribeDedicatedHosts](~~134242~~) operation to query the state of the dedicated host.
|
|
41897
|
+
* * After you submit a request to create a dedicated host, an error is returned if a specific parameter is invalid or if the requested resources are insufficient. For more information about error causes, see the "Error codes" section of this topic.
|
|
41898
|
+
* * After a dedicated host is created, you can call the [ModifyInstanceDeployment](~~134248~~) operation to migrate ECS instances from a shared host to the dedicated host. You can also migrate ECS instances from another dedicated host to the created dedicated host.
|
|
41885
41899
|
*
|
|
41886
41900
|
* @param request AllocateDedicatedHostsRequest
|
|
41887
41901
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -41982,12 +41996,12 @@ class Client extends openapi_client_1.default {
|
|
|
41982
41996
|
return $tea.cast(await this.callApi(params, req, runtime), new AllocateDedicatedHostsResponse({}));
|
|
41983
41997
|
}
|
|
41984
41998
|
/**
|
|
41985
|
-
* Before you create a dedicated host, you can call the [DescribeAvailableResource](~~66186~~) operation to query the available
|
|
41999
|
+
* Before you create a dedicated host, you can call the [DescribeAvailableResource](~~66186~~) operation to query the resources available in a specific region or zone.
|
|
41986
42000
|
* We recommend that you understand the billing methods of resources before you create a dedicated host. You are charged for resources used by the created dedicated host. For more information, see [Billing overview](~~68978~~).
|
|
41987
|
-
* *
|
|
41988
|
-
* *
|
|
41989
|
-
* *
|
|
41990
|
-
* *
|
|
42001
|
+
* * You can create up to 100 pay-as-you-go or subscription dedicated hosts at a time.
|
|
42002
|
+
* * After a dedicated host is created, you can use the returned dedicated host ID as the value of a request parameter to call the [DescribeDedicatedHosts](~~134242~~) operation to query the state of the dedicated host.
|
|
42003
|
+
* * After you submit a request to create a dedicated host, an error is returned if a specific parameter is invalid or if the requested resources are insufficient. For more information about error causes, see the "Error codes" section of this topic.
|
|
42004
|
+
* * After a dedicated host is created, you can call the [ModifyInstanceDeployment](~~134248~~) operation to migrate ECS instances from a shared host to the dedicated host. You can also migrate ECS instances from another dedicated host to the created dedicated host.
|
|
41991
42005
|
*
|
|
41992
42006
|
* @param request AllocateDedicatedHostsRequest
|
|
41993
42007
|
* @return AllocateDedicatedHostsResponse
|
|
@@ -42067,13 +42081,13 @@ class Client extends openapi_client_1.default {
|
|
|
42067
42081
|
return await this.allocateEipAddressWithOptions(request, runtime);
|
|
42068
42082
|
}
|
|
42069
42083
|
/**
|
|
42070
|
-
*
|
|
42071
|
-
* * The instance to which to assign a public IP address must be in the **Running**
|
|
42072
|
-
* * If `OperationLocks` in the DescribeInstances
|
|
42073
|
-
* * You can assign only
|
|
42074
|
-
* * After you assign a public IP address to an instance, you must restart the instance ([RebootInstance](~~25502~~)) or start the instance ([StartInstance](~~25500~~))
|
|
42075
|
-
* If an instance
|
|
42076
|
-
* > After an EIP
|
|
42084
|
+
* Take note of the following items:
|
|
42085
|
+
* * The instance to which you want to assign a public IP address must be in the **Running** or **Stopped** state.````
|
|
42086
|
+
* * If `OperationLocks` in the response of the DescribeInstances operation contains `"LockReason" : "security"` for an instance, the instance is [locked for security reasons](~~25695~~) and cannot be assigned a public IP address.
|
|
42087
|
+
* * You can assign only one public IP address to an instance. If the instance already has a public IP address, the `AllocatedAlready` error is returned.
|
|
42088
|
+
* * After you assign a public IP address to an instance, you must restart the instance ([RebootInstance](~~25502~~)) or start the instance ([StartInstance](~~25500~~)) to make the public IP address take effect.
|
|
42089
|
+
* If an instance resides in a virtual private cloud (VPC), you can assign a public IP address to the instance or associate an elastic IP address (EIP) with the instance. For more information, see [AssociateEipAddress](~~36017~~).
|
|
42090
|
+
* > After you associate an EIP with an instance that resides in a VPC, you cannot assign a public IP address to the instance.
|
|
42077
42091
|
*
|
|
42078
42092
|
* @param request AllocatePublicIpAddressRequest
|
|
42079
42093
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -42120,13 +42134,13 @@ class Client extends openapi_client_1.default {
|
|
|
42120
42134
|
return $tea.cast(await this.callApi(params, req, runtime), new AllocatePublicIpAddressResponse({}));
|
|
42121
42135
|
}
|
|
42122
42136
|
/**
|
|
42123
|
-
*
|
|
42124
|
-
* * The instance to which to assign a public IP address must be in the **Running**
|
|
42125
|
-
* * If `OperationLocks` in the DescribeInstances
|
|
42126
|
-
* * You can assign only
|
|
42127
|
-
* * After you assign a public IP address to an instance, you must restart the instance ([RebootInstance](~~25502~~)) or start the instance ([StartInstance](~~25500~~))
|
|
42128
|
-
* If an instance
|
|
42129
|
-
* > After an EIP
|
|
42137
|
+
* Take note of the following items:
|
|
42138
|
+
* * The instance to which you want to assign a public IP address must be in the **Running** or **Stopped** state.````
|
|
42139
|
+
* * If `OperationLocks` in the response of the DescribeInstances operation contains `"LockReason" : "security"` for an instance, the instance is [locked for security reasons](~~25695~~) and cannot be assigned a public IP address.
|
|
42140
|
+
* * You can assign only one public IP address to an instance. If the instance already has a public IP address, the `AllocatedAlready` error is returned.
|
|
42141
|
+
* * After you assign a public IP address to an instance, you must restart the instance ([RebootInstance](~~25502~~)) or start the instance ([StartInstance](~~25500~~)) to make the public IP address take effect.
|
|
42142
|
+
* If an instance resides in a virtual private cloud (VPC), you can assign a public IP address to the instance or associate an elastic IP address (EIP) with the instance. For more information, see [AssociateEipAddress](~~36017~~).
|
|
42143
|
+
* > After you associate an EIP with an instance that resides in a VPC, you cannot assign a public IP address to the instance.
|
|
42130
42144
|
*
|
|
42131
42145
|
* @param request AllocatePublicIpAddressRequest
|
|
42132
42146
|
* @return AllocatePublicIpAddressResponse
|
|
@@ -42136,7 +42150,7 @@ class Client extends openapi_client_1.default {
|
|
|
42136
42150
|
return await this.allocatePublicIpAddressWithOptions(request, runtime);
|
|
42137
42151
|
}
|
|
42138
42152
|
/**
|
|
42139
|
-
* * Each disk can have only one automatic snapshot policy
|
|
42153
|
+
* * Each disk can have only one automatic snapshot policy.
|
|
42140
42154
|
* * Each automatic snapshot policy can be applied to multiple disks.
|
|
42141
42155
|
*
|
|
42142
42156
|
* @param request ApplyAutoSnapshotPolicyRequest
|
|
@@ -42181,7 +42195,7 @@ class Client extends openapi_client_1.default {
|
|
|
42181
42195
|
return $tea.cast(await this.callApi(params, req, runtime), new ApplyAutoSnapshotPolicyResponse({}));
|
|
42182
42196
|
}
|
|
42183
42197
|
/**
|
|
42184
|
-
* * Each disk can have only one automatic snapshot policy
|
|
42198
|
+
* * Each disk can have only one automatic snapshot policy.
|
|
42185
42199
|
* * Each automatic snapshot policy can be applied to multiple disks.
|
|
42186
42200
|
*
|
|
42187
42201
|
* @param request ApplyAutoSnapshotPolicyRequest
|
|
@@ -42192,14 +42206,14 @@ class Client extends openapi_client_1.default {
|
|
|
42192
42206
|
return await this.applyAutoSnapshotPolicyWithOptions(request, runtime);
|
|
42193
42207
|
}
|
|
42194
42208
|
/**
|
|
42195
|
-
* You can specify IPv6 addresses
|
|
42209
|
+
* You can specify IPv6 addresses within the CIDR block of the vSwitch that is connected to the ENI, or specify the number of IPv6 addresses that are automatically generated for the ENI. When you call this operation, take note of the following items:
|
|
42196
42210
|
* * IPv6 must be enabled for the vSwitch with which the ENI is associated. For more information, see [Enable IPv6 for a vSwitch](~~98923~~).
|
|
42197
42211
|
* * The ENI must be in the Available (Available) or InUse (InUse) state.
|
|
42198
42212
|
* * If you want to assign IPv6 addresses to a primary ENI, make sure that the instance to which the ENI is attached is in the Running (Running) or Stopped (Stopped) state.
|
|
42199
|
-
* * The maximum number of IPv6 addresses that can be assigned to an ENI varies
|
|
42213
|
+
* * The maximum number of IPv6 addresses that can be assigned to an ENI varies based on the instance type.
|
|
42200
42214
|
* * If the ENI is in the Available (Available) state, it can be assigned a maximum of 10 IPv6 addresses.
|
|
42201
42215
|
* * If the ENI is already attached to an Elastic Compute Service (ECS) instance, the maximum number of IPv6 addresses that can be assigned to the ENI varies based on the instance type. For more information, see [Overview of instance families](~~25378~~).
|
|
42202
|
-
* * After the operation is called,
|
|
42216
|
+
* * After the operation is called, the IPv6 addresses that are assigned to the ENI can be obtained from the response.
|
|
42203
42217
|
*
|
|
42204
42218
|
* @param request AssignIpv6AddressesRequest
|
|
42205
42219
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -42261,14 +42275,14 @@ class Client extends openapi_client_1.default {
|
|
|
42261
42275
|
return $tea.cast(await this.callApi(params, req, runtime), new AssignIpv6AddressesResponse({}));
|
|
42262
42276
|
}
|
|
42263
42277
|
/**
|
|
42264
|
-
* You can specify IPv6 addresses
|
|
42278
|
+
* You can specify IPv6 addresses within the CIDR block of the vSwitch that is connected to the ENI, or specify the number of IPv6 addresses that are automatically generated for the ENI. When you call this operation, take note of the following items:
|
|
42265
42279
|
* * IPv6 must be enabled for the vSwitch with which the ENI is associated. For more information, see [Enable IPv6 for a vSwitch](~~98923~~).
|
|
42266
42280
|
* * The ENI must be in the Available (Available) or InUse (InUse) state.
|
|
42267
42281
|
* * If you want to assign IPv6 addresses to a primary ENI, make sure that the instance to which the ENI is attached is in the Running (Running) or Stopped (Stopped) state.
|
|
42268
|
-
* * The maximum number of IPv6 addresses that can be assigned to an ENI varies
|
|
42282
|
+
* * The maximum number of IPv6 addresses that can be assigned to an ENI varies based on the instance type.
|
|
42269
42283
|
* * If the ENI is in the Available (Available) state, it can be assigned a maximum of 10 IPv6 addresses.
|
|
42270
42284
|
* * If the ENI is already attached to an Elastic Compute Service (ECS) instance, the maximum number of IPv6 addresses that can be assigned to the ENI varies based on the instance type. For more information, see [Overview of instance families](~~25378~~).
|
|
42271
|
-
* * After the operation is called,
|
|
42285
|
+
* * After the operation is called, the IPv6 addresses that are assigned to the ENI can be obtained from the response.
|
|
42272
42286
|
*
|
|
42273
42287
|
* @param request AssignIpv6AddressesRequest
|
|
42274
42288
|
* @return AssignIpv6AddressesResponse
|
|
@@ -42278,9 +42292,9 @@ class Client extends openapi_client_1.default {
|
|
|
42278
42292
|
return await this.assignIpv6AddressesWithOptions(request, runtime);
|
|
42279
42293
|
}
|
|
42280
42294
|
/**
|
|
42281
|
-
* * The ENI to which you want to assign secondary private IP addresses must be in the Available or InUse state.
|
|
42282
|
-
* * When you assign secondary private IP addresses to a primary ENI, the instance to which the ENI is attached must be in the Running or Stopped state.
|
|
42283
|
-
* * When an ENI is in the Available state, you can assign up to 50 secondary private IP addresses to it. When an ENI is attached to an instance, the number of secondary private IP addresses that can be assigned to the ENI is subject to the instance type. For more information, see [
|
|
42295
|
+
* * The ENI to which you want to assign secondary private IP addresses must be in the Available (Available) or InUse (InUse) state.
|
|
42296
|
+
* * When you assign secondary private IP addresses to a primary ENI, the instance to which the ENI is attached must be in the Running (Running) or Stopped (Stopped) state.
|
|
42297
|
+
* * When an ENI is in the Available (Available) state, you can assign up to 50 secondary private IP addresses to it. When an ENI is attached to an instance, the number of secondary private IP addresses that can be assigned to the ENI is subject to the instance type. For more information, see [Overview of instance families](~~25378~~).
|
|
42284
42298
|
* * After you call this operation for an ENI, you can obtain the secondary private IP addresses that are assigned to the ENI from the response.
|
|
42285
42299
|
*
|
|
42286
42300
|
* @param request AssignPrivateIpAddressesRequest
|
|
@@ -42343,9 +42357,9 @@ class Client extends openapi_client_1.default {
|
|
|
42343
42357
|
return $tea.cast(await this.callApi(params, req, runtime), new AssignPrivateIpAddressesResponse({}));
|
|
42344
42358
|
}
|
|
42345
42359
|
/**
|
|
42346
|
-
* * The ENI to which you want to assign secondary private IP addresses must be in the Available or InUse state.
|
|
42347
|
-
* * When you assign secondary private IP addresses to a primary ENI, the instance to which the ENI is attached must be in the Running or Stopped state.
|
|
42348
|
-
* * When an ENI is in the Available state, you can assign up to 50 secondary private IP addresses to it. When an ENI is attached to an instance, the number of secondary private IP addresses that can be assigned to the ENI is subject to the instance type. For more information, see [
|
|
42360
|
+
* * The ENI to which you want to assign secondary private IP addresses must be in the Available (Available) or InUse (InUse) state.
|
|
42361
|
+
* * When you assign secondary private IP addresses to a primary ENI, the instance to which the ENI is attached must be in the Running (Running) or Stopped (Stopped) state.
|
|
42362
|
+
* * When an ENI is in the Available (Available) state, you can assign up to 50 secondary private IP addresses to it. When an ENI is attached to an instance, the number of secondary private IP addresses that can be assigned to the ENI is subject to the instance type. For more information, see [Overview of instance families](~~25378~~).
|
|
42349
42363
|
* * After you call this operation for an ENI, you can obtain the secondary private IP addresses that are assigned to the ENI from the response.
|
|
42350
42364
|
*
|
|
42351
42365
|
* @param request AssignPrivateIpAddressesRequest
|
|
@@ -42480,11 +42494,10 @@ class Client extends openapi_client_1.default {
|
|
|
42480
42494
|
return await this.associateHaVipWithOptions(request, runtime);
|
|
42481
42495
|
}
|
|
42482
42496
|
/**
|
|
42483
|
-
* ## Description
|
|
42484
42497
|
* When you call this operation, take note of the following items:
|
|
42485
|
-
* * The instance to
|
|
42486
|
-
* * The ClassicLink feature must be enabled for the
|
|
42487
|
-
* * The instance and the VPC must
|
|
42498
|
+
* * The instance that you want to connect to a VPC must be in the **Running** or **Stopped** state.
|
|
42499
|
+
* * The ClassicLink feature must be enabled for the destination VPC. For more information, see [Create a ClassicLink connection](~~65413~~).
|
|
42500
|
+
* * The instance and the VPC must reside in the same region.
|
|
42488
42501
|
*
|
|
42489
42502
|
* @param request AttachClassicLinkVpcRequest
|
|
42490
42503
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -42528,11 +42541,10 @@ class Client extends openapi_client_1.default {
|
|
|
42528
42541
|
return $tea.cast(await this.callApi(params, req, runtime), new AttachClassicLinkVpcResponse({}));
|
|
42529
42542
|
}
|
|
42530
42543
|
/**
|
|
42531
|
-
* ## Description
|
|
42532
42544
|
* When you call this operation, take note of the following items:
|
|
42533
|
-
* * The instance to
|
|
42534
|
-
* * The ClassicLink feature must be enabled for the
|
|
42535
|
-
* * The instance and the VPC must
|
|
42545
|
+
* * The instance that you want to connect to a VPC must be in the **Running** or **Stopped** state.
|
|
42546
|
+
* * The ClassicLink feature must be enabled for the destination VPC. For more information, see [Create a ClassicLink connection](~~65413~~).
|
|
42547
|
+
* * The instance and the VPC must reside in the same region.
|
|
42536
42548
|
*
|
|
42537
42549
|
* @param request AttachClassicLinkVpcRequest
|
|
42538
42550
|
* @return AttachClassicLinkVpcResponse
|
|
@@ -42542,7 +42554,7 @@ class Client extends openapi_client_1.default {
|
|
|
42542
42554
|
return await this.attachClassicLinkVpcWithOptions(request, runtime);
|
|
42543
42555
|
}
|
|
42544
42556
|
/**
|
|
42545
|
-
* When you call this operation, take note of the following
|
|
42557
|
+
* When you call this operation, take note of the following items:
|
|
42546
42558
|
* * The disk to be attached must be in the **Unattached** (`Available`) state.
|
|
42547
42559
|
* * When the disk is attached as a data disk, take note of the following items:
|
|
42548
42560
|
* * The instance must be in the **Running** (`Running`) or **Stopped** (`Stopped`) state.
|
|
@@ -42550,10 +42562,9 @@ class Client extends openapi_client_1.default {
|
|
|
42550
42562
|
* * If the disk is a system disk detached from an instance, no limits apply to the billing method of the disk.
|
|
42551
42563
|
* * When the disk is attached as a system disk, take note of the following items:
|
|
42552
42564
|
* * The instance must be the original instance from which the system disk was detached.
|
|
42553
|
-
* * The instance must be in the **Stopped**
|
|
42565
|
+
* * The instance must be in the **Stopped** state.``
|
|
42554
42566
|
* * The logon credentials must be configured.
|
|
42555
|
-
* * If
|
|
42556
|
-
* * Disks for which the multi-attach feature is enabled can be attached only to instances that support the NVMe protocol. For more information, see [NVMe protocol](~~256487~~) and [Use the multi-attach feature](~~262105~~).
|
|
42567
|
+
* * If a response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query instance information, the instance is locked for security reasons and all operations are prohibited on it.
|
|
42557
42568
|
*
|
|
42558
42569
|
* @param request AttachDiskRequest
|
|
42559
42570
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -42612,7 +42623,7 @@ class Client extends openapi_client_1.default {
|
|
|
42612
42623
|
return $tea.cast(await this.callApi(params, req, runtime), new AttachDiskResponse({}));
|
|
42613
42624
|
}
|
|
42614
42625
|
/**
|
|
42615
|
-
* When you call this operation, take note of the following
|
|
42626
|
+
* When you call this operation, take note of the following items:
|
|
42616
42627
|
* * The disk to be attached must be in the **Unattached** (`Available`) state.
|
|
42617
42628
|
* * When the disk is attached as a data disk, take note of the following items:
|
|
42618
42629
|
* * The instance must be in the **Running** (`Running`) or **Stopped** (`Stopped`) state.
|
|
@@ -42620,10 +42631,9 @@ class Client extends openapi_client_1.default {
|
|
|
42620
42631
|
* * If the disk is a system disk detached from an instance, no limits apply to the billing method of the disk.
|
|
42621
42632
|
* * When the disk is attached as a system disk, take note of the following items:
|
|
42622
42633
|
* * The instance must be the original instance from which the system disk was detached.
|
|
42623
|
-
* * The instance must be in the **Stopped**
|
|
42634
|
+
* * The instance must be in the **Stopped** state.``
|
|
42624
42635
|
* * The logon credentials must be configured.
|
|
42625
|
-
* * If
|
|
42626
|
-
* * Disks for which the multi-attach feature is enabled can be attached only to instances that support the NVMe protocol. For more information, see [NVMe protocol](~~256487~~) and [Use the multi-attach feature](~~262105~~).
|
|
42636
|
+
* * If a response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query instance information, the instance is locked for security reasons and all operations are prohibited on it.
|
|
42627
42637
|
*
|
|
42628
42638
|
* @param request AttachDiskRequest
|
|
42629
42639
|
* @return AttachDiskResponse
|
|
@@ -42679,10 +42689,10 @@ class Client extends openapi_client_1.default {
|
|
|
42679
42689
|
/**
|
|
42680
42690
|
* When you call this operation, take note of the following items:
|
|
42681
42691
|
* * SSH key pairs are not supported on Windows instances.
|
|
42682
|
-
* * If an SSH key pair is
|
|
42683
|
-
* * If you
|
|
42684
|
-
* * If you
|
|
42685
|
-
* * If an instance already
|
|
42692
|
+
* * If an SSH key pair is bound to an instance, authentication by using the username and password is disabled for the instance.
|
|
42693
|
+
* * If you bind an SSH key pair to an instance in the **Running** (Running) state, you must call the [RebootInstance](~~25502~~) operation to restart the instance for the key pair to take effect.
|
|
42694
|
+
* * If you bind an SSH key pair to an instance in the **Stopped** state, you must call the [StartInstance](~~25500~~) operation to start the instance for the key pair to take effect.
|
|
42695
|
+
* * If an instance is already bound to an SSH key pair, the new SSH key pair will replace the original one.
|
|
42686
42696
|
*
|
|
42687
42697
|
* @param request AttachKeyPairRequest
|
|
42688
42698
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -42728,10 +42738,10 @@ class Client extends openapi_client_1.default {
|
|
|
42728
42738
|
/**
|
|
42729
42739
|
* When you call this operation, take note of the following items:
|
|
42730
42740
|
* * SSH key pairs are not supported on Windows instances.
|
|
42731
|
-
* * If an SSH key pair is
|
|
42732
|
-
* * If you
|
|
42733
|
-
* * If you
|
|
42734
|
-
* * If an instance already
|
|
42741
|
+
* * If an SSH key pair is bound to an instance, authentication by using the username and password is disabled for the instance.
|
|
42742
|
+
* * If you bind an SSH key pair to an instance in the **Running** (Running) state, you must call the [RebootInstance](~~25502~~) operation to restart the instance for the key pair to take effect.
|
|
42743
|
+
* * If you bind an SSH key pair to an instance in the **Stopped** state, you must call the [StartInstance](~~25500~~) operation to start the instance for the key pair to take effect.
|
|
42744
|
+
* * If an instance is already bound to an SSH key pair, the new SSH key pair will replace the original one.
|
|
42735
42745
|
*
|
|
42736
42746
|
* @param request AttachKeyPairRequest
|
|
42737
42747
|
* @return AttachKeyPairResponse
|
|
@@ -42741,16 +42751,16 @@ class Client extends openapi_client_1.default {
|
|
|
42741
42751
|
return await this.attachKeyPairWithOptions(request, runtime);
|
|
42742
42752
|
}
|
|
42743
42753
|
/**
|
|
42744
|
-
*
|
|
42745
|
-
* * The ENI must be in the **Available**
|
|
42746
|
-
* * The instance must be in the Running
|
|
42747
|
-
*
|
|
42748
|
-
*
|
|
42754
|
+
* Take note of the following items:
|
|
42755
|
+
* * The ENI must be in the **Available** state. You can attach an ENI to only one instance that resides in the same zone and VPC as the ENI.``
|
|
42756
|
+
* * The instance must be in the Running or Stopped state. When you attach ENIs to instances of specific instance types, make sure that the instances are in the Stopped state. For more information, see the "Instance types of the ECS instances that must be in the Stopped (Stopped) state" section in the [Bind an ENI](~~58503~~) topic.
|
|
42757
|
+
* **
|
|
42758
|
+
* **Note**If the last start time of the instance (including the start time of the instance if it is a new instance, the last restart time of the instance, and the last reactivation time of the instance) is before April 1st, 2018 and the instance is in the Running state, you must call the RebootInstance operation to restart the instance. If you do not call the RebootInstance operation to restart the instance, you cannot attach the ENI to the instance.
|
|
42759
|
+
* * You can attach multiple ENIs to one instance. For more information, see [ENI overview](~~58496~~).
|
|
42749
42760
|
* * The vSwitch to which the ENI is connected must be in the same zone and VPC as the vSwitch to which the instance is connected.
|
|
42750
|
-
* * This operation is an asynchronous operation. After this operation
|
|
42751
|
-
* .
|
|
42761
|
+
* * This operation is an asynchronous operation. After you call this operation to attach an ENI, you can view the status or events of the ENI to check whether the ENI is attached. The following figure shows the transitions between the statuses of the ENI.
|
|
42762
|
+
*  If the ENI is in the Attaching state, the ENI attachment request is sent and the ENI is being attached to the specified instance. If the ENI is in the InUse state, the ENI is attached to the specified instance. If the ENI is in the Available state, the ENI failed to be attached.
|
|
42763
|
+
* **For examples on how to call this operation, see **[Attach an ENI](~~471550~~).
|
|
42754
42764
|
*
|
|
42755
42765
|
* @param request AttachNetworkInterfaceRequest
|
|
42756
42766
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -42809,16 +42819,16 @@ class Client extends openapi_client_1.default {
|
|
|
42809
42819
|
return $tea.cast(await this.callApi(params, req, runtime), new AttachNetworkInterfaceResponse({}));
|
|
42810
42820
|
}
|
|
42811
42821
|
/**
|
|
42812
|
-
*
|
|
42813
|
-
* * The ENI must be in the **Available**
|
|
42814
|
-
* * The instance must be in the Running
|
|
42815
|
-
*
|
|
42816
|
-
*
|
|
42822
|
+
* Take note of the following items:
|
|
42823
|
+
* * The ENI must be in the **Available** state. You can attach an ENI to only one instance that resides in the same zone and VPC as the ENI.``
|
|
42824
|
+
* * The instance must be in the Running or Stopped state. When you attach ENIs to instances of specific instance types, make sure that the instances are in the Stopped state. For more information, see the "Instance types of the ECS instances that must be in the Stopped (Stopped) state" section in the [Bind an ENI](~~58503~~) topic.
|
|
42825
|
+
* **
|
|
42826
|
+
* **Note**If the last start time of the instance (including the start time of the instance if it is a new instance, the last restart time of the instance, and the last reactivation time of the instance) is before April 1st, 2018 and the instance is in the Running state, you must call the RebootInstance operation to restart the instance. If you do not call the RebootInstance operation to restart the instance, you cannot attach the ENI to the instance.
|
|
42827
|
+
* * You can attach multiple ENIs to one instance. For more information, see [ENI overview](~~58496~~).
|
|
42817
42828
|
* * The vSwitch to which the ENI is connected must be in the same zone and VPC as the vSwitch to which the instance is connected.
|
|
42818
|
-
* * This operation is an asynchronous operation. After this operation
|
|
42819
|
-
* .
|
|
42829
|
+
* * This operation is an asynchronous operation. After you call this operation to attach an ENI, you can view the status or events of the ENI to check whether the ENI is attached. The following figure shows the transitions between the statuses of the ENI.
|
|
42830
|
+
*  If the ENI is in the Attaching state, the ENI attachment request is sent and the ENI is being attached to the specified instance. If the ENI is in the InUse state, the ENI is attached to the specified instance. If the ENI is in the Available state, the ENI failed to be attached.
|
|
42831
|
+
* **For examples on how to call this operation, see **[Attach an ENI](~~471550~~).
|
|
42822
42832
|
*
|
|
42823
42833
|
* @param request AttachNetworkInterfaceRequest
|
|
42824
42834
|
* @return AttachNetworkInterfaceResponse
|
|
@@ -42828,17 +42838,18 @@ class Client extends openapi_client_1.default {
|
|
|
42828
42838
|
return await this.attachNetworkInterfaceWithOptions(request, runtime);
|
|
42829
42839
|
}
|
|
42830
42840
|
/**
|
|
42841
|
+
* In security group-related API documents, traffic is sent from the source to the destination.
|
|
42831
42842
|
* When you call this operation, take note of the following items:
|
|
42832
|
-
* * The total number of
|
|
42833
|
-
* * The valid
|
|
42834
|
-
* *
|
|
42835
|
-
* * The source can be a CIDR block specified by SourceCidrIp, Ipv6SourceCidrIp, or SourcePrefixListId
|
|
42836
|
-
* *
|
|
42837
|
-
* *
|
|
42838
|
-
* * If the specified security group rule exists in the security group, the
|
|
42839
|
-
* * The `Permissions.N` prefix is added to
|
|
42843
|
+
* * The total number of outbound and inbound rules of each security group cannot exceed 200. For more information, see the "Security group limits" section in [Limits](~~25412#SecurityGroupQuota1~~).
|
|
42844
|
+
* * The valid values of Priority range from 1 to 100. A smaller value specifies a higher priority.
|
|
42845
|
+
* * If several security group rules have the same priority, drop rules take precedence.
|
|
42846
|
+
* * The source can be a CIDR block that is specified by SourceCidrIp, Ipv6SourceCidrIp, or SourcePrefixListId. The source can also be Elastic Compute Service (ECS) instances in a security group that is specified by SourceGroupId.
|
|
42847
|
+
* * You cannot reference security groups as sources or destinations in the rules of advanced security groups.
|
|
42848
|
+
* * You can reference up to 20 security groups as sources or destinations in the rules of each basic security group.
|
|
42849
|
+
* * If the specified security group rule exists in the security group, the operation is successful but no security group rule is added to the security group.
|
|
42850
|
+
* * The `Permissions.N` prefix is added to specific parameters to generate new parameters. You cannot specify the original parameters and the parameters that contain the Permissions.N prefix at the same time. We recommend that you use the parameters that contain the `Permissions.N` prefix.
|
|
42840
42851
|
* * You can determine a security group rule by specifying one of the following groups of parameters. You cannot determine a security group rule by specifying only one parameter.
|
|
42841
|
-
* * Parameters used to specify an inbound security group rule that
|
|
42852
|
+
* * Parameters that are used to specify an inbound security group rule that manages access from a specific CIDR block: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, and SourceCidrIp. For a security group of the Virtual Private Cloud (VPC) type, you must set NicType to intranet. For a security group of the classic network type, you can set NicType to internet or intranet. Sample request:
|
|
42842
42853
|
* http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroup
|
|
42843
42854
|
* &SecurityGroupId=sg-bp67acfmxazb4p****
|
|
42844
42855
|
* &Permissions.1.SourceCidrIp=10.0.0.0/8
|
|
@@ -42847,7 +42858,7 @@ class Client extends openapi_client_1.default {
|
|
|
42847
42858
|
* &Permissions.1.NicType=intranet
|
|
42848
42859
|
* &Permissions.1.Policy=Accept
|
|
42849
42860
|
* &<Common request parameters>
|
|
42850
|
-
* * Parameters used to specify an inbound security group rule that
|
|
42861
|
+
* * Parameters that are used to specify an inbound security group rule that manages access from a security group: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, SourceGroupOwnerAccount, and SourceGroupId. If you specify this group of parameters, you must set NicType to intranet. To manage access between security groups in the classic network, you can allow or deny access from another security group within the same region to your security group. The security group that is allowed to access your security group can belong to your Alibaba Cloud account or another Alibaba Cloud account that is specified by SourceGroupOwnerAccount. To manage access between security groups in VPCs, you can allow or deny access from another security group within the same VPC to your security group. Sample request:
|
|
42851
42862
|
* http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroup
|
|
42852
42863
|
* &SecurityGroupId=sg-bp67acfmxazb4p****
|
|
42853
42864
|
* &Permissions.1.SourceGroupId=sg-1651FBB**
|
|
@@ -42857,7 +42868,7 @@ class Client extends openapi_client_1.default {
|
|
|
42857
42868
|
* &Permissions.1.NicType=intranet
|
|
42858
42869
|
* &Permissions.1.Policy=Drop
|
|
42859
42870
|
* &<Common request parameters>
|
|
42860
|
-
* * Parameters used to specify an
|
|
42871
|
+
* * Parameters that are used to specify an inbound security group rule that manages access from a prefix list: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, and SourcePrefixListId. If you specify this group of parameters, prefix lists support only security groups in VPCs. You must specify NicType to intranet. Sample request:
|
|
42861
42872
|
* http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroup
|
|
42862
42873
|
* &SecurityGroupId=sg-bp67acfmxazb4p****
|
|
42863
42874
|
* &Permissions.1.SourcePrefixListId=pl-x1j1k5ykzqlixdcy****
|
|
@@ -42867,7 +42878,7 @@ class Client extends openapi_client_1.default {
|
|
|
42867
42878
|
* &Permissions.1.NicType=intranet
|
|
42868
42879
|
* &Permissions.1.Policy=Drop
|
|
42869
42880
|
* &<Common request parameters>
|
|
42870
|
-
* * For
|
|
42881
|
+
* * For examples on how to configure security group rules, see [Security groups for different use cases](~~25475~~) and [Security group quintuple rules](~~97439~~).
|
|
42871
42882
|
*
|
|
42872
42883
|
* @param request AuthorizeSecurityGroupRequest
|
|
42873
42884
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -42974,17 +42985,18 @@ class Client extends openapi_client_1.default {
|
|
|
42974
42985
|
return $tea.cast(await this.callApi(params, req, runtime), new AuthorizeSecurityGroupResponse({}));
|
|
42975
42986
|
}
|
|
42976
42987
|
/**
|
|
42988
|
+
* In security group-related API documents, traffic is sent from the source to the destination.
|
|
42977
42989
|
* When you call this operation, take note of the following items:
|
|
42978
|
-
* * The total number of
|
|
42979
|
-
* * The valid
|
|
42980
|
-
* *
|
|
42981
|
-
* * The source can be a CIDR block specified by SourceCidrIp, Ipv6SourceCidrIp, or SourcePrefixListId
|
|
42982
|
-
* *
|
|
42983
|
-
* *
|
|
42984
|
-
* * If the specified security group rule exists in the security group, the
|
|
42985
|
-
* * The `Permissions.N` prefix is added to
|
|
42990
|
+
* * The total number of outbound and inbound rules of each security group cannot exceed 200. For more information, see the "Security group limits" section in [Limits](~~25412#SecurityGroupQuota1~~).
|
|
42991
|
+
* * The valid values of Priority range from 1 to 100. A smaller value specifies a higher priority.
|
|
42992
|
+
* * If several security group rules have the same priority, drop rules take precedence.
|
|
42993
|
+
* * The source can be a CIDR block that is specified by SourceCidrIp, Ipv6SourceCidrIp, or SourcePrefixListId. The source can also be Elastic Compute Service (ECS) instances in a security group that is specified by SourceGroupId.
|
|
42994
|
+
* * You cannot reference security groups as sources or destinations in the rules of advanced security groups.
|
|
42995
|
+
* * You can reference up to 20 security groups as sources or destinations in the rules of each basic security group.
|
|
42996
|
+
* * If the specified security group rule exists in the security group, the operation is successful but no security group rule is added to the security group.
|
|
42997
|
+
* * The `Permissions.N` prefix is added to specific parameters to generate new parameters. You cannot specify the original parameters and the parameters that contain the Permissions.N prefix at the same time. We recommend that you use the parameters that contain the `Permissions.N` prefix.
|
|
42986
42998
|
* * You can determine a security group rule by specifying one of the following groups of parameters. You cannot determine a security group rule by specifying only one parameter.
|
|
42987
|
-
* * Parameters used to specify an inbound security group rule that
|
|
42999
|
+
* * Parameters that are used to specify an inbound security group rule that manages access from a specific CIDR block: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, and SourceCidrIp. For a security group of the Virtual Private Cloud (VPC) type, you must set NicType to intranet. For a security group of the classic network type, you can set NicType to internet or intranet. Sample request:
|
|
42988
43000
|
* http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroup
|
|
42989
43001
|
* &SecurityGroupId=sg-bp67acfmxazb4p****
|
|
42990
43002
|
* &Permissions.1.SourceCidrIp=10.0.0.0/8
|
|
@@ -42993,7 +43005,7 @@ class Client extends openapi_client_1.default {
|
|
|
42993
43005
|
* &Permissions.1.NicType=intranet
|
|
42994
43006
|
* &Permissions.1.Policy=Accept
|
|
42995
43007
|
* &<Common request parameters>
|
|
42996
|
-
* * Parameters used to specify an inbound security group rule that
|
|
43008
|
+
* * Parameters that are used to specify an inbound security group rule that manages access from a security group: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, SourceGroupOwnerAccount, and SourceGroupId. If you specify this group of parameters, you must set NicType to intranet. To manage access between security groups in the classic network, you can allow or deny access from another security group within the same region to your security group. The security group that is allowed to access your security group can belong to your Alibaba Cloud account or another Alibaba Cloud account that is specified by SourceGroupOwnerAccount. To manage access between security groups in VPCs, you can allow or deny access from another security group within the same VPC to your security group. Sample request:
|
|
42997
43009
|
* http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroup
|
|
42998
43010
|
* &SecurityGroupId=sg-bp67acfmxazb4p****
|
|
42999
43011
|
* &Permissions.1.SourceGroupId=sg-1651FBB**
|
|
@@ -43003,7 +43015,7 @@ class Client extends openapi_client_1.default {
|
|
|
43003
43015
|
* &Permissions.1.NicType=intranet
|
|
43004
43016
|
* &Permissions.1.Policy=Drop
|
|
43005
43017
|
* &<Common request parameters>
|
|
43006
|
-
* * Parameters used to specify an
|
|
43018
|
+
* * Parameters that are used to specify an inbound security group rule that manages access from a prefix list: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, and SourcePrefixListId. If you specify this group of parameters, prefix lists support only security groups in VPCs. You must specify NicType to intranet. Sample request:
|
|
43007
43019
|
* http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroup
|
|
43008
43020
|
* &SecurityGroupId=sg-bp67acfmxazb4p****
|
|
43009
43021
|
* &Permissions.1.SourcePrefixListId=pl-x1j1k5ykzqlixdcy****
|
|
@@ -43013,7 +43025,7 @@ class Client extends openapi_client_1.default {
|
|
|
43013
43025
|
* &Permissions.1.NicType=intranet
|
|
43014
43026
|
* &Permissions.1.Policy=Drop
|
|
43015
43027
|
* &<Common request parameters>
|
|
43016
|
-
* * For
|
|
43028
|
+
* * For examples on how to configure security group rules, see [Security groups for different use cases](~~25475~~) and [Security group quintuple rules](~~97439~~).
|
|
43017
43029
|
*
|
|
43018
43030
|
* @param request AuthorizeSecurityGroupRequest
|
|
43019
43031
|
* @return AuthorizeSecurityGroupResponse
|
|
@@ -43023,46 +43035,7 @@ class Client extends openapi_client_1.default {
|
|
|
43023
43035
|
return await this.authorizeSecurityGroupWithOptions(request, runtime);
|
|
43024
43036
|
}
|
|
43025
43037
|
/**
|
|
43026
|
-
*
|
|
43027
|
-
* * The total number of inbound and outbound security group rules in each security group cannot exceed 200. For more information, see the "Security group limits" section in [](~~25412#SecurityGroupQuota1~~).
|
|
43028
|
-
* * You can set Policy to accept or drop for each security group rule to allow or deny access.
|
|
43029
|
-
* * The valid value of Priority ranges from 1 to 100. A smaller value indicates a higher priority.
|
|
43030
|
-
* * When several security group rules have the same priority, drop rules take precedence.
|
|
43031
|
-
* * The destination can be a CIDR block specified by DestCidrIp, Ipv6DestCidrIp, or DestPrefixListId or can be Elastic Compute Service (ECS) instances in a security group specified by DestGroupId.
|
|
43032
|
-
* * Security groups cannot be referenced as authorization objects in the rules of advanced security groups.
|
|
43033
|
-
* * Up to 20 security groups can be referenced as authorization objects in the rules of each basic security group.
|
|
43034
|
-
* * If the specified security group rule exists in the security group, the call is successful but no security group rule is created.
|
|
43035
|
-
* * The `Permissions.N` prefix is added to certain parameters to generate new parameters. Original parameters and parameters prefixed with Permissions.N cannot be specified together. We recommend that you use parameters prefixed with `Permissions.N`.
|
|
43036
|
-
* * You can determine a security group rule by specifying one of the following groups of parameters. You cannot determine a security group rule by specifying only one parameter.
|
|
43037
|
-
* * Parameters used to specify a security group rule that controls access to a specified CIDR block: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, and DestCidrIp. Sample request:
|
|
43038
|
-
* http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroupEgress
|
|
43039
|
-
* &SecurityGroupId=sg-bp67acfmxazb4ph***
|
|
43040
|
-
* &Permissions.1.IpProtocol=ICMP
|
|
43041
|
-
* &Permissions.1.DestCidrIp=10.0.0.0/8
|
|
43042
|
-
* &Permissions.1.PortRange=-1/-1
|
|
43043
|
-
* &Permissions.1.NicType=intranet
|
|
43044
|
-
* &Permissions.1.Policy=Accept
|
|
43045
|
-
* &<Common request parameters>
|
|
43046
|
-
* * Parameters used to specify a security group rule that controls access to a security group: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, DestGroupOwnerAccount, and DestGroupId. Sample request:
|
|
43047
|
-
* http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroupEgress
|
|
43048
|
-
* &SecurityGroupId=sg-bp67acfmxazb4ph***
|
|
43049
|
-
* &Permissions.1.DestGroupId=sg-bp67acfmxazb4pi***
|
|
43050
|
-
* &Permissions.1.DestGroupOwnerAccount=Test@aliyun.com
|
|
43051
|
-
* &Permissions.1.IpProtocol=TCP
|
|
43052
|
-
* &Permissions.1.PortRange=22/22
|
|
43053
|
-
* &Permissions.1.NicType=intranet
|
|
43054
|
-
* &Permissions.1.Policy=Drop
|
|
43055
|
-
* &<Common request parameters>
|
|
43056
|
-
* * Parameters used to specify a security group rule that controls access to a prefix list: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, and DestPrefixListId. In this case, prefix lists support only security groups in virtual private clouds (VPCs). NicType must be set to intranet. Sample request:
|
|
43057
|
-
* http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroupEgress
|
|
43058
|
-
* &SecurityGroupId=sg-bp67acfmxazb4ph***
|
|
43059
|
-
* &Permissions.1.DestPrefixListId=pl-x1j1k5ykzqlixdcy****
|
|
43060
|
-
* &Permissions.1.DestGroupOwnerAccount=Test@aliyun.com
|
|
43061
|
-
* &Permissions.1.IpProtocol=TCP
|
|
43062
|
-
* &Permissions.1.PortRange=22/22
|
|
43063
|
-
* &Permissions.1.NicType=intranet
|
|
43064
|
-
* &Permissions.1.Policy=Drop
|
|
43065
|
-
* &<Common request parameters>
|
|
43038
|
+
* The region ID of the source security group. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
|
|
43066
43039
|
*
|
|
43067
43040
|
* @param request AuthorizeSecurityGroupEgressRequest
|
|
43068
43041
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -43169,46 +43142,7 @@ class Client extends openapi_client_1.default {
|
|
|
43169
43142
|
return $tea.cast(await this.callApi(params, req, runtime), new AuthorizeSecurityGroupEgressResponse({}));
|
|
43170
43143
|
}
|
|
43171
43144
|
/**
|
|
43172
|
-
*
|
|
43173
|
-
* * The total number of inbound and outbound security group rules in each security group cannot exceed 200. For more information, see the "Security group limits" section in [](~~25412#SecurityGroupQuota1~~).
|
|
43174
|
-
* * You can set Policy to accept or drop for each security group rule to allow or deny access.
|
|
43175
|
-
* * The valid value of Priority ranges from 1 to 100. A smaller value indicates a higher priority.
|
|
43176
|
-
* * When several security group rules have the same priority, drop rules take precedence.
|
|
43177
|
-
* * The destination can be a CIDR block specified by DestCidrIp, Ipv6DestCidrIp, or DestPrefixListId or can be Elastic Compute Service (ECS) instances in a security group specified by DestGroupId.
|
|
43178
|
-
* * Security groups cannot be referenced as authorization objects in the rules of advanced security groups.
|
|
43179
|
-
* * Up to 20 security groups can be referenced as authorization objects in the rules of each basic security group.
|
|
43180
|
-
* * If the specified security group rule exists in the security group, the call is successful but no security group rule is created.
|
|
43181
|
-
* * The `Permissions.N` prefix is added to certain parameters to generate new parameters. Original parameters and parameters prefixed with Permissions.N cannot be specified together. We recommend that you use parameters prefixed with `Permissions.N`.
|
|
43182
|
-
* * You can determine a security group rule by specifying one of the following groups of parameters. You cannot determine a security group rule by specifying only one parameter.
|
|
43183
|
-
* * Parameters used to specify a security group rule that controls access to a specified CIDR block: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, and DestCidrIp. Sample request:
|
|
43184
|
-
* http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroupEgress
|
|
43185
|
-
* &SecurityGroupId=sg-bp67acfmxazb4ph***
|
|
43186
|
-
* &Permissions.1.IpProtocol=ICMP
|
|
43187
|
-
* &Permissions.1.DestCidrIp=10.0.0.0/8
|
|
43188
|
-
* &Permissions.1.PortRange=-1/-1
|
|
43189
|
-
* &Permissions.1.NicType=intranet
|
|
43190
|
-
* &Permissions.1.Policy=Accept
|
|
43191
|
-
* &<Common request parameters>
|
|
43192
|
-
* * Parameters used to specify a security group rule that controls access to a security group: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, DestGroupOwnerAccount, and DestGroupId. Sample request:
|
|
43193
|
-
* http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroupEgress
|
|
43194
|
-
* &SecurityGroupId=sg-bp67acfmxazb4ph***
|
|
43195
|
-
* &Permissions.1.DestGroupId=sg-bp67acfmxazb4pi***
|
|
43196
|
-
* &Permissions.1.DestGroupOwnerAccount=Test@aliyun.com
|
|
43197
|
-
* &Permissions.1.IpProtocol=TCP
|
|
43198
|
-
* &Permissions.1.PortRange=22/22
|
|
43199
|
-
* &Permissions.1.NicType=intranet
|
|
43200
|
-
* &Permissions.1.Policy=Drop
|
|
43201
|
-
* &<Common request parameters>
|
|
43202
|
-
* * Parameters used to specify a security group rule that controls access to a prefix list: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, and DestPrefixListId. In this case, prefix lists support only security groups in virtual private clouds (VPCs). NicType must be set to intranet. Sample request:
|
|
43203
|
-
* http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroupEgress
|
|
43204
|
-
* &SecurityGroupId=sg-bp67acfmxazb4ph***
|
|
43205
|
-
* &Permissions.1.DestPrefixListId=pl-x1j1k5ykzqlixdcy****
|
|
43206
|
-
* &Permissions.1.DestGroupOwnerAccount=Test@aliyun.com
|
|
43207
|
-
* &Permissions.1.IpProtocol=TCP
|
|
43208
|
-
* &Permissions.1.PortRange=22/22
|
|
43209
|
-
* &Permissions.1.NicType=intranet
|
|
43210
|
-
* &Permissions.1.Policy=Drop
|
|
43211
|
-
* &<Common request parameters>
|
|
43145
|
+
* The region ID of the source security group. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
|
|
43212
43146
|
*
|
|
43213
43147
|
* @param request AuthorizeSecurityGroupEgressRequest
|
|
43214
43148
|
* @return AuthorizeSecurityGroupEgressResponse
|
|
@@ -43258,7 +43192,7 @@ class Client extends openapi_client_1.default {
|
|
|
43258
43192
|
/**
|
|
43259
43193
|
* When you call this operation, take note of the following items:
|
|
43260
43194
|
* * After you cancel an image copy task, the image copy created in the destination region is deleted, and the copied image remains unchanged.
|
|
43261
|
-
* * If the image copy task is complete, the CancelCopyImage operation fails and an error is returned.
|
|
43195
|
+
* * If the image copy task is complete, the CancelCopyImage operation fails, and an error is returned.
|
|
43262
43196
|
*
|
|
43263
43197
|
* @param request CancelCopyImageRequest
|
|
43264
43198
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -43304,7 +43238,7 @@ class Client extends openapi_client_1.default {
|
|
|
43304
43238
|
/**
|
|
43305
43239
|
* When you call this operation, take note of the following items:
|
|
43306
43240
|
* * After you cancel an image copy task, the image copy created in the destination region is deleted, and the copied image remains unchanged.
|
|
43307
|
-
* * If the image copy task is complete, the CancelCopyImage operation fails and an error is returned.
|
|
43241
|
+
* * If the image copy task is complete, the CancelCopyImage operation fails, and an error is returned.
|
|
43308
43242
|
*
|
|
43309
43243
|
* @param request CancelCopyImageRequest
|
|
43310
43244
|
* @return CancelCopyImageResponse
|
|
@@ -43571,9 +43505,9 @@ class Client extends openapi_client_1.default {
|
|
|
43571
43505
|
return await this.connectRouterInterfaceWithOptions(request, runtime);
|
|
43572
43506
|
}
|
|
43573
43507
|
/**
|
|
43574
|
-
* After a public IP address is converted
|
|
43575
|
-
*
|
|
43576
|
-
* * The instance is in the
|
|
43508
|
+
* After a public IP address is converted into an EIP, the EIP is billed separately. Make sure that you understand the billing methods of EIPs. For more information, see [Billing overview](~~122035~~).
|
|
43509
|
+
* When you call this operation, make sure that the following requirements are met:
|
|
43510
|
+
* * The instance is in the `Stopped` or `Running` state.********
|
|
43577
43511
|
* * No EIPs are associated with the instance.
|
|
43578
43512
|
* * The instance has no configuration change tasks that have not taken effect.
|
|
43579
43513
|
* * The public bandwidth of the instance is not 0 Mbit/s.
|
|
@@ -43619,9 +43553,9 @@ class Client extends openapi_client_1.default {
|
|
|
43619
43553
|
return $tea.cast(await this.callApi(params, req, runtime), new ConvertNatPublicIpToEipResponse({}));
|
|
43620
43554
|
}
|
|
43621
43555
|
/**
|
|
43622
|
-
* After a public IP address is converted
|
|
43623
|
-
*
|
|
43624
|
-
* * The instance is in the
|
|
43556
|
+
* After a public IP address is converted into an EIP, the EIP is billed separately. Make sure that you understand the billing methods of EIPs. For more information, see [Billing overview](~~122035~~).
|
|
43557
|
+
* When you call this operation, make sure that the following requirements are met:
|
|
43558
|
+
* * The instance is in the `Stopped` or `Running` state.********
|
|
43625
43559
|
* * No EIPs are associated with the instance.
|
|
43626
43560
|
* * The instance has no configuration change tasks that have not taken effect.
|
|
43627
43561
|
* * The public bandwidth of the instance is not 0 Mbit/s.
|
|
@@ -43636,13 +43570,13 @@ class Client extends openapi_client_1.default {
|
|
|
43636
43570
|
return await this.convertNatPublicIpToEipWithOptions(request, runtime);
|
|
43637
43571
|
}
|
|
43638
43572
|
/**
|
|
43639
|
-
* After you copy a custom image (source image) to the destination region, you can use the image copy to create ECS instances by calling the RunInstances operation or replace the system disks of ECS instances by calling the ReplaceSystemDisk operation in the destination region.
|
|
43640
|
-
*
|
|
43573
|
+
* After you copy a custom image (source image) to the destination region, you can use the image copy to create ECS instances by calling the RunInstances operation or replace the system disks of the ECS instances by calling the ReplaceSystemDisk operation in the destination region.
|
|
43574
|
+
* When you call this operation, take note of the following items:
|
|
43641
43575
|
* * You can copy only custom images that are in the `Available` state.
|
|
43642
|
-
* * Custom images that you want to copy must belong to your Alibaba Cloud account or be shared
|
|
43643
|
-
* * When an image is being copied, the
|
|
43644
|
-
* * A region can have only one image copying task running at a time. Other image copying tasks queue up for the current task to complete before the tasks run in sequence.
|
|
43645
|
-
* * You can configure the `ResourceGroupId` parameter to specify the resource group to which
|
|
43576
|
+
* * Custom images that you want to copy must belong to your Alibaba Cloud account or be shared to you by others, and cannot be copied across accounts.
|
|
43577
|
+
* * When an image is being copied, the image copy cannot be deleted by calling the [DeleteImage](~~25537~~) operation. However, you can cancel the copying task that is running by calling the [CancelCopyImage](~~25539~~) operation.
|
|
43578
|
+
* * A region can have only one image copying task running at a time. Other image copying tasks queue up for the current task to complete before the tasks can run in sequence.
|
|
43579
|
+
* * You can configure the `ResourceGroupId` parameter to specify the resource group to which the image copy belongs. If you do not configure the `ResourceGroupId` parameter, the image copy belongs to the default resource group.
|
|
43646
43580
|
*
|
|
43647
43581
|
* @param request CopyImageRequest
|
|
43648
43582
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -43710,13 +43644,13 @@ class Client extends openapi_client_1.default {
|
|
|
43710
43644
|
return $tea.cast(await this.callApi(params, req, runtime), new CopyImageResponse({}));
|
|
43711
43645
|
}
|
|
43712
43646
|
/**
|
|
43713
|
-
* After you copy a custom image (source image) to the destination region, you can use the image copy to create ECS instances by calling the RunInstances operation or replace the system disks of ECS instances by calling the ReplaceSystemDisk operation in the destination region.
|
|
43714
|
-
*
|
|
43647
|
+
* After you copy a custom image (source image) to the destination region, you can use the image copy to create ECS instances by calling the RunInstances operation or replace the system disks of the ECS instances by calling the ReplaceSystemDisk operation in the destination region.
|
|
43648
|
+
* When you call this operation, take note of the following items:
|
|
43715
43649
|
* * You can copy only custom images that are in the `Available` state.
|
|
43716
|
-
* * Custom images that you want to copy must belong to your Alibaba Cloud account or be shared
|
|
43717
|
-
* * When an image is being copied, the
|
|
43718
|
-
* * A region can have only one image copying task running at a time. Other image copying tasks queue up for the current task to complete before the tasks run in sequence.
|
|
43719
|
-
* * You can configure the `ResourceGroupId` parameter to specify the resource group to which
|
|
43650
|
+
* * Custom images that you want to copy must belong to your Alibaba Cloud account or be shared to you by others, and cannot be copied across accounts.
|
|
43651
|
+
* * When an image is being copied, the image copy cannot be deleted by calling the [DeleteImage](~~25537~~) operation. However, you can cancel the copying task that is running by calling the [CancelCopyImage](~~25539~~) operation.
|
|
43652
|
+
* * A region can have only one image copying task running at a time. Other image copying tasks queue up for the current task to complete before the tasks can run in sequence.
|
|
43653
|
+
* * You can configure the `ResourceGroupId` parameter to specify the resource group to which the image copy belongs. If you do not configure the `ResourceGroupId` parameter, the image copy belongs to the default resource group.
|
|
43720
43654
|
*
|
|
43721
43655
|
* @param request CopyImageRequest
|
|
43722
43656
|
* @return CopyImageResponse
|
|
@@ -43810,19 +43744,8 @@ class Client extends openapi_client_1.default {
|
|
|
43810
43744
|
return await this.copySnapshotWithOptions(request, runtime);
|
|
43811
43745
|
}
|
|
43812
43746
|
/**
|
|
43813
|
-
*
|
|
43814
|
-
*
|
|
43815
|
-
* * Alibaba Cloud Linux 2, Alibaba Cloud Linux 3, and later
|
|
43816
|
-
* * CentOS 6, CentOS 7, CentOS 8, and later
|
|
43817
|
-
* * Debian 8, Debian 9, Debian 10, and later
|
|
43818
|
-
* * Ubuntu 12, Ubuntu 14, Ubuntu 16, Ubuntu 18, and later
|
|
43819
|
-
* * CoreOS
|
|
43820
|
-
* * OpenSUSE
|
|
43821
|
-
* * Red Hat 5, Red Hat 6, Red Hat 7, and later
|
|
43822
|
-
* * SUSE Linux Enterprise Server (SLES) 11, SLES 12, SLES 15, and later
|
|
43823
|
-
* * Windows Server 2012, Windows Server 2016, Windows Server 2019, and later
|
|
43824
|
-
* You can create up to 5,000 activation codes for managed instances within an Alibaba Cloud region. When the number of activation codes exceeds 1,000, the usage of activation codes must be greater than 50% before you can proceed to create more activation codes.
|
|
43825
|
-
* > You can go to the **Cloud Assistant** page in the Elastic Compute Service (ECS) console and click **Register Instance** on the **Managed Instances** tab to check the usage of activation codes.
|
|
43747
|
+
* The ID of the region in which you want to create the activation code. Supported regions: China (Qingdao), China (Beijing), China (Zhangjiakou), China (Hohhot), China (Hangzhou), China (Shanghai), China (Shenzhen), China (Heyuan), and China (Hong Kong).
|
|
43748
|
+
* You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
|
|
43826
43749
|
*
|
|
43827
43750
|
* @param request CreateActivationRequest
|
|
43828
43751
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -43884,19 +43807,8 @@ class Client extends openapi_client_1.default {
|
|
|
43884
43807
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateActivationResponse({}));
|
|
43885
43808
|
}
|
|
43886
43809
|
/**
|
|
43887
|
-
*
|
|
43888
|
-
*
|
|
43889
|
-
* * Alibaba Cloud Linux 2, Alibaba Cloud Linux 3, and later
|
|
43890
|
-
* * CentOS 6, CentOS 7, CentOS 8, and later
|
|
43891
|
-
* * Debian 8, Debian 9, Debian 10, and later
|
|
43892
|
-
* * Ubuntu 12, Ubuntu 14, Ubuntu 16, Ubuntu 18, and later
|
|
43893
|
-
* * CoreOS
|
|
43894
|
-
* * OpenSUSE
|
|
43895
|
-
* * Red Hat 5, Red Hat 6, Red Hat 7, and later
|
|
43896
|
-
* * SUSE Linux Enterprise Server (SLES) 11, SLES 12, SLES 15, and later
|
|
43897
|
-
* * Windows Server 2012, Windows Server 2016, Windows Server 2019, and later
|
|
43898
|
-
* You can create up to 5,000 activation codes for managed instances within an Alibaba Cloud region. When the number of activation codes exceeds 1,000, the usage of activation codes must be greater than 50% before you can proceed to create more activation codes.
|
|
43899
|
-
* > You can go to the **Cloud Assistant** page in the Elastic Compute Service (ECS) console and click **Register Instance** on the **Managed Instances** tab to check the usage of activation codes.
|
|
43810
|
+
* The ID of the region in which you want to create the activation code. Supported regions: China (Qingdao), China (Beijing), China (Zhangjiakou), China (Hohhot), China (Hangzhou), China (Shanghai), China (Shenzhen), China (Heyuan), and China (Hong Kong).
|
|
43811
|
+
* You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
|
|
43900
43812
|
*
|
|
43901
43813
|
* @param request CreateActivationRequest
|
|
43902
43814
|
* @return CreateActivationResponse
|
|
@@ -43906,10 +43818,10 @@ class Client extends openapi_client_1.default {
|
|
|
43906
43818
|
return await this.createActivationWithOptions(request, runtime);
|
|
43907
43819
|
}
|
|
43908
43820
|
/**
|
|
43909
|
-
* *
|
|
43910
|
-
* *
|
|
43911
|
-
* *
|
|
43912
|
-
* *
|
|
43821
|
+
* * Auto Provisioning is a service that allows quick deployment of an instance cluster that consists of preemptible and pay-as-you-go instances. Auto Provisioning supports push-button deployment of instance clusters across different billing methods, instance families, and zones. For more information, see [Use auto provisioning group-related API operations to create multiple ECS instances at the same time](~~200772~~).
|
|
43822
|
+
* * Auto Provisioning uses auto provisioning groups to schedule and maintain computing resources. You can use auto provisioning groups to obtain a steady supply of computing resources. This helps reduce the impact on computing capacity when preemptible instances are reclaimed.
|
|
43823
|
+
* * Auto Provisioning is provided free-of-charge. However, you are charged for instance resources that are created in auto provisioning groups. For more information about the billing, see [Overview](~~52088~~) and [Pay-as-you-go](~~40653~~).
|
|
43824
|
+
* * If you specify both the `LaunchTemplate*` and `LaunchConfiguration.*` parameters, the LaunchTemplate\\* parameter takes precedence.
|
|
43913
43825
|
*
|
|
43914
43826
|
* @param request CreateAutoProvisioningGroupRequest
|
|
43915
43827
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -44031,10 +43943,10 @@ class Client extends openapi_client_1.default {
|
|
|
44031
43943
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateAutoProvisioningGroupResponse({}));
|
|
44032
43944
|
}
|
|
44033
43945
|
/**
|
|
44034
|
-
* *
|
|
44035
|
-
* *
|
|
44036
|
-
* *
|
|
44037
|
-
* *
|
|
43946
|
+
* * Auto Provisioning is a service that allows quick deployment of an instance cluster that consists of preemptible and pay-as-you-go instances. Auto Provisioning supports push-button deployment of instance clusters across different billing methods, instance families, and zones. For more information, see [Use auto provisioning group-related API operations to create multiple ECS instances at the same time](~~200772~~).
|
|
43947
|
+
* * Auto Provisioning uses auto provisioning groups to schedule and maintain computing resources. You can use auto provisioning groups to obtain a steady supply of computing resources. This helps reduce the impact on computing capacity when preemptible instances are reclaimed.
|
|
43948
|
+
* * Auto Provisioning is provided free-of-charge. However, you are charged for instance resources that are created in auto provisioning groups. For more information about the billing, see [Overview](~~52088~~) and [Pay-as-you-go](~~40653~~).
|
|
43949
|
+
* * If you specify both the `LaunchTemplate*` and `LaunchConfiguration.*` parameters, the LaunchTemplate\\* parameter takes precedence.
|
|
44038
43950
|
*
|
|
44039
43951
|
* @param request CreateAutoProvisioningGroupRequest
|
|
44040
43952
|
* @return CreateAutoProvisioningGroupResponse
|
|
@@ -44130,12 +44042,12 @@ class Client extends openapi_client_1.default {
|
|
|
44130
44042
|
return await this.createAutoSnapshotPolicyWithOptions(request, runtime);
|
|
44131
44043
|
}
|
|
44132
44044
|
/**
|
|
44133
|
-
* When you create a capacity reservation, you can specify attributes such as a zone and an instance type.
|
|
44134
|
-
* * Currently, only immediate capacity reservations are supported. Immediate capacity reservations take effect
|
|
44135
|
-
* * You can call the [CreateInstance](~~25499~~) or [RunInstances](~~63440~~) operation to specify private pool attributes when you create instances.
|
|
44136
|
-
* * Before a capacity reservation
|
|
44137
|
-
* *
|
|
44138
|
-
* >
|
|
44045
|
+
* When you create a capacity reservation, you can specify attributes such as a zone and an instance type. The system uses a private pool to reserve resources that match the specified attributes. For more information, see [Overview of Immediate Capacity Reservation](~~193633~~).
|
|
44046
|
+
* * Currently, only immediate capacity reservations are supported. Immediate capacity reservations take effect immediately after you purchase them. After you purchase an immediate capacity reservation, you are charged for the specified instance type based on the pay-as-you-go billing method regardless of whether you use the capacity reservation to create pay-as-you-go instances. Billing stops when you manually release the capacity reservation or when the capacity reservation expires and is automatically released.
|
|
44047
|
+
* * You can call the [CreateInstance](~~25499~~) or [RunInstances](~~63440~~) operation to specify private pool attributes when you create instances. To modify the attributes of a private pool, you can call the [ModifyInstanceAttachmentAttributes](~~190006~~) operation. If an instance matches a private pool associated with a capacity reservation, you are charged based on the configurations of the instance such as the instance type, disks, and public bandwidth.
|
|
44048
|
+
* * Before you use a private pool associated with a capacity reservation to create pay-as-you-go instances, you are charged only for the specified instance type.
|
|
44049
|
+
* * You can apply savings plans or regional reserved instances to offset hourly billing of unused immediate capacity reservations, and hourly fees of the instances that match the immediate capacity reservations. However, you cannot use zonal reserved instances to offset the hourly fees. We recommend that you purchase reserved instances or savings plans before you purchase immediate capacity reservations. This way, you can access resources free of charge within the coverage of the reserved instances or savings plans.
|
|
44050
|
+
* > You can call the CreateCapacityReservation operation to create only immediate capacity reservations. You can create immediate or scheduled capacity reservations in the Elastic Compute Service (ECS) console. For more information, see [Overview](~~193626#section-oil-qh5-xvx~~).
|
|
44139
44051
|
*
|
|
44140
44052
|
* @param request CreateCapacityReservationRequest
|
|
44141
44053
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -44212,12 +44124,12 @@ class Client extends openapi_client_1.default {
|
|
|
44212
44124
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateCapacityReservationResponse({}));
|
|
44213
44125
|
}
|
|
44214
44126
|
/**
|
|
44215
|
-
* When you create a capacity reservation, you can specify attributes such as a zone and an instance type.
|
|
44216
|
-
* * Currently, only immediate capacity reservations are supported. Immediate capacity reservations take effect
|
|
44217
|
-
* * You can call the [CreateInstance](~~25499~~) or [RunInstances](~~63440~~) operation to specify private pool attributes when you create instances.
|
|
44218
|
-
* * Before a capacity reservation
|
|
44219
|
-
* *
|
|
44220
|
-
* >
|
|
44127
|
+
* When you create a capacity reservation, you can specify attributes such as a zone and an instance type. The system uses a private pool to reserve resources that match the specified attributes. For more information, see [Overview of Immediate Capacity Reservation](~~193633~~).
|
|
44128
|
+
* * Currently, only immediate capacity reservations are supported. Immediate capacity reservations take effect immediately after you purchase them. After you purchase an immediate capacity reservation, you are charged for the specified instance type based on the pay-as-you-go billing method regardless of whether you use the capacity reservation to create pay-as-you-go instances. Billing stops when you manually release the capacity reservation or when the capacity reservation expires and is automatically released.
|
|
44129
|
+
* * You can call the [CreateInstance](~~25499~~) or [RunInstances](~~63440~~) operation to specify private pool attributes when you create instances. To modify the attributes of a private pool, you can call the [ModifyInstanceAttachmentAttributes](~~190006~~) operation. If an instance matches a private pool associated with a capacity reservation, you are charged based on the configurations of the instance such as the instance type, disks, and public bandwidth.
|
|
44130
|
+
* * Before you use a private pool associated with a capacity reservation to create pay-as-you-go instances, you are charged only for the specified instance type.
|
|
44131
|
+
* * You can apply savings plans or regional reserved instances to offset hourly billing of unused immediate capacity reservations, and hourly fees of the instances that match the immediate capacity reservations. However, you cannot use zonal reserved instances to offset the hourly fees. We recommend that you purchase reserved instances or savings plans before you purchase immediate capacity reservations. This way, you can access resources free of charge within the coverage of the reserved instances or savings plans.
|
|
44132
|
+
* > You can call the CreateCapacityReservation operation to create only immediate capacity reservations. You can create immediate or scheduled capacity reservations in the Elastic Compute Service (ECS) console. For more information, see [Overview](~~193626#section-oil-qh5-xvx~~).
|
|
44221
44133
|
*
|
|
44222
44134
|
* @param request CreateCapacityReservationRequest
|
|
44223
44135
|
* @return CreateCapacityReservationResponse
|
|
@@ -44614,14 +44526,12 @@ class Client extends openapi_client_1.default {
|
|
|
44614
44526
|
return await this.createDiagnosticReportWithOptions(request, runtime);
|
|
44615
44527
|
}
|
|
44616
44528
|
/**
|
|
44617
|
-
*
|
|
44618
|
-
* * You can enable the multi-attach feature when you create a disk. We recommend that you first understand this feature and its limits. For more information, see [NVMe protocol](~~256487~~) and [Use the multi-attach feature](~~262105~~).
|
|
44619
|
-
* <!---->
|
|
44529
|
+
* * When you create a disk, the multi-attach (`MultiAttach`) feature can be enabled. Before you enable the multi-attach feature, we recommend that you get familiar with the multi-attach feature and its limits. For more information, see [NVMe protocol](~~256487~~) and [Use the multi-attach feature](~~262105~~).
|
|
44620
44530
|
* * The disk can be a basic disk, an ultra disk, a standard SSD, or an enhanced SSD (ESSD).
|
|
44621
|
-
* * When you create disks, you may be charged for the resources used. We recommend that you
|
|
44622
|
-
* * By default, the `DeleteAutoSnapshot` parameter is set to `true` when a disk is created. This
|
|
44623
|
-
* * If you do not
|
|
44624
|
-
* *
|
|
44531
|
+
* * When you create disks, you may be charged for the resources used. We recommend that you get familiar with the Elastic Compute Service (ECS) billing methods before you create a disk. For more information, see [Billing overview](~~25398~~).
|
|
44532
|
+
* * By default, the `DeleteAutoSnapshot` parameter is set to `true` when a disk is created. This specifies that the automatic snapshots be deleted when the disk is released. You can call the [ModifyDiskAttribute](~~25517~~) operation to modify the parameter.
|
|
44533
|
+
* * If you do not specify the performance level when you create an ESSD, the disk is created as a PL1 ESSD by default. You can call the [ModifyDiskSpec](~~123780~~) operation to change the performance level of the ESSD.
|
|
44534
|
+
* * Disks that are created by calling this operation have their `Portable` attribute set to `true` and the billing method set to pay-as-you-go.
|
|
44625
44535
|
*
|
|
44626
44536
|
* @param request CreateDiskRequest
|
|
44627
44537
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -44728,14 +44638,12 @@ class Client extends openapi_client_1.default {
|
|
|
44728
44638
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateDiskResponse({}));
|
|
44729
44639
|
}
|
|
44730
44640
|
/**
|
|
44731
|
-
*
|
|
44732
|
-
* * You can enable the multi-attach feature when you create a disk. We recommend that you first understand this feature and its limits. For more information, see [NVMe protocol](~~256487~~) and [Use the multi-attach feature](~~262105~~).
|
|
44733
|
-
* <!---->
|
|
44641
|
+
* * When you create a disk, the multi-attach (`MultiAttach`) feature can be enabled. Before you enable the multi-attach feature, we recommend that you get familiar with the multi-attach feature and its limits. For more information, see [NVMe protocol](~~256487~~) and [Use the multi-attach feature](~~262105~~).
|
|
44734
44642
|
* * The disk can be a basic disk, an ultra disk, a standard SSD, or an enhanced SSD (ESSD).
|
|
44735
|
-
* * When you create disks, you may be charged for the resources used. We recommend that you
|
|
44736
|
-
* * By default, the `DeleteAutoSnapshot` parameter is set to `true` when a disk is created. This
|
|
44737
|
-
* * If you do not
|
|
44738
|
-
* *
|
|
44643
|
+
* * When you create disks, you may be charged for the resources used. We recommend that you get familiar with the Elastic Compute Service (ECS) billing methods before you create a disk. For more information, see [Billing overview](~~25398~~).
|
|
44644
|
+
* * By default, the `DeleteAutoSnapshot` parameter is set to `true` when a disk is created. This specifies that the automatic snapshots be deleted when the disk is released. You can call the [ModifyDiskAttribute](~~25517~~) operation to modify the parameter.
|
|
44645
|
+
* * If you do not specify the performance level when you create an ESSD, the disk is created as a PL1 ESSD by default. You can call the [ModifyDiskSpec](~~123780~~) operation to change the performance level of the ESSD.
|
|
44646
|
+
* * Disks that are created by calling this operation have their `Portable` attribute set to `true` and the billing method set to pay-as-you-go.
|
|
44739
44647
|
*
|
|
44740
44648
|
* @param request CreateDiskRequest
|
|
44741
44649
|
* @return CreateDiskResponse
|
|
@@ -44748,7 +44656,7 @@ class Client extends openapi_client_1.default {
|
|
|
44748
44656
|
* Elasticity Assurance provides a new method to purchase and use resources with flexibility and assurance. It offers assured resource reservations for pay-as-you-go Elastic Compute Service (ECS) instances. For more information, see [Overview of Elasticity Assurance](~~193630~~).
|
|
44749
44657
|
* * Elasticity assurances are not refundable after purchase.
|
|
44750
44658
|
* * Elasticity assurances are applicable to only pay-as-you-go ECS instances.
|
|
44751
|
-
* * Elasticity assurances only support
|
|
44659
|
+
* * Elasticity assurances only support unlimited mode. Therefore, you must set `AssuranceTimes` to `Unlimited`. Elasticity assurances in unlimited mode can be applied an unlimited number of times within their effective period and take effect immediately after they are purchased.
|
|
44752
44660
|
*
|
|
44753
44661
|
* @param request CreateElasticityAssuranceRequest
|
|
44754
44662
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -44831,7 +44739,7 @@ class Client extends openapi_client_1.default {
|
|
|
44831
44739
|
* Elasticity Assurance provides a new method to purchase and use resources with flexibility and assurance. It offers assured resource reservations for pay-as-you-go Elastic Compute Service (ECS) instances. For more information, see [Overview of Elasticity Assurance](~~193630~~).
|
|
44832
44740
|
* * Elasticity assurances are not refundable after purchase.
|
|
44833
44741
|
* * Elasticity assurances are applicable to only pay-as-you-go ECS instances.
|
|
44834
|
-
* * Elasticity assurances only support
|
|
44742
|
+
* * Elasticity assurances only support unlimited mode. Therefore, you must set `AssuranceTimes` to `Unlimited`. Elasticity assurances in unlimited mode can be applied an unlimited number of times within their effective period and take effect immediately after they are purchased.
|
|
44835
44743
|
*
|
|
44836
44744
|
* @param request CreateElasticityAssuranceRequest
|
|
44837
44745
|
* @return CreateElasticityAssuranceResponse
|
|
@@ -45028,17 +44936,17 @@ class Client extends openapi_client_1.default {
|
|
|
45028
44936
|
}
|
|
45029
44937
|
/**
|
|
45030
44938
|
* When you call this operation, take note of the following items:
|
|
45031
|
-
* * You can use the created custom image only
|
|
45032
|
-
* * If the
|
|
45033
|
-
* 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
|
|
45034
|
-
* * **Method 1**: Create a custom image from an instance. You need to only specify the
|
|
45035
|
-
* * **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
|
|
45036
|
-
* * **Method 3**: Create a custom image from multiple disk snapshots. You must specify the data mapping between the disks and the snapshots
|
|
45037
|
-
* When you use
|
|
44939
|
+
* * You can use the created custom image only when the image is in the Available state.
|
|
44940
|
+
* * If the responses contain `{"OperationLocks": {"LockReason" : "security"}}` when you query instance information, the instance is locked for security reasons. In this case, no operation can be performed on the instance.
|
|
44941
|
+
* 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 parameters, the custom image is created based on the parameter that has a higher priority.
|
|
44942
|
+
* * **Method 1**: Create a custom image from an instance. You need to only specify the instance ID (`InstanceId`). The instance must be in the `Running` or `Stopped` state. After the CreateImage operation is called, a snapshot is created for each disk of the instance. When you create a custom image from a running instance, some cache data may not be written to the disks. As a result, the data of the created custom image may be slightly inconsistent with that of the instance. We recommend that you create custom images from instances after you stop the instances ([StopInstances](~~155372~~)).
|
|
44943
|
+
* * **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 (`SnapshotId`). The specified snapshot must be created on or after July 15, 2013.
|
|
44944
|
+
* * **Method 3**: Create a custom image from multiple disk snapshots. You must specify the data mapping between the disks and the snapshots (`DiskDeviceMapping`).
|
|
44945
|
+
* When you use method 3 to create a custom image, take note of the following items:
|
|
45038
44946
|
* * You can specify only one system disk snapshot. The device name of the system disk must be /dev/xvda.
|
|
45039
|
-
* * You can specify multiple data disk snapshots. The device names of the data disks
|
|
45040
|
-
* * You can leave the `SnapshotId` parameter empty. In this case, an empty data disk
|
|
45041
|
-
* * The specified disk snapshot must be created after July 15, 2013.
|
|
44947
|
+
* * You can specify multiple data disk snapshots. The device names of the data disks must be unique and in alphabetical order from /dev/xvdb to /dev/xvdz.
|
|
44948
|
+
* * You can leave the `SnapshotId` parameter empty. In this case, an empty data disk with a specified size is created.
|
|
44949
|
+
* * The specified disk snapshot must be created on or after July 15, 2013.
|
|
45042
44950
|
*
|
|
45043
44951
|
* @param request CreateImageRequest
|
|
45044
44952
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -45122,17 +45030,17 @@ class Client extends openapi_client_1.default {
|
|
|
45122
45030
|
}
|
|
45123
45031
|
/**
|
|
45124
45032
|
* When you call this operation, take note of the following items:
|
|
45125
|
-
* * You can use the created custom image only
|
|
45126
|
-
* * If the
|
|
45127
|
-
* 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
|
|
45128
|
-
* * **Method 1**: Create a custom image from an instance. You need to only specify the
|
|
45129
|
-
* * **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
|
|
45130
|
-
* * **Method 3**: Create a custom image from multiple disk snapshots. You must specify the data mapping between the disks and the snapshots
|
|
45131
|
-
* When you use
|
|
45033
|
+
* * You can use the created custom image only when the image is in the Available state.
|
|
45034
|
+
* * If the responses contain `{"OperationLocks": {"LockReason" : "security"}}` when you query instance information, the instance is locked for security reasons. In this case, no operation can be performed on the instance.
|
|
45035
|
+
* 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 parameters, the custom image is created based on the parameter that has a higher priority.
|
|
45036
|
+
* * **Method 1**: Create a custom image from an instance. You need to only specify the instance ID (`InstanceId`). The instance must be in the `Running` or `Stopped` state. After the CreateImage operation is called, a snapshot is created for each disk of the instance. When you create a custom image from a running instance, some cache data may not be written to the disks. As a result, the data of the created custom image may be slightly inconsistent with that of the instance. We recommend that you create custom images from instances after you stop the instances ([StopInstances](~~155372~~)).
|
|
45037
|
+
* * **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 (`SnapshotId`). The specified snapshot must be created on or after July 15, 2013.
|
|
45038
|
+
* * **Method 3**: Create a custom image from multiple disk snapshots. You must specify the data mapping between the disks and the snapshots (`DiskDeviceMapping`).
|
|
45039
|
+
* When you use method 3 to create a custom image, take note of the following items:
|
|
45132
45040
|
* * You can specify only one system disk snapshot. The device name of the system disk must be /dev/xvda.
|
|
45133
|
-
* * You can specify multiple data disk snapshots. The device names of the data disks
|
|
45134
|
-
* * You can leave the `SnapshotId` parameter empty. In this case, an empty data disk
|
|
45135
|
-
* * The specified disk snapshot must be created after July 15, 2013.
|
|
45041
|
+
* * You can specify multiple data disk snapshots. The device names of the data disks must be unique and in alphabetical order from /dev/xvdb to /dev/xvdz.
|
|
45042
|
+
* * You can leave the `SnapshotId` parameter empty. In this case, an empty data disk with a specified size is created.
|
|
45043
|
+
* * The specified disk snapshot must be created on or after July 15, 2013.
|
|
45136
45044
|
*
|
|
45137
45045
|
* @param request CreateImageRequest
|
|
45138
45046
|
* @return CreateImageResponse
|
|
@@ -45141,18 +45049,6 @@ class Client extends openapi_client_1.default {
|
|
|
45141
45049
|
let runtime = new $Util.RuntimeOptions({});
|
|
45142
45050
|
return await this.createImageWithOptions(request, runtime);
|
|
45143
45051
|
}
|
|
45144
|
-
/**
|
|
45145
|
-
* When you call this operation, take note of the following items:
|
|
45146
|
-
* * Only custom image components can be created.
|
|
45147
|
-
* * Image components can be used to create only Linux images, so you must set the `SystemType` parameter to Linux.
|
|
45148
|
-
* * You must configure the image component type to image building component by setting the `ComponentType` parameter to Build.
|
|
45149
|
-
* * You can use Dockerfile to edit the content of image components and then pass the edited content into the `Content` parameter. The content cannot be greater than 16 KB in size and can contain up to 127 commands. `FROM` commands cannot be used in image components. For information about the commands that are supported, see [Commands supported by Image Builder](~~200206~~).
|
|
45150
|
-
* You can use image components to create image templates in the Elastic Compute Service (ECS) console, but cannot call API operations to use image components to create image templates. For more information, see [Overview](~~197410~~).
|
|
45151
|
-
*
|
|
45152
|
-
* @param request CreateImageComponentRequest
|
|
45153
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
45154
|
-
* @return CreateImageComponentResponse
|
|
45155
|
-
*/
|
|
45156
45052
|
async createImageComponentWithOptions(request, runtime) {
|
|
45157
45053
|
tea_util_1.default.validateModel(request);
|
|
45158
45054
|
let query = {};
|
|
@@ -45217,31 +45113,20 @@ class Client extends openapi_client_1.default {
|
|
|
45217
45113
|
});
|
|
45218
45114
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateImageComponentResponse({}));
|
|
45219
45115
|
}
|
|
45220
|
-
/**
|
|
45221
|
-
* When you call this operation, take note of the following items:
|
|
45222
|
-
* * Only custom image components can be created.
|
|
45223
|
-
* * Image components can be used to create only Linux images, so you must set the `SystemType` parameter to Linux.
|
|
45224
|
-
* * You must configure the image component type to image building component by setting the `ComponentType` parameter to Build.
|
|
45225
|
-
* * You can use Dockerfile to edit the content of image components and then pass the edited content into the `Content` parameter. The content cannot be greater than 16 KB in size and can contain up to 127 commands. `FROM` commands cannot be used in image components. For information about the commands that are supported, see [Commands supported by Image Builder](~~200206~~).
|
|
45226
|
-
* You can use image components to create image templates in the Elastic Compute Service (ECS) console, but cannot call API operations to use image components to create image templates. For more information, see [Overview](~~197410~~).
|
|
45227
|
-
*
|
|
45228
|
-
* @param request CreateImageComponentRequest
|
|
45229
|
-
* @return CreateImageComponentResponse
|
|
45230
|
-
*/
|
|
45231
45116
|
async createImageComponent(request) {
|
|
45232
45117
|
let runtime = new $Util.RuntimeOptions({});
|
|
45233
45118
|
return await this.createImageComponentWithOptions(request, runtime);
|
|
45234
45119
|
}
|
|
45235
45120
|
/**
|
|
45236
|
-
* You can use image templates to specify custom image content and create images across regions and accounts. When you
|
|
45121
|
+
* You can use image templates to specify custom image content and create images across regions and accounts. When you call this operation, take note of the following items:
|
|
45237
45122
|
* * You can create only custom image templates.
|
|
45238
|
-
* * You can
|
|
45239
|
-
* * When you use an image template to create an image, you must create an intermediate instance
|
|
45123
|
+
* * You can configure only public, custom, or shared Linux images or image families as the source images when you create image templates.
|
|
45124
|
+
* * When you use an image template to create an image, you must create an intermediate Elastic Compute Service (ECS) instance to help create the image. The intermediate instance is billed by using the pay-as-you-go billing method. For more information, see [Pay-as-you-go](~~40653~~).
|
|
45240
45125
|
* For the `BuildContent` parameter that specifies the content of image templates, take note of the following items:
|
|
45241
|
-
* * If the
|
|
45242
|
-
* * If the
|
|
45243
|
-
* * You can use Dockerfile to
|
|
45244
|
-
* You can use image components to create image templates in the
|
|
45126
|
+
* * If the `BuildContent` value contains `FROM` commands, the `FROM` commands override the values of `BaseImageType` that specifies the type of the source images and `BaseImage` that specifies the source image.
|
|
45127
|
+
* * If the `BuildContent` value does not contain `FROM` commands, the system creates a `FROM` command that consists of the `BaseImageType` and `BaseImage` values in the format of `<BaseImageType>:<BaseImage>` and adds the command to the first line of the template content.
|
|
45128
|
+
* * You can use Dockerfile to edit the content of image templates and then pass the edited content into the `BuildContent` parameter. The content of an image template cannot exceed 16 KB in size and can contain up to 127 commands. For information about commands supported by image templates, see [Description of commands supported by Image Builder](~~200206~~).
|
|
45129
|
+
* You can use image components to create image templates in the ECS console, but cannot call API operations to use image components to create image templates. For more information, see [Overview of Image Builder](~~197410~~).
|
|
45245
45130
|
*
|
|
45246
45131
|
* @param request CreateImagePipelineRequest
|
|
45247
45132
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -45336,15 +45221,15 @@ class Client extends openapi_client_1.default {
|
|
|
45336
45221
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateImagePipelineResponse({}));
|
|
45337
45222
|
}
|
|
45338
45223
|
/**
|
|
45339
|
-
* You can use image templates to specify custom image content and create images across regions and accounts. When you
|
|
45224
|
+
* You can use image templates to specify custom image content and create images across regions and accounts. When you call this operation, take note of the following items:
|
|
45340
45225
|
* * You can create only custom image templates.
|
|
45341
|
-
* * You can
|
|
45342
|
-
* * When you use an image template to create an image, you must create an intermediate instance
|
|
45226
|
+
* * You can configure only public, custom, or shared Linux images or image families as the source images when you create image templates.
|
|
45227
|
+
* * When you use an image template to create an image, you must create an intermediate Elastic Compute Service (ECS) instance to help create the image. The intermediate instance is billed by using the pay-as-you-go billing method. For more information, see [Pay-as-you-go](~~40653~~).
|
|
45343
45228
|
* For the `BuildContent` parameter that specifies the content of image templates, take note of the following items:
|
|
45344
|
-
* * If the
|
|
45345
|
-
* * If the
|
|
45346
|
-
* * You can use Dockerfile to
|
|
45347
|
-
* You can use image components to create image templates in the
|
|
45229
|
+
* * If the `BuildContent` value contains `FROM` commands, the `FROM` commands override the values of `BaseImageType` that specifies the type of the source images and `BaseImage` that specifies the source image.
|
|
45230
|
+
* * If the `BuildContent` value does not contain `FROM` commands, the system creates a `FROM` command that consists of the `BaseImageType` and `BaseImage` values in the format of `<BaseImageType>:<BaseImage>` and adds the command to the first line of the template content.
|
|
45231
|
+
* * You can use Dockerfile to edit the content of image templates and then pass the edited content into the `BuildContent` parameter. The content of an image template cannot exceed 16 KB in size and can contain up to 127 commands. For information about commands supported by image templates, see [Description of commands supported by Image Builder](~~200206~~).
|
|
45232
|
+
* You can use image components to create image templates in the ECS console, but cannot call API operations to use image components to create image templates. For more information, see [Overview of Image Builder](~~197410~~).
|
|
45348
45233
|
*
|
|
45349
45234
|
* @param request CreateImagePipelineRequest
|
|
45350
45235
|
* @return CreateImagePipelineResponse
|
|
@@ -45890,7 +45775,6 @@ class Client extends openapi_client_1.default {
|
|
|
45890
45775
|
return await this.createLaunchTemplateWithOptions(request, runtime);
|
|
45891
45776
|
}
|
|
45892
45777
|
/**
|
|
45893
|
-
* ## Description
|
|
45894
45778
|
* 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. A maximum of 30 versions can be created for each launch template.
|
|
45895
45779
|
*
|
|
45896
45780
|
* @param request CreateLaunchTemplateVersionRequest
|
|
@@ -46052,7 +45936,6 @@ class Client extends openapi_client_1.default {
|
|
|
46052
45936
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateLaunchTemplateVersionResponse({}));
|
|
46053
45937
|
}
|
|
46054
45938
|
/**
|
|
46055
|
-
* ## Description
|
|
46056
45939
|
* 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. A maximum of 30 versions can be created for each launch template.
|
|
46057
45940
|
*
|
|
46058
45941
|
* @param request CreateLaunchTemplateVersionRequest
|
|
@@ -46131,7 +46014,6 @@ class Client extends openapi_client_1.default {
|
|
|
46131
46014
|
return await this.createNatGatewayWithOptions(request, runtime);
|
|
46132
46015
|
}
|
|
46133
46016
|
/**
|
|
46134
|
-
* ## Description
|
|
46135
46017
|
* When you call this operation, take note of the following items:
|
|
46136
46018
|
* * This operation is a synchronous operation. After an ENI is created, it immediately enters the Available state and can be attached to an Elastic Compute Service (ECS) instance.
|
|
46137
46019
|
* * If the NetworkInterfaceId parameter is empty in the response, it indicates that no ENI is created. Call the operation again to create an ENI.
|
|
@@ -46252,7 +46134,6 @@ class Client extends openapi_client_1.default {
|
|
|
46252
46134
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateNetworkInterfaceResponse({}));
|
|
46253
46135
|
}
|
|
46254
46136
|
/**
|
|
46255
|
-
* ## Description
|
|
46256
46137
|
* When you call this operation, take note of the following items:
|
|
46257
46138
|
* * This operation is a synchronous operation. After an ENI is created, it immediately enters the Available state and can be attached to an Elastic Compute Service (ECS) instance.
|
|
46258
46139
|
* * If the NetworkInterfaceId parameter is empty in the response, it indicates that no ENI is created. Call the operation again to create an ENI.
|
|
@@ -46412,14 +46293,7 @@ class Client extends openapi_client_1.default {
|
|
|
46412
46293
|
return await this.createPhysicalConnectionWithOptions(request, runtime);
|
|
46413
46294
|
}
|
|
46414
46295
|
/**
|
|
46415
|
-
*
|
|
46416
|
-
* * A prefix list is a set of one or more network prefixes (CIDR blocks). You can reference prefix lists to configure network rules for other network resources. For more information, see [Overview](~~206223~~).
|
|
46417
|
-
* * When you create a prefix list, take note of the following items:
|
|
46418
|
-
* * You must specify an IP address family (IPv4 or IPv6) for the prefix list, and cannot change the IP address family after the prefix list is created. You cannot combine IPv4 and IPv6 CIDR blocks in a single prefix list.
|
|
46419
|
-
* * You must specify the maximum number of entries that the prefix list can contain. You cannot modify the maximum number of entries after the prefix list is created.
|
|
46420
|
-
* * You can specify one or more entries for the prefix list. Each entry consists of a CIDR block and a description for the CIDR block. The total number of your specified entries cannot exceed the maximum number.
|
|
46421
|
-
* * For more information about the limits on prefix lists and other resources, see [Limits](~~25412~~).
|
|
46422
|
-
* * You can create RAM users and grant them minimum permissions. This eliminates the need to share the AccessKey pair of your Alibaba Cloud account with other users and reduces security risks for your enterprises. For information about how to grant permissions on prefix lists to RAM users, see [Grant permissions on prefix lists to RAM users](~~206175~~)
|
|
46296
|
+
* PrefixListNameSample
|
|
46423
46297
|
*
|
|
46424
46298
|
* @param request CreatePrefixListRequest
|
|
46425
46299
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -46481,14 +46355,7 @@ class Client extends openapi_client_1.default {
|
|
|
46481
46355
|
return $tea.cast(await this.callApi(params, req, runtime), new CreatePrefixListResponse({}));
|
|
46482
46356
|
}
|
|
46483
46357
|
/**
|
|
46484
|
-
*
|
|
46485
|
-
* * A prefix list is a set of one or more network prefixes (CIDR blocks). You can reference prefix lists to configure network rules for other network resources. For more information, see [Overview](~~206223~~).
|
|
46486
|
-
* * When you create a prefix list, take note of the following items:
|
|
46487
|
-
* * You must specify an IP address family (IPv4 or IPv6) for the prefix list, and cannot change the IP address family after the prefix list is created. You cannot combine IPv4 and IPv6 CIDR blocks in a single prefix list.
|
|
46488
|
-
* * You must specify the maximum number of entries that the prefix list can contain. You cannot modify the maximum number of entries after the prefix list is created.
|
|
46489
|
-
* * You can specify one or more entries for the prefix list. Each entry consists of a CIDR block and a description for the CIDR block. The total number of your specified entries cannot exceed the maximum number.
|
|
46490
|
-
* * For more information about the limits on prefix lists and other resources, see [Limits](~~25412~~).
|
|
46491
|
-
* * You can create RAM users and grant them minimum permissions. This eliminates the need to share the AccessKey pair of your Alibaba Cloud account with other users and reduces security risks for your enterprises. For information about how to grant permissions on prefix lists to RAM users, see [Grant permissions on prefix lists to RAM users](~~206175~~)
|
|
46358
|
+
* PrefixListNameSample
|
|
46492
46359
|
*
|
|
46493
46360
|
* @param request CreatePrefixListRequest
|
|
46494
46361
|
* @return CreatePrefixListResponse
|
|
@@ -46689,7 +46556,7 @@ class Client extends openapi_client_1.default {
|
|
|
46689
46556
|
}
|
|
46690
46557
|
/**
|
|
46691
46558
|
* When you call this operation, take note of the following items:
|
|
46692
|
-
* * You can create up to 100 security groups
|
|
46559
|
+
* * You can create up to 100 security groups within a single Alibaba Cloud region.
|
|
46693
46560
|
* * To create a security group of the Virtual Private Cloud (VPC) type, you must specify the VpcId parameter.
|
|
46694
46561
|
*
|
|
46695
46562
|
* @param request CreateSecurityGroupRequest
|
|
@@ -46756,7 +46623,7 @@ class Client extends openapi_client_1.default {
|
|
|
46756
46623
|
}
|
|
46757
46624
|
/**
|
|
46758
46625
|
* When you call this operation, take note of the following items:
|
|
46759
|
-
* * You can create up to 100 security groups
|
|
46626
|
+
* * You can create up to 100 security groups within a single Alibaba Cloud region.
|
|
46760
46627
|
* * To create a security group of the Virtual Private Cloud (VPC) type, you must specify the VpcId parameter.
|
|
46761
46628
|
*
|
|
46762
46629
|
* @param request CreateSecurityGroupRequest
|
|
@@ -46840,21 +46707,21 @@ class Client extends openapi_client_1.default {
|
|
|
46840
46707
|
return await this.createSimulatedSystemEventsWithOptions(request, runtime);
|
|
46841
46708
|
}
|
|
46842
46709
|
/**
|
|
46843
|
-
* The local snapshot feature is replaced by the instant access feature.
|
|
46710
|
+
* The local snapshot feature is replaced by the instant access feature. Parameter description:
|
|
46844
46711
|
* * If you used the local snapshot feature before December 14, 2020, you can use the `Category` or `InstantAccess` parameter as expected and must take note of the following items:
|
|
46845
46712
|
* * The `Category` and `InstantAccess` parameters cannot be specified at the same time.
|
|
46846
|
-
* * If
|
|
46713
|
+
* * If neither the `Category` nor `InstantAccess` parameters is specified, normal snapshots are created.
|
|
46847
46714
|
* * If you did not use the local snapshot feature before December 14, 2020, you can use the `InstantAccess` parameter but cannot use the `Category` parameter.
|
|
46848
46715
|
* You cannot create snapshots for a disk in the following scenarios:
|
|
46849
46716
|
* * The number of manual snapshots of the disk has reached 256.
|
|
46850
46717
|
* * A snapshot is being created for the disk.
|
|
46851
46718
|
* * The instance to which the disk is attached has never been started.
|
|
46852
|
-
* * The ECS instance to which the disk is attached is not in the **Stopped**
|
|
46719
|
+
* * The ECS instance to which the disk is attached is not in the **Stopped** or **Running** state.````
|
|
46853
46720
|
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the instance is locked for security reasons. No operations are allowed on the instance.
|
|
46854
46721
|
* When you create a snapshot, take note of the following items:
|
|
46855
46722
|
* * If a snapshot is being created, you cannot use this snapshot to create a custom image by calling the [CreateImage](~~25535~~) operation.
|
|
46856
46723
|
* * When a snapshot is being created for a disk that is attached to an instance, do not change the instance state.
|
|
46857
|
-
* * You can create snapshots for a disk that is in the **Expired**
|
|
46724
|
+
* * You can create snapshots for a disk that is in the **Expired** state.`` If the release time scheduled for a disk arrives while a snapshot is being created for the disk, the snapshot is in the **Creating** state and is deleted when the disk is released.``
|
|
46858
46725
|
*
|
|
46859
46726
|
* @param request CreateSnapshotRequest
|
|
46860
46727
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -46925,21 +46792,21 @@ class Client extends openapi_client_1.default {
|
|
|
46925
46792
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateSnapshotResponse({}));
|
|
46926
46793
|
}
|
|
46927
46794
|
/**
|
|
46928
|
-
* The local snapshot feature is replaced by the instant access feature.
|
|
46795
|
+
* The local snapshot feature is replaced by the instant access feature. Parameter description:
|
|
46929
46796
|
* * If you used the local snapshot feature before December 14, 2020, you can use the `Category` or `InstantAccess` parameter as expected and must take note of the following items:
|
|
46930
46797
|
* * The `Category` and `InstantAccess` parameters cannot be specified at the same time.
|
|
46931
|
-
* * If
|
|
46798
|
+
* * If neither the `Category` nor `InstantAccess` parameters is specified, normal snapshots are created.
|
|
46932
46799
|
* * If you did not use the local snapshot feature before December 14, 2020, you can use the `InstantAccess` parameter but cannot use the `Category` parameter.
|
|
46933
46800
|
* You cannot create snapshots for a disk in the following scenarios:
|
|
46934
46801
|
* * The number of manual snapshots of the disk has reached 256.
|
|
46935
46802
|
* * A snapshot is being created for the disk.
|
|
46936
46803
|
* * The instance to which the disk is attached has never been started.
|
|
46937
|
-
* * The ECS instance to which the disk is attached is not in the **Stopped**
|
|
46804
|
+
* * The ECS instance to which the disk is attached is not in the **Stopped** or **Running** state.````
|
|
46938
46805
|
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the instance is locked for security reasons. No operations are allowed on the instance.
|
|
46939
46806
|
* When you create a snapshot, take note of the following items:
|
|
46940
46807
|
* * If a snapshot is being created, you cannot use this snapshot to create a custom image by calling the [CreateImage](~~25535~~) operation.
|
|
46941
46808
|
* * When a snapshot is being created for a disk that is attached to an instance, do not change the instance state.
|
|
46942
|
-
* * You can create snapshots for a disk that is in the **Expired**
|
|
46809
|
+
* * You can create snapshots for a disk that is in the **Expired** state.`` If the release time scheduled for a disk arrives while a snapshot is being created for the disk, the snapshot is in the **Creating** state and is deleted when the disk is released.``
|
|
46943
46810
|
*
|
|
46944
46811
|
* @param request CreateSnapshotRequest
|
|
46945
46812
|
* @return CreateSnapshotResponse
|
|
@@ -46949,17 +46816,17 @@ class Client extends openapi_client_1.default {
|
|
|
46949
46816
|
return await this.createSnapshotWithOptions(request, runtime);
|
|
46950
46817
|
}
|
|
46951
46818
|
/**
|
|
46952
|
-
* You can specify `InstanceId` to create a snapshot-consistent group for the specified disks
|
|
46953
|
-
* > You cannot specify both `DiskId.N` and `ExcludeDiskId.N
|
|
46819
|
+
* You can specify `InstanceId` to create a snapshot-consistent group for the specified cloud disks of an instance. You can also specify `DiskId.N` to create a snapshot-consistent group for multiple cloud disks that are attached to multiple instances within the same zone.
|
|
46820
|
+
* > You cannot specify both `DiskId.N` and `ExcludeDiskId.N` in the same request. If `InstanceId` is set, you can use `DiskId.N` to specify only cloud disks attached to the instance specified by InstanceId. You cannot use DiskId.N to specify cloud disks attached to multiple instances.
|
|
46954
46821
|
* When you call this operation, take note of the following items:
|
|
46955
|
-
* * The disk for which you want to create a snapshot must be in the **In Use**
|
|
46956
|
-
* * If the disk is in the **In Use**
|
|
46957
|
-
* * If the disk is in the **Unattached** (`Available`) state, make sure that the disk has been attached to an ECS instance. Snapshots cannot be created for disks that have never been attached to ECS
|
|
46822
|
+
* * The cloud disk for which you want to create a snapshot must be in the **In Use**or **Unattached** (`Available`) state.``
|
|
46823
|
+
* * If the cloud disk is in the **In Use** state, the instance to which the cloud disk is attached must be in the **Running**or **Stopped** state.``````
|
|
46824
|
+
* * If the cloud disk is in the **Unattached** (`Available`) state, make sure that the cloud disk has been attached to an ECS instance. Snapshots cannot be created for cloud disks that have never been attached to an ECS instance.
|
|
46958
46825
|
* * The snapshot-consistent group feature can be used to create snapshots only for enhanced SSDs (ESSDs).
|
|
46959
|
-
* * A
|
|
46960
|
-
* * Snapshots that you created by using the snapshot-consistent group feature are retained until they are deleted. We recommend that you delete unnecessary snapshots on a regular basis to prevent them from incurring
|
|
46961
|
-
* * Snapshot-consistent groups cannot be created for disks that have the multi-attach feature enabled. If disks
|
|
46962
|
-
* For information about the snapshot-consistent group feature
|
|
46826
|
+
* * A snapshot-consistent group can contain snapshots of up to 16 cloud disks (including the system disk and data disks) whose total disk size does not exceed 32 TiB.
|
|
46827
|
+
* * Snapshots that you created by using the snapshot-consistent group feature are retained until they are deleted. We recommend that you delete unnecessary snapshots on a regular basis to prevent them from incurring excess fees.
|
|
46828
|
+
* * Snapshot-consistent groups cannot be created for cloud disks that have the multi-attach feature enabled. If cloud disks for which the multi-attach feature is enabled are attached to an instance, you must set `ExcludeDiskId.N` to exclude these cloud disks.
|
|
46829
|
+
* For more information about the snapshot-consistent group feature, see [Create a snapshot-consistent group](~~199625~~).
|
|
46963
46830
|
*
|
|
46964
46831
|
* @param request CreateSnapshotGroupRequest
|
|
46965
46832
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -47030,17 +46897,17 @@ class Client extends openapi_client_1.default {
|
|
|
47030
46897
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateSnapshotGroupResponse({}));
|
|
47031
46898
|
}
|
|
47032
46899
|
/**
|
|
47033
|
-
* You can specify `InstanceId` to create a snapshot-consistent group for the specified disks
|
|
47034
|
-
* > You cannot specify both `DiskId.N` and `ExcludeDiskId.N
|
|
46900
|
+
* You can specify `InstanceId` to create a snapshot-consistent group for the specified cloud disks of an instance. You can also specify `DiskId.N` to create a snapshot-consistent group for multiple cloud disks that are attached to multiple instances within the same zone.
|
|
46901
|
+
* > You cannot specify both `DiskId.N` and `ExcludeDiskId.N` in the same request. If `InstanceId` is set, you can use `DiskId.N` to specify only cloud disks attached to the instance specified by InstanceId. You cannot use DiskId.N to specify cloud disks attached to multiple instances.
|
|
47035
46902
|
* When you call this operation, take note of the following items:
|
|
47036
|
-
* * The disk for which you want to create a snapshot must be in the **In Use**
|
|
47037
|
-
* * If the disk is in the **In Use**
|
|
47038
|
-
* * If the disk is in the **Unattached** (`Available`) state, make sure that the disk has been attached to an ECS instance. Snapshots cannot be created for disks that have never been attached to ECS
|
|
46903
|
+
* * The cloud disk for which you want to create a snapshot must be in the **In Use**or **Unattached** (`Available`) state.``
|
|
46904
|
+
* * If the cloud disk is in the **In Use** state, the instance to which the cloud disk is attached must be in the **Running**or **Stopped** state.``````
|
|
46905
|
+
* * If the cloud disk is in the **Unattached** (`Available`) state, make sure that the cloud disk has been attached to an ECS instance. Snapshots cannot be created for cloud disks that have never been attached to an ECS instance.
|
|
47039
46906
|
* * The snapshot-consistent group feature can be used to create snapshots only for enhanced SSDs (ESSDs).
|
|
47040
|
-
* * A
|
|
47041
|
-
* * Snapshots that you created by using the snapshot-consistent group feature are retained until they are deleted. We recommend that you delete unnecessary snapshots on a regular basis to prevent them from incurring
|
|
47042
|
-
* * Snapshot-consistent groups cannot be created for disks that have the multi-attach feature enabled. If disks
|
|
47043
|
-
* For information about the snapshot-consistent group feature
|
|
46907
|
+
* * A snapshot-consistent group can contain snapshots of up to 16 cloud disks (including the system disk and data disks) whose total disk size does not exceed 32 TiB.
|
|
46908
|
+
* * Snapshots that you created by using the snapshot-consistent group feature are retained until they are deleted. We recommend that you delete unnecessary snapshots on a regular basis to prevent them from incurring excess fees.
|
|
46909
|
+
* * Snapshot-consistent groups cannot be created for cloud disks that have the multi-attach feature enabled. If cloud disks for which the multi-attach feature is enabled are attached to an instance, you must set `ExcludeDiskId.N` to exclude these cloud disks.
|
|
46910
|
+
* For more information about the snapshot-consistent group feature, see [Create a snapshot-consistent group](~~199625~~).
|
|
47044
46911
|
*
|
|
47045
46912
|
* @param request CreateSnapshotGroupRequest
|
|
47046
46913
|
* @return CreateSnapshotGroupResponse
|
|
@@ -47052,8 +46919,8 @@ class Client extends openapi_client_1.default {
|
|
|
47052
46919
|
/**
|
|
47053
46920
|
* A storage set can distribute disks or Shared Block Storage devices to different locations. You can specify the number of partitions in a storage set. A larger number of partitions indicate more discrete distribution of disks or Shared Block Storage devices.
|
|
47054
46921
|
* When you call this operation, take note of the following items:
|
|
47055
|
-
* *
|
|
47056
|
-
* *
|
|
46922
|
+
* * The number of storage sets that you can create in a region is limited. You can call the [DescribeAccountAttributes](~~73772~~) operation to query the limit.
|
|
46923
|
+
* * The number of partitions in a zone is limited. You can call the [DescribeAccountAttributes](~~73772~~) operation to query the limit.
|
|
47057
46924
|
*
|
|
47058
46925
|
* @param request CreateStorageSetRequest
|
|
47059
46926
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -47111,8 +46978,8 @@ class Client extends openapi_client_1.default {
|
|
|
47111
46978
|
/**
|
|
47112
46979
|
* A storage set can distribute disks or Shared Block Storage devices to different locations. You can specify the number of partitions in a storage set. A larger number of partitions indicate more discrete distribution of disks or Shared Block Storage devices.
|
|
47113
46980
|
* When you call this operation, take note of the following items:
|
|
47114
|
-
* *
|
|
47115
|
-
* *
|
|
46981
|
+
* * The number of storage sets that you can create in a region is limited. You can call the [DescribeAccountAttributes](~~73772~~) operation to query the limit.
|
|
46982
|
+
* * The number of partitions in a zone is limited. You can call the [DescribeAccountAttributes](~~73772~~) operation to query the limit.
|
|
47116
46983
|
*
|
|
47117
46984
|
* @param request CreateStorageSetRequest
|
|
47118
46985
|
* @return CreateStorageSetResponse
|
|
@@ -47857,12 +47724,11 @@ class Client extends openapi_client_1.default {
|
|
|
47857
47724
|
return await this.deleteDiagnosticReportsWithOptions(request, runtime);
|
|
47858
47725
|
}
|
|
47859
47726
|
/**
|
|
47860
|
-
*
|
|
47861
|
-
* When you call this operation to release a pay-as-you-go data disk, take note of the following items:
|
|
47727
|
+
* When you call this operation, take note of the following items:
|
|
47862
47728
|
* * Manual snapshots of the disk are retained.
|
|
47863
|
-
* * You can call the [ModifyDiskAttribute](~~25517~~) operation to configure whether to
|
|
47729
|
+
* * You can call the [ModifyDiskAttribute](~~25517~~) operation to configure whether to retain automatic snapshots of the disk or release the snapshots along with the disk. We recommend that you delete the snapshots that are no longer needed to maintain a sufficient quota for new automatic snapshots.
|
|
47864
47730
|
* * The disk must be in the Unattached (Available) state.
|
|
47865
|
-
* * If the specified
|
|
47731
|
+
* * If the specified DiskId parameter does not exist, the request is ignored.
|
|
47866
47732
|
*
|
|
47867
47733
|
* @param request DeleteDiskRequest
|
|
47868
47734
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -47903,12 +47769,11 @@ class Client extends openapi_client_1.default {
|
|
|
47903
47769
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteDiskResponse({}));
|
|
47904
47770
|
}
|
|
47905
47771
|
/**
|
|
47906
|
-
*
|
|
47907
|
-
* When you call this operation to release a pay-as-you-go data disk, take note of the following items:
|
|
47772
|
+
* When you call this operation, take note of the following items:
|
|
47908
47773
|
* * Manual snapshots of the disk are retained.
|
|
47909
|
-
* * You can call the [ModifyDiskAttribute](~~25517~~) operation to configure whether to
|
|
47774
|
+
* * You can call the [ModifyDiskAttribute](~~25517~~) operation to configure whether to retain automatic snapshots of the disk or release the snapshots along with the disk. We recommend that you delete the snapshots that are no longer needed to maintain a sufficient quota for new automatic snapshots.
|
|
47910
47775
|
* * The disk must be in the Unattached (Available) state.
|
|
47911
|
-
* * If the specified
|
|
47776
|
+
* * If the specified DiskId parameter does not exist, the request is ignored.
|
|
47912
47777
|
*
|
|
47913
47778
|
* @param request DeleteDiskRequest
|
|
47914
47779
|
* @return DeleteDiskResponse
|
|
@@ -48243,15 +48108,14 @@ class Client extends openapi_client_1.default {
|
|
|
48243
48108
|
return await this.deleteImagePipelineWithOptions(request, runtime);
|
|
48244
48109
|
}
|
|
48245
48110
|
/**
|
|
48246
|
-
*
|
|
48247
|
-
* *
|
|
48248
|
-
*
|
|
48249
|
-
* *
|
|
48250
|
-
* *
|
|
48251
|
-
* *
|
|
48252
|
-
* * For disks for which `DeleteAutoSnapshot` is set to true, the automatic snapshots of the disks are released.
|
|
48111
|
+
* * After an instance is released, all the physical resources used by the instance are reclaimed by Alibaba Cloud. Data stored on the instance is deleted permanently and cannot be restored.
|
|
48112
|
+
* * Disk settings may affect their behavior when the instances they are attached to are released. Take note of the following items:
|
|
48113
|
+
* * If `DeleteWithInstance` is set to false, the disks are retained as pay-as-you-go disks.
|
|
48114
|
+
* * If `DeleteWithInstance` is set to true, the disks are released along with the instance.
|
|
48115
|
+
* * If `DeleteAutoSnapshot` is set to false, automatic snapshots of the disks are retained.
|
|
48116
|
+
* * If `DeleteAutoSnapshot` is set to true, automatic snapshots of the disks are released.
|
|
48253
48117
|
* * Manual snapshots of the disks are retained.
|
|
48254
|
-
* * If
|
|
48118
|
+
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the instance is locked for security reasons. In this case, even if the `DeleteWithInstance` parameter is set to `false` for the data disks that are attached to the instance, the parameter is ignored and the data disks are released along with the instance. For more information, see [API behavior when an instance is locked for security reasons](~~25695~~).``
|
|
48255
48119
|
*
|
|
48256
48120
|
* @param request DeleteInstanceRequest
|
|
48257
48121
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -48298,15 +48162,14 @@ class Client extends openapi_client_1.default {
|
|
|
48298
48162
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteInstanceResponse({}));
|
|
48299
48163
|
}
|
|
48300
48164
|
/**
|
|
48301
|
-
*
|
|
48302
|
-
* *
|
|
48303
|
-
*
|
|
48304
|
-
* *
|
|
48305
|
-
* *
|
|
48306
|
-
* *
|
|
48307
|
-
* * For disks for which `DeleteAutoSnapshot` is set to true, the automatic snapshots of the disks are released.
|
|
48165
|
+
* * After an instance is released, all the physical resources used by the instance are reclaimed by Alibaba Cloud. Data stored on the instance is deleted permanently and cannot be restored.
|
|
48166
|
+
* * Disk settings may affect their behavior when the instances they are attached to are released. Take note of the following items:
|
|
48167
|
+
* * If `DeleteWithInstance` is set to false, the disks are retained as pay-as-you-go disks.
|
|
48168
|
+
* * If `DeleteWithInstance` is set to true, the disks are released along with the instance.
|
|
48169
|
+
* * If `DeleteAutoSnapshot` is set to false, automatic snapshots of the disks are retained.
|
|
48170
|
+
* * If `DeleteAutoSnapshot` is set to true, automatic snapshots of the disks are released.
|
|
48308
48171
|
* * Manual snapshots of the disks are retained.
|
|
48309
|
-
* * If
|
|
48172
|
+
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the instance is locked for security reasons. In this case, even if the `DeleteWithInstance` parameter is set to `false` for the data disks that are attached to the instance, the parameter is ignored and the data disks are released along with the instance. For more information, see [API behavior when an instance is locked for security reasons](~~25695~~).``
|
|
48310
48173
|
*
|
|
48311
48174
|
* @param request DeleteInstanceRequest
|
|
48312
48175
|
* @return DeleteInstanceResponse
|
|
@@ -48316,14 +48179,14 @@ class Client extends openapi_client_1.default {
|
|
|
48316
48179
|
return await this.deleteInstanceWithOptions(request, runtime);
|
|
48317
48180
|
}
|
|
48318
48181
|
/**
|
|
48319
|
-
* * After an instance is released, all
|
|
48182
|
+
* * After an instance is released, all physical resources used by the instance are recycled. Relevant data is erased and cannot be restored.
|
|
48320
48183
|
* * Disks attached to the instance:
|
|
48321
|
-
* *
|
|
48322
|
-
* *
|
|
48323
|
-
* *
|
|
48324
|
-
* *
|
|
48184
|
+
* * If `DeleteWithInstance` is set to false for disks that are attached to the instance, the disks are retained as pay-as-you-go disks.
|
|
48185
|
+
* * If `DeleteWithInstance` is set to true for disks that are attached to the instance, the disks are released along with the instance.
|
|
48186
|
+
* * If `DeleteAutoSnapshot` is set to false for disks that are attached to the instance, the automatic snapshots of the disks are retained.
|
|
48187
|
+
* * If `DeleteAutoSnapshot` is set to true for disks that are attached to the instance, the automatic snapshots of the disks are released.
|
|
48325
48188
|
* * Manual snapshots of the disks are retained.
|
|
48326
|
-
* * If `OperationLocks` in the
|
|
48189
|
+
* * If `OperationLocks` in the DeleteInstances response contains `"LockReason" : "security"` for an instance, the instance is locked for security reasons. Even if `DeleteWithInstance` is set to `false` for disks that are attached to the instance, the parameter is ignored and the disks are released along with the instance. For more information, see [API behavior when an instance is locked for security reasons](~~25695~~).
|
|
48327
48190
|
*
|
|
48328
48191
|
* @param request DeleteInstancesRequest
|
|
48329
48192
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -48379,14 +48242,14 @@ class Client extends openapi_client_1.default {
|
|
|
48379
48242
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteInstancesResponse({}));
|
|
48380
48243
|
}
|
|
48381
48244
|
/**
|
|
48382
|
-
* * After an instance is released, all
|
|
48245
|
+
* * After an instance is released, all physical resources used by the instance are recycled. Relevant data is erased and cannot be restored.
|
|
48383
48246
|
* * Disks attached to the instance:
|
|
48384
|
-
* *
|
|
48385
|
-
* *
|
|
48386
|
-
* *
|
|
48387
|
-
* *
|
|
48247
|
+
* * If `DeleteWithInstance` is set to false for disks that are attached to the instance, the disks are retained as pay-as-you-go disks.
|
|
48248
|
+
* * If `DeleteWithInstance` is set to true for disks that are attached to the instance, the disks are released along with the instance.
|
|
48249
|
+
* * If `DeleteAutoSnapshot` is set to false for disks that are attached to the instance, the automatic snapshots of the disks are retained.
|
|
48250
|
+
* * If `DeleteAutoSnapshot` is set to true for disks that are attached to the instance, the automatic snapshots of the disks are released.
|
|
48388
48251
|
* * Manual snapshots of the disks are retained.
|
|
48389
|
-
* * If `OperationLocks` in the
|
|
48252
|
+
* * If `OperationLocks` in the DeleteInstances response contains `"LockReason" : "security"` for an instance, the instance is locked for security reasons. Even if `DeleteWithInstance` is set to `false` for disks that are attached to the instance, the parameter is ignored and the disks are released along with the instance. For more information, see [API behavior when an instance is locked for security reasons](~~25695~~).
|
|
48390
48253
|
*
|
|
48391
48254
|
* @param request DeleteInstancesRequest
|
|
48392
48255
|
* @return DeleteInstancesResponse
|
|
@@ -48800,8 +48663,7 @@ class Client extends openapi_client_1.default {
|
|
|
48800
48663
|
return await this.deletePhysicalConnectionWithOptions(request, runtime);
|
|
48801
48664
|
}
|
|
48802
48665
|
/**
|
|
48803
|
-
*
|
|
48804
|
-
* If a prefix list is associated with resources, you cannot delete the prefix list. You must disassociate the prefix list from the resources before you can delete the prefix list. You can call the [DescribePrefixListAssociations](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/describeprefixlistassociations) operation to query resources that are associated with a specific prefix list.
|
|
48666
|
+
* The region ID of the prefix list. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
|
|
48805
48667
|
*
|
|
48806
48668
|
* @param request DeletePrefixListRequest
|
|
48807
48669
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -48848,8 +48710,7 @@ class Client extends openapi_client_1.default {
|
|
|
48848
48710
|
return $tea.cast(await this.callApi(params, req, runtime), new DeletePrefixListResponse({}));
|
|
48849
48711
|
}
|
|
48850
48712
|
/**
|
|
48851
|
-
*
|
|
48852
|
-
* If a prefix list is associated with resources, you cannot delete the prefix list. You must disassociate the prefix list from the resources before you can delete the prefix list. You can call the [DescribePrefixListAssociations](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/describeprefixlistassociations) operation to query resources that are associated with a specific prefix list.
|
|
48713
|
+
* The region ID of the prefix list. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
|
|
48853
48714
|
*
|
|
48854
48715
|
* @param request DeletePrefixListRequest
|
|
48855
48716
|
* @return DeletePrefixListResponse
|
|
@@ -48985,13 +48846,6 @@ class Client extends openapi_client_1.default {
|
|
|
48985
48846
|
let runtime = new $Util.RuntimeOptions({});
|
|
48986
48847
|
return await this.deleteRouterInterfaceWithOptions(request, runtime);
|
|
48987
48848
|
}
|
|
48988
|
-
/**
|
|
48989
|
-
* Before you delete a security group, make sure that no instances are present in the security group and that the security group is not referenced by other security groups [DescribeSecurityGroupReferences](~~57320~~)). Otherwise, the DeleteSecurityGroup request fails.
|
|
48990
|
-
*
|
|
48991
|
-
* @param request DeleteSecurityGroupRequest
|
|
48992
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
48993
|
-
* @return DeleteSecurityGroupResponse
|
|
48994
|
-
*/
|
|
48995
48849
|
async deleteSecurityGroupWithOptions(request, runtime) {
|
|
48996
48850
|
tea_util_1.default.validateModel(request);
|
|
48997
48851
|
let query = {};
|
|
@@ -49029,21 +48883,15 @@ class Client extends openapi_client_1.default {
|
|
|
49029
48883
|
});
|
|
49030
48884
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteSecurityGroupResponse({}));
|
|
49031
48885
|
}
|
|
49032
|
-
/**
|
|
49033
|
-
* Before you delete a security group, make sure that no instances are present in the security group and that the security group is not referenced by other security groups [DescribeSecurityGroupReferences](~~57320~~)). Otherwise, the DeleteSecurityGroup request fails.
|
|
49034
|
-
*
|
|
49035
|
-
* @param request DeleteSecurityGroupRequest
|
|
49036
|
-
* @return DeleteSecurityGroupResponse
|
|
49037
|
-
*/
|
|
49038
48886
|
async deleteSecurityGroup(request) {
|
|
49039
48887
|
let runtime = new $Util.RuntimeOptions({});
|
|
49040
48888
|
return await this.deleteSecurityGroupWithOptions(request, runtime);
|
|
49041
48889
|
}
|
|
49042
48890
|
/**
|
|
49043
|
-
*
|
|
49044
|
-
* * If the
|
|
49045
|
-
* * If
|
|
49046
|
-
* * If the
|
|
48891
|
+
* Take note of the following items:
|
|
48892
|
+
* * If the snapshot does not exist, the request is ignored.
|
|
48893
|
+
* * If the snapshot has been used to create custom images, the snapshot cannot be deleted. You need to call the [DeleteImage](~~25537~~) operation to delete the custom images before you can delete the snapshot.
|
|
48894
|
+
* * If the snapshot has been used to create disks and `Force` is not specified or is set to `false`, the snapshot cannot be deleted directly. If you want to delete the snapshot, set `Force` to true to forcibly delete the snapshot. The disks created from the snapshot cannot be re-initialized after the snapshot is forcibly deleted.
|
|
49047
48895
|
*
|
|
49048
48896
|
* @param request DeleteSnapshotRequest
|
|
49049
48897
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -49087,10 +48935,10 @@ class Client extends openapi_client_1.default {
|
|
|
49087
48935
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteSnapshotResponse({}));
|
|
49088
48936
|
}
|
|
49089
48937
|
/**
|
|
49090
|
-
*
|
|
49091
|
-
* * If the
|
|
49092
|
-
* * If
|
|
49093
|
-
* * If the
|
|
48938
|
+
* Take note of the following items:
|
|
48939
|
+
* * If the snapshot does not exist, the request is ignored.
|
|
48940
|
+
* * If the snapshot has been used to create custom images, the snapshot cannot be deleted. You need to call the [DeleteImage](~~25537~~) operation to delete the custom images before you can delete the snapshot.
|
|
48941
|
+
* * If the snapshot has been used to create disks and `Force` is not specified or is set to `false`, the snapshot cannot be deleted directly. If you want to delete the snapshot, set `Force` to true to forcibly delete the snapshot. The disks created from the snapshot cannot be re-initialized after the snapshot is forcibly deleted.
|
|
49094
48942
|
*
|
|
49095
48943
|
* @param request DeleteSnapshotRequest
|
|
49096
48944
|
* @return DeleteSnapshotResponse
|
|
@@ -49100,8 +48948,7 @@ class Client extends openapi_client_1.default {
|
|
|
49100
48948
|
return await this.deleteSnapshotWithOptions(request, runtime);
|
|
49101
48949
|
}
|
|
49102
48950
|
/**
|
|
49103
|
-
*
|
|
49104
|
-
* If you have custom images that were created from a disk snapshot contained in a snapshot-consistent group, the disk snapshot is retained when the snapshot-consistent group is deleted. Before you can delete the disk snapshot, you must call the [DeleteImage](~~25537~~) operation to delete the custom images. Then, you can call the [DeleteSnapshot](~~25525~~) operation to delete the disk snapshot.
|
|
48951
|
+
* If you have custom images that were created from a disk snapshot contained in a snapshot-consistent group, the disk snapshot is retained when the snapshot-consistent group is deleted. Before you can delete the disk snapshot, you must call the [DeleteImage](~~25537~~) operation to delete the custom images. After the custom images are deleted, you can call the [DeleteSnapshot](~~25525~~) operation to delete the disk snapshot.
|
|
49105
48952
|
*
|
|
49106
48953
|
* @param request DeleteSnapshotGroupRequest
|
|
49107
48954
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -49145,8 +48992,7 @@ class Client extends openapi_client_1.default {
|
|
|
49145
48992
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteSnapshotGroupResponse({}));
|
|
49146
48993
|
}
|
|
49147
48994
|
/**
|
|
49148
|
-
*
|
|
49149
|
-
* If you have custom images that were created from a disk snapshot contained in a snapshot-consistent group, the disk snapshot is retained when the snapshot-consistent group is deleted. Before you can delete the disk snapshot, you must call the [DeleteImage](~~25537~~) operation to delete the custom images. Then, you can call the [DeleteSnapshot](~~25525~~) operation to delete the disk snapshot.
|
|
48995
|
+
* If you have custom images that were created from a disk snapshot contained in a snapshot-consistent group, the disk snapshot is retained when the snapshot-consistent group is deleted. Before you can delete the disk snapshot, you must call the [DeleteImage](~~25537~~) operation to delete the custom images. After the custom images are deleted, you can call the [DeleteSnapshot](~~25525~~) operation to delete the disk snapshot.
|
|
49150
48996
|
*
|
|
49151
48997
|
* @param request DeleteSnapshotGroupRequest
|
|
49152
48998
|
* @return DeleteSnapshotGroupResponse
|
|
@@ -50147,7 +49993,7 @@ class Client extends openapi_client_1.default {
|
|
|
50147
49993
|
* When you call this operation, take note of the following items:
|
|
50148
49994
|
* * This operation applies only to instances that reside in the classic network.
|
|
50149
49995
|
* * You can query up to 100 instances that reside in the classic network at a time.
|
|
50150
|
-
* * At least
|
|
49996
|
+
* * At least the `VpcId` or `InstanceId` parameter is specified.
|
|
50151
49997
|
*
|
|
50152
49998
|
* @param request DescribeClassicLinkInstancesRequest
|
|
50153
49999
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -50200,7 +50046,7 @@ class Client extends openapi_client_1.default {
|
|
|
50200
50046
|
* When you call this operation, take note of the following items:
|
|
50201
50047
|
* * This operation applies only to instances that reside in the classic network.
|
|
50202
50048
|
* * You can query up to 100 instances that reside in the classic network at a time.
|
|
50203
|
-
* * At least
|
|
50049
|
+
* * At least the `VpcId` or `InstanceId` parameter is specified.
|
|
50204
50050
|
*
|
|
50205
50051
|
* @param request DescribeClassicLinkInstancesRequest
|
|
50206
50052
|
* @return DescribeClassicLinkInstancesResponse
|
|
@@ -50316,7 +50162,7 @@ class Client extends openapi_client_1.default {
|
|
|
50316
50162
|
return await this.describeClustersWithOptions(request, runtime);
|
|
50317
50163
|
}
|
|
50318
50164
|
/**
|
|
50319
|
-
*
|
|
50165
|
+
* The region ID of the command. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
|
|
50320
50166
|
*
|
|
50321
50167
|
* @param request DescribeCommandsRequest
|
|
50322
50168
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -50390,7 +50236,7 @@ class Client extends openapi_client_1.default {
|
|
|
50390
50236
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeCommandsResponse({}));
|
|
50391
50237
|
}
|
|
50392
50238
|
/**
|
|
50393
|
-
*
|
|
50239
|
+
* The region ID of the command. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
|
|
50394
50240
|
*
|
|
50395
50241
|
* @param request DescribeCommandsRequest
|
|
50396
50242
|
* @return DescribeCommandsResponse
|
|
@@ -50563,10 +50409,9 @@ class Client extends openapi_client_1.default {
|
|
|
50563
50409
|
return await this.describeDedicatedHostTypesWithOptions(request, runtime);
|
|
50564
50410
|
}
|
|
50565
50411
|
/**
|
|
50566
|
-
* ## Description
|
|
50567
50412
|
* You can use one of the following methods to query the details of one or more dedicated hosts:
|
|
50568
|
-
* * Specify the `DedicatedHostIds` parameter to query the details of
|
|
50569
|
-
* * Specify the `DedicatedHostClusterId` parameter to query the details of the dedicated hosts in a dedicated host cluster.
|
|
50413
|
+
* * Specify the `DedicatedHostIds` parameter to query the details of specific dedicated hosts.
|
|
50414
|
+
* * Specify the `DedicatedHostClusterId` parameter to query the details of the dedicated hosts in a specific dedicated host cluster.
|
|
50570
50415
|
*
|
|
50571
50416
|
* @param request DescribeDedicatedHostsRequest
|
|
50572
50417
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -50643,10 +50488,9 @@ class Client extends openapi_client_1.default {
|
|
|
50643
50488
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDedicatedHostsResponse({}));
|
|
50644
50489
|
}
|
|
50645
50490
|
/**
|
|
50646
|
-
* ## Description
|
|
50647
50491
|
* You can use one of the following methods to query the details of one or more dedicated hosts:
|
|
50648
|
-
* * Specify the `DedicatedHostIds` parameter to query the details of
|
|
50649
|
-
* * Specify the `DedicatedHostClusterId` parameter to query the details of the dedicated hosts in a dedicated host cluster.
|
|
50492
|
+
* * Specify the `DedicatedHostIds` parameter to query the details of specific dedicated hosts.
|
|
50493
|
+
* * Specify the `DedicatedHostClusterId` parameter to query the details of the dedicated hosts in a specific dedicated host cluster.
|
|
50650
50494
|
*
|
|
50651
50495
|
* @param request DescribeDedicatedHostsRequest
|
|
50652
50496
|
* @return DescribeDedicatedHostsResponse
|
|
@@ -50656,9 +50500,7 @@ class Client extends openapi_client_1.default {
|
|
|
50656
50500
|
return await this.describeDedicatedHostsWithOptions(request, runtime);
|
|
50657
50501
|
}
|
|
50658
50502
|
/**
|
|
50659
|
-
*
|
|
50660
|
-
* By default, the filing tickets of I/O optimized VPC-type instances are queried.
|
|
50661
|
-
* For information about how to create (CreateDemand), modify (ModifyDemand), and delete (DeleteDemand) filing tickets on ECS resources, contact your account manager.
|
|
50503
|
+
* The end time when the filed resources are delivered and available. The time follows the [ISO 8601](~~25696~~) standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
|
|
50662
50504
|
*
|
|
50663
50505
|
* @param request DescribeDemandsRequest
|
|
50664
50506
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -50735,9 +50577,7 @@ class Client extends openapi_client_1.default {
|
|
|
50735
50577
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDemandsResponse({}));
|
|
50736
50578
|
}
|
|
50737
50579
|
/**
|
|
50738
|
-
*
|
|
50739
|
-
* By default, the filing tickets of I/O optimized VPC-type instances are queried.
|
|
50740
|
-
* For information about how to create (CreateDemand), modify (ModifyDemand), and delete (DeleteDemand) filing tickets on ECS resources, contact your account manager.
|
|
50580
|
+
* The end time when the filed resources are delivered and available. The time follows the [ISO 8601](~~25696~~) standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
|
|
50741
50581
|
*
|
|
50742
50582
|
* @param request DescribeDemandsRequest
|
|
50743
50583
|
* @return DescribeDemandsResponse
|
|
@@ -50771,6 +50611,9 @@ class Client extends openapi_client_1.default {
|
|
|
50771
50611
|
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
50772
50612
|
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
50773
50613
|
}
|
|
50614
|
+
if (!tea_util_1.default.isUnset(request.strategy)) {
|
|
50615
|
+
query["Strategy"] = request.strategy;
|
|
50616
|
+
}
|
|
50774
50617
|
let req = new $OpenApi.OpenApiRequest({
|
|
50775
50618
|
query: openapi_util_1.default.query(query),
|
|
50776
50619
|
});
|
|
@@ -51015,9 +50858,10 @@ class Client extends openapi_client_1.default {
|
|
|
51015
50858
|
* The monitoring data includes read IOPS, write IOPS, read bandwidth (byte/s), write bandwidth (byte/s), read latency (microseconds), and write latency (microseconds) of the disk.
|
|
51016
50859
|
* When you call this operation, take note of the following items:
|
|
51017
50860
|
* * Only the monitoring data of disks that are in the Running (`In_use`) state can be queried. For more information, see [Disk states](~~25689~~).
|
|
51018
|
-
*
|
|
51019
|
-
*
|
|
51020
|
-
* *
|
|
50861
|
+
* **
|
|
50862
|
+
* **Note**Some information may be missing from the monitoring data of a disk because the disk is not in the In Use (`In_Use`) state and the system cannot obtain the relevant information.
|
|
50863
|
+
* * A maximum of 400 monitoring data entries can be returned at a time. An error is returned if the value calculated based on the following formula is greater than 400: `(EndTime - StartTime)/Period`.
|
|
50864
|
+
* * You can query the monitoring data in a maximum of the last 30 days. If the value of `StartTime` is greater than 30 days before the current time, an error is returned.
|
|
51021
50865
|
*
|
|
51022
50866
|
* @param request DescribeDiskMonitorDataRequest
|
|
51023
50867
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -51070,9 +50914,10 @@ class Client extends openapi_client_1.default {
|
|
|
51070
50914
|
* The monitoring data includes read IOPS, write IOPS, read bandwidth (byte/s), write bandwidth (byte/s), read latency (microseconds), and write latency (microseconds) of the disk.
|
|
51071
50915
|
* When you call this operation, take note of the following items:
|
|
51072
50916
|
* * Only the monitoring data of disks that are in the Running (`In_use`) state can be queried. For more information, see [Disk states](~~25689~~).
|
|
51073
|
-
*
|
|
51074
|
-
*
|
|
51075
|
-
* *
|
|
50917
|
+
* **
|
|
50918
|
+
* **Note**Some information may be missing from the monitoring data of a disk because the disk is not in the In Use (`In_Use`) state and the system cannot obtain the relevant information.
|
|
50919
|
+
* * A maximum of 400 monitoring data entries can be returned at a time. An error is returned if the value calculated based on the following formula is greater than 400: `(EndTime - StartTime)/Period`.
|
|
50920
|
+
* * You can query the monitoring data in a maximum of the last 30 days. If the value of `StartTime` is greater than 30 days before the current time, an error is returned.
|
|
51076
50921
|
*
|
|
51077
50922
|
* @param request DescribeDiskMonitorDataRequest
|
|
51078
50923
|
* @return DescribeDiskMonitorDataResponse
|
|
@@ -51082,14 +50927,14 @@ class Client extends openapi_client_1.default {
|
|
|
51082
50927
|
return await this.describeDiskMonitorDataWithOptions(request, runtime);
|
|
51083
50928
|
}
|
|
51084
50929
|
/**
|
|
51085
|
-
* *
|
|
51086
|
-
* *
|
|
51087
|
-
* *
|
|
51088
|
-
* *
|
|
51089
|
-
* *
|
|
51090
|
-
*
|
|
51091
|
-
* *
|
|
51092
|
-
* When you call an API operation by using Alibaba Cloud CLI, you must specify request parameter values of different data types in required formats. For more information, see [Parameter format overview](~~110340~~).
|
|
50930
|
+
* * You can specify multiple request parameters such as `RegionId`, `ZoneId`, `DiskIds`, and `InstanceId` as filters. Specified parameters are evaluated by using the "AND" operator. If you specify more than one filter, the records that match all filters are returned.
|
|
50931
|
+
* * The value of the `DiskIds` parameter is a JSON array. If it is not specified, it is not used as a filter, and if `DiskIds` is set to an empty JSON array, it is regarded as a valid filter, and an empty result is returned.
|
|
50932
|
+
* * You can use one of the following methods to check the responses:
|
|
50933
|
+
* * Method 1: Use `NextToken` to configure the query token. Set the value to the `NextToken` value that was returned in the last call made to the DescribeDisks operation. Then, use `MaxResults` to specify the maximum number of entries to return on each page.
|
|
50934
|
+
* * Method 2: Use `PageSize` to specify the number of entries to return on each page and then use `PageNumber` to specify the page number to return.
|
|
50935
|
+
* You can use only one of the preceding methods. If you require a large number of entries to be returned, we recommend that you use method 1. If `NextToken` is specified, `PageSize` and `PageNumber` do not take effect and `TotalCount` in the response is invalid.
|
|
50936
|
+
* * A disk that has the multi-attach feature enabled can be attached to multiple instances. You can query the attachment information of the disk based on the `Attachment` values in the response.
|
|
50937
|
+
* When you call an API operation by using Alibaba Cloud CLI, you must specify the request parameter values of different data types in the required formats. For more information, see [Parameter format overview](~~110340~~).
|
|
51093
50938
|
*
|
|
51094
50939
|
* @param request DescribeDisksRequest
|
|
51095
50940
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -51217,14 +51062,14 @@ class Client extends openapi_client_1.default {
|
|
|
51217
51062
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDisksResponse({}));
|
|
51218
51063
|
}
|
|
51219
51064
|
/**
|
|
51220
|
-
* *
|
|
51221
|
-
* *
|
|
51222
|
-
* *
|
|
51223
|
-
* *
|
|
51224
|
-
* *
|
|
51225
|
-
*
|
|
51226
|
-
* *
|
|
51227
|
-
* When you call an API operation by using Alibaba Cloud CLI, you must specify request parameter values of different data types in required formats. For more information, see [Parameter format overview](~~110340~~).
|
|
51065
|
+
* * You can specify multiple request parameters such as `RegionId`, `ZoneId`, `DiskIds`, and `InstanceId` as filters. Specified parameters are evaluated by using the "AND" operator. If you specify more than one filter, the records that match all filters are returned.
|
|
51066
|
+
* * The value of the `DiskIds` parameter is a JSON array. If it is not specified, it is not used as a filter, and if `DiskIds` is set to an empty JSON array, it is regarded as a valid filter, and an empty result is returned.
|
|
51067
|
+
* * You can use one of the following methods to check the responses:
|
|
51068
|
+
* * Method 1: Use `NextToken` to configure the query token. Set the value to the `NextToken` value that was returned in the last call made to the DescribeDisks operation. Then, use `MaxResults` to specify the maximum number of entries to return on each page.
|
|
51069
|
+
* * Method 2: Use `PageSize` to specify the number of entries to return on each page and then use `PageNumber` to specify the page number to return.
|
|
51070
|
+
* You can use only one of the preceding methods. If you require a large number of entries to be returned, we recommend that you use method 1. If `NextToken` is specified, `PageSize` and `PageNumber` do not take effect and `TotalCount` in the response is invalid.
|
|
51071
|
+
* * A disk that has the multi-attach feature enabled can be attached to multiple instances. You can query the attachment information of the disk based on the `Attachment` values in the response.
|
|
51072
|
+
* When you call an API operation by using Alibaba Cloud CLI, you must specify the request parameter values of different data types in the required formats. For more information, see [Parameter format overview](~~110340~~).
|
|
51228
51073
|
*
|
|
51229
51074
|
* @param request DescribeDisksRequest
|
|
51230
51075
|
* @return DescribeDisksResponse
|
|
@@ -51987,9 +51832,9 @@ class Client extends openapi_client_1.default {
|
|
|
51987
51832
|
return await this.describeImageFromFamilyWithOptions(request, runtime);
|
|
51988
51833
|
}
|
|
51989
51834
|
/**
|
|
51990
|
-
* *
|
|
51991
|
-
* *
|
|
51992
|
-
* *
|
|
51835
|
+
* * The image template that is specified by the `ImagePipelineId` parameter cannot be a deleted image template. When an image template is deleted, the corresponding image creation task is deleted.
|
|
51836
|
+
* * You must specify `ImagePipelineId` or `ExecutionId`.
|
|
51837
|
+
* * You can configure the query token by using the `NextToken` parameter. Set the value of the query token to the value of `NextToken` that was returned the last time you called the `DescribeImagePipelineExecutions` operation. Then, use the `MaxResults` parameter to specify the maximum number of entries to return on each page to query the details of the image creation task.
|
|
51993
51838
|
*
|
|
51994
51839
|
* @param request DescribeImagePipelineExecutionsRequest
|
|
51995
51840
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -52051,9 +51896,9 @@ class Client extends openapi_client_1.default {
|
|
|
52051
51896
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeImagePipelineExecutionsResponse({}));
|
|
52052
51897
|
}
|
|
52053
51898
|
/**
|
|
52054
|
-
* *
|
|
52055
|
-
* *
|
|
52056
|
-
* *
|
|
51899
|
+
* * The image template that is specified by the `ImagePipelineId` parameter cannot be a deleted image template. When an image template is deleted, the corresponding image creation task is deleted.
|
|
51900
|
+
* * You must specify `ImagePipelineId` or `ExecutionId`.
|
|
51901
|
+
* * You can configure the query token by using the `NextToken` parameter. Set the value of the query token to the value of `NextToken` that was returned the last time you called the `DescribeImagePipelineExecutions` operation. Then, use the `MaxResults` parameter to specify the maximum number of entries to return on each page to query the details of the image creation task.
|
|
52057
51902
|
*
|
|
52058
51903
|
* @param request DescribeImagePipelineExecutionsRequest
|
|
52059
51904
|
* @return DescribeImagePipelineExecutionsResponse
|
|
@@ -52229,10 +52074,9 @@ class Client extends openapi_client_1.default {
|
|
|
52229
52074
|
return await this.describeImageSupportInstanceTypesWithOptions(request, runtime);
|
|
52230
52075
|
}
|
|
52231
52076
|
/**
|
|
52232
|
-
*
|
|
52233
|
-
* *
|
|
52234
|
-
* *
|
|
52235
|
-
* * When you call an API operation by using Alibaba Cloud CLI, you must specify request parameter values of different data types in required formats. For more information, see [Parameter format overview](~~110340~~).
|
|
52077
|
+
* * You can query your custom images, public images provided by Alibaba Cloud, Alibaba Cloud Marketplace images, and shared images from other Alibaba Cloud accounts.
|
|
52078
|
+
* * This operation supports paged query. The response contains the total number of available images as well as the number of images on the returned page. By default, 10 entries are displayed on each page.
|
|
52079
|
+
* * When you call an API operation by using Alibaba Cloud CLI, you must specify the request parameter values in their required formats. For more information, see [Parameter format overview](~~110340~~).
|
|
52236
52080
|
*
|
|
52237
52081
|
* @param request DescribeImagesRequest
|
|
52238
52082
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -52339,10 +52183,9 @@ class Client extends openapi_client_1.default {
|
|
|
52339
52183
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeImagesResponse({}));
|
|
52340
52184
|
}
|
|
52341
52185
|
/**
|
|
52342
|
-
*
|
|
52343
|
-
* *
|
|
52344
|
-
* *
|
|
52345
|
-
* * When you call an API operation by using Alibaba Cloud CLI, you must specify request parameter values of different data types in required formats. For more information, see [Parameter format overview](~~110340~~).
|
|
52186
|
+
* * You can query your custom images, public images provided by Alibaba Cloud, Alibaba Cloud Marketplace images, and shared images from other Alibaba Cloud accounts.
|
|
52187
|
+
* * This operation supports paged query. The response contains the total number of available images as well as the number of images on the returned page. By default, 10 entries are displayed on each page.
|
|
52188
|
+
* * When you call an API operation by using Alibaba Cloud CLI, you must specify the request parameter values in their required formats. For more information, see [Parameter format overview](~~110340~~).
|
|
52346
52189
|
*
|
|
52347
52190
|
* @param request DescribeImagesRequest
|
|
52348
52191
|
* @return DescribeImagesResponse
|
|
@@ -52352,8 +52195,8 @@ class Client extends openapi_client_1.default {
|
|
|
52352
52195
|
return await this.describeImagesWithOptions(request, runtime);
|
|
52353
52196
|
}
|
|
52354
52197
|
/**
|
|
52355
|
-
* A private pool is generated after an elasticity assurance or a capacity reservation is created. The private pool is associated with the
|
|
52356
|
-
* When a private pool expires, data about the association between instances and the private pool becomes invalid.
|
|
52198
|
+
* A private pool is generated after an elasticity assurance or a capacity reservation is created. The private pool is associated with information about the instances that are created by using the private pool. You can configure a private pool when you create an instance. This way, the instance matches the elasticity assurance or capacity reservation that is associated with the private pool.
|
|
52199
|
+
* When a private pool expires, data about the association between instances and the private pool becomes invalid. If you call this operation to query the information about the private pool, empty values are returned.
|
|
52357
52200
|
*
|
|
52358
52201
|
* @param request DescribeInstanceAttachmentAttributesRequest
|
|
52359
52202
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -52403,8 +52246,8 @@ class Client extends openapi_client_1.default {
|
|
|
52403
52246
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeInstanceAttachmentAttributesResponse({}));
|
|
52404
52247
|
}
|
|
52405
52248
|
/**
|
|
52406
|
-
* A private pool is generated after an elasticity assurance or a capacity reservation is created. The private pool is associated with the
|
|
52407
|
-
* When a private pool expires, data about the association between instances and the private pool becomes invalid.
|
|
52249
|
+
* A private pool is generated after an elasticity assurance or a capacity reservation is created. The private pool is associated with information about the instances that are created by using the private pool. You can configure a private pool when you create an instance. This way, the instance matches the elasticity assurance or capacity reservation that is associated with the private pool.
|
|
52250
|
+
* When a private pool expires, data about the association between instances and the private pool becomes invalid. If you call this operation to query the information about the private pool, empty values are returned.
|
|
52408
52251
|
*
|
|
52409
52252
|
* @param request DescribeInstanceAttachmentAttributesRequest
|
|
52410
52253
|
* @return DescribeInstanceAttachmentAttributesResponse
|
|
@@ -52517,9 +52360,8 @@ class Client extends openapi_client_1.default {
|
|
|
52517
52360
|
return await this.describeInstanceAutoRenewAttributeWithOptions(request, runtime);
|
|
52518
52361
|
}
|
|
52519
52362
|
/**
|
|
52520
|
-
* ## Description
|
|
52521
52363
|
* * You can query system events that were finished within the last 30 days. The time range for querying unfinished system events is unlimited.
|
|
52522
|
-
* * You can also specify the InstanceEventCycleStatus.N parameter to
|
|
52364
|
+
* * You can also specify the InstanceEventCycleStatus.N parameter to filter the system events in the Scheduled, Executing, or Inquiring state.
|
|
52523
52365
|
*
|
|
52524
52366
|
* @param request DescribeInstanceHistoryEventsRequest
|
|
52525
52367
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -52608,9 +52450,8 @@ class Client extends openapi_client_1.default {
|
|
|
52608
52450
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeInstanceHistoryEventsResponse({}));
|
|
52609
52451
|
}
|
|
52610
52452
|
/**
|
|
52611
|
-
* ## Description
|
|
52612
52453
|
* * You can query system events that were finished within the last 30 days. The time range for querying unfinished system events is unlimited.
|
|
52613
|
-
* * You can also specify the InstanceEventCycleStatus.N parameter to
|
|
52454
|
+
* * You can also specify the InstanceEventCycleStatus.N parameter to filter the system events in the Scheduled, Executing, or Inquiring state.
|
|
52614
52455
|
*
|
|
52615
52456
|
* @param request DescribeInstanceHistoryEventsRequest
|
|
52616
52457
|
* @return DescribeInstanceHistoryEventsResponse
|
|
@@ -52684,10 +52525,7 @@ class Client extends openapi_client_1.default {
|
|
|
52684
52525
|
return await this.describeInstanceMaintenanceAttributesWithOptions(request, runtime);
|
|
52685
52526
|
}
|
|
52686
52527
|
/**
|
|
52687
|
-
*
|
|
52688
|
-
* * Pricing information can be queried for unexpired subscription ECS instances only when you upgrade their configurations. The pricing information cannot be queried when the instance configurations are downgraded.
|
|
52689
|
-
* * Pricing information cannot be queried for pay-as-you-go ECS instances when you change their configurations. Prices of existing pay-as-you-go ECS instances whose configurations are changed are the same as those of new pay-as-you-go instances. You can call the [DescribePrice](~~107829~~) operation to query the latest prices of ECS instances.
|
|
52690
|
-
* * Before you upgrade the configurations of an instance, we recommend that you call the [DescribeResourcesModification](~~66187~~) operation to query the instance types available for configuration upgrades in a specified zone.
|
|
52528
|
+
* The price.
|
|
52691
52529
|
*
|
|
52692
52530
|
* @param request DescribeInstanceModificationPriceRequest
|
|
52693
52531
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -52740,10 +52578,7 @@ class Client extends openapi_client_1.default {
|
|
|
52740
52578
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeInstanceModificationPriceResponse({}));
|
|
52741
52579
|
}
|
|
52742
52580
|
/**
|
|
52743
|
-
*
|
|
52744
|
-
* * Pricing information can be queried for unexpired subscription ECS instances only when you upgrade their configurations. The pricing information cannot be queried when the instance configurations are downgraded.
|
|
52745
|
-
* * Pricing information cannot be queried for pay-as-you-go ECS instances when you change their configurations. Prices of existing pay-as-you-go ECS instances whose configurations are changed are the same as those of new pay-as-you-go instances. You can call the [DescribePrice](~~107829~~) operation to query the latest prices of ECS instances.
|
|
52746
|
-
* * Before you upgrade the configurations of an instance, we recommend that you call the [DescribeResourcesModification](~~66187~~) operation to query the instance types available for configuration upgrades in a specified zone.
|
|
52581
|
+
* The price.
|
|
52747
52582
|
*
|
|
52748
52583
|
* @param request DescribeInstanceModificationPriceRequest
|
|
52749
52584
|
* @return DescribeInstanceModificationPriceResponse
|
|
@@ -52754,7 +52589,7 @@ class Client extends openapi_client_1.default {
|
|
|
52754
52589
|
}
|
|
52755
52590
|
/**
|
|
52756
52591
|
* When you call this operation, take note of the following items:
|
|
52757
|
-
* * Up to 400 monitoring data entries can be returned at a time. An error is returned if the value calculated
|
|
52592
|
+
* * Up to 400 monitoring data entries can be returned at a time. An error is returned if the value that is calculated by using the following formula is greater than 400: `(EndTime − StartTime)/Period`.
|
|
52758
52593
|
* * You can query the monitoring data of the last 30 days. If the value of the `StartTime` parameter is more than 30 days earlier than the current time, an error is returned.
|
|
52759
52594
|
* * In some scenarios, such as when the instance is in the Stopped state, the system cannot obtain the relevant information and a portion may be missing from the returned monitoring data.
|
|
52760
52595
|
*
|
|
@@ -52807,7 +52642,7 @@ class Client extends openapi_client_1.default {
|
|
|
52807
52642
|
}
|
|
52808
52643
|
/**
|
|
52809
52644
|
* When you call this operation, take note of the following items:
|
|
52810
|
-
* * Up to 400 monitoring data entries can be returned at a time. An error is returned if the value calculated
|
|
52645
|
+
* * Up to 400 monitoring data entries can be returned at a time. An error is returned if the value that is calculated by using the following formula is greater than 400: `(EndTime − StartTime)/Period`.
|
|
52811
52646
|
* * You can query the monitoring data of the last 30 days. If the value of the `StartTime` parameter is more than 30 days earlier than the current time, an error is returned.
|
|
52812
52647
|
* * In some scenarios, such as when the instance is in the Stopped state, the system cannot obtain the relevant information and a portion may be missing from the returned monitoring data.
|
|
52813
52648
|
*
|
|
@@ -52818,13 +52653,6 @@ class Client extends openapi_client_1.default {
|
|
|
52818
52653
|
let runtime = new $Util.RuntimeOptions({});
|
|
52819
52654
|
return await this.describeInstanceMonitorDataWithOptions(request, runtime);
|
|
52820
52655
|
}
|
|
52821
|
-
/**
|
|
52822
|
-
* When you call an API operation by using Alibaba Cloud CLI, you must specify request parameter values of different data types in required formats. For more information, see [Parameter format overview](~~110340~~).
|
|
52823
|
-
*
|
|
52824
|
-
* @param request DescribeInstanceRamRoleRequest
|
|
52825
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
52826
|
-
* @return DescribeInstanceRamRoleResponse
|
|
52827
|
-
*/
|
|
52828
52656
|
async describeInstanceRamRoleWithOptions(request, runtime) {
|
|
52829
52657
|
tea_util_1.default.validateModel(request);
|
|
52830
52658
|
let query = {};
|
|
@@ -52868,19 +52696,13 @@ class Client extends openapi_client_1.default {
|
|
|
52868
52696
|
});
|
|
52869
52697
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeInstanceRamRoleResponse({}));
|
|
52870
52698
|
}
|
|
52871
|
-
/**
|
|
52872
|
-
* When you call an API operation by using Alibaba Cloud CLI, you must specify request parameter values of different data types in required formats. For more information, see [Parameter format overview](~~110340~~).
|
|
52873
|
-
*
|
|
52874
|
-
* @param request DescribeInstanceRamRoleRequest
|
|
52875
|
-
* @return DescribeInstanceRamRoleResponse
|
|
52876
|
-
*/
|
|
52877
52699
|
async describeInstanceRamRole(request) {
|
|
52878
52700
|
let runtime = new $Util.RuntimeOptions({});
|
|
52879
52701
|
return await this.describeInstanceRamRoleWithOptions(request, runtime);
|
|
52880
52702
|
}
|
|
52881
52703
|
/**
|
|
52882
|
-
* *
|
|
52883
|
-
* *
|
|
52704
|
+
* * For information about the lifecycle states of an ECS instance, see [Instance states](~~25687~~).
|
|
52705
|
+
* * You can also call this operation to query the list of ECS instances.
|
|
52884
52706
|
*
|
|
52885
52707
|
* @param request DescribeInstanceStatusRequest
|
|
52886
52708
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -52936,8 +52758,8 @@ class Client extends openapi_client_1.default {
|
|
|
52936
52758
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeInstanceStatusResponse({}));
|
|
52937
52759
|
}
|
|
52938
52760
|
/**
|
|
52939
|
-
* *
|
|
52940
|
-
* *
|
|
52761
|
+
* * For information about the lifecycle states of an ECS instance, see [Instance states](~~25687~~).
|
|
52762
|
+
* * You can also call this operation to query the list of ECS instances.
|
|
52941
52763
|
*
|
|
52942
52764
|
* @param request DescribeInstanceStatusRequest
|
|
52943
52765
|
* @return DescribeInstanceStatusResponse
|
|
@@ -53263,28 +53085,6 @@ class Client extends openapi_client_1.default {
|
|
|
53263
53085
|
let runtime = new $Util.RuntimeOptions({});
|
|
53264
53086
|
return await this.describeInstanceVncPasswdWithOptions(request, runtime);
|
|
53265
53087
|
}
|
|
53266
|
-
/**
|
|
53267
|
-
* When you call this operation, take note of the following items:
|
|
53268
|
-
* * The URL returned is valid only for 15 seconds. If a connection is not established within 15 seconds after a successful query, the URL expires and you must query it again.
|
|
53269
|
-
* * The **KeepAlive** time of a connection to a VNC management terminal is 60 seconds. If you do not interact with the VNC management terminal within 60 seconds, the VNC management terminal is automatically disconnected.
|
|
53270
|
-
* * After the VNC management terminal is disconnected, you can only reconnect to the VNC management terminal a maximum of 30 times a minute.
|
|
53271
|
-
* * You need to add `vncUrl`, `instanceId`, `isWindows`, and `password` parameters at the end of the URL `https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?`. Separate each parameter with an ampersand (`&`).``
|
|
53272
|
-
* * `vncUrl:` the value of the `VncUrl` parameter that is returned after a successful query.
|
|
53273
|
-
* * `instanceId:` the ID of your instance.
|
|
53274
|
-
* * `isWindows:` specifies whether the operating system of the instance is Windows. Set the parameter to `true` if the operating system is Windows. Set the parameter to `false` if the operating system is not Windows.
|
|
53275
|
-
* * `password:` Optional. A six-character password that is used to connect to the VNC management terminal. It can contain digits and letters. If you specify this parameter, you do not need to enter your password again when the connection is being established.
|
|
53276
|
-
* Examples:
|
|
53277
|
-
* ```
|
|
53278
|
-
* ```
|
|
53279
|
-
* <https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?vncUrl=ws%3A%2F%\\\\*\\\\*\\\\*\\\\*&instanceId=i-wz9hhwq5a6tm\\\\*\\\\*\\\\*\\\\*&isWindows=true> \\`\\`\\`
|
|
53280
|
-
* or:
|
|
53281
|
-
* ```
|
|
53282
|
-
* <https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?vncUrl=ws%3A%2F%\\\\*\\\\*\\\\*\\\\*&instanceId=i-wz9hhwq5a6tm\\\\*\\\\*\\\\*\\\\*&isWindows=true&password=\\\\*\\\\*\\\\*\\\\>\\* \\`\\`\\`
|
|
53283
|
-
*
|
|
53284
|
-
* @param request DescribeInstanceVncUrlRequest
|
|
53285
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
53286
|
-
* @return DescribeInstanceVncUrlResponse
|
|
53287
|
-
*/
|
|
53288
53088
|
async describeInstanceVncUrlWithOptions(request, runtime) {
|
|
53289
53089
|
tea_util_1.default.validateModel(request);
|
|
53290
53090
|
let query = {};
|
|
@@ -53322,27 +53122,6 @@ class Client extends openapi_client_1.default {
|
|
|
53322
53122
|
});
|
|
53323
53123
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeInstanceVncUrlResponse({}));
|
|
53324
53124
|
}
|
|
53325
|
-
/**
|
|
53326
|
-
* When you call this operation, take note of the following items:
|
|
53327
|
-
* * The URL returned is valid only for 15 seconds. If a connection is not established within 15 seconds after a successful query, the URL expires and you must query it again.
|
|
53328
|
-
* * The **KeepAlive** time of a connection to a VNC management terminal is 60 seconds. If you do not interact with the VNC management terminal within 60 seconds, the VNC management terminal is automatically disconnected.
|
|
53329
|
-
* * After the VNC management terminal is disconnected, you can only reconnect to the VNC management terminal a maximum of 30 times a minute.
|
|
53330
|
-
* * You need to add `vncUrl`, `instanceId`, `isWindows`, and `password` parameters at the end of the URL `https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?`. Separate each parameter with an ampersand (`&`).``
|
|
53331
|
-
* * `vncUrl:` the value of the `VncUrl` parameter that is returned after a successful query.
|
|
53332
|
-
* * `instanceId:` the ID of your instance.
|
|
53333
|
-
* * `isWindows:` specifies whether the operating system of the instance is Windows. Set the parameter to `true` if the operating system is Windows. Set the parameter to `false` if the operating system is not Windows.
|
|
53334
|
-
* * `password:` Optional. A six-character password that is used to connect to the VNC management terminal. It can contain digits and letters. If you specify this parameter, you do not need to enter your password again when the connection is being established.
|
|
53335
|
-
* Examples:
|
|
53336
|
-
* ```
|
|
53337
|
-
* ```
|
|
53338
|
-
* <https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?vncUrl=ws%3A%2F%\\\\*\\\\*\\\\*\\\\*&instanceId=i-wz9hhwq5a6tm\\\\*\\\\*\\\\*\\\\*&isWindows=true> \\`\\`\\`
|
|
53339
|
-
* or:
|
|
53340
|
-
* ```
|
|
53341
|
-
* <https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?vncUrl=ws%3A%2F%\\\\*\\\\*\\\\*\\\\*&instanceId=i-wz9hhwq5a6tm\\\\*\\\\*\\\\*\\\\*&isWindows=true&password=\\\\*\\\\*\\\\*\\\\>\\* \\`\\`\\`
|
|
53342
|
-
*
|
|
53343
|
-
* @param request DescribeInstanceVncUrlRequest
|
|
53344
|
-
* @return DescribeInstanceVncUrlResponse
|
|
53345
|
-
*/
|
|
53346
53125
|
async describeInstanceVncUrl(request) {
|
|
53347
53126
|
let runtime = new $Util.RuntimeOptions({});
|
|
53348
53127
|
return await this.describeInstanceVncUrlWithOptions(request, runtime);
|
|
@@ -53608,8 +53387,7 @@ class Client extends openapi_client_1.default {
|
|
|
53608
53387
|
return await this.describeInstancesFullStatusWithOptions(request, runtime);
|
|
53609
53388
|
}
|
|
53610
53389
|
/**
|
|
53611
|
-
*
|
|
53612
|
-
* * You can query information about command executions within the last four weeks. A maximum of 100,000 pieces of execution information can be retained.
|
|
53390
|
+
* The ID of the resource group. After you set this parameter, command execution results in the specified resource group are queried.
|
|
53613
53391
|
*
|
|
53614
53392
|
* @param request DescribeInvocationResultsRequest
|
|
53615
53393
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -53683,8 +53461,7 @@ class Client extends openapi_client_1.default {
|
|
|
53683
53461
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeInvocationResultsResponse({}));
|
|
53684
53462
|
}
|
|
53685
53463
|
/**
|
|
53686
|
-
*
|
|
53687
|
-
* * You can query information about command executions within the last four weeks. A maximum of 100,000 pieces of execution information can be retained.
|
|
53464
|
+
* The ID of the resource group. After you set this parameter, command execution results in the specified resource group are queried.
|
|
53688
53465
|
*
|
|
53689
53466
|
* @param request DescribeInvocationResultsRequest
|
|
53690
53467
|
* @return DescribeInvocationResultsResponse
|
|
@@ -53694,8 +53471,8 @@ class Client extends openapi_client_1.default {
|
|
|
53694
53471
|
return await this.describeInvocationResultsWithOptions(request, runtime);
|
|
53695
53472
|
}
|
|
53696
53473
|
/**
|
|
53697
|
-
* * After you run a command, the command may not succeed or return the expected
|
|
53698
|
-
* * You can query information about command executions within the last four weeks. A maximum of 100,000
|
|
53474
|
+
* * After you run a command, the command may not succeed or return the expected result. You can call this operation to query the execution result.
|
|
53475
|
+
* * You can query information about command executions within the last four weeks. A maximum of 100,000 entries of execution information can be retained.
|
|
53699
53476
|
*
|
|
53700
53477
|
* @param request DescribeInvocationsRequest
|
|
53701
53478
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -53781,8 +53558,8 @@ class Client extends openapi_client_1.default {
|
|
|
53781
53558
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeInvocationsResponse({}));
|
|
53782
53559
|
}
|
|
53783
53560
|
/**
|
|
53784
|
-
* * After you run a command, the command may not succeed or return the expected
|
|
53785
|
-
* * You can query information about command executions within the last four weeks. A maximum of 100,000
|
|
53561
|
+
* * After you run a command, the command may not succeed or return the expected result. You can call this operation to query the execution result.
|
|
53562
|
+
* * You can query information about command executions within the last four weeks. A maximum of 100,000 entries of execution information can be retained.
|
|
53786
53563
|
*
|
|
53787
53564
|
* @param request DescribeInvocationsRequest
|
|
53788
53565
|
* @return DescribeInvocationsResponse
|
|
@@ -54252,8 +54029,8 @@ class Client extends openapi_client_1.default {
|
|
|
54252
54029
|
return await this.describeNetworkInterfacePermissionsWithOptions(request, runtime);
|
|
54253
54030
|
}
|
|
54254
54031
|
/**
|
|
54255
|
-
* The `DescribeNetworkInterfaces` operation supports
|
|
54256
|
-
* >
|
|
54032
|
+
* The `DescribeNetworkInterfaces` operation supports paged queries. During a paged query, when you call the DescribeNetworkInterfaces operation to retrieve the first page of results, set `MaxResults` to limit 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 call to retrieve a new page of results. When you perform the next request, 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.
|
|
54033
|
+
* > You must specify `MaxResults` or `NextToken` for the system to return results based on the preceding pagination mechanism. Otherwise, the system paginates the results based on the `PageNumber` and `PageSize` parameters.
|
|
54257
54034
|
*
|
|
54258
54035
|
* @param request DescribeNetworkInterfacesRequest
|
|
54259
54036
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -54354,8 +54131,8 @@ class Client extends openapi_client_1.default {
|
|
|
54354
54131
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeNetworkInterfacesResponse({}));
|
|
54355
54132
|
}
|
|
54356
54133
|
/**
|
|
54357
|
-
* The `DescribeNetworkInterfaces` operation supports
|
|
54358
|
-
* >
|
|
54134
|
+
* The `DescribeNetworkInterfaces` operation supports paged queries. During a paged query, when you call the DescribeNetworkInterfaces operation to retrieve the first page of results, set `MaxResults` to limit 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 call to retrieve a new page of results. When you perform the next request, 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.
|
|
54135
|
+
* > You must specify `MaxResults` or `NextToken` for the system to return results based on the preceding pagination mechanism. Otherwise, the system paginates the results based on the `PageNumber` and `PageSize` parameters.
|
|
54359
54136
|
*
|
|
54360
54137
|
* @param request DescribeNetworkInterfacesRequest
|
|
54361
54138
|
* @return DescribeNetworkInterfacesResponse
|
|
@@ -54663,16 +54440,15 @@ class Client extends openapi_client_1.default {
|
|
|
54663
54440
|
return await this.describePrefixListsWithOptions(request, runtime);
|
|
54664
54441
|
}
|
|
54665
54442
|
/**
|
|
54666
|
-
*
|
|
54667
|
-
*
|
|
54668
|
-
* * When
|
|
54669
|
-
* * When
|
|
54670
|
-
* * When
|
|
54671
|
-
* * When
|
|
54672
|
-
*
|
|
54673
|
-
* * When
|
|
54674
|
-
* *
|
|
54675
|
-
* * By default, the `ChargeType` parameter is set to `PostPaid`. You can specify the `PriceUnit` parameter to query the prices of ECS resources that have different billing cycles.
|
|
54443
|
+
* * The required parameters vary based on the type of resource whose prices you want to query.
|
|
54444
|
+
* * When `ResourceType` is set to instance, you must specify `InstanceType`.
|
|
54445
|
+
* * When `ResourceType` is set to disk, you must specify `DataDisk.1.Category` and `DataDisk.1.Size`. When `ResourceType` is set to disk, only pay-as-you-go prices of cloud disks are returned. In this case, `PriceUnit` can be set only to `Hour`.
|
|
54446
|
+
* * When `ResourceType` is set to ddh, you must specify `DedicatedHostType`.
|
|
54447
|
+
* * When `ResourceType` is set to ElasticityAssurance, you must specify `InstanceType`.
|
|
54448
|
+
* * When `ResourceType` is set to CapacityReservation, you must specify `InstanceType`.
|
|
54449
|
+
* * When `ResourceType` is set to bandwidth, only the pay-by-traffic (`PayByTraffic`) prices of network usage is returned.
|
|
54450
|
+
* * When `ResourceType` is set to instance, the prices of up to four data disks can be queried.
|
|
54451
|
+
* * By default, `ChargeType` is set to `PostPaid`. You can specify `PriceUnit` to query the prices of ECS resources that have different billing cycles.
|
|
54676
54452
|
*
|
|
54677
54453
|
* @param request DescribePriceRequest
|
|
54678
54454
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -54791,16 +54567,15 @@ class Client extends openapi_client_1.default {
|
|
|
54791
54567
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePriceResponse({}));
|
|
54792
54568
|
}
|
|
54793
54569
|
/**
|
|
54794
|
-
*
|
|
54795
|
-
*
|
|
54796
|
-
* * When
|
|
54797
|
-
* * When
|
|
54798
|
-
* * When
|
|
54799
|
-
* * When
|
|
54800
|
-
*
|
|
54801
|
-
* * When
|
|
54802
|
-
* *
|
|
54803
|
-
* * By default, the `ChargeType` parameter is set to `PostPaid`. You can specify the `PriceUnit` parameter to query the prices of ECS resources that have different billing cycles.
|
|
54570
|
+
* * The required parameters vary based on the type of resource whose prices you want to query.
|
|
54571
|
+
* * When `ResourceType` is set to instance, you must specify `InstanceType`.
|
|
54572
|
+
* * When `ResourceType` is set to disk, you must specify `DataDisk.1.Category` and `DataDisk.1.Size`. When `ResourceType` is set to disk, only pay-as-you-go prices of cloud disks are returned. In this case, `PriceUnit` can be set only to `Hour`.
|
|
54573
|
+
* * When `ResourceType` is set to ddh, you must specify `DedicatedHostType`.
|
|
54574
|
+
* * When `ResourceType` is set to ElasticityAssurance, you must specify `InstanceType`.
|
|
54575
|
+
* * When `ResourceType` is set to CapacityReservation, you must specify `InstanceType`.
|
|
54576
|
+
* * When `ResourceType` is set to bandwidth, only the pay-by-traffic (`PayByTraffic`) prices of network usage is returned.
|
|
54577
|
+
* * When `ResourceType` is set to instance, the prices of up to four data disks can be queried.
|
|
54578
|
+
* * By default, `ChargeType` is set to `PostPaid`. You can specify `PriceUnit` to query the prices of ECS resources that have different billing cycles.
|
|
54804
54579
|
*
|
|
54805
54580
|
* @param request DescribePriceRequest
|
|
54806
54581
|
* @return DescribePriceResponse
|
|
@@ -54950,10 +54725,9 @@ class Client extends openapi_client_1.default {
|
|
|
54950
54725
|
return await this.describeRegionsWithOptions(request, runtime);
|
|
54951
54726
|
}
|
|
54952
54727
|
/**
|
|
54953
|
-
* ## Description
|
|
54954
54728
|
* * You can call this operation to query the price for renewing a subscription instance for a specific period of time or to a synchronized expiration date.
|
|
54955
54729
|
* * Take note of the following items:
|
|
54956
|
-
* * If you
|
|
54730
|
+
* * If you specify only the required parameters, the price for renewing an instance for one month is queried by default.
|
|
54957
54731
|
* * The renewal period-related parameter pair (`Period` and `PeriodUnit`) and the synchronized expiration date-related parameter (`ExpectedRenewDay`) are mutually exclusive. You cannot set these parameters together to query the prices for renewing a specified instance for a period of time and to a synchronized expiration date at the same time.
|
|
54958
54732
|
*
|
|
54959
54733
|
* @param request DescribeRenewalPriceRequest
|
|
@@ -55010,10 +54784,9 @@ class Client extends openapi_client_1.default {
|
|
|
55010
54784
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeRenewalPriceResponse({}));
|
|
55011
54785
|
}
|
|
55012
54786
|
/**
|
|
55013
|
-
* ## Description
|
|
55014
54787
|
* * You can call this operation to query the price for renewing a subscription instance for a specific period of time or to a synchronized expiration date.
|
|
55015
54788
|
* * Take note of the following items:
|
|
55016
|
-
* * If you
|
|
54789
|
+
* * If you specify only the required parameters, the price for renewing an instance for one month is queried by default.
|
|
55017
54790
|
* * The renewal period-related parameter pair (`Period` and `PeriodUnit`) and the synchronized expiration date-related parameter (`ExpectedRenewDay`) are mutually exclusive. You cannot set these parameters together to query the prices for renewing a specified instance for a period of time and to a synchronized expiration date at the same time.
|
|
55018
54791
|
*
|
|
55019
54792
|
* @param request DescribeRenewalPriceRequest
|
|
@@ -55497,10 +55270,7 @@ class Client extends openapi_client_1.default {
|
|
|
55497
55270
|
return await this.describeSecurityGroupReferencesWithOptions(request, runtime);
|
|
55498
55271
|
}
|
|
55499
55272
|
/**
|
|
55500
|
-
*
|
|
55501
|
-
* * The basic information of security groups includes the IDs and descriptions. The response returns security groups in descending order based on their IDs.
|
|
55502
|
-
* * We recommend that you use the NextToken and MaxResults parameters for a paged query. We recommend that you use the MaxResults parameter to specify the maximum number of entries to return in each request. The returned value of NextToken is a pagination token, which can be used in the next request to retrieve a new page of results. When you perform the next request, set the NextToken parameter to the NextToken value that is returned in the previous call and use the MaxResults parameter to specify the maximum number of entries to return in this request. If the returned value of the NextToken parameter is empty, the current page of results is the last page and no more results are to be returned.
|
|
55503
|
-
* * When you use Alibaba Cloud CLI to call an API operation, you must specify request parameter values of different data types in the required formats. For more information, see [Parameter format overview](~~110340~~).
|
|
55273
|
+
* The region ID of the security groups. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
|
|
55504
55274
|
*
|
|
55505
55275
|
* @param request DescribeSecurityGroupsRequest
|
|
55506
55276
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -55586,10 +55356,7 @@ class Client extends openapi_client_1.default {
|
|
|
55586
55356
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSecurityGroupsResponse({}));
|
|
55587
55357
|
}
|
|
55588
55358
|
/**
|
|
55589
|
-
*
|
|
55590
|
-
* * The basic information of security groups includes the IDs and descriptions. The response returns security groups in descending order based on their IDs.
|
|
55591
|
-
* * We recommend that you use the NextToken and MaxResults parameters for a paged query. We recommend that you use the MaxResults parameter to specify the maximum number of entries to return in each request. The returned value of NextToken is a pagination token, which can be used in the next request to retrieve a new page of results. When you perform the next request, set the NextToken parameter to the NextToken value that is returned in the previous call and use the MaxResults parameter to specify the maximum number of entries to return in this request. If the returned value of the NextToken parameter is empty, the current page of results is the last page and no more results are to be returned.
|
|
55592
|
-
* * When you use Alibaba Cloud CLI to call an API operation, you must specify request parameter values of different data types in the required formats. For more information, see [Parameter format overview](~~110340~~).
|
|
55359
|
+
* The region ID of the security groups. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
|
|
55593
55360
|
*
|
|
55594
55361
|
* @param request DescribeSecurityGroupsRequest
|
|
55595
55362
|
* @return DescribeSecurityGroupsResponse
|
|
@@ -55757,8 +55524,8 @@ class Client extends openapi_client_1.default {
|
|
|
55757
55524
|
}
|
|
55758
55525
|
/**
|
|
55759
55526
|
* When you call this operation, take note of the following items:
|
|
55760
|
-
* * You can
|
|
55761
|
-
* * Only the
|
|
55527
|
+
* * You can configure multiple request parameters, such as `RegionId`, `DiskIds`, and `InstanceId`, to query snapshot chains. The parameters have logical AND relations.
|
|
55528
|
+
* * Only the configured parameters are used as filter conditions. If `DiskIds` and `SnapshotLinkIds` are set to empty JSON arrays, the values are considered as valid filter conditions. In this case, an empty result is returned.
|
|
55762
55529
|
*
|
|
55763
55530
|
* @param request DescribeSnapshotLinksRequest
|
|
55764
55531
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -55815,8 +55582,8 @@ class Client extends openapi_client_1.default {
|
|
|
55815
55582
|
}
|
|
55816
55583
|
/**
|
|
55817
55584
|
* When you call this operation, take note of the following items:
|
|
55818
|
-
* * You can
|
|
55819
|
-
* * Only the
|
|
55585
|
+
* * You can configure multiple request parameters, such as `RegionId`, `DiskIds`, and `InstanceId`, to query snapshot chains. The parameters have logical AND relations.
|
|
55586
|
+
* * Only the configured parameters are used as filter conditions. If `DiskIds` and `SnapshotLinkIds` are set to empty JSON arrays, the values are considered as valid filter conditions. In this case, an empty result is returned.
|
|
55820
55587
|
*
|
|
55821
55588
|
* @param request DescribeSnapshotLinksRequest
|
|
55822
55589
|
* @return DescribeSnapshotLinksResponse
|
|
@@ -55826,9 +55593,9 @@ class Client extends openapi_client_1.default {
|
|
|
55826
55593
|
return await this.describeSnapshotLinksWithOptions(request, runtime);
|
|
55827
55594
|
}
|
|
55828
55595
|
/**
|
|
55829
|
-
*
|
|
55596
|
+
* Take note of the following items:
|
|
55830
55597
|
* * Up to 400 entries of monitoring data can be returned at a time. If the result of the `(EndTime - StartTime)/Period` formula is greater than 400, an error is returned.
|
|
55831
|
-
* * Only the
|
|
55598
|
+
* * Only the monitoring data within the last 30 days can be queried. If the value of `StartTime` is more than 30 days earlier than the time when you call this operation, an error is returned.
|
|
55832
55599
|
*
|
|
55833
55600
|
* @param request DescribeSnapshotMonitorDataRequest
|
|
55834
55601
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -55881,9 +55648,9 @@ class Client extends openapi_client_1.default {
|
|
|
55881
55648
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSnapshotMonitorDataResponse({}));
|
|
55882
55649
|
}
|
|
55883
55650
|
/**
|
|
55884
|
-
*
|
|
55651
|
+
* Take note of the following items:
|
|
55885
55652
|
* * Up to 400 entries of monitoring data can be returned at a time. If the result of the `(EndTime - StartTime)/Period` formula is greater than 400, an error is returned.
|
|
55886
|
-
* * Only the
|
|
55653
|
+
* * Only the monitoring data within the last 30 days can be queried. If the value of `StartTime` is more than 30 days earlier than the time when you call this operation, an error is returned.
|
|
55887
55654
|
*
|
|
55888
55655
|
* @param request DescribeSnapshotMonitorDataRequest
|
|
55889
55656
|
* @return DescribeSnapshotMonitorDataResponse
|
|
@@ -55937,8 +55704,8 @@ class Client extends openapi_client_1.default {
|
|
|
55937
55704
|
return await this.describeSnapshotPackageWithOptions(request, runtime);
|
|
55938
55705
|
}
|
|
55939
55706
|
/**
|
|
55940
|
-
* ##
|
|
55941
|
-
* You can specify multiple request parameters such as `InstanceId`, `DiskId`, and `SnapshotIds` to
|
|
55707
|
+
* ## Usage notes
|
|
55708
|
+
* You can specify multiple request parameters such as `InstanceId`, `DiskId`, and `SnapshotIds` to query snapshots. Specified parameters have logical AND relations. Only the specified parameters are included in the filter conditions.
|
|
55942
55709
|
* When you use Alibaba Cloud CLI to call an API operation, you must specify request parameter values of different data types in required formats. For more information, see [Parameter format overview](~~110340~~).
|
|
55943
55710
|
*
|
|
55944
55711
|
* @param request DescribeSnapshotsRequest
|
|
@@ -56040,8 +55807,8 @@ class Client extends openapi_client_1.default {
|
|
|
56040
55807
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSnapshotsResponse({}));
|
|
56041
55808
|
}
|
|
56042
55809
|
/**
|
|
56043
|
-
* ##
|
|
56044
|
-
* You can specify multiple request parameters such as `InstanceId`, `DiskId`, and `SnapshotIds` to
|
|
55810
|
+
* ## Usage notes
|
|
55811
|
+
* You can specify multiple request parameters such as `InstanceId`, `DiskId`, and `SnapshotIds` to query snapshots. Specified parameters have logical AND relations. Only the specified parameters are included in the filter conditions.
|
|
56045
55812
|
* When you use Alibaba Cloud CLI to call an API operation, you must specify request parameter values of different data types in required formats. For more information, see [Parameter format overview](~~110340~~).
|
|
56046
55813
|
*
|
|
56047
55814
|
* @param request DescribeSnapshotsRequest
|
|
@@ -56445,7 +56212,7 @@ class Client extends openapi_client_1.default {
|
|
|
56445
56212
|
return await this.describeStorageSetsWithOptions(request, runtime);
|
|
56446
56213
|
}
|
|
56447
56214
|
/**
|
|
56448
|
-
* If a tag key
|
|
56215
|
+
* If a tag key that has no tag value is specified, all tags that contain the tag key are returned. If a tag key-value pair is specified, only tags that exactly match the key-value pair are returned.
|
|
56449
56216
|
*
|
|
56450
56217
|
* @param request DescribeTagsRequest
|
|
56451
56218
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -56501,7 +56268,7 @@ class Client extends openapi_client_1.default {
|
|
|
56501
56268
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTagsResponse({}));
|
|
56502
56269
|
}
|
|
56503
56270
|
/**
|
|
56504
|
-
* If a tag key
|
|
56271
|
+
* If a tag key that has no tag value is specified, all tags that contain the tag key are returned. If a tag key-value pair is specified, only tags that exactly match the key-value pair are returned.
|
|
56505
56272
|
*
|
|
56506
56273
|
* @param request DescribeTagsRequest
|
|
56507
56274
|
* @return DescribeTagsResponse
|
|
@@ -57146,11 +56913,11 @@ class Client extends openapi_client_1.default {
|
|
|
57146
56913
|
}
|
|
57147
56914
|
/**
|
|
57148
56915
|
* When you call this operation, take note of the following items:
|
|
57149
|
-
* * The disk that you want to detach must be in the
|
|
57150
|
-
* * The instance from which you want to detach a data disk must be in the **Running**
|
|
57151
|
-
* * The instance from which you want to detach
|
|
57152
|
-
* * If the `OperationLocks` parameter in the response contains `"LockReason" : "security"
|
|
57153
|
-
* * DetachDisk is an asynchronous operation.
|
|
56916
|
+
* * The disk that you want to detach must be in the `In_Use` state.
|
|
56917
|
+
* * The instance from which you want to detach a pay-as-you-go data disk must be in the **Running** or **Stopped** state.````
|
|
56918
|
+
* * The instance from which you want to detach a system disk must be in the **Stopped** state.``
|
|
56919
|
+
* * If the `OperationLocks` parameter in the response contains `"LockReason" : "security"`, the instance is locked for security reasons and no operations are allowed on the instance.
|
|
56920
|
+
* * DetachDisk is an asynchronous operation. After you call the operation, a disk is detached from an instance in approximately 1 minute.
|
|
57154
56921
|
*
|
|
57155
56922
|
* @param request DetachDiskRequest
|
|
57156
56923
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -57198,11 +56965,11 @@ class Client extends openapi_client_1.default {
|
|
|
57198
56965
|
}
|
|
57199
56966
|
/**
|
|
57200
56967
|
* When you call this operation, take note of the following items:
|
|
57201
|
-
* * The disk that you want to detach must be in the
|
|
57202
|
-
* * The instance from which you want to detach a data disk must be in the **Running**
|
|
57203
|
-
* * The instance from which you want to detach
|
|
57204
|
-
* * If the `OperationLocks` parameter in the response contains `"LockReason" : "security"
|
|
57205
|
-
* * DetachDisk is an asynchronous operation.
|
|
56968
|
+
* * The disk that you want to detach must be in the `In_Use` state.
|
|
56969
|
+
* * The instance from which you want to detach a pay-as-you-go data disk must be in the **Running** or **Stopped** state.````
|
|
56970
|
+
* * The instance from which you want to detach a system disk must be in the **Stopped** state.``
|
|
56971
|
+
* * If the `OperationLocks` parameter in the response contains `"LockReason" : "security"`, the instance is locked for security reasons and no operations are allowed on the instance.
|
|
56972
|
+
* * DetachDisk is an asynchronous operation. After you call the operation, a disk is detached from an instance in approximately 1 minute.
|
|
57206
56973
|
*
|
|
57207
56974
|
* @param request DetachDiskRequest
|
|
57208
56975
|
* @return DetachDiskResponse
|
|
@@ -57254,8 +57021,8 @@ class Client extends openapi_client_1.default {
|
|
|
57254
57021
|
}
|
|
57255
57022
|
/**
|
|
57256
57023
|
* When you call this operation, take note of the following items:
|
|
57257
|
-
* * After you
|
|
57258
|
-
* *
|
|
57024
|
+
* * After you unbind an SSH key pair from an instance, you must call the [RebootInstance](~~25502~~) operation to restart the instance to allow the unbind operation to take effect.
|
|
57025
|
+
* * After you unbind an SSH key pair from an instance, the username and password authentication method is selected for the instance.
|
|
57259
57026
|
*
|
|
57260
57027
|
* @param request DetachKeyPairRequest
|
|
57261
57028
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -57300,8 +57067,8 @@ class Client extends openapi_client_1.default {
|
|
|
57300
57067
|
}
|
|
57301
57068
|
/**
|
|
57302
57069
|
* When you call this operation, take note of the following items:
|
|
57303
|
-
* * After you
|
|
57304
|
-
* *
|
|
57070
|
+
* * After you unbind an SSH key pair from an instance, you must call the [RebootInstance](~~25502~~) operation to restart the instance to allow the unbind operation to take effect.
|
|
57071
|
+
* * After you unbind an SSH key pair from an instance, the username and password authentication method is selected for the instance.
|
|
57305
57072
|
*
|
|
57306
57073
|
* @param request DetachKeyPairRequest
|
|
57307
57074
|
* @return DetachKeyPairResponse
|
|
@@ -57394,7 +57161,6 @@ class Client extends openapi_client_1.default {
|
|
|
57394
57161
|
return await this.detachNetworkInterfaceWithOptions(request, runtime);
|
|
57395
57162
|
}
|
|
57396
57163
|
/**
|
|
57397
|
-
* ## Description
|
|
57398
57164
|
* To prevent an activation code from being leaked, you can call the DisableActivation operation to disable the activation code. Disabled activation codes cannot be used to register new managed instances. However, managed instances that are already registered are not affected.
|
|
57399
57165
|
*
|
|
57400
57166
|
* @param request DisableActivationRequest
|
|
@@ -57442,7 +57208,6 @@ class Client extends openapi_client_1.default {
|
|
|
57442
57208
|
return $tea.cast(await this.callApi(params, req, runtime), new DisableActivationResponse({}));
|
|
57443
57209
|
}
|
|
57444
57210
|
/**
|
|
57445
|
-
* ## Description
|
|
57446
57211
|
* To prevent an activation code from being leaked, you can call the DisableActivation operation to disable the activation code. Disabled activation codes cannot be used to register new managed instances. However, managed instances that are already registered are not affected.
|
|
57447
57212
|
*
|
|
57448
57213
|
* @param request DisableActivationRequest
|
|
@@ -57694,42 +57459,46 @@ class Client extends openapi_client_1.default {
|
|
|
57694
57459
|
/**
|
|
57695
57460
|
* Before you export a custom image, complete the following operations:
|
|
57696
57461
|
* * Understand the prerequisites and precautions. For more information, see [Export images](~~58181~~).
|
|
57697
|
-
* * Use Resource Access Management (RAM) to
|
|
57698
|
-
* 1. Create a role named `AliyunECSImageExportDefaultRole
|
|
57462
|
+
* * Use Resource Access Management (RAM) to grant Elastic Compute Service (ECS) the permissions to write data to OSS. To complete the authorization, perform the following operations:
|
|
57463
|
+
* 1. Create a role named `AliyunECSImageExportDefaultRole`. Configure the following policy for the role:
|
|
57464
|
+
* ```json
|
|
57465
|
+
* {
|
|
57466
|
+
* "Statement": [
|
|
57699
57467
|
* {
|
|
57700
|
-
* "
|
|
57701
|
-
*
|
|
57702
|
-
*
|
|
57703
|
-
*
|
|
57704
|
-
* "
|
|
57705
|
-
*
|
|
57706
|
-
*
|
|
57707
|
-
* ]
|
|
57708
|
-
* }
|
|
57709
|
-
* }
|
|
57710
|
-
* ],
|
|
57711
|
-
* "Version": "1"
|
|
57468
|
+
* "Action": "sts:AssumeRole",
|
|
57469
|
+
* "Effect": "Allow",
|
|
57470
|
+
* "Principal": {
|
|
57471
|
+
* "Service": [
|
|
57472
|
+
* "ecs.aliyuncs.com"
|
|
57473
|
+
* ]
|
|
57474
|
+
* }
|
|
57712
57475
|
* }
|
|
57713
|
-
*
|
|
57476
|
+
* ],
|
|
57477
|
+
* "Version": "1"
|
|
57478
|
+
* }
|
|
57479
|
+
* ```
|
|
57480
|
+
* 2. Attach the `AliyunECSImageExportRolePolicy` system policy to the `AliyunECSImageExportDefaultRole` role. This policy is the default policy that grants ECS the permissions to export images. For more information, go to the [Cloud Resource Access Authorization](https://ram.console.aliyun.com/?spm=5176.2020520101.0.0.64c64df5dfpmdY#/role/authorize?request=%7B%22Requests%22:%20%7B%22request1%22:%20%7B%22RoleName%22:%20%22AliyunECSImageImportDefaultRole%22,%20%22TemplateId%22:%20%22ECSImportRole%22%7D,%20%22request2%22:%20%7B%22RoleName%22:%20%22AliyunECSImageExportDefaultRole%22,%20%22TemplateId%22:%20%22ECSExportRole%22%7D%7D,%20%22ReturnUrl%22:%20%22https:%2F%2Fecs.console.aliyun.com%2F%22,%20%22Service%22:%20%22ECS%22%7D) page. You can also create a custom policy that contains the following document and attach the policy to the role:
|
|
57481
|
+
* ```json
|
|
57482
|
+
* {
|
|
57483
|
+
* "Version": "1",
|
|
57484
|
+
* "Statement": [
|
|
57714
57485
|
* {
|
|
57715
|
-
* "
|
|
57716
|
-
*
|
|
57717
|
-
*
|
|
57718
|
-
*
|
|
57719
|
-
*
|
|
57720
|
-
*
|
|
57721
|
-
*
|
|
57722
|
-
*
|
|
57723
|
-
*
|
|
57724
|
-
*
|
|
57725
|
-
*
|
|
57726
|
-
*
|
|
57727
|
-
* ],
|
|
57728
|
-
* "Resource": "*",
|
|
57729
|
-
* "Effect": "Allow"
|
|
57730
|
-
* }
|
|
57731
|
-
* ]
|
|
57486
|
+
* "Action": [
|
|
57487
|
+
* "oss:GetObject",
|
|
57488
|
+
* "oss:PutObject",
|
|
57489
|
+
* "oss:DeleteObject",
|
|
57490
|
+
* "oss:GetBucketLocation",
|
|
57491
|
+
* "oss:GetBucketInfo",
|
|
57492
|
+
* "oss:AbortMultipartUpload",
|
|
57493
|
+
* "oss:ListMultipartUploads",
|
|
57494
|
+
* "oss:ListParts"
|
|
57495
|
+
* ],
|
|
57496
|
+
* "Resource": "*",
|
|
57497
|
+
* "Effect": "Allow"
|
|
57732
57498
|
* }
|
|
57499
|
+
* ]
|
|
57500
|
+
* }
|
|
57501
|
+
* ```
|
|
57733
57502
|
* After you export a custom image, the following situation occurs:
|
|
57734
57503
|
* The custom image is stored in the specified OSS bucket. You can download the custom image. For more information, see [Download objects](~~31912~~).
|
|
57735
57504
|
*
|
|
@@ -57786,42 +57555,46 @@ class Client extends openapi_client_1.default {
|
|
|
57786
57555
|
/**
|
|
57787
57556
|
* Before you export a custom image, complete the following operations:
|
|
57788
57557
|
* * Understand the prerequisites and precautions. For more information, see [Export images](~~58181~~).
|
|
57789
|
-
* * Use Resource Access Management (RAM) to
|
|
57790
|
-
* 1. Create a role named `AliyunECSImageExportDefaultRole
|
|
57558
|
+
* * Use Resource Access Management (RAM) to grant Elastic Compute Service (ECS) the permissions to write data to OSS. To complete the authorization, perform the following operations:
|
|
57559
|
+
* 1. Create a role named `AliyunECSImageExportDefaultRole`. Configure the following policy for the role:
|
|
57560
|
+
* ```json
|
|
57561
|
+
* {
|
|
57562
|
+
* "Statement": [
|
|
57791
57563
|
* {
|
|
57792
|
-
* "
|
|
57793
|
-
*
|
|
57794
|
-
*
|
|
57795
|
-
*
|
|
57796
|
-
* "
|
|
57797
|
-
*
|
|
57798
|
-
*
|
|
57799
|
-
* ]
|
|
57800
|
-
* }
|
|
57801
|
-
* }
|
|
57802
|
-
* ],
|
|
57803
|
-
* "Version": "1"
|
|
57564
|
+
* "Action": "sts:AssumeRole",
|
|
57565
|
+
* "Effect": "Allow",
|
|
57566
|
+
* "Principal": {
|
|
57567
|
+
* "Service": [
|
|
57568
|
+
* "ecs.aliyuncs.com"
|
|
57569
|
+
* ]
|
|
57570
|
+
* }
|
|
57804
57571
|
* }
|
|
57805
|
-
*
|
|
57572
|
+
* ],
|
|
57573
|
+
* "Version": "1"
|
|
57574
|
+
* }
|
|
57575
|
+
* ```
|
|
57576
|
+
* 2. Attach the `AliyunECSImageExportRolePolicy` system policy to the `AliyunECSImageExportDefaultRole` role. This policy is the default policy that grants ECS the permissions to export images. For more information, go to the [Cloud Resource Access Authorization](https://ram.console.aliyun.com/?spm=5176.2020520101.0.0.64c64df5dfpmdY#/role/authorize?request=%7B%22Requests%22:%20%7B%22request1%22:%20%7B%22RoleName%22:%20%22AliyunECSImageImportDefaultRole%22,%20%22TemplateId%22:%20%22ECSImportRole%22%7D,%20%22request2%22:%20%7B%22RoleName%22:%20%22AliyunECSImageExportDefaultRole%22,%20%22TemplateId%22:%20%22ECSExportRole%22%7D%7D,%20%22ReturnUrl%22:%20%22https:%2F%2Fecs.console.aliyun.com%2F%22,%20%22Service%22:%20%22ECS%22%7D) page. You can also create a custom policy that contains the following document and attach the policy to the role:
|
|
57577
|
+
* ```json
|
|
57578
|
+
* {
|
|
57579
|
+
* "Version": "1",
|
|
57580
|
+
* "Statement": [
|
|
57806
57581
|
* {
|
|
57807
|
-
* "
|
|
57808
|
-
*
|
|
57809
|
-
*
|
|
57810
|
-
*
|
|
57811
|
-
*
|
|
57812
|
-
*
|
|
57813
|
-
*
|
|
57814
|
-
*
|
|
57815
|
-
*
|
|
57816
|
-
*
|
|
57817
|
-
*
|
|
57818
|
-
*
|
|
57819
|
-
* ],
|
|
57820
|
-
* "Resource": "*",
|
|
57821
|
-
* "Effect": "Allow"
|
|
57822
|
-
* }
|
|
57823
|
-
* ]
|
|
57582
|
+
* "Action": [
|
|
57583
|
+
* "oss:GetObject",
|
|
57584
|
+
* "oss:PutObject",
|
|
57585
|
+
* "oss:DeleteObject",
|
|
57586
|
+
* "oss:GetBucketLocation",
|
|
57587
|
+
* "oss:GetBucketInfo",
|
|
57588
|
+
* "oss:AbortMultipartUpload",
|
|
57589
|
+
* "oss:ListMultipartUploads",
|
|
57590
|
+
* "oss:ListParts"
|
|
57591
|
+
* ],
|
|
57592
|
+
* "Resource": "*",
|
|
57593
|
+
* "Effect": "Allow"
|
|
57824
57594
|
* }
|
|
57595
|
+
* ]
|
|
57596
|
+
* }
|
|
57597
|
+
* ```
|
|
57825
57598
|
* After you export a custom image, the following situation occurs:
|
|
57826
57599
|
* The custom image is stored in the specified OSS bucket. You can download the custom image. For more information, see [Download objects](~~31912~~).
|
|
57827
57600
|
*
|
|
@@ -57892,9 +57665,9 @@ class Client extends openapi_client_1.default {
|
|
|
57892
57665
|
return await this.exportSnapshotWithOptions(request, runtime);
|
|
57893
57666
|
}
|
|
57894
57667
|
/**
|
|
57895
|
-
* * ECS is a virtualized cloud-based service and cannot be connected to display devices.
|
|
57896
|
-
* *
|
|
57897
|
-
* *
|
|
57668
|
+
* * ECS is a virtualized cloud-based service and cannot be connected to display devices. Alibaba Cloud caches system command outputs for the last start, restart, or shutdown of ECS instances. You can call the GetInstanceConsoleOutput operation to query the command outputs.
|
|
57669
|
+
* * For instances of the retired instance types, you cannot obtain command outputs. For more information, see [Retired instance types](~~55263~~).
|
|
57670
|
+
* * You cannot obtain the command outputs of Windows instances.
|
|
57898
57671
|
*
|
|
57899
57672
|
* @param request GetInstanceConsoleOutputRequest
|
|
57900
57673
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -57944,9 +57717,9 @@ class Client extends openapi_client_1.default {
|
|
|
57944
57717
|
return $tea.cast(await this.callApi(params, req, runtime), new GetInstanceConsoleOutputResponse({}));
|
|
57945
57718
|
}
|
|
57946
57719
|
/**
|
|
57947
|
-
* * ECS is a virtualized cloud-based service and cannot be connected to display devices.
|
|
57948
|
-
* *
|
|
57949
|
-
* *
|
|
57720
|
+
* * ECS is a virtualized cloud-based service and cannot be connected to display devices. Alibaba Cloud caches system command outputs for the last start, restart, or shutdown of ECS instances. You can call the GetInstanceConsoleOutput operation to query the command outputs.
|
|
57721
|
+
* * For instances of the retired instance types, you cannot obtain command outputs. For more information, see [Retired instance types](~~55263~~).
|
|
57722
|
+
* * You cannot obtain the command outputs of Windows instances.
|
|
57950
57723
|
*
|
|
57951
57724
|
* @param request GetInstanceConsoleOutputRequest
|
|
57952
57725
|
* @return GetInstanceConsoleOutputResponse
|
|
@@ -57956,10 +57729,10 @@ class Client extends openapi_client_1.default {
|
|
|
57956
57729
|
return await this.getInstanceConsoleOutputWithOptions(request, runtime);
|
|
57957
57730
|
}
|
|
57958
57731
|
/**
|
|
57959
|
-
* ECS returns
|
|
57732
|
+
* After ECS returns a Base64-encoded instance screenshot in the JPG format, you must decode the screenshot. We recommend that you call this operation for troubleshooting and diagnosis. When you call this operation, take note of the following items:
|
|
57960
57733
|
* * The instance must be in the Running state.
|
|
57961
|
-
* *
|
|
57962
|
-
* * If you
|
|
57734
|
+
* * For instances of the retired instance types, you cannot obtain screenshots. For more information, see [Retired instance types](~~55263~~).
|
|
57735
|
+
* * If you call this operation on an instance for multiple times, the call interval must be at least 10 seconds. Otherwise, the `Throttling` error is returned.
|
|
57963
57736
|
*
|
|
57964
57737
|
* @param request GetInstanceScreenshotRequest
|
|
57965
57738
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -58009,10 +57782,10 @@ class Client extends openapi_client_1.default {
|
|
|
58009
57782
|
return $tea.cast(await this.callApi(params, req, runtime), new GetInstanceScreenshotResponse({}));
|
|
58010
57783
|
}
|
|
58011
57784
|
/**
|
|
58012
|
-
* ECS returns
|
|
57785
|
+
* After ECS returns a Base64-encoded instance screenshot in the JPG format, you must decode the screenshot. We recommend that you call this operation for troubleshooting and diagnosis. When you call this operation, take note of the following items:
|
|
58013
57786
|
* * The instance must be in the Running state.
|
|
58014
|
-
* *
|
|
58015
|
-
* * If you
|
|
57787
|
+
* * For instances of the retired instance types, you cannot obtain screenshots. For more information, see [Retired instance types](~~55263~~).
|
|
57788
|
+
* * If you call this operation on an instance for multiple times, the call interval must be at least 10 seconds. Otherwise, the `Throttling` error is returned.
|
|
58016
57789
|
*
|
|
58017
57790
|
* @param request GetInstanceScreenshotRequest
|
|
58018
57791
|
* @return GetInstanceScreenshotResponse
|
|
@@ -58024,8 +57797,8 @@ class Client extends openapi_client_1.default {
|
|
|
58024
57797
|
/**
|
|
58025
57798
|
* When you call this operation, take note of the following items:
|
|
58026
57799
|
* * Before you can import an image, you must upload the image to an Object Storage Service (OSS) bucket. For more information, see [Upload objects](~~31886~~).
|
|
58027
|
-
* * In some scenarios, you may want to create
|
|
58028
|
-
* *
|
|
57800
|
+
* * In some scenarios, you may want to create an image based on the operating system data of a source server, import the image to ECS, and then create an ECS instance from the imported image. The source server can be a physical server, a virtual machine, or a cloud host. If the virtio driver is not installed on the source server, the created ECS instance may be unable to start. To prevent this issue, make sure that the virtio driver is installed on the source server before you import an image to Alibaba Cloud. For more information, see [Install the virtio driver](~~62423~~).
|
|
57801
|
+
* * Before you import images for the first time, you must use Resource Access Management (RAM) to authorize ECS to access your OSS buckets. If ECS is not authorized to access your OSS buckets, the `NoSetRoletoECSServiceAcount` error code is returned when you call the ImportImage operation. The [Cloud Resource Access Authorization](https://ram.console.aliyun.com/?spm=5176.2020520101image.0.0.2ffa4df57kSoHX#/role/authorize?request=%7B%22Requests%22%3A%20%7B%22request1%22%3A%20%7B%22RoleName%22%3A%20%22AliyunECSImageImportDefaultRole%22%2C%20%22TemplateId%22%3A%20%22ECSImportRole%22%7D%2C%20%22request2%22%3A%20%7B%22RoleName%22%3A%20%22AliyunECSImageExportDefaultRole%22%2C%20%22TemplateId%22%3A%20%22ECSExportRole%22%7D%7D%2C%20%22ReturnUrl%22%3A%20%22https%3A//ecs.console.aliyun.com/%22%2C%20%22Service%22%3A%20%22ECS%22%7D) page in the RAM console provides a convenient push-button authorization feature for this operation. You can also perform the authorization by using a RAM role and RAM policies. The following examples show the policies and permissions required for some steps in the authorization procedure. For more information, see [Control access to resources by using RAM users](~~25481~~).
|
|
58029
57802
|
* 1. Create a role named `AliyunECSImageImportDefaultRole`. You must use this exact name. Otherwise, the image cannot be imported. Configure the following trust policy for the role:
|
|
58030
57803
|
* {
|
|
58031
57804
|
* "Statement": [
|
|
@@ -58059,19 +57832,19 @@ class Client extends openapi_client_1.default {
|
|
|
58059
57832
|
* }
|
|
58060
57833
|
* ```
|
|
58061
57834
|
* * You cannot delete an image that is being imported. However, you can call the [CancelTask](~~25624~~) operation to cancel the image import task.
|
|
58062
|
-
* *
|
|
57835
|
+
* * You can import an image only to the same region as the OSS bucket to which the image was uploaded.
|
|
58063
57836
|
* * The valid values of N in the `DiskDeviceMapping.N` parameter range from 1 to 17. When N is set to 1, the disk is a system disk. When N is set to a value from 2 to 17, the disk is a data disk.
|
|
58064
|
-
* * When you set
|
|
58065
|
-
* *
|
|
58066
|
-
* * The
|
|
58067
|
-
* * The
|
|
57837
|
+
* * When you set `Architecture` to `arm64` or when you set `Platform` to `CentOS Stream`, `Anolis`, `AlmaLinux`, `UOS`, `Kylin`, or `Rocky Linux`, take note of the following items:
|
|
57838
|
+
* * To ensure that the password can be set, or that the key pair can be modified for an imported image, the image must meet the following requirements:
|
|
57839
|
+
* * The operating system kernel supports the `CONFIG_FW_CFG_SYSFS` feature. By default, Linux community kernel 4.6 and later, as well as CentOS kernel 3.10.0-826.el7 and later, support this feature. You can run the `grep -nr CONFIG_FW_CFG_SYSFS /boot/config-$(uname -r)` command in the source server of the image. If the command output contains `CONFIG_FW_CFG_SYSFS=y`, the kernel of this image supports the `CONFIG_FW_CFG_SYSFS` feature.
|
|
57840
|
+
* * The latest version of Alibaba Cloud cloud-init is installed on the operating system. If the installed version of cloud-init is 19.1, make sure that the minor version is 19.1.3 or later. If the installed version of cloud-init is 0.7.6a as in some early versions of operating systems, make sure that the minor version is 0.7.6a15 or later. For more information, see [Install cloud-init](~~57803~~).
|
|
58068
57841
|
* * The operating system supports the SHA-512 encryption algorithm.
|
|
58069
|
-
* * If you want
|
|
57842
|
+
* * If you want an imported image to support the resizing of disks and file systems, make sure that the image meets the following requirements before you import it:
|
|
58070
57843
|
* * The kernel version of the operating system is later than 3.6.
|
|
58071
|
-
* * The image supports the growpart command.
|
|
58072
|
-
* * The image
|
|
58073
|
-
* * The
|
|
58074
|
-
* * If the image that you want to import uses the ARM64 architecture, you must
|
|
57844
|
+
* * The image supports the growpart command. To support this command, you must install the `cloud-utils-growpart` package. Package installation methods vary based on operating systems. For more information, see [Resize partitions and file systems of Linux system disks](~~111738~~).
|
|
57845
|
+
* * The image supports the resize2fs command. To support this command, you must install the `e2fsprogs` package. By default, the package is installed on the operating system. If the package is not installed, you must install it.
|
|
57846
|
+
* * The latest version of Alibaba Cloud cloud-init is installed on the operating system. If the installed version of cloud-init is 19.1, make sure that the minor version is 19.1.3 or later. If the installed version of cloud-init is 0.7.6a as in some early versions of operating systems, make sure that the minor version is 0.7.6a15 or later. For more information, see [Install cloud-init](~~57803~~).
|
|
57847
|
+
* * If the image that you want to import uses the ARM64 architecture, you must configure the real-time clock (RTC) to use the Coordinated Universal Time (UTC) time standard. For more information, see [Linux time and time zones](https://icms.alibaba-inc.com/content/ecs/image?l=1\\&m=4656\\&n=3385033).
|
|
58075
57848
|
*
|
|
58076
57849
|
* @param request ImportImageRequest
|
|
58077
57850
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -58147,8 +57920,8 @@ class Client extends openapi_client_1.default {
|
|
|
58147
57920
|
/**
|
|
58148
57921
|
* When you call this operation, take note of the following items:
|
|
58149
57922
|
* * Before you can import an image, you must upload the image to an Object Storage Service (OSS) bucket. For more information, see [Upload objects](~~31886~~).
|
|
58150
|
-
* * In some scenarios, you may want to create
|
|
58151
|
-
* *
|
|
57923
|
+
* * In some scenarios, you may want to create an image based on the operating system data of a source server, import the image to ECS, and then create an ECS instance from the imported image. The source server can be a physical server, a virtual machine, or a cloud host. If the virtio driver is not installed on the source server, the created ECS instance may be unable to start. To prevent this issue, make sure that the virtio driver is installed on the source server before you import an image to Alibaba Cloud. For more information, see [Install the virtio driver](~~62423~~).
|
|
57924
|
+
* * Before you import images for the first time, you must use Resource Access Management (RAM) to authorize ECS to access your OSS buckets. If ECS is not authorized to access your OSS buckets, the `NoSetRoletoECSServiceAcount` error code is returned when you call the ImportImage operation. The [Cloud Resource Access Authorization](https://ram.console.aliyun.com/?spm=5176.2020520101image.0.0.2ffa4df57kSoHX#/role/authorize?request=%7B%22Requests%22%3A%20%7B%22request1%22%3A%20%7B%22RoleName%22%3A%20%22AliyunECSImageImportDefaultRole%22%2C%20%22TemplateId%22%3A%20%22ECSImportRole%22%7D%2C%20%22request2%22%3A%20%7B%22RoleName%22%3A%20%22AliyunECSImageExportDefaultRole%22%2C%20%22TemplateId%22%3A%20%22ECSExportRole%22%7D%7D%2C%20%22ReturnUrl%22%3A%20%22https%3A//ecs.console.aliyun.com/%22%2C%20%22Service%22%3A%20%22ECS%22%7D) page in the RAM console provides a convenient push-button authorization feature for this operation. You can also perform the authorization by using a RAM role and RAM policies. The following examples show the policies and permissions required for some steps in the authorization procedure. For more information, see [Control access to resources by using RAM users](~~25481~~).
|
|
58152
57925
|
* 1. Create a role named `AliyunECSImageImportDefaultRole`. You must use this exact name. Otherwise, the image cannot be imported. Configure the following trust policy for the role:
|
|
58153
57926
|
* {
|
|
58154
57927
|
* "Statement": [
|
|
@@ -58182,19 +57955,19 @@ class Client extends openapi_client_1.default {
|
|
|
58182
57955
|
* }
|
|
58183
57956
|
* ```
|
|
58184
57957
|
* * You cannot delete an image that is being imported. However, you can call the [CancelTask](~~25624~~) operation to cancel the image import task.
|
|
58185
|
-
* *
|
|
57958
|
+
* * You can import an image only to the same region as the OSS bucket to which the image was uploaded.
|
|
58186
57959
|
* * The valid values of N in the `DiskDeviceMapping.N` parameter range from 1 to 17. When N is set to 1, the disk is a system disk. When N is set to a value from 2 to 17, the disk is a data disk.
|
|
58187
|
-
* * When you set
|
|
58188
|
-
* *
|
|
58189
|
-
* * The
|
|
58190
|
-
* * The
|
|
57960
|
+
* * When you set `Architecture` to `arm64` or when you set `Platform` to `CentOS Stream`, `Anolis`, `AlmaLinux`, `UOS`, `Kylin`, or `Rocky Linux`, take note of the following items:
|
|
57961
|
+
* * To ensure that the password can be set, or that the key pair can be modified for an imported image, the image must meet the following requirements:
|
|
57962
|
+
* * The operating system kernel supports the `CONFIG_FW_CFG_SYSFS` feature. By default, Linux community kernel 4.6 and later, as well as CentOS kernel 3.10.0-826.el7 and later, support this feature. You can run the `grep -nr CONFIG_FW_CFG_SYSFS /boot/config-$(uname -r)` command in the source server of the image. If the command output contains `CONFIG_FW_CFG_SYSFS=y`, the kernel of this image supports the `CONFIG_FW_CFG_SYSFS` feature.
|
|
57963
|
+
* * The latest version of Alibaba Cloud cloud-init is installed on the operating system. If the installed version of cloud-init is 19.1, make sure that the minor version is 19.1.3 or later. If the installed version of cloud-init is 0.7.6a as in some early versions of operating systems, make sure that the minor version is 0.7.6a15 or later. For more information, see [Install cloud-init](~~57803~~).
|
|
58191
57964
|
* * The operating system supports the SHA-512 encryption algorithm.
|
|
58192
|
-
* * If you want
|
|
57965
|
+
* * If you want an imported image to support the resizing of disks and file systems, make sure that the image meets the following requirements before you import it:
|
|
58193
57966
|
* * The kernel version of the operating system is later than 3.6.
|
|
58194
|
-
* * The image supports the growpart command.
|
|
58195
|
-
* * The image
|
|
58196
|
-
* * The
|
|
58197
|
-
* * If the image that you want to import uses the ARM64 architecture, you must
|
|
57967
|
+
* * The image supports the growpart command. To support this command, you must install the `cloud-utils-growpart` package. Package installation methods vary based on operating systems. For more information, see [Resize partitions and file systems of Linux system disks](~~111738~~).
|
|
57968
|
+
* * The image supports the resize2fs command. To support this command, you must install the `e2fsprogs` package. By default, the package is installed on the operating system. If the package is not installed, you must install it.
|
|
57969
|
+
* * The latest version of Alibaba Cloud cloud-init is installed on the operating system. If the installed version of cloud-init is 19.1, make sure that the minor version is 19.1.3 or later. If the installed version of cloud-init is 0.7.6a as in some early versions of operating systems, make sure that the minor version is 0.7.6a15 or later. For more information, see [Install cloud-init](~~57803~~).
|
|
57970
|
+
* * If the image that you want to import uses the ARM64 architecture, you must configure the real-time clock (RTC) to use the Coordinated Universal Time (UTC) time standard. For more information, see [Linux time and time zones](https://icms.alibaba-inc.com/content/ecs/image?l=1\\&m=4656\\&n=3385033).
|
|
58198
57971
|
*
|
|
58199
57972
|
* @param request ImportImageRequest
|
|
58200
57973
|
* @return ImportImageResponse
|
|
@@ -58205,20 +57978,20 @@ class Client extends openapi_client_1.default {
|
|
|
58205
57978
|
}
|
|
58206
57979
|
/**
|
|
58207
57980
|
* When you call this operation, take note of the following items:
|
|
58208
|
-
* *
|
|
58209
|
-
* *
|
|
58210
|
-
* *
|
|
58211
|
-
* *
|
|
58212
|
-
* *
|
|
58213
|
-
* *
|
|
58214
|
-
* *
|
|
58215
|
-
* *
|
|
58216
|
-
* *
|
|
58217
|
-
* *
|
|
58218
|
-
* *
|
|
58219
|
-
* *
|
|
58220
|
-
* *
|
|
58221
|
-
* *
|
|
57981
|
+
* * A maximum of 500 key pairs can be created in each region.
|
|
57982
|
+
* * The key pair that you want to import must support one of the following encryption methods:
|
|
57983
|
+
* * rsa
|
|
57984
|
+
* * dsa
|
|
57985
|
+
* * ssh-rsa
|
|
57986
|
+
* * ssh-dss
|
|
57987
|
+
* * ecdsa
|
|
57988
|
+
* * <ssh-rsa-cert-v00@openssh.com>
|
|
57989
|
+
* * <ssh-dss-cert-v00@openssh.com>
|
|
57990
|
+
* * <ssh-rsa-cert-v01@openssh.com>
|
|
57991
|
+
* * <ssh-dss-cert-v01@openssh.com>
|
|
57992
|
+
* * <ecdsa-sha2-nistp256-cert-v01@openssh.com>
|
|
57993
|
+
* * <ecdsa-sha2-nistp384-cert-v01@openssh.com>
|
|
57994
|
+
* * <ecdsa-sha2-nistp521-cert-v01@openssh.com>
|
|
58222
57995
|
*
|
|
58223
57996
|
* @param request ImportKeyPairRequest
|
|
58224
57997
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -58269,20 +58042,20 @@ class Client extends openapi_client_1.default {
|
|
|
58269
58042
|
}
|
|
58270
58043
|
/**
|
|
58271
58044
|
* When you call this operation, take note of the following items:
|
|
58272
|
-
* *
|
|
58273
|
-
* *
|
|
58274
|
-
* *
|
|
58275
|
-
* *
|
|
58276
|
-
* *
|
|
58277
|
-
* *
|
|
58278
|
-
* *
|
|
58279
|
-
* *
|
|
58280
|
-
* *
|
|
58281
|
-
* *
|
|
58282
|
-
* *
|
|
58283
|
-
* *
|
|
58284
|
-
* *
|
|
58285
|
-
* *
|
|
58045
|
+
* * A maximum of 500 key pairs can be created in each region.
|
|
58046
|
+
* * The key pair that you want to import must support one of the following encryption methods:
|
|
58047
|
+
* * rsa
|
|
58048
|
+
* * dsa
|
|
58049
|
+
* * ssh-rsa
|
|
58050
|
+
* * ssh-dss
|
|
58051
|
+
* * ecdsa
|
|
58052
|
+
* * <ssh-rsa-cert-v00@openssh.com>
|
|
58053
|
+
* * <ssh-dss-cert-v00@openssh.com>
|
|
58054
|
+
* * <ssh-rsa-cert-v01@openssh.com>
|
|
58055
|
+
* * <ssh-dss-cert-v01@openssh.com>
|
|
58056
|
+
* * <ecdsa-sha2-nistp256-cert-v01@openssh.com>
|
|
58057
|
+
* * <ecdsa-sha2-nistp384-cert-v01@openssh.com>
|
|
58058
|
+
* * <ecdsa-sha2-nistp521-cert-v01@openssh.com>
|
|
58286
58059
|
*
|
|
58287
58060
|
* @param request ImportKeyPairRequest
|
|
58288
58061
|
* @return ImportKeyPairResponse
|
|
@@ -58411,20 +58184,20 @@ class Client extends openapi_client_1.default {
|
|
|
58411
58184
|
return await this.installCloudAssistantWithOptions(request, runtime);
|
|
58412
58185
|
}
|
|
58413
58186
|
/**
|
|
58414
|
-
* * The ECS instances on which you want to run the Cloud Assistant command must meet the following requirements. If you specify multiple ECS instances and one of the instances does not meet the requirements
|
|
58415
|
-
* * The network type is
|
|
58416
|
-
* * The instances are in the
|
|
58187
|
+
* * The ECS instances on which you want to run the Cloud Assistant command must meet the following requirements. If you specify multiple ECS instances and one of the instances does not meet the requirements for running the command, the call fails. Specify instances that meet the requirements and call the InvokeCommand operation again.
|
|
58188
|
+
* * The network type is Virtual Private Cloud (VPC). For more information, see [What is a VPC?](~~34217~~)
|
|
58189
|
+
* * The instances are in the `Running` state.
|
|
58417
58190
|
* * The Cloud Assistant client is installed on the instances. For more information, see [Install the Cloud Assistant client](~~64921~~).
|
|
58418
|
-
* * Before you run PowerShell commands, make sure that the PowerShell module
|
|
58419
|
-
* * If
|
|
58420
|
-
* * If
|
|
58421
|
-
* * The schedule is specified by the `Frequency` parameter. The
|
|
58422
|
-
* * If you want to specify a schedule by using a cron expression, you can specify a time zone based on your
|
|
58423
|
-
* To ensure that scheduled tasks can run as expected, make sure that the version of the Cloud Assistant client is not earlier than the following
|
|
58191
|
+
* * Before you run PowerShell commands, make sure that the instances have the PowerShell module configured.
|
|
58192
|
+
* * If `Timed` is set to false, the command is run only once.
|
|
58193
|
+
* * If `Timed` is set to true, the command is run on a schedule.
|
|
58194
|
+
* * The schedule is specified by the `Frequency` parameter. The results of each execution of a command do not affect the next execution of the command.
|
|
58195
|
+
* * If you want to specify a schedule by using a cron expression, you can specify a time zone based on your requirements. If you do not specify a time zone, the schedule is based on the system time of the instance. Make sure that the time or time zone of the instance meets your business requirements. For more information, see [Configure the NTP service and time zone for Linux instances](~~92803~~) or [Configure the NTP service for Windows instances](~~51890~~).
|
|
58196
|
+
* To ensure that scheduled tasks can run as expected, make sure that the version of the Cloud Assistant client is not earlier than the following ones. A scheduled task can run a command at a specified interval, only once at a specified point in time, or at designated points in time based on a cron expression with a specified year or time zone. If the `ClientNeedUpgrade` error code is returned, you must upgrade the Cloud Assistant client to the latest version. For more information, see [Update or disable updates for the Cloud Assistant client](~~134383~~).
|
|
58424
58197
|
* - Linux: 2.2.3.282
|
|
58425
58198
|
* - Windows: 2.1.3.282
|
|
58426
58199
|
* * Command executions may fail due to instance status exceptions, network exceptions, or exceptions on the Cloud Assistant client. If an execution fails, no execution information is generated.
|
|
58427
|
-
* * If you enable the custom parameter feature by setting
|
|
58200
|
+
* * If you enable the custom parameter feature by setting EnableParameter to true when you create a command, you must configure custom parameters in the `Parameters` when you run the command.
|
|
58428
58201
|
*
|
|
58429
58202
|
* @param tmpReq InvokeCommandRequest
|
|
58430
58203
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -58438,6 +58211,9 @@ class Client extends openapi_client_1.default {
|
|
|
58438
58211
|
request.parametersShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.parameters, "Parameters", "json");
|
|
58439
58212
|
}
|
|
58440
58213
|
let query = {};
|
|
58214
|
+
if (!tea_util_1.default.isUnset(request.clientToken)) {
|
|
58215
|
+
query["ClientToken"] = request.clientToken;
|
|
58216
|
+
}
|
|
58441
58217
|
if (!tea_util_1.default.isUnset(request.commandId)) {
|
|
58442
58218
|
query["CommandId"] = request.commandId;
|
|
58443
58219
|
}
|
|
@@ -58512,20 +58288,20 @@ class Client extends openapi_client_1.default {
|
|
|
58512
58288
|
return $tea.cast(await this.callApi(params, req, runtime), new InvokeCommandResponse({}));
|
|
58513
58289
|
}
|
|
58514
58290
|
/**
|
|
58515
|
-
* * The ECS instances on which you want to run the Cloud Assistant command must meet the following requirements. If you specify multiple ECS instances and one of the instances does not meet the requirements
|
|
58516
|
-
* * The network type is
|
|
58517
|
-
* * The instances are in the
|
|
58291
|
+
* * The ECS instances on which you want to run the Cloud Assistant command must meet the following requirements. If you specify multiple ECS instances and one of the instances does not meet the requirements for running the command, the call fails. Specify instances that meet the requirements and call the InvokeCommand operation again.
|
|
58292
|
+
* * The network type is Virtual Private Cloud (VPC). For more information, see [What is a VPC?](~~34217~~)
|
|
58293
|
+
* * The instances are in the `Running` state.
|
|
58518
58294
|
* * The Cloud Assistant client is installed on the instances. For more information, see [Install the Cloud Assistant client](~~64921~~).
|
|
58519
|
-
* * Before you run PowerShell commands, make sure that the PowerShell module
|
|
58520
|
-
* * If
|
|
58521
|
-
* * If
|
|
58522
|
-
* * The schedule is specified by the `Frequency` parameter. The
|
|
58523
|
-
* * If you want to specify a schedule by using a cron expression, you can specify a time zone based on your
|
|
58524
|
-
* To ensure that scheduled tasks can run as expected, make sure that the version of the Cloud Assistant client is not earlier than the following
|
|
58295
|
+
* * Before you run PowerShell commands, make sure that the instances have the PowerShell module configured.
|
|
58296
|
+
* * If `Timed` is set to false, the command is run only once.
|
|
58297
|
+
* * If `Timed` is set to true, the command is run on a schedule.
|
|
58298
|
+
* * The schedule is specified by the `Frequency` parameter. The results of each execution of a command do not affect the next execution of the command.
|
|
58299
|
+
* * If you want to specify a schedule by using a cron expression, you can specify a time zone based on your requirements. If you do not specify a time zone, the schedule is based on the system time of the instance. Make sure that the time or time zone of the instance meets your business requirements. For more information, see [Configure the NTP service and time zone for Linux instances](~~92803~~) or [Configure the NTP service for Windows instances](~~51890~~).
|
|
58300
|
+
* To ensure that scheduled tasks can run as expected, make sure that the version of the Cloud Assistant client is not earlier than the following ones. A scheduled task can run a command at a specified interval, only once at a specified point in time, or at designated points in time based on a cron expression with a specified year or time zone. If the `ClientNeedUpgrade` error code is returned, you must upgrade the Cloud Assistant client to the latest version. For more information, see [Update or disable updates for the Cloud Assistant client](~~134383~~).
|
|
58525
58301
|
* - Linux: 2.2.3.282
|
|
58526
58302
|
* - Windows: 2.1.3.282
|
|
58527
58303
|
* * Command executions may fail due to instance status exceptions, network exceptions, or exceptions on the Cloud Assistant client. If an execution fails, no execution information is generated.
|
|
58528
|
-
* * If you enable the custom parameter feature by setting
|
|
58304
|
+
* * If you enable the custom parameter feature by setting EnableParameter to true when you create a command, you must configure custom parameters in the `Parameters` when you run the command.
|
|
58529
58305
|
*
|
|
58530
58306
|
* @param request InvokeCommandRequest
|
|
58531
58307
|
* @return InvokeCommandResponse
|
|
@@ -58595,14 +58371,15 @@ class Client extends openapi_client_1.default {
|
|
|
58595
58371
|
return await this.joinResourceGroupWithOptions(request, runtime);
|
|
58596
58372
|
}
|
|
58597
58373
|
/**
|
|
58374
|
+
* ## Usage notes
|
|
58598
58375
|
* > This operation is not recommended. We recommend that you call the [ModifyInstanceAttribute](~~25503~~) operation to add instances to or remove instances from a security group, and call the [ModifyNetworkInterfaceAttribute](~~58513~~) operation to add ENIs to or remove ENIs from a security group.
|
|
58599
58376
|
* When you call this operation, take note of the following items:
|
|
58600
|
-
* * Before you add an instance to a security group, the instance must be in the **Stopped**
|
|
58601
|
-
* *
|
|
58602
|
-
* * To add an instance to more security groups, [submit a ticket](https://selfservice.console.aliyun.com/ticket/createIndex.htm). An instance can be added to up to 16 security groups.
|
|
58377
|
+
* * Before you add an instance to a security group, the instance must be in the **Stopped** or **Running** state.
|
|
58378
|
+
* * Each instance can be added to up to five security groups by default.
|
|
58603
58379
|
* *
|
|
58380
|
+
* You can increase this number to 16 by [submitting a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).
|
|
58604
58381
|
* * A basic security group can contain up to 2,000 instances. An advanced security group can contain up to 65,536 instances.
|
|
58605
|
-
* * The security group and the instance must
|
|
58382
|
+
* * The security group and the instance must reside in the same region.
|
|
58606
58383
|
* * 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 be in the same VPC.
|
|
58607
58384
|
* * An instance and an ENI cannot be added to a security group at the same time. You cannot specify the `InstanceId` and `NetworkInterfaceId` parameters at the same time.
|
|
58608
58385
|
*
|
|
@@ -58654,14 +58431,15 @@ class Client extends openapi_client_1.default {
|
|
|
58654
58431
|
return $tea.cast(await this.callApi(params, req, runtime), new JoinSecurityGroupResponse({}));
|
|
58655
58432
|
}
|
|
58656
58433
|
/**
|
|
58434
|
+
* ## Usage notes
|
|
58657
58435
|
* > This operation is not recommended. We recommend that you call the [ModifyInstanceAttribute](~~25503~~) operation to add instances to or remove instances from a security group, and call the [ModifyNetworkInterfaceAttribute](~~58513~~) operation to add ENIs to or remove ENIs from a security group.
|
|
58658
58436
|
* When you call this operation, take note of the following items:
|
|
58659
|
-
* * Before you add an instance to a security group, the instance must be in the **Stopped**
|
|
58660
|
-
* *
|
|
58661
|
-
* * To add an instance to more security groups, [submit a ticket](https://selfservice.console.aliyun.com/ticket/createIndex.htm). An instance can be added to up to 16 security groups.
|
|
58437
|
+
* * Before you add an instance to a security group, the instance must be in the **Stopped** or **Running** state.
|
|
58438
|
+
* * Each instance can be added to up to five security groups by default.
|
|
58662
58439
|
* *
|
|
58440
|
+
* You can increase this number to 16 by [submitting a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).
|
|
58663
58441
|
* * A basic security group can contain up to 2,000 instances. An advanced security group can contain up to 65,536 instances.
|
|
58664
|
-
* * The security group and the instance must
|
|
58442
|
+
* * The security group and the instance must reside in the same region.
|
|
58665
58443
|
* * 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 be in the same VPC.
|
|
58666
58444
|
* * An instance and an ENI cannot be added to a security group at the same time. You cannot specify the `InstanceId` and `NetworkInterfaceId` parameters at the same time.
|
|
58667
58445
|
*
|
|
@@ -58673,11 +58451,11 @@ class Client extends openapi_client_1.default {
|
|
|
58673
58451
|
return await this.joinSecurityGroupWithOptions(request, runtime);
|
|
58674
58452
|
}
|
|
58675
58453
|
/**
|
|
58676
|
-
* > This operation is not recommended. We recommend that you call the [ModifyInstanceAttribute](~~25503~~) operation to add
|
|
58454
|
+
* > This operation is not recommended. We recommend that you call the [ModifyInstanceAttribute](~~25503~~) operation to add an instance to or remove an instance from a security group, and call the [ModifyNetworkInterfaceAttribute](~~58513~~) operation to add an ENI to or remove an ENI from a security group.
|
|
58677
58455
|
* When you call this operation, take note of the following items:
|
|
58678
|
-
* * Before you remove an instance from a security group, the instance must be in the **Stopped**
|
|
58679
|
-
* * An instance must belong to at least one security group. Therefore, if the instance to
|
|
58680
|
-
* *
|
|
58456
|
+
* * Before you remove an instance from a security group, the instance must be in the **Stopped** or **Running** state.
|
|
58457
|
+
* * An instance must belong to at least one security group. Therefore, if the instance that you want to remove belongs to only one security group, the LeaveSecurityGroup operation fails.
|
|
58458
|
+
* * You cannot remove an instance and an ENI from a security group at the same time. This indicates that you cannot configure both `InstanceId` and `NetworkInterfaceId` in a request.
|
|
58681
58459
|
*
|
|
58682
58460
|
* @param request LeaveSecurityGroupRequest
|
|
58683
58461
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -58727,11 +58505,11 @@ class Client extends openapi_client_1.default {
|
|
|
58727
58505
|
return $tea.cast(await this.callApi(params, req, runtime), new LeaveSecurityGroupResponse({}));
|
|
58728
58506
|
}
|
|
58729
58507
|
/**
|
|
58730
|
-
* > This operation is not recommended. We recommend that you call the [ModifyInstanceAttribute](~~25503~~) operation to add
|
|
58508
|
+
* > This operation is not recommended. We recommend that you call the [ModifyInstanceAttribute](~~25503~~) operation to add an instance to or remove an instance from a security group, and call the [ModifyNetworkInterfaceAttribute](~~58513~~) operation to add an ENI to or remove an ENI from a security group.
|
|
58731
58509
|
* When you call this operation, take note of the following items:
|
|
58732
|
-
* * Before you remove an instance from a security group, the instance must be in the **Stopped**
|
|
58733
|
-
* * An instance must belong to at least one security group. Therefore, if the instance to
|
|
58734
|
-
* *
|
|
58510
|
+
* * Before you remove an instance from a security group, the instance must be in the **Stopped** or **Running** state.
|
|
58511
|
+
* * An instance must belong to at least one security group. Therefore, if the instance that you want to remove belongs to only one security group, the LeaveSecurityGroup operation fails.
|
|
58512
|
+
* * You cannot remove an instance and an ENI from a security group at the same time. This indicates that you cannot configure both `InstanceId` and `NetworkInterfaceId` in a request.
|
|
58735
58513
|
*
|
|
58736
58514
|
* @param request LeaveSecurityGroupRequest
|
|
58737
58515
|
* @return LeaveSecurityGroupResponse
|
|
@@ -58742,8 +58520,8 @@ class Client extends openapi_client_1.default {
|
|
|
58742
58520
|
}
|
|
58743
58521
|
/**
|
|
58744
58522
|
* Before you call this operation to query the states of Cloud Assistant plug-ins on ECS instances, make sure that the versions of the Cloud Assistant client installed on the instances are not earlier than the following ones:
|
|
58745
|
-
*
|
|
58746
|
-
*
|
|
58523
|
+
* * 2.2.3.344 for Linux instances
|
|
58524
|
+
* * 2.1.3.344 for Windows instances
|
|
58747
58525
|
*
|
|
58748
58526
|
* @param request ListPluginStatusRequest
|
|
58749
58527
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -58800,8 +58578,8 @@ class Client extends openapi_client_1.default {
|
|
|
58800
58578
|
}
|
|
58801
58579
|
/**
|
|
58802
58580
|
* Before you call this operation to query the states of Cloud Assistant plug-ins on ECS instances, make sure that the versions of the Cloud Assistant client installed on the instances are not earlier than the following ones:
|
|
58803
|
-
*
|
|
58804
|
-
*
|
|
58581
|
+
* * 2.2.3.344 for Linux instances
|
|
58582
|
+
* * 2.1.3.344 for Windows instances
|
|
58805
58583
|
*
|
|
58806
58584
|
* @param request ListPluginStatusRequest
|
|
58807
58585
|
* @return ListPluginStatusResponse
|
|
@@ -58893,8 +58671,8 @@ class Client extends openapi_client_1.default {
|
|
|
58893
58671
|
}
|
|
58894
58672
|
/**
|
|
58895
58673
|
* Before you call this operation, take note of the following items:
|
|
58896
|
-
* * If you modify the capacity or capacity-related settings of an auto
|
|
58897
|
-
* * You cannot modify an auto
|
|
58674
|
+
* * If you modify the capacity or capacity-related settings of an auto-provisioning group, the group executes a scheduling task after the group is modified.
|
|
58675
|
+
* * You cannot modify an auto-provisioning group when the group is being deleted.
|
|
58898
58676
|
*
|
|
58899
58677
|
* @param request ModifyAutoProvisioningGroupRequest
|
|
58900
58678
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -58966,8 +58744,8 @@ class Client extends openapi_client_1.default {
|
|
|
58966
58744
|
}
|
|
58967
58745
|
/**
|
|
58968
58746
|
* Before you call this operation, take note of the following items:
|
|
58969
|
-
* * If you modify the capacity or capacity-related settings of an auto
|
|
58970
|
-
* * You cannot modify an auto
|
|
58747
|
+
* * If you modify the capacity or capacity-related settings of an auto-provisioning group, the group executes a scheduling task after the group is modified.
|
|
58748
|
+
* * You cannot modify an auto-provisioning group when the group is being deleted.
|
|
58971
58749
|
*
|
|
58972
58750
|
* @param request ModifyAutoProvisioningGroupRequest
|
|
58973
58751
|
* @return ModifyAutoProvisioningGroupResponse
|
|
@@ -59228,8 +59006,7 @@ class Client extends openapi_client_1.default {
|
|
|
59228
59006
|
return await this.modifyCapacityReservationWithOptions(request, runtime);
|
|
59229
59007
|
}
|
|
59230
59008
|
/**
|
|
59231
|
-
*
|
|
59232
|
-
* You cannot modify the command type. For example, you cannot change a shell command (RunShellScript) to a batch command (RunBatScript).
|
|
59009
|
+
* Modifies the parameters and content of a Cloud Assistant command.
|
|
59233
59010
|
*
|
|
59234
59011
|
* @param request ModifyCommandRequest
|
|
59235
59012
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -59291,8 +59068,7 @@ class Client extends openapi_client_1.default {
|
|
|
59291
59068
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyCommandResponse({}));
|
|
59292
59069
|
}
|
|
59293
59070
|
/**
|
|
59294
|
-
*
|
|
59295
|
-
* You cannot modify the command type. For example, you cannot change a shell command (RunShellScript) to a batch command (RunBatScript).
|
|
59071
|
+
* Modifies the parameters and content of a Cloud Assistant command.
|
|
59296
59072
|
*
|
|
59297
59073
|
* @param request ModifyCommandRequest
|
|
59298
59074
|
* @return ModifyCommandResponse
|
|
@@ -59381,7 +59157,7 @@ class Client extends openapi_client_1.default {
|
|
|
59381
59157
|
return await this.modifyDedicatedHostAttributeWithOptions(request, runtime);
|
|
59382
59158
|
}
|
|
59383
59159
|
/**
|
|
59384
|
-
* The pay-as-you-go dedicated host is automatically released at the specified time.
|
|
59160
|
+
* The pay-as-you-go dedicated host is automatically released at the specified time. Before you release a dedicated host, make sure that it is no longer in use and you have backed up all the necessary application data.
|
|
59385
59161
|
*
|
|
59386
59162
|
* @param request ModifyDedicatedHostAutoReleaseTimeRequest
|
|
59387
59163
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -59428,7 +59204,7 @@ class Client extends openapi_client_1.default {
|
|
|
59428
59204
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDedicatedHostAutoReleaseTimeResponse({}));
|
|
59429
59205
|
}
|
|
59430
59206
|
/**
|
|
59431
|
-
* The pay-as-you-go dedicated host is automatically released at the specified time.
|
|
59207
|
+
* The pay-as-you-go dedicated host is automatically released at the specified time. Before you release a dedicated host, make sure that it is no longer in use and you have backed up all the necessary application data.
|
|
59432
59208
|
*
|
|
59433
59209
|
* @param request ModifyDedicatedHostAutoReleaseTimeRequest
|
|
59434
59210
|
* @return ModifyDedicatedHostAutoReleaseTimeResponse
|
|
@@ -59438,8 +59214,7 @@ class Client extends openapi_client_1.default {
|
|
|
59438
59214
|
return await this.modifyDedicatedHostAutoReleaseTimeWithOptions(request, runtime);
|
|
59439
59215
|
}
|
|
59440
59216
|
/**
|
|
59441
|
-
*
|
|
59442
|
-
* * If you enable auto-renewal for your subscription dedicated host, the dedicated host is automatically renewed nine days before expiration. The renewal fees are automatically paid at 08:00:00 (UTC+8). If the fees are not paid, they are paid at the same point in time the next day. Automatic payment stops after the fees are paid or after the dedicated host expires and is locked. Make sure that you have sufficient balance within your account.
|
|
59217
|
+
* * If you enable auto-renewal for your subscription dedicated host, the system attempts to deduct the renewal payment at 08:00:00 (UTC+8) nine days before the dedicated host expires to renew the dedicated host. If this deduction attempt fails, the system attempt to deduct the payment at the same point in time the next day. The system attempts to deduct the payment once every day until the dedicated host expires or until the payment is deducted. Make sure that your account balance is sufficient.
|
|
59443
59218
|
* * Subscription dedicated hosts can be automatically renewed along with the subscription Elastic Compute Service (ECS) instances hosted on the dedicated hosts. For more information, see the description of the AutoRenewWithEcs parameter.
|
|
59444
59219
|
*
|
|
59445
59220
|
* @param request ModifyDedicatedHostAutoRenewAttributeRequest
|
|
@@ -59499,8 +59274,7 @@ class Client extends openapi_client_1.default {
|
|
|
59499
59274
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDedicatedHostAutoRenewAttributeResponse({}));
|
|
59500
59275
|
}
|
|
59501
59276
|
/**
|
|
59502
|
-
*
|
|
59503
|
-
* * If you enable auto-renewal for your subscription dedicated host, the dedicated host is automatically renewed nine days before expiration. The renewal fees are automatically paid at 08:00:00 (UTC+8). If the fees are not paid, they are paid at the same point in time the next day. Automatic payment stops after the fees are paid or after the dedicated host expires and is locked. Make sure that you have sufficient balance within your account.
|
|
59277
|
+
* * If you enable auto-renewal for your subscription dedicated host, the system attempts to deduct the renewal payment at 08:00:00 (UTC+8) nine days before the dedicated host expires to renew the dedicated host. If this deduction attempt fails, the system attempt to deduct the payment at the same point in time the next day. The system attempts to deduct the payment once every day until the dedicated host expires or until the payment is deducted. Make sure that your account balance is sufficient.
|
|
59504
59278
|
* * Subscription dedicated hosts can be automatically renewed along with the subscription Elastic Compute Service (ECS) instances hosted on the dedicated hosts. For more information, see the description of the AutoRenewWithEcs parameter.
|
|
59505
59279
|
*
|
|
59506
59280
|
* @param request ModifyDedicatedHostAutoRenewAttributeRequest
|
|
@@ -59874,15 +59648,14 @@ class Client extends openapi_client_1.default {
|
|
|
59874
59648
|
return await this.modifyDiskAttributeWithOptions(request, runtime);
|
|
59875
59649
|
}
|
|
59876
59650
|
/**
|
|
59877
|
-
* After you change the billing method,
|
|
59651
|
+
* After you change the billing method, any outstanding payments are automatically completed. Make sure that the balance in your account is sufficient. Otherwise, your order becomes invalid and is canceled. If your account balance is insufficient, you can set the AutoPay parameter to false to generate an unpaid order. Then, you can log on to the [ECS console](https://ecs.console.aliyun.com/) to pay for the order.
|
|
59878
59652
|
* When you call this operation, take note of the following items:
|
|
59879
59653
|
* * You can change the billing method from subscription to pay-as-you-go for disks that are attached to a subscription instance.
|
|
59880
59654
|
* * You can change the billing method from pay-as-you-go to subscription for data disks that are attached to a subscription or pay-as-you-go instance.
|
|
59881
59655
|
* * The instance cannot be in the Stopped state due to overdue payments.
|
|
59882
59656
|
* * You can change the billing method of each disk up to three times. Up to three refunds can be made for the price differences for each disk.
|
|
59883
|
-
* * The price difference is refunded to the payment account that you used. Vouchers that have been redeemed are
|
|
59657
|
+
* * The price difference is refunded to the payment account that you used. Vouchers that have been redeemed are nonrefundable.
|
|
59884
59658
|
* * You cannot change the billing method again within 5 minutes of a successful change.
|
|
59885
|
-
* * The billing method of disks with the multi-attach feature enabled must be pay-as-you-go and cannot be changed to subscription.
|
|
59886
59659
|
*
|
|
59887
59660
|
* @param request ModifyDiskChargeTypeRequest
|
|
59888
59661
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -59938,15 +59711,14 @@ class Client extends openapi_client_1.default {
|
|
|
59938
59711
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDiskChargeTypeResponse({}));
|
|
59939
59712
|
}
|
|
59940
59713
|
/**
|
|
59941
|
-
* After you change the billing method,
|
|
59714
|
+
* After you change the billing method, any outstanding payments are automatically completed. Make sure that the balance in your account is sufficient. Otherwise, your order becomes invalid and is canceled. If your account balance is insufficient, you can set the AutoPay parameter to false to generate an unpaid order. Then, you can log on to the [ECS console](https://ecs.console.aliyun.com/) to pay for the order.
|
|
59942
59715
|
* When you call this operation, take note of the following items:
|
|
59943
59716
|
* * You can change the billing method from subscription to pay-as-you-go for disks that are attached to a subscription instance.
|
|
59944
59717
|
* * You can change the billing method from pay-as-you-go to subscription for data disks that are attached to a subscription or pay-as-you-go instance.
|
|
59945
59718
|
* * The instance cannot be in the Stopped state due to overdue payments.
|
|
59946
59719
|
* * You can change the billing method of each disk up to three times. Up to three refunds can be made for the price differences for each disk.
|
|
59947
|
-
* * The price difference is refunded to the payment account that you used. Vouchers that have been redeemed are
|
|
59720
|
+
* * The price difference is refunded to the payment account that you used. Vouchers that have been redeemed are nonrefundable.
|
|
59948
59721
|
* * You cannot change the billing method again within 5 minutes of a successful change.
|
|
59949
|
-
* * The billing method of disks with the multi-attach feature enabled must be pay-as-you-go and cannot be changed to subscription.
|
|
59950
59722
|
*
|
|
59951
59723
|
* @param request ModifyDiskChargeTypeRequest
|
|
59952
59724
|
* @return ModifyDiskChargeTypeResponse
|
|
@@ -60006,16 +59778,15 @@ class Client extends openapi_client_1.default {
|
|
|
60006
59778
|
return await this.modifyDiskDeploymentWithOptions(request, runtime);
|
|
60007
59779
|
}
|
|
60008
59780
|
/**
|
|
60009
|
-
* ## Description
|
|
60010
59781
|
* When you call this operation, take note of the following items:
|
|
60011
59782
|
* * To modify the performance level of an ESSD, take note of the following items:
|
|
60012
59783
|
* * For a subscription ESSD, you can only upgrade its performance level.
|
|
60013
59784
|
* * For a pay-as-you-go ESSD, You can upgrade or downgrade its performance level. However, you cannot downgrade the performance level to PL0.
|
|
60014
|
-
* * The ESSD must be in the **In Use**
|
|
60015
|
-
* * If the ESSD is attached to an ECS instance, the instance must be in the **Running**
|
|
60016
|
-
* * If you cannot upgrade the performance level of the ESSD due to
|
|
60017
|
-
* * For
|
|
60018
|
-
* The new disk category or performance level takes effect immediately after this operation is
|
|
59785
|
+
* * The ESSD must be in the **In Use** or **Unattached** (Available) state.
|
|
59786
|
+
* * If the ESSD is attached to an Elastic Compute Service (ECS) instance, the instance must be in the **Running** or **Stopped** state. The instance cannot be in the Expired state or stopped due to an overdue payment.
|
|
59787
|
+
* * If you cannot upgrade the performance level of the ESSD due to the capacity limit, resize the ESSD by calling the [ResizeDisk](~~25522~~) operation and then try again. For more information, see [ESSDs](~~122389~~).
|
|
59788
|
+
* * For information about the limits on changing the category of a cloud disk, see the "Limits" section of the [Change the category of a disk](~~161980~~) topic.
|
|
59789
|
+
* The new cloud disk category or performance level takes effect immediately after this operation is performed. Alibaba Cloud charges you based on the new disk category and performance level.
|
|
60019
59790
|
*
|
|
60020
59791
|
* @param request ModifyDiskSpecRequest
|
|
60021
59792
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -60071,16 +59842,15 @@ class Client extends openapi_client_1.default {
|
|
|
60071
59842
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDiskSpecResponse({}));
|
|
60072
59843
|
}
|
|
60073
59844
|
/**
|
|
60074
|
-
* ## Description
|
|
60075
59845
|
* When you call this operation, take note of the following items:
|
|
60076
59846
|
* * To modify the performance level of an ESSD, take note of the following items:
|
|
60077
59847
|
* * For a subscription ESSD, you can only upgrade its performance level.
|
|
60078
59848
|
* * For a pay-as-you-go ESSD, You can upgrade or downgrade its performance level. However, you cannot downgrade the performance level to PL0.
|
|
60079
|
-
* * The ESSD must be in the **In Use**
|
|
60080
|
-
* * If the ESSD is attached to an ECS instance, the instance must be in the **Running**
|
|
60081
|
-
* * If you cannot upgrade the performance level of the ESSD due to
|
|
60082
|
-
* * For
|
|
60083
|
-
* The new disk category or performance level takes effect immediately after this operation is
|
|
59849
|
+
* * The ESSD must be in the **In Use** or **Unattached** (Available) state.
|
|
59850
|
+
* * If the ESSD is attached to an Elastic Compute Service (ECS) instance, the instance must be in the **Running** or **Stopped** state. The instance cannot be in the Expired state or stopped due to an overdue payment.
|
|
59851
|
+
* * If you cannot upgrade the performance level of the ESSD due to the capacity limit, resize the ESSD by calling the [ResizeDisk](~~25522~~) operation and then try again. For more information, see [ESSDs](~~122389~~).
|
|
59852
|
+
* * For information about the limits on changing the category of a cloud disk, see the "Limits" section of the [Change the category of a disk](~~161980~~) topic.
|
|
59853
|
+
* The new cloud disk category or performance level takes effect immediately after this operation is performed. Alibaba Cloud charges you based on the new disk category and performance level.
|
|
60084
59854
|
*
|
|
60085
59855
|
* @param request ModifyDiskSpecRequest
|
|
60086
59856
|
* @return ModifyDiskSpecResponse
|
|
@@ -60506,17 +60276,17 @@ class Client extends openapi_client_1.default {
|
|
|
60506
60276
|
return await this.modifyImageShareGroupPermissionWithOptions(request, runtime);
|
|
60507
60277
|
}
|
|
60508
60278
|
/**
|
|
60509
|
-
*
|
|
60510
|
-
* * You can share only your custom images with other Alibaba Cloud accounts.
|
|
60511
|
-
* * You can share a custom image with up to 10 Alibaba Cloud accounts
|
|
60512
|
-
* * You can share a custom image with up to 50 Alibaba Cloud accounts
|
|
60279
|
+
* Take note of the following items:
|
|
60280
|
+
* * You can share only your own custom images with other Alibaba Cloud accounts.
|
|
60281
|
+
* * You can share a custom image with up to 10 Alibaba Cloud accounts at a time. You can specify up to 10 Alibaba Cloud account IDs by using the AddAccount.N or RemoveAccount.N parameter. If you specify more than 10 account IDs, the parameter will be ignored.
|
|
60282
|
+
* * You can share a custom image with up to 50 Alibaba Cloud accounts.
|
|
60513
60283
|
* * After you create an instance from a shared custom image by calling the [RunInstances](~~63440~~) operation, you cannot call the [ReInitDisk](~~25519~~) operation to reinitialize the system disk of the instance if the image owner unshares the image or calls the [DeleteImage](~~25537~~) operation to delete the image.
|
|
60514
|
-
*
|
|
60515
|
-
* * Alibaba Cloud provides only the platform
|
|
60284
|
+
* When you publish or unpublish a community image, take note of the following items:
|
|
60285
|
+
* * Alibaba Cloud provides only the platform on which community images can be published and managed. The owner of a community image is responsible for the quality and updates of the image. Make sure that you read and agree to the Community Image Agreement. Otherwise, you cannot publish community images. For more information, see [Publish a community image](~~208370~~)
|
|
60516
60286
|
* * You cannot publish encrypted images as community images.
|
|
60517
60287
|
* * All community images are publicly available. All Alibaba Cloud accounts that reside in the same region as a community image can access the image.
|
|
60518
60288
|
* * You cannot share, export, or copy community images.
|
|
60519
|
-
* * After a community image is unpublished,
|
|
60289
|
+
* * After a community image is unpublished, it is no longer available to other Alibaba Cloud accounts. If a custom image is shared to other Alibaba cloud accounts before it is published as a community image, the accounts can still use the image after it is unpublished.
|
|
60520
60290
|
*
|
|
60521
60291
|
* @param request ModifyImageSharePermissionRequest
|
|
60522
60292
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -60572,17 +60342,17 @@ class Client extends openapi_client_1.default {
|
|
|
60572
60342
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyImageSharePermissionResponse({}));
|
|
60573
60343
|
}
|
|
60574
60344
|
/**
|
|
60575
|
-
*
|
|
60576
|
-
* * You can share only your custom images with other Alibaba Cloud accounts.
|
|
60577
|
-
* * You can share a custom image with up to 10 Alibaba Cloud accounts
|
|
60578
|
-
* * You can share a custom image with up to 50 Alibaba Cloud accounts
|
|
60345
|
+
* Take note of the following items:
|
|
60346
|
+
* * You can share only your own custom images with other Alibaba Cloud accounts.
|
|
60347
|
+
* * You can share a custom image with up to 10 Alibaba Cloud accounts at a time. You can specify up to 10 Alibaba Cloud account IDs by using the AddAccount.N or RemoveAccount.N parameter. If you specify more than 10 account IDs, the parameter will be ignored.
|
|
60348
|
+
* * You can share a custom image with up to 50 Alibaba Cloud accounts.
|
|
60579
60349
|
* * After you create an instance from a shared custom image by calling the [RunInstances](~~63440~~) operation, you cannot call the [ReInitDisk](~~25519~~) operation to reinitialize the system disk of the instance if the image owner unshares the image or calls the [DeleteImage](~~25537~~) operation to delete the image.
|
|
60580
|
-
*
|
|
60581
|
-
* * Alibaba Cloud provides only the platform
|
|
60350
|
+
* When you publish or unpublish a community image, take note of the following items:
|
|
60351
|
+
* * Alibaba Cloud provides only the platform on which community images can be published and managed. The owner of a community image is responsible for the quality and updates of the image. Make sure that you read and agree to the Community Image Agreement. Otherwise, you cannot publish community images. For more information, see [Publish a community image](~~208370~~)
|
|
60582
60352
|
* * You cannot publish encrypted images as community images.
|
|
60583
60353
|
* * All community images are publicly available. All Alibaba Cloud accounts that reside in the same region as a community image can access the image.
|
|
60584
60354
|
* * You cannot share, export, or copy community images.
|
|
60585
|
-
* * After a community image is unpublished,
|
|
60355
|
+
* * After a community image is unpublished, it is no longer available to other Alibaba Cloud accounts. If a custom image is shared to other Alibaba cloud accounts before it is published as a community image, the accounts can still use the image after it is unpublished.
|
|
60586
60356
|
*
|
|
60587
60357
|
* @param request ModifyImageSharePermissionRequest
|
|
60588
60358
|
* @return ModifyImageSharePermissionResponse
|
|
@@ -60592,10 +60362,10 @@ class Client extends openapi_client_1.default {
|
|
|
60592
60362
|
return await this.modifyImageSharePermissionWithOptions(request, runtime);
|
|
60593
60363
|
}
|
|
60594
60364
|
/**
|
|
60595
|
-
* A private pool is generated after an elasticity assurance or a capacity reservation is created. The private pool is associated with information about instances that are created by using the
|
|
60596
|
-
* *
|
|
60597
|
-
* * When you call the following operations, the system
|
|
60598
|
-
* * StartInstance
|
|
60365
|
+
* A private pool is generated after an elasticity assurance or a capacity reservation is created. The private pool is associated with information about the instances that are created by using the resources in the private pool. When you create ECS instances, you can configure the instances to use private pool resources, matching them to active elasticity assurances or capacity reservations.
|
|
60366
|
+
* * This operation does not require you to restart the instances for the changes to take effect.
|
|
60367
|
+
* * When you call the following operations on an instance, the system attempts to match the instance with active private pools. If the instance is configured to a specific private pool. the call may fail because the private pool is no longer active or does not have sufficient resources. If the call fails, call the ModifyInstanceAttachmentAttributes operation to change the match mode of the private pool to `Open`.
|
|
60368
|
+
* * StartInstance: starts an instance that is stopped in economical mode.
|
|
60599
60369
|
* * ReActivateInstances
|
|
60600
60370
|
* * ModifyInstanceChargeType
|
|
60601
60371
|
* * ModifyPrepayInstanceSpec
|
|
@@ -60646,10 +60416,10 @@ class Client extends openapi_client_1.default {
|
|
|
60646
60416
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyInstanceAttachmentAttributesResponse({}));
|
|
60647
60417
|
}
|
|
60648
60418
|
/**
|
|
60649
|
-
* A private pool is generated after an elasticity assurance or a capacity reservation is created. The private pool is associated with information about instances that are created by using the
|
|
60650
|
-
* *
|
|
60651
|
-
* * When you call the following operations, the system
|
|
60652
|
-
* * StartInstance
|
|
60419
|
+
* A private pool is generated after an elasticity assurance or a capacity reservation is created. The private pool is associated with information about the instances that are created by using the resources in the private pool. When you create ECS instances, you can configure the instances to use private pool resources, matching them to active elasticity assurances or capacity reservations.
|
|
60420
|
+
* * This operation does not require you to restart the instances for the changes to take effect.
|
|
60421
|
+
* * When you call the following operations on an instance, the system attempts to match the instance with active private pools. If the instance is configured to a specific private pool. the call may fail because the private pool is no longer active or does not have sufficient resources. If the call fails, call the ModifyInstanceAttachmentAttributes operation to change the match mode of the private pool to `Open`.
|
|
60422
|
+
* * StartInstance: starts an instance that is stopped in economical mode.
|
|
60653
60423
|
* * ReActivateInstances
|
|
60654
60424
|
* * ModifyInstanceChargeType
|
|
60655
60425
|
* * ModifyPrepayInstanceSpec
|
|
@@ -60663,23 +60433,23 @@ class Client extends openapi_client_1.default {
|
|
|
60663
60433
|
return await this.modifyInstanceAttachmentAttributesWithOptions(request, runtime);
|
|
60664
60434
|
}
|
|
60665
60435
|
/**
|
|
60666
|
-
* If the response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query the information of an instance, the instance is locked for security reasons and all operations are prohibited
|
|
60436
|
+
* If the response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query the information of an instance, this indicates that the instance is locked for security reasons and all operations on it are prohibited.
|
|
60667
60437
|
* When you call this operation, take note of the following items:
|
|
60668
|
-
* * Modify the hostname (`HostName`): After the hostname
|
|
60438
|
+
* * Modify the hostname (`HostName`): After you modify the hostname, you need to restart the instance for the changes to take effect. You can do this by following the instructions in [Restart an instance](~~25440~~) or by calling the [RebootInstance](~~25502~~) operation. The new hostname does not take effect if you restart the instance from within the operating system.
|
|
60669
60439
|
* * Reset the password (`Password`):
|
|
60670
|
-
* * The instance
|
|
60671
|
-
* * After the password
|
|
60440
|
+
* * The instance can not be in the **Starting** state.``
|
|
60441
|
+
* * After you reset the password, you need to restart the instance for the changes to take effect., You can do this by following the instructions in [Restart an instance](~~25440~~) or by calling the [RebootInstance](~~25502~~) operation. The new password does not take effect if you restart the instance from within the operating system.
|
|
60672
60442
|
* * Modify user data (`UserData`):
|
|
60673
|
-
* * The instance must be in the **Stopped**
|
|
60674
|
-
* * The instance must meet the conditions on user data. For more information, see [
|
|
60443
|
+
* * The instance must be in the **Stopped** state.``
|
|
60444
|
+
* * The instance must meet the required conditions on user data. For more information, see [Prepare user data](~~49121~~).
|
|
60675
60445
|
* * Change the security group (`SecurityGroupIds.N`):
|
|
60676
|
-
* * You can move an instance to a security group of a different type.
|
|
60446
|
+
* * You can move an instance to a security group of a different type. If you want to switch an instance to a security group of a different type, we recommend that you familiarize yourself with the differences between the rule configurations of the two security group types to avoid impacts on the instance network.
|
|
60677
60447
|
* * Security groups of instances in the classic network cannot be changed. For more information, see the description of the `SecurityGroupIds.N` parameter.
|
|
60678
60448
|
* * Modify the number of queues supported by the primary elastic network interface (ENI) (`NetworkInterfaceQueueNumber`):
|
|
60679
|
-
* * The instance must be in the
|
|
60680
|
-
* * The value of this parameter cannot exceed the maximum number of queues per ENI
|
|
60681
|
-
* * The total number of queues for all ENIs on the instance cannot exceed the queue quota for the instance type. To obtain the maximum number of queues per ENI and the queue quota for an instance type, you can call the [DescribeInstanceTypes](~~25620~~) operation
|
|
60682
|
-
* * If you set
|
|
60449
|
+
* * The instance must be in the `Stopped` state.
|
|
60450
|
+
* * The value of this parameter cannot exceed the maximum number of queues allowed per ENI. The number varies with the instance type.
|
|
60451
|
+
* * The total number of queues for all ENIs on the instance cannot exceed the queue quota for the instance type. To obtain the maximum number of queues per ENI and the queue quota for an instance type, you can call the [DescribeInstanceTypes](~~25620~~) operation. The results are returned in the `MaximumQueueNumberPerEni` and `TotalEniQueueQuantity` parameters.
|
|
60452
|
+
* * If you set this parameter to -1, the value is reset to the default value for the instance type. To obtain the default number of queues supported by the primary ENI for an instance type, you can call the [DescribeInstanceTypes](~~25620~~) operation. The result is returned in the `PrimaryEniQueueNumber` parameter.
|
|
60683
60453
|
*
|
|
60684
60454
|
* @param request ModifyInstanceAttributeRequest
|
|
60685
60455
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -60756,23 +60526,23 @@ class Client extends openapi_client_1.default {
|
|
|
60756
60526
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyInstanceAttributeResponse({}));
|
|
60757
60527
|
}
|
|
60758
60528
|
/**
|
|
60759
|
-
* If the response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query the information of an instance, the instance is locked for security reasons and all operations are prohibited
|
|
60529
|
+
* If the response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query the information of an instance, this indicates that the instance is locked for security reasons and all operations on it are prohibited.
|
|
60760
60530
|
* When you call this operation, take note of the following items:
|
|
60761
|
-
* * Modify the hostname (`HostName`): After the hostname
|
|
60531
|
+
* * Modify the hostname (`HostName`): After you modify the hostname, you need to restart the instance for the changes to take effect. You can do this by following the instructions in [Restart an instance](~~25440~~) or by calling the [RebootInstance](~~25502~~) operation. The new hostname does not take effect if you restart the instance from within the operating system.
|
|
60762
60532
|
* * Reset the password (`Password`):
|
|
60763
|
-
* * The instance
|
|
60764
|
-
* * After the password
|
|
60533
|
+
* * The instance can not be in the **Starting** state.``
|
|
60534
|
+
* * After you reset the password, you need to restart the instance for the changes to take effect., You can do this by following the instructions in [Restart an instance](~~25440~~) or by calling the [RebootInstance](~~25502~~) operation. The new password does not take effect if you restart the instance from within the operating system.
|
|
60765
60535
|
* * Modify user data (`UserData`):
|
|
60766
|
-
* * The instance must be in the **Stopped**
|
|
60767
|
-
* * The instance must meet the conditions on user data. For more information, see [
|
|
60536
|
+
* * The instance must be in the **Stopped** state.``
|
|
60537
|
+
* * The instance must meet the required conditions on user data. For more information, see [Prepare user data](~~49121~~).
|
|
60768
60538
|
* * Change the security group (`SecurityGroupIds.N`):
|
|
60769
|
-
* * You can move an instance to a security group of a different type.
|
|
60539
|
+
* * You can move an instance to a security group of a different type. If you want to switch an instance to a security group of a different type, we recommend that you familiarize yourself with the differences between the rule configurations of the two security group types to avoid impacts on the instance network.
|
|
60770
60540
|
* * Security groups of instances in the classic network cannot be changed. For more information, see the description of the `SecurityGroupIds.N` parameter.
|
|
60771
60541
|
* * Modify the number of queues supported by the primary elastic network interface (ENI) (`NetworkInterfaceQueueNumber`):
|
|
60772
|
-
* * The instance must be in the
|
|
60773
|
-
* * The value of this parameter cannot exceed the maximum number of queues per ENI
|
|
60774
|
-
* * The total number of queues for all ENIs on the instance cannot exceed the queue quota for the instance type. To obtain the maximum number of queues per ENI and the queue quota for an instance type, you can call the [DescribeInstanceTypes](~~25620~~) operation
|
|
60775
|
-
* * If you set
|
|
60542
|
+
* * The instance must be in the `Stopped` state.
|
|
60543
|
+
* * The value of this parameter cannot exceed the maximum number of queues allowed per ENI. The number varies with the instance type.
|
|
60544
|
+
* * The total number of queues for all ENIs on the instance cannot exceed the queue quota for the instance type. To obtain the maximum number of queues per ENI and the queue quota for an instance type, you can call the [DescribeInstanceTypes](~~25620~~) operation. The results are returned in the `MaximumQueueNumberPerEni` and `TotalEniQueueQuantity` parameters.
|
|
60545
|
+
* * If you set this parameter to -1, the value is reset to the default value for the instance type. To obtain the default number of queues supported by the primary ENI for an instance type, you can call the [DescribeInstanceTypes](~~25620~~) operation. The result is returned in the `PrimaryEniQueueNumber` parameter.
|
|
60776
60546
|
*
|
|
60777
60547
|
* @param request ModifyInstanceAttributeRequest
|
|
60778
60548
|
* @return ModifyInstanceAttributeResponse
|
|
@@ -60826,9 +60596,9 @@ class Client extends openapi_client_1.default {
|
|
|
60826
60596
|
return await this.modifyInstanceAutoReleaseTimeWithOptions(request, runtime);
|
|
60827
60597
|
}
|
|
60828
60598
|
/**
|
|
60829
|
-
* Before you call this operation, make sure that you are familiar with the billing methods and pricing
|
|
60830
|
-
* * The payment for auto-renewal is deducted
|
|
60831
|
-
* * If the
|
|
60599
|
+
* Before you call this operation, make sure that you are familiar with the billing methods and pricing of Elastic Compute Service (ECS). For more information, see the [Elastic Compute Service](https://www.alibabacloud.com/product/ecs#pricing) product page.
|
|
60600
|
+
* * The payment for auto-renewal of an instance is automatically deducted at 08:00:00 (UTC+8) nine days before the instance expires.
|
|
60601
|
+
* * If the deduction fails, Alibaba Cloud attempts to deduct the payment every day until the payment is deducted or until the instance is locked after the nine-day period ends. Make sure that your account balance or credit balance is sufficient.
|
|
60832
60602
|
*
|
|
60833
60603
|
* @param request ModifyInstanceAutoRenewAttributeRequest
|
|
60834
60604
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -60884,9 +60654,9 @@ class Client extends openapi_client_1.default {
|
|
|
60884
60654
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyInstanceAutoRenewAttributeResponse({}));
|
|
60885
60655
|
}
|
|
60886
60656
|
/**
|
|
60887
|
-
* Before you call this operation, make sure that you are familiar with the billing methods and pricing
|
|
60888
|
-
* * The payment for auto-renewal is deducted
|
|
60889
|
-
* * If the
|
|
60657
|
+
* Before you call this operation, make sure that you are familiar with the billing methods and pricing of Elastic Compute Service (ECS). For more information, see the [Elastic Compute Service](https://www.alibabacloud.com/product/ecs#pricing) product page.
|
|
60658
|
+
* * The payment for auto-renewal of an instance is automatically deducted at 08:00:00 (UTC+8) nine days before the instance expires.
|
|
60659
|
+
* * If the deduction fails, Alibaba Cloud attempts to deduct the payment every day until the payment is deducted or until the instance is locked after the nine-day period ends. Make sure that your account balance or credit balance is sufficient.
|
|
60890
60660
|
*
|
|
60891
60661
|
* @param request ModifyInstanceAutoRenewAttributeRequest
|
|
60892
60662
|
* @return ModifyInstanceAutoRenewAttributeResponse
|
|
@@ -60898,12 +60668,12 @@ class Client extends openapi_client_1.default {
|
|
|
60898
60668
|
/**
|
|
60899
60669
|
* Before you call this operation, make sure that you are familiar with the billing methods and pricing of ECS. For more information, see the [Elastic Compute Service](https://www.alibabacloud.com/product/ecs#pricing) product page.
|
|
60900
60670
|
* When you call this operation, take note of the following items:
|
|
60901
|
-
* * The instances must be in the
|
|
60902
|
-
* * After you change the billing method,
|
|
60671
|
+
* * The instances must be in the `Running` or `Stopped` state, and you have no overdue payments for the instances.********
|
|
60672
|
+
* * After you change the billing method, outstanding payments, if any, are automatically completed. Make sure that you have sufficient balance in your account. Otherwise, your order becomes invalid and is canceled. If your account balance is insufficient, you can set `AutoPay` to `false` to generate an unpaid order. Then, you can log on to the [ECS console](https://ecs.console.aliyun.com/) to pay for the order.
|
|
60903
60673
|
* * **Change the billing method from subscription to pay-as-you-go**:
|
|
60904
|
-
* * Your ECS usage determines whether the billing method of
|
|
60674
|
+
* * Your ECS usage determines whether you can change the billing method of your instance from subscription to pay-as-you-go.
|
|
60905
60675
|
* * After you change the billing method of an instance from subscription to pay-as-you-go, the new billing method remains in effect for the remaining lifecycle of the instance. The price difference is refunded to the payment account that you used. Vouchers that have been redeemed are not refundable.
|
|
60906
|
-
* * **Refund rule**: You have a quota for the total refund amount each month, and the unused balance of this quota is not carried over to the next month. If you use up the refund quota of the current month, you can change the billing method
|
|
60676
|
+
* * **Refund rule**: You have a quota for the total refund amount each month, and the unused balance of this quota is not carried over to the next month. If you use up the refund quota of the current month, you can change the billing method in the next month. The refund amount incurred after you change the billing method is calculated based on the following formula: **Number of vCPUs × (Number of remaining days × 24 ± Number of remaining or elapsed hours)**.
|
|
60907
60677
|
* * **Change the billing method from pay-as-you-go to subscription**:
|
|
60908
60678
|
* * You can change the billing method of all data disks that are attached to an instance from pay-as-you-go to subscription.
|
|
60909
60679
|
* * This operation cannot be called for a pay-as-you-go instance that has an automatic release time set.
|
|
@@ -60976,12 +60746,12 @@ class Client extends openapi_client_1.default {
|
|
|
60976
60746
|
/**
|
|
60977
60747
|
* Before you call this operation, make sure that you are familiar with the billing methods and pricing of ECS. For more information, see the [Elastic Compute Service](https://www.alibabacloud.com/product/ecs#pricing) product page.
|
|
60978
60748
|
* When you call this operation, take note of the following items:
|
|
60979
|
-
* * The instances must be in the
|
|
60980
|
-
* * After you change the billing method,
|
|
60749
|
+
* * The instances must be in the `Running` or `Stopped` state, and you have no overdue payments for the instances.********
|
|
60750
|
+
* * After you change the billing method, outstanding payments, if any, are automatically completed. Make sure that you have sufficient balance in your account. Otherwise, your order becomes invalid and is canceled. If your account balance is insufficient, you can set `AutoPay` to `false` to generate an unpaid order. Then, you can log on to the [ECS console](https://ecs.console.aliyun.com/) to pay for the order.
|
|
60981
60751
|
* * **Change the billing method from subscription to pay-as-you-go**:
|
|
60982
|
-
* * Your ECS usage determines whether the billing method of
|
|
60752
|
+
* * Your ECS usage determines whether you can change the billing method of your instance from subscription to pay-as-you-go.
|
|
60983
60753
|
* * After you change the billing method of an instance from subscription to pay-as-you-go, the new billing method remains in effect for the remaining lifecycle of the instance. The price difference is refunded to the payment account that you used. Vouchers that have been redeemed are not refundable.
|
|
60984
|
-
* * **Refund rule**: You have a quota for the total refund amount each month, and the unused balance of this quota is not carried over to the next month. If you use up the refund quota of the current month, you can change the billing method
|
|
60754
|
+
* * **Refund rule**: You have a quota for the total refund amount each month, and the unused balance of this quota is not carried over to the next month. If you use up the refund quota of the current month, you can change the billing method in the next month. The refund amount incurred after you change the billing method is calculated based on the following formula: **Number of vCPUs × (Number of remaining days × 24 ± Number of remaining or elapsed hours)**.
|
|
60985
60755
|
* * **Change the billing method from pay-as-you-go to subscription**:
|
|
60986
60756
|
* * You can change the billing method of all data disks that are attached to an instance from pay-as-you-go to subscription.
|
|
60987
60757
|
* * This operation cannot be called for a pay-as-you-go instance that has an automatic release time set.
|
|
@@ -61207,15 +60977,7 @@ class Client extends openapi_client_1.default {
|
|
|
61207
60977
|
return await this.modifyInstanceMetadataOptionsWithOptions(request, runtime);
|
|
61208
60978
|
}
|
|
61209
60979
|
/**
|
|
61210
|
-
*
|
|
61211
|
-
* * As of November 27, 2020, the maximum bandwidth value available for you to create ECS instances or to change ECS instance configurations is subject to throttling policies for your account. To increase the maximum bandwidth value, submit a ticket. The following throttling policies apply:
|
|
61212
|
-
* * Within a single region, the sum of actual peak bandwidths of all ECS instances that use the pay-by-traffic billing method for network usage cannot exceed 5 Gbit/s.
|
|
61213
|
-
* * Within a single region, the sum of actual peak bandwidths of all ECS instances that use the pay-by-bandwidth billing method for network usage cannot exceed 50 Gbit/s.
|
|
61214
|
-
* * If you upgrade the outbound public bandwidth (InternetMaxBandwidthOut) of a subscription (PrePaid) instance from 0 Mbit/s when you modify the bandwidth configurations of the instance, a public IP address is automatically assigned to the instance.
|
|
61215
|
-
* * If you upgrade the outbound public bandwidth (InternetMaxBandwidthOut) of a pay-as-you-go (PostPaid) instance from 0 Mbit/s when you modify the bandwidth configurations of the instance, no public IP address is automatically assigned to the instance. You must call the [AllocatePublicIpAddress](~~25544~~) operation to assign a public IP address to the instance.
|
|
61216
|
-
* * An instance in the classic network must be in the Stopped state before you can upgrade the outbound public bandwidth (InternetMaxBandwidthOut) of the instance from 0 Mbit/s.
|
|
61217
|
-
* * After the bandwidth is upgraded, AutoPay is set to true by default and the payment is automatically made. Maintain a sufficient account balance. Otherwise, your order becomes invalid and must be canceled. If your account balance is insufficient, you can set AutoPay to false. When you call the ModifyInstanceNetworkSpec operation, an unpaid order is generated. Then, you can log on to the ECS console to pay for the order.
|
|
61218
|
-
* * The price difference is refunded to the payment account that you used. Vouchers or coupons that have been redeemed cannot be returned.
|
|
60980
|
+
* The ID of the instance for which you want to modify bandwidth configurations.
|
|
61219
60981
|
*
|
|
61220
60982
|
* @param request ModifyInstanceNetworkSpecRequest
|
|
61221
60983
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -61283,15 +61045,7 @@ class Client extends openapi_client_1.default {
|
|
|
61283
61045
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyInstanceNetworkSpecResponse({}));
|
|
61284
61046
|
}
|
|
61285
61047
|
/**
|
|
61286
|
-
*
|
|
61287
|
-
* * As of November 27, 2020, the maximum bandwidth value available for you to create ECS instances or to change ECS instance configurations is subject to throttling policies for your account. To increase the maximum bandwidth value, submit a ticket. The following throttling policies apply:
|
|
61288
|
-
* * Within a single region, the sum of actual peak bandwidths of all ECS instances that use the pay-by-traffic billing method for network usage cannot exceed 5 Gbit/s.
|
|
61289
|
-
* * Within a single region, the sum of actual peak bandwidths of all ECS instances that use the pay-by-bandwidth billing method for network usage cannot exceed 50 Gbit/s.
|
|
61290
|
-
* * If you upgrade the outbound public bandwidth (InternetMaxBandwidthOut) of a subscription (PrePaid) instance from 0 Mbit/s when you modify the bandwidth configurations of the instance, a public IP address is automatically assigned to the instance.
|
|
61291
|
-
* * If you upgrade the outbound public bandwidth (InternetMaxBandwidthOut) of a pay-as-you-go (PostPaid) instance from 0 Mbit/s when you modify the bandwidth configurations of the instance, no public IP address is automatically assigned to the instance. You must call the [AllocatePublicIpAddress](~~25544~~) operation to assign a public IP address to the instance.
|
|
61292
|
-
* * An instance in the classic network must be in the Stopped state before you can upgrade the outbound public bandwidth (InternetMaxBandwidthOut) of the instance from 0 Mbit/s.
|
|
61293
|
-
* * After the bandwidth is upgraded, AutoPay is set to true by default and the payment is automatically made. Maintain a sufficient account balance. Otherwise, your order becomes invalid and must be canceled. If your account balance is insufficient, you can set AutoPay to false. When you call the ModifyInstanceNetworkSpec operation, an unpaid order is generated. Then, you can log on to the ECS console to pay for the order.
|
|
61294
|
-
* * The price difference is refunded to the payment account that you used. Vouchers or coupons that have been redeemed cannot be returned.
|
|
61048
|
+
* The ID of the instance for which you want to modify bandwidth configurations.
|
|
61295
61049
|
*
|
|
61296
61050
|
* @param request ModifyInstanceNetworkSpecRequest
|
|
61297
61051
|
* @return ModifyInstanceNetworkSpecResponse
|
|
@@ -61301,17 +61055,15 @@ class Client extends openapi_client_1.default {
|
|
|
61301
61055
|
return await this.modifyInstanceNetworkSpecWithOptions(request, runtime);
|
|
61302
61056
|
}
|
|
61303
61057
|
/**
|
|
61304
|
-
*
|
|
61305
|
-
* Before you call this operation, make sure that you understand the billing methods and pricing schedule of ECS. For more information, visit the [Elastic Compute Service](https://www.aliyun.com/price/product#/ecs/detail) product page.
|
|
61306
|
-
* For information about ECS SDK for Python used to change resource configurations, see [Query available resources for configuration changes](~~109517~~).
|
|
61058
|
+
* For information about how to use the SDK for Python to change resource configurations, see [Query available resources for configuration changes](~~109517~~).
|
|
61307
61059
|
* When you call this operation, take note of the following items:
|
|
61308
|
-
* *
|
|
61060
|
+
* * Make sure that you have no overdue payments in your account.
|
|
61309
61061
|
* * You can adjust the public bandwidth of an instance only when the instance is in the **Running** (`Running`) or **Stopped** (`Stopped`) state.
|
|
61310
61062
|
* * Before you change the instance type of a pay-as-you-go instance, you can call the [DescribeResourcesModification](~~66187~~) operation to query the instance types to which you can change.
|
|
61311
61063
|
* * You can change the instance type of an instance only when the instance is in the **Stopped** (`Stopped`) state.
|
|
61312
|
-
* * The instance type and the public bandwidth of an instance cannot be changed together.
|
|
61313
|
-
* *
|
|
61314
|
-
* * Within a single region, the sum of actual
|
|
61064
|
+
* * You can change only the instance type or only the public bandwidth of an instance at a time. The instance type and the public bandwidth of an instance cannot be changed together.
|
|
61065
|
+
* * From November 27, 2020, the maximum bandwidth value available for you to create ECS instances or to change ECS instance configurations is subject to the throttling policy of your account. To increase the maximum bandwidth value, submit a ticket. The following throttling policies apply:
|
|
61066
|
+
* * Within a single region, the sum of actual peak bandwidths of all ECS instances that use the pay-by-traffic billing method for network usage cannot exceed 5 Gbit/s.
|
|
61315
61067
|
* * Within a single region, the sum of actual maximum bandwidths of all ECS instances that use the pay-by-bandwidth billing method for network usage cannot exceed 50 Gbit/s.
|
|
61316
61068
|
*
|
|
61317
61069
|
* @param request ModifyInstanceSpecRequest
|
|
@@ -61383,17 +61135,15 @@ class Client extends openapi_client_1.default {
|
|
|
61383
61135
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyInstanceSpecResponse({}));
|
|
61384
61136
|
}
|
|
61385
61137
|
/**
|
|
61386
|
-
*
|
|
61387
|
-
* Before you call this operation, make sure that you understand the billing methods and pricing schedule of ECS. For more information, visit the [Elastic Compute Service](https://www.aliyun.com/price/product#/ecs/detail) product page.
|
|
61388
|
-
* For information about ECS SDK for Python used to change resource configurations, see [Query available resources for configuration changes](~~109517~~).
|
|
61138
|
+
* For information about how to use the SDK for Python to change resource configurations, see [Query available resources for configuration changes](~~109517~~).
|
|
61389
61139
|
* When you call this operation, take note of the following items:
|
|
61390
|
-
* *
|
|
61140
|
+
* * Make sure that you have no overdue payments in your account.
|
|
61391
61141
|
* * You can adjust the public bandwidth of an instance only when the instance is in the **Running** (`Running`) or **Stopped** (`Stopped`) state.
|
|
61392
61142
|
* * Before you change the instance type of a pay-as-you-go instance, you can call the [DescribeResourcesModification](~~66187~~) operation to query the instance types to which you can change.
|
|
61393
61143
|
* * You can change the instance type of an instance only when the instance is in the **Stopped** (`Stopped`) state.
|
|
61394
|
-
* * The instance type and the public bandwidth of an instance cannot be changed together.
|
|
61395
|
-
* *
|
|
61396
|
-
* * Within a single region, the sum of actual
|
|
61144
|
+
* * You can change only the instance type or only the public bandwidth of an instance at a time. The instance type and the public bandwidth of an instance cannot be changed together.
|
|
61145
|
+
* * From November 27, 2020, the maximum bandwidth value available for you to create ECS instances or to change ECS instance configurations is subject to the throttling policy of your account. To increase the maximum bandwidth value, submit a ticket. The following throttling policies apply:
|
|
61146
|
+
* * Within a single region, the sum of actual peak bandwidths of all ECS instances that use the pay-by-traffic billing method for network usage cannot exceed 5 Gbit/s.
|
|
61397
61147
|
* * Within a single region, the sum of actual maximum bandwidths of all ECS instances that use the pay-by-bandwidth billing method for network usage cannot exceed 50 Gbit/s.
|
|
61398
61148
|
*
|
|
61399
61149
|
* @param request ModifyInstanceSpecRequest
|
|
@@ -61407,7 +61157,7 @@ class Client extends openapi_client_1.default {
|
|
|
61407
61157
|
* * The password must be six characters in length and can contain only uppercase letters, lowercase letters, and digits.
|
|
61408
61158
|
* * After you modify the VNC password of an instance, take note of the following items:
|
|
61409
61159
|
* * If the instance is I/O optimized, the new password takes effect immediately.
|
|
61410
|
-
* * If the instance is
|
|
61160
|
+
* * If the instance is not I/O optimized, you must [restart the instance](~~25440~~) by using the ECS console or by calling the [RebootInstance](~~25502~~) operation for the new password to take effect.
|
|
61411
61161
|
*
|
|
61412
61162
|
* @param request ModifyInstanceVncPasswdRequest
|
|
61413
61163
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -61457,7 +61207,7 @@ class Client extends openapi_client_1.default {
|
|
|
61457
61207
|
* * The password must be six characters in length and can contain only uppercase letters, lowercase letters, and digits.
|
|
61458
61208
|
* * After you modify the VNC password of an instance, take note of the following items:
|
|
61459
61209
|
* * If the instance is I/O optimized, the new password takes effect immediately.
|
|
61460
|
-
* * If the instance is
|
|
61210
|
+
* * If the instance is not I/O optimized, you must [restart the instance](~~25440~~) by using the ECS console or by calling the [RebootInstance](~~25502~~) operation for the new password to take effect.
|
|
61461
61211
|
*
|
|
61462
61212
|
* @param request ModifyInstanceVncPasswdRequest
|
|
61463
61213
|
* @return ModifyInstanceVncPasswdResponse
|
|
@@ -61469,8 +61219,8 @@ class Client extends openapi_client_1.default {
|
|
|
61469
61219
|
/**
|
|
61470
61220
|
* The instance must be in the **Stopped** state.``
|
|
61471
61221
|
* * When you call this operation to modify the private IP address or vSwitch of an instance, take note of the following items:
|
|
61472
|
-
* * If the instance is newly created, you must restart the instance before you
|
|
61473
|
-
* * After you modify the private IP address or vSwitch of an instance, you must restart the instance before you
|
|
61222
|
+
* * If the instance is newly created, you must restart the instance before you call this operation.
|
|
61223
|
+
* * After you modify the private IP address or vSwitch of an instance, you must restart the instance before you call this operation again.
|
|
61474
61224
|
* * When you call this operation to modify the VPC of an instance, take note of the following items:
|
|
61475
61225
|
* * **Instance:**
|
|
61476
61226
|
* * The instance cannot be associated with Server Load Balancer (SLB) instances.
|
|
@@ -61486,14 +61236,14 @@ class Client extends openapi_client_1.default {
|
|
|
61486
61236
|
* * The primary ENI of the instance cannot be associated with multiple IP addresses.
|
|
61487
61237
|
* * The vSwitch specified by the VSwitchId parameter must belong to the new VPC.
|
|
61488
61238
|
* * The new and original vSwitches must reside within the same zone.
|
|
61489
|
-
* * If the private IP address of the primary ENI is specified, the private IP address must be available and within the CIDR block of the vSwitch. If the private IP address is not specified, the system randomly assigns one. The
|
|
61239
|
+
* * If the private IP address of the primary ENI is specified, the private IP address must be available and within the CIDR block of the vSwitch. If the private IP address is not specified, the system randomly assigns one. The new vSwitch must have a sufficient amount of available IP addresses in the CIDR block.
|
|
61490
61240
|
* * If advanced features are enabled in the new VPC, take note of the instance families that do not support advanced VPC features. For more information, see [Instance families that do not support advanced VPC features](~~163466~~).
|
|
61491
61241
|
* * The Alibaba Cloud account that owns the new VPC cannot share the VPC with other accounts.
|
|
61492
61242
|
* * **Security group (SecurityGroupId.N):**
|
|
61493
61243
|
* * All security groups must be of the same type.
|
|
61494
|
-
* * The valid values of N depend on the maximum number of security groups to which an instance can belong. For more information, see [Limits](~~25412~~).
|
|
61495
|
-
* * The
|
|
61496
|
-
* * You can switch the instance to a security group of a different type. If you want to switch an instance to a security group of a different type, you
|
|
61244
|
+
* * The valid values of N depend on the maximum number of security groups to which an instance can belong. For more information, see the "Security group limits" section in [Limits](~~25412~~).
|
|
61245
|
+
* * The security groups that you specify must belong to the new VPC.
|
|
61246
|
+
* * You can switch the instance to a security group of a different type. If you want to switch an instance to a security group of a different type, we recommend that you familiarize yourself with the differences between the rule configurations of the two security group types to avoid impacts on the instance network. For more information, see [Overview](~~25387~~).
|
|
61497
61247
|
*
|
|
61498
61248
|
* @param request ModifyInstanceVpcAttributeRequest
|
|
61499
61249
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -61548,8 +61298,8 @@ class Client extends openapi_client_1.default {
|
|
|
61548
61298
|
/**
|
|
61549
61299
|
* The instance must be in the **Stopped** state.``
|
|
61550
61300
|
* * When you call this operation to modify the private IP address or vSwitch of an instance, take note of the following items:
|
|
61551
|
-
* * If the instance is newly created, you must restart the instance before you
|
|
61552
|
-
* * After you modify the private IP address or vSwitch of an instance, you must restart the instance before you
|
|
61301
|
+
* * If the instance is newly created, you must restart the instance before you call this operation.
|
|
61302
|
+
* * After you modify the private IP address or vSwitch of an instance, you must restart the instance before you call this operation again.
|
|
61553
61303
|
* * When you call this operation to modify the VPC of an instance, take note of the following items:
|
|
61554
61304
|
* * **Instance:**
|
|
61555
61305
|
* * The instance cannot be associated with Server Load Balancer (SLB) instances.
|
|
@@ -61565,14 +61315,14 @@ class Client extends openapi_client_1.default {
|
|
|
61565
61315
|
* * The primary ENI of the instance cannot be associated with multiple IP addresses.
|
|
61566
61316
|
* * The vSwitch specified by the VSwitchId parameter must belong to the new VPC.
|
|
61567
61317
|
* * The new and original vSwitches must reside within the same zone.
|
|
61568
|
-
* * If the private IP address of the primary ENI is specified, the private IP address must be available and within the CIDR block of the vSwitch. If the private IP address is not specified, the system randomly assigns one. The
|
|
61318
|
+
* * If the private IP address of the primary ENI is specified, the private IP address must be available and within the CIDR block of the vSwitch. If the private IP address is not specified, the system randomly assigns one. The new vSwitch must have a sufficient amount of available IP addresses in the CIDR block.
|
|
61569
61319
|
* * If advanced features are enabled in the new VPC, take note of the instance families that do not support advanced VPC features. For more information, see [Instance families that do not support advanced VPC features](~~163466~~).
|
|
61570
61320
|
* * The Alibaba Cloud account that owns the new VPC cannot share the VPC with other accounts.
|
|
61571
61321
|
* * **Security group (SecurityGroupId.N):**
|
|
61572
61322
|
* * All security groups must be of the same type.
|
|
61573
|
-
* * The valid values of N depend on the maximum number of security groups to which an instance can belong. For more information, see [Limits](~~25412~~).
|
|
61574
|
-
* * The
|
|
61575
|
-
* * You can switch the instance to a security group of a different type. If you want to switch an instance to a security group of a different type, you
|
|
61323
|
+
* * The valid values of N depend on the maximum number of security groups to which an instance can belong. For more information, see the "Security group limits" section in [Limits](~~25412~~).
|
|
61324
|
+
* * The security groups that you specify must belong to the new VPC.
|
|
61325
|
+
* * You can switch the instance to a security group of a different type. If you want to switch an instance to a security group of a different type, we recommend that you familiarize yourself with the differences between the rule configurations of the two security group types to avoid impacts on the instance network. For more information, see [Overview](~~25387~~).
|
|
61576
61326
|
*
|
|
61577
61327
|
* @param request ModifyInstanceVpcAttributeRequest
|
|
61578
61328
|
* @return ModifyInstanceVpcAttributeResponse
|
|
@@ -61629,8 +61379,7 @@ class Client extends openapi_client_1.default {
|
|
|
61629
61379
|
return await this.modifyLaunchTemplateDefaultVersionWithOptions(request, runtime);
|
|
61630
61380
|
}
|
|
61631
61381
|
/**
|
|
61632
|
-
*
|
|
61633
|
-
* The ModifyManagedInstance operation can be called to modify only the name of a single managed instance.
|
|
61382
|
+
* You can call the ModifyManagedInstance operation to change only the name of a managed instance.
|
|
61634
61383
|
*
|
|
61635
61384
|
* @param request ModifyManagedInstanceRequest
|
|
61636
61385
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -61680,8 +61429,7 @@ class Client extends openapi_client_1.default {
|
|
|
61680
61429
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyManagedInstanceResponse({}));
|
|
61681
61430
|
}
|
|
61682
61431
|
/**
|
|
61683
|
-
*
|
|
61684
|
-
* The ModifyManagedInstance operation can be called to modify only the name of a single managed instance.
|
|
61432
|
+
* You can call the ModifyManagedInstance operation to change only the name of a managed instance.
|
|
61685
61433
|
*
|
|
61686
61434
|
* @param request ModifyManagedInstanceRequest
|
|
61687
61435
|
* @return ModifyManagedInstanceResponse
|
|
@@ -61917,15 +61665,15 @@ class Client extends openapi_client_1.default {
|
|
|
61917
61665
|
return await this.modifyPrefixListWithOptions(request, runtime);
|
|
61918
61666
|
}
|
|
61919
61667
|
/**
|
|
61920
|
-
* Before you call this operation,
|
|
61921
|
-
* Before you change the instance type of a subscription instance, you can call the [DescribeResourcesModification](~~66187~~) operation to query the instance types to which you can change. You can use ECS SDK for Python to query the instance types to which you can change. For more information, see [Query available resources for configuration changes](~~109517~~).
|
|
61668
|
+
* Before you call this operation, we recommend that you familiarize yourself with the billing methods, pricing schedule, and refund rules of [ECS](https://www.alibabacloud.com/product/ecs#pricing). For more information, see [Refund rules for real-time configuration downgrade](~~201955~~).
|
|
61669
|
+
* Before you change the instance type of a subscription instance, you can call the [DescribeResourcesModification](~~66187~~) operation to query the instance types to which you can change the instance. You can use ECS SDK for Python to query the instance types to which you can change. For more information, see [Query available resources for configuration changes](~~109517~~).
|
|
61922
61670
|
* When you call this operation, take note of the following items:
|
|
61923
|
-
* *
|
|
61671
|
+
* * You cannot change the instance type of an expired instance. Renew the instance and try again.
|
|
61924
61672
|
* * When you downgrade the instance type of an instance, take note of the following items:
|
|
61925
|
-
* * The instance must be in the
|
|
61673
|
+
* * The instance must be in the `Stopped` state.****
|
|
61926
61674
|
* * You must specify the operation type by setting `OperatorType` to downgrade.
|
|
61927
|
-
* * You can downgrade the configurations of an instance up to three times. Therefore,
|
|
61928
|
-
* * The price difference is refunded to the payment account you used. Vouchers that have been redeemed are not refundable.
|
|
61675
|
+
* * You can downgrade the configurations of an instance up to three times. Therefore, up to three refunds for the price difference can be made for an instance. Downgrade operations include instance type downgrades, bandwidth configuration downgrades, and the change of the disk billing method from subscription to pay-as-you-go.
|
|
61676
|
+
* * The price difference is refunded to the payment account you used. Vouchers that have been redeemed during purchase are not refundable.
|
|
61929
61677
|
* * This operation is asynchronous. It takes 5 to 10 seconds for the instance type to change. You must restart the instance by calling the RebootInstance operation or by using the ECS console for the instance type change to take effect. If you restart only the operating system of the instance, the instance type change does not take effect.
|
|
61930
61678
|
* * If the instance is in the **Stopped** state, you only need to start the instance. You do not need to restart the instance after it enters the Running state.
|
|
61931
61679
|
* * If `RebootWhenFinished` is set to true for the instance, you do not need to manually restart the instance.
|
|
@@ -62005,15 +61753,15 @@ class Client extends openapi_client_1.default {
|
|
|
62005
61753
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyPrepayInstanceSpecResponse({}));
|
|
62006
61754
|
}
|
|
62007
61755
|
/**
|
|
62008
|
-
* Before you call this operation,
|
|
62009
|
-
* Before you change the instance type of a subscription instance, you can call the [DescribeResourcesModification](~~66187~~) operation to query the instance types to which you can change. You can use ECS SDK for Python to query the instance types to which you can change. For more information, see [Query available resources for configuration changes](~~109517~~).
|
|
61756
|
+
* Before you call this operation, we recommend that you familiarize yourself with the billing methods, pricing schedule, and refund rules of [ECS](https://www.alibabacloud.com/product/ecs#pricing). For more information, see [Refund rules for real-time configuration downgrade](~~201955~~).
|
|
61757
|
+
* Before you change the instance type of a subscription instance, you can call the [DescribeResourcesModification](~~66187~~) operation to query the instance types to which you can change the instance. You can use ECS SDK for Python to query the instance types to which you can change. For more information, see [Query available resources for configuration changes](~~109517~~).
|
|
62010
61758
|
* When you call this operation, take note of the following items:
|
|
62011
|
-
* *
|
|
61759
|
+
* * You cannot change the instance type of an expired instance. Renew the instance and try again.
|
|
62012
61760
|
* * When you downgrade the instance type of an instance, take note of the following items:
|
|
62013
|
-
* * The instance must be in the
|
|
61761
|
+
* * The instance must be in the `Stopped` state.****
|
|
62014
61762
|
* * You must specify the operation type by setting `OperatorType` to downgrade.
|
|
62015
|
-
* * You can downgrade the configurations of an instance up to three times. Therefore,
|
|
62016
|
-
* * The price difference is refunded to the payment account you used. Vouchers that have been redeemed are not refundable.
|
|
61763
|
+
* * You can downgrade the configurations of an instance up to three times. Therefore, up to three refunds for the price difference can be made for an instance. Downgrade operations include instance type downgrades, bandwidth configuration downgrades, and the change of the disk billing method from subscription to pay-as-you-go.
|
|
61764
|
+
* * The price difference is refunded to the payment account you used. Vouchers that have been redeemed during purchase are not refundable.
|
|
62017
61765
|
* * This operation is asynchronous. It takes 5 to 10 seconds for the instance type to change. You must restart the instance by calling the RebootInstance operation or by using the ECS console for the instance type change to take effect. If you restart only the operating system of the instance, the instance type change does not take effect.
|
|
62018
61766
|
* * If the instance is in the **Stopped** state, you only need to start the instance. You do not need to restart the instance after it enters the Running state.
|
|
62019
61767
|
* * If `RebootWhenFinished` is set to true for the instance, you do not need to manually restart the instance.
|
|
@@ -62125,10 +61873,10 @@ class Client extends openapi_client_1.default {
|
|
|
62125
61873
|
/**
|
|
62126
61874
|
* ## Description
|
|
62127
61875
|
* When you call this operation, take note of the following items:
|
|
62128
|
-
* * For information about limits on reserved instances, see the "Limits" section in [
|
|
62129
|
-
* * Before you call this operation to split a reserved instance, make sure that you
|
|
62130
|
-
* * Before you call this operation to merge reserved instances, make sure that you
|
|
62131
|
-
* * Before you call this operation to modify a reserved instance, make sure that you
|
|
61876
|
+
* * For information about limits on reserved instances, see the "Limits" section in [Overview](~~100370~~).
|
|
61877
|
+
* * Before you call this operation to split a reserved instance, make sure that you are familiar with the limits on splitting a reserved instance. For more information, see [Split a reserved instance](~~100375~~).
|
|
61878
|
+
* * Before you call this operation to merge reserved instances, make sure that you are familiar with the limits on merging reserved instances. For more information, see [Merge reserved instances](~~132229~~).
|
|
61879
|
+
* * Before you call this operation to modify a reserved instance, make sure that you are familiar with the limits and methods of modifying a reserved instance. For more information, see [Modify a reserved instance](~~132230~~).
|
|
62132
61880
|
*
|
|
62133
61881
|
* @param request ModifyReservedInstancesRequest
|
|
62134
61882
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -62177,10 +61925,10 @@ class Client extends openapi_client_1.default {
|
|
|
62177
61925
|
/**
|
|
62178
61926
|
* ## Description
|
|
62179
61927
|
* When you call this operation, take note of the following items:
|
|
62180
|
-
* * For information about limits on reserved instances, see the "Limits" section in [
|
|
62181
|
-
* * Before you call this operation to split a reserved instance, make sure that you
|
|
62182
|
-
* * Before you call this operation to merge reserved instances, make sure that you
|
|
62183
|
-
* * Before you call this operation to modify a reserved instance, make sure that you
|
|
61928
|
+
* * For information about limits on reserved instances, see the "Limits" section in [Overview](~~100370~~).
|
|
61929
|
+
* * Before you call this operation to split a reserved instance, make sure that you are familiar with the limits on splitting a reserved instance. For more information, see [Split a reserved instance](~~100375~~).
|
|
61930
|
+
* * Before you call this operation to merge reserved instances, make sure that you are familiar with the limits on merging reserved instances. For more information, see [Merge reserved instances](~~132229~~).
|
|
61931
|
+
* * Before you call this operation to modify a reserved instance, make sure that you are familiar with the limits and methods of modifying a reserved instance. For more information, see [Modify a reserved instance](~~132230~~).
|
|
62184
61932
|
*
|
|
62185
61933
|
* @param request ModifyReservedInstancesRequest
|
|
62186
61934
|
* @return ModifyReservedInstancesResponse
|
|
@@ -62379,12 +62127,12 @@ class Client extends openapi_client_1.default {
|
|
|
62379
62127
|
return await this.modifySecurityGroupAttributeWithOptions(request, runtime);
|
|
62380
62128
|
}
|
|
62381
62129
|
/**
|
|
62382
|
-
*
|
|
62383
|
-
*
|
|
62384
|
-
* *
|
|
62130
|
+
* In the security group-related API documents, inbound traffic refers to the traffic that is sent by the source device and received at the destination device.
|
|
62131
|
+
* Take note of the following items:
|
|
62132
|
+
* * An authorization object in a security group rule can be one of the following types: IP address or CIDR block, security group, or prefix list. The type of an existing security group authorization object cannot be modified. If the original authorization object is an IP address, you can change it to another IP address or a CIDR block, but not to a security group or prefix list.
|
|
62385
62133
|
* * The IP address family of the authorization object cannot be changed. For example, if the original authorization object is an IPv4 CIDR block, you cannot change it to an IPv6 CIDR block. If the original authorization object is an IPv4 prefix list, you cannot change it to an IPv6 prefix list.
|
|
62386
|
-
* * The
|
|
62387
|
-
* *
|
|
62134
|
+
* * The new security group rule after modification cannot be the same as other existing rules.
|
|
62135
|
+
* * You cannot delete the value of a non-empty parameter in a security group rule. We recommend that you create a rule that has the same parameter configurations as the original rule, except that the specified parameters are left empty, and then delete the original rule.
|
|
62388
62136
|
*
|
|
62389
62137
|
* @param request ModifySecurityGroupEgressRuleRequest
|
|
62390
62138
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -62482,12 +62230,12 @@ class Client extends openapi_client_1.default {
|
|
|
62482
62230
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifySecurityGroupEgressRuleResponse({}));
|
|
62483
62231
|
}
|
|
62484
62232
|
/**
|
|
62485
|
-
*
|
|
62486
|
-
*
|
|
62487
|
-
* *
|
|
62233
|
+
* In the security group-related API documents, inbound traffic refers to the traffic that is sent by the source device and received at the destination device.
|
|
62234
|
+
* Take note of the following items:
|
|
62235
|
+
* * An authorization object in a security group rule can be one of the following types: IP address or CIDR block, security group, or prefix list. The type of an existing security group authorization object cannot be modified. If the original authorization object is an IP address, you can change it to another IP address or a CIDR block, but not to a security group or prefix list.
|
|
62488
62236
|
* * The IP address family of the authorization object cannot be changed. For example, if the original authorization object is an IPv4 CIDR block, you cannot change it to an IPv6 CIDR block. If the original authorization object is an IPv4 prefix list, you cannot change it to an IPv6 prefix list.
|
|
62489
|
-
* * The
|
|
62490
|
-
* *
|
|
62237
|
+
* * The new security group rule after modification cannot be the same as other existing rules.
|
|
62238
|
+
* * You cannot delete the value of a non-empty parameter in a security group rule. We recommend that you create a rule that has the same parameter configurations as the original rule, except that the specified parameters are left empty, and then delete the original rule.
|
|
62491
62239
|
*
|
|
62492
62240
|
* @param request ModifySecurityGroupEgressRuleRequest
|
|
62493
62241
|
* @return ModifySecurityGroupEgressRuleResponse
|
|
@@ -62497,7 +62245,7 @@ class Client extends openapi_client_1.default {
|
|
|
62497
62245
|
return await this.modifySecurityGroupEgressRuleWithOptions(request, runtime);
|
|
62498
62246
|
}
|
|
62499
62247
|
/**
|
|
62500
|
-
*
|
|
62248
|
+
* Take note of the following items:
|
|
62501
62249
|
* * When InnerAccessPolicy is set to Accept for a security group, the instances in the security group can communicate with each other. In this case, the Accept internal access control policy takes precedence over user-created security group rules to keep instances in the security group accessible to each other.
|
|
62502
62250
|
* * When InnerAccessPolicy is set to Drop for a security group, the instances in the security group are isolated from each other. In this case, user-created security group rules take precedence over the Drop internal access control policy and can be used to allow access between the instances. For example, you can call the [AuthorizeSecurityGroup](~~25554~~) operation to create an inbound security group rule that allows the instances in the security group to communicate with each other.
|
|
62503
62251
|
* * You can call the [DescribeSecurityGroupAttribute](~~25555~~) operation to query the internal access policy of a security group.
|
|
@@ -62550,7 +62298,7 @@ class Client extends openapi_client_1.default {
|
|
|
62550
62298
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifySecurityGroupPolicyResponse({}));
|
|
62551
62299
|
}
|
|
62552
62300
|
/**
|
|
62553
|
-
*
|
|
62301
|
+
* Take note of the following items:
|
|
62554
62302
|
* * When InnerAccessPolicy is set to Accept for a security group, the instances in the security group can communicate with each other. In this case, the Accept internal access control policy takes precedence over user-created security group rules to keep instances in the security group accessible to each other.
|
|
62555
62303
|
* * When InnerAccessPolicy is set to Drop for a security group, the instances in the security group are isolated from each other. In this case, user-created security group rules take precedence over the Drop internal access control policy and can be used to allow access between the instances. For example, you can call the [AuthorizeSecurityGroup](~~25554~~) operation to create an inbound security group rule that allows the instances in the security group to communicate with each other.
|
|
62556
62304
|
* * You can call the [DescribeSecurityGroupAttribute](~~25555~~) operation to query the internal access policy of a security group.
|
|
@@ -62563,11 +62311,12 @@ class Client extends openapi_client_1.default {
|
|
|
62563
62311
|
return await this.modifySecurityGroupPolicyWithOptions(request, runtime);
|
|
62564
62312
|
}
|
|
62565
62313
|
/**
|
|
62566
|
-
*
|
|
62567
|
-
*
|
|
62568
|
-
* *
|
|
62314
|
+
* In the security group-related API documents, inbound traffic refers to the traffic that is sent by the source device and received at the destination device.
|
|
62315
|
+
* When you modify the rules of a security group by specifying the rule IDs, take note of the following limits:
|
|
62316
|
+
* * A security group authorization object can be one of the following types: IP address or CIDR block, security group, or prefix list. The type of an existing security group authorization object cannot be changed. If the original authorization object is an IP address, you can change it to another IP address or a CIDR block, but not to a security group or prefix list.
|
|
62317
|
+
* * The IP address family of the authorization object cannot be changed. For example, if the original authorization object is an IPv4 CIDR block, you cannot change it to an IPv6 CIDR block. If the original authorization object is a prefix list of an IPv4 address family, you cannot change it to a prefix list of an IPv6 address family.
|
|
62569
62318
|
* * The modified security group rule cannot be the same as other existing rules.
|
|
62570
|
-
* *
|
|
62319
|
+
* * You cannot delete the value of a non-empty parameter. We recommend that you create a new rule and delete the original rule.
|
|
62571
62320
|
*
|
|
62572
62321
|
* @param request ModifySecurityGroupRuleRequest
|
|
62573
62322
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -62665,11 +62414,12 @@ class Client extends openapi_client_1.default {
|
|
|
62665
62414
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifySecurityGroupRuleResponse({}));
|
|
62666
62415
|
}
|
|
62667
62416
|
/**
|
|
62668
|
-
*
|
|
62669
|
-
*
|
|
62670
|
-
* *
|
|
62417
|
+
* In the security group-related API documents, inbound traffic refers to the traffic that is sent by the source device and received at the destination device.
|
|
62418
|
+
* When you modify the rules of a security group by specifying the rule IDs, take note of the following limits:
|
|
62419
|
+
* * A security group authorization object can be one of the following types: IP address or CIDR block, security group, or prefix list. The type of an existing security group authorization object cannot be changed. If the original authorization object is an IP address, you can change it to another IP address or a CIDR block, but not to a security group or prefix list.
|
|
62420
|
+
* * The IP address family of the authorization object cannot be changed. For example, if the original authorization object is an IPv4 CIDR block, you cannot change it to an IPv6 CIDR block. If the original authorization object is a prefix list of an IPv4 address family, you cannot change it to a prefix list of an IPv6 address family.
|
|
62671
62421
|
* * The modified security group rule cannot be the same as other existing rules.
|
|
62672
|
-
* *
|
|
62422
|
+
* * You cannot delete the value of a non-empty parameter. We recommend that you create a new rule and delete the original rule.
|
|
62673
62423
|
*
|
|
62674
62424
|
* @param request ModifySecurityGroupRuleRequest
|
|
62675
62425
|
* @return ModifySecurityGroupRuleResponse
|
|
@@ -63302,7 +63052,7 @@ class Client extends openapi_client_1.default {
|
|
|
63302
63052
|
return await this.purchaseReservedInstancesOfferingWithOptions(request, runtime);
|
|
63303
63053
|
}
|
|
63304
63054
|
/**
|
|
63305
|
-
* Before you call this operation, make sure that you
|
|
63055
|
+
* Before you call this operation, make sure that you are familiar with the billing and pricing plans of SCUs. For more information, see [Storage capacity units](~~137897~~).
|
|
63306
63056
|
*
|
|
63307
63057
|
* @param request PurchaseStorageCapacityUnitRequest
|
|
63308
63058
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -63373,7 +63123,7 @@ class Client extends openapi_client_1.default {
|
|
|
63373
63123
|
return $tea.cast(await this.callApi(params, req, runtime), new PurchaseStorageCapacityUnitResponse({}));
|
|
63374
63124
|
}
|
|
63375
63125
|
/**
|
|
63376
|
-
* Before you call this operation, make sure that you
|
|
63126
|
+
* Before you call this operation, make sure that you are familiar with the billing and pricing plans of SCUs. For more information, see [Storage capacity units](~~137897~~).
|
|
63377
63127
|
*
|
|
63378
63128
|
* @param request PurchaseStorageCapacityUnitRequest
|
|
63379
63129
|
* @return PurchaseStorageCapacityUnitResponse
|
|
@@ -63383,12 +63133,11 @@ class Client extends openapi_client_1.default {
|
|
|
63383
63133
|
return await this.purchaseStorageCapacityUnitWithOptions(request, runtime);
|
|
63384
63134
|
}
|
|
63385
63135
|
/**
|
|
63386
|
-
* When you call this operation, take note of the following
|
|
63387
|
-
* * The instance must be in the
|
|
63388
|
-
* *
|
|
63389
|
-
* * After
|
|
63390
|
-
* *
|
|
63391
|
-
* * You cannot call this operation on ECS instances that are locked for security reasons. An instance is locked for security reasons if `OperationLocks` in the response returned when you query information of the instance contains `"LockReason": "security"`. For more information, see [API behavior when an instance is locked for security reasons](~~25695~~).
|
|
63136
|
+
* When you call this operation, take note of the following items:
|
|
63137
|
+
* * The instance must be in the `Stopped` state.****
|
|
63138
|
+
* * If an instance has overdue payments for more than 15 days, the instance is stopped and released, and data on the instance can no longer be recovered. You must complete the overdue payments and reactivate the instance within 15 days. If you cannot reactivate an instance that resides in a virtual private cloud (VPC), wait a few minutes and try again.
|
|
63139
|
+
* * After the operation is called, the instance enters the `Starting` state.****
|
|
63140
|
+
* * You cannot call this operation on ECS instances that are locked for security reasons. If `OperationLocks` in the response returned for the DescribeInstances operation contains `LockReason: security`, the instance is locked for security reasons. For more information, see [API behavior when an instance is locked for security reasons](~~25695~~).
|
|
63392
63141
|
*
|
|
63393
63142
|
* @param request ReActivateInstancesRequest
|
|
63394
63143
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -63432,12 +63181,11 @@ class Client extends openapi_client_1.default {
|
|
|
63432
63181
|
return $tea.cast(await this.callApi(params, req, runtime), new ReActivateInstancesResponse({}));
|
|
63433
63182
|
}
|
|
63434
63183
|
/**
|
|
63435
|
-
* When you call this operation, take note of the following
|
|
63436
|
-
* * The instance must be in the
|
|
63437
|
-
* *
|
|
63438
|
-
* * After
|
|
63439
|
-
* *
|
|
63440
|
-
* * You cannot call this operation on ECS instances that are locked for security reasons. An instance is locked for security reasons if `OperationLocks` in the response returned when you query information of the instance contains `"LockReason": "security"`. For more information, see [API behavior when an instance is locked for security reasons](~~25695~~).
|
|
63184
|
+
* When you call this operation, take note of the following items:
|
|
63185
|
+
* * The instance must be in the `Stopped` state.****
|
|
63186
|
+
* * If an instance has overdue payments for more than 15 days, the instance is stopped and released, and data on the instance can no longer be recovered. You must complete the overdue payments and reactivate the instance within 15 days. If you cannot reactivate an instance that resides in a virtual private cloud (VPC), wait a few minutes and try again.
|
|
63187
|
+
* * After the operation is called, the instance enters the `Starting` state.****
|
|
63188
|
+
* * You cannot call this operation on ECS instances that are locked for security reasons. If `OperationLocks` in the response returned for the DescribeInstances operation contains `LockReason: security`, the instance is locked for security reasons. For more information, see [API behavior when an instance is locked for security reasons](~~25695~~).
|
|
63441
63189
|
*
|
|
63442
63190
|
* @param request ReActivateInstancesRequest
|
|
63443
63191
|
* @return ReActivateInstancesResponse
|
|
@@ -63447,11 +63195,10 @@ class Client extends openapi_client_1.default {
|
|
|
63447
63195
|
return await this.reActivateInstancesWithOptions(request, runtime);
|
|
63448
63196
|
}
|
|
63449
63197
|
/**
|
|
63450
|
-
* When you call this operation, take note of the following
|
|
63198
|
+
* When you call this operation, take note of the following points:
|
|
63451
63199
|
* * The disk that you want to re-initialize must be in the **In Use** (In_use) state and the instance to which the disk is attached must be in the **Stopped** (Stopped) state.
|
|
63452
63200
|
* * If the instance has never been started since it was created, the disks attached to it cannot be re-initialized.
|
|
63453
63201
|
* * If a local snapshot has been created for a disk, the disk cannot be re-initialized.
|
|
63454
|
-
* * Disks that have the multi-attach feature enabled cannot be re-initialized.
|
|
63455
63202
|
* * When a system disk is re-initialized, it is restored to the state of the image from which it was created. If the source image is deleted, the system disk cannot be re-initialized.
|
|
63456
63203
|
* * When a separately created data disk is re-initialized, it is restored to an empty data disk.
|
|
63457
63204
|
* * When a data disk that was created from a snapshot is re-initialized, the disk is restored to the state of the snapshot.
|
|
@@ -63508,11 +63255,10 @@ class Client extends openapi_client_1.default {
|
|
|
63508
63255
|
return $tea.cast(await this.callApi(params, req, runtime), new ReInitDiskResponse({}));
|
|
63509
63256
|
}
|
|
63510
63257
|
/**
|
|
63511
|
-
* When you call this operation, take note of the following
|
|
63258
|
+
* When you call this operation, take note of the following points:
|
|
63512
63259
|
* * The disk that you want to re-initialize must be in the **In Use** (In_use) state and the instance to which the disk is attached must be in the **Stopped** (Stopped) state.
|
|
63513
63260
|
* * If the instance has never been started since it was created, the disks attached to it cannot be re-initialized.
|
|
63514
63261
|
* * If a local snapshot has been created for a disk, the disk cannot be re-initialized.
|
|
63515
|
-
* * Disks that have the multi-attach feature enabled cannot be re-initialized.
|
|
63516
63262
|
* * When a system disk is re-initialized, it is restored to the state of the image from which it was created. If the source image is deleted, the system disk cannot be re-initialized.
|
|
63517
63263
|
* * When a separately created data disk is re-initialized, it is restored to an empty data disk.
|
|
63518
63264
|
* * When a data disk that was created from a snapshot is re-initialized, the disk is restored to the state of the snapshot.
|
|
@@ -63526,10 +63272,10 @@ class Client extends openapi_client_1.default {
|
|
|
63526
63272
|
return await this.reInitDiskWithOptions(request, runtime);
|
|
63527
63273
|
}
|
|
63528
63274
|
/**
|
|
63529
|
-
* *
|
|
63530
|
-
* * After
|
|
63531
|
-
* * An instance can be
|
|
63532
|
-
* * If `OperationLocks` in the
|
|
63275
|
+
* * Only instances that are in the `Running` state can be restarted.****
|
|
63276
|
+
* * After an instance is restarted, the status of the instance changes to `Starting`.****
|
|
63277
|
+
* * An instance can be forcibly restarted. A forced restart (`ForceStop`) is equivalent to performing a hard restart. This operation can cause data loss if data in the instance is not written to the disk.
|
|
63278
|
+
* * If you call the DescribeInstances operation to query the details of an instance and `OperationLocks` in the response contains "LockReason": "security", the instance is locked for security reasons and cannot be restarted. For more information, see [API behavior when an instance is locked for security reasons](~~25695~~).
|
|
63533
63279
|
*
|
|
63534
63280
|
* @param request RebootInstanceRequest
|
|
63535
63281
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -63576,10 +63322,10 @@ class Client extends openapi_client_1.default {
|
|
|
63576
63322
|
return $tea.cast(await this.callApi(params, req, runtime), new RebootInstanceResponse({}));
|
|
63577
63323
|
}
|
|
63578
63324
|
/**
|
|
63579
|
-
* *
|
|
63580
|
-
* * After
|
|
63581
|
-
* * An instance can be
|
|
63582
|
-
* * If `OperationLocks` in the
|
|
63325
|
+
* * Only instances that are in the `Running` state can be restarted.****
|
|
63326
|
+
* * After an instance is restarted, the status of the instance changes to `Starting`.****
|
|
63327
|
+
* * An instance can be forcibly restarted. A forced restart (`ForceStop`) is equivalent to performing a hard restart. This operation can cause data loss if data in the instance is not written to the disk.
|
|
63328
|
+
* * If you call the DescribeInstances operation to query the details of an instance and `OperationLocks` in the response contains "LockReason": "security", the instance is locked for security reasons and cannot be restarted. For more information, see [API behavior when an instance is locked for security reasons](~~25695~~).
|
|
63583
63329
|
*
|
|
63584
63330
|
* @param request RebootInstanceRequest
|
|
63585
63331
|
* @return RebootInstanceResponse
|
|
@@ -63588,6 +63334,16 @@ class Client extends openapi_client_1.default {
|
|
|
63588
63334
|
let runtime = new $Util.RuntimeOptions({});
|
|
63589
63335
|
return await this.rebootInstanceWithOptions(request, runtime);
|
|
63590
63336
|
}
|
|
63337
|
+
/**
|
|
63338
|
+
* * The ECS instances are in the **Running** state.``
|
|
63339
|
+
* * You can use the `BatchOptimization` parameter to enable the batch operation mode and restart multiple instances at a time.
|
|
63340
|
+
* * Instances can be forcibly restarted by calling the `ForceReboot` operation. A forced restart is equivalent to a power-off restart for a traditional server. If data in the instance operating system is not written to block-storage devices when the instance is forcibly restarted, the data is lost.
|
|
63341
|
+
* * If a response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query instance information, the instance is locked for security reasons and all operations are prohibited on it.
|
|
63342
|
+
*
|
|
63343
|
+
* @param request RebootInstancesRequest
|
|
63344
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
63345
|
+
* @return RebootInstancesResponse
|
|
63346
|
+
*/
|
|
63591
63347
|
async rebootInstancesWithOptions(request, runtime) {
|
|
63592
63348
|
tea_util_1.default.validateModel(request);
|
|
63593
63349
|
let query = {};
|
|
@@ -63634,6 +63390,15 @@ class Client extends openapi_client_1.default {
|
|
|
63634
63390
|
});
|
|
63635
63391
|
return $tea.cast(await this.callApi(params, req, runtime), new RebootInstancesResponse({}));
|
|
63636
63392
|
}
|
|
63393
|
+
/**
|
|
63394
|
+
* * The ECS instances are in the **Running** state.``
|
|
63395
|
+
* * You can use the `BatchOptimization` parameter to enable the batch operation mode and restart multiple instances at a time.
|
|
63396
|
+
* * Instances can be forcibly restarted by calling the `ForceReboot` operation. A forced restart is equivalent to a power-off restart for a traditional server. If data in the instance operating system is not written to block-storage devices when the instance is forcibly restarted, the data is lost.
|
|
63397
|
+
* * If a response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query instance information, the instance is locked for security reasons and all operations are prohibited on it.
|
|
63398
|
+
*
|
|
63399
|
+
* @param request RebootInstancesRequest
|
|
63400
|
+
* @return RebootInstancesResponse
|
|
63401
|
+
*/
|
|
63637
63402
|
async rebootInstances(request) {
|
|
63638
63403
|
let runtime = new $Util.RuntimeOptions({});
|
|
63639
63404
|
return await this.rebootInstancesWithOptions(request, runtime);
|
|
@@ -64157,8 +63922,7 @@ class Client extends openapi_client_1.default {
|
|
|
64157
63922
|
return await this.removeTagsWithOptions(request, runtime);
|
|
64158
63923
|
}
|
|
64159
63924
|
/**
|
|
64160
|
-
*
|
|
64161
|
-
* When you renew the subscription dedicated hosts, deductible vouchers are used first by default. Make sure that your account supports credit card payments or balance payments.
|
|
63925
|
+
* Valid vouchers can be applied when you renew the subscription plan dedicated hosts. In order to use vouchers, make sure that your account supports the credit card payment method.
|
|
64162
63926
|
*
|
|
64163
63927
|
* @param request RenewDedicatedHostsRequest
|
|
64164
63928
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -64211,8 +63975,7 @@ class Client extends openapi_client_1.default {
|
|
|
64211
63975
|
return $tea.cast(await this.callApi(params, req, runtime), new RenewDedicatedHostsResponse({}));
|
|
64212
63976
|
}
|
|
64213
63977
|
/**
|
|
64214
|
-
*
|
|
64215
|
-
* When you renew the subscription dedicated hosts, deductible vouchers are used first by default. Make sure that your account supports credit card payments or balance payments.
|
|
63978
|
+
* Valid vouchers can be applied when you renew the subscription plan dedicated hosts. In order to use vouchers, make sure that your account supports the credit card payment method.
|
|
64216
63979
|
*
|
|
64217
63980
|
* @param request RenewDedicatedHostsRequest
|
|
64218
63981
|
* @return RenewDedicatedHostsResponse
|
|
@@ -64222,9 +63985,9 @@ class Client extends openapi_client_1.default {
|
|
|
64222
63985
|
return await this.renewDedicatedHostsWithOptions(request, runtime);
|
|
64223
63986
|
}
|
|
64224
63987
|
/**
|
|
64225
|
-
* * Before you call this operation, make sure that you are familiar with the billing methods and pricing
|
|
64226
|
-
* * You can call this operation to renew a subscription
|
|
64227
|
-
* * You cannot renew a subscription instance for a specific period of time and to a synchronized expiration date at the same time
|
|
63988
|
+
* * Before you call this operation, make sure that you are familiar with the billing methods and pricing of ECS. For more information, see the [Elastic Compute Service](https://www.alibabacloud.com/product/ecs#pricing) product page.
|
|
63989
|
+
* * You can call this operation to renew a subscription instance for a specific period of time or to a synchronized expiration date.
|
|
63990
|
+
* * You cannot call this operation to renew a subscription instance for a specific period of time and to a synchronized expiration date at the same time. The parameter pair (`Period` and `PeriodUnit`) that is related to the renewal period and `ExpectedRenewDay` are mutually exclusive.
|
|
64228
63991
|
* * Your account must have sufficient credits.
|
|
64229
63992
|
*
|
|
64230
63993
|
* @param request RenewInstanceRequest
|
|
@@ -64278,9 +64041,9 @@ class Client extends openapi_client_1.default {
|
|
|
64278
64041
|
return $tea.cast(await this.callApi(params, req, runtime), new RenewInstanceResponse({}));
|
|
64279
64042
|
}
|
|
64280
64043
|
/**
|
|
64281
|
-
* * Before you call this operation, make sure that you are familiar with the billing methods and pricing
|
|
64282
|
-
* * You can call this operation to renew a subscription
|
|
64283
|
-
* * You cannot renew a subscription instance for a specific period of time and to a synchronized expiration date at the same time
|
|
64044
|
+
* * Before you call this operation, make sure that you are familiar with the billing methods and pricing of ECS. For more information, see the [Elastic Compute Service](https://www.alibabacloud.com/product/ecs#pricing) product page.
|
|
64045
|
+
* * You can call this operation to renew a subscription instance for a specific period of time or to a synchronized expiration date.
|
|
64046
|
+
* * You cannot call this operation to renew a subscription instance for a specific period of time and to a synchronized expiration date at the same time. The parameter pair (`Period` and `PeriodUnit`) that is related to the renewal period and `ExpectedRenewDay` are mutually exclusive.
|
|
64284
64047
|
* * Your account must have sufficient credits.
|
|
64285
64048
|
*
|
|
64286
64049
|
* @param request RenewInstanceRequest
|
|
@@ -64291,7 +64054,7 @@ class Client extends openapi_client_1.default {
|
|
|
64291
64054
|
return await this.renewInstanceWithOptions(request, runtime);
|
|
64292
64055
|
}
|
|
64293
64056
|
/**
|
|
64294
|
-
* * Before you call this operation, make sure that you
|
|
64057
|
+
* * Before you call this operation, make sure that you are familiar with the billing method of reserved instances. For more information, see [Reserved instances](~~100371~~).
|
|
64295
64058
|
* * You can call the [DescribeReservedInstances](~~100065~~) operation to query the reserved instances that you purchased.
|
|
64296
64059
|
*
|
|
64297
64060
|
* @param request RenewReservedInstancesRequest
|
|
@@ -64351,7 +64114,7 @@ class Client extends openapi_client_1.default {
|
|
|
64351
64114
|
return $tea.cast(await this.callApi(params, req, runtime), new RenewReservedInstancesResponse({}));
|
|
64352
64115
|
}
|
|
64353
64116
|
/**
|
|
64354
|
-
* * Before you call this operation, make sure that you
|
|
64117
|
+
* * Before you call this operation, make sure that you are familiar with the billing method of reserved instances. For more information, see [Reserved instances](~~100371~~).
|
|
64355
64118
|
* * You can call the [DescribeReservedInstances](~~100065~~) operation to query the reserved instances that you purchased.
|
|
64356
64119
|
*
|
|
64357
64120
|
* @param request RenewReservedInstancesRequest
|
|
@@ -64362,16 +64125,17 @@ class Client extends openapi_client_1.default {
|
|
|
64362
64125
|
return await this.renewReservedInstancesWithOptions(request, runtime);
|
|
64363
64126
|
}
|
|
64364
64127
|
/**
|
|
64128
|
+
* ## Description
|
|
64365
64129
|
* When you call this operation, take note of the following items:
|
|
64366
|
-
* * You must specify the
|
|
64367
|
-
* > You can use the `DiskId` parameter to replace the operating system of an instance. This feature is
|
|
64130
|
+
* * You must specify the ImageId parameter or the DiskId parameter. You cannot specify both of these parameters at the same time. Otherwise, the call fails and an error message is returned.
|
|
64131
|
+
* > You can use the `DiskId` parameter to replace the operating system of an instance. This feature is available to select users. To use this feature, [submit a ticket](https://workorder-intl.console.aliyun.com/console.htm).
|
|
64368
64132
|
* * The category of the system disk cannot be changed.
|
|
64369
64133
|
* * The billing method of the system disk cannot be changed.
|
|
64370
64134
|
* * The instance must be in the `Stopped` state.
|
|
64371
64135
|
* **
|
|
64372
|
-
* **Note**This item is applicable only to instances in virtual private clouds (VPCs). If the instance is a pay-as-you-go instance and
|
|
64373
|
-
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the instance is locked for security reasons
|
|
64374
|
-
* * You cannot have
|
|
64136
|
+
* **Note**This item is applicable only to instances in virtual private clouds (VPCs). If the instance is a pay-as-you-go instance and economical mode is enabled by default for the instance, you must switch from stop mode to standard mode when you stop the instance. This prevents instance restart failures caused by insufficient resources after the system disk is replaced. For more information, see [StopInstance](~~25501~~).
|
|
64137
|
+
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the instance is locked for security reasons and no operations are allowed on the instance.`` For more information, see [API behavior when an instance is locked for security reasons](~~25695~~).
|
|
64138
|
+
* * You cannot have outstanding payment orders associated with the instance.
|
|
64375
64139
|
* * You can configure the `SystemDisk.Size` parameter to specify the capacity of the new system disk.
|
|
64376
64140
|
* After you call this operation, you can use one of the following methods to check whether the system disk is replaced:
|
|
64377
64141
|
* * Call the [DescribeDisks](~~25514~~) operation to query the state of the new system disk. If the new system disk is in the In_use state, the system disk is replaced.
|
|
@@ -64461,16 +64225,17 @@ class Client extends openapi_client_1.default {
|
|
|
64461
64225
|
return $tea.cast(await this.callApi(params, req, runtime), new ReplaceSystemDiskResponse({}));
|
|
64462
64226
|
}
|
|
64463
64227
|
/**
|
|
64228
|
+
* ## Description
|
|
64464
64229
|
* When you call this operation, take note of the following items:
|
|
64465
|
-
* * You must specify the
|
|
64466
|
-
* > You can use the `DiskId` parameter to replace the operating system of an instance. This feature is
|
|
64230
|
+
* * You must specify the ImageId parameter or the DiskId parameter. You cannot specify both of these parameters at the same time. Otherwise, the call fails and an error message is returned.
|
|
64231
|
+
* > You can use the `DiskId` parameter to replace the operating system of an instance. This feature is available to select users. To use this feature, [submit a ticket](https://workorder-intl.console.aliyun.com/console.htm).
|
|
64467
64232
|
* * The category of the system disk cannot be changed.
|
|
64468
64233
|
* * The billing method of the system disk cannot be changed.
|
|
64469
64234
|
* * The instance must be in the `Stopped` state.
|
|
64470
64235
|
* **
|
|
64471
|
-
* **Note**This item is applicable only to instances in virtual private clouds (VPCs). If the instance is a pay-as-you-go instance and
|
|
64472
|
-
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the instance is locked for security reasons
|
|
64473
|
-
* * You cannot have
|
|
64236
|
+
* **Note**This item is applicable only to instances in virtual private clouds (VPCs). If the instance is a pay-as-you-go instance and economical mode is enabled by default for the instance, you must switch from stop mode to standard mode when you stop the instance. This prevents instance restart failures caused by insufficient resources after the system disk is replaced. For more information, see [StopInstance](~~25501~~).
|
|
64237
|
+
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the instance is locked for security reasons and no operations are allowed on the instance.`` For more information, see [API behavior when an instance is locked for security reasons](~~25695~~).
|
|
64238
|
+
* * You cannot have outstanding payment orders associated with the instance.
|
|
64474
64239
|
* * You can configure the `SystemDisk.Size` parameter to specify the capacity of the new system disk.
|
|
64475
64240
|
* After you call this operation, you can use one of the following methods to check whether the system disk is replaced:
|
|
64476
64241
|
* * Call the [DescribeDisks](~~25514~~) operation to query the state of the new system disk. If the new system disk is in the In_use state, the system disk is replaced.
|
|
@@ -64553,7 +64318,7 @@ class Client extends openapi_client_1.default {
|
|
|
64553
64318
|
* * The disk must be in the In Use (In_Use) or Unattached (Available) state.
|
|
64554
64319
|
* * The Elastic Compute Service (ECS) instance to which the disk is attached must be in the Stopped (Stopped) state. You can call the [StopInstances](~~155372~~) operation to stop an instance.
|
|
64555
64320
|
* * The snapshot specified by the SnapshotId parameter must be created from the disk specified by the DiskId parameter.
|
|
64556
|
-
* * When you call the [DescribeInstances](~~25506~~) operation to query instance information
|
|
64321
|
+
* * When you call the [DescribeInstances](~~25506~~) operation to query instance information and the response contains `{"OperationLocks": {"LockReason" : "security"}}`, then this indicates that the instance is locked for security reasons and no operations can be performed on the instance.
|
|
64557
64322
|
*
|
|
64558
64323
|
* @param request ResetDiskRequest
|
|
64559
64324
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -64604,7 +64369,7 @@ class Client extends openapi_client_1.default {
|
|
|
64604
64369
|
* * The disk must be in the In Use (In_Use) or Unattached (Available) state.
|
|
64605
64370
|
* * The Elastic Compute Service (ECS) instance to which the disk is attached must be in the Stopped (Stopped) state. You can call the [StopInstances](~~155372~~) operation to stop an instance.
|
|
64606
64371
|
* * The snapshot specified by the SnapshotId parameter must be created from the disk specified by the DiskId parameter.
|
|
64607
|
-
* * When you call the [DescribeInstances](~~25506~~) operation to query instance information
|
|
64372
|
+
* * When you call the [DescribeInstances](~~25506~~) operation to query instance information and the response contains `{"OperationLocks": {"LockReason" : "security"}}`, then this indicates that the instance is locked for security reasons and no operations can be performed on the instance.
|
|
64608
64373
|
*
|
|
64609
64374
|
* @param request ResetDiskRequest
|
|
64610
64375
|
* @return ResetDiskResponse
|
|
@@ -64671,12 +64436,11 @@ class Client extends openapi_client_1.default {
|
|
|
64671
64436
|
return await this.resetDisksWithOptions(request, runtime);
|
|
64672
64437
|
}
|
|
64673
64438
|
/**
|
|
64674
|
-
*
|
|
64675
|
-
* > Before you call this operation to resize a disk, you must check the partition format of the disk. You cannot resize a master boot record (MBR) disk to greater than or equal to 2 TiB without data loss. To resize an MBR disk to greater than or equal to 2 TiB in size, we recommend that you create and attach a new data disk with the desired size. Then, you can partition and format the new data disk to GUID partition table (GPT) and copy data from the MBR disk to the new GPT data disk. For more information, see [Resize disks offline](~~44986~~).
|
|
64439
|
+
* > 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 an MBR disk is resized to a size that is larger than 2 TiB, data may be lost. To resize an MBR disk to a size that is larger than 2 TiB, we recommend that you create and attach a new data disk. Then, you can 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 [Resize disks offline for Linux and Windows instances](~~44986~~).
|
|
64676
64440
|
* * You can resize the following categories of disks: basic disks (`cloud`), ultra disks (`cloud_efficiency`), standard SSDs (`cloud_ssd`), and enhanced SSDs (ESSDs) (`cloud_essd`).
|
|
64677
|
-
* *
|
|
64678
|
-
* * The instance to which the disk
|
|
64679
|
-
* * After you resize a disk,
|
|
64441
|
+
* * A disk cannot be resized when a snapshot is being created for the disk.
|
|
64442
|
+
* * The instance to which the disk is attached must be in the **Running** (`Running`) or **Stopped** (`Stopped`) state.
|
|
64443
|
+
* * After you resize a disk, the partitions and file systems are not changed. You must allocate the storage space on the disk after the disk is resized.
|
|
64680
64444
|
* * Disks for which the multi-attach feature is enabled can only be resized offline. Before you resize the disks, make sure that instances to which the disks are attached are in the **Stopped** (`Stopped`) state.
|
|
64681
64445
|
*
|
|
64682
64446
|
* @param request ResizeDiskRequest
|
|
@@ -64727,12 +64491,11 @@ class Client extends openapi_client_1.default {
|
|
|
64727
64491
|
return $tea.cast(await this.callApi(params, req, runtime), new ResizeDiskResponse({}));
|
|
64728
64492
|
}
|
|
64729
64493
|
/**
|
|
64730
|
-
*
|
|
64731
|
-
* > Before you call this operation to resize a disk, you must check the partition format of the disk. You cannot resize a master boot record (MBR) disk to greater than or equal to 2 TiB without data loss. To resize an MBR disk to greater than or equal to 2 TiB in size, we recommend that you create and attach a new data disk with the desired size. Then, you can partition and format the new data disk to GUID partition table (GPT) and copy data from the MBR disk to the new GPT data disk. For more information, see [Resize disks offline](~~44986~~).
|
|
64494
|
+
* > 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 an MBR disk is resized to a size that is larger than 2 TiB, data may be lost. To resize an MBR disk to a size that is larger than 2 TiB, we recommend that you create and attach a new data disk. Then, you can 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 [Resize disks offline for Linux and Windows instances](~~44986~~).
|
|
64732
64495
|
* * You can resize the following categories of disks: basic disks (`cloud`), ultra disks (`cloud_efficiency`), standard SSDs (`cloud_ssd`), and enhanced SSDs (ESSDs) (`cloud_essd`).
|
|
64733
|
-
* *
|
|
64734
|
-
* * The instance to which the disk
|
|
64735
|
-
* * After you resize a disk,
|
|
64496
|
+
* * A disk cannot be resized when a snapshot is being created for the disk.
|
|
64497
|
+
* * The instance to which the disk is attached must be in the **Running** (`Running`) or **Stopped** (`Stopped`) state.
|
|
64498
|
+
* * After you resize a disk, the partitions and file systems are not changed. You must allocate the storage space on the disk after the disk is resized.
|
|
64736
64499
|
* * Disks for which the multi-attach feature is enabled can only be resized offline. Before you resize the disks, make sure that instances to which the disks are attached are in the **Stopped** (`Stopped`) state.
|
|
64737
64500
|
*
|
|
64738
64501
|
* @param request ResizeDiskRequest
|
|
@@ -64743,8 +64506,9 @@ class Client extends openapi_client_1.default {
|
|
|
64743
64506
|
return await this.resizeDiskWithOptions(request, runtime);
|
|
64744
64507
|
}
|
|
64745
64508
|
/**
|
|
64509
|
+
* In the security group-related API documents, inbound traffic is sent by the source and received by the destination.
|
|
64746
64510
|
* When you call this operation, you can use one of the following groups of parameters to specify the security group rules that you want to delete:
|
|
64747
|
-
* *
|
|
64511
|
+
* * The parameter used to specify the IDs of security group rules. We recommend that you specify the IDs of security group rules to delete the rules. - If the ID of a specified security group rule does not exist, an error is reported. - You cannot specify the parameters that are no longer available and the Permissions.N-prefixed counterparts of the parameters at the same time. - Sample request:
|
|
64748
64512
|
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroup
|
|
64749
64513
|
* &SecurityGroupId=sg-bp67acfmxazb4p****
|
|
64750
64514
|
* &SecurityGroupRuleId.1=sgr-bpdfmk****
|
|
@@ -64752,20 +64516,20 @@ class Client extends openapi_client_1.default {
|
|
|
64752
64516
|
* &<Common request parameters>
|
|
64753
64517
|
* * Parameters prefixed with Permissions.N.
|
|
64754
64518
|
* * If no security group rule matches the specified parameters, the call to RevokeSecurityGroup is successful but no security group rule is deleted.
|
|
64755
|
-
* *
|
|
64756
|
-
* * You can
|
|
64757
|
-
* * Parameters used to
|
|
64519
|
+
* * You cannot specify the SecurityGroupRuleId parameter or parameters that are not prefixed with Permissions.N.
|
|
64520
|
+
* * You can delete a specific inbound security group rule by specifying one of the following groups of parameters. However, you cannot delete the security group rule if you specify only one of the parameters in a group.
|
|
64521
|
+
* * Parameters used to delete an inbound security group rule that controls access from a specified CIDR block: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, DestCidrIp (optional), and SourceCidrIp.
|
|
64758
64522
|
* ```
|
|
64759
|
-
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroup&SecurityGroupId=sg-bp67acfmxazb4p****&Permissions.1.SourceCidrIp=10.0.0.0/8&Permissions.1.IpProtocol=TCP&Permissions.1.PortRange=80/80&Permissions.1.NicType=intranet&Permissions.1.Policy=accept&<Common request parameters>
|
|
64760
64523
|
* ```
|
|
64761
|
-
*
|
|
64524
|
+
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroup \\&SecurityGroupId=sg-bp67acfmxazb4p\\*\\*\\*\\* \\&Permissions.1.SourceCidrIp=10.0.0.0/8 \\&Permissions.1.IpProtocol=TCP \\&Permissions.1.PortRange=80/80 \\&Permissions.1.NicType=intranet \\&Permissions.1.Policy=accept &\\<Common request parameters> \\`\\`\\`
|
|
64525
|
+
* * Parameters used to delete an inbound security group rule that controls access from a security group: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, DestCidrIp (optional), and SourceGroupId.
|
|
64762
64526
|
* ```
|
|
64763
|
-
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroup \\&SecurityGroupId=sg-bp67acfmxazb4p****&Permissions.1.SourceGroupId=sg-bp67acfmxa123b****&Permissions.1.IpProtocol=TCP&Permissions.1.PortRange=80/80&Permissions.1.NicType=intranet&Permissions.1.Policy=accept&<Common request parameters>
|
|
64764
64527
|
* ```
|
|
64765
|
-
*
|
|
64528
|
+
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroup \\&SecurityGroupId=sg-bp67acfmxazb4p\\*\\*\\*\\* \\&Permissions.1.SourceGroupId=sg-bp67acfmxa123b\\*\\*\\*\\* \\&Permissions.1.IpProtocol=TCP \\&Permissions.1.PortRange=80/80 \\&Permissions.1.NicType=intranet \\&Permissions.1.Policy=accept &\\<Common request parameters> \\`\\`\\`
|
|
64529
|
+
* * Parameters used to delete an inbound security group rule that controls access from a prefix list: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, DestCidrIp (optional), and SourcePrefixListId.
|
|
64766
64530
|
* ```
|
|
64767
|
-
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroup&SecurityGroupId=sg-bp67acfmxazb4p****&Permissions.1.SourcePrefixListId=pl-x1j1k5ykzqlixdcy****&Permissions.1.IpProtocol=TCP&Permissions.1.PortRange=80/80&Permissions.1.NicType=intranet&Permissions.1.Policy=accept&<Common request parameters>
|
|
64768
64531
|
* ```
|
|
64532
|
+
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroup \\&SecurityGroupId=sg-bp67acfmxazb4p\\*\\*\\*\\* \\&Permissions.1.SourcePrefixListId=pl-x1j1k5ykzqlixdcy\\*\\*\\*\\* \\&Permissions.1.IpProtocol=TCP \\&Permissions.1.PortRange=80/80 \\&Permissions.1.NicType=intranet \\&Permissions.1.Policy=accept &\\<Common request parameters> \\`\\`\\`
|
|
64769
64533
|
*
|
|
64770
64534
|
* @param request RevokeSecurityGroupRequest
|
|
64771
64535
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -64872,8 +64636,9 @@ class Client extends openapi_client_1.default {
|
|
|
64872
64636
|
return $tea.cast(await this.callApi(params, req, runtime), new RevokeSecurityGroupResponse({}));
|
|
64873
64637
|
}
|
|
64874
64638
|
/**
|
|
64639
|
+
* In the security group-related API documents, inbound traffic is sent by the source and received by the destination.
|
|
64875
64640
|
* When you call this operation, you can use one of the following groups of parameters to specify the security group rules that you want to delete:
|
|
64876
|
-
* *
|
|
64641
|
+
* * The parameter used to specify the IDs of security group rules. We recommend that you specify the IDs of security group rules to delete the rules. - If the ID of a specified security group rule does not exist, an error is reported. - You cannot specify the parameters that are no longer available and the Permissions.N-prefixed counterparts of the parameters at the same time. - Sample request:
|
|
64877
64642
|
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroup
|
|
64878
64643
|
* &SecurityGroupId=sg-bp67acfmxazb4p****
|
|
64879
64644
|
* &SecurityGroupRuleId.1=sgr-bpdfmk****
|
|
@@ -64881,20 +64646,20 @@ class Client extends openapi_client_1.default {
|
|
|
64881
64646
|
* &<Common request parameters>
|
|
64882
64647
|
* * Parameters prefixed with Permissions.N.
|
|
64883
64648
|
* * If no security group rule matches the specified parameters, the call to RevokeSecurityGroup is successful but no security group rule is deleted.
|
|
64884
|
-
* *
|
|
64885
|
-
* * You can
|
|
64886
|
-
* * Parameters used to
|
|
64649
|
+
* * You cannot specify the SecurityGroupRuleId parameter or parameters that are not prefixed with Permissions.N.
|
|
64650
|
+
* * You can delete a specific inbound security group rule by specifying one of the following groups of parameters. However, you cannot delete the security group rule if you specify only one of the parameters in a group.
|
|
64651
|
+
* * Parameters used to delete an inbound security group rule that controls access from a specified CIDR block: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, DestCidrIp (optional), and SourceCidrIp.
|
|
64887
64652
|
* ```
|
|
64888
|
-
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroup&SecurityGroupId=sg-bp67acfmxazb4p****&Permissions.1.SourceCidrIp=10.0.0.0/8&Permissions.1.IpProtocol=TCP&Permissions.1.PortRange=80/80&Permissions.1.NicType=intranet&Permissions.1.Policy=accept&<Common request parameters>
|
|
64889
64653
|
* ```
|
|
64890
|
-
*
|
|
64654
|
+
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroup \\&SecurityGroupId=sg-bp67acfmxazb4p\\*\\*\\*\\* \\&Permissions.1.SourceCidrIp=10.0.0.0/8 \\&Permissions.1.IpProtocol=TCP \\&Permissions.1.PortRange=80/80 \\&Permissions.1.NicType=intranet \\&Permissions.1.Policy=accept &\\<Common request parameters> \\`\\`\\`
|
|
64655
|
+
* * Parameters used to delete an inbound security group rule that controls access from a security group: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, DestCidrIp (optional), and SourceGroupId.
|
|
64891
64656
|
* ```
|
|
64892
|
-
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroup \\&SecurityGroupId=sg-bp67acfmxazb4p****&Permissions.1.SourceGroupId=sg-bp67acfmxa123b****&Permissions.1.IpProtocol=TCP&Permissions.1.PortRange=80/80&Permissions.1.NicType=intranet&Permissions.1.Policy=accept&<Common request parameters>
|
|
64893
64657
|
* ```
|
|
64894
|
-
*
|
|
64658
|
+
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroup \\&SecurityGroupId=sg-bp67acfmxazb4p\\*\\*\\*\\* \\&Permissions.1.SourceGroupId=sg-bp67acfmxa123b\\*\\*\\*\\* \\&Permissions.1.IpProtocol=TCP \\&Permissions.1.PortRange=80/80 \\&Permissions.1.NicType=intranet \\&Permissions.1.Policy=accept &\\<Common request parameters> \\`\\`\\`
|
|
64659
|
+
* * Parameters used to delete an inbound security group rule that controls access from a prefix list: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, DestCidrIp (optional), and SourcePrefixListId.
|
|
64895
64660
|
* ```
|
|
64896
|
-
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroup&SecurityGroupId=sg-bp67acfmxazb4p****&Permissions.1.SourcePrefixListId=pl-x1j1k5ykzqlixdcy****&Permissions.1.IpProtocol=TCP&Permissions.1.PortRange=80/80&Permissions.1.NicType=intranet&Permissions.1.Policy=accept&<Common request parameters>
|
|
64897
64661
|
* ```
|
|
64662
|
+
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroup \\&SecurityGroupId=sg-bp67acfmxazb4p\\*\\*\\*\\* \\&Permissions.1.SourcePrefixListId=pl-x1j1k5ykzqlixdcy\\*\\*\\*\\* \\&Permissions.1.IpProtocol=TCP \\&Permissions.1.PortRange=80/80 \\&Permissions.1.NicType=intranet \\&Permissions.1.Policy=accept &\\<Common request parameters> \\`\\`\\`
|
|
64898
64663
|
*
|
|
64899
64664
|
* @param request RevokeSecurityGroupRequest
|
|
64900
64665
|
* @return RevokeSecurityGroupResponse
|
|
@@ -64904,48 +64669,30 @@ class Client extends openapi_client_1.default {
|
|
|
64904
64669
|
return await this.revokeSecurityGroupWithOptions(request, runtime);
|
|
64905
64670
|
}
|
|
64906
64671
|
/**
|
|
64907
|
-
*
|
|
64908
|
-
*
|
|
64909
|
-
*
|
|
64910
|
-
*
|
|
64911
|
-
*
|
|
64912
|
-
*
|
|
64913
|
-
*
|
|
64914
|
-
*
|
|
64915
|
-
*
|
|
64916
|
-
*
|
|
64917
|
-
*
|
|
64918
|
-
*
|
|
64919
|
-
*
|
|
64920
|
-
*
|
|
64921
|
-
*
|
|
64922
|
-
*
|
|
64923
|
-
*
|
|
64924
|
-
*
|
|
64925
|
-
*
|
|
64926
|
-
*
|
|
64927
|
-
*
|
|
64928
|
-
*
|
|
64929
|
-
*
|
|
64930
|
-
*
|
|
64931
|
-
* &Permissions.1.PortRange=22/22
|
|
64932
|
-
* &Permissions.1.NicType=intranet
|
|
64933
|
-
* &Permissions.1.Policy=accept
|
|
64934
|
-
* &<Common request parameters>
|
|
64935
|
-
*
|
|
64936
|
-
* ```
|
|
64937
|
-
* * Parameters used to delete an outbound security group rule that controls access to a prefix list: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, SourceCidrIp (optional), and DestPrefixListId.
|
|
64938
|
-
* ```
|
|
64939
|
-
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroupEgress
|
|
64940
|
-
* &SecurityGroupId=sg-bp67acfmxazb4ph***
|
|
64941
|
-
* &Permissions.1.IpProtocol=TCP
|
|
64942
|
-
* &Permissions.1.DestPrefixListId=pl-x1j1k5ykzqlixdcy****
|
|
64943
|
-
* &Permissions.1.PortRange=-22/22
|
|
64944
|
-
* &Permissions.1.NicType=intranet
|
|
64945
|
-
* &Permissions.1.Policy=accept
|
|
64946
|
-
* &<Common request parameters>
|
|
64947
|
-
*
|
|
64948
|
-
* ```
|
|
64672
|
+
* In the security group-related API documents, outbound traffic is sent by the source and received by the destination.
|
|
64673
|
+
* When you call this operation, you can use one of the following groups of parameters to specify the security group rules that you want to delete:
|
|
64674
|
+
* * The parameter used to specify the IDs of security group rules. We recommend that you specify the IDs of security group rules to delete the rules. - If the ID of a specified security group rule does not exist, an error is reported. - You cannot specify the parameters that are no longer available and the Permissions.N-prefixed counterparts of the parameters at the same time. - Sample request:
|
|
64675
|
+
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroupEgress
|
|
64676
|
+
* &SecurityGroupId=sg-bp67acfmxazb4p****
|
|
64677
|
+
* &SecurityGroupRuleId.1=sgr-bpdfmk****
|
|
64678
|
+
* &SecurityGroupRuleId.2=sgr-bpdfmg****
|
|
64679
|
+
* &<Common request parameters>
|
|
64680
|
+
* * Parameters prefixed with Permissions.N.
|
|
64681
|
+
* * If no security group rule matches the specified parameters, the call to RevokeSecurityGroupEgress is successful but no security group rule is deleted.
|
|
64682
|
+
* * You cannot specify the SecurityGroupRuleId parameter or parameters that are not prefixed with Permissions.N.
|
|
64683
|
+
* * You can delete a specific outbound security group rule by specifying one of the following groups of parameters. However, you cannot delete the security group rule if you specify only one of the parameters in a group.
|
|
64684
|
+
* * Parameters used to delete an outbound security group rule that controls access from a specified CIDR block: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, SourceCidrIp (optional), and DestCidrIp.
|
|
64685
|
+
* ```
|
|
64686
|
+
* ```
|
|
64687
|
+
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroupEgress \\&SecurityGroupId=sg-bp67acfmxazb4ph\\*\\*\\* \\&Permissions.1.IpProtocol=TCP \\&Permissions.1.DestCidrIp=10.0.0.0/8 \\&Permissions.1.PortRange=-22/22 \\&Permissions.1.NicType=intranet \\&Permissions.1.Policy=accept &\\<Common request parameters> \\`\\`\\`
|
|
64688
|
+
* * Parameters used to delete an outbound security group rule that controls access from a security group: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, SourceCidrIp (optional), and DestGroupId.
|
|
64689
|
+
* ```
|
|
64690
|
+
* ```
|
|
64691
|
+
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroupEgress \\&SecurityGroupId=sg-bp67acfmxazb4ph\\*\\*\\* \\&Permissions.1.DestGroupId=sg-bp67acfmxa123b\\*\\*\\*\\* \\&Permissions.1.IpProtocol=TCP \\&Permissions.1.PortRange=22/22 \\&Permissions.1.NicType=intranet \\&Permissions.1.Policy=accept &\\<Common request parameters> \\`\\`\\`
|
|
64692
|
+
* * Parameters used to delete an outbound security group rule that controls access from a prefix list: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, SourceCidrIp (optional), and DestPrefixListId.
|
|
64693
|
+
* ```
|
|
64694
|
+
* ```
|
|
64695
|
+
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroupEgress \\&SecurityGroupId=sg-bp67acfmxazb4ph\\*\\*\\* \\&Permissions.1.IpProtocol=TCP \\&Permissions.1.DestPrefixListId=pl-x1j1k5ykzqlixdcy\\*\\*\\*\\* \\&Permissions.1.PortRange=-22/22 \\&Permissions.1.NicType=intranet \\&Permissions.1.Policy=accept &\\<Common request parameters> \\`\\`\\`
|
|
64949
64696
|
*
|
|
64950
64697
|
* @param request RevokeSecurityGroupEgressRequest
|
|
64951
64698
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -65055,48 +64802,30 @@ class Client extends openapi_client_1.default {
|
|
|
65055
64802
|
return $tea.cast(await this.callApi(params, req, runtime), new RevokeSecurityGroupEgressResponse({}));
|
|
65056
64803
|
}
|
|
65057
64804
|
/**
|
|
65058
|
-
*
|
|
65059
|
-
*
|
|
65060
|
-
*
|
|
65061
|
-
*
|
|
65062
|
-
*
|
|
65063
|
-
*
|
|
65064
|
-
*
|
|
65065
|
-
*
|
|
65066
|
-
*
|
|
65067
|
-
*
|
|
65068
|
-
*
|
|
65069
|
-
*
|
|
65070
|
-
*
|
|
65071
|
-
*
|
|
65072
|
-
*
|
|
65073
|
-
*
|
|
65074
|
-
*
|
|
65075
|
-
*
|
|
65076
|
-
*
|
|
65077
|
-
*
|
|
65078
|
-
*
|
|
65079
|
-
*
|
|
65080
|
-
*
|
|
65081
|
-
*
|
|
65082
|
-
* &Permissions.1.PortRange=22/22
|
|
65083
|
-
* &Permissions.1.NicType=intranet
|
|
65084
|
-
* &Permissions.1.Policy=accept
|
|
65085
|
-
* &<Common request parameters>
|
|
65086
|
-
*
|
|
65087
|
-
* ```
|
|
65088
|
-
* * Parameters used to delete an outbound security group rule that controls access to a prefix list: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, SourceCidrIp (optional), and DestPrefixListId.
|
|
65089
|
-
* ```
|
|
65090
|
-
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroupEgress
|
|
65091
|
-
* &SecurityGroupId=sg-bp67acfmxazb4ph***
|
|
65092
|
-
* &Permissions.1.IpProtocol=TCP
|
|
65093
|
-
* &Permissions.1.DestPrefixListId=pl-x1j1k5ykzqlixdcy****
|
|
65094
|
-
* &Permissions.1.PortRange=-22/22
|
|
65095
|
-
* &Permissions.1.NicType=intranet
|
|
65096
|
-
* &Permissions.1.Policy=accept
|
|
65097
|
-
* &<Common request parameters>
|
|
65098
|
-
*
|
|
65099
|
-
* ```
|
|
64805
|
+
* In the security group-related API documents, outbound traffic is sent by the source and received by the destination.
|
|
64806
|
+
* When you call this operation, you can use one of the following groups of parameters to specify the security group rules that you want to delete:
|
|
64807
|
+
* * The parameter used to specify the IDs of security group rules. We recommend that you specify the IDs of security group rules to delete the rules. - If the ID of a specified security group rule does not exist, an error is reported. - You cannot specify the parameters that are no longer available and the Permissions.N-prefixed counterparts of the parameters at the same time. - Sample request:
|
|
64808
|
+
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroupEgress
|
|
64809
|
+
* &SecurityGroupId=sg-bp67acfmxazb4p****
|
|
64810
|
+
* &SecurityGroupRuleId.1=sgr-bpdfmk****
|
|
64811
|
+
* &SecurityGroupRuleId.2=sgr-bpdfmg****
|
|
64812
|
+
* &<Common request parameters>
|
|
64813
|
+
* * Parameters prefixed with Permissions.N.
|
|
64814
|
+
* * If no security group rule matches the specified parameters, the call to RevokeSecurityGroupEgress is successful but no security group rule is deleted.
|
|
64815
|
+
* * You cannot specify the SecurityGroupRuleId parameter or parameters that are not prefixed with Permissions.N.
|
|
64816
|
+
* * You can delete a specific outbound security group rule by specifying one of the following groups of parameters. However, you cannot delete the security group rule if you specify only one of the parameters in a group.
|
|
64817
|
+
* * Parameters used to delete an outbound security group rule that controls access from a specified CIDR block: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, SourceCidrIp (optional), and DestCidrIp.
|
|
64818
|
+
* ```
|
|
64819
|
+
* ```
|
|
64820
|
+
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroupEgress \\&SecurityGroupId=sg-bp67acfmxazb4ph\\*\\*\\* \\&Permissions.1.IpProtocol=TCP \\&Permissions.1.DestCidrIp=10.0.0.0/8 \\&Permissions.1.PortRange=-22/22 \\&Permissions.1.NicType=intranet \\&Permissions.1.Policy=accept &\\<Common request parameters> \\`\\`\\`
|
|
64821
|
+
* * Parameters used to delete an outbound security group rule that controls access from a security group: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, SourceCidrIp (optional), and DestGroupId.
|
|
64822
|
+
* ```
|
|
64823
|
+
* ```
|
|
64824
|
+
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroupEgress \\&SecurityGroupId=sg-bp67acfmxazb4ph\\*\\*\\* \\&Permissions.1.DestGroupId=sg-bp67acfmxa123b\\*\\*\\*\\* \\&Permissions.1.IpProtocol=TCP \\&Permissions.1.PortRange=22/22 \\&Permissions.1.NicType=intranet \\&Permissions.1.Policy=accept &\\<Common request parameters> \\`\\`\\`
|
|
64825
|
+
* * Parameters used to delete an outbound security group rule that controls access from a prefix list: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, SourceCidrIp (optional), and DestPrefixListId.
|
|
64826
|
+
* ```
|
|
64827
|
+
* ```
|
|
64828
|
+
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroupEgress \\&SecurityGroupId=sg-bp67acfmxazb4ph\\*\\*\\* \\&Permissions.1.IpProtocol=TCP \\&Permissions.1.DestPrefixListId=pl-x1j1k5ykzqlixdcy\\*\\*\\*\\* \\&Permissions.1.PortRange=-22/22 \\&Permissions.1.NicType=intranet \\&Permissions.1.Policy=accept &\\<Common request parameters> \\`\\`\\`
|
|
65100
64829
|
*
|
|
65101
64830
|
* @param request RevokeSecurityGroupEgressRequest
|
|
65102
64831
|
* @return RevokeSecurityGroupEgressResponse
|
|
@@ -65106,22 +64835,7 @@ class Client extends openapi_client_1.default {
|
|
|
65106
64835
|
return await this.revokeSecurityGroupEgressWithOptions(request, runtime);
|
|
65107
64836
|
}
|
|
65108
64837
|
/**
|
|
65109
|
-
*
|
|
65110
|
-
* When you call this operation, take note of the following items:
|
|
65111
|
-
* * The instances on which you want to run a command must reside in a virtual private cloud (VPC).
|
|
65112
|
-
* * The instances must be in the `Running` state.
|
|
65113
|
-
* * The Cloud Assistant client must be installed on the instances. For more information, see [InstallCloudAssistant](~~85916~~).
|
|
65114
|
-
* * Before you run a PowerShell command on a Windows instance, make sure that the PowerShell module is installed on the instance.
|
|
65115
|
-
* * If you want to specify a schedule by using a cron expression, 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 instance. Make sure that the time or time zone of the instance meets your business requirements. For information about time zones, see [Configure the NTP service for ECS instances that run CentOS 6](~~92803~~) or [Configure the NTP service for Windows instances](~~51890~~).
|
|
65116
|
-
* * You can specify the `TimeOut` parameter to specify a timeout period for executions of the command on instances. If an execution times out, the Cloud Assistant client forcibly terminates the command process.
|
|
65117
|
-
* * If the one-time execution of a command times out, the execution state of the command changes to Failed. You can call the [InvokeRecordStatus](~~64845~~) operation to query the command execution state.
|
|
65118
|
-
* * For a scheduled task, the timeout period takes effect on each execution of the command. When a command execution times out, the subsequent executions of the command are not affected. If a scheduled execution of a command times out, the execution state of the command changes to Failed. You can call the [InvokeRecordStatus](~~64845~~) operation to query the command execution state.
|
|
65119
|
-
* To ensure that scheduled tasks can run as expected, make sure that the version of the Cloud Assistant client is not earlier than the following versions. A scheduled task can run a command at a specific interval, only once at a specific time, or at specific times based on a cron expression that includes a specific year or time zone. If the `ClientNeedUpgrade` error code is returned, you must update the Cloud Assistant client to the latest version. For more information, see [Upgrade or disable upgrades for the Cloud Assistant client](~~134383~~).
|
|
65120
|
-
* - Linux: 2.2.3.282
|
|
65121
|
-
* - Windows: 2.1.3.282
|
|
65122
|
-
* * Command executions may fail due to instance status exceptions, network exceptions, or exceptions on the Cloud Assistant client. If an execution fails, no execution information is generated.
|
|
65123
|
-
* * If you set the `EnableParameter` parameter to true, the custom parameter feature is enabled. If you specify the `CommandContent` parameter, you can specify custom parameters in the `{{parameter}}` format. After the command is run, the key-value pairs of the custom parameters are passed in.
|
|
65124
|
-
* * You can retain up to 500 to 10,000 Cloud Assistant commands in each region based on your ECS usage. You can call the [DescribeAccountAttribute](~~73772~~) operation to query quotas.
|
|
64838
|
+
* /home/
|
|
65125
64839
|
*
|
|
65126
64840
|
* @param tmpReq RunCommandRequest
|
|
65127
64841
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -65135,6 +64849,9 @@ class Client extends openapi_client_1.default {
|
|
|
65135
64849
|
request.parametersShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.parameters, "Parameters", "json");
|
|
65136
64850
|
}
|
|
65137
64851
|
let query = {};
|
|
64852
|
+
if (!tea_util_1.default.isUnset(request.clientToken)) {
|
|
64853
|
+
query["ClientToken"] = request.clientToken;
|
|
64854
|
+
}
|
|
65138
64855
|
if (!tea_util_1.default.isUnset(request.commandContent)) {
|
|
65139
64856
|
query["CommandContent"] = request.commandContent;
|
|
65140
64857
|
}
|
|
@@ -65230,22 +64947,7 @@ class Client extends openapi_client_1.default {
|
|
|
65230
64947
|
return $tea.cast(await this.callApi(params, req, runtime), new RunCommandResponse({}));
|
|
65231
64948
|
}
|
|
65232
64949
|
/**
|
|
65233
|
-
*
|
|
65234
|
-
* When you call this operation, take note of the following items:
|
|
65235
|
-
* * The instances on which you want to run a command must reside in a virtual private cloud (VPC).
|
|
65236
|
-
* * The instances must be in the `Running` state.
|
|
65237
|
-
* * The Cloud Assistant client must be installed on the instances. For more information, see [InstallCloudAssistant](~~85916~~).
|
|
65238
|
-
* * Before you run a PowerShell command on a Windows instance, make sure that the PowerShell module is installed on the instance.
|
|
65239
|
-
* * If you want to specify a schedule by using a cron expression, 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 instance. Make sure that the time or time zone of the instance meets your business requirements. For information about time zones, see [Configure the NTP service for ECS instances that run CentOS 6](~~92803~~) or [Configure the NTP service for Windows instances](~~51890~~).
|
|
65240
|
-
* * You can specify the `TimeOut` parameter to specify a timeout period for executions of the command on instances. If an execution times out, the Cloud Assistant client forcibly terminates the command process.
|
|
65241
|
-
* * If the one-time execution of a command times out, the execution state of the command changes to Failed. You can call the [InvokeRecordStatus](~~64845~~) operation to query the command execution state.
|
|
65242
|
-
* * For a scheduled task, the timeout period takes effect on each execution of the command. When a command execution times out, the subsequent executions of the command are not affected. If a scheduled execution of a command times out, the execution state of the command changes to Failed. You can call the [InvokeRecordStatus](~~64845~~) operation to query the command execution state.
|
|
65243
|
-
* To ensure that scheduled tasks can run as expected, make sure that the version of the Cloud Assistant client is not earlier than the following versions. A scheduled task can run a command at a specific interval, only once at a specific time, or at specific times based on a cron expression that includes a specific year or time zone. If the `ClientNeedUpgrade` error code is returned, you must update the Cloud Assistant client to the latest version. For more information, see [Upgrade or disable upgrades for the Cloud Assistant client](~~134383~~).
|
|
65244
|
-
* - Linux: 2.2.3.282
|
|
65245
|
-
* - Windows: 2.1.3.282
|
|
65246
|
-
* * Command executions may fail due to instance status exceptions, network exceptions, or exceptions on the Cloud Assistant client. If an execution fails, no execution information is generated.
|
|
65247
|
-
* * If you set the `EnableParameter` parameter to true, the custom parameter feature is enabled. If you specify the `CommandContent` parameter, you can specify custom parameters in the `{{parameter}}` format. After the command is run, the key-value pairs of the custom parameters are passed in.
|
|
65248
|
-
* * You can retain up to 500 to 10,000 Cloud Assistant commands in each region based on your ECS usage. You can call the [DescribeAccountAttribute](~~73772~~) operation to query quotas.
|
|
64950
|
+
* /home/
|
|
65249
64951
|
*
|
|
65250
64952
|
* @param request RunCommandRequest
|
|
65251
64953
|
* @return RunCommandResponse
|
|
@@ -65720,8 +65422,8 @@ class Client extends openapi_client_1.default {
|
|
|
65720
65422
|
return await this.startElasticityAssuranceWithOptions(request, runtime);
|
|
65721
65423
|
}
|
|
65722
65424
|
/**
|
|
65723
|
-
* *
|
|
65724
|
-
* *
|
|
65425
|
+
* * After you create an image template, you can call the StartImagePipelineExecution operation to create a pipeline task. The system creates, copies, and shares images based on the parameters configured in the image template.
|
|
65426
|
+
* * You can execute only one pipeline task for each image template.
|
|
65725
65427
|
*
|
|
65726
65428
|
* @param request StartImagePipelineExecutionRequest
|
|
65727
65429
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -65774,8 +65476,8 @@ class Client extends openapi_client_1.default {
|
|
|
65774
65476
|
return $tea.cast(await this.callApi(params, req, runtime), new StartImagePipelineExecutionResponse({}));
|
|
65775
65477
|
}
|
|
65776
65478
|
/**
|
|
65777
|
-
* *
|
|
65778
|
-
* *
|
|
65479
|
+
* * After you create an image template, you can call the StartImagePipelineExecution operation to create a pipeline task. The system creates, copies, and shares images based on the parameters configured in the image template.
|
|
65480
|
+
* * You can execute only one pipeline task for each image template.
|
|
65779
65481
|
*
|
|
65780
65482
|
* @param request StartImagePipelineExecutionRequest
|
|
65781
65483
|
* @return StartImagePipelineExecutionResponse
|
|
@@ -65785,10 +65487,9 @@ class Client extends openapi_client_1.default {
|
|
|
65785
65487
|
return await this.startImagePipelineExecutionWithOptions(request, runtime);
|
|
65786
65488
|
}
|
|
65787
65489
|
/**
|
|
65788
|
-
* ## Usage notes
|
|
65789
65490
|
* When you call this operation, take note of the following items:
|
|
65790
|
-
* *
|
|
65791
|
-
* * If
|
|
65491
|
+
* * Before the instances are started, they must first be in the `Stopped` state.****
|
|
65492
|
+
* * If `OperationLocks` in the response to the query for the instance information contains `"LockReason" : "security"`, the instance is [locked for security reasons](~~25695~~) and cannot be started.
|
|
65792
65493
|
*
|
|
65793
65494
|
* @param request StartInstanceRequest
|
|
65794
65495
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -65835,10 +65536,9 @@ class Client extends openapi_client_1.default {
|
|
|
65835
65536
|
return $tea.cast(await this.callApi(params, req, runtime), new StartInstanceResponse({}));
|
|
65836
65537
|
}
|
|
65837
65538
|
/**
|
|
65838
|
-
* ## Usage notes
|
|
65839
65539
|
* When you call this operation, take note of the following items:
|
|
65840
|
-
* *
|
|
65841
|
-
* * If
|
|
65540
|
+
* * Before the instances are started, they must first be in the `Stopped` state.****
|
|
65541
|
+
* * If `OperationLocks` in the response to the query for the instance information contains `"LockReason" : "security"`, the instance is [locked for security reasons](~~25695~~) and cannot be started.
|
|
65842
65542
|
*
|
|
65843
65543
|
* @param request StartInstanceRequest
|
|
65844
65544
|
* @return StartInstanceResponse
|
|
@@ -65849,7 +65549,7 @@ class Client extends openapi_client_1.default {
|
|
|
65849
65549
|
}
|
|
65850
65550
|
/**
|
|
65851
65551
|
* When you call this operation, take note of the following items:
|
|
65852
|
-
* * The ECS instances that you want to start must be in the **Stopped**
|
|
65552
|
+
* * The ECS instances that you want to start must be in the **Stopped** state.``
|
|
65853
65553
|
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the ECS instance is locked to ensure security. No operations are allowed on the ECS instance.
|
|
65854
65554
|
* * You can start multiple ECS instances at the same time and use the `BatchOptimization` parameter to specify the batch operation mode.
|
|
65855
65555
|
*
|
|
@@ -65902,7 +65602,7 @@ class Client extends openapi_client_1.default {
|
|
|
65902
65602
|
}
|
|
65903
65603
|
/**
|
|
65904
65604
|
* When you call this operation, take note of the following items:
|
|
65905
|
-
* * The ECS instances that you want to start must be in the **Stopped**
|
|
65605
|
+
* * The ECS instances that you want to start must be in the **Stopped** state.``
|
|
65906
65606
|
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the ECS instance is locked to ensure security. No operations are allowed on the ECS instance.
|
|
65907
65607
|
* * You can start multiple ECS instances at the same time and use the `BatchOptimization` parameter to specify the batch operation mode.
|
|
65908
65608
|
*
|
|
@@ -66058,8 +65758,8 @@ class Client extends openapi_client_1.default {
|
|
|
66058
65758
|
return await this.stopInstanceWithOptions(request, runtime);
|
|
66059
65759
|
}
|
|
66060
65760
|
/**
|
|
66061
|
-
* * If
|
|
66062
|
-
* *
|
|
65761
|
+
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query the information of an instance, this indicates that the instance is locked for security reasons and all operations on it are prohibited.
|
|
65762
|
+
* * Once economy mode is enabled for pay-as-you-go instances, you can then switch `StoppedMode` to KeepCharging, which enables standard mode for the instances. In standard mode, you continue to be charged for the instances are stopped, and the resources of the instance type as well as public IP addresses of the instances are retained.
|
|
66063
65763
|
* * Batch operations are supported. You can use the `BatchOptimization` parameter to specify the batch operation mode.
|
|
66064
65764
|
*
|
|
66065
65765
|
* @param request StopInstancesRequest
|
|
@@ -66116,8 +65816,8 @@ class Client extends openapi_client_1.default {
|
|
|
66116
65816
|
return $tea.cast(await this.callApi(params, req, runtime), new StopInstancesResponse({}));
|
|
66117
65817
|
}
|
|
66118
65818
|
/**
|
|
66119
|
-
* * If
|
|
66120
|
-
* *
|
|
65819
|
+
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query the information of an instance, this indicates that the instance is locked for security reasons and all operations on it are prohibited.
|
|
65820
|
+
* * Once economy mode is enabled for pay-as-you-go instances, you can then switch `StoppedMode` to KeepCharging, which enables standard mode for the instances. In standard mode, you continue to be charged for the instances are stopped, and the resources of the instance type as well as public IP addresses of the instances are retained.
|
|
66121
65821
|
* * Batch operations are supported. You can use the `BatchOptimization` parameter to specify the batch operation mode.
|
|
66122
65822
|
*
|
|
66123
65823
|
* @param request StopInstancesRequest
|