@alicloud/ecs20140526 7.8.6 → 7.9.0
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 +843 -846
- package/dist/client.js +872 -842
- package/dist/client.js.map +1 -1
- package/dist/models/AcceptInquiredSystemEventRequest.d.ts +3 -3
- package/dist/models/AssignIpv6addressesRequest.d.ts +7 -7
- package/dist/models/AssignIpv6addressesResponseBody.d.ts +1 -1
- package/dist/models/AssignPrivateIpAddressesRequest.d.ts +13 -16
- package/dist/models/AssignPrivateIpAddressesRequest.js.map +1 -1
- package/dist/models/AssignPrivateIpAddressesResponseBody.d.ts +2 -2
- package/dist/models/AttachNetworkInterfaceRequest.d.ts +6 -7
- package/dist/models/AttachNetworkInterfaceRequest.js.map +1 -1
- package/dist/models/AuthorizeSecurityGroupEgressRequest.d.ts +73 -100
- package/dist/models/AuthorizeSecurityGroupEgressRequest.js.map +1 -1
- package/dist/models/AuthorizeSecurityGroupRequest.d.ts +70 -91
- package/dist/models/AuthorizeSecurityGroupRequest.js.map +1 -1
- package/dist/models/AuthorizeSecurityGroupResponseBody.d.ts +1 -1
- package/dist/models/CancelImagePipelineExecutionRequest.d.ts +2 -2
- package/dist/models/CreateActivationRequest.d.ts +17 -16
- package/dist/models/CreateActivationRequest.js.map +1 -1
- package/dist/models/CreateActivationResponseBody.d.ts +3 -3
- package/dist/models/CreateCommandRequest.d.ts +52 -73
- package/dist/models/CreateCommandRequest.js.map +1 -1
- package/dist/models/CreateCommandResponseBody.d.ts +2 -2
- package/dist/models/CreateDiskRequest.d.ts +57 -59
- package/dist/models/CreateDiskRequest.js.map +1 -1
- package/dist/models/CreateDiskResponseBody.d.ts +3 -3
- package/dist/models/CreateHpcClusterRequest.d.ts +5 -5
- package/dist/models/CreateHpcClusterResponseBody.d.ts +2 -2
- package/dist/models/CreateImageComponentRequest.d.ts +7 -7
- package/dist/models/CreateImageComponentResponseBody.d.ts +1 -1
- package/dist/models/CreateInstanceRequest.d.ts +184 -274
- package/dist/models/CreateInstanceRequest.js.map +1 -1
- package/dist/models/CreateInstanceResponseBody.d.ts +2 -2
- package/dist/models/CreateLaunchTemplateVersionRequest.d.ts +215 -244
- package/dist/models/CreateLaunchTemplateVersionRequest.js.map +1 -1
- package/dist/models/CreateLaunchTemplateVersionResponseBody.d.ts +2 -2
- package/dist/models/CreateSecurityGroupRequest.d.ts +13 -16
- package/dist/models/CreateSecurityGroupRequest.js.map +1 -1
- package/dist/models/CreateSecurityGroupResponseBody.d.ts +1 -1
- package/dist/models/DeleteHpcClusterRequest.d.ts +2 -2
- package/dist/models/DeleteImagePipelineRequest.d.ts +1 -1
- package/dist/models/DescribeAutoProvisioningGroupInstancesRequest.d.ts +5 -5
- package/dist/models/DescribeAutoProvisioningGroupInstancesResponseBody.d.ts +1 -1
- package/dist/models/DescribeAutoSnapshotPolicyExRequest.d.ts +11 -11
- package/dist/models/DescribeAutoSnapshotPolicyExResponseBody.d.ts +3 -3
- package/dist/models/DescribeAvailableResourceRequest.d.ts +50 -84
- package/dist/models/DescribeAvailableResourceRequest.js.map +1 -1
- package/dist/models/DescribeAvailableResourceResponseBody.d.ts +0 -4
- package/dist/models/DescribeAvailableResourceResponseBody.js.map +1 -1
- package/dist/models/DescribeDisksRequest.d.ts +40 -40
- package/dist/models/DescribeDisksResponseBody.d.ts +3 -3
- package/dist/models/DescribeImageComponentsRequest.d.ts +3 -3
- package/dist/models/DescribeImageComponentsResponseBody.d.ts +1 -1
- package/dist/models/DescribeInstanceAttributeRequest.d.ts +1 -1
- package/dist/models/DescribeInstanceAttributeResponseBody.d.ts +64 -96
- package/dist/models/DescribeInstanceAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeInstanceHistoryEventsRequest.d.ts +50 -85
- package/dist/models/DescribeInstanceHistoryEventsRequest.js.map +1 -1
- package/dist/models/DescribeInstanceHistoryEventsResponseBody.d.ts +16 -18
- package/dist/models/DescribeInstanceHistoryEventsResponseBody.js +2 -0
- package/dist/models/DescribeInstanceHistoryEventsResponseBody.js.map +1 -1
- package/dist/models/DescribeInstanceTopologyResponseBody.d.ts +14 -0
- package/dist/models/DescribeInstanceTopologyResponseBody.js +28 -1
- package/dist/models/DescribeInstanceTopologyResponseBody.js.map +1 -1
- package/dist/models/DescribeInstancesRequest.d.ts +54 -68
- package/dist/models/DescribeInstancesRequest.js.map +1 -1
- package/dist/models/DescribeInstancesResponseBody.d.ts +5 -5
- package/dist/models/DescribeInvocationResultsRequest.d.ts +52 -69
- package/dist/models/DescribeInvocationResultsRequest.js.map +1 -1
- package/dist/models/DescribeInvocationResultsResponseBody.d.ts +6 -52
- package/dist/models/DescribeInvocationResultsResponseBody.js.map +1 -1
- package/dist/models/DescribeInvocationsRequest.d.ts +49 -76
- package/dist/models/DescribeInvocationsRequest.js.map +1 -1
- package/dist/models/DescribeInvocationsResponseBody.d.ts +5 -5
- package/dist/models/DescribeLaunchTemplateVersionsRequest.d.ts +14 -14
- package/dist/models/DescribeLaunchTemplateVersionsResponseBody.d.ts +3 -3
- package/dist/models/DescribeNetworkInterfacePermissionsRequest.d.ts +4 -4
- package/dist/models/DescribePriceRequest.d.ts +158 -242
- package/dist/models/DescribePriceRequest.js.map +1 -1
- package/dist/models/DescribePriceResponseBody.d.ts +15 -15
- package/dist/models/DescribeRecommendInstanceTypeRequest.d.ts +45 -57
- package/dist/models/DescribeRecommendInstanceTypeRequest.js.map +1 -1
- package/dist/models/DescribeResourcesModificationRequest.d.ts +26 -37
- package/dist/models/DescribeResourcesModificationRequest.js.map +1 -1
- package/dist/models/DescribeSecurityGroupAttributeRequest.d.ts +17 -28
- package/dist/models/DescribeSecurityGroupAttributeRequest.js.map +1 -1
- package/dist/models/DescribeSecurityGroupAttributeResponseBody.d.ts +10 -9
- package/dist/models/DescribeSecurityGroupAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeSecurityGroupsRequest.d.ts +20 -20
- package/dist/models/DescribeSecurityGroupsResponseBody.d.ts +4 -4
- package/dist/models/DescribeSendFileResultsRequest.d.ts +21 -25
- package/dist/models/DescribeSendFileResultsRequest.js.map +1 -1
- package/dist/models/DescribeSendFileResultsResponseBody.d.ts +3 -3
- package/dist/models/DescribeSnapshotsRequest.d.ts +44 -59
- package/dist/models/DescribeSnapshotsRequest.js.map +1 -1
- package/dist/models/DescribeSnapshotsResponseBody.d.ts +4 -8
- package/dist/models/DescribeSnapshotsResponseBody.js.map +1 -1
- package/dist/models/DescribeSpotPriceHistoryRequest.d.ts +22 -28
- package/dist/models/DescribeSpotPriceHistoryRequest.js.map +1 -1
- package/dist/models/DescribeSpotPriceHistoryResponseBody.d.ts +7 -3
- package/dist/models/DescribeSpotPriceHistoryResponseBody.js.map +1 -1
- package/dist/models/DescribeTerminalSessionsRequest.d.ts +3 -3
- package/dist/models/DescribeTerminalSessionsResponseBody.d.ts +1 -1
- package/dist/models/DescribeZonesRequest.d.ts +18 -28
- package/dist/models/DescribeZonesRequest.js.map +1 -1
- package/dist/models/DescribeZonesResponseBody.d.ts +1 -1
- package/dist/models/GetInstanceConsoleOutputRequest.d.ts +1 -1
- package/dist/models/GetInstanceConsoleOutputResponseBody.d.ts +2 -2
- package/dist/models/ModifyHpcClusterAttributeRequest.d.ts +1 -1
- package/dist/models/ModifyInstanceAttributeRequest.d.ts +78 -106
- package/dist/models/ModifyInstanceAttributeRequest.js.map +1 -1
- package/dist/models/ModifyInstanceNetworkSpecRequest.d.ts +14 -14
- package/dist/models/ModifyInstanceNetworkSpecResponseBody.d.ts +1 -1
- package/dist/models/ModifyInstanceSpecRequest.d.ts +16 -16
- package/dist/models/ModifyPlanMaintenanceWindowRequest.d.ts +4 -4
- package/dist/models/ModifyPrepayInstanceSpecRequest.d.ts +28 -46
- package/dist/models/ModifyPrepayInstanceSpecRequest.js.map +1 -1
- package/dist/models/ModifyPrepayInstanceSpecResponseBody.d.ts +2 -2
- package/dist/models/ModifySecurityGroupEgressRuleRequest.d.ts +47 -46
- package/dist/models/ModifySecurityGroupEgressRuleRequest.js.map +1 -1
- package/dist/models/ModifySecurityGroupRuleRequest.d.ts +27 -24
- package/dist/models/ModifySecurityGroupRuleRequest.js.map +1 -1
- package/dist/models/ModifySystemEventAttributeRequest.d.ts +45 -0
- package/dist/models/ModifySystemEventAttributeRequest.js +64 -0
- package/dist/models/ModifySystemEventAttributeRequest.js.map +1 -0
- package/dist/models/ModifySystemEventAttributeResponse.d.ts +19 -0
- package/dist/models/ModifySystemEventAttributeResponse.js +69 -0
- package/dist/models/ModifySystemEventAttributeResponse.js.map +1 -0
- package/dist/models/ModifySystemEventAttributeResponseBody.d.ts +18 -0
- package/dist/models/ModifySystemEventAttributeResponseBody.js +58 -0
- package/dist/models/ModifySystemEventAttributeResponseBody.js.map +1 -0
- package/dist/models/RenewElasticityAssurancesRequest.d.ts +28 -24
- package/dist/models/RenewElasticityAssurancesRequest.js.map +1 -1
- package/dist/models/RenewElasticityAssurancesResponseBody.d.ts +1 -1
- package/dist/models/RevokeSecurityGroupEgressRequest.d.ts +35 -37
- package/dist/models/RevokeSecurityGroupEgressRequest.js.map +1 -1
- package/dist/models/RevokeSecurityGroupRequest.d.ts +71 -89
- package/dist/models/RevokeSecurityGroupRequest.js.map +1 -1
- package/dist/models/StartTerminalSessionRequest.d.ts +24 -32
- package/dist/models/StartTerminalSessionRequest.js.map +1 -1
- package/dist/models/StartTerminalSessionResponseBody.d.ts +2 -2
- package/dist/models/StartTerminalSessionShrinkRequest.d.ts +16 -18
- package/dist/models/StartTerminalSessionShrinkRequest.js.map +1 -1
- package/dist/models/StopInstanceRequest.d.ts +20 -27
- package/dist/models/StopInstanceRequest.js.map +1 -1
- package/dist/models/StopInstancesRequest.d.ts +24 -35
- package/dist/models/StopInstancesRequest.js.map +1 -1
- package/dist/models/UnassignIpv6addressesRequest.d.ts +3 -3
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +45 -37
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +878 -842
- package/src/models/AcceptInquiredSystemEventRequest.ts +3 -3
- package/src/models/AssignIpv6addressesRequest.ts +7 -7
- package/src/models/AssignIpv6addressesResponseBody.ts +1 -1
- package/src/models/AssignPrivateIpAddressesRequest.ts +13 -16
- package/src/models/AssignPrivateIpAddressesResponseBody.ts +2 -2
- package/src/models/AttachNetworkInterfaceRequest.ts +6 -7
- package/src/models/AuthorizeSecurityGroupEgressRequest.ts +79 -106
- package/src/models/AuthorizeSecurityGroupRequest.ts +70 -91
- package/src/models/AuthorizeSecurityGroupResponseBody.ts +1 -1
- package/src/models/CancelImagePipelineExecutionRequest.ts +2 -2
- package/src/models/CreateActivationRequest.ts +17 -16
- package/src/models/CreateActivationResponseBody.ts +3 -3
- package/src/models/CreateCommandRequest.ts +52 -73
- package/src/models/CreateCommandResponseBody.ts +2 -2
- package/src/models/CreateDiskRequest.ts +57 -59
- package/src/models/CreateDiskResponseBody.ts +3 -3
- package/src/models/CreateHpcClusterRequest.ts +5 -5
- package/src/models/CreateHpcClusterResponseBody.ts +2 -2
- package/src/models/CreateImageComponentRequest.ts +7 -7
- package/src/models/CreateImageComponentResponseBody.ts +1 -1
- package/src/models/CreateInstanceRequest.ts +185 -275
- package/src/models/CreateInstanceResponseBody.ts +2 -2
- package/src/models/CreateLaunchTemplateVersionRequest.ts +215 -244
- package/src/models/CreateLaunchTemplateVersionResponseBody.ts +2 -2
- package/src/models/CreateSecurityGroupRequest.ts +13 -16
- package/src/models/CreateSecurityGroupResponseBody.ts +1 -1
- package/src/models/DeleteHpcClusterRequest.ts +2 -2
- package/src/models/DeleteImagePipelineRequest.ts +1 -1
- package/src/models/DescribeAutoProvisioningGroupInstancesRequest.ts +5 -5
- package/src/models/DescribeAutoProvisioningGroupInstancesResponseBody.ts +1 -1
- package/src/models/DescribeAutoSnapshotPolicyExRequest.ts +11 -11
- package/src/models/DescribeAutoSnapshotPolicyExResponseBody.ts +3 -3
- package/src/models/DescribeAvailableResourceRequest.ts +62 -96
- package/src/models/DescribeAvailableResourceResponseBody.ts +0 -4
- package/src/models/DescribeDisksRequest.ts +40 -40
- package/src/models/DescribeDisksResponseBody.ts +3 -3
- package/src/models/DescribeImageComponentsRequest.ts +3 -3
- package/src/models/DescribeImageComponentsResponseBody.ts +1 -1
- package/src/models/DescribeInstanceAttributeRequest.ts +1 -1
- package/src/models/DescribeInstanceAttributeResponseBody.ts +66 -98
- package/src/models/DescribeInstanceHistoryEventsRequest.ts +50 -85
- package/src/models/DescribeInstanceHistoryEventsResponseBody.ts +18 -18
- package/src/models/DescribeInstanceTopologyResponseBody.ts +32 -0
- package/src/models/DescribeInstancesRequest.ts +57 -71
- package/src/models/DescribeInstancesResponseBody.ts +5 -5
- package/src/models/DescribeInvocationResultsRequest.ts +52 -69
- package/src/models/DescribeInvocationResultsResponseBody.ts +6 -52
- package/src/models/DescribeInvocationsRequest.ts +50 -77
- package/src/models/DescribeInvocationsResponseBody.ts +5 -5
- package/src/models/DescribeLaunchTemplateVersionsRequest.ts +14 -14
- package/src/models/DescribeLaunchTemplateVersionsResponseBody.ts +3 -3
- package/src/models/DescribeNetworkInterfacePermissionsRequest.ts +4 -4
- package/src/models/DescribePriceRequest.ts +160 -244
- package/src/models/DescribePriceResponseBody.ts +15 -15
- package/src/models/DescribeRecommendInstanceTypeRequest.ts +45 -57
- package/src/models/DescribeResourcesModificationRequest.ts +30 -41
- package/src/models/DescribeSecurityGroupAttributeRequest.ts +18 -29
- package/src/models/DescribeSecurityGroupAttributeResponseBody.ts +11 -10
- package/src/models/DescribeSecurityGroupsRequest.ts +21 -21
- package/src/models/DescribeSecurityGroupsResponseBody.ts +4 -4
- package/src/models/DescribeSendFileResultsRequest.ts +21 -25
- package/src/models/DescribeSendFileResultsResponseBody.ts +3 -3
- package/src/models/DescribeSnapshotsRequest.ts +48 -63
- package/src/models/DescribeSnapshotsResponseBody.ts +4 -8
- package/src/models/DescribeSpotPriceHistoryRequest.ts +22 -28
- package/src/models/DescribeSpotPriceHistoryResponseBody.ts +7 -3
- package/src/models/DescribeTerminalSessionsRequest.ts +3 -3
- package/src/models/DescribeTerminalSessionsResponseBody.ts +1 -1
- package/src/models/DescribeZonesRequest.ts +20 -30
- package/src/models/DescribeZonesResponseBody.ts +1 -1
- package/src/models/GetInstanceConsoleOutputRequest.ts +1 -1
- package/src/models/GetInstanceConsoleOutputResponseBody.ts +2 -2
- package/src/models/ModifyHpcClusterAttributeRequest.ts +1 -1
- package/src/models/ModifyInstanceAttributeRequest.ts +80 -108
- package/src/models/ModifyInstanceNetworkSpecRequest.ts +14 -14
- package/src/models/ModifyInstanceNetworkSpecResponseBody.ts +1 -1
- package/src/models/ModifyInstanceSpecRequest.ts +16 -16
- package/src/models/ModifyPlanMaintenanceWindowRequest.ts +4 -4
- package/src/models/ModifyPrepayInstanceSpecRequest.ts +28 -46
- package/src/models/ModifyPrepayInstanceSpecResponseBody.ts +2 -2
- package/src/models/ModifySecurityGroupEgressRuleRequest.ts +47 -46
- package/src/models/ModifySecurityGroupRuleRequest.ts +27 -24
- package/src/models/ModifySystemEventAttributeRequest.ts +64 -0
- package/src/models/ModifySystemEventAttributeResponse.ts +40 -0
- package/src/models/ModifySystemEventAttributeResponseBody.ts +31 -0
- package/src/models/RenewElasticityAssurancesRequest.ts +28 -24
- package/src/models/RenewElasticityAssurancesResponseBody.ts +1 -1
- package/src/models/RevokeSecurityGroupEgressRequest.ts +35 -37
- package/src/models/RevokeSecurityGroupRequest.ts +75 -93
- package/src/models/StartTerminalSessionRequest.ts +24 -32
- package/src/models/StartTerminalSessionResponseBody.ts +2 -2
- package/src/models/StartTerminalSessionShrinkRequest.ts +16 -18
- package/src/models/StopInstanceRequest.ts +21 -28
- package/src/models/StopInstancesRequest.ts +25 -36
- package/src/models/UnassignIpv6addressesRequest.ts +3 -3
- package/src/models/model.ts +4 -0
|
@@ -5,11 +5,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ModifyInstanceAttributeRequestCpuOptions extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The number of CPU cores. This parameter
|
|
8
|
+
* The number of CPU cores. This parameter does not support custom values and can only use the default value.
|
|
9
9
|
*
|
|
10
|
-
* <props="china">
|
|
11
|
-
*
|
|
12
|
-
* For information about the default value, see [Custom CPU options](https://help.aliyun.com/document_detail/145895.html).
|
|
10
|
+
* <props="china">Default value: see [Customize CPU options](https://help.aliyun.com/document_detail/145895.html).
|
|
13
11
|
*
|
|
14
12
|
* @example
|
|
15
13
|
* 2
|
|
@@ -17,15 +15,13 @@ export class ModifyInstanceAttributeRequestCpuOptions extends $dara.Model {
|
|
|
17
15
|
core?: number;
|
|
18
16
|
/**
|
|
19
17
|
* @remarks
|
|
20
|
-
* The number of threads per core. The
|
|
21
|
-
*
|
|
22
|
-
* - Setting `CpuOptions.ThreadsPerCore` to 1 disables hyper-threading.
|
|
18
|
+
* The number of threads per CPU core. The number of vCPUs of the ECS instance = CpuOptions.Core value × CpuOptions.ThreadsPerCore value.
|
|
23
19
|
*
|
|
24
|
-
* -
|
|
20
|
+
* - CpuOptions.ThreadsPerCore=1 indicates that hyper-threading is disabled.
|
|
25
21
|
*
|
|
26
|
-
*
|
|
22
|
+
* - Only some instance types support custom thread counts.
|
|
27
23
|
*
|
|
28
|
-
*
|
|
24
|
+
* <props="china">Valid values and default value: see [Customize CPU options](https://help.aliyun.com/document_detail/145895.html).
|
|
29
25
|
*
|
|
30
26
|
* @example
|
|
31
27
|
* 2
|
|
@@ -35,17 +31,15 @@ export class ModifyInstanceAttributeRequestCpuOptions extends $dara.Model {
|
|
|
35
31
|
* @remarks
|
|
36
32
|
* The CPU topology type of the instance. Valid values:
|
|
37
33
|
*
|
|
38
|
-
* - ContinuousCoreToHTMapping:
|
|
39
|
-
*
|
|
40
|
-
* - DiscreteCoreToHTMapping: The hyper-threads of the same core are discrete.
|
|
41
|
-
*
|
|
42
|
-
* Default value: None.
|
|
34
|
+
* - ContinuousCoreToHTMapping: the hyper-threads of the same core in the CPU topology are continuous.
|
|
35
|
+
* - DiscreteCoreToHTMapping: the hyper-threads of the same core are discrete.
|
|
43
36
|
*
|
|
44
|
-
*
|
|
37
|
+
* Default value: none.
|
|
45
38
|
*
|
|
46
|
-
*
|
|
39
|
+
* Take note of the following items:
|
|
40
|
+
* - The instance must be in the Stopped state.
|
|
47
41
|
*
|
|
48
|
-
* >
|
|
42
|
+
* > Only some instance families support this parameter. For information about the supported instance families, see [View and modify the CPU topology structure](https://help.aliyun.com/document_detail/2636059.html).
|
|
49
43
|
*
|
|
50
44
|
* @example
|
|
51
45
|
* DiscreteCoreToHTMapping
|
|
@@ -53,7 +47,7 @@ export class ModifyInstanceAttributeRequestCpuOptions extends $dara.Model {
|
|
|
53
47
|
topologyType?: string;
|
|
54
48
|
/**
|
|
55
49
|
* @remarks
|
|
56
|
-
* > This parameter is in
|
|
50
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
57
51
|
*
|
|
58
52
|
* @example
|
|
59
53
|
* enabled
|
|
@@ -89,11 +83,10 @@ export class ModifyInstanceAttributeRequestCpuOptions extends $dara.Model {
|
|
|
89
83
|
export class ModifyInstanceAttributeRequestPrivateDnsNameOptions extends $dara.Model {
|
|
90
84
|
/**
|
|
91
85
|
* @remarks
|
|
92
|
-
* Specifies whether to enable resolution
|
|
93
|
-
*
|
|
94
|
-
* - true
|
|
95
|
-
*
|
|
96
|
-
* - false
|
|
86
|
+
* Specifies whether to enable DNS resolution from the instance ID-based domain name to the IPv6 address. Valid values:
|
|
87
|
+
*
|
|
88
|
+
* - true: enables the resolution.
|
|
89
|
+
* - false: disables the resolution.
|
|
97
90
|
*
|
|
98
91
|
* Default value: false.
|
|
99
92
|
*
|
|
@@ -103,11 +96,10 @@ export class ModifyInstanceAttributeRequestPrivateDnsNameOptions extends $dara.M
|
|
|
103
96
|
enableInstanceIdDnsAAAARecord?: boolean;
|
|
104
97
|
/**
|
|
105
98
|
* @remarks
|
|
106
|
-
* Specifies whether to enable resolution
|
|
107
|
-
*
|
|
108
|
-
* - true
|
|
109
|
-
*
|
|
110
|
-
* - false
|
|
99
|
+
* Specifies whether to enable DNS resolution from the instance ID-based domain name to the IPv4 address. Valid values:
|
|
100
|
+
*
|
|
101
|
+
* - true: enables the resolution.
|
|
102
|
+
* - false: disables the resolution.
|
|
111
103
|
*
|
|
112
104
|
* Default value: false.
|
|
113
105
|
*
|
|
@@ -117,11 +109,9 @@ export class ModifyInstanceAttributeRequestPrivateDnsNameOptions extends $dara.M
|
|
|
117
109
|
enableInstanceIdDnsARecord?: boolean;
|
|
118
110
|
/**
|
|
119
111
|
* @remarks
|
|
120
|
-
* Specifies whether to enable resolution
|
|
121
|
-
*
|
|
122
|
-
* -
|
|
123
|
-
*
|
|
124
|
-
* - false
|
|
112
|
+
* Specifies whether to enable DNS resolution from the IP-based domain name to the IPv4 address. Valid values:
|
|
113
|
+
* - true: enables the resolution.
|
|
114
|
+
* - false: disables the resolution.
|
|
125
115
|
*
|
|
126
116
|
* Default value: false.
|
|
127
117
|
*
|
|
@@ -131,11 +121,9 @@ export class ModifyInstanceAttributeRequestPrivateDnsNameOptions extends $dara.M
|
|
|
131
121
|
enableIpDnsARecord?: boolean;
|
|
132
122
|
/**
|
|
133
123
|
* @remarks
|
|
134
|
-
* Specifies whether to enable reverse DNS resolution
|
|
135
|
-
*
|
|
136
|
-
* -
|
|
137
|
-
*
|
|
138
|
-
* - false
|
|
124
|
+
* Specifies whether to enable reverse DNS resolution from the IPv4 address to the IP-based domain name. Valid values:
|
|
125
|
+
* - true: enables the resolution.
|
|
126
|
+
* - false: disables the resolution.
|
|
139
127
|
*
|
|
140
128
|
* Default value: false.
|
|
141
129
|
*
|
|
@@ -147,11 +135,9 @@ export class ModifyInstanceAttributeRequestPrivateDnsNameOptions extends $dara.M
|
|
|
147
135
|
* @remarks
|
|
148
136
|
* The hostname type. Valid values:
|
|
149
137
|
*
|
|
150
|
-
* - Custom:
|
|
151
|
-
*
|
|
152
|
-
* -
|
|
153
|
-
*
|
|
154
|
-
* - InstanceIdBased: an instance ID-based hostname.
|
|
138
|
+
* - Custom: custom.
|
|
139
|
+
* - IpBased: IP-based hostname.
|
|
140
|
+
* - InstanceIdBased: instance ID-based hostname.
|
|
155
141
|
*
|
|
156
142
|
* Default value: Custom.
|
|
157
143
|
*
|
|
@@ -191,7 +177,7 @@ export class ModifyInstanceAttributeRequestPrivateDnsNameOptions extends $dara.M
|
|
|
191
177
|
export class ModifyInstanceAttributeRequestRemoteConnectionOptions extends $dara.Model {
|
|
192
178
|
/**
|
|
193
179
|
* @remarks
|
|
194
|
-
* > This parameter is in
|
|
180
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
195
181
|
*
|
|
196
182
|
* @example
|
|
197
183
|
* hide
|
|
@@ -199,7 +185,7 @@ export class ModifyInstanceAttributeRequestRemoteConnectionOptions extends $dara
|
|
|
199
185
|
password?: string;
|
|
200
186
|
/**
|
|
201
187
|
* @remarks
|
|
202
|
-
* > This parameter is in
|
|
188
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
203
189
|
*
|
|
204
190
|
* @example
|
|
205
191
|
* hide
|
|
@@ -232,13 +218,12 @@ export class ModifyInstanceAttributeRequest extends $dara.Model {
|
|
|
232
218
|
cpuOptions?: ModifyInstanceAttributeRequestCpuOptions;
|
|
233
219
|
/**
|
|
234
220
|
* @remarks
|
|
235
|
-
* The
|
|
221
|
+
* The running mode of the burstable instance. Valid values:
|
|
236
222
|
*
|
|
237
223
|
* - Standard: standard mode.
|
|
238
|
-
*
|
|
239
224
|
* - Unlimited: unlimited mode.
|
|
240
225
|
*
|
|
241
|
-
* For more information about the
|
|
226
|
+
* For more information about the running modes of burstable instances, see [What are burstable instances?](https://help.aliyun.com/document_detail/59977.html).
|
|
242
227
|
*
|
|
243
228
|
* @example
|
|
244
229
|
* Standard
|
|
@@ -246,9 +231,9 @@ export class ModifyInstanceAttributeRequest extends $dara.Model {
|
|
|
246
231
|
creditSpecification?: string;
|
|
247
232
|
/**
|
|
248
233
|
* @remarks
|
|
249
|
-
*
|
|
234
|
+
* The release protection attribute of the instance. Specifies whether the instance can be released from the console or by calling [DeleteInstance](https://help.aliyun.com/document_detail/25507.html).
|
|
250
235
|
*
|
|
251
|
-
* > This
|
|
236
|
+
* > This attribute applies only to pay-as-you-go instances and only prevents manual release operations. It does not apply to system-initiated release operations.
|
|
252
237
|
*
|
|
253
238
|
* @example
|
|
254
239
|
* false
|
|
@@ -256,7 +241,7 @@ export class ModifyInstanceAttributeRequest extends $dara.Model {
|
|
|
256
241
|
deletionProtection?: boolean;
|
|
257
242
|
/**
|
|
258
243
|
* @remarks
|
|
259
|
-
* The instance
|
|
244
|
+
* The description of the instance. The description must be 2 to 256 characters in length and cannot start with `http://` or `https://`.
|
|
260
245
|
*
|
|
261
246
|
* @example
|
|
262
247
|
* testInstanceDescription
|
|
@@ -264,19 +249,16 @@ export class ModifyInstanceAttributeRequest extends $dara.Model {
|
|
|
264
249
|
description?: string;
|
|
265
250
|
/**
|
|
266
251
|
* @remarks
|
|
267
|
-
* Specifies whether to enable
|
|
268
|
-
*
|
|
269
|
-
* - true
|
|
252
|
+
* Specifies whether to enable the Jumbo Frame feature for the instance MTU. Valid values:
|
|
270
253
|
*
|
|
271
|
-
* -
|
|
254
|
+
* - true: enables the feature.
|
|
255
|
+
* - false: does not enable the feature.
|
|
272
256
|
*
|
|
273
|
-
*
|
|
274
|
-
*
|
|
275
|
-
* - The instance must be
|
|
276
|
-
*
|
|
277
|
-
*
|
|
278
|
-
*
|
|
279
|
-
* - Only some instance types support jumbo frames. For more information, see [ECS instance MTU](https://help.aliyun.com/document_detail/200512.html).
|
|
257
|
+
* Take note of the following items:
|
|
258
|
+
* - The instance must be in the Running or Stopped state.
|
|
259
|
+
* - The instance must be a VPC-connected instance.
|
|
260
|
+
* - After the Jumbo Frame feature is enabled, the MTU value of the instance changes to 8500. After the feature is disabled, the MTU value reverts to 1500.
|
|
261
|
+
* Only some instance types support the Jumbo Frame feature. For more information, see [ECS instance MTU](https://help.aliyun.com/document_detail/200512.html).
|
|
280
262
|
*
|
|
281
263
|
* @example
|
|
282
264
|
* false
|
|
@@ -286,11 +268,9 @@ export class ModifyInstanceAttributeRequest extends $dara.Model {
|
|
|
286
268
|
* @remarks
|
|
287
269
|
* Specifies whether to enable VPC network traffic encryption. Valid values:
|
|
288
270
|
*
|
|
289
|
-
* - true
|
|
290
|
-
*
|
|
291
|
-
*
|
|
292
|
-
*
|
|
293
|
-
* > This parameter is in invitation-only preview and is not publicly available.
|
|
271
|
+
* - true: enables the encryption.
|
|
272
|
+
* - false: disables the encryption.
|
|
273
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
294
274
|
*
|
|
295
275
|
* @example
|
|
296
276
|
* true
|
|
@@ -298,17 +278,18 @@ export class ModifyInstanceAttributeRequest extends $dara.Model {
|
|
|
298
278
|
enableNetworkEncryption?: boolean;
|
|
299
279
|
/**
|
|
300
280
|
* @remarks
|
|
301
|
-
* The hostname of the operating system.
|
|
281
|
+
* The hostname of the operating system. Take note of the following items:
|
|
282
|
+
*
|
|
283
|
+
* - The instance cannot be in the Pending or Starting state. Otherwise, the hostname and `/etc/hosts` configuration may not take effect. You can call [DescribeInstances](https://help.aliyun.com/document_detail/25506.html) to query the current status of the instance.
|
|
302
284
|
*
|
|
303
|
-
* - The
|
|
285
|
+
* - The new hostname takes effect after you restart the instance. You can restart the instance in the ECS console (for more information, see [Restart an instance](https://help.aliyun.com/document_detail/25440.html)) or by calling [RebootInstance](https://help.aliyun.com/document_detail/25502.html). Restarting the instance from within the operating system does not take effect.
|
|
304
286
|
*
|
|
305
|
-
* - The new hostname takes effect after you restart the instance from the ECS console (see [Restart an instance](https://help.aliyun.com/document_detail/25440.html)) or by calling the [RebootInstance](https://help.aliyun.com/document_detail/25502.html) operation. Restarting the instance from within its operating system does not apply the change.
|
|
306
287
|
*
|
|
307
|
-
* The hostname
|
|
288
|
+
* The hostname has the following limits for different operating systems:
|
|
308
289
|
*
|
|
309
|
-
* -
|
|
290
|
+
* - Windows Server: The hostname must be 2 to 15 characters in length and can contain uppercase letters, lowercase letters, digits, and hyphens (-). It cannot start or end with a hyphen (-), cannot contain consecutive hyphens (-), and cannot contain only digits.
|
|
310
291
|
*
|
|
311
|
-
* -
|
|
292
|
+
* - Other instances (such as Linux): The hostname must be 2 to 64 characters in length. You can use periods (.) to separate the hostname into multiple segments. Each segment can contain uppercase letters, lowercase letters, digits, and hyphens (-), but cannot contain consecutive periods (.) or hyphens (-). The hostname cannot start or end with a period (.) or hyphen (-).
|
|
312
293
|
*
|
|
313
294
|
* @example
|
|
314
295
|
* testHostName
|
|
@@ -316,7 +297,7 @@ export class ModifyInstanceAttributeRequest extends $dara.Model {
|
|
|
316
297
|
hostName?: string;
|
|
317
298
|
/**
|
|
318
299
|
* @remarks
|
|
319
|
-
* The ID
|
|
300
|
+
* The instance ID.
|
|
320
301
|
*
|
|
321
302
|
* This parameter is required.
|
|
322
303
|
*
|
|
@@ -326,7 +307,7 @@ export class ModifyInstanceAttributeRequest extends $dara.Model {
|
|
|
326
307
|
instanceId?: string;
|
|
327
308
|
/**
|
|
328
309
|
* @remarks
|
|
329
|
-
* The instance
|
|
310
|
+
* The name of the instance. The name must be 2 to 128 characters in length. It must start with an uppercase letter, lowercase letter, or Chinese character and cannot start with `http://` or `https://`. The name can contain digits, colons (:), underscores (_), and hyphens (-).
|
|
330
311
|
*
|
|
331
312
|
* @example
|
|
332
313
|
* testInstanceName
|
|
@@ -334,13 +315,10 @@ export class ModifyInstanceAttributeRequest extends $dara.Model {
|
|
|
334
315
|
instanceName?: string;
|
|
335
316
|
/**
|
|
336
317
|
* @remarks
|
|
337
|
-
* The number of queues for the primary network interface
|
|
338
|
-
*
|
|
339
|
-
* - The instance
|
|
340
|
-
*
|
|
341
|
-
* - The value cannot exceed the maximum number of queues that the instance type supports for a single network interface. The total number of queues across all network interfaces of the instance cannot exceed the total queue quota that the instance type supports. You can call the [DescribeInstanceTypes](https://help.aliyun.com/document_detail/25620.html) operation to query the maximum number of queues per network interface and the total queue quota for an instance type.
|
|
342
|
-
*
|
|
343
|
-
* - If you set this parameter to -1, the number of queues for the primary network interface is reset to the default value for the instance type. You can call the [DescribeInstanceTypes](https://help.aliyun.com/document_detail/25620.html) operation to query the default number of queues for an elastic network interface of an instance type.
|
|
318
|
+
* The number of queues for the primary network interface controller (NIC). Take note of the following items:
|
|
319
|
+
* - The instance must be in the Stopped state.
|
|
320
|
+
* - The value cannot exceed the maximum number of queues per NIC allowed by the instance type. The total number of queues for all NICs on the instance cannot exceed the total queue quota allowed by the instance type. You can call [DescribeInstanceTypes](https://help.aliyun.com/document_detail/25620.html) to query the maximum number of queues per NIC and the total queue quota for an instance type.
|
|
321
|
+
* - If you set this parameter to -1, the number of queues for the primary NIC is reset to the default value for the instance type. You can call [DescribeInstanceTypes](https://help.aliyun.com/document_detail/25620.html) to query the default number of Elastic Network Interface (ENI) queues for an instance type.
|
|
344
322
|
*
|
|
345
323
|
* @example
|
|
346
324
|
* 8
|
|
@@ -350,13 +328,13 @@ export class ModifyInstanceAttributeRequest extends $dara.Model {
|
|
|
350
328
|
ownerId?: number;
|
|
351
329
|
/**
|
|
352
330
|
* @remarks
|
|
353
|
-
* The password of the instance. The password must be 8 to 30 characters
|
|
354
|
-
*
|
|
355
|
-
* - The instance cannot be in the `Starting` state.
|
|
331
|
+
* The password of the instance. The password must be 8 to 30 characters in length and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. The following special characters are supported: **()`~!@#$%^&*-_+=|{}[]:;\\"<>,.?/**
|
|
332
|
+
* . For Windows instances, the password cannot start with a forward slash (/). Take note of the following items:
|
|
356
333
|
*
|
|
357
|
-
* - The
|
|
334
|
+
* - The instance cannot be in the Starting state.
|
|
335
|
+
* - The new password takes effect after you restart the instance. You can restart the instance in the ECS console (for more information, see [Restart an instance](https://help.aliyun.com/document_detail/25440.html)) or by calling [RebootInstance](https://help.aliyun.com/document_detail/25502.html). Restarting the instance from within the operating system does not take effect.
|
|
358
336
|
*
|
|
359
|
-
* >
|
|
337
|
+
* > If you specify the Password parameter, use HTTPS to send the request to avoid password leaks.
|
|
360
338
|
*
|
|
361
339
|
* @example
|
|
362
340
|
* Test123456&$
|
|
@@ -364,15 +342,15 @@ export class ModifyInstanceAttributeRequest extends $dara.Model {
|
|
|
364
342
|
password?: string;
|
|
365
343
|
/**
|
|
366
344
|
* @remarks
|
|
367
|
-
* The private
|
|
345
|
+
* The private domain name configuration of the instance.
|
|
368
346
|
*
|
|
369
|
-
*
|
|
370
|
-
* ](https://help.aliyun.com/document_detail/2844797.html).
|
|
347
|
+
*
|
|
348
|
+
* For more information about private private domain resolution, see [ECS private private domain resolution](https://help.aliyun.com/document_detail/2844797.html).
|
|
371
349
|
*/
|
|
372
350
|
privateDnsNameOptions?: ModifyInstanceAttributeRequestPrivateDnsNameOptions;
|
|
373
351
|
/**
|
|
374
352
|
* @remarks
|
|
375
|
-
* > This parameter is in
|
|
353
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
376
354
|
*
|
|
377
355
|
* @example
|
|
378
356
|
* true
|
|
@@ -380,26 +358,21 @@ export class ModifyInstanceAttributeRequest extends $dara.Model {
|
|
|
380
358
|
recyclable?: boolean;
|
|
381
359
|
/**
|
|
382
360
|
* @remarks
|
|
383
|
-
* > This parameter is in
|
|
361
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
384
362
|
*/
|
|
385
363
|
remoteConnectionOptions?: ModifyInstanceAttributeRequestRemoteConnectionOptions;
|
|
386
364
|
resourceOwnerAccount?: string;
|
|
387
365
|
resourceOwnerId?: number;
|
|
388
366
|
/**
|
|
389
367
|
* @remarks
|
|
390
|
-
* The IDs of security groups to
|
|
391
|
-
*
|
|
392
|
-
* - The security group IDs in the array must be unique. The number of security groups that an instance can join is limited. For more information, see [Limits](~~25412#SecurityGroupQuota1~~).
|
|
393
|
-
*
|
|
394
|
-
* - Specifying this parameter removes the instance from its current security groups. To retain existing security group associations, you must include their IDs in this array.
|
|
395
|
-
*
|
|
396
|
-
* - You can switch the security group type. However, the specified security groups cannot include both basic and enterprise security groups.
|
|
368
|
+
* The IDs of the security groups to which the instance is reassigned. Take note of the following items:
|
|
397
369
|
*
|
|
370
|
+
* - Security group IDs in the array cannot be duplicated. The maximum length of the array depends on the maximum number of security groups to which the instance can belong. For more information, see [Limits](~~25412#SecurityGroupQuota1~~).
|
|
371
|
+
* - The instance leaves its current security groups. To retain the current security groups, add their IDs to the array.
|
|
372
|
+
* - You can switch between security group types, but the list cannot contain both basic security groups and advanced security groups at the same time.
|
|
398
373
|
* - The security groups must belong to the same VPC as the instance.
|
|
399
374
|
*
|
|
400
|
-
*
|
|
401
|
-
*
|
|
402
|
-
* > The change takes effect on the instance after a short delay.
|
|
375
|
+
* > Changes to security groups take effect on the instance shortly after the modification, but a slight delay may occur.
|
|
403
376
|
*
|
|
404
377
|
* @example
|
|
405
378
|
* sg-bp15ed6xe1yxeycg7o****
|
|
@@ -407,13 +380,12 @@ export class ModifyInstanceAttributeRequest extends $dara.Model {
|
|
|
407
380
|
securityGroupIds?: string[];
|
|
408
381
|
/**
|
|
409
382
|
* @remarks
|
|
410
|
-
* The user data
|
|
411
|
-
*
|
|
412
|
-
* - The user data must comply with the limits described in [Generate user data](https://help.aliyun.com/document_detail/49121.html).
|
|
383
|
+
* The instance user data. We recommend that you Base64-encode the data before you pass it in. Take note of the following items:
|
|
413
384
|
*
|
|
414
|
-
* -
|
|
385
|
+
* - The instance must meet the usage limits for instance user data. For more information, see [Create instance user data](https://help.aliyun.com/document_detail/49121.html).
|
|
386
|
+
* - After you restart the instance, the new user data is displayed on the instance but is not run.
|
|
415
387
|
*
|
|
416
|
-
* >
|
|
388
|
+
* > Before Base64 encoding, the raw data cannot exceed 32 KB. Do not pass in sensitive information such as passwords and private keys in plaintext. If you must pass in sensitive information, encrypt the information, Base64-encode it, and then decrypt it in the same way within the instance.
|
|
417
389
|
*
|
|
418
390
|
* @example
|
|
419
391
|
* ZWNobyBoZWxsbyBlY3Mh
|
|
@@ -20,15 +20,15 @@ export class ModifyInstanceNetworkSpecRequest extends $dara.Model {
|
|
|
20
20
|
* @remarks
|
|
21
21
|
* Specifies whether to enable automatic payment. Valid values:
|
|
22
22
|
*
|
|
23
|
-
* - true: After the bandwidth configuration is modified, the payment is automatically deducted. When you set AutoPay to true, make sure that your account
|
|
23
|
+
* - true: After the bandwidth configuration is modified, the payment is automatically deducted. When you set the AutoPay parameter to true, make sure that your account has sufficient balance. If your account balance is insufficient, an abnormal order is generated. You cannot pay for the order on the ECS console. You can only cancel the order.
|
|
24
24
|
*
|
|
25
25
|
* <props="china">
|
|
26
|
-
* - false: After the bandwidth configuration is modified, only an order is generated
|
|
26
|
+
* - false: After the bandwidth configuration is modified, only an order is generated and no payment is made. If your payment method has insufficient balance, you can set the AutoPay parameter to false to disable automatic payment. In this case, the API generates a normal unpaid order. You can log on to the [ECS console](https://ecs.console.aliyun.com) to pay for the order.
|
|
27
27
|
*
|
|
28
28
|
*
|
|
29
29
|
*
|
|
30
30
|
* <props="intl">
|
|
31
|
-
* - false: After the bandwidth configuration is modified, only an order is generated
|
|
31
|
+
* - false: After the bandwidth configuration is modified, only an order is generated and no payment is made. If your payment method has insufficient balance, you can set the AutoPay parameter to false to disable automatic payment. In this case, the API generates a normal unpaid order. You can log on to the [ECS console](https://ecs.console.aliyun.com) to pay for the order.
|
|
32
32
|
*
|
|
33
33
|
*
|
|
34
34
|
*
|
|
@@ -40,7 +40,7 @@ export class ModifyInstanceNetworkSpecRequest extends $dara.Model {
|
|
|
40
40
|
autoPay?: boolean;
|
|
41
41
|
/**
|
|
42
42
|
* @remarks
|
|
43
|
-
* The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The
|
|
43
|
+
* The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The **ClientToken** value can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](https://help.aliyun.com/document_detail/25693.html).
|
|
44
44
|
*
|
|
45
45
|
* @example
|
|
46
46
|
* 123e4567-e89b-12d3-a456-426655440000
|
|
@@ -48,7 +48,7 @@ export class ModifyInstanceNetworkSpecRequest extends $dara.Model {
|
|
|
48
48
|
clientToken?: string;
|
|
49
49
|
/**
|
|
50
50
|
* @remarks
|
|
51
|
-
* The end time of the temporary bandwidth upgrade. Specify the time in the [ISO 8601](https://help.aliyun.com/document_detail/25696.html) standard in UTC+0 time in the
|
|
51
|
+
* The end time of the temporary bandwidth upgrade. Specify the time in the [ISO 8601](https://help.aliyun.com/document_detail/25696.html) standard in UTC+0 time in the yyyy-MM-ddTHHZ format. The time must be accurate to the **hour** (HH).
|
|
52
52
|
*
|
|
53
53
|
* > The interval between the end time and the start time of the temporary bandwidth upgrade must be greater than or equal to 3 hours.
|
|
54
54
|
*
|
|
@@ -58,7 +58,7 @@ export class ModifyInstanceNetworkSpecRequest extends $dara.Model {
|
|
|
58
58
|
endTime?: string;
|
|
59
59
|
/**
|
|
60
60
|
* @remarks
|
|
61
|
-
* > This parameter is in invitational preview and is not yet
|
|
61
|
+
* > This parameter is in invitational preview and is not yet available for use.
|
|
62
62
|
*
|
|
63
63
|
* @example
|
|
64
64
|
* null
|
|
@@ -78,8 +78,8 @@ export class ModifyInstanceNetworkSpecRequest extends $dara.Model {
|
|
|
78
78
|
* @remarks
|
|
79
79
|
* The maximum inbound public bandwidth. Unit: Mbit/s (Megabit per second). Valid values:
|
|
80
80
|
*
|
|
81
|
-
* -
|
|
82
|
-
* -
|
|
81
|
+
* - If the purchased maximum outbound public bandwidth is less than or equal to 10 Mbit/s: 1 to 10. Default value: 10.
|
|
82
|
+
* - If the purchased maximum outbound public bandwidth is greater than 10 Mbit/s: 1 to the value of `InternetMaxBandwidthOut`. Default value: the value of `InternetMaxBandwidthOut`.
|
|
83
83
|
*
|
|
84
84
|
* @example
|
|
85
85
|
* 10
|
|
@@ -92,11 +92,11 @@ export class ModifyInstanceNetworkSpecRequest extends $dara.Model {
|
|
|
92
92
|
* - Pay-by-traffic: 0 to 100.
|
|
93
93
|
*
|
|
94
94
|
* - Pay-by-bandwidth:
|
|
95
|
-
* - Subscription
|
|
96
|
-
* - Pay-as-you-go
|
|
95
|
+
* - Subscription instance: 0 to 200.
|
|
96
|
+
* - Pay-as-you-go instance: 0 to 100.
|
|
97
97
|
*
|
|
98
98
|
*
|
|
99
|
-
* > The maximum outbound bandwidth
|
|
99
|
+
* > The maximum outbound bandwidth per instance is also limited by the **Network Bandwidth Baseline/Burstable (Gbit/s)** metric of the ECS instance type. For more information, see [Instance families](https://help.aliyun.com/document_detail/25378.html).
|
|
100
100
|
*
|
|
101
101
|
* @example
|
|
102
102
|
* 10
|
|
@@ -104,12 +104,12 @@ export class ModifyInstanceNetworkSpecRequest extends $dara.Model {
|
|
|
104
104
|
internetMaxBandwidthOut?: number;
|
|
105
105
|
/**
|
|
106
106
|
* @remarks
|
|
107
|
-
* The network billing method. Valid values:
|
|
107
|
+
* The conversion target for the network billing method. Valid values:
|
|
108
108
|
*
|
|
109
109
|
* - PayByBandwidth: pay-by-bandwidth.
|
|
110
110
|
* - PayByTraffic: pay-by-traffic.
|
|
111
111
|
*
|
|
112
|
-
* > In **pay-by-traffic** mode, the inbound and outbound bandwidth
|
|
112
|
+
* > In **pay-by-traffic** mode, the inbound and outbound bandwidth peaks are both bandwidth upper limits and are not guaranteed as committed service metrics. When resource contention occurs, the bandwidth peaks may be throttled. If your business requires guaranteed bandwidth, use the **pay-by-bandwidth** mode.
|
|
113
113
|
*
|
|
114
114
|
* @example
|
|
115
115
|
* PayByTraffic
|
|
@@ -121,7 +121,7 @@ export class ModifyInstanceNetworkSpecRequest extends $dara.Model {
|
|
|
121
121
|
resourceOwnerId?: number;
|
|
122
122
|
/**
|
|
123
123
|
* @remarks
|
|
124
|
-
* The start time of the temporary bandwidth upgrade. Specify the time in the [ISO 8601](https://help.aliyun.com/document_detail/25696.html) standard in UTC+0 time in the
|
|
124
|
+
* The start time of the temporary bandwidth upgrade. Specify the time in the [ISO 8601](https://help.aliyun.com/document_detail/25696.html) standard in UTC+0 time in the yyyy-MM-ddTHH:mmZ format. The time must be accurate to the **minute** (mm).
|
|
125
125
|
*
|
|
126
126
|
* @example
|
|
127
127
|
* 2017-12-05T22:40Z
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ModifyInstanceNetworkSpecResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The order ID. This parameter is returned only when the bandwidth configuration of a subscription (PrePaid) instance
|
|
8
|
+
* The order ID. This parameter is returned only when you modify the bandwidth configuration of a subscription (PrePaid) instance.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 123457890
|
|
@@ -5,13 +5,13 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ModifyInstanceSpecRequestSystemDisk extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* The new system disk category. Valid values:
|
|
9
9
|
*
|
|
10
|
-
* - cloud_efficiency
|
|
10
|
+
* - cloud_efficiency: ultra disk
|
|
11
11
|
*
|
|
12
|
-
* - cloud_ssd
|
|
12
|
+
* - cloud_ssd: standard SSD
|
|
13
13
|
*
|
|
14
|
-
*
|
|
14
|
+
* > This parameter is valid only when you upgrade from a [retired instance type](https://help.aliyun.com/document_detail/55263.html) to an [instance family that is available for purchase](https://help.aliyun.com/document_detail/25378.html) and change a non-I/O optimized instance to an I/O optimized instance.
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
17
|
* cloud_ssd
|
|
@@ -41,7 +41,7 @@ export class ModifyInstanceSpecRequestSystemDisk extends $dara.Model {
|
|
|
41
41
|
export class ModifyInstanceSpecRequestTemporary extends $dara.Model {
|
|
42
42
|
/**
|
|
43
43
|
* @remarks
|
|
44
|
-
*
|
|
44
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
45
45
|
*
|
|
46
46
|
* @example
|
|
47
47
|
* null
|
|
@@ -49,7 +49,7 @@ export class ModifyInstanceSpecRequestTemporary extends $dara.Model {
|
|
|
49
49
|
endTime?: string;
|
|
50
50
|
/**
|
|
51
51
|
* @remarks
|
|
52
|
-
*
|
|
52
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
53
53
|
*
|
|
54
54
|
* @example
|
|
55
55
|
* null
|
|
@@ -57,7 +57,7 @@ export class ModifyInstanceSpecRequestTemporary extends $dara.Model {
|
|
|
57
57
|
internetMaxBandwidthOut?: number;
|
|
58
58
|
/**
|
|
59
59
|
* @remarks
|
|
60
|
-
*
|
|
60
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
61
61
|
*
|
|
62
62
|
* @example
|
|
63
63
|
* null
|
|
@@ -143,13 +143,13 @@ export class ModifyInstanceSpecRequest extends $dara.Model {
|
|
|
143
143
|
temporary?: ModifyInstanceSpecRequestTemporary;
|
|
144
144
|
/**
|
|
145
145
|
* @remarks
|
|
146
|
-
* Specifies whether
|
|
147
|
-
* - true:
|
|
148
|
-
* - false:
|
|
146
|
+
* Specifies whether cross-cluster upgrade of instance types is supported.
|
|
147
|
+
* - true: supported.
|
|
148
|
+
* - false: not supported.
|
|
149
149
|
*
|
|
150
150
|
* Default value: false.
|
|
151
151
|
*
|
|
152
|
-
* If you set the
|
|
152
|
+
* If you set the `AllowMigrateAcrossZone` parameter to true and upgrade the Elastic Compute Service instance based on the response, note the following:
|
|
153
153
|
*
|
|
154
154
|
* Classic network type instances:
|
|
155
155
|
*
|
|
@@ -192,8 +192,8 @@ export class ModifyInstanceSpecRequest extends $dara.Model {
|
|
|
192
192
|
* @remarks
|
|
193
193
|
* Specifies whether to perform only a dry run. Valid values:
|
|
194
194
|
*
|
|
195
|
-
* - true: performs only a dry run. The instance type and public bandwidth are not
|
|
196
|
-
* - false (default): performs a dry run and sends the request. If the check succeeds, the instance type and public bandwidth are
|
|
195
|
+
* - true: performs only a dry run. The instance type and public bandwidth are not modified. The system checks whether the required parameters are specified, whether the request format is valid, whether business restrictions are met, and whether ECS resources are sufficient. If the check fails, the corresponding error is returned. If the check succeeds, the `DryRunOperation` error code is returned.
|
|
196
|
+
* - false (default): performs a dry run and sends the request. If the check succeeds, the instance type and public bandwidth are modified.
|
|
197
197
|
*
|
|
198
198
|
* @example
|
|
199
199
|
* false
|
|
@@ -211,7 +211,7 @@ export class ModifyInstanceSpecRequest extends $dara.Model {
|
|
|
211
211
|
instanceId?: string;
|
|
212
212
|
/**
|
|
213
213
|
* @remarks
|
|
214
|
-
* The target instance type. For more information, see [Instance
|
|
214
|
+
* The target instance type. For more information, see [Instance families](https://help.aliyun.com/document_detail/25378.html). You can also invoke [DescribeInstanceTypes](https://help.aliyun.com/document_detail/25620.html) to query the most recent instance type list.
|
|
215
215
|
*
|
|
216
216
|
* @example
|
|
217
217
|
* ecs.g6.large
|
|
@@ -224,7 +224,7 @@ export class ModifyInstanceSpecRequest extends $dara.Model {
|
|
|
224
224
|
* - If the purchased outbound public bandwidth is less than or equal to 10 Mbit/s: 1 to 10. Default value: 10.
|
|
225
225
|
* - If the purchased outbound public bandwidth is greater than 10 Mbit/s: 1 to the value of `InternetMaxBandwidthOut`. Default value: the value of `InternetMaxBandwidthOut`.
|
|
226
226
|
*
|
|
227
|
-
* > In **pay-by-traffic** mode, the peak inbound and outbound bandwidths are
|
|
227
|
+
* > In **pay-by-traffic** mode, the peak inbound and outbound bandwidths are upper limits and are not guaranteed. When resource contention occurs, the peak bandwidths may be throttled. If your workloads require guaranteed bandwidth, use the **pay-by-bandwidth** mode.
|
|
228
228
|
*
|
|
229
229
|
* @example
|
|
230
230
|
* 10
|
|
@@ -234,7 +234,7 @@ export class ModifyInstanceSpecRequest extends $dara.Model {
|
|
|
234
234
|
* @remarks
|
|
235
235
|
* The maximum outbound public bandwidth. Unit: Mbit/s. Valid values: 0 to 100.
|
|
236
236
|
*
|
|
237
|
-
* > In **pay-by-traffic** mode, the peak inbound and outbound bandwidths are
|
|
237
|
+
* > In **pay-by-traffic** mode, the peak inbound and outbound bandwidths are upper limits and are not guaranteed. When resource contention occurs, the peak bandwidths may be throttled. If your workloads require guaranteed bandwidth, use the **pay-by-bandwidth** mode.
|
|
238
238
|
*
|
|
239
239
|
* @example
|
|
240
240
|
* 10
|