@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
|
@@ -22,7 +22,7 @@ export declare class CreateInstanceRequestHibernationOptions extends $dara.Model
|
|
|
22
22
|
export declare class CreateInstanceRequestPrivatePoolOptions extends $dara.Model {
|
|
23
23
|
/**
|
|
24
24
|
* @remarks
|
|
25
|
-
* The
|
|
25
|
+
* The private pool ID, which is the ID of the elasticity assurance or capacity reservation.
|
|
26
26
|
*
|
|
27
27
|
* @example
|
|
28
28
|
* eap-bp67acfmxazb4****
|
|
@@ -30,23 +30,17 @@ export declare class CreateInstanceRequestPrivatePoolOptions extends $dara.Model
|
|
|
30
30
|
id?: string;
|
|
31
31
|
/**
|
|
32
32
|
* @remarks
|
|
33
|
-
* The
|
|
33
|
+
* The private pool option for launching the instance. A private pool is generated when an elasticity assurance or capacity reservation takes effect. You can select a private pool when you start an instance. Valid values:
|
|
34
34
|
*
|
|
35
|
-
* -
|
|
35
|
+
* - Open: open mode. The system automatically matches an open private pool. If no matching private pool is available, the instance is launched using public pool resources. You do not need to set `PrivatePoolOptions.Id`.
|
|
36
|
+
* - Target: specified mode. The instance is launched using the specified private pool. If the specified private pool is unavailable, the instance fails to launch. In this mode, you must specify the private pool ID. Set `PrivatePoolOptions.Id` to the private pool ID.
|
|
37
|
+
* - None: does not use a private pool. The instance is launched without using any private pool.
|
|
36
38
|
*
|
|
37
|
-
*
|
|
39
|
+
* Default value: None.
|
|
38
40
|
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
* In any of the following scenarios, the capacity option for the private pool can only be set to `None` or left unspecified.
|
|
44
|
-
*
|
|
45
|
-
* - Create a spot instance.
|
|
46
|
-
*
|
|
47
|
-
* - Create an ECS instance in the classic network.
|
|
48
|
-
*
|
|
49
|
-
* - Create an ECS instance on a dedicated host.
|
|
41
|
+
* In any of the following scenarios, the private pool option can only be set to `None` or left empty:
|
|
42
|
+
* - Creating a spot instance.
|
|
43
|
+
* - Creating an ECS instance on a dedicated host.
|
|
50
44
|
*
|
|
51
45
|
* @example
|
|
52
46
|
* Open
|
|
@@ -68,21 +62,15 @@ export declare class CreateInstanceRequestSystemDisk extends $dara.Model {
|
|
|
68
62
|
* @remarks
|
|
69
63
|
* The category of the system disk. Valid values:
|
|
70
64
|
*
|
|
71
|
-
* -
|
|
72
|
-
*
|
|
73
|
-
* -
|
|
74
|
-
*
|
|
75
|
-
* -
|
|
76
|
-
*
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
* - `cloud_auto`: ESSD AutoPL disk.
|
|
80
|
-
*
|
|
81
|
-
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
82
|
-
*
|
|
83
|
-
* > You can set this parameter to `cloud_essd_entry` only if you set `InstanceType` to an instance type of the [general-purpose instance type family u1](https://help.aliyun.com/document_detail/457079.html) (`ecs.u1`) or [economy instance type family e](https://help.aliyun.com/document_detail/108489.html) (`ecs.e`).
|
|
65
|
+
* - cloud_efficiency: ultra disk.
|
|
66
|
+
* - cloud_ssd: standard SSD.
|
|
67
|
+
* - cloud_essd: enterprise SSD (ESSD).
|
|
68
|
+
* - cloud: basic disk.
|
|
69
|
+
* - cloud_auto: ESSD AutoPL disk.
|
|
70
|
+
* - cloud_essd_entry: ESSD Entry disk.
|
|
71
|
+
* > The cloud_essd_entry value is supported only when `InstanceType` is set to the [u1, universal instance family](https://help.aliyun.com/document_detail/457079.html) (`ecs.u1`) or the [e, economy instance family](https://help.aliyun.com/document_detail/108489.html) (`ecs.e`). Settings of this parameter determine the computing power and optimization level of the system disk.
|
|
84
72
|
*
|
|
85
|
-
*
|
|
73
|
+
* For retired instance types that are not I/O optimized instances, the default value is cloud. For other instance types, the default value is cloud_efficiency.
|
|
86
74
|
*
|
|
87
75
|
* @example
|
|
88
76
|
* cloud_ssd
|
|
@@ -100,7 +88,7 @@ export declare class CreateInstanceRequestSystemDisk extends $dara.Model {
|
|
|
100
88
|
description?: string;
|
|
101
89
|
/**
|
|
102
90
|
* @remarks
|
|
103
|
-
* The name of the system disk. The name must be 2 to 128 characters in length
|
|
91
|
+
* The name of the system disk. The name must be 2 to 128 characters in length and can contain letters in the Unicode letter category (including English and Chinese characters and digits). The name can contain colons (:), underscores (_), periods (.), or hyphens (-).
|
|
104
92
|
*
|
|
105
93
|
* Default value: empty.
|
|
106
94
|
*
|
|
@@ -110,17 +98,14 @@ export declare class CreateInstanceRequestSystemDisk extends $dara.Model {
|
|
|
110
98
|
diskName?: string;
|
|
111
99
|
/**
|
|
112
100
|
* @remarks
|
|
113
|
-
* The performance level of the
|
|
101
|
+
* The performance level (PL) of the enterprise SSD used as the system disk. Settings of this parameter apply only when the disk category is not standard SSD. Valid values:
|
|
114
102
|
*
|
|
115
|
-
* - PL0:
|
|
103
|
+
* - PL0: a single disk can deliver up to 10,000 random read/write IOPS.
|
|
104
|
+
* - PL1 (default): a single disk can deliver up to 50,000 random read/write IOPS.
|
|
105
|
+
* - PL2: a single disk can deliver up to 100,000 random read/write IOPS.
|
|
106
|
+
* - PL3: a single disk can deliver up to 1,000,000 random read/write IOPS.
|
|
116
107
|
*
|
|
117
|
-
*
|
|
118
|
-
*
|
|
119
|
-
* - PL2: A single disk delivers up to 100,000 random read/write IOPS.
|
|
120
|
-
*
|
|
121
|
-
* - PL3: A single disk delivers up to 1,000,000 random read/write IOPS.
|
|
122
|
-
*
|
|
123
|
-
* For more information about how to select an ESSD performance level, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
108
|
+
* For information about how to select an ESSD performance level, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
124
109
|
*
|
|
125
110
|
* @example
|
|
126
111
|
* PL1
|
|
@@ -128,15 +113,15 @@ export declare class CreateInstanceRequestSystemDisk extends $dara.Model {
|
|
|
128
113
|
performanceLevel?: string;
|
|
129
114
|
/**
|
|
130
115
|
* @remarks
|
|
131
|
-
* The size of the system disk
|
|
116
|
+
* The size of the system disk, in GiB. Valid values:
|
|
132
117
|
*
|
|
133
|
-
* - Basic
|
|
118
|
+
* - Basic disk: 20 to 500
|
|
134
119
|
*
|
|
135
|
-
* - Other
|
|
120
|
+
* - Other disk types: 20 to 2048
|
|
136
121
|
*
|
|
137
|
-
* The value must be greater than or equal to
|
|
122
|
+
* The value of this parameter must be greater than or equal to max{20, ImageSize}.
|
|
138
123
|
*
|
|
139
|
-
* Default value: max
|
|
124
|
+
* Default value: max{40, ImageSize}.
|
|
140
125
|
*
|
|
141
126
|
* @example
|
|
142
127
|
* 40
|
|
@@ -144,7 +129,7 @@ export declare class CreateInstanceRequestSystemDisk extends $dara.Model {
|
|
|
144
129
|
size?: number;
|
|
145
130
|
/**
|
|
146
131
|
* @remarks
|
|
147
|
-
*
|
|
132
|
+
* The ID of the dedicated block storage cluster. To use a disk in a dedicated block storage cluster as the system disk when you create an ECS instance, set this parameter.
|
|
148
133
|
*
|
|
149
134
|
* @example
|
|
150
135
|
* dbsc-j5e1sf2vaf5he8m2****
|
|
@@ -202,25 +187,17 @@ export declare class CreateInstanceRequestDataDisk extends $dara.Model {
|
|
|
202
187
|
* @remarks
|
|
203
188
|
* The category of data disk N. Valid values:
|
|
204
189
|
*
|
|
205
|
-
* -
|
|
206
|
-
*
|
|
207
|
-
* -
|
|
208
|
-
*
|
|
209
|
-
* -
|
|
210
|
-
*
|
|
211
|
-
*
|
|
212
|
-
*
|
|
213
|
-
* -
|
|
214
|
-
*
|
|
215
|
-
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
216
|
-
*
|
|
217
|
-
* > You can set this parameter to `cloud_essd_entry` only if you set `InstanceType` to an `ecs.u1` or `ecs.e` instance type family.
|
|
218
|
-
*
|
|
219
|
-
* - `elastic_ephemeral_disk_standard`: standard elastic ephemeral disk.
|
|
220
|
-
*
|
|
221
|
-
* - `elastic_ephemeral_disk_premium`: premium elastic ephemeral disk.
|
|
190
|
+
* - cloud_efficiency: ultra disk.
|
|
191
|
+
* - cloud_ssd: standard SSD.
|
|
192
|
+
* - cloud_essd: enterprise SSD (ESSD).
|
|
193
|
+
* - cloud: basic disk.
|
|
194
|
+
* - cloud_auto: ESSD AutoPL disk.
|
|
195
|
+
* - cloud_essd_entry: ESSD Entry disk.
|
|
196
|
+
* > The cloud_essd_entry value is supported only when `InstanceType` is set to the `ecs.u1` or `ecs.e` instance family. Settings of this parameter determine the optimization level of the data disk.
|
|
197
|
+
* - elastic_ephemeral_disk_standard: elastic ephemeral disk - standard.
|
|
198
|
+
* - elastic_ephemeral_disk_premium: elastic ephemeral disk - Premium Edition.
|
|
222
199
|
*
|
|
223
|
-
*
|
|
200
|
+
* The default value is cloud_efficiency for I/O optimized instances and cloud for non-I/O optimized instances.
|
|
224
201
|
*
|
|
225
202
|
* @example
|
|
226
203
|
* cloud_ssd
|
|
@@ -228,13 +205,12 @@ export declare class CreateInstanceRequestDataDisk extends $dara.Model {
|
|
|
228
205
|
category?: string;
|
|
229
206
|
/**
|
|
230
207
|
* @remarks
|
|
231
|
-
* Specifies whether
|
|
208
|
+
* Specifies whether the data disk is released when the instance is released.
|
|
232
209
|
*
|
|
233
|
-
* -
|
|
210
|
+
* - true: The data disk is released when the instance is released.
|
|
211
|
+
* - false: The data disk is not released when the instance is released.
|
|
234
212
|
*
|
|
235
|
-
*
|
|
236
|
-
*
|
|
237
|
-
* Default value: `true`.
|
|
213
|
+
* Default value: true.
|
|
238
214
|
*
|
|
239
215
|
* @example
|
|
240
216
|
* true
|
|
@@ -252,7 +228,7 @@ export declare class CreateInstanceRequestDataDisk extends $dara.Model {
|
|
|
252
228
|
* @remarks
|
|
253
229
|
* The mount point of the data disk.
|
|
254
230
|
*
|
|
255
|
-
* > This parameter is
|
|
231
|
+
* > This parameter is applicable only to full image (system image) scenarios. You can set this parameter to the mount point of the data disk in the full image and modify the corresponding `DataDisk.N.Size` and `DataDisk.N.Category` parameters to change the disk category and size of the data disk in the full image.
|
|
256
232
|
*
|
|
257
233
|
* @example
|
|
258
234
|
* /dev/xvdb
|
|
@@ -260,7 +236,7 @@ export declare class CreateInstanceRequestDataDisk extends $dara.Model {
|
|
|
260
236
|
device?: string;
|
|
261
237
|
/**
|
|
262
238
|
* @remarks
|
|
263
|
-
* The name of the data disk. The name must be 2 to 128 characters in length
|
|
239
|
+
* The name of the data disk. The name must be 2 to 128 characters in length and can contain letters in the Unicode letter category (including English and Chinese characters and digits). The name can contain colons (:), underscores (_), periods (.), or hyphens (-).
|
|
264
240
|
*
|
|
265
241
|
* @example
|
|
266
242
|
* DataDiskName
|
|
@@ -276,13 +252,13 @@ export declare class CreateInstanceRequestDataDisk extends $dara.Model {
|
|
|
276
252
|
encryptAlgorithm?: string;
|
|
277
253
|
/**
|
|
278
254
|
* @remarks
|
|
279
|
-
* Specifies whether
|
|
255
|
+
* Specifies whether data disk N is encrypted.
|
|
280
256
|
*
|
|
281
|
-
* -
|
|
257
|
+
* - true: encrypted.
|
|
282
258
|
*
|
|
283
|
-
* -
|
|
259
|
+
* - false: not encrypted.
|
|
284
260
|
*
|
|
285
|
-
* Default value:
|
|
261
|
+
* Default value: false.
|
|
286
262
|
*
|
|
287
263
|
* @example
|
|
288
264
|
* false
|
|
@@ -290,7 +266,7 @@ export declare class CreateInstanceRequestDataDisk extends $dara.Model {
|
|
|
290
266
|
encrypted?: boolean;
|
|
291
267
|
/**
|
|
292
268
|
* @remarks
|
|
293
|
-
* The
|
|
269
|
+
* The KMS key ID used by the disk.
|
|
294
270
|
*
|
|
295
271
|
* @example
|
|
296
272
|
* 0e478b7a-4262-4802-b8cb-00d****
|
|
@@ -298,17 +274,14 @@ export declare class CreateInstanceRequestDataDisk extends $dara.Model {
|
|
|
298
274
|
KMSKeyId?: string;
|
|
299
275
|
/**
|
|
300
276
|
* @remarks
|
|
301
|
-
* The performance level of the
|
|
302
|
-
*
|
|
303
|
-
* - PL0: A single disk delivers up to 10,000 random read/write IOPS.
|
|
304
|
-
*
|
|
305
|
-
* - PL1: A single disk delivers up to 50,000 random read/write IOPS. This is the default value.
|
|
277
|
+
* The performance level (PL) of the enterprise SSD used as a data disk. Settings of this parameter apply only when the disk category is not standard SSD. The value of N must be the same as that in `DataDisk.N.Category=cloud_essd`. Valid values:
|
|
306
278
|
*
|
|
307
|
-
* -
|
|
279
|
+
* - PL0: a single disk can deliver up to 10,000 random read/write IOPS.
|
|
280
|
+
* - PL1 (default): a single disk can deliver up to 50,000 random read/write IOPS.
|
|
281
|
+
* - PL2: a single disk can deliver up to 100,000 random read/write IOPS.
|
|
282
|
+
* - PL3: a single disk can deliver up to 1,000,000 random read/write IOPS.
|
|
308
283
|
*
|
|
309
|
-
*
|
|
310
|
-
*
|
|
311
|
-
* For more information about how to select an ESSD performance level, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
284
|
+
* For information about how to select an ESSD performance level, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
312
285
|
*
|
|
313
286
|
* @example
|
|
314
287
|
* PL2
|
|
@@ -316,23 +289,16 @@ export declare class CreateInstanceRequestDataDisk extends $dara.Model {
|
|
|
316
289
|
performanceLevel?: string;
|
|
317
290
|
/**
|
|
318
291
|
* @remarks
|
|
319
|
-
* The size of data disk N.
|
|
320
|
-
*
|
|
321
|
-
* - `cloud_efficiency`: 20 to 32768.
|
|
322
|
-
*
|
|
323
|
-
* - `cloud_ssd`: 20 to 32768.
|
|
324
|
-
*
|
|
325
|
-
* - `cloud_essd`: The valid values of this parameter are related to the value of `DataDisk.N.PerformanceLevel`.
|
|
326
|
-
*
|
|
327
|
-
* - PL0: 1 to 65,536.
|
|
328
|
-
*
|
|
329
|
-
* - PL1: 20 to 65,536.
|
|
330
|
-
*
|
|
331
|
-
* - PL2: 461 to 65,536.
|
|
332
|
-
*
|
|
333
|
-
* - PL3: 1261 to 65,536.
|
|
292
|
+
* The size of data disk N, in GiB. Valid values of N: 1 to 16. Valid values:
|
|
334
293
|
*
|
|
335
|
-
* -
|
|
294
|
+
* - cloud_efficiency: 20 to 32768.
|
|
295
|
+
* - cloud_ssd: 20 to 32768.
|
|
296
|
+
* - cloud_essd: The valid values depend on the value of `DataDisk.N.PerformanceLevel`.
|
|
297
|
+
* - PL0: 1 to 65,536.
|
|
298
|
+
* - PL1: 20 to 65,536.
|
|
299
|
+
* - PL2: 461 to 65,536.
|
|
300
|
+
* - PL3: 1261 to 65,536.
|
|
301
|
+
* - cloud: 5 to 2000.
|
|
336
302
|
*
|
|
337
303
|
* > The value of this parameter must be greater than or equal to the size of the snapshot specified by `SnapshotId`.
|
|
338
304
|
*
|
|
@@ -342,11 +308,11 @@ export declare class CreateInstanceRequestDataDisk extends $dara.Model {
|
|
|
342
308
|
size?: number;
|
|
343
309
|
/**
|
|
344
310
|
* @remarks
|
|
345
|
-
* The
|
|
311
|
+
* The snapshot ID used to create data disk N. Valid values of N: 1 to 16.
|
|
346
312
|
*
|
|
347
|
-
* - If `DataDisk.N.SnapshotId` is specified, `DataDisk.N.Size` is ignored
|
|
313
|
+
* - If `DataDisk.N.SnapshotId` is specified, `DataDisk.N.Size` is ignored. The actual size of the created disk is the size of the specified snapshot.
|
|
348
314
|
*
|
|
349
|
-
* - Snapshots created on or before July 15, 2013
|
|
315
|
+
* - Snapshots created on or before July 15, 2013 cannot be used. Requests with such snapshots are rejected.
|
|
350
316
|
*
|
|
351
317
|
* @example
|
|
352
318
|
* s-bp17441ohwka0yuh****
|
|
@@ -354,7 +320,7 @@ export declare class CreateInstanceRequestDataDisk extends $dara.Model {
|
|
|
354
320
|
snapshotId?: string;
|
|
355
321
|
/**
|
|
356
322
|
* @remarks
|
|
357
|
-
* The ID of the dedicated block storage cluster.
|
|
323
|
+
* The ID of the dedicated block storage cluster. To use a disk in a dedicated block storage cluster as a data disk when you create an ECS instance, set this parameter.
|
|
358
324
|
*
|
|
359
325
|
* @example
|
|
360
326
|
* dbsc-j5e1sf2vaf5he8m2****
|
|
@@ -374,9 +340,7 @@ export declare class CreateInstanceRequestDataDisk extends $dara.Model {
|
|
|
374
340
|
export declare class CreateInstanceRequestTag extends $dara.Model {
|
|
375
341
|
/**
|
|
376
342
|
* @remarks
|
|
377
|
-
* The tag key.
|
|
378
|
-
*
|
|
379
|
-
* > For better compatibility
|
|
343
|
+
* The tag key for the instance, disk, and primary ENI. Valid values of N: 1 to 20. The tag key cannot be an empty string. The tag key can be up to 128 characters in length and cannot start with `aliyun` or `acs:`. The tag key cannot contain `http://` or `https://`.
|
|
380
344
|
*
|
|
381
345
|
* @example
|
|
382
346
|
* TestKey
|
|
@@ -384,7 +348,7 @@ export declare class CreateInstanceRequestTag extends $dara.Model {
|
|
|
384
348
|
key?: string;
|
|
385
349
|
/**
|
|
386
350
|
* @remarks
|
|
387
|
-
*
|
|
351
|
+
* The tag value for the instance, disk, and primary ENI. Valid values of N: 1 to 20. The tag value can be an empty string. The tag value can be up to 128 characters in length and cannot contain `http://` or `https://`.
|
|
388
352
|
*
|
|
389
353
|
* @example
|
|
390
354
|
* TestValue
|
|
@@ -407,13 +371,13 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
407
371
|
systemDisk?: CreateInstanceRequestSystemDisk;
|
|
408
372
|
/**
|
|
409
373
|
* @remarks
|
|
410
|
-
*
|
|
374
|
+
* Specifies whether the instance is associated with a dedicated host. Valid values:
|
|
411
375
|
*
|
|
412
|
-
* - default
|
|
376
|
+
* - default: The instance is not associated with a dedicated host. When an instance that has economical mode enabled is restarted after it is stopped, the instance is deployed to another dedicated host in the automatic deployment resource pool if the resources of the original dedicated host are insufficient.
|
|
413
377
|
*
|
|
414
|
-
* - host
|
|
378
|
+
* - host: The instance is associated with a dedicated host. When an instance that has economical mode enabled is restarted after it is stopped, the instance remains on the original dedicated host. If the resources of the original dedicated host are insufficient, the instance fails to restart.
|
|
415
379
|
*
|
|
416
|
-
*
|
|
380
|
+
* Default value: default.
|
|
417
381
|
*
|
|
418
382
|
* @example
|
|
419
383
|
* default
|
|
@@ -426,11 +390,10 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
426
390
|
arn?: CreateInstanceRequestArn[];
|
|
427
391
|
/**
|
|
428
392
|
* @remarks
|
|
429
|
-
* Specifies whether to enable auto-renewal
|
|
393
|
+
* Specifies whether to enable auto-renewal. This parameter takes effect only when `InstanceChargeType` is set to `PrePaid`. Valid values:
|
|
430
394
|
*
|
|
431
395
|
* - true: enables auto-renewal.
|
|
432
|
-
*
|
|
433
|
-
* - false: disables auto-renewal. (Default)
|
|
396
|
+
* - false (default): disables auto-renewal.
|
|
434
397
|
*
|
|
435
398
|
* @example
|
|
436
399
|
* true
|
|
@@ -438,15 +401,11 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
438
401
|
autoRenew?: boolean;
|
|
439
402
|
/**
|
|
440
403
|
* @remarks
|
|
441
|
-
* The auto-renewal
|
|
442
|
-
*
|
|
443
|
-
* <props="china">
|
|
444
|
-
*
|
|
445
|
-
* If `PeriodUnit` is set to `Week`, valid values of `AutoRenewPeriod` are 1, 2, and 3.
|
|
404
|
+
* The auto-renewal period. This parameter is required when AutoRenew is set to True.
|
|
446
405
|
*
|
|
406
|
+
* <props="china">If PeriodUnit is set to Week, valid values of AutoRenewPeriod are 1, 2, and 3.
|
|
447
407
|
*
|
|
448
|
-
*
|
|
449
|
-
* If `PeriodUnit` is set to `Month`, valid values of `AutoRenewPeriod` are 1, 2, 3, 6, and 12.
|
|
408
|
+
* If PeriodUnit is set to Month, valid values of AutoRenewPeriod are 1, 2, 3, 6, and 12.
|
|
450
409
|
*
|
|
451
410
|
* @example
|
|
452
411
|
* 2
|
|
@@ -454,7 +413,7 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
454
413
|
autoRenewPeriod?: number;
|
|
455
414
|
/**
|
|
456
415
|
* @remarks
|
|
457
|
-
*
|
|
416
|
+
* The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but 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).
|
|
458
417
|
*
|
|
459
418
|
* @example
|
|
460
419
|
* 123e4567-e89b-12d3-a456-426655440000
|
|
@@ -462,9 +421,9 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
462
421
|
clientToken?: string;
|
|
463
422
|
/**
|
|
464
423
|
* @remarks
|
|
465
|
-
* The ID of the
|
|
424
|
+
* The cluster ID of the instance.
|
|
466
425
|
*
|
|
467
|
-
* > This parameter
|
|
426
|
+
* > This parameter will be deprecated. To improve compatibility, use other parameters instead.
|
|
468
427
|
*
|
|
469
428
|
* @example
|
|
470
429
|
* c-bp67acfmxazb4p****
|
|
@@ -472,11 +431,10 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
472
431
|
clusterId?: string;
|
|
473
432
|
/**
|
|
474
433
|
* @remarks
|
|
475
|
-
* The performance mode of the burstable
|
|
476
|
-
*
|
|
477
|
-
* - `Standard`: standard mode. For more information about the performance of burstable performance instances, see the "Standard mode" section in [Burstable performance instances](https://help.aliyun.com/document_detail/59977.html).
|
|
434
|
+
* The performance mode of the burstable instance. Valid values:
|
|
478
435
|
*
|
|
479
|
-
* -
|
|
436
|
+
* - Standard: standard mode. For more information, see the performance constrained mode section in [What are burstable instances](https://help.aliyun.com/document_detail/59977.html).
|
|
437
|
+
* - Unlimited: unlimited mode. For more information, see the unlimited performance mode section in [What are burstable instances](https://help.aliyun.com/document_detail/59977.html).
|
|
480
438
|
*
|
|
481
439
|
* @example
|
|
482
440
|
* Standard
|
|
@@ -484,23 +442,17 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
484
442
|
creditSpecification?: string;
|
|
485
443
|
/**
|
|
486
444
|
* @remarks
|
|
487
|
-
* The data disks.
|
|
445
|
+
* The list of data disks.
|
|
488
446
|
*/
|
|
489
447
|
dataDisk?: CreateInstanceRequestDataDisk[];
|
|
490
448
|
/**
|
|
491
449
|
* @remarks
|
|
492
450
|
* The ID of the dedicated host.
|
|
493
|
-
* <props="china">You can call
|
|
494
|
-
*
|
|
495
|
-
* <props="intl">
|
|
496
|
-
*
|
|
497
|
-
* You can call the [DescribeDedicatedHosts](https://help.aliyun.com/document_detail/134242.html) operation to query the list of dedicated host IDs.
|
|
498
|
-
*
|
|
451
|
+
* <props="china">You can call [DescribeDedicatedHosts](https://help.aliyun.com/document_detail/134242.html) to query the list of dedicated host IDs.
|
|
499
452
|
*
|
|
453
|
+
* <props="intl">You can call [DescribeDedicatedHosts](https://help.aliyun.com/document_detail/134242.html) to query the list of dedicated host IDs.
|
|
500
454
|
*
|
|
501
|
-
* >Notice:
|
|
502
|
-
*
|
|
503
|
-
* You cannot create spot instances on dedicated hosts. If you specify `DedicatedHostId`, the `SpotStrategy` and `SpotPriceLimit` parameters are ignored.
|
|
455
|
+
* >Notice: Spot instances cannot be created on dedicated hosts. If you specify `DedicatedHostId`, the `SpotStrategy` and `SpotPriceLimit` settings in the request are automatically ignored.
|
|
504
456
|
*
|
|
505
457
|
* @example
|
|
506
458
|
* dh-bp67acfmxazb4p****
|
|
@@ -508,13 +460,12 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
508
460
|
dedicatedHostId?: string;
|
|
509
461
|
/**
|
|
510
462
|
* @remarks
|
|
511
|
-
*
|
|
512
|
-
*
|
|
513
|
-
* - `true`: enables deletion protection.
|
|
463
|
+
* The release protection attribute of the instance. Specifies whether the instance can be released from the ECS console or by calling [DeleteInstance](https://help.aliyun.com/document_detail/25507.html).
|
|
514
464
|
*
|
|
515
|
-
* -
|
|
465
|
+
* - true: enables release protection.
|
|
466
|
+
* - false (default): disables release protection.
|
|
516
467
|
*
|
|
517
|
-
* > This
|
|
468
|
+
* > This attribute is applicable only to pay-as-you-go instances. It can only prevent manual release, not system-initiated release.
|
|
518
469
|
*
|
|
519
470
|
* @example
|
|
520
471
|
* false
|
|
@@ -522,7 +473,7 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
522
473
|
deletionProtection?: boolean;
|
|
523
474
|
/**
|
|
524
475
|
* @remarks
|
|
525
|
-
*
|
|
476
|
+
* The group number of the instance in the deployment set. This parameter takes effect only when the deployment set uses the high availability group strategy (AvailabilityGroup). Valid values: 1 to 7.
|
|
526
477
|
*
|
|
527
478
|
* @example
|
|
528
479
|
* 1
|
|
@@ -548,11 +499,10 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
548
499
|
description?: string;
|
|
549
500
|
/**
|
|
550
501
|
* @remarks
|
|
551
|
-
* Specifies whether to perform a dry run
|
|
552
|
-
*
|
|
553
|
-
* - `true`: Performs a dry run to check the request for issues like parameter validity and permissions, without creating the instance. If the check succeeds, a `DryRunOperation` error code is returned. If the check fails, an error message is returned.
|
|
502
|
+
* Specifies whether to perform only a dry run. Valid values:
|
|
554
503
|
*
|
|
555
|
-
* -
|
|
504
|
+
* - true: performs only a dry run. The system checks whether the required parameters are specified, whether the request format is valid, whether service limits are met, and whether the specified ECS resources are available. If the check fails, the corresponding error is returned. If the check succeeds, the `DryRunOperation` error code is returned.
|
|
505
|
+
* - false (default): performs a dry run and sends the request. If the check succeeds, the instance is created.
|
|
556
506
|
*
|
|
557
507
|
* @example
|
|
558
508
|
* false
|
|
@@ -560,13 +510,11 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
560
510
|
dryRun?: boolean;
|
|
561
511
|
/**
|
|
562
512
|
* @remarks
|
|
563
|
-
* The hostname of the
|
|
513
|
+
* The hostname of the server.
|
|
564
514
|
*
|
|
565
|
-
* - The
|
|
566
|
-
*
|
|
567
|
-
* -
|
|
568
|
-
*
|
|
569
|
-
* - For other operating systems, such as Linux: The hostname must be 2 to 64 characters long. You can use periods (.) as separators. The segments between periods can contain letters, digits, and hyphens (-).
|
|
515
|
+
* - The hostname cannot start or end with a period (.) or hyphen (-), and cannot contain consecutive periods or hyphens.
|
|
516
|
+
* - Windows instances: The hostname must be 2 to 15 characters in length and cannot contain periods (.) or consist entirely of digits. It can contain uppercase and lowercase letters, digits, and hyphens (-).
|
|
517
|
+
* - Other instances (such as Linux): The hostname must be 2 to 64 characters in length and can contain multiple periods (.). Each segment separated by a period can contain uppercase and lowercase letters, digits, and hyphens (-).
|
|
570
518
|
*
|
|
571
519
|
* @example
|
|
572
520
|
* LocalHostName
|
|
@@ -583,13 +531,10 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
583
531
|
/**
|
|
584
532
|
* @remarks
|
|
585
533
|
* Specifies whether to enable the access channel for instance metadata. Valid values:
|
|
534
|
+
* - enabled: enabled.
|
|
535
|
+
* - disabled: disabled.
|
|
586
536
|
*
|
|
587
|
-
*
|
|
588
|
-
*
|
|
589
|
-
* - `disabled`
|
|
590
|
-
*
|
|
591
|
-
* Default value: `enabled`.
|
|
592
|
-
*
|
|
537
|
+
* Default value: enabled.
|
|
593
538
|
* > For more information about instance metadata, see [Overview of instance metadata](https://help.aliyun.com/document_detail/49122.html).
|
|
594
539
|
*
|
|
595
540
|
* @example
|
|
@@ -606,15 +551,12 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
606
551
|
httpPutResponseHopLimit?: number;
|
|
607
552
|
/**
|
|
608
553
|
* @remarks
|
|
609
|
-
* Specifies whether to
|
|
610
|
-
*
|
|
611
|
-
* -
|
|
612
|
-
*
|
|
613
|
-
* - `required`: enforces the use of IMDSv2. If you set this value, you cannot use IMDSv1 to access instance metadata.
|
|
614
|
-
*
|
|
615
|
-
* Default value: `optional`.
|
|
554
|
+
* Specifies whether to forcefully use the security-hardened mode (IMDSv2) to access instance metadata. Valid values:
|
|
555
|
+
* - optional: does not forcefully use the security-hardened mode.
|
|
556
|
+
* - required: forcefully uses the security-hardened mode. After this value is set, instance metadata cannot be accessed in normal mode.
|
|
616
557
|
*
|
|
617
|
-
*
|
|
558
|
+
* Default value: optional.
|
|
559
|
+
* > For more information about the modes for accessing instance metadata, see [Instance metadata access modes](https://help.aliyun.com/document_detail/150575.html).
|
|
618
560
|
*
|
|
619
561
|
* @example
|
|
620
562
|
* optional
|
|
@@ -622,11 +564,9 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
622
564
|
httpTokens?: string;
|
|
623
565
|
/**
|
|
624
566
|
* @remarks
|
|
625
|
-
* The name of the image family.
|
|
626
|
-
*
|
|
627
|
-
* - If `ImageId` is specified,
|
|
628
|
-
*
|
|
629
|
-
* - If `ImageId` is not specified, you can specify this parameter.
|
|
567
|
+
* The name of the image family. Set this parameter to obtain the latest available image from the specified image family to create the instance.
|
|
568
|
+
* - If `ImageId` is specified, you cannot set this parameter.
|
|
569
|
+
* - If `ImageId` is not specified, you can set this parameter.
|
|
630
570
|
*
|
|
631
571
|
* @example
|
|
632
572
|
* hangzhou-daily-update
|
|
@@ -634,7 +574,7 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
634
574
|
imageFamily?: string;
|
|
635
575
|
/**
|
|
636
576
|
* @remarks
|
|
637
|
-
* The ID of the image used to
|
|
577
|
+
* The ID of the image used to start the instance. To use an Alibaba Cloud Marketplace image, you can view the `ImageId` on the image product page. If you do not use `ImageFamily` to select the latest available image from an image family, this parameter is required.
|
|
638
578
|
*
|
|
639
579
|
* @example
|
|
640
580
|
* ubuntu_18_04_64_20G_alibase_20190624.vhd
|
|
@@ -652,9 +592,8 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
652
592
|
* @remarks
|
|
653
593
|
* The billing method of the instance. Valid values:
|
|
654
594
|
*
|
|
655
|
-
* -
|
|
656
|
-
*
|
|
657
|
-
* - `PostPaid`: pay-as-you-go. This is the default value.
|
|
595
|
+
* - PrePaid: subscription. If you set this parameter to PrePaid, make sure that your account supports credit payment or balance payment. Otherwise, an `InvalidPayMethod` error is returned.
|
|
596
|
+
* - PostPaid (default): pay-as-you-go.
|
|
658
597
|
*
|
|
659
598
|
* @example
|
|
660
599
|
* PrePaid
|
|
@@ -662,7 +601,7 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
662
601
|
instanceChargeType?: string;
|
|
663
602
|
/**
|
|
664
603
|
* @remarks
|
|
665
|
-
* The name of the instance. The name must be 2 to 128 characters
|
|
604
|
+
* The name of the instance. The name must be 2 to 128 characters in length and can contain letters in the Unicode letter category (including English and Chinese characters) and digits. The name can contain colons (:), underscores (_), periods (.), or hyphens (-). If this parameter is not specified, the default value is the instance ID.
|
|
666
605
|
*
|
|
667
606
|
* @example
|
|
668
607
|
* k8s-node-[1,4]-alibabacloud
|
|
@@ -672,9 +611,8 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
672
611
|
* @remarks
|
|
673
612
|
* The instance type.
|
|
674
613
|
*
|
|
675
|
-
* -
|
|
676
|
-
*
|
|
677
|
-
* - Query available resources: Call the [DescribeAvailableResource](https://help.aliyun.com/document_detail/66186.html) operation to query available resources in a specific region or zone.
|
|
614
|
+
* - Instance type selection: See [Instance family](https://help.aliyun.com/document_detail/25378.html) or invoke [DescribeInstanceTypes](https://help.aliyun.com/document_detail/25620.html) to query the performance data of the target instance type. You can also see [Best practices for instance type selection](https://help.aliyun.com/document_detail/58291.html) to learn how to select an instance type.
|
|
615
|
+
* - Check active resources: Invoke [DescribeAvailableResource](https://help.aliyun.com/document_detail/66186.html) to query active resources in a specific region or zone.
|
|
678
616
|
*
|
|
679
617
|
* This parameter is required.
|
|
680
618
|
*
|
|
@@ -684,13 +622,12 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
684
622
|
instanceType?: string;
|
|
685
623
|
/**
|
|
686
624
|
* @remarks
|
|
687
|
-
* The
|
|
688
|
-
*
|
|
689
|
-
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
625
|
+
* The billing method for network usage. Valid values:
|
|
690
626
|
*
|
|
691
|
-
* -
|
|
627
|
+
* - PayByBandwidth: pay-by-bandwidth.
|
|
628
|
+
* - PayByTraffic (default): pay-by-traffic.
|
|
692
629
|
*
|
|
693
|
-
* >
|
|
630
|
+
* > In **pay-by-traffic** mode, the peak inbound and outbound bandwidths are both upper limits and are not guaranteed. When resource contention occurs, the peak bandwidth may be throttled. If your workloads require guaranteed bandwidth, use **pay-by-bandwidth** mode.
|
|
694
631
|
*
|
|
695
632
|
* @example
|
|
696
633
|
* PayByTraffic
|
|
@@ -698,11 +635,10 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
698
635
|
internetChargeType?: string;
|
|
699
636
|
/**
|
|
700
637
|
* @remarks
|
|
701
|
-
* The maximum inbound public bandwidth
|
|
702
|
-
*
|
|
703
|
-
* - If `InternetMaxBandwidthOut` is 10 or less, the value of this parameter is an integer from 1 to 10. Default value: 10.
|
|
638
|
+
* The maximum inbound public bandwidth, in Mbit/s. Valid values:
|
|
704
639
|
*
|
|
705
|
-
* - If
|
|
640
|
+
* - If the purchased outbound bandwidth is less than or equal to 10 Mbit/s: 1 to 10. Default value: 10.
|
|
641
|
+
* - If the purchased outbound bandwidth is greater than 10 Mbit/s: 1 to the value of `InternetMaxBandwidthOut`. Default value: the value of `InternetMaxBandwidthOut`.
|
|
706
642
|
*
|
|
707
643
|
* @example
|
|
708
644
|
* 50
|
|
@@ -710,7 +646,7 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
710
646
|
internetMaxBandwidthIn?: number;
|
|
711
647
|
/**
|
|
712
648
|
* @remarks
|
|
713
|
-
* The maximum outbound public bandwidth
|
|
649
|
+
* The maximum outbound public bandwidth, in Mbit/s. Valid values: 0 to 100.
|
|
714
650
|
*
|
|
715
651
|
* Default value: 0.
|
|
716
652
|
*
|
|
@@ -720,15 +656,14 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
720
656
|
internetMaxBandwidthOut?: number;
|
|
721
657
|
/**
|
|
722
658
|
* @remarks
|
|
723
|
-
*
|
|
659
|
+
* Specifies whether the instance is I/O optimized. Valid values:
|
|
724
660
|
*
|
|
725
|
-
* - none
|
|
661
|
+
* - none: not I/O optimized.
|
|
662
|
+
* - optimized: I/O optimized.
|
|
726
663
|
*
|
|
727
|
-
*
|
|
664
|
+
* The default value for [retired instance types](https://help.aliyun.com/document_detail/55263.html) is none.
|
|
728
665
|
*
|
|
729
|
-
*
|
|
730
|
-
*
|
|
731
|
-
* 其他实例规格默认值是 optimized。
|
|
666
|
+
* The default value for other instance types is optimized.
|
|
732
667
|
*
|
|
733
668
|
* @example
|
|
734
669
|
* optimized
|
|
@@ -738,7 +673,7 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
738
673
|
* @remarks
|
|
739
674
|
* The name of the key pair.
|
|
740
675
|
*
|
|
741
|
-
* > For Windows instances, this parameter is ignored
|
|
676
|
+
* > For Windows instances, this parameter is ignored. The default value is empty. Even if this parameter is specified, only the `Password` content is used.
|
|
742
677
|
*
|
|
743
678
|
* @example
|
|
744
679
|
* KeyPairTestName
|
|
@@ -756,19 +691,17 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
756
691
|
ownerId?: number;
|
|
757
692
|
/**
|
|
758
693
|
* @remarks
|
|
759
|
-
* 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
|
|
694
|
+
* 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:
|
|
760
695
|
*
|
|
761
696
|
* ```
|
|
762
697
|
* ()`~!@#$%^&*-_+=|{}[]:;\\"<>,.?/
|
|
763
698
|
* ```
|
|
764
699
|
*
|
|
765
|
-
* Note the following:
|
|
766
|
-
*
|
|
767
|
-
* - If you specify the `Password` parameter, send the request over HTTPS to prevent the password from being leaked.
|
|
700
|
+
* Note the following items:
|
|
768
701
|
*
|
|
702
|
+
* - For security purposes, use HTTPS to send requests if the Password parameter is specified.
|
|
769
703
|
* - For Windows instances, the password cannot start with a forward slash (/).
|
|
770
|
-
*
|
|
771
|
-
* - Some operating systems, such as Others Linux and Fedora CoreOS, do not support password-based logon. For these, you must use a key pair.
|
|
704
|
+
* - For instances that run certain operating systems, passwords are not supported. Only key pairs are supported. Examples: Others Linux and Fedora CoreOS.
|
|
772
705
|
*
|
|
773
706
|
* @example
|
|
774
707
|
* TestEcs123!
|
|
@@ -776,7 +709,7 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
776
709
|
password?: string;
|
|
777
710
|
/**
|
|
778
711
|
* @remarks
|
|
779
|
-
* Specifies whether to use the password
|
|
712
|
+
* Specifies whether to use the password preset in the image. When you use this parameter, the Password parameter must be empty. Make sure that the image has a password configured.
|
|
780
713
|
*
|
|
781
714
|
* @example
|
|
782
715
|
* false
|
|
@@ -784,25 +717,17 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
784
717
|
passwordInherit?: boolean;
|
|
785
718
|
/**
|
|
786
719
|
* @remarks
|
|
787
|
-
* The subscription duration of the
|
|
720
|
+
* The subscription duration of the instance. The unit is specified by `PeriodUnit`. This parameter is required and takes effect only when `InstanceChargeType` is set to `PrePaid`. If `DedicatedHostId` is specified, the value of this parameter cannot exceed the subscription duration of the dedicated host. Valid values:
|
|
788
721
|
*
|
|
789
722
|
* <props="china">
|
|
790
|
-
*
|
|
791
|
-
* - If
|
|
792
|
-
*
|
|
793
|
-
* - If `PeriodUnit` is set to `Month`: 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, and 60.
|
|
723
|
+
* - If PeriodUnit is set to Week, valid values of Period are 1, 2, 3, and 4.
|
|
724
|
+
* - If PeriodUnit is set to Month, valid values of Period are 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, and 60.
|
|
794
725
|
*
|
|
795
726
|
*
|
|
796
727
|
*
|
|
797
|
-
* <props="intl">
|
|
728
|
+
* <props="intl">If PeriodUnit is set to Month, valid values of Period are 1, 2, 3, 6, and 12.
|
|
798
729
|
*
|
|
799
|
-
* If
|
|
800
|
-
*
|
|
801
|
-
*
|
|
802
|
-
*
|
|
803
|
-
* <props="partner">
|
|
804
|
-
*
|
|
805
|
-
* If `PeriodUnit` is set to `Month`, valid values are 1, 2, 3, 6, and 12.
|
|
730
|
+
* <props="partner">If PeriodUnit is set to Month, valid values of Period are 1, 2, 3, 6, and 12.
|
|
806
731
|
*
|
|
807
732
|
* @example
|
|
808
733
|
* 1
|
|
@@ -813,24 +738,14 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
813
738
|
* The unit of the subscription duration. Valid values:
|
|
814
739
|
*
|
|
815
740
|
* <props="china">
|
|
741
|
+
* - Week.
|
|
742
|
+
* - Month.
|
|
816
743
|
*
|
|
817
|
-
* - Week
|
|
818
|
-
*
|
|
819
|
-
* - Month
|
|
820
744
|
*
|
|
821
745
|
*
|
|
746
|
+
* <props="intl">Month.
|
|
822
747
|
*
|
|
823
|
-
* <props="
|
|
824
|
-
*
|
|
825
|
-
* Month
|
|
826
|
-
*
|
|
827
|
-
*
|
|
828
|
-
*
|
|
829
|
-
* <props="partner">
|
|
830
|
-
*
|
|
831
|
-
* Month
|
|
832
|
-
*
|
|
833
|
-
*
|
|
748
|
+
* <props="partner">Month.
|
|
834
749
|
*
|
|
835
750
|
* Default value: Month.
|
|
836
751
|
*
|
|
@@ -840,7 +755,7 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
840
755
|
periodUnit?: string;
|
|
841
756
|
/**
|
|
842
757
|
* @remarks
|
|
843
|
-
* The private IP address of the instance. The IP address must be an available address
|
|
758
|
+
* The private IP address of the instance. The IP address must be an available address within the CIDR block of the specified vSwitch (VSwitchId).
|
|
844
759
|
*
|
|
845
760
|
* @example
|
|
846
761
|
* 172.16.236.*
|
|
@@ -848,7 +763,7 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
848
763
|
privateIpAddress?: string;
|
|
849
764
|
/**
|
|
850
765
|
* @remarks
|
|
851
|
-
* The name of the instance RAM role. You can call the RAM API
|
|
766
|
+
* The name of the instance RAM role. You can call the RAM API [ListRoles](https://help.aliyun.com/document_detail/28713.html) to query the instance RAM roles that you have created.
|
|
852
767
|
*
|
|
853
768
|
* @example
|
|
854
769
|
* RAMTestName
|
|
@@ -856,7 +771,7 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
856
771
|
ramRoleName?: string;
|
|
857
772
|
/**
|
|
858
773
|
* @remarks
|
|
859
|
-
* The ID of the
|
|
774
|
+
* The region ID of the instance. You can call [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) to query the most recent region list.
|
|
860
775
|
*
|
|
861
776
|
* This parameter is required.
|
|
862
777
|
*
|
|
@@ -866,7 +781,7 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
866
781
|
regionId?: string;
|
|
867
782
|
/**
|
|
868
783
|
* @remarks
|
|
869
|
-
* The ID of the resource group to which the instance belongs.
|
|
784
|
+
* The ID of the enterprise resource group to which the instance belongs.
|
|
870
785
|
*
|
|
871
786
|
* @example
|
|
872
787
|
* rg-bp67acfmxazb4p****
|
|
@@ -878,9 +793,8 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
878
793
|
* @remarks
|
|
879
794
|
* Specifies whether to enable security hardening. Valid values:
|
|
880
795
|
*
|
|
881
|
-
* -
|
|
882
|
-
*
|
|
883
|
-
* - `Deactive`: disables security hardening. This setting is valid for all image types.
|
|
796
|
+
* - Active: enables security hardening. This value is applicable only to public images.
|
|
797
|
+
* - Deactive: disables security hardening. This value is applicable to all image types.
|
|
884
798
|
*
|
|
885
799
|
* @example
|
|
886
800
|
* Active
|
|
@@ -888,7 +802,7 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
888
802
|
securityEnhancementStrategy?: string;
|
|
889
803
|
/**
|
|
890
804
|
* @remarks
|
|
891
|
-
* The ID of the security group to
|
|
805
|
+
* The ID of the security group to which the instance belongs.
|
|
892
806
|
*
|
|
893
807
|
* @example
|
|
894
808
|
* sg-bp15ed6xe1yxeycg****
|
|
@@ -896,17 +810,15 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
896
810
|
securityGroupId?: string;
|
|
897
811
|
/**
|
|
898
812
|
* @remarks
|
|
899
|
-
* The protection period of the spot instance
|
|
900
|
-
*
|
|
901
|
-
* - 1: Alibaba Cloud ensures that the instance runs for 1 hour without being automatically released. After 1 hour, the system compares your bid with the market price and checks the resource inventory to determine whether to retain or reclaim the instance.
|
|
813
|
+
* The protection period of the spot instance, in hours. Default value: 1. Valid values:
|
|
902
814
|
*
|
|
903
|
-
* -
|
|
815
|
+
* - 1: After the instance is created, Alibaba Cloud ensures that the instance is not automatically released for 1 hour. After 1 hour, the system automatically compares the bid price with the market price and checks resource availability to determine whether to retain automatic release the instance.
|
|
816
|
+
* - 0: After the instance is created, Alibaba Cloud does not ensure that the instance runs for 1 hour. The system automatically compares the bid price with the market price and checks resource availability to determine whether to retain automatic release the instance.
|
|
904
817
|
*
|
|
905
|
-
* > * This parameter supports only 0 and 1.
|
|
906
818
|
* >
|
|
907
|
-
* >
|
|
908
|
-
* >
|
|
909
|
-
* >
|
|
819
|
+
* > - This parameter supports only the value 0 or 1.
|
|
820
|
+
* > - Spot instances are billed by second. Set the protection period based on the expected task execution duration.
|
|
821
|
+
* > - Alibaba Cloud sends an ECS system event notification 5 minutes before the instance is released.
|
|
910
822
|
*
|
|
911
823
|
* @example
|
|
912
824
|
* 1
|
|
@@ -914,11 +826,11 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
914
826
|
spotDuration?: number;
|
|
915
827
|
/**
|
|
916
828
|
* @remarks
|
|
917
|
-
* The
|
|
829
|
+
* The break mode of the spot instance. Valid values:
|
|
918
830
|
*
|
|
919
|
-
* -
|
|
831
|
+
* - Terminate: The instance is directly released.
|
|
920
832
|
*
|
|
921
|
-
* -
|
|
833
|
+
* - Stop: The instance enters economical mode.
|
|
922
834
|
*
|
|
923
835
|
* For more information about economical mode, see [Economical mode for pay-as-you-go instances](https://help.aliyun.com/document_detail/63353.html).
|
|
924
836
|
*
|
|
@@ -930,7 +842,7 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
930
842
|
spotInterruptionBehavior?: string;
|
|
931
843
|
/**
|
|
932
844
|
* @remarks
|
|
933
|
-
* The maximum hourly price of the instance.
|
|
845
|
+
* The maximum hourly price of the instance. This value can be accurate to three decimal places. This parameter takes effect only when `SpotStrategy` is set to `SpotWithPriceLimit`.
|
|
934
846
|
*
|
|
935
847
|
* @example
|
|
936
848
|
* 0.98
|
|
@@ -938,13 +850,11 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
938
850
|
spotPriceLimit?: number;
|
|
939
851
|
/**
|
|
940
852
|
* @remarks
|
|
941
|
-
* The bidding policy for the instance. This parameter
|
|
942
|
-
*
|
|
943
|
-
* - `NoSpot`: The instance is created as a regular pay-as-you-go instance. This is the default value.
|
|
944
|
-
*
|
|
945
|
-
* - `SpotWithPriceLimit`: The instance is created as a spot instance with a user-defined maximum hourly price.
|
|
853
|
+
* The bidding policy for the instance. This parameter takes effect only when `InstanceChargeType` is set to `PostPaid`. Valid values:
|
|
946
854
|
*
|
|
947
|
-
* -
|
|
855
|
+
* - NoSpot (default): The instance is a regular pay-as-you-go instance.
|
|
856
|
+
* - SpotWithPriceLimit: The instance is a spot instance with a user-defined maximum hourly price.
|
|
857
|
+
* - SpotAsPriceGo: The instance is a spot instance for which the market price at the time of purchase is automatically used as the bid price.
|
|
948
858
|
*
|
|
949
859
|
* @example
|
|
950
860
|
* NoSpot
|
|
@@ -952,7 +862,7 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
952
862
|
spotStrategy?: string;
|
|
953
863
|
/**
|
|
954
864
|
* @remarks
|
|
955
|
-
*
|
|
865
|
+
* The ID of the storage set.
|
|
956
866
|
*
|
|
957
867
|
* @example
|
|
958
868
|
* ss-bp1j4i2jdf3owlhe****
|
|
@@ -960,7 +870,7 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
960
870
|
storageSetId?: string;
|
|
961
871
|
/**
|
|
962
872
|
* @remarks
|
|
963
|
-
* The maximum number of partitions in the storage set.
|
|
873
|
+
* The maximum number of partitions in the storage set. Valid values: greater than or equal to 2.
|
|
964
874
|
*
|
|
965
875
|
* @example
|
|
966
876
|
* 2
|
|
@@ -968,18 +878,18 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
968
878
|
storageSetPartitionNumber?: number;
|
|
969
879
|
/**
|
|
970
880
|
* @remarks
|
|
971
|
-
* The tags.
|
|
881
|
+
* The list of tags.
|
|
972
882
|
*/
|
|
973
883
|
tag?: CreateInstanceRequestTag[];
|
|
974
884
|
/**
|
|
975
885
|
* @remarks
|
|
976
|
-
* Specifies whether to
|
|
886
|
+
* Specifies whether to create the instance on a dedicated host. Valid values:
|
|
977
887
|
*
|
|
978
|
-
* -
|
|
888
|
+
* - default: creates the instance on a non-dedicated host.
|
|
979
889
|
*
|
|
980
|
-
* -
|
|
890
|
+
* - host: creates the instance on a dedicated host. If you do not specify `DedicatedHostId`, Alibaba Cloud automatically selects a dedicated host for the instance.
|
|
981
891
|
*
|
|
982
|
-
* Default value:
|
|
892
|
+
* Default value: default.
|
|
983
893
|
*
|
|
984
894
|
* @example
|
|
985
895
|
* default
|
|
@@ -987,7 +897,7 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
987
897
|
tenancy?: string;
|
|
988
898
|
/**
|
|
989
899
|
* @remarks
|
|
990
|
-
*
|
|
900
|
+
* Specifies whether to use the virtual machine system configuration provided by Alibaba Cloud (Windows: NTP and KMS. Linux: NTP and YUM).
|
|
991
901
|
*
|
|
992
902
|
* @example
|
|
993
903
|
* true
|
|
@@ -995,7 +905,7 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
995
905
|
useAdditionalService?: boolean;
|
|
996
906
|
/**
|
|
997
907
|
* @remarks
|
|
998
|
-
* The user data
|
|
908
|
+
* The instance user data. The data must be encoded in Base64. The maximum size of the raw data is 32 KB.
|
|
999
909
|
*
|
|
1000
910
|
* @example
|
|
1001
911
|
* ZWNobyBoZWxsbyBlY3Mh
|
|
@@ -1003,9 +913,9 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
1003
913
|
userData?: string;
|
|
1004
914
|
/**
|
|
1005
915
|
* @remarks
|
|
1006
|
-
*
|
|
916
|
+
* The vSwitch ID. This parameter is required when you create a VPC-connected instance. You can call [DescribeVSwitches](https://help.aliyun.com/document_detail/35748.html) to query available vSwitches.
|
|
1007
917
|
*
|
|
1008
|
-
* > If `VSwitchId
|
|
918
|
+
* > If you specify `VSwitchId`, the specified `ZoneId` must be in the same zone as the vSwitch. You can also leave `ZoneId` empty, and the system automatically selects the zone of the specified vSwitch.
|
|
1009
919
|
*
|
|
1010
920
|
* @example
|
|
1011
921
|
* vsw-bp1s5fnvk4gn2tws0****
|
|
@@ -1013,7 +923,7 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
1013
923
|
vSwitchId?: string;
|
|
1014
924
|
/**
|
|
1015
925
|
* @remarks
|
|
1016
|
-
* The
|
|
926
|
+
* The virtual local area network ID.
|
|
1017
927
|
*
|
|
1018
928
|
* @example
|
|
1019
929
|
* 10
|
|
@@ -1021,11 +931,11 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
1021
931
|
vlanId?: string;
|
|
1022
932
|
/**
|
|
1023
933
|
* @remarks
|
|
1024
|
-
* The ID of the
|
|
934
|
+
* The zone ID of the instance. For more information, call [DescribeZones](https://help.aliyun.com/document_detail/25610.html) to query the zone list.
|
|
1025
935
|
*
|
|
1026
|
-
* > If `VSwitchId
|
|
936
|
+
* > If you specify `VSwitchId`, the specified `ZoneId` must be in the same zone as the vSwitch. You can also leave `ZoneId` empty, and the system automatically selects the zone of the specified vSwitch.
|
|
1027
937
|
*
|
|
1028
|
-
* Default value: empty
|
|
938
|
+
* Default value: empty. The system automatically selects a zone.
|
|
1029
939
|
*
|
|
1030
940
|
* @example
|
|
1031
941
|
* cn-hangzhou-g
|