@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
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class CreateLaunchTemplateVersionRequestSystemDisk extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The ID of the automatic snapshot policy
|
|
5
|
+
* The ID of the automatic snapshot policy applied to the system disk.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* sp-bp1dgzpaxwc4load****
|
|
@@ -12,8 +12,7 @@ export declare class CreateLaunchTemplateVersionRequestSystemDisk extends $dara.
|
|
|
12
12
|
* @remarks
|
|
13
13
|
* Specifies whether to enable the performance burst feature. Valid values:
|
|
14
14
|
*
|
|
15
|
-
* - true:
|
|
16
|
-
*
|
|
15
|
+
* - true: enables the performance burst feature.
|
|
17
16
|
* - false: does not enable the performance burst feature.
|
|
18
17
|
*
|
|
19
18
|
* @example
|
|
@@ -24,19 +23,14 @@ export declare class CreateLaunchTemplateVersionRequestSystemDisk extends $dara.
|
|
|
24
23
|
* @remarks
|
|
25
24
|
* The category of the system disk. Valid values:
|
|
26
25
|
*
|
|
27
|
-
* -
|
|
28
|
-
*
|
|
29
|
-
* -
|
|
30
|
-
*
|
|
31
|
-
* -
|
|
32
|
-
*
|
|
33
|
-
* - cloud_auto: Enterprise SSD (ESSD) AutoPL disk.
|
|
34
|
-
*
|
|
35
|
-
* - cloud_essd: ESSD. You can use `SystemDisk.PerformanceLevel` to set the performance level of the ESSD to use as the system disk.
|
|
36
|
-
*
|
|
26
|
+
* - cloud: basic disk.
|
|
27
|
+
* - cloud_efficiency: ultra disk.
|
|
28
|
+
* - cloud_ssd: standard SSD.
|
|
29
|
+
* - cloud_auto: ESSD AutoPL disk.
|
|
30
|
+
* - cloud_essd: enterprise SSD (ESSD). You can use the `SystemDisk.PerformanceLevel` parameter to configure the performance level of the disk.
|
|
37
31
|
* - cloud_essd_entry: ESSD Entry disk.
|
|
38
32
|
*
|
|
39
|
-
* For
|
|
33
|
+
* For retired instance types that are not I/O optimization instances, the default value is cloud. For other instance types, the default value is cloud_efficiency.
|
|
40
34
|
*
|
|
41
35
|
* @example
|
|
42
36
|
* cloud_ssd
|
|
@@ -46,9 +40,8 @@ export declare class CreateLaunchTemplateVersionRequestSystemDisk extends $dara.
|
|
|
46
40
|
* @remarks
|
|
47
41
|
* Specifies whether to release the system disk when the instance is released. Valid values:
|
|
48
42
|
*
|
|
49
|
-
* - true
|
|
50
|
-
*
|
|
51
|
-
* - false
|
|
43
|
+
* - true: releases the system disk when the instance is released.
|
|
44
|
+
* - false: does not release the system disk when the instance is released.
|
|
52
45
|
*
|
|
53
46
|
* Default value: true.
|
|
54
47
|
*
|
|
@@ -66,7 +59,7 @@ export declare class CreateLaunchTemplateVersionRequestSystemDisk extends $dara.
|
|
|
66
59
|
description?: string;
|
|
67
60
|
/**
|
|
68
61
|
* @remarks
|
|
69
|
-
* The name of the system disk. The name must be 2 to 128 characters in length.
|
|
62
|
+
* The name of the system disk. The name must be 2 to 128 characters in length. It must start with a letter and cannot start with `http://` or `https://`. It can contain digits, colons (:), underscores (_), and hyphens (-).
|
|
70
63
|
*
|
|
71
64
|
* @example
|
|
72
65
|
* cloud_ssdSystem
|
|
@@ -76,13 +69,13 @@ export declare class CreateLaunchTemplateVersionRequestSystemDisk extends $dara.
|
|
|
76
69
|
* @remarks
|
|
77
70
|
* Specifies whether to encrypt the system disk. Valid values:
|
|
78
71
|
*
|
|
79
|
-
* - true
|
|
72
|
+
* - true: encrypts the system disk.
|
|
80
73
|
*
|
|
81
|
-
* - false
|
|
74
|
+
* - false: does not encrypt the system disk.
|
|
82
75
|
*
|
|
83
|
-
* Default value: false
|
|
76
|
+
* Default value: false.
|
|
84
77
|
*
|
|
85
|
-
* >
|
|
78
|
+
* > System disk encryption is not supported in Zone D of the Hong Kong (China) region or Zone A of the Singapore region when you create an instance.
|
|
86
79
|
*
|
|
87
80
|
* @example
|
|
88
81
|
* false
|
|
@@ -98,7 +91,7 @@ export declare class CreateLaunchTemplateVersionRequestSystemDisk extends $dara.
|
|
|
98
91
|
iops?: number;
|
|
99
92
|
/**
|
|
100
93
|
* @remarks
|
|
101
|
-
* The
|
|
94
|
+
* The KMS key ID of the system disk.
|
|
102
95
|
*
|
|
103
96
|
* @example
|
|
104
97
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -106,17 +99,14 @@ export declare class CreateLaunchTemplateVersionRequestSystemDisk extends $dara.
|
|
|
106
99
|
KMSKeyId?: string;
|
|
107
100
|
/**
|
|
108
101
|
* @remarks
|
|
109
|
-
* The performance level of the ESSD
|
|
110
|
-
*
|
|
111
|
-
* - PL0: A single ESSD can deliver up to 10,000 random read/write IOPS.
|
|
112
|
-
*
|
|
113
|
-
* - PL1: A single ESSD can deliver up to 50,000 random read/write IOPS.
|
|
114
|
-
*
|
|
115
|
-
* - PL2: A single ESSD can deliver up to 100,000 random read/write IOPS.
|
|
102
|
+
* The performance level of the ESSD used as the system disk. Configure the performance level based on the following valid values:
|
|
116
103
|
*
|
|
117
|
-
* -
|
|
104
|
+
* - PL0 (default): A single disk can deliver up to 10,000 random read/write IOPS.
|
|
105
|
+
* - PL1: A single disk can deliver up to 50,000 random read/write IOPS.
|
|
106
|
+
* - PL2: A single disk can deliver up to 100,000 random read/write IOPS.
|
|
107
|
+
* - PL3: A single disk can deliver up to 1,000,000 random read/write IOPS.
|
|
118
108
|
*
|
|
119
|
-
* For
|
|
109
|
+
* For information about how to select an ESSD performance level, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
120
110
|
*
|
|
121
111
|
* @example
|
|
122
112
|
* PL0
|
|
@@ -124,11 +114,11 @@ export declare class CreateLaunchTemplateVersionRequestSystemDisk extends $dara.
|
|
|
124
114
|
performanceLevel?: string;
|
|
125
115
|
/**
|
|
126
116
|
* @remarks
|
|
127
|
-
* The provisioned read/write IOPS of the ESSD AutoPL disk
|
|
117
|
+
* The provisioned read/write IOPS of the ESSD AutoPL disk used as the system disk. Valid values: 0 to min{50000, 1000 × Capacity - Baseline Performance}.
|
|
128
118
|
*
|
|
129
|
-
* Baseline
|
|
119
|
+
* Baseline Performance = min{1,800 + 50 × Capacity, 50,000}.
|
|
130
120
|
*
|
|
131
|
-
* > This parameter is available only
|
|
121
|
+
* > This parameter is available only when DiskCategory is set to cloud_auto. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html) and [Modify the provisioned performance of an ESSD AutoPL disk](https://help.aliyun.com/document_detail/413275.html).
|
|
132
122
|
*
|
|
133
123
|
* @example
|
|
134
124
|
* 50000
|
|
@@ -138,11 +128,10 @@ export declare class CreateLaunchTemplateVersionRequestSystemDisk extends $dara.
|
|
|
138
128
|
* @remarks
|
|
139
129
|
* The size of the system disk. Unit: GiB. Valid values:
|
|
140
130
|
*
|
|
141
|
-
* -
|
|
131
|
+
* - cloud: 20 to 500.
|
|
132
|
+
* - Other disk categories: 20 to 2048.
|
|
142
133
|
*
|
|
143
|
-
*
|
|
144
|
-
*
|
|
145
|
-
* The value of this parameter must be at least 20 and greater than or equal to the size of the image.
|
|
134
|
+
* The value of this parameter must be greater than or equal to max{20, ImageSize}.
|
|
146
135
|
*
|
|
147
136
|
* @example
|
|
148
137
|
* 40
|
|
@@ -162,7 +151,7 @@ export declare class CreateLaunchTemplateVersionRequestSystemDisk extends $dara.
|
|
|
162
151
|
export declare class CreateLaunchTemplateVersionRequestDataDisk extends $dara.Model {
|
|
163
152
|
/**
|
|
164
153
|
* @remarks
|
|
165
|
-
* The ID of the automatic snapshot policy to
|
|
154
|
+
* The ID of the automatic snapshot policy applied to the data disk.
|
|
166
155
|
*
|
|
167
156
|
* @example
|
|
168
157
|
* sp-bp67acfmxazb4p****
|
|
@@ -170,11 +159,10 @@ export declare class CreateLaunchTemplateVersionRequestDataDisk extends $dara.Mo
|
|
|
170
159
|
autoSnapshotPolicyId?: string;
|
|
171
160
|
/**
|
|
172
161
|
* @remarks
|
|
173
|
-
* Specifies whether to enable the performance burst feature
|
|
174
|
-
*
|
|
175
|
-
* - true
|
|
162
|
+
* Specifies whether to enable the performance burst feature. Valid values:
|
|
176
163
|
*
|
|
177
|
-
* -
|
|
164
|
+
* - true: enables the performance burst feature.
|
|
165
|
+
* - false: does not enable the performance burst feature.
|
|
178
166
|
*
|
|
179
167
|
* @example
|
|
180
168
|
* true
|
|
@@ -184,19 +172,22 @@ export declare class CreateLaunchTemplateVersionRequestDataDisk extends $dara.Mo
|
|
|
184
172
|
* @remarks
|
|
185
173
|
* The category of data disk N. Valid values:
|
|
186
174
|
*
|
|
187
|
-
* -
|
|
188
|
-
*
|
|
189
|
-
* -
|
|
190
|
-
*
|
|
191
|
-
* -
|
|
192
|
-
*
|
|
193
|
-
* -
|
|
194
|
-
*
|
|
195
|
-
* -
|
|
175
|
+
* - cloud_efficiency: ultra disk.
|
|
176
|
+
* - cloud_ssd: standard SSD.
|
|
177
|
+
* - cloud_essd: enterprise SSD.
|
|
178
|
+
* - cloud: basic disk.
|
|
179
|
+
* - cloud_auto: ESSD AutoPL disk.
|
|
180
|
+
* - cloud_regional_disk_auto: regional ESSD.
|
|
181
|
+
* - cloud_essd_entry: ESSD Entry disk.
|
|
182
|
+
* >The cloud_essd_entry value is supported only when `InstanceType` is configured as an instance type in the `ecs.u1` or `ecs.e` family.
|
|
183
|
+
* - elastic_ephemeral_disk_standard: elastic ephemeral disk - Standard.
|
|
184
|
+
* - elastic_ephemeral_disk_premium: elastic ephemeral disk - Premium Edition.
|
|
196
185
|
*
|
|
197
|
-
* -
|
|
186
|
+
* For I/O optimization instances, the default value is cloud_efficiency. For non-I/O optimization instances, the default value is cloud.
|
|
187
|
+
* Default value details:
|
|
198
188
|
*
|
|
199
|
-
*
|
|
189
|
+
* - When InstanceType is set to a retired instance type that is not I/O optimized, the default parameter value is `cloud`.
|
|
190
|
+
* - In other cases, the default value is `cloud_efficiency`.<props="china">After January 30, 2026, when the I/O optimized instance type does not support cloud_auto, the default value is cloud_efficiency. Otherwise, the default value is cloud_auto, and the performance burst feature is enabled by default (which incurs additional fees. For details, see [Billing examples](~~368372#p_75k_2hp_7gp~~)). For more information, see [Change notice](https://www.aliyun.com/notice/117844).
|
|
200
191
|
*
|
|
201
192
|
* @example
|
|
202
193
|
* cloud_ssd
|
|
@@ -204,11 +195,10 @@ export declare class CreateLaunchTemplateVersionRequestDataDisk extends $dara.Mo
|
|
|
204
195
|
category?: string;
|
|
205
196
|
/**
|
|
206
197
|
* @remarks
|
|
207
|
-
* Specifies whether to release data disk
|
|
208
|
-
*
|
|
209
|
-
* - true
|
|
198
|
+
* Specifies whether to release the data disk when the instance is released. Valid values:
|
|
210
199
|
*
|
|
211
|
-
* -
|
|
200
|
+
* - true: releases the data disk when the instance is released.
|
|
201
|
+
* - false: does not release the data disk when the instance is released.
|
|
212
202
|
*
|
|
213
203
|
* Default value: true.
|
|
214
204
|
*
|
|
@@ -218,7 +208,7 @@ export declare class CreateLaunchTemplateVersionRequestDataDisk extends $dara.Mo
|
|
|
218
208
|
deleteWithInstance?: boolean;
|
|
219
209
|
/**
|
|
220
210
|
* @remarks
|
|
221
|
-
* The description of data disk
|
|
211
|
+
* The description of the data disk. The description must be 2 to 256 characters in length and cannot start with `http://` or `https://`.
|
|
222
212
|
*
|
|
223
213
|
* @example
|
|
224
214
|
* testDataDiskDescription
|
|
@@ -226,13 +216,12 @@ export declare class CreateLaunchTemplateVersionRequestDataDisk extends $dara.Mo
|
|
|
226
216
|
description?: string;
|
|
227
217
|
/**
|
|
228
218
|
* @remarks
|
|
229
|
-
* The mount point of data disk
|
|
230
|
-
*
|
|
231
|
-
* - 1st to 25th data disks: /dev/xvd`[b-z]`.
|
|
219
|
+
* The mount point of the data disk. The naming conventions for mount points vary based on the number of data disks attached:
|
|
220
|
+
* - 1 to 25 data disks: /dev/xvd`[b-z]`
|
|
232
221
|
*
|
|
233
|
-
* -
|
|
222
|
+
* - More than 25 data disks: /dev/xvd`[aa-zz]`. For example, the 26th data disk is named /dev/xvdaa, the 27th data disk is named /dev/xvdab, and so on.
|
|
234
223
|
*
|
|
235
|
-
* > This parameter is applicable
|
|
224
|
+
* > 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.
|
|
236
225
|
*
|
|
237
226
|
* @example
|
|
238
227
|
* /dev/xvdb
|
|
@@ -240,7 +229,7 @@ export declare class CreateLaunchTemplateVersionRequestDataDisk extends $dara.Mo
|
|
|
240
229
|
device?: string;
|
|
241
230
|
/**
|
|
242
231
|
* @remarks
|
|
243
|
-
* The name of data disk
|
|
232
|
+
* The name of the data disk. The name must be 2 to 128 characters in length. It must start with a letter and cannot start with `http://` or `https://`. It can contain digits, colons (:), underscores (_), and hyphens (-).
|
|
244
233
|
*
|
|
245
234
|
* @example
|
|
246
235
|
* testDataDiskName
|
|
@@ -248,7 +237,7 @@ export declare class CreateLaunchTemplateVersionRequestDataDisk extends $dara.Mo
|
|
|
248
237
|
diskName?: string;
|
|
249
238
|
/**
|
|
250
239
|
* @remarks
|
|
251
|
-
* Specifies whether to encrypt data disk
|
|
240
|
+
* Specifies whether to encrypt the data disk.
|
|
252
241
|
*
|
|
253
242
|
* @example
|
|
254
243
|
* false
|
|
@@ -256,7 +245,7 @@ export declare class CreateLaunchTemplateVersionRequestDataDisk extends $dara.Mo
|
|
|
256
245
|
encrypted?: string;
|
|
257
246
|
/**
|
|
258
247
|
* @remarks
|
|
259
|
-
* The
|
|
248
|
+
* The KMS key ID for the data disk.
|
|
260
249
|
*
|
|
261
250
|
* @example
|
|
262
251
|
* 0e478b7a-4262-4802-b8cb-00d****
|
|
@@ -264,17 +253,14 @@ export declare class CreateLaunchTemplateVersionRequestDataDisk extends $dara.Mo
|
|
|
264
253
|
KMSKeyId?: string;
|
|
265
254
|
/**
|
|
266
255
|
* @remarks
|
|
267
|
-
* The performance level of the ESSD
|
|
256
|
+
* The performance level of the ESSD used as a data disk. The value of N must be the same as that in `DataDisk.N.Category=cloud_essd`. Configure the performance level based on the following valid values:
|
|
268
257
|
*
|
|
269
|
-
* - PL0: A single
|
|
258
|
+
* - PL0: A single disk can deliver up to 10,000 random read/write IOPS.
|
|
259
|
+
* - PL1 (default): A single disk can deliver up to 50,000 random read/write IOPS.
|
|
260
|
+
* - PL2: A single disk can deliver up to 100,000 random read/write IOPS.
|
|
261
|
+
* - PL3: A single disk can deliver up to 1,000,000 random read/write IOPS.
|
|
270
262
|
*
|
|
271
|
-
*
|
|
272
|
-
*
|
|
273
|
-
* - PL2: A single ESSD can deliver up to 100000 random read/write IOPS.
|
|
274
|
-
*
|
|
275
|
-
* - PL3: A single ESSD can deliver up to 1000000 random read/write IOPS.
|
|
276
|
-
*
|
|
277
|
-
* For information about ESSD performance levels, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
263
|
+
* For information about how to select an ESSD performance level, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
278
264
|
*
|
|
279
265
|
* @example
|
|
280
266
|
* PL1
|
|
@@ -282,11 +268,11 @@ export declare class CreateLaunchTemplateVersionRequestDataDisk extends $dara.Mo
|
|
|
282
268
|
performanceLevel?: string;
|
|
283
269
|
/**
|
|
284
270
|
* @remarks
|
|
285
|
-
* The provisioned read/write IOPS of the ESSD AutoPL disk. Valid values: 0 to min{
|
|
271
|
+
* The provisioned read/write IOPS of the ESSD AutoPL disk used as the system disk. Valid values: 0 to min{50000, 1000 × Capacity - Baseline Performance}.
|
|
286
272
|
*
|
|
287
|
-
* Baseline
|
|
273
|
+
* Baseline Performance = min{1,800 + 50 × Capacity, 50,000}.
|
|
288
274
|
*
|
|
289
|
-
* > This parameter is available only
|
|
275
|
+
* > This parameter is available only when DiskCategory is set to cloud_auto. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html) and [Modify the provisioned performance of an ESSD AutoPL disk](https://help.aliyun.com/document_detail/413275.html).
|
|
290
276
|
*
|
|
291
277
|
* @example
|
|
292
278
|
* 50000
|
|
@@ -296,25 +282,16 @@ export declare class CreateLaunchTemplateVersionRequestDataDisk extends $dara.Mo
|
|
|
296
282
|
* @remarks
|
|
297
283
|
* The size of data disk N. Valid values of N: 1 to 16. Unit: GiB. Valid values:
|
|
298
284
|
*
|
|
299
|
-
* -
|
|
300
|
-
*
|
|
301
|
-
* -
|
|
302
|
-
*
|
|
303
|
-
*
|
|
304
|
-
*
|
|
305
|
-
*
|
|
306
|
-
*
|
|
307
|
-
*
|
|
308
|
-
*
|
|
309
|
-
* - Valid values if you set DataDisk.N.PerformanceLevel to PL1: 20 to 32768.
|
|
310
|
-
*
|
|
311
|
-
* - Valid values if you set DataDisk.N.PerformanceLevel to PL2: 461 to 32768.
|
|
312
|
-
*
|
|
313
|
-
* - Valid values if you set DataDisk.N.PerformanceLevel to PL3: 1261 to 32768.
|
|
314
|
-
*
|
|
315
|
-
* - Valid values if you set DataDisk.N.Category to cloud_auto: 1 to 32768.
|
|
316
|
-
*
|
|
317
|
-
* - Valid values if you set DataDisk.N.Category to cloud_essd_entry: 10 to 32768.
|
|
285
|
+
* - cloud: 5 to 2000.
|
|
286
|
+
* - cloud_efficiency: 20 to 32768.
|
|
287
|
+
* - cloud_ssd: 20 to 32768.
|
|
288
|
+
* - cloud_essd: The valid value range depends on the value of `DataDisk.N.PerformanceLevel`.
|
|
289
|
+
* - PL0: 1 to 32768.
|
|
290
|
+
* - PL1: 20 to 32768.
|
|
291
|
+
* - PL2: 461 to 32768.
|
|
292
|
+
* - PL3: 1261 to 32768.
|
|
293
|
+
* - cloud_auto: 1 to 32,768.
|
|
294
|
+
* - cloud_essd_entry: 10 to 32,768.
|
|
318
295
|
*
|
|
319
296
|
* The value of this parameter must be greater than or equal to the size of the snapshot specified by `SnapshotId`.
|
|
320
297
|
*
|
|
@@ -324,9 +301,9 @@ export declare class CreateLaunchTemplateVersionRequestDataDisk extends $dara.Mo
|
|
|
324
301
|
size?: number;
|
|
325
302
|
/**
|
|
326
303
|
* @remarks
|
|
327
|
-
* The ID of the snapshot
|
|
304
|
+
* The ID of the snapshot used to create data disk N. Valid values of N: 1 to 16. When `DataDisk.N.SnapshotId` is specified, `DataDisk.N.Size` is ignored. The actual size of the created disk is the size of the specified snapshot.
|
|
328
305
|
*
|
|
329
|
-
*
|
|
306
|
+
* Snapshots created on or before July 15, 2013 cannot be used. Requests that use such snapshots are rejected.
|
|
330
307
|
*
|
|
331
308
|
* @example
|
|
332
309
|
* s-bp17441ohwka0yuh****
|
|
@@ -346,11 +323,10 @@ export declare class CreateLaunchTemplateVersionRequestDataDisk extends $dara.Mo
|
|
|
346
323
|
export declare class CreateLaunchTemplateVersionRequestImageOptions extends $dara.Model {
|
|
347
324
|
/**
|
|
348
325
|
* @remarks
|
|
349
|
-
* Specifies whether
|
|
350
|
-
*
|
|
351
|
-
* - true
|
|
352
|
-
*
|
|
353
|
-
* - false
|
|
326
|
+
* Specifies whether instances that use this image support logon with the ecs-user user.
|
|
327
|
+
* Valid values:
|
|
328
|
+
* - true: supported.
|
|
329
|
+
* - false: not supported.
|
|
354
330
|
*
|
|
355
331
|
* @example
|
|
356
332
|
* false
|
|
@@ -370,11 +346,11 @@ export declare class CreateLaunchTemplateVersionRequestImageOptions extends $dar
|
|
|
370
346
|
export declare class CreateLaunchTemplateVersionRequestNetworkInterface extends $dara.Model {
|
|
371
347
|
/**
|
|
372
348
|
* @remarks
|
|
373
|
-
* Specifies whether to
|
|
349
|
+
* Specifies whether to retain the ENI when the instance is released. Valid values:
|
|
374
350
|
*
|
|
375
|
-
* - true
|
|
351
|
+
* - true: does not retain the ENI.
|
|
376
352
|
*
|
|
377
|
-
* - false
|
|
353
|
+
* - false: retains the ENI.
|
|
378
354
|
*
|
|
379
355
|
* Default value: true.
|
|
380
356
|
*
|
|
@@ -386,7 +362,7 @@ export declare class CreateLaunchTemplateVersionRequestNetworkInterface extends
|
|
|
386
362
|
deleteOnRelease?: boolean;
|
|
387
363
|
/**
|
|
388
364
|
* @remarks
|
|
389
|
-
* The description of the secondary
|
|
365
|
+
* The description of the secondary network interface controller (NIC). The description must be 2 to 256 characters in length and cannot start with `http://` or `https://`. The value of N in `NetworkInterface.N` cannot be greater than 1.
|
|
390
366
|
*
|
|
391
367
|
* @example
|
|
392
368
|
* testNetworkInterfaceDescription
|
|
@@ -394,13 +370,12 @@ export declare class CreateLaunchTemplateVersionRequestNetworkInterface extends
|
|
|
394
370
|
description?: string;
|
|
395
371
|
/**
|
|
396
372
|
* @remarks
|
|
397
|
-
* The type of ENI
|
|
373
|
+
* The type of the ENI. Valid values of N: 1 to 2. If you configure one ENI, you can configure either a primary network interface controller (NIC) or a secondary ENI. If you configure two ENIs, you must configure one primary NIC and one secondary ENI.
|
|
398
374
|
*
|
|
399
375
|
* Valid values:
|
|
400
376
|
*
|
|
401
|
-
* - Primary
|
|
402
|
-
*
|
|
403
|
-
* - Secondary
|
|
377
|
+
* - Primary: primary NIC.
|
|
378
|
+
* - Secondary: secondary ENI.
|
|
404
379
|
*
|
|
405
380
|
* Default value: Secondary.
|
|
406
381
|
*
|
|
@@ -410,7 +385,7 @@ export declare class CreateLaunchTemplateVersionRequestNetworkInterface extends
|
|
|
410
385
|
instanceType?: string;
|
|
411
386
|
/**
|
|
412
387
|
* @remarks
|
|
413
|
-
* The name of the secondary
|
|
388
|
+
* The name of the secondary network interface controller (NIC). The value of N in `NetworkInterface.N` cannot be greater than 1.
|
|
414
389
|
*
|
|
415
390
|
* @example
|
|
416
391
|
* testNetworkInterfaceName
|
|
@@ -421,8 +396,7 @@ export declare class CreateLaunchTemplateVersionRequestNetworkInterface extends
|
|
|
421
396
|
* The communication mode of the primary ENI. Valid values:
|
|
422
397
|
*
|
|
423
398
|
* - Standard: uses the TCP communication mode.
|
|
424
|
-
*
|
|
425
|
-
* - HighPerformance: uses the remote direct memory access (RDMA) communication mode with Elastic RDMA Interface (ERI) enabled.
|
|
399
|
+
* - HighPerformance: enables the Elastic RDMA Interface (ERI) and uses the RDMA communication mode.
|
|
426
400
|
*
|
|
427
401
|
* @example
|
|
428
402
|
* Standard
|
|
@@ -430,7 +404,7 @@ export declare class CreateLaunchTemplateVersionRequestNetworkInterface extends
|
|
|
430
404
|
networkInterfaceTrafficMode?: string;
|
|
431
405
|
/**
|
|
432
406
|
* @remarks
|
|
433
|
-
* The primary private IP address of the secondary
|
|
407
|
+
* The primary private IP address of the secondary network interface controller (NIC). The value of N in `NetworkInterface.N` cannot be greater than 1.
|
|
434
408
|
*
|
|
435
409
|
* @example
|
|
436
410
|
* ``192.168.**.**``
|
|
@@ -438,7 +412,7 @@ export declare class CreateLaunchTemplateVersionRequestNetworkInterface extends
|
|
|
438
412
|
primaryIpAddress?: string;
|
|
439
413
|
/**
|
|
440
414
|
* @remarks
|
|
441
|
-
* The ID of the security group to which
|
|
415
|
+
* The ID of the security group to which the secondary network interface controller (NIC) belongs. The security group of the secondary NIC must belong to the same VPC as the instance. The value of N in `NetworkInterface.N` cannot be greater than 1.
|
|
442
416
|
*
|
|
443
417
|
* > You cannot specify both `NetworkInterface.N.SecurityGroupId` and `NetworkInterface.N.SecurityGroupIds.N`.
|
|
444
418
|
*
|
|
@@ -448,7 +422,7 @@ export declare class CreateLaunchTemplateVersionRequestNetworkInterface extends
|
|
|
448
422
|
securityGroupId?: string;
|
|
449
423
|
/**
|
|
450
424
|
* @remarks
|
|
451
|
-
* The IDs of
|
|
425
|
+
* The IDs of one or more security groups to which the secondary network interface controller (NIC) belongs. The security groups and the secondary NIC must belong to the same VPC. The valid values of N in `SecurityGroupIds.N` depend on the quota for the maximum number of security groups to which a secondary NIC can belong. For more information, see [Limits](https://help.aliyun.com/document_detail/25412.html). The value of N in `NetworkInterface.N` cannot be greater than 1.
|
|
452
426
|
*
|
|
453
427
|
* > You cannot specify both `NetworkInterface.N.SecurityGroupId` and `NetworkInterface.N.SecurityGroupIds.N`.
|
|
454
428
|
*
|
|
@@ -458,7 +432,7 @@ export declare class CreateLaunchTemplateVersionRequestNetworkInterface extends
|
|
|
458
432
|
securityGroupIds?: string[];
|
|
459
433
|
/**
|
|
460
434
|
* @remarks
|
|
461
|
-
* The ID of the vSwitch to which
|
|
435
|
+
* The ID of the vSwitch to which the secondary network interface controller (NIC) belongs. The instance and the secondary NIC must be in the same VPC and the same active zone but can belong to different vSwitches. The value of N in `NetworkInterface.N` cannot be greater than 1.
|
|
462
436
|
*
|
|
463
437
|
* @example
|
|
464
438
|
* vsw-bp1s5fnvk4gn2tws0****
|
|
@@ -478,25 +452,20 @@ export declare class CreateLaunchTemplateVersionRequestNetworkInterface extends
|
|
|
478
452
|
export declare class CreateLaunchTemplateVersionRequestSecurityOptions extends $dara.Model {
|
|
479
453
|
/**
|
|
480
454
|
* @remarks
|
|
481
|
-
* The trusted system mode.
|
|
482
|
-
*
|
|
483
|
-
* Currently, the following instance families support the trusted system mode:
|
|
484
|
-
*
|
|
485
|
-
* - g7, c7, r7
|
|
486
|
-
*
|
|
487
|
-
* - Security-enhanced instance families (g7t, c7t, r7t)
|
|
455
|
+
* The trusted system mode. Set the value to vTPM.
|
|
488
456
|
*
|
|
489
|
-
*
|
|
457
|
+
* The following instance families support trusted system mode:
|
|
458
|
+
* - g7, c7, and r7.
|
|
459
|
+
* - Security-enhanced instance family (g7t, c7t, and r7t).
|
|
490
460
|
*
|
|
491
|
-
*
|
|
461
|
+
* When you create ECS instances of the preceding instance families, you must configure this parameter. Details:
|
|
492
462
|
*
|
|
493
|
-
* -
|
|
463
|
+
* - To use the Alibaba Cloud Trusted System, set this parameter to vTPM. The trusted verification is completed by the Alibaba Cloud Trusted System when the instance starts.
|
|
464
|
+
* - If you do not use the Alibaba Cloud Trusted System, you can leave this parameter empty. However, if the ECS instance that you create uses the Enclave-based confidential computing mode (`SecurityOptions.ConfidentialComputingMode=Enclave`), the trusted system is also enabled for the instance.
|
|
465
|
+
* - When you create a trusted ECS instance by invoking an API operation, you can only invoke `RunInstances`. `CreateInstance` does not support configuring the `SecurityOptions.TrustedSystemMode` parameter.
|
|
466
|
+
* > If you specify an instance as a trusted instance during creation, you can only use images that support the trusted system when you replace the system disk.
|
|
494
467
|
*
|
|
495
|
-
*
|
|
496
|
-
*
|
|
497
|
-
* > If you specify the instance as a trusted instance during creation, you can only use images that support the trusted system when replacing the system disk.
|
|
498
|
-
*
|
|
499
|
-
* For more information about the trusted system, see [Function Overview of Trusted Features for Security-Enhanced Instances](https://help.aliyun.com/document_detail/201394.html).
|
|
468
|
+
* For more information about the trusted system, see [Overview of trusted features for security-enhanced instances](https://help.aliyun.com/document_detail/201394.html).
|
|
500
469
|
*
|
|
501
470
|
* @example
|
|
502
471
|
* vTPM
|
|
@@ -516,7 +485,7 @@ export declare class CreateLaunchTemplateVersionRequestSecurityOptions extends $
|
|
|
516
485
|
export declare class CreateLaunchTemplateVersionRequestTag extends $dara.Model {
|
|
517
486
|
/**
|
|
518
487
|
* @remarks
|
|
519
|
-
* The key of
|
|
488
|
+
* The tag key of the instances, disks, and primary ENIs created by using this version. Valid values of N: 1 to 20. The tag key cannot be an empty string. It can be up to 128 characters in length and cannot start with aliyun or acs:. It cannot contain http:// or https://.
|
|
520
489
|
*
|
|
521
490
|
* @example
|
|
522
491
|
* TestKey
|
|
@@ -524,7 +493,7 @@ export declare class CreateLaunchTemplateVersionRequestTag extends $dara.Model {
|
|
|
524
493
|
key?: string;
|
|
525
494
|
/**
|
|
526
495
|
* @remarks
|
|
527
|
-
* The value of
|
|
496
|
+
* The tag value of the instances, disks, and primary ENIs created by using this version. Valid values of N: 1 to 20. The tag value can be an empty string. It can be up to 128 characters in length and cannot contain http:// or https://.
|
|
528
497
|
*
|
|
529
498
|
* @example
|
|
530
499
|
* TestValue
|
|
@@ -545,13 +514,13 @@ export declare class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
545
514
|
systemDisk?: CreateLaunchTemplateVersionRequestSystemDisk;
|
|
546
515
|
/**
|
|
547
516
|
* @remarks
|
|
548
|
-
* The automatic release time
|
|
517
|
+
* The automatic release time. Specify the time in the [ISO 8601](https://help.aliyun.com/document_detail/25696.html) standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
|
|
549
518
|
*
|
|
550
|
-
* - If the value of `ss` is not `00`, the time is automatically rounded
|
|
519
|
+
* - If the value of seconds (`ss`) is not `00`, the time is automatically rounded to the start of the current minute (`mm`).
|
|
551
520
|
*
|
|
552
|
-
* - The
|
|
521
|
+
* - The earliest release time is 30 minutes after the current time.
|
|
553
522
|
*
|
|
554
|
-
* - The
|
|
523
|
+
* - The latest release time cannot be more than three years from the current time.
|
|
555
524
|
*
|
|
556
525
|
* @example
|
|
557
526
|
* 2018-01-01T12:05:00Z
|
|
@@ -559,11 +528,10 @@ export declare class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
559
528
|
autoReleaseTime?: string;
|
|
560
529
|
/**
|
|
561
530
|
* @remarks
|
|
562
|
-
* Specifies whether to enable auto-renewal
|
|
563
|
-
*
|
|
564
|
-
* - true
|
|
531
|
+
* Specifies whether to enable auto-renewal. This parameter takes effect only when `InstanceChargeType` is set to `PrePaid`. Valid values:
|
|
565
532
|
*
|
|
566
|
-
* -
|
|
533
|
+
* - true: enables auto-renewal.
|
|
534
|
+
* - false: does not enable auto-renewal.
|
|
567
535
|
*
|
|
568
536
|
* Default value: false.
|
|
569
537
|
*
|
|
@@ -573,9 +541,15 @@ export declare class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
573
541
|
autoRenew?: boolean;
|
|
574
542
|
/**
|
|
575
543
|
* @remarks
|
|
576
|
-
* The auto-renewal period
|
|
544
|
+
* The auto-renewal period. Valid values:
|
|
545
|
+
*
|
|
546
|
+
* <props="china">
|
|
547
|
+
* - If PeriodUnit is set to Week: 1, 2, and 3.
|
|
548
|
+
* - If PeriodUnit is set to Month: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
577
549
|
*
|
|
578
|
-
*
|
|
550
|
+
*
|
|
551
|
+
*
|
|
552
|
+
* <props="intl">If PeriodUnit is set to Month: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
579
553
|
*
|
|
580
554
|
* Default value: 1.
|
|
581
555
|
*
|
|
@@ -585,11 +559,10 @@ export declare class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
585
559
|
autoRenewPeriod?: number;
|
|
586
560
|
/**
|
|
587
561
|
* @remarks
|
|
588
|
-
* The
|
|
589
|
-
*
|
|
590
|
-
* - Standard: the standard mode. For more information, see the "Standard mode" section in [Overview of burstable instances](https://help.aliyun.com/document_detail/59977.html).
|
|
562
|
+
* The running mode of the burstable instance. Valid values:
|
|
591
563
|
*
|
|
592
|
-
* -
|
|
564
|
+
* - Standard: standard mode. For more information, see the performance constrained mode section in [Overview of burstable instances](https://help.aliyun.com/document_detail/59977.html).
|
|
565
|
+
* - Unlimited: unlimited mode. For more information, see the unlimited mode section in [Overview of burstable instances](https://help.aliyun.com/document_detail/59977.html).
|
|
593
566
|
*
|
|
594
567
|
* @example
|
|
595
568
|
* Standard
|
|
@@ -597,20 +570,19 @@ export declare class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
597
570
|
creditSpecification?: string;
|
|
598
571
|
/**
|
|
599
572
|
* @remarks
|
|
600
|
-
* The
|
|
573
|
+
* The list of data disks.
|
|
601
574
|
*/
|
|
602
575
|
dataDisk?: CreateLaunchTemplateVersionRequestDataDisk[];
|
|
603
576
|
/**
|
|
604
577
|
* @remarks
|
|
605
|
-
*
|
|
578
|
+
* 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). Valid values:
|
|
579
|
+
* - true: enables release protection.
|
|
606
580
|
*
|
|
607
|
-
* -
|
|
608
|
-
*
|
|
609
|
-
* - false
|
|
581
|
+
* - false: disables release protection.
|
|
610
582
|
*
|
|
611
583
|
* Default value: false.
|
|
612
584
|
*
|
|
613
|
-
* > This
|
|
585
|
+
* > This attribute is applicable only to pay-as-you-go instances. It can only restrict manual release operations and does not take effect on system-initiated release operations.
|
|
614
586
|
*
|
|
615
587
|
* @example
|
|
616
588
|
* false
|
|
@@ -618,7 +590,7 @@ export declare class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
618
590
|
deletionProtection?: boolean;
|
|
619
591
|
/**
|
|
620
592
|
* @remarks
|
|
621
|
-
* The ID of the deployment set
|
|
593
|
+
* The ID of the deployment set.
|
|
622
594
|
*
|
|
623
595
|
* @example
|
|
624
596
|
* ds-bp1brhwhoqinyjd6****
|
|
@@ -642,13 +614,11 @@ export declare class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
642
614
|
enableVmOsConfig?: boolean;
|
|
643
615
|
/**
|
|
644
616
|
* @remarks
|
|
645
|
-
* The hostname of the
|
|
617
|
+
* The hostname of the Elastic Compute Service (ECS) server.
|
|
646
618
|
*
|
|
647
|
-
* -
|
|
648
|
-
*
|
|
649
|
-
* -
|
|
650
|
-
*
|
|
651
|
-
* - For instances that run other operating systems 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 letters, digits, and hyphens (-).
|
|
619
|
+
* - The hostname cannot start or end with a period (.) or hyphen (-), and cannot contain consecutive periods or hyphens.
|
|
620
|
+
* - Windows instances: The hostname must be 2 to 15 characters in length and cannot contain periods (.) or consist entirely of digits. It can contain letters, digits, and hyphens (-).
|
|
621
|
+
* - Other instances (such as Linux): The hostname must be 2 to 64 characters in length. It can contain multiple periods (.), with each segment between periods allowing letters, digits, and hyphens (-).
|
|
652
622
|
*
|
|
653
623
|
* @example
|
|
654
624
|
* testHostName
|
|
@@ -658,13 +628,12 @@ export declare class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
658
628
|
* @remarks
|
|
659
629
|
* Specifies whether to enable the access channel for instance metadata. Valid values:
|
|
660
630
|
*
|
|
661
|
-
* - enabled
|
|
662
|
-
*
|
|
663
|
-
* - disabled
|
|
631
|
+
* - enabled: enables the access channel.
|
|
632
|
+
* - disabled: disables the access channel.
|
|
664
633
|
*
|
|
665
634
|
* Default value: enabled.
|
|
666
635
|
*
|
|
667
|
-
* > For information about instance metadata, see [
|
|
636
|
+
* > For more information about instance metadata, see [Overview of ECS instance metadata](https://help.aliyun.com/document_detail/108460.html).
|
|
668
637
|
*
|
|
669
638
|
* @example
|
|
670
639
|
* enabled
|
|
@@ -680,15 +649,14 @@ export declare class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
680
649
|
httpPutResponseHopLimit?: number;
|
|
681
650
|
/**
|
|
682
651
|
* @remarks
|
|
683
|
-
* Specifies whether to forcefully use the security
|
|
652
|
+
* Specifies whether to forcefully use the security-hardened mode (IMDSv2) to access instance metadata. Valid values:
|
|
684
653
|
*
|
|
685
|
-
* - optional: does not forcefully use the security
|
|
686
|
-
*
|
|
687
|
-
* - required: forcefully uses the security hardening mode (IMDSv2). After you set this parameter to required, you cannot access instance metadata in normal mode.
|
|
654
|
+
* - optional: does not forcefully use the security-hardened mode.
|
|
655
|
+
* - required: forcefully uses the security-hardened mode. After you set this value, the normal mode cannot be used to access instance metadata.
|
|
688
656
|
*
|
|
689
657
|
* Default value: optional.
|
|
690
658
|
*
|
|
691
|
-
* > For information about the modes
|
|
659
|
+
* > For more information about the modes for accessing instance metadata, see [Overview of ECS instance metadata](https://help.aliyun.com/document_detail/108460.html).
|
|
692
660
|
*
|
|
693
661
|
* @example
|
|
694
662
|
* optional
|
|
@@ -696,7 +664,7 @@ export declare class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
696
664
|
httpTokens?: string;
|
|
697
665
|
/**
|
|
698
666
|
* @remarks
|
|
699
|
-
* The ID of the image
|
|
667
|
+
* The ID of the image used to create the instance. You can call [DescribeImages](https://help.aliyun.com/document_detail/25534.html) to query available image resources.
|
|
700
668
|
*
|
|
701
669
|
* @example
|
|
702
670
|
* win2008r2_64_ent_sp1_en-us_40G_alibase_20170915.vhd
|
|
@@ -704,14 +672,13 @@ export declare class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
704
672
|
imageId?: string;
|
|
705
673
|
/**
|
|
706
674
|
* @remarks
|
|
707
|
-
*
|
|
675
|
+
* The image-related property information.
|
|
708
676
|
*/
|
|
709
677
|
imageOptions?: CreateLaunchTemplateVersionRequestImageOptions;
|
|
710
678
|
/**
|
|
711
679
|
* @remarks
|
|
712
680
|
* The source of the image.
|
|
713
|
-
*
|
|
714
|
-
* > This parameter will be removed in the future. We recommend that you use other parameters to ensure future compatibility.
|
|
681
|
+
* > This parameter will be deprecated. To improve compatibility, use other parameters.
|
|
715
682
|
*
|
|
716
683
|
* @example
|
|
717
684
|
* system
|
|
@@ -721,9 +688,19 @@ export declare class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
721
688
|
* @remarks
|
|
722
689
|
* The billing method of the instance. Valid values:
|
|
723
690
|
*
|
|
724
|
-
*
|
|
691
|
+
* <props="china">
|
|
692
|
+
* - PrePaid: subscription. If you set this parameter to PrePaid, confirm that your account supports balance payment or credit payment. Otherwise, an `InvalidPayMethod` fault is returned.
|
|
693
|
+
* - PostPaid: pay-as-you-go.
|
|
694
|
+
*
|
|
725
695
|
*
|
|
726
|
-
*
|
|
696
|
+
* <props="intl">
|
|
697
|
+
* - PrePaid: subscription. If you set this parameter to PrePaid, confirm that your account supports credit payment. Otherwise, an `InvalidPayMethod` fault is returned.
|
|
698
|
+
* - PostPaid: pay-as-you-go.
|
|
699
|
+
*
|
|
700
|
+
*
|
|
701
|
+
* <props="partner">
|
|
702
|
+
* - PrePaid: subscription. If you set this parameter to PrePaid, confirm that your account supports credit payment. Otherwise, an `InvalidPayMethod` fault is returned.
|
|
703
|
+
* - PostPaid: pay-as-you-go.
|
|
727
704
|
*
|
|
728
705
|
* @example
|
|
729
706
|
* PrePaid
|
|
@@ -731,9 +708,9 @@ export declare class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
731
708
|
instanceChargeType?: string;
|
|
732
709
|
/**
|
|
733
710
|
* @remarks
|
|
734
|
-
* The instance
|
|
711
|
+
* The name of the instance. The name must be 2 to 128 characters in length and can contain letters, digits, and characters from the Unicode letter category (which includes characters from various languages). The name can contain colons (:), underscores (_), periods (.), and hyphens (-). The default value is the `InstanceId` of the instance.
|
|
735
712
|
*
|
|
736
|
-
* When you create multiple ECS instances at a time, you can batch configure sequential
|
|
713
|
+
* When you create multiple ECS instances at a time, you can batch configure sequential instance names that contain brackets ([]) and commas (,). For more information, see [Batch configure sequential names or hostnames for multiple instances](https://help.aliyun.com/document_detail/196048.html).
|
|
737
714
|
*
|
|
738
715
|
* @example
|
|
739
716
|
* k8s-node-[1,4]-alibabacloud
|
|
@@ -741,7 +718,7 @@ export declare class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
741
718
|
instanceName?: string;
|
|
742
719
|
/**
|
|
743
720
|
* @remarks
|
|
744
|
-
* The instance type. For more information, see [
|
|
721
|
+
* The instance type. For more information, see [Instance family](https://help.aliyun.com/document_detail/25378.html). You can also call [DescribeInstanceTypes](https://help.aliyun.com/document_detail/25620.html) to query the most recent instance type list.
|
|
745
722
|
*
|
|
746
723
|
* @example
|
|
747
724
|
* ecs.g5.large
|
|
@@ -749,13 +726,12 @@ export declare class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
749
726
|
instanceType?: string;
|
|
750
727
|
/**
|
|
751
728
|
* @remarks
|
|
752
|
-
* The billing method for
|
|
753
|
-
*
|
|
754
|
-
* - PayByBandwidth: pay-by-bandwidth
|
|
729
|
+
* The billing method for outbound Internet bandwidth. Valid values:
|
|
755
730
|
*
|
|
756
|
-
* -
|
|
731
|
+
* - PayByBandwidth: pay-by-bandwidth.
|
|
732
|
+
* - PayByTraffic: pay-by-traffic.
|
|
757
733
|
*
|
|
758
|
-
* >
|
|
734
|
+
* > In **pay-by-traffic** mode, the peak inbound and outbound bandwidths are used as upper limits of bandwidths instead of guaranteed performance specifications. When resource contention occurs, the peak bandwidths may be limited. If you want guaranteed bandwidth, use the **pay-by-bandwidth** mode.
|
|
759
735
|
*
|
|
760
736
|
* @example
|
|
761
737
|
* PayByTraffic
|
|
@@ -765,9 +741,8 @@ export declare class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
765
741
|
* @remarks
|
|
766
742
|
* The maximum inbound public bandwidth. Unit: Mbit/s. Valid values:
|
|
767
743
|
*
|
|
768
|
-
* -
|
|
769
|
-
*
|
|
770
|
-
* - If the purchased outbound public bandwidth is greater than 10 Mbit/s, the valid values of this parameter range from 1 to the `InternetMaxBandwidthOut` value and the default value is the `InternetMaxBandwidthOut` value.
|
|
744
|
+
* - If the purchased outbound public bandwidth is less than or equal to 10 Mbit/s: 1 to 10. Default value: 10.
|
|
745
|
+
* - If the purchased outbound public bandwidth is greater than 10 Mbit/s: 1 to the value of `InternetMaxBandwidthOut`. Default value: the value of `InternetMaxBandwidthOut`.
|
|
771
746
|
*
|
|
772
747
|
* @example
|
|
773
748
|
* 50
|
|
@@ -783,11 +758,10 @@ export declare class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
783
758
|
internetMaxBandwidthOut?: number;
|
|
784
759
|
/**
|
|
785
760
|
* @remarks
|
|
786
|
-
* Specifies whether
|
|
787
|
-
*
|
|
788
|
-
* - none: The instance is not I/O optimized.
|
|
761
|
+
* Specifies whether the instance is an I/O optimized instance. Valid values:
|
|
789
762
|
*
|
|
790
|
-
* -
|
|
763
|
+
* - none: The instance is not I/O optimized.
|
|
764
|
+
* - optimized: The instance is I/O optimization enabled.
|
|
791
765
|
*
|
|
792
766
|
* @example
|
|
793
767
|
* optimized
|
|
@@ -795,7 +769,7 @@ export declare class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
795
769
|
ioOptimized?: string;
|
|
796
770
|
/**
|
|
797
771
|
* @remarks
|
|
798
|
-
* The number of IPv6 addresses to randomly generate for the primary
|
|
772
|
+
* The number of IPv6 addresses to randomly generate for the primary ENI. Valid values: 1 to 10.
|
|
799
773
|
*
|
|
800
774
|
* @example
|
|
801
775
|
* 1
|
|
@@ -803,11 +777,10 @@ export declare class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
803
777
|
ipv6AddressCount?: number;
|
|
804
778
|
/**
|
|
805
779
|
* @remarks
|
|
806
|
-
* The name of the key pair
|
|
807
|
-
*
|
|
808
|
-
* - For Windows instances, this parameter is ignored The `Password` parameter is valid even if the KeyPairName parameter is specified.
|
|
780
|
+
* The name of the key pair.
|
|
809
781
|
*
|
|
810
|
-
* -
|
|
782
|
+
* - For Windows instances, this parameter is ignored. Even if you specify this parameter, only the `Password` content is used.
|
|
783
|
+
* - For Linux instances, password-based logon is disabled during initialization.
|
|
811
784
|
*
|
|
812
785
|
* @example
|
|
813
786
|
* testKeyPairName
|
|
@@ -815,7 +788,7 @@ export declare class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
815
788
|
keyPairName?: string;
|
|
816
789
|
/**
|
|
817
790
|
* @remarks
|
|
818
|
-
* The ID of the launch template. For more information, call
|
|
791
|
+
* The ID of the launch template. For more information, call [DescribeLaunchTemplates](https://help.aliyun.com/document_detail/73759.html). You must specify `LaunchTemplateId` or `LaunchTemplateName` to determine the launch template.
|
|
819
792
|
*
|
|
820
793
|
* @example
|
|
821
794
|
* lt-m5eiaupmvm2op9d****
|
|
@@ -823,7 +796,7 @@ export declare class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
823
796
|
launchTemplateId?: string;
|
|
824
797
|
/**
|
|
825
798
|
* @remarks
|
|
826
|
-
* The name of the launch template. The name must be 2 to 128 characters in length.
|
|
799
|
+
* The name of the launch template. The name must be 2 to 128 characters in length. It must start with a letter and cannot start with `http://` or `https://`. It can contain digits, colons (:), underscores (_), and hyphens (-).
|
|
827
800
|
*
|
|
828
801
|
* @example
|
|
829
802
|
* testLaunchTemplateName
|
|
@@ -831,16 +804,15 @@ export declare class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
831
804
|
launchTemplateName?: string;
|
|
832
805
|
/**
|
|
833
806
|
* @remarks
|
|
834
|
-
* The
|
|
807
|
+
* The network interface controller (NIC) information.
|
|
835
808
|
*/
|
|
836
809
|
networkInterface?: CreateLaunchTemplateVersionRequestNetworkInterface[];
|
|
837
810
|
/**
|
|
838
811
|
* @remarks
|
|
839
812
|
* The network type of the instance. Valid values:
|
|
840
813
|
*
|
|
841
|
-
* -
|
|
842
|
-
*
|
|
843
|
-
* - vpc: VPC
|
|
814
|
+
* - vpc: VPC.
|
|
815
|
+
* - classic: classic network. The classic network has been retired. For more information, see [Retirement notice](https://help.aliyun.com/document_detail/2833134.html).
|
|
844
816
|
*
|
|
845
817
|
* @example
|
|
846
818
|
* vpc
|
|
@@ -850,15 +822,13 @@ export declare class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
850
822
|
ownerId?: number;
|
|
851
823
|
/**
|
|
852
824
|
* @remarks
|
|
853
|
-
* Specifies whether to use the password
|
|
854
|
-
*
|
|
825
|
+
* Specifies whether to use the preset password of the image. Valid values:
|
|
855
826
|
* - true
|
|
856
|
-
*
|
|
857
827
|
* - false
|
|
858
828
|
*
|
|
859
829
|
* Default value: false.
|
|
860
830
|
*
|
|
861
|
-
* >
|
|
831
|
+
* > When you use this parameter, the Password parameter must be empty. You must also make sure that the image has a preset password.
|
|
862
832
|
*
|
|
863
833
|
* @example
|
|
864
834
|
* false
|
|
@@ -866,7 +836,7 @@ export declare class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
866
836
|
passwordInherit?: boolean;
|
|
867
837
|
/**
|
|
868
838
|
* @remarks
|
|
869
|
-
* The subscription
|
|
839
|
+
* The subscription duration of the resource. Unit: months. This parameter takes effect and is required only when `InstanceChargeType` is set to `PrePaid`. Valid values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, and 60.
|
|
870
840
|
*
|
|
871
841
|
* @example
|
|
872
842
|
* 1
|
|
@@ -874,9 +844,15 @@ export declare class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
874
844
|
period?: number;
|
|
875
845
|
/**
|
|
876
846
|
* @remarks
|
|
877
|
-
* The unit of the subscription
|
|
847
|
+
* The unit of the subscription duration. Valid values:
|
|
848
|
+
*
|
|
849
|
+
* <props="china">
|
|
850
|
+
* - Week.
|
|
851
|
+
* - Month (default).
|
|
852
|
+
*
|
|
853
|
+
*
|
|
878
854
|
*
|
|
879
|
-
* Month (default)
|
|
855
|
+
* <props="intl">Month (default).
|
|
880
856
|
*
|
|
881
857
|
* @example
|
|
882
858
|
* Month
|
|
@@ -884,9 +860,9 @@ export declare class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
884
860
|
periodUnit?: string;
|
|
885
861
|
/**
|
|
886
862
|
* @remarks
|
|
887
|
-
* The private IP address
|
|
863
|
+
* The private IP address of the instance.
|
|
888
864
|
*
|
|
889
|
-
*
|
|
865
|
+
* When you specify a private IP address for a VPC-connected ECS instance, the IP address must be from the idle CIDR block of the vSwitch (`VSwitchId`).
|
|
890
866
|
*
|
|
891
867
|
* @example
|
|
892
868
|
* ``10.1.**.**``
|
|
@@ -894,7 +870,7 @@ export declare class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
894
870
|
privateIpAddress?: string;
|
|
895
871
|
/**
|
|
896
872
|
* @remarks
|
|
897
|
-
* The name of the instance
|
|
873
|
+
* 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.
|
|
898
874
|
*
|
|
899
875
|
* @example
|
|
900
876
|
* testRamRoleName
|
|
@@ -902,7 +878,7 @@ export declare class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
902
878
|
ramRoleName?: string;
|
|
903
879
|
/**
|
|
904
880
|
* @remarks
|
|
905
|
-
* The region ID
|
|
881
|
+
* The region ID. You can call [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) to query the most recent region list.
|
|
906
882
|
*
|
|
907
883
|
* This parameter is required.
|
|
908
884
|
*
|
|
@@ -912,7 +888,7 @@ export declare class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
912
888
|
regionId?: string;
|
|
913
889
|
/**
|
|
914
890
|
* @remarks
|
|
915
|
-
* The ID of the resource group
|
|
891
|
+
* The ID of the resource group.
|
|
916
892
|
*
|
|
917
893
|
* @example
|
|
918
894
|
* rg-bp67acfmxazb4p****
|
|
@@ -924,9 +900,8 @@ export declare class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
924
900
|
* @remarks
|
|
925
901
|
* Specifies whether to enable security hardening for the operating system. Valid values:
|
|
926
902
|
*
|
|
927
|
-
* -
|
|
928
|
-
*
|
|
929
|
-
* - Deactive: Security hardening is disabled. This value is available to all types of images.
|
|
903
|
+
* - Active: enables security hardening. This value is applicable only to public images.
|
|
904
|
+
* - Deactive: does not enable security hardening. This value is applicable to all image types.
|
|
930
905
|
*
|
|
931
906
|
* @example
|
|
932
907
|
* Active
|
|
@@ -934,9 +909,9 @@ export declare class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
934
909
|
securityEnhancementStrategy?: string;
|
|
935
910
|
/**
|
|
936
911
|
* @remarks
|
|
937
|
-
* The ID of the security group to which
|
|
912
|
+
* The ID of the security group to which the instance created by using this version belongs. Instances in the same security group can communicate with each other.
|
|
938
913
|
*
|
|
939
|
-
* > You cannot specify `SecurityGroupId` and `SecurityGroupIds.N
|
|
914
|
+
* > You cannot specify both `SecurityGroupId` and `SecurityGroupIds.N`.
|
|
940
915
|
*
|
|
941
916
|
* @example
|
|
942
917
|
* sg-bp15ed6xe1yxeycg****
|
|
@@ -944,9 +919,9 @@ export declare class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
944
919
|
securityGroupId?: string;
|
|
945
920
|
/**
|
|
946
921
|
* @remarks
|
|
947
|
-
* The
|
|
922
|
+
* The IDs of one or more security groups to which the instance belongs. The valid values of N depend on the maximum number of security groups to which an instance can belong. For more information, see [Limits](https://help.aliyun.com/document_detail/25412.html).
|
|
948
923
|
*
|
|
949
|
-
* >
|
|
924
|
+
* > You cannot specify both `SecurityGroupId` and `SecurityGroupIds.N`.
|
|
950
925
|
*
|
|
951
926
|
* @example
|
|
952
927
|
* sg-bp15ed6xe1yxeycg7****
|
|
@@ -954,20 +929,18 @@ export declare class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
954
929
|
securityGroupIds?: string[];
|
|
955
930
|
/**
|
|
956
931
|
* @remarks
|
|
957
|
-
*
|
|
932
|
+
* The security options.
|
|
958
933
|
*/
|
|
959
934
|
securityOptions?: CreateLaunchTemplateVersionRequestSecurityOptions;
|
|
960
935
|
/**
|
|
961
936
|
* @remarks
|
|
962
937
|
* The protection period of the spot instance. Unit: hours. Default value: 1. Valid values:
|
|
938
|
+
* - 1: After a spot instance is created, Alibaba Cloud ensures that the instance is not automatically released within 1 hour. After the 1-hour protection period ends, the system compares the bid price with the market price and checks the resource inventory to determine whether to retain automatic release the instance.
|
|
939
|
+
* - 0: After a spot instance is created, Alibaba Cloud does not ensure that the instance runs for 1 hour. The system compares the bid price with the market price and checks the resource inventory to determine whether to retain automatic release the instance.
|
|
963
940
|
*
|
|
964
|
-
*
|
|
965
|
-
*
|
|
966
|
-
* - 0: After a spot instance is created, Alibaba Cloud does not ensure that the instance runs for 1 hour. The system compares the bid price with the market price and checks the resource inventory to determine whether to retain or release the instance.
|
|
967
|
-
*
|
|
968
|
-
* Alibaba Cloud sends an ECS system event to notify you 5 minutes before the instance is released. Spot instances are billed by second. We recommend that you specify a protection period based on your business requirements.
|
|
941
|
+
* Alibaba Cloud sends an ECS system event notification 5 minutes before the instance is released. Spot instances are billed by second. We recommend that you select an appropriate protection period based on the expected task execution duration.
|
|
969
942
|
*
|
|
970
|
-
* > This parameter takes effect only
|
|
943
|
+
* > This parameter takes effect only when SpotStrategy is set to SpotWithPriceLimit or SpotAsPriceGo.
|
|
971
944
|
*
|
|
972
945
|
* @example
|
|
973
946
|
* 1
|
|
@@ -975,7 +948,7 @@ export declare class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
975
948
|
spotDuration?: number;
|
|
976
949
|
/**
|
|
977
950
|
* @remarks
|
|
978
|
-
* The maximum hourly price of the
|
|
951
|
+
* The maximum hourly price of the instance. A maximum of three decimal places are supported.
|
|
979
952
|
*
|
|
980
953
|
* @example
|
|
981
954
|
* 0.97
|
|
@@ -983,13 +956,11 @@ export declare class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
983
956
|
spotPriceLimit?: number;
|
|
984
957
|
/**
|
|
985
958
|
* @remarks
|
|
986
|
-
* The preemption policy for the pay-as-you-go instance. This parameter
|
|
987
|
-
*
|
|
988
|
-
* - NoSpot: The instance is created as a pay-as-you-go instance.
|
|
989
|
-
*
|
|
990
|
-
* - SpotWithPriceLimit: The instances of the compute node are spot instances. These types of instances have a specified maximum hourly price.
|
|
959
|
+
* The preemption policy for the pay-as-you-go instance. This parameter takes effect when `InstanceChargeType` is set to `PostPaid`. Valid values:
|
|
991
960
|
*
|
|
992
|
-
* -
|
|
961
|
+
* - NoSpot: The instance is a regular pay-as-you-go instance.
|
|
962
|
+
* - SpotWithPriceLimit: The instance is a spot instance with a user-defined maximum hourly price.
|
|
963
|
+
* - SpotAsPriceGo: The instance is a spot instance for which the market price at the time of purchase is automatically used as the bid price.
|
|
993
964
|
*
|
|
994
965
|
* @example
|
|
995
966
|
* NoSpot
|
|
@@ -997,12 +968,12 @@ export declare class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
997
968
|
spotStrategy?: string;
|
|
998
969
|
/**
|
|
999
970
|
* @remarks
|
|
1000
|
-
* The tags
|
|
971
|
+
* The tags of the instances, disks, and primary ENIs created by using this version.
|
|
1001
972
|
*/
|
|
1002
973
|
tag?: CreateLaunchTemplateVersionRequestTag[];
|
|
1003
974
|
/**
|
|
1004
975
|
* @remarks
|
|
1005
|
-
*
|
|
976
|
+
* Instance user data of the instance. Instance user data must be encoded in Base64. The raw data can be up to 32 KB in size.
|
|
1006
977
|
*
|
|
1007
978
|
* @example
|
|
1008
979
|
* ZWNobyBoZWxsbyBl****
|
|
@@ -1010,7 +981,7 @@ export declare class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
1010
981
|
userData?: string;
|
|
1011
982
|
/**
|
|
1012
983
|
* @remarks
|
|
1013
|
-
* The ID of the vSwitch
|
|
984
|
+
* The ID of the vSwitch. You must specify this parameter when you create a VPC-connected instance.
|
|
1014
985
|
*
|
|
1015
986
|
* @example
|
|
1016
987
|
* vsw-bp1s5fnvk4gn2tws0****
|
|
@@ -1026,7 +997,7 @@ export declare class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
1026
997
|
versionDescription?: string;
|
|
1027
998
|
/**
|
|
1028
999
|
* @remarks
|
|
1029
|
-
* The ID of the virtual private cloud (VPC)
|
|
1000
|
+
* The ID of the virtual private cloud (VPC) to which the instance belongs.
|
|
1030
1001
|
*
|
|
1031
1002
|
* @example
|
|
1032
1003
|
* vpc-bp12433upq1y5scen****
|
|
@@ -1034,7 +1005,7 @@ export declare class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
1034
1005
|
vpcId?: string;
|
|
1035
1006
|
/**
|
|
1036
1007
|
* @remarks
|
|
1037
|
-
* The ID of the
|
|
1008
|
+
* The zone ID of the instance.
|
|
1038
1009
|
*
|
|
1039
1010
|
* @example
|
|
1040
1011
|
* cn-hangzhou-g
|