@alicloud/ros-cdk-ecs 1.0.21 → 1.0.23
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/lib/activation.d.ts +10 -9
- package/lib/activation.js +8 -4
- package/lib/assignipv6addresses.d.ts +9 -8
- package/lib/assignipv6addresses.js +8 -4
- package/lib/assignprivateipaddresses.d.ts +9 -8
- package/lib/assignprivateipaddresses.js +8 -4
- package/lib/autoprovisioninggroup.d.ts +10 -9
- package/lib/autoprovisioninggroup.js +8 -4
- package/lib/autosnapshotpolicy.d.ts +10 -9
- package/lib/autosnapshotpolicy.js +8 -4
- package/lib/capacityreservation.d.ts +69 -0
- package/lib/capacityreservation.js +40 -0
- package/lib/command.d.ts +9 -8
- package/lib/command.js +8 -4
- package/lib/copyimage.d.ts +15 -9
- package/lib/copyimage.js +9 -4
- package/lib/customimage.d.ts +29 -12
- package/lib/customimage.js +16 -9
- package/lib/datasource/activations.d.ts +9 -8
- package/lib/datasource/activations.js +8 -4
- package/lib/datasource/autosnapshotpolicies.d.ts +9 -8
- package/lib/datasource/autosnapshotpolicies.js +8 -4
- package/lib/datasource/commands.d.ts +9 -8
- package/lib/datasource/commands.js +8 -4
- package/lib/datasource/dedicatedhostclusters.d.ts +9 -8
- package/lib/datasource/dedicatedhostclusters.js +8 -4
- package/lib/datasource/dedicatedhosts.d.ts +9 -8
- package/lib/datasource/dedicatedhosts.js +8 -4
- package/lib/datasource/deploymentsets.d.ts +9 -8
- package/lib/datasource/deploymentsets.js +8 -4
- package/lib/datasource/diskcategories.d.ts +9 -8
- package/lib/datasource/diskcategories.js +8 -4
- package/lib/datasource/disks.d.ts +10 -9
- package/lib/datasource/disks.js +8 -4
- package/lib/datasource/ecs.generated.d.ts +112 -166
- package/lib/datasource/ecs.generated.js +55 -55
- package/lib/datasource/hpcclusters.d.ts +9 -8
- package/lib/datasource/hpcclusters.js +8 -4
- package/lib/datasource/images.d.ts +10 -9
- package/lib/datasource/images.js +8 -4
- package/lib/datasource/instances.d.ts +10 -9
- package/lib/datasource/instances.js +8 -4
- package/lib/datasource/keypairs.d.ts +9 -8
- package/lib/datasource/keypairs.js +8 -4
- package/lib/datasource/managedinstances.d.ts +9 -8
- package/lib/datasource/managedinstances.js +8 -4
- package/lib/datasource/networkinterfaces.d.ts +9 -8
- package/lib/datasource/networkinterfaces.js +8 -4
- package/lib/datasource/recommendinstancetypes.d.ts +14 -13
- package/lib/datasource/recommendinstancetypes.js +8 -4
- package/lib/datasource/securitygroups.d.ts +9 -8
- package/lib/datasource/securitygroups.js +8 -4
- package/lib/datasource/snapshots.d.ts +9 -8
- package/lib/datasource/snapshots.js +8 -4
- package/lib/datasource/zones.d.ts +12 -11
- package/lib/datasource/zones.js +8 -4
- package/lib/dedicatedhost.d.ts +12 -11
- package/lib/dedicatedhost.js +8 -4
- package/lib/deploymentset.d.ts +24 -10
- package/lib/deploymentset.js +10 -4
- package/lib/disk.d.ts +11 -10
- package/lib/disk.js +8 -4
- package/lib/diskattachment.d.ts +10 -9
- package/lib/diskattachment.js +8 -4
- package/lib/ecs.generated.d.ts +2015 -497
- package/lib/ecs.generated.js +1961 -405
- package/lib/elasticityassurance.d.ts +78 -0
- package/lib/elasticityassurance.js +41 -0
- package/lib/forwardentry.d.ts +12 -11
- package/lib/forwardentry.js +8 -4
- package/lib/hpccluster.d.ts +11 -10
- package/lib/hpccluster.js +8 -4
- package/lib/imagecomponent.d.ts +59 -0
- package/lib/imagecomponent.js +38 -0
- package/lib/imagepipeline.d.ts +109 -0
- package/lib/imagepipeline.js +47 -0
- package/lib/imagesharepermission.d.ts +47 -0
- package/lib/imagesharepermission.js +35 -0
- package/lib/index.d.ts +5 -0
- package/lib/index.js +6 -1
- package/lib/instance.d.ts +94 -14
- package/lib/instance.js +153 -25
- package/lib/instanceclone.d.ts +9 -8
- package/lib/instanceclone.js +8 -4
- package/lib/instancegroup.d.ts +125 -16
- package/lib/instancegroup.js +32 -8
- package/lib/instancegroupclone.d.ts +56 -11
- package/lib/instancegroupclone.js +38 -26
- package/lib/invocation.d.ts +63 -10
- package/lib/invocation.js +16 -5
- package/lib/joinsecuritygroup.d.ts +9 -8
- package/lib/joinsecuritygroup.js +8 -8
- package/lib/launchtemplate.d.ts +13 -12
- package/lib/launchtemplate.js +8 -4
- package/lib/networkinterface.d.ts +9 -8
- package/lib/networkinterface.js +8 -4
- package/lib/networkinterfaceattachment.d.ts +9 -8
- package/lib/networkinterfaceattachment.js +8 -4
- package/lib/networkinterfacepermission.d.ts +9 -8
- package/lib/networkinterfacepermission.js +8 -4
- package/lib/prefixlist.d.ts +11 -10
- package/lib/prefixlist.js +8 -4
- package/lib/ramroleattachment.d.ts +9 -8
- package/lib/ramroleattachment.js +8 -4
- package/lib/route.d.ts +9 -8
- package/lib/route.js +8 -4
- package/lib/runcommand.d.ts +54 -16
- package/lib/runcommand.js +15 -6
- package/lib/securitygroup.d.ts +9 -8
- package/lib/securitygroup.js +8 -4
- package/lib/securitygroupclone.d.ts +9 -8
- package/lib/securitygroupclone.js +8 -4
- package/lib/securitygroupegress.d.ts +10 -9
- package/lib/securitygroupegress.js +8 -8
- package/lib/securitygroupingress.d.ts +11 -10
- package/lib/securitygroupingress.js +8 -8
- package/lib/snapshot.d.ts +11 -10
- package/lib/snapshot.js +8 -4
- package/lib/snatentry.d.ts +11 -10
- package/lib/snatentry.js +8 -4
- package/lib/sshkeypair.d.ts +10 -9
- package/lib/sshkeypair.js +8 -4
- package/lib/sshkeypairattachment.d.ts +9 -8
- package/lib/sshkeypairattachment.js +8 -8
- package/lib/vpc.d.ts +12 -11
- package/lib/vpc.js +8 -4
- package/lib/vswitch.d.ts +9 -8
- package/lib/vswitch.js +8 -4
- package/package.json +1 -1
package/lib/ecs.generated.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as ros from '@alicloud/ros-cdk-core';
|
|
2
2
|
/**
|
|
3
|
-
* Properties for defining a `
|
|
3
|
+
* Properties for defining a `RosActivation`.
|
|
4
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-activation
|
|
4
5
|
*/
|
|
5
6
|
export interface RosActivationProps {
|
|
6
7
|
/**
|
|
@@ -12,7 +13,7 @@ export interface RosActivationProps {
|
|
|
12
13
|
*/
|
|
13
14
|
readonly instanceCount?: number | ros.IResolvable;
|
|
14
15
|
/**
|
|
15
|
-
* @Property instanceName: The default instance name prefix. The instance name prefix must be 2 to 50 characters in length. It must start with a letter and cannot start with http
|
|
16
|
+
* @Property instanceName: The default instance name prefix. The instance name prefix must be 2 to 50 characters in length. It must start with a letter and cannot start with http:\/\/ or https:\/\/. It can contain letters, digits, periods (.), underscores (_), hyphens (-), and colons (:). If you use the activation code that is created by calling this operation (CreateActivation) to register managed instances, the instances are assigned sequential names that are prefixed by the value of this parameter. You can also specify a new instance name to replace the assigned sequential name when you register a managed instance.If you specify InstanceName when you register a managed instance, an instance name in theformat of <InstanceName>-<Number> is generated. The number of digits in the <Number> value isdetermined by that in the InstanceCount value. Example: 001. If you do not specify InstanceName, the hostname (Hostname) is used as the instance name.
|
|
16
17
|
*/
|
|
17
18
|
readonly instanceName?: string | ros.IResolvable;
|
|
18
19
|
/**
|
|
@@ -29,17 +30,15 @@ export interface RosActivationProps {
|
|
|
29
30
|
readonly timeToLiveInHours?: number | ros.IResolvable;
|
|
30
31
|
}
|
|
31
32
|
/**
|
|
32
|
-
*
|
|
33
|
+
* This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::Activation`, which is used to create an activation code.
|
|
34
|
+
* @Note This class does not contain additional functions, so it is recommended to use the `Activation` class instead of this class for a more convenient development experience.
|
|
35
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-activation
|
|
33
36
|
*/
|
|
34
37
|
export declare class RosActivation extends ros.RosResource {
|
|
35
38
|
/**
|
|
36
39
|
* The resource type name for this resource class.
|
|
37
40
|
*/
|
|
38
41
|
static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::Activation";
|
|
39
|
-
/**
|
|
40
|
-
* A factory method that creates a new instance of this class from an object
|
|
41
|
-
* containing the properties of this ROS resource.
|
|
42
|
-
*/
|
|
43
42
|
/**
|
|
44
43
|
* @Attribute ActivationCode: Activation code.
|
|
45
44
|
*/
|
|
@@ -66,7 +65,7 @@ export declare class RosActivation extends ros.RosResource {
|
|
|
66
65
|
*/
|
|
67
66
|
instanceCount: number | ros.IResolvable | undefined;
|
|
68
67
|
/**
|
|
69
|
-
* @Property instanceName: The default instance name prefix. The instance name prefix must be 2 to 50 characters in length. It must start with a letter and cannot start with http
|
|
68
|
+
* @Property instanceName: The default instance name prefix. The instance name prefix must be 2 to 50 characters in length. It must start with a letter and cannot start with http:\/\/ or https:\/\/. It can contain letters, digits, periods (.), underscores (_), hyphens (-), and colons (:). If you use the activation code that is created by calling this operation (CreateActivation) to register managed instances, the instances are assigned sequential names that are prefixed by the value of this parameter. You can also specify a new instance name to replace the assigned sequential name when you register a managed instance.If you specify InstanceName when you register a managed instance, an instance name in theformat of <InstanceName>-<Number> is generated. The number of digits in the <Number> value isdetermined by that in the InstanceCount value. Example: 001. If you do not specify InstanceName, the hostname (Hostname) is used as the instance name.
|
|
70
69
|
*/
|
|
71
70
|
instanceName: string | ros.IResolvable | undefined;
|
|
72
71
|
/**
|
|
@@ -82,8 +81,6 @@ export declare class RosActivation extends ros.RosResource {
|
|
|
82
81
|
*/
|
|
83
82
|
timeToLiveInHours: number | ros.IResolvable | undefined;
|
|
84
83
|
/**
|
|
85
|
-
* Create a new `ALIYUN::ECS::Activation`.
|
|
86
|
-
*
|
|
87
84
|
* @param scope - scope in which this resource is defined
|
|
88
85
|
* @param id - scoped id of the resource
|
|
89
86
|
* @param props - resource properties
|
|
@@ -114,7 +111,8 @@ export declare namespace RosActivation {
|
|
|
114
111
|
}
|
|
115
112
|
}
|
|
116
113
|
/**
|
|
117
|
-
* Properties for defining a `
|
|
114
|
+
* Properties for defining a `RosAssignIpv6Addresses`.
|
|
115
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-assignipv6addresses
|
|
118
116
|
*/
|
|
119
117
|
export interface RosAssignIpv6AddressesProps {
|
|
120
118
|
/**
|
|
@@ -133,17 +131,15 @@ export interface RosAssignIpv6AddressesProps {
|
|
|
133
131
|
readonly ipv6Addresses?: Array<any | ros.IResolvable> | ros.IResolvable;
|
|
134
132
|
}
|
|
135
133
|
/**
|
|
136
|
-
*
|
|
134
|
+
* This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::AssignIpv6Addresses`, which is used to assign one or more IPv6 addresses to an elastic network interface (ENI).
|
|
135
|
+
* @Note This class does not contain additional functions, so it is recommended to use the `AssignIpv6Addresses` class instead of this class for a more convenient development experience.
|
|
136
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-assignipv6addresses
|
|
137
137
|
*/
|
|
138
138
|
export declare class RosAssignIpv6Addresses extends ros.RosResource {
|
|
139
139
|
/**
|
|
140
140
|
* The resource type name for this resource class.
|
|
141
141
|
*/
|
|
142
142
|
static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::AssignIpv6Addresses";
|
|
143
|
-
/**
|
|
144
|
-
* A factory method that creates a new instance of this class from an object
|
|
145
|
-
* containing the properties of this ROS resource.
|
|
146
|
-
*/
|
|
147
143
|
/**
|
|
148
144
|
* @Attribute Ipv6AddressIds: Assigned IPv6 address IDs.
|
|
149
145
|
*/
|
|
@@ -172,8 +168,6 @@ export declare class RosAssignIpv6Addresses extends ros.RosResource {
|
|
|
172
168
|
*/
|
|
173
169
|
ipv6Addresses: Array<any | ros.IResolvable> | ros.IResolvable | undefined;
|
|
174
170
|
/**
|
|
175
|
-
* Create a new `ALIYUN::ECS::AssignIpv6Addresses`.
|
|
176
|
-
*
|
|
177
171
|
* @param scope - scope in which this resource is defined
|
|
178
172
|
* @param id - scoped id of the resource
|
|
179
173
|
* @param props - resource properties
|
|
@@ -189,7 +183,8 @@ export declare class RosAssignIpv6Addresses extends ros.RosResource {
|
|
|
189
183
|
};
|
|
190
184
|
}
|
|
191
185
|
/**
|
|
192
|
-
* Properties for defining a `
|
|
186
|
+
* Properties for defining a `RosAssignPrivateIpAddresses`.
|
|
187
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-assignprivateipaddresses
|
|
193
188
|
*/
|
|
194
189
|
export interface RosAssignPrivateIpAddressesProps {
|
|
195
190
|
/**
|
|
@@ -211,17 +206,15 @@ export interface RosAssignPrivateIpAddressesProps {
|
|
|
211
206
|
readonly secondaryPrivateIpAddressCount?: number | ros.IResolvable;
|
|
212
207
|
}
|
|
213
208
|
/**
|
|
214
|
-
*
|
|
209
|
+
* This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::AssignPrivateIpAddresses`, which is used to assign one or more secondary private IP addresses to an ENI. You can specify private IP addresses within the CIDR block of the vSwitch that hosts the ENI. You can also specify the number of private IP addresses for ECS to assign them automatically.
|
|
210
|
+
* @Note This class does not contain additional functions, so it is recommended to use the `AssignPrivateIpAddresses` class instead of this class for a more convenient development experience.
|
|
211
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-assignprivateipaddresses
|
|
215
212
|
*/
|
|
216
213
|
export declare class RosAssignPrivateIpAddresses extends ros.RosResource {
|
|
217
214
|
/**
|
|
218
215
|
* The resource type name for this resource class.
|
|
219
216
|
*/
|
|
220
217
|
static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::AssignPrivateIpAddresses";
|
|
221
|
-
/**
|
|
222
|
-
* A factory method that creates a new instance of this class from an object
|
|
223
|
-
* containing the properties of this ROS resource.
|
|
224
|
-
*/
|
|
225
218
|
/**
|
|
226
219
|
* @Attribute NetworkInterfaceId: The ID of the ENI.
|
|
227
220
|
*/
|
|
@@ -249,8 +242,6 @@ export declare class RosAssignPrivateIpAddresses extends ros.RosResource {
|
|
|
249
242
|
*/
|
|
250
243
|
secondaryPrivateIpAddressCount: number | ros.IResolvable | undefined;
|
|
251
244
|
/**
|
|
252
|
-
* Create a new `ALIYUN::ECS::AssignPrivateIpAddresses`.
|
|
253
|
-
*
|
|
254
245
|
* @param scope - scope in which this resource is defined
|
|
255
246
|
* @param id - scoped id of the resource
|
|
256
247
|
* @param props - resource properties
|
|
@@ -266,7 +257,8 @@ export declare class RosAssignPrivateIpAddresses extends ros.RosResource {
|
|
|
266
257
|
};
|
|
267
258
|
}
|
|
268
259
|
/**
|
|
269
|
-
* Properties for defining a `
|
|
260
|
+
* Properties for defining a `RosAutoProvisioningGroup`.
|
|
261
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-autoprovisioninggroup
|
|
270
262
|
*/
|
|
271
263
|
export interface RosAutoProvisioningGroupProps {
|
|
272
264
|
/**
|
|
@@ -279,7 +271,7 @@ export interface RosAutoProvisioningGroupProps {
|
|
|
279
271
|
readonly totalTargetCapacity: string | ros.IResolvable;
|
|
280
272
|
/**
|
|
281
273
|
* @Property autoProvisioningGroupName: The name of the auto provisioning group to be created. It must be 2 to 128 characters
|
|
282
|
-
* in length. It must start with a letter but cannot start with http
|
|
274
|
+
* in length. It must start with a letter but cannot start with http:\/\/ or https:\/\/.
|
|
283
275
|
* It can contain letters, digits, colons (:), underscores (_), and hyphens (-).
|
|
284
276
|
*/
|
|
285
277
|
readonly autoProvisioningGroupName?: string | ros.IResolvable;
|
|
@@ -415,17 +407,15 @@ export interface RosAutoProvisioningGroupProps {
|
|
|
415
407
|
readonly validUntil?: string | ros.IResolvable;
|
|
416
408
|
}
|
|
417
409
|
/**
|
|
418
|
-
*
|
|
410
|
+
* This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::AutoProvisioningGroup`, which is used to create an auto provisioning group.
|
|
411
|
+
* @Note This class does not contain additional functions, so it is recommended to use the `AutoProvisioningGroup` class instead of this class for a more convenient development experience.
|
|
412
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-autoprovisioninggroup
|
|
419
413
|
*/
|
|
420
414
|
export declare class RosAutoProvisioningGroup extends ros.RosResource {
|
|
421
415
|
/**
|
|
422
416
|
* The resource type name for this resource class.
|
|
423
417
|
*/
|
|
424
418
|
static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::AutoProvisioningGroup";
|
|
425
|
-
/**
|
|
426
|
-
* A factory method that creates a new instance of this class from an object
|
|
427
|
-
* containing the properties of this ROS resource.
|
|
428
|
-
*/
|
|
429
419
|
/**
|
|
430
420
|
* @Attribute AutoProvisioningGroupId: The ID of the auto provisioning group.
|
|
431
421
|
*/
|
|
@@ -445,7 +435,7 @@ export declare class RosAutoProvisioningGroup extends ros.RosResource {
|
|
|
445
435
|
totalTargetCapacity: string | ros.IResolvable;
|
|
446
436
|
/**
|
|
447
437
|
* @Property autoProvisioningGroupName: The name of the auto provisioning group to be created. It must be 2 to 128 characters
|
|
448
|
-
* in length. It must start with a letter but cannot start with http
|
|
438
|
+
* in length. It must start with a letter but cannot start with http:\/\/ or https:\/\/.
|
|
449
439
|
* It can contain letters, digits, colons (:), underscores (_), and hyphens (-).
|
|
450
440
|
*/
|
|
451
441
|
autoProvisioningGroupName: string | ros.IResolvable | undefined;
|
|
@@ -580,8 +570,6 @@ export declare class RosAutoProvisioningGroup extends ros.RosResource {
|
|
|
580
570
|
*/
|
|
581
571
|
validUntil: string | ros.IResolvable | undefined;
|
|
582
572
|
/**
|
|
583
|
-
* Create a new `ALIYUN::ECS::AutoProvisioningGroup`.
|
|
584
|
-
*
|
|
585
573
|
* @param scope - scope in which this resource is defined
|
|
586
574
|
* @param id - scoped id of the resource
|
|
587
575
|
* @param props - resource properties
|
|
@@ -614,7 +602,7 @@ export declare namespace RosAutoProvisioningGroup {
|
|
|
614
602
|
*/
|
|
615
603
|
readonly category?: string | ros.IResolvable;
|
|
616
604
|
/**
|
|
617
|
-
* @Property description: The description of data disk N. The description must be 2 to 256 characters in length and cannot start with http
|
|
605
|
+
* @Property description: The description of data disk N. The description must be 2 to 256 characters in length and cannot start with http:\/\/ or https:\/\/.
|
|
618
606
|
*/
|
|
619
607
|
readonly description?: string | ros.IResolvable;
|
|
620
608
|
/**
|
|
@@ -627,10 +615,10 @@ export declare namespace RosAutoProvisioningGroup {
|
|
|
627
615
|
readonly encrypted?: boolean | ros.IResolvable;
|
|
628
616
|
/**
|
|
629
617
|
* @Property performanceLevel: The performance level of the ESSD used as data disk. Default value: PL1. Valid values:
|
|
630
|
-
* PL0: A single ESSD can deliver up to 10,000 random read
|
|
631
|
-
* PL1: A single ESSD can deliver up to 50,000 random read
|
|
632
|
-
* PL2: A single ESSD can deliver up to 100,000 random read
|
|
633
|
-
* PL3: A single ESSD can deliver up to 1,000,000 random read
|
|
618
|
+
* PL0: A single ESSD can deliver up to 10,000 random read\/write IOPS.
|
|
619
|
+
* PL1: A single ESSD can deliver up to 50,000 random read\/write IOPS.
|
|
620
|
+
* PL2: A single ESSD can deliver up to 100,000 random read\/write IOPS.
|
|
621
|
+
* PL3: A single ESSD can deliver up to 1,000,000 random read\/write IOPS.
|
|
634
622
|
*/
|
|
635
623
|
readonly performanceLevel?: string | ros.IResolvable;
|
|
636
624
|
/**
|
|
@@ -642,7 +630,7 @@ export declare namespace RosAutoProvisioningGroup {
|
|
|
642
630
|
*/
|
|
643
631
|
readonly deleteWithInstance?: boolean | ros.IResolvable;
|
|
644
632
|
/**
|
|
645
|
-
* @Property diskName: The name of data disk N. The name must be 2 to 128 characters in length. It must start with a letter but cannot start with http
|
|
633
|
+
* @Property diskName: The name of data disk N. The name must be 2 to 128 characters in length. It must start with a letter but cannot start with http:\/\/ or https:\/\/. It can contain letters, digits, periods (.), colons (:), underscores (_), and hyphens (-).
|
|
646
634
|
*/
|
|
647
635
|
readonly diskName?: string | ros.IResolvable;
|
|
648
636
|
/**
|
|
@@ -663,9 +651,9 @@ export declare namespace RosAutoProvisioningGroup {
|
|
|
663
651
|
*/
|
|
664
652
|
readonly keyPairName?: string | ros.IResolvable;
|
|
665
653
|
/**
|
|
666
|
-
* @Property ioOptimized: Specifies whether the instance is I
|
|
667
|
-
* none: The instance is not I
|
|
668
|
-
* optimized: The instance is I
|
|
654
|
+
* @Property ioOptimized: Specifies whether the instance is I\/O optimized. Valid values:
|
|
655
|
+
* none: The instance is not I\/O optimized.
|
|
656
|
+
* optimized: The instance is I\/O optimized.
|
|
669
657
|
*/
|
|
670
658
|
readonly ioOptimized?: string | ros.IResolvable;
|
|
671
659
|
/**
|
|
@@ -681,7 +669,7 @@ export declare namespace RosAutoProvisioningGroup {
|
|
|
681
669
|
*/
|
|
682
670
|
readonly userData?: string | ros.IResolvable;
|
|
683
671
|
/**
|
|
684
|
-
* @Property systemDiskDescription: The description of the system disk. The description must be 2 to 256 characters in length and cannot start with http
|
|
672
|
+
* @Property systemDiskDescription: The description of the system disk. The description must be 2 to 256 characters in length and cannot start with http:\/\/ or https:\/\/.
|
|
685
673
|
*/
|
|
686
674
|
readonly systemDiskDescription?: string | ros.IResolvable;
|
|
687
675
|
/**
|
|
@@ -707,7 +695,7 @@ export declare namespace RosAutoProvisioningGroup {
|
|
|
707
695
|
*/
|
|
708
696
|
readonly instanceName?: string | ros.IResolvable;
|
|
709
697
|
/**
|
|
710
|
-
* @Property systemDiskName: The name of the system disk. The name must be 2 to 128 characters in length. It must start with a letter but cannot start with http
|
|
698
|
+
* @Property systemDiskName: The name of the system disk. The name must be 2 to 128 characters in length. It must start with a letter but cannot start with http:\/\/ or https:\/\/. It can contain letters, digits, periods (.), colons (:), underscores (_), and hyphens (-).
|
|
711
699
|
*/
|
|
712
700
|
readonly systemDiskName?: string | ros.IResolvable;
|
|
713
701
|
/**
|
|
@@ -719,15 +707,15 @@ export declare namespace RosAutoProvisioningGroup {
|
|
|
719
707
|
*/
|
|
720
708
|
readonly ramRoleName?: string | ros.IResolvable;
|
|
721
709
|
/**
|
|
722
|
-
* @Property internetMaxBandwidthOut: The maximum outbound public bandwidth. Unit: Mbit
|
|
710
|
+
* @Property internetMaxBandwidthOut: The maximum outbound public bandwidth. Unit: Mbit\/s. Valid values: 0 to 100. Default value: 0.
|
|
723
711
|
*/
|
|
724
712
|
readonly internetMaxBandwidthOut?: number | ros.IResolvable;
|
|
725
713
|
/**
|
|
726
714
|
* @Property systemDiskPerformanceLevel: The performance level of the ESSD used as the system disk. Default value: PL0. Valid values:
|
|
727
|
-
* PL0: A single ESSD can deliver up to 10,000 random read
|
|
728
|
-
* PL1: A single ESSD can deliver up to 50,000 random read
|
|
729
|
-
* PL2: A single ESSD can deliver up to 100,000 random read
|
|
730
|
-
* PL3: A single ESSD can deliver up to 1,000,000 random read
|
|
715
|
+
* PL0: A single ESSD can deliver up to 10,000 random read\/write IOPS.
|
|
716
|
+
* PL1: A single ESSD can deliver up to 50,000 random read\/write IOPS.
|
|
717
|
+
* PL2: A single ESSD can deliver up to 100,000 random read\/write IOPS.
|
|
718
|
+
* PL3: A single ESSD can deliver up to 1,000,000 random read\/write IOPS.
|
|
731
719
|
*/
|
|
732
720
|
readonly systemDiskPerformanceLevel?: string | ros.IResolvable;
|
|
733
721
|
/**
|
|
@@ -817,7 +805,8 @@ export declare namespace RosAutoProvisioningGroup {
|
|
|
817
805
|
}
|
|
818
806
|
}
|
|
819
807
|
/**
|
|
820
|
-
* Properties for defining a `
|
|
808
|
+
* Properties for defining a `RosAutoSnapshotPolicy`.
|
|
809
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-autosnapshotpolicy
|
|
821
810
|
*/
|
|
822
811
|
export interface RosAutoSnapshotPolicyProps {
|
|
823
812
|
/**
|
|
@@ -843,7 +832,7 @@ export interface RosAutoSnapshotPolicyProps {
|
|
|
843
832
|
* @Property autoSnapshotPolicyName: The name of the automatic snapshot policy.
|
|
844
833
|
* It can consist of [2, 128] English or Chinese characters.
|
|
845
834
|
* Must begin with an uppercase or lowercase letter or a Chinese character. Can contain numbers, periods (.), colons (:), underscores (_), and hyphens (-).
|
|
846
|
-
* Cannot start with http
|
|
835
|
+
* Cannot start with http:\/\/ or https:\/\/.
|
|
847
836
|
* Default value: null.
|
|
848
837
|
*/
|
|
849
838
|
readonly autoSnapshotPolicyName?: string | ros.IResolvable;
|
|
@@ -861,17 +850,15 @@ export interface RosAutoSnapshotPolicyProps {
|
|
|
861
850
|
readonly tags?: RosAutoSnapshotPolicy.TagsProperty[];
|
|
862
851
|
}
|
|
863
852
|
/**
|
|
864
|
-
*
|
|
853
|
+
* This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::AutoSnapshotPolicy`, which is used to create an automatic snapshot policy.
|
|
854
|
+
* @Note This class does not contain additional functions, so it is recommended to use the `AutoSnapshotPolicy` class instead of this class for a more convenient development experience.
|
|
855
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-autosnapshotpolicy
|
|
865
856
|
*/
|
|
866
857
|
export declare class RosAutoSnapshotPolicy extends ros.RosResource {
|
|
867
858
|
/**
|
|
868
859
|
* The resource type name for this resource class.
|
|
869
860
|
*/
|
|
870
861
|
static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::AutoSnapshotPolicy";
|
|
871
|
-
/**
|
|
872
|
-
* A factory method that creates a new instance of this class from an object
|
|
873
|
-
* containing the properties of this ROS resource.
|
|
874
|
-
*/
|
|
875
862
|
/**
|
|
876
863
|
* @Attribute AutoSnapshotPolicyId: The automatic snapshot policy ID.
|
|
877
864
|
*/
|
|
@@ -900,7 +887,7 @@ export declare class RosAutoSnapshotPolicy extends ros.RosResource {
|
|
|
900
887
|
* @Property autoSnapshotPolicyName: The name of the automatic snapshot policy.
|
|
901
888
|
* It can consist of [2, 128] English or Chinese characters.
|
|
902
889
|
* Must begin with an uppercase or lowercase letter or a Chinese character. Can contain numbers, periods (.), colons (:), underscores (_), and hyphens (-).
|
|
903
|
-
* Cannot start with http
|
|
890
|
+
* Cannot start with http:\/\/ or https:\/\/.
|
|
904
891
|
* Default value: null.
|
|
905
892
|
*/
|
|
906
893
|
autoSnapshotPolicyName: string | ros.IResolvable | undefined;
|
|
@@ -917,8 +904,6 @@ export declare class RosAutoSnapshotPolicy extends ros.RosResource {
|
|
|
917
904
|
*/
|
|
918
905
|
tags: RosAutoSnapshotPolicy.TagsProperty[] | undefined;
|
|
919
906
|
/**
|
|
920
|
-
* Create a new `ALIYUN::ECS::AutoSnapshotPolicy`.
|
|
921
|
-
*
|
|
922
907
|
* @param scope - scope in which this resource is defined
|
|
923
908
|
* @param id - scoped id of the resource
|
|
924
909
|
* @param props - resource properties
|
|
@@ -949,7 +934,155 @@ export declare namespace RosAutoSnapshotPolicy {
|
|
|
949
934
|
}
|
|
950
935
|
}
|
|
951
936
|
/**
|
|
952
|
-
* Properties for defining a `
|
|
937
|
+
* Properties for defining a `RosCapacityReservation`.
|
|
938
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-capacityreservation
|
|
939
|
+
*/
|
|
940
|
+
export interface RosCapacityReservationProps {
|
|
941
|
+
/**
|
|
942
|
+
* @Property instanceAmount: The total number of instances for which to reserve capacity of an instance type.
|
|
943
|
+
*/
|
|
944
|
+
readonly instanceAmount: number | ros.IResolvable;
|
|
945
|
+
/**
|
|
946
|
+
* @Property instanceType: The instance type. A capacity reservation can be created to reserve the capacity of only a single instance type. You can call the DescribeInstanceTypes operation to query the instance types provided by ECS.
|
|
947
|
+
*/
|
|
948
|
+
readonly instanceType: string | ros.IResolvable;
|
|
949
|
+
/**
|
|
950
|
+
* @Property zoneId: The ID of zone N within the region in which to create the capacity reservation. A capacity reservation can reserve resources within only a single zone.
|
|
951
|
+
*/
|
|
952
|
+
readonly zoneId: string | ros.IResolvable;
|
|
953
|
+
/**
|
|
954
|
+
* @Property description: The description of the capacity reservation. The description must be 2 to 256 characters in length and cannot start with http:\/\/ or https:\/\/.
|
|
955
|
+
* This parameter is empty by default.
|
|
956
|
+
*/
|
|
957
|
+
readonly description?: string | ros.IResolvable;
|
|
958
|
+
/**
|
|
959
|
+
* @Property endTime: The time when the capacity reservation expires. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. For more information, see ISO 8601.
|
|
960
|
+
*/
|
|
961
|
+
readonly endTime?: string | ros.IResolvable;
|
|
962
|
+
/**
|
|
963
|
+
* @Property endTimeType: The release mode of the capacity reservation. Valid values:
|
|
964
|
+
* Limited: The capacity reservation is automatically released at the specified time. If you specify this parameter, you must also specify the EndTime parameter.
|
|
965
|
+
* Unlimited: The capacity reservation must be manually released. You can release it anytime.
|
|
966
|
+
*/
|
|
967
|
+
readonly endTimeType?: string | ros.IResolvable;
|
|
968
|
+
/**
|
|
969
|
+
* @Property privatePoolOptions:
|
|
970
|
+
*/
|
|
971
|
+
readonly privatePoolOptions?: RosCapacityReservation.PrivatePoolOptionsProperty | ros.IResolvable;
|
|
972
|
+
/**
|
|
973
|
+
* @Property resourceGroupId: The ID of the resource group to which to assign the capacity reservation.
|
|
974
|
+
*/
|
|
975
|
+
readonly resourceGroupId?: string | ros.IResolvable;
|
|
976
|
+
/**
|
|
977
|
+
* @Property tags:
|
|
978
|
+
*/
|
|
979
|
+
readonly tags?: RosCapacityReservation.TagsProperty[];
|
|
980
|
+
}
|
|
981
|
+
/**
|
|
982
|
+
* This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::CapacityReservation`.
|
|
983
|
+
* @Note This class does not contain additional functions, so it is recommended to use the `CapacityReservation` class instead of this class for a more convenient development experience.
|
|
984
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-capacityreservation
|
|
985
|
+
*/
|
|
986
|
+
export declare class RosCapacityReservation extends ros.RosResource {
|
|
987
|
+
/**
|
|
988
|
+
* The resource type name for this resource class.
|
|
989
|
+
*/
|
|
990
|
+
static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::CapacityReservation";
|
|
991
|
+
/**
|
|
992
|
+
* @Attribute PrivatePoolOptionsId: The ID of the capacity reservation.
|
|
993
|
+
*/
|
|
994
|
+
readonly attrPrivatePoolOptionsId: ros.IResolvable;
|
|
995
|
+
enableResourcePropertyConstraint: boolean;
|
|
996
|
+
/**
|
|
997
|
+
* @Property instanceAmount: The total number of instances for which to reserve capacity of an instance type.
|
|
998
|
+
*/
|
|
999
|
+
instanceAmount: number | ros.IResolvable;
|
|
1000
|
+
/**
|
|
1001
|
+
* @Property instanceType: The instance type. A capacity reservation can be created to reserve the capacity of only a single instance type. You can call the DescribeInstanceTypes operation to query the instance types provided by ECS.
|
|
1002
|
+
*/
|
|
1003
|
+
instanceType: string | ros.IResolvable;
|
|
1004
|
+
/**
|
|
1005
|
+
* @Property zoneId: The ID of zone N within the region in which to create the capacity reservation. A capacity reservation can reserve resources within only a single zone.
|
|
1006
|
+
*/
|
|
1007
|
+
zoneId: string | ros.IResolvable;
|
|
1008
|
+
/**
|
|
1009
|
+
* @Property description: The description of the capacity reservation. The description must be 2 to 256 characters in length and cannot start with http:\/\/ or https:\/\/.
|
|
1010
|
+
* This parameter is empty by default.
|
|
1011
|
+
*/
|
|
1012
|
+
description: string | ros.IResolvable | undefined;
|
|
1013
|
+
/**
|
|
1014
|
+
* @Property endTime: The time when the capacity reservation expires. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. For more information, see ISO 8601.
|
|
1015
|
+
*/
|
|
1016
|
+
endTime: string | ros.IResolvable | undefined;
|
|
1017
|
+
/**
|
|
1018
|
+
* @Property endTimeType: The release mode of the capacity reservation. Valid values:
|
|
1019
|
+
* Limited: The capacity reservation is automatically released at the specified time. If you specify this parameter, you must also specify the EndTime parameter.
|
|
1020
|
+
* Unlimited: The capacity reservation must be manually released. You can release it anytime.
|
|
1021
|
+
*/
|
|
1022
|
+
endTimeType: string | ros.IResolvable | undefined;
|
|
1023
|
+
/**
|
|
1024
|
+
* @Property privatePoolOptions:
|
|
1025
|
+
*/
|
|
1026
|
+
privatePoolOptions: RosCapacityReservation.PrivatePoolOptionsProperty | ros.IResolvable | undefined;
|
|
1027
|
+
/**
|
|
1028
|
+
* @Property resourceGroupId: The ID of the resource group to which to assign the capacity reservation.
|
|
1029
|
+
*/
|
|
1030
|
+
resourceGroupId: string | ros.IResolvable | undefined;
|
|
1031
|
+
/**
|
|
1032
|
+
* @Property tags:
|
|
1033
|
+
*/
|
|
1034
|
+
tags: RosCapacityReservation.TagsProperty[] | undefined;
|
|
1035
|
+
/**
|
|
1036
|
+
* @param scope - scope in which this resource is defined
|
|
1037
|
+
* @param id - scoped id of the resource
|
|
1038
|
+
* @param props - resource properties
|
|
1039
|
+
*/
|
|
1040
|
+
constructor(scope: ros.Construct, id: string, props: RosCapacityReservationProps, enableResourcePropertyConstraint: boolean);
|
|
1041
|
+
protected get rosProperties(): {
|
|
1042
|
+
[key: string]: any;
|
|
1043
|
+
};
|
|
1044
|
+
protected renderProperties(props: {
|
|
1045
|
+
[key: string]: any;
|
|
1046
|
+
}): {
|
|
1047
|
+
[key: string]: any;
|
|
1048
|
+
};
|
|
1049
|
+
}
|
|
1050
|
+
export declare namespace RosCapacityReservation {
|
|
1051
|
+
/**
|
|
1052
|
+
* @stability external
|
|
1053
|
+
*/
|
|
1054
|
+
interface PrivatePoolOptionsProperty {
|
|
1055
|
+
/**
|
|
1056
|
+
* @Property matchCriteria: The type of the private pool to generate after the capacity reservation takes effect. Valid values:
|
|
1057
|
+
* Open: open private pool
|
|
1058
|
+
* Target: targeted private pool
|
|
1059
|
+
* Default value: Open.
|
|
1060
|
+
*/
|
|
1061
|
+
readonly matchCriteria?: string | ros.IResolvable;
|
|
1062
|
+
/**
|
|
1063
|
+
* @Property name: The name of the capacity reservation. The name must be 2 to 128 characters in length. The description must start with a letter but cannot start with http:\/\/ or https:\/\/. It can contain letters, digits, colons (:), underscores (_), and hyphens (-).
|
|
1064
|
+
*/
|
|
1065
|
+
readonly name?: string | ros.IResolvable;
|
|
1066
|
+
}
|
|
1067
|
+
}
|
|
1068
|
+
export declare namespace RosCapacityReservation {
|
|
1069
|
+
/**
|
|
1070
|
+
* @stability external
|
|
1071
|
+
*/
|
|
1072
|
+
interface TagsProperty {
|
|
1073
|
+
/**
|
|
1074
|
+
* @Property value: The value of tag N to add to the capacity reservation. 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 start with acs:. The tag value cannot contain http:\/\/ or https:\/\/.
|
|
1075
|
+
*/
|
|
1076
|
+
readonly value?: string | ros.IResolvable;
|
|
1077
|
+
/**
|
|
1078
|
+
* @Property key: The key of tag N to add to the capacity reservation. 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 contain http:\/\/ or https:\/\/. It cannot start with acs: or aliyun.
|
|
1079
|
+
*/
|
|
1080
|
+
readonly key?: string | ros.IResolvable;
|
|
1081
|
+
}
|
|
1082
|
+
}
|
|
1083
|
+
/**
|
|
1084
|
+
* Properties for defining a `RosCommand`.
|
|
1085
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-command
|
|
953
1086
|
*/
|
|
954
1087
|
export interface RosCommandProps {
|
|
955
1088
|
/**
|
|
@@ -987,17 +1120,15 @@ export interface RosCommandProps {
|
|
|
987
1120
|
readonly workingDir?: string | ros.IResolvable;
|
|
988
1121
|
}
|
|
989
1122
|
/**
|
|
990
|
-
*
|
|
1123
|
+
* This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::Command`, which is used to create a Cloud Assistant command.
|
|
1124
|
+
* @Note This class does not contain additional functions, so it is recommended to use the `Command` class instead of this class for a more convenient development experience.
|
|
1125
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-command
|
|
991
1126
|
*/
|
|
992
1127
|
export declare class RosCommand extends ros.RosResource {
|
|
993
1128
|
/**
|
|
994
1129
|
* The resource type name for this resource class.
|
|
995
1130
|
*/
|
|
996
1131
|
static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::Command";
|
|
997
|
-
/**
|
|
998
|
-
* A factory method that creates a new instance of this class from an object
|
|
999
|
-
* containing the properties of this ROS resource.
|
|
1000
|
-
*/
|
|
1001
1132
|
/**
|
|
1002
1133
|
* @Attribute CommandId: The id of command created.
|
|
1003
1134
|
*/
|
|
@@ -1037,8 +1168,6 @@ export declare class RosCommand extends ros.RosResource {
|
|
|
1037
1168
|
*/
|
|
1038
1169
|
workingDir: string | ros.IResolvable | undefined;
|
|
1039
1170
|
/**
|
|
1040
|
-
* Create a new `ALIYUN::ECS::Command`.
|
|
1041
|
-
*
|
|
1042
1171
|
* @param scope - scope in which this resource is defined
|
|
1043
1172
|
* @param id - scoped id of the resource
|
|
1044
1173
|
* @param props - resource properties
|
|
@@ -1069,7 +1198,8 @@ export declare namespace RosCommand {
|
|
|
1069
1198
|
}
|
|
1070
1199
|
}
|
|
1071
1200
|
/**
|
|
1072
|
-
* Properties for defining a `
|
|
1201
|
+
* Properties for defining a `RosCopyImage`.
|
|
1202
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-copyimage
|
|
1073
1203
|
*/
|
|
1074
1204
|
export interface RosCopyImageProps {
|
|
1075
1205
|
/**
|
|
@@ -1081,7 +1211,12 @@ export interface RosCopyImageProps {
|
|
|
1081
1211
|
*/
|
|
1082
1212
|
readonly imageId: string | ros.IResolvable;
|
|
1083
1213
|
/**
|
|
1084
|
-
* @Property
|
|
1214
|
+
* @Property allowCopyInSameRegion: Whether to allow copying images in the same region.
|
|
1215
|
+
* If set to true, the image will not be copied, the source image id will be returned, and the original image will not be deleted.
|
|
1216
|
+
*/
|
|
1217
|
+
readonly allowCopyInSameRegion?: boolean | ros.IResolvable;
|
|
1218
|
+
/**
|
|
1219
|
+
* @Property destinationDescription: The description of the destination custom image.It cannot begin with http:\/\/ or https:\/\/. Default value: null.
|
|
1085
1220
|
*/
|
|
1086
1221
|
readonly destinationDescription?: string | ros.IResolvable;
|
|
1087
1222
|
/**
|
|
@@ -1110,17 +1245,15 @@ export interface RosCopyImageProps {
|
|
|
1110
1245
|
readonly tag?: Array<ros.RosTag | ros.IResolvable> | ros.IResolvable;
|
|
1111
1246
|
}
|
|
1112
1247
|
/**
|
|
1113
|
-
*
|
|
1248
|
+
* This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::CopyImage`, which is used to copy a custom image from one region to another region.
|
|
1249
|
+
* @Note This class does not contain additional functions, so it is recommended to use the `CopyImage` class instead of this class for a more convenient development experience.
|
|
1250
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-copyimage
|
|
1114
1251
|
*/
|
|
1115
1252
|
export declare class RosCopyImage extends ros.RosResource {
|
|
1116
1253
|
/**
|
|
1117
1254
|
* The resource type name for this resource class.
|
|
1118
1255
|
*/
|
|
1119
1256
|
static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::CopyImage";
|
|
1120
|
-
/**
|
|
1121
|
-
* A factory method that creates a new instance of this class from an object
|
|
1122
|
-
* containing the properties of this ROS resource.
|
|
1123
|
-
*/
|
|
1124
1257
|
/**
|
|
1125
1258
|
* @Attribute DestinationRegionId: ID of the region to where the destination custom image belongs.
|
|
1126
1259
|
*/
|
|
@@ -1143,7 +1276,12 @@ export declare class RosCopyImage extends ros.RosResource {
|
|
|
1143
1276
|
*/
|
|
1144
1277
|
imageId: string | ros.IResolvable;
|
|
1145
1278
|
/**
|
|
1146
|
-
* @Property
|
|
1279
|
+
* @Property allowCopyInSameRegion: Whether to allow copying images in the same region.
|
|
1280
|
+
* If set to true, the image will not be copied, the source image id will be returned, and the original image will not be deleted.
|
|
1281
|
+
*/
|
|
1282
|
+
allowCopyInSameRegion: boolean | ros.IResolvable | undefined;
|
|
1283
|
+
/**
|
|
1284
|
+
* @Property destinationDescription: The description of the destination custom image.It cannot begin with http:\/\/ or https:\/\/. Default value: null.
|
|
1147
1285
|
*/
|
|
1148
1286
|
destinationDescription: string | ros.IResolvable | undefined;
|
|
1149
1287
|
/**
|
|
@@ -1171,8 +1309,6 @@ export declare class RosCopyImage extends ros.RosResource {
|
|
|
1171
1309
|
*/
|
|
1172
1310
|
tag: Array<ros.RosTag | ros.IResolvable> | ros.IResolvable | undefined;
|
|
1173
1311
|
/**
|
|
1174
|
-
* Create a new `ALIYUN::ECS::CopyImage`.
|
|
1175
|
-
*
|
|
1176
1312
|
* @param scope - scope in which this resource is defined
|
|
1177
1313
|
* @param id - scoped id of the resource
|
|
1178
1314
|
* @param props - resource properties
|
|
@@ -1203,7 +1339,8 @@ export declare namespace RosCopyImage {
|
|
|
1203
1339
|
}
|
|
1204
1340
|
}
|
|
1205
1341
|
/**
|
|
1206
|
-
* Properties for defining a `
|
|
1342
|
+
* Properties for defining a `RosCustomImage`.
|
|
1343
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-customimage
|
|
1207
1344
|
*/
|
|
1208
1345
|
export interface RosCustomImageProps {
|
|
1209
1346
|
/**
|
|
@@ -1212,27 +1349,43 @@ export interface RosCustomImageProps {
|
|
|
1212
1349
|
* X86_64 (default)
|
|
1213
1350
|
*/
|
|
1214
1351
|
readonly architecture?: string | ros.IResolvable;
|
|
1352
|
+
/**
|
|
1353
|
+
* @Property bootMode: Modify the startup mode of the image. Ranges:
|
|
1354
|
+
* BIOS: BIOS boot mode.
|
|
1355
|
+
* UEFI: UEFI boot mode.
|
|
1356
|
+
* You need to know the startup mode supported by the specified image. After modifying the startup mode through this parameter, it must match the startup mode supported by the image itself so that the instance can start normally.
|
|
1357
|
+
*/
|
|
1358
|
+
readonly bootMode?: string | ros.IResolvable;
|
|
1215
1359
|
/**
|
|
1216
1360
|
* @Property description: The description of the image.
|
|
1217
1361
|
* It can be [0, 256] letters in length.
|
|
1218
|
-
* It cannot begin with http
|
|
1362
|
+
* It cannot begin with http:\/\/ or https:\/\/.
|
|
1219
1363
|
* Default value: null.
|
|
1220
1364
|
*/
|
|
1221
1365
|
readonly description?: string | ros.IResolvable;
|
|
1366
|
+
/**
|
|
1367
|
+
* @Property detectionStrategy: Image detection policy. If this parameter is not configured, detection will not be triggered. Only Standard detection mode is supported.Currently, most Linux\/Windows versions are supported.
|
|
1368
|
+
*/
|
|
1369
|
+
readonly detectionStrategy?: string | ros.IResolvable;
|
|
1222
1370
|
/**
|
|
1223
1371
|
* @Property diskDeviceMapping:
|
|
1224
1372
|
*/
|
|
1225
1373
|
readonly diskDeviceMapping?: Array<RosCustomImage.DiskDeviceMappingProperty | ros.IResolvable> | ros.IResolvable;
|
|
1226
1374
|
/**
|
|
1227
|
-
* @Property imageFamily: The name of the image family of the
|
|
1375
|
+
* @Property imageFamily: The name of the image family of the image. The name must be 2 to 128 characters in length and can contain letters, digits, colons (:), underscores (_), and hyphens (-). It cannot contain http:\/\/ or https:\/\/. It must start with a letter and cannot start with acs: or aliyun.This parameter is empty by default.
|
|
1228
1376
|
*/
|
|
1229
1377
|
readonly imageFamily?: string | ros.IResolvable;
|
|
1230
1378
|
/**
|
|
1231
1379
|
* @Property imageName: Image name.
|
|
1232
1380
|
* Can contain [2, 128] characters in length. Must begin with an English letter or Chinese character. Can contain digits, colons (:), underscores (_), or hyphens (-).
|
|
1233
|
-
* Cannot begin with http
|
|
1381
|
+
* Cannot begin with http:\/\/ or https:\/\/.
|
|
1234
1382
|
*/
|
|
1235
1383
|
readonly imageName?: string | ros.IResolvable;
|
|
1384
|
+
/**
|
|
1385
|
+
* @Property imageVersion: Image version.
|
|
1386
|
+
* When you specify an instance ID (InstanceId) and the image of the instance is a cloud market image or a custom image created from a cloud market image. This parameter must be the same as the ImageVersion of the current instance image or set to empty.
|
|
1387
|
+
*/
|
|
1388
|
+
readonly imageVersion?: string | ros.IResolvable;
|
|
1236
1389
|
/**
|
|
1237
1390
|
* @Property instanceId: Instance ID.
|
|
1238
1391
|
*/
|
|
@@ -1250,7 +1403,7 @@ export interface RosCustomImageProps {
|
|
|
1250
1403
|
*/
|
|
1251
1404
|
readonly snapshotId?: string | ros.IResolvable;
|
|
1252
1405
|
/**
|
|
1253
|
-
* @Property sourceRegionId: ID of the region to where the instance
|
|
1406
|
+
* @Property sourceRegionId: ID of the region to where the instance\/snapshot belongs. Default is current region ID.
|
|
1254
1407
|
*/
|
|
1255
1408
|
readonly sourceRegionId?: string | ros.IResolvable;
|
|
1256
1409
|
/**
|
|
@@ -1259,17 +1412,15 @@ export interface RosCustomImageProps {
|
|
|
1259
1412
|
readonly tag?: Array<ros.RosTag | ros.IResolvable> | ros.IResolvable;
|
|
1260
1413
|
}
|
|
1261
1414
|
/**
|
|
1262
|
-
*
|
|
1415
|
+
* This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::CustomImage`, which is used to create a custom image.
|
|
1416
|
+
* @Note This class does not contain additional functions, so it is recommended to use the `CustomImage` class instead of this class for a more convenient development experience.
|
|
1417
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-customimage
|
|
1263
1418
|
*/
|
|
1264
1419
|
export declare class RosCustomImage extends ros.RosResource {
|
|
1265
1420
|
/**
|
|
1266
1421
|
* The resource type name for this resource class.
|
|
1267
1422
|
*/
|
|
1268
1423
|
static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::CustomImage";
|
|
1269
|
-
/**
|
|
1270
|
-
* A factory method that creates a new instance of this class from an object
|
|
1271
|
-
* containing the properties of this ROS resource.
|
|
1272
|
-
*/
|
|
1273
1424
|
/**
|
|
1274
1425
|
* @Attribute ImageId: Image ID
|
|
1275
1426
|
*/
|
|
@@ -1285,27 +1436,43 @@ export declare class RosCustomImage extends ros.RosResource {
|
|
|
1285
1436
|
* X86_64 (default)
|
|
1286
1437
|
*/
|
|
1287
1438
|
architecture: string | ros.IResolvable | undefined;
|
|
1439
|
+
/**
|
|
1440
|
+
* @Property bootMode: Modify the startup mode of the image. Ranges:
|
|
1441
|
+
* BIOS: BIOS boot mode.
|
|
1442
|
+
* UEFI: UEFI boot mode.
|
|
1443
|
+
* You need to know the startup mode supported by the specified image. After modifying the startup mode through this parameter, it must match the startup mode supported by the image itself so that the instance can start normally.
|
|
1444
|
+
*/
|
|
1445
|
+
bootMode: string | ros.IResolvable | undefined;
|
|
1288
1446
|
/**
|
|
1289
1447
|
* @Property description: The description of the image.
|
|
1290
1448
|
* It can be [0, 256] letters in length.
|
|
1291
|
-
* It cannot begin with http
|
|
1449
|
+
* It cannot begin with http:\/\/ or https:\/\/.
|
|
1292
1450
|
* Default value: null.
|
|
1293
1451
|
*/
|
|
1294
1452
|
description: string | ros.IResolvable | undefined;
|
|
1453
|
+
/**
|
|
1454
|
+
* @Property detectionStrategy: Image detection policy. If this parameter is not configured, detection will not be triggered. Only Standard detection mode is supported.Currently, most Linux\/Windows versions are supported.
|
|
1455
|
+
*/
|
|
1456
|
+
detectionStrategy: string | ros.IResolvable | undefined;
|
|
1295
1457
|
/**
|
|
1296
1458
|
* @Property diskDeviceMapping:
|
|
1297
1459
|
*/
|
|
1298
1460
|
diskDeviceMapping: Array<RosCustomImage.DiskDeviceMappingProperty | ros.IResolvable> | ros.IResolvable | undefined;
|
|
1299
1461
|
/**
|
|
1300
|
-
* @Property imageFamily: The name of the image family of the
|
|
1462
|
+
* @Property imageFamily: The name of the image family of the image. The name must be 2 to 128 characters in length and can contain letters, digits, colons (:), underscores (_), and hyphens (-). It cannot contain http:\/\/ or https:\/\/. It must start with a letter and cannot start with acs: or aliyun.This parameter is empty by default.
|
|
1301
1463
|
*/
|
|
1302
1464
|
imageFamily: string | ros.IResolvable | undefined;
|
|
1303
1465
|
/**
|
|
1304
1466
|
* @Property imageName: Image name.
|
|
1305
1467
|
* Can contain [2, 128] characters in length. Must begin with an English letter or Chinese character. Can contain digits, colons (:), underscores (_), or hyphens (-).
|
|
1306
|
-
* Cannot begin with http
|
|
1468
|
+
* Cannot begin with http:\/\/ or https:\/\/.
|
|
1307
1469
|
*/
|
|
1308
1470
|
imageName: string | ros.IResolvable | undefined;
|
|
1471
|
+
/**
|
|
1472
|
+
* @Property imageVersion: Image version.
|
|
1473
|
+
* When you specify an instance ID (InstanceId) and the image of the instance is a cloud market image or a custom image created from a cloud market image. This parameter must be the same as the ImageVersion of the current instance image or set to empty.
|
|
1474
|
+
*/
|
|
1475
|
+
imageVersion: string | ros.IResolvable | undefined;
|
|
1309
1476
|
/**
|
|
1310
1477
|
* @Property instanceId: Instance ID.
|
|
1311
1478
|
*/
|
|
@@ -1323,7 +1490,7 @@ export declare class RosCustomImage extends ros.RosResource {
|
|
|
1323
1490
|
*/
|
|
1324
1491
|
snapshotId: string | ros.IResolvable | undefined;
|
|
1325
1492
|
/**
|
|
1326
|
-
* @Property sourceRegionId: ID of the region to where the instance
|
|
1493
|
+
* @Property sourceRegionId: ID of the region to where the instance\/snapshot belongs. Default is current region ID.
|
|
1327
1494
|
*/
|
|
1328
1495
|
sourceRegionId: string | ros.IResolvable | undefined;
|
|
1329
1496
|
/**
|
|
@@ -1331,8 +1498,6 @@ export declare class RosCustomImage extends ros.RosResource {
|
|
|
1331
1498
|
*/
|
|
1332
1499
|
tag: Array<ros.RosTag | ros.IResolvable> | ros.IResolvable | undefined;
|
|
1333
1500
|
/**
|
|
1334
|
-
* Create a new `ALIYUN::ECS::CustomImage`.
|
|
1335
|
-
*
|
|
1336
1501
|
* @param scope - scope in which this resource is defined
|
|
1337
1502
|
* @param id - scoped id of the resource
|
|
1338
1503
|
* @param props - resource properties
|
|
@@ -1363,7 +1528,7 @@ export declare namespace RosCustomImage {
|
|
|
1363
1528
|
*/
|
|
1364
1529
|
readonly snapshotId?: string | ros.IResolvable;
|
|
1365
1530
|
/**
|
|
1366
|
-
* @Property device: Specify the device name in DiskMirrorMapping.N. in the custom image. Value range:
|
|
1531
|
+
* @Property device: Specify the device name in DiskMirrorMapping.N. in the custom image. Value range: \/dev\/xvda~\/dev\/xvdz
|
|
1367
1532
|
*/
|
|
1368
1533
|
readonly device?: string | ros.IResolvable;
|
|
1369
1534
|
/**
|
|
@@ -1384,17 +1549,18 @@ export declare namespace RosCustomImage {
|
|
|
1384
1549
|
*/
|
|
1385
1550
|
interface TagProperty {
|
|
1386
1551
|
/**
|
|
1387
|
-
* @Property value: The value of a tag of which n is a number from 1 to 20. Once you use this parameter, it can be a null string. It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http
|
|
1552
|
+
* @Property value: The value of a tag of which n is a number from 1 to 20. Once you use this parameter, it can be a null string. It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http:\/\/", or "https:\/\/".
|
|
1388
1553
|
*/
|
|
1389
1554
|
readonly value?: string | ros.IResolvable;
|
|
1390
1555
|
/**
|
|
1391
|
-
* @Property key: The key of a tag of which n is from 1 to 20. Once you use this parameter, it cannot be a null string. It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http
|
|
1556
|
+
* @Property key: The key of a tag of which n is from 1 to 20. Once you use this parameter, it cannot be a null string. It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http:\/\/", or "https:\/\/".
|
|
1392
1557
|
*/
|
|
1393
1558
|
readonly key?: string | ros.IResolvable;
|
|
1394
1559
|
}
|
|
1395
1560
|
}
|
|
1396
1561
|
/**
|
|
1397
|
-
* Properties for defining a `
|
|
1562
|
+
* Properties for defining a `RosDedicatedHost`.
|
|
1563
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-dedicatedhost
|
|
1398
1564
|
*/
|
|
1399
1565
|
export interface RosDedicatedHostProps {
|
|
1400
1566
|
/**
|
|
@@ -1426,7 +1592,7 @@ export interface RosDedicatedHostProps {
|
|
|
1426
1592
|
*/
|
|
1427
1593
|
readonly chargeType?: string | ros.IResolvable;
|
|
1428
1594
|
/**
|
|
1429
|
-
* @Property dedicatedHostName: The name of the dedicated host, [2, 128] English or Chinese characters. It must begin with an uppercase
|
|
1595
|
+
* @Property dedicatedHostName: The name of the dedicated host, [2, 128] English or Chinese characters. It must begin with an uppercase\/lowercase letter or a Chinese character, and may contain numbers, '_' or '-'. It cannot begin with http:\/\/ or https:\/\/.
|
|
1430
1596
|
*/
|
|
1431
1597
|
readonly dedicatedHostName?: string | ros.IResolvable;
|
|
1432
1598
|
/**
|
|
@@ -1446,7 +1612,7 @@ export interface RosDedicatedHostProps {
|
|
|
1446
1612
|
*/
|
|
1447
1613
|
readonly period?: number | ros.IResolvable;
|
|
1448
1614
|
/**
|
|
1449
|
-
* @Property periodUnit: Unit of prepaid time period, it could be Week
|
|
1615
|
+
* @Property periodUnit: Unit of prepaid time period, it could be Week\/Month\/Year. Default value is Month.
|
|
1450
1616
|
*/
|
|
1451
1617
|
readonly periodUnit?: string | ros.IResolvable;
|
|
1452
1618
|
/**
|
|
@@ -1458,7 +1624,7 @@ export interface RosDedicatedHostProps {
|
|
|
1458
1624
|
*/
|
|
1459
1625
|
readonly resourceGroupId?: string | ros.IResolvable;
|
|
1460
1626
|
/**
|
|
1461
|
-
* @Property tags: Tags to attach to
|
|
1627
|
+
* @Property tags: Tags to attach to DedicatedHost. Max support 20 tags to add during create DedicatedHost. Each tag with two properties Key and Value, and Key is required.
|
|
1462
1628
|
*/
|
|
1463
1629
|
readonly tags?: RosDedicatedHost.TagsProperty[];
|
|
1464
1630
|
/**
|
|
@@ -1467,17 +1633,15 @@ export interface RosDedicatedHostProps {
|
|
|
1467
1633
|
readonly zoneId?: string | ros.IResolvable;
|
|
1468
1634
|
}
|
|
1469
1635
|
/**
|
|
1470
|
-
*
|
|
1636
|
+
* This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::DedicatedHost`, which is used to create a dedicated host.
|
|
1637
|
+
* @Note This class does not contain additional functions, so it is recommended to use the `DedicatedHost` class instead of this class for a more convenient development experience.
|
|
1638
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-dedicatedhost
|
|
1471
1639
|
*/
|
|
1472
1640
|
export declare class RosDedicatedHost extends ros.RosResource {
|
|
1473
1641
|
/**
|
|
1474
1642
|
* The resource type name for this resource class.
|
|
1475
1643
|
*/
|
|
1476
1644
|
static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::DedicatedHost";
|
|
1477
|
-
/**
|
|
1478
|
-
* A factory method that creates a new instance of this class from an object
|
|
1479
|
-
* containing the properties of this ROS resource.
|
|
1480
|
-
*/
|
|
1481
1645
|
/**
|
|
1482
1646
|
* @Attribute DedicatedHostIds: The host id list of created hosts
|
|
1483
1647
|
*/
|
|
@@ -1516,7 +1680,7 @@ export declare class RosDedicatedHost extends ros.RosResource {
|
|
|
1516
1680
|
*/
|
|
1517
1681
|
chargeType: string | ros.IResolvable | undefined;
|
|
1518
1682
|
/**
|
|
1519
|
-
* @Property dedicatedHostName: The name of the dedicated host, [2, 128] English or Chinese characters. It must begin with an uppercase
|
|
1683
|
+
* @Property dedicatedHostName: The name of the dedicated host, [2, 128] English or Chinese characters. It must begin with an uppercase\/lowercase letter or a Chinese character, and may contain numbers, '_' or '-'. It cannot begin with http:\/\/ or https:\/\/.
|
|
1520
1684
|
*/
|
|
1521
1685
|
dedicatedHostName: string | ros.IResolvable | undefined;
|
|
1522
1686
|
/**
|
|
@@ -1536,7 +1700,7 @@ export declare class RosDedicatedHost extends ros.RosResource {
|
|
|
1536
1700
|
*/
|
|
1537
1701
|
period: number | ros.IResolvable | undefined;
|
|
1538
1702
|
/**
|
|
1539
|
-
* @Property periodUnit: Unit of prepaid time period, it could be Week
|
|
1703
|
+
* @Property periodUnit: Unit of prepaid time period, it could be Week\/Month\/Year. Default value is Month.
|
|
1540
1704
|
*/
|
|
1541
1705
|
periodUnit: string | ros.IResolvable | undefined;
|
|
1542
1706
|
/**
|
|
@@ -1548,7 +1712,7 @@ export declare class RosDedicatedHost extends ros.RosResource {
|
|
|
1548
1712
|
*/
|
|
1549
1713
|
resourceGroupId: string | ros.IResolvable | undefined;
|
|
1550
1714
|
/**
|
|
1551
|
-
* @Property tags: Tags to attach to
|
|
1715
|
+
* @Property tags: Tags to attach to DedicatedHost. Max support 20 tags to add during create DedicatedHost. Each tag with two properties Key and Value, and Key is required.
|
|
1552
1716
|
*/
|
|
1553
1717
|
tags: RosDedicatedHost.TagsProperty[] | undefined;
|
|
1554
1718
|
/**
|
|
@@ -1556,8 +1720,6 @@ export declare class RosDedicatedHost extends ros.RosResource {
|
|
|
1556
1720
|
*/
|
|
1557
1721
|
zoneId: string | ros.IResolvable | undefined;
|
|
1558
1722
|
/**
|
|
1559
|
-
* Create a new `ALIYUN::ECS::DedicatedHost`.
|
|
1560
|
-
*
|
|
1561
1723
|
* @param scope - scope in which this resource is defined
|
|
1562
1724
|
* @param id - scoped id of the resource
|
|
1563
1725
|
* @param props - resource properties
|
|
@@ -1588,20 +1750,27 @@ export declare namespace RosDedicatedHost {
|
|
|
1588
1750
|
}
|
|
1589
1751
|
}
|
|
1590
1752
|
/**
|
|
1591
|
-
* Properties for defining a `
|
|
1753
|
+
* Properties for defining a `RosDeploymentSet`.
|
|
1754
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-deploymentset
|
|
1592
1755
|
*/
|
|
1593
1756
|
export interface RosDeploymentSetProps {
|
|
1594
1757
|
/**
|
|
1595
1758
|
* @Property deploymentSetName: The name of the deployment set. It must be 2 to 128 characters in length. It must
|
|
1596
|
-
* start with a letter and cannot start with http
|
|
1759
|
+
* start with a letter and cannot start with http:\/\/ or https:\/\/. It can contain letters,
|
|
1597
1760
|
* digits, colons (:), underscores (_), and hyphens (-).
|
|
1598
1761
|
*/
|
|
1599
1762
|
readonly deploymentSetName?: string | ros.IResolvable;
|
|
1600
1763
|
/**
|
|
1601
1764
|
* @Property description: The description of the deployment set. It must be 2 to 256 characters in length. It
|
|
1602
|
-
* cannot start with http
|
|
1765
|
+
* cannot start with http:\/\/ or https:\/\/.
|
|
1603
1766
|
*/
|
|
1604
1767
|
readonly description?: string | ros.IResolvable;
|
|
1768
|
+
/**
|
|
1769
|
+
* @Property groupCount: Set the number of groups for the deployment set group high availability policy. Value range: 1~7.
|
|
1770
|
+
* Default value: 3.
|
|
1771
|
+
* This parameter only takes effect when Strategy=AvailabilityGroup.
|
|
1772
|
+
*/
|
|
1773
|
+
readonly groupCount?: number | ros.IResolvable;
|
|
1605
1774
|
/**
|
|
1606
1775
|
* @Property onUnableToRedeployFailedInstance: The emergency solution to redeploy failed instances in the deployment set. Valid values:
|
|
1607
1776
|
* CancelMembershipAndStart: restarts the instances immediately after they are shut down
|
|
@@ -1610,19 +1779,24 @@ export interface RosDeploymentSetProps {
|
|
|
1610
1779
|
* set is replenished.
|
|
1611
1780
|
*/
|
|
1612
1781
|
readonly onUnableToRedeployFailedInstance?: string | ros.IResolvable;
|
|
1782
|
+
/**
|
|
1783
|
+
* @Property strategy: Deployment strategy. Ranges:
|
|
1784
|
+
* Availability: High availability strategy.
|
|
1785
|
+
* AvailabilityGroup: Deployment group high availability strategy.
|
|
1786
|
+
* LowLatency: Network low latency strategy.
|
|
1787
|
+
*/
|
|
1788
|
+
readonly strategy?: string | ros.IResolvable;
|
|
1613
1789
|
}
|
|
1614
1790
|
/**
|
|
1615
|
-
*
|
|
1791
|
+
* This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::DeploymentSet`, which is used to create a deployment set in a region.
|
|
1792
|
+
* @Note This class does not contain additional functions, so it is recommended to use the `DeploymentSet` class instead of this class for a more convenient development experience.
|
|
1793
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-deploymentset
|
|
1616
1794
|
*/
|
|
1617
1795
|
export declare class RosDeploymentSet extends ros.RosResource {
|
|
1618
1796
|
/**
|
|
1619
1797
|
* The resource type name for this resource class.
|
|
1620
1798
|
*/
|
|
1621
1799
|
static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::DeploymentSet";
|
|
1622
|
-
/**
|
|
1623
|
-
* A factory method that creates a new instance of this class from an object
|
|
1624
|
-
* containing the properties of this ROS resource.
|
|
1625
|
-
*/
|
|
1626
1800
|
/**
|
|
1627
1801
|
* @Attribute DeploymentSetId: The ID of the deployment set.
|
|
1628
1802
|
*/
|
|
@@ -1630,15 +1804,21 @@ export declare class RosDeploymentSet extends ros.RosResource {
|
|
|
1630
1804
|
enableResourcePropertyConstraint: boolean;
|
|
1631
1805
|
/**
|
|
1632
1806
|
* @Property deploymentSetName: The name of the deployment set. It must be 2 to 128 characters in length. It must
|
|
1633
|
-
* start with a letter and cannot start with http
|
|
1807
|
+
* start with a letter and cannot start with http:\/\/ or https:\/\/. It can contain letters,
|
|
1634
1808
|
* digits, colons (:), underscores (_), and hyphens (-).
|
|
1635
1809
|
*/
|
|
1636
1810
|
deploymentSetName: string | ros.IResolvable | undefined;
|
|
1637
1811
|
/**
|
|
1638
1812
|
* @Property description: The description of the deployment set. It must be 2 to 256 characters in length. It
|
|
1639
|
-
* cannot start with http
|
|
1813
|
+
* cannot start with http:\/\/ or https:\/\/.
|
|
1640
1814
|
*/
|
|
1641
1815
|
description: string | ros.IResolvable | undefined;
|
|
1816
|
+
/**
|
|
1817
|
+
* @Property groupCount: Set the number of groups for the deployment set group high availability policy. Value range: 1~7.
|
|
1818
|
+
* Default value: 3.
|
|
1819
|
+
* This parameter only takes effect when Strategy=AvailabilityGroup.
|
|
1820
|
+
*/
|
|
1821
|
+
groupCount: number | ros.IResolvable | undefined;
|
|
1642
1822
|
/**
|
|
1643
1823
|
* @Property onUnableToRedeployFailedInstance: The emergency solution to redeploy failed instances in the deployment set. Valid values:
|
|
1644
1824
|
* CancelMembershipAndStart: restarts the instances immediately after they are shut down
|
|
@@ -1648,8 +1828,13 @@ export declare class RosDeploymentSet extends ros.RosResource {
|
|
|
1648
1828
|
*/
|
|
1649
1829
|
onUnableToRedeployFailedInstance: string | ros.IResolvable | undefined;
|
|
1650
1830
|
/**
|
|
1651
|
-
*
|
|
1652
|
-
*
|
|
1831
|
+
* @Property strategy: Deployment strategy. Ranges:
|
|
1832
|
+
* Availability: High availability strategy.
|
|
1833
|
+
* AvailabilityGroup: Deployment group high availability strategy.
|
|
1834
|
+
* LowLatency: Network low latency strategy.
|
|
1835
|
+
*/
|
|
1836
|
+
strategy: string | ros.IResolvable | undefined;
|
|
1837
|
+
/**
|
|
1653
1838
|
* @param scope - scope in which this resource is defined
|
|
1654
1839
|
* @param id - scoped id of the resource
|
|
1655
1840
|
* @param props - resource properties
|
|
@@ -1665,7 +1850,8 @@ export declare class RosDeploymentSet extends ros.RosResource {
|
|
|
1665
1850
|
};
|
|
1666
1851
|
}
|
|
1667
1852
|
/**
|
|
1668
|
-
* Properties for defining a `
|
|
1853
|
+
* Properties for defining a `RosDisk`.
|
|
1854
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-disk
|
|
1669
1855
|
*/
|
|
1670
1856
|
export interface RosDiskProps {
|
|
1671
1857
|
/**
|
|
@@ -1689,7 +1875,7 @@ export interface RosDiskProps {
|
|
|
1689
1875
|
*/
|
|
1690
1876
|
readonly description?: string | ros.IResolvable;
|
|
1691
1877
|
/**
|
|
1692
|
-
* @Property diskCategory: The disk category, now support cloud
|
|
1878
|
+
* @Property diskCategory: The disk category, now support cloud\/cloud_ssd\/cloud_essd\/cloud_efficiency\/san_ssd\/san_efficiency\/cloud_auto, depends the region.
|
|
1693
1879
|
*/
|
|
1694
1880
|
readonly diskCategory?: string | ros.IResolvable;
|
|
1695
1881
|
/**
|
|
@@ -1712,7 +1898,7 @@ export interface RosDiskProps {
|
|
|
1712
1898
|
*/
|
|
1713
1899
|
readonly multiAttach?: string | ros.IResolvable;
|
|
1714
1900
|
/**
|
|
1715
|
-
* @Property performanceLevel: The performance level you select for an ESSD.Default value: PL1. Valid values:PL0: A single enhanced SSD delivers up to 10,000 random read
|
|
1901
|
+
* @Property performanceLevel: The performance level you select for an ESSD.Default value: PL1. Valid values:PL0: A single enhanced SSD delivers up to 10,000 random read\/write IOPS.PL1: A single enhanced SSD delivers up to 50,000 random read\/write IOPS.PL2: A single enhanced SSD delivers up to 100,000 random read\/write IOPS.PL3: A single enhanced SSD delivers up to 1,000,000 random read\/write IOPS.
|
|
1716
1902
|
*/
|
|
1717
1903
|
readonly performanceLevel?: string | ros.IResolvable;
|
|
1718
1904
|
/**
|
|
@@ -1745,17 +1931,15 @@ export interface RosDiskProps {
|
|
|
1745
1931
|
readonly tags?: RosDisk.TagsProperty[];
|
|
1746
1932
|
}
|
|
1747
1933
|
/**
|
|
1748
|
-
*
|
|
1934
|
+
* This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::Disk`, which is used to create a cloud disk for an Elastic Compute Service (ECS) instance.
|
|
1935
|
+
* @Note This class does not contain additional functions, so it is recommended to use the `Disk` class instead of this class for a more convenient development experience.
|
|
1936
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-disk
|
|
1749
1937
|
*/
|
|
1750
1938
|
export declare class RosDisk extends ros.RosResource {
|
|
1751
1939
|
/**
|
|
1752
1940
|
* The resource type name for this resource class.
|
|
1753
1941
|
*/
|
|
1754
1942
|
static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::Disk";
|
|
1755
|
-
/**
|
|
1756
|
-
* A factory method that creates a new instance of this class from an object
|
|
1757
|
-
* containing the properties of this ROS resource.
|
|
1758
|
-
*/
|
|
1759
1943
|
/**
|
|
1760
1944
|
* @Attribute DiskId: Id of created disk.
|
|
1761
1945
|
*/
|
|
@@ -1786,7 +1970,7 @@ export declare class RosDisk extends ros.RosResource {
|
|
|
1786
1970
|
*/
|
|
1787
1971
|
description: string | ros.IResolvable | undefined;
|
|
1788
1972
|
/**
|
|
1789
|
-
* @Property diskCategory: The disk category, now support cloud
|
|
1973
|
+
* @Property diskCategory: The disk category, now support cloud\/cloud_ssd\/cloud_essd\/cloud_efficiency\/san_ssd\/san_efficiency\/cloud_auto, depends the region.
|
|
1790
1974
|
*/
|
|
1791
1975
|
diskCategory: string | ros.IResolvable | undefined;
|
|
1792
1976
|
/**
|
|
@@ -1809,7 +1993,7 @@ export declare class RosDisk extends ros.RosResource {
|
|
|
1809
1993
|
*/
|
|
1810
1994
|
multiAttach: string | ros.IResolvable | undefined;
|
|
1811
1995
|
/**
|
|
1812
|
-
* @Property performanceLevel: The performance level you select for an ESSD.Default value: PL1. Valid values:PL0: A single enhanced SSD delivers up to 10,000 random read
|
|
1996
|
+
* @Property performanceLevel: The performance level you select for an ESSD.Default value: PL1. Valid values:PL0: A single enhanced SSD delivers up to 10,000 random read\/write IOPS.PL1: A single enhanced SSD delivers up to 50,000 random read\/write IOPS.PL2: A single enhanced SSD delivers up to 100,000 random read\/write IOPS.PL3: A single enhanced SSD delivers up to 1,000,000 random read\/write IOPS.
|
|
1813
1997
|
*/
|
|
1814
1998
|
performanceLevel: string | ros.IResolvable | undefined;
|
|
1815
1999
|
/**
|
|
@@ -1841,8 +2025,6 @@ export declare class RosDisk extends ros.RosResource {
|
|
|
1841
2025
|
*/
|
|
1842
2026
|
tags: RosDisk.TagsProperty[] | undefined;
|
|
1843
2027
|
/**
|
|
1844
|
-
* Create a new `ALIYUN::ECS::Disk`.
|
|
1845
|
-
*
|
|
1846
2028
|
* @param scope - scope in which this resource is defined
|
|
1847
2029
|
* @param id - scoped id of the resource
|
|
1848
2030
|
* @param props - resource properties
|
|
@@ -1873,7 +2055,8 @@ export declare namespace RosDisk {
|
|
|
1873
2055
|
}
|
|
1874
2056
|
}
|
|
1875
2057
|
/**
|
|
1876
|
-
* Properties for defining a `
|
|
2058
|
+
* Properties for defining a `RosDiskAttachment`.
|
|
2059
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-diskattachment
|
|
1877
2060
|
*/
|
|
1878
2061
|
export interface RosDiskAttachmentProps {
|
|
1879
2062
|
/**
|
|
@@ -1893,22 +2076,20 @@ export interface RosDiskAttachmentProps {
|
|
|
1893
2076
|
*/
|
|
1894
2077
|
readonly deleteWithInstance?: boolean | ros.IResolvable;
|
|
1895
2078
|
/**
|
|
1896
|
-
* @Property device: The device where the volume is exposed on the instance. could be
|
|
2079
|
+
* @Property device: The device where the volume is exposed on the instance. could be \/dev\/xvd[b-z]. If not specification, will use default value.
|
|
1897
2080
|
*/
|
|
1898
2081
|
readonly device?: string | ros.IResolvable;
|
|
1899
2082
|
}
|
|
1900
2083
|
/**
|
|
1901
|
-
*
|
|
2084
|
+
* This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::DiskAttachment`, which is used to attach a disk to an ECS instance.
|
|
2085
|
+
* @Note This class does not contain additional functions, so it is recommended to use the `DiskAttachment` class instead of this class for a more convenient development experience.
|
|
2086
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-diskattachment
|
|
1902
2087
|
*/
|
|
1903
2088
|
export declare class RosDiskAttachment extends ros.RosResource {
|
|
1904
2089
|
/**
|
|
1905
2090
|
* The resource type name for this resource class.
|
|
1906
2091
|
*/
|
|
1907
2092
|
static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::DiskAttachment";
|
|
1908
|
-
/**
|
|
1909
|
-
* A factory method that creates a new instance of this class from an object
|
|
1910
|
-
* containing the properties of this ROS resource.
|
|
1911
|
-
*/
|
|
1912
2093
|
/**
|
|
1913
2094
|
* @Attribute Device: The device where the volume is exposed on ecs instance.
|
|
1914
2095
|
*/
|
|
@@ -1939,12 +2120,10 @@ export declare class RosDiskAttachment extends ros.RosResource {
|
|
|
1939
2120
|
*/
|
|
1940
2121
|
deleteWithInstance: boolean | ros.IResolvable | undefined;
|
|
1941
2122
|
/**
|
|
1942
|
-
* @Property device: The device where the volume is exposed on the instance. could be
|
|
2123
|
+
* @Property device: The device where the volume is exposed on the instance. could be \/dev\/xvd[b-z]. If not specification, will use default value.
|
|
1943
2124
|
*/
|
|
1944
2125
|
device: string | ros.IResolvable | undefined;
|
|
1945
2126
|
/**
|
|
1946
|
-
* Create a new `ALIYUN::ECS::DiskAttachment`.
|
|
1947
|
-
*
|
|
1948
2127
|
* @param scope - scope in which this resource is defined
|
|
1949
2128
|
* @param id - scoped id of the resource
|
|
1950
2129
|
* @param props - resource properties
|
|
@@ -1960,7 +2139,173 @@ export declare class RosDiskAttachment extends ros.RosResource {
|
|
|
1960
2139
|
};
|
|
1961
2140
|
}
|
|
1962
2141
|
/**
|
|
1963
|
-
* Properties for defining a `
|
|
2142
|
+
* Properties for defining a `RosElasticityAssurance`.
|
|
2143
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-elasticityassurance
|
|
2144
|
+
*/
|
|
2145
|
+
export interface RosElasticityAssuranceProps {
|
|
2146
|
+
/**
|
|
2147
|
+
* @Property instanceAmount: The total number of instances for which to reserve capacity of an instance type.
|
|
2148
|
+
* Valid values: 1 to 1000.
|
|
2149
|
+
*/
|
|
2150
|
+
readonly instanceAmount: number | ros.IResolvable;
|
|
2151
|
+
/**
|
|
2152
|
+
* @Property instanceTypes: Instance type. Currently, an elasticity assurance can be created to reserve the capacity of a single instance type.
|
|
2153
|
+
*/
|
|
2154
|
+
readonly instanceTypes: Array<string | ros.IResolvable> | ros.IResolvable;
|
|
2155
|
+
/**
|
|
2156
|
+
* @Property zoneId: The zone ID of the elasticity assurance. Currently, an elasticity assurance can be used to reserve resources within a single zone.
|
|
2157
|
+
*/
|
|
2158
|
+
readonly zoneId: string | ros.IResolvable;
|
|
2159
|
+
/**
|
|
2160
|
+
* @Property description: The description of the elasticity assurance. The description must be 2 to 256 characters in length and cannot start with http:\/\/ or https:\/\/.
|
|
2161
|
+
* This parameter is empty by default.
|
|
2162
|
+
*/
|
|
2163
|
+
readonly description?: string | ros.IResolvable;
|
|
2164
|
+
/**
|
|
2165
|
+
* @Property period: The effective duration of the elasticity assurance. The unit of the effective duration is determined by the PeriodUnit value. Valid values:
|
|
2166
|
+
* When the PeriodUnit parameter is set to Month, the valid values are 1, 2, 3, 4, 5, 6, 7, 8, and 9.
|
|
2167
|
+
* When the PeriodUnit parameter is set to Year, the valid values are 1, 2, 3, 4, and 5.
|
|
2168
|
+
* Default value: 1.
|
|
2169
|
+
*/
|
|
2170
|
+
readonly period?: number | ros.IResolvable;
|
|
2171
|
+
/**
|
|
2172
|
+
* @Property periodUnit: The unit of the effective duration of the elasticity assurance. Valid values:
|
|
2173
|
+
* Month
|
|
2174
|
+
* Year
|
|
2175
|
+
* Default value: Year.
|
|
2176
|
+
*/
|
|
2177
|
+
readonly periodUnit?: string | ros.IResolvable;
|
|
2178
|
+
/**
|
|
2179
|
+
* @Property privatePoolOptions:
|
|
2180
|
+
*/
|
|
2181
|
+
readonly privatePoolOptions?: RosElasticityAssurance.PrivatePoolOptionsProperty | ros.IResolvable;
|
|
2182
|
+
/**
|
|
2183
|
+
* @Property resourceGroupId: The ID of the resource group to which to assign the elasticity assurance.
|
|
2184
|
+
*/
|
|
2185
|
+
readonly resourceGroupId?: string | ros.IResolvable;
|
|
2186
|
+
/**
|
|
2187
|
+
* @Property startTime: The time when the elasticity assurance takes effect. The default value is the time when the CreateElasticityAssurance operation is called to create the elasticity assurance. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. For more information, see ISO 8601.
|
|
2188
|
+
*/
|
|
2189
|
+
readonly startTime?: string | ros.IResolvable;
|
|
2190
|
+
/**
|
|
2191
|
+
* @Property tags:
|
|
2192
|
+
*/
|
|
2193
|
+
readonly tags?: RosElasticityAssurance.TagsProperty[];
|
|
2194
|
+
}
|
|
2195
|
+
/**
|
|
2196
|
+
* This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::ElasticityAssurance`.
|
|
2197
|
+
* @Note This class does not contain additional functions, so it is recommended to use the `ElasticityAssurance` class instead of this class for a more convenient development experience.
|
|
2198
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-elasticityassurance
|
|
2199
|
+
*/
|
|
2200
|
+
export declare class RosElasticityAssurance extends ros.RosResource {
|
|
2201
|
+
/**
|
|
2202
|
+
* The resource type name for this resource class.
|
|
2203
|
+
*/
|
|
2204
|
+
static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::ElasticityAssurance";
|
|
2205
|
+
/**
|
|
2206
|
+
* @Attribute PrivatePoolOptionsId: The ID of the elasticity assurance.
|
|
2207
|
+
*/
|
|
2208
|
+
readonly attrPrivatePoolOptionsId: ros.IResolvable;
|
|
2209
|
+
enableResourcePropertyConstraint: boolean;
|
|
2210
|
+
/**
|
|
2211
|
+
* @Property instanceAmount: The total number of instances for which to reserve capacity of an instance type.
|
|
2212
|
+
* Valid values: 1 to 1000.
|
|
2213
|
+
*/
|
|
2214
|
+
instanceAmount: number | ros.IResolvable;
|
|
2215
|
+
/**
|
|
2216
|
+
* @Property instanceTypes: Instance type. Currently, an elasticity assurance can be created to reserve the capacity of a single instance type.
|
|
2217
|
+
*/
|
|
2218
|
+
instanceTypes: Array<string | ros.IResolvable> | ros.IResolvable;
|
|
2219
|
+
/**
|
|
2220
|
+
* @Property zoneId: The zone ID of the elasticity assurance. Currently, an elasticity assurance can be used to reserve resources within a single zone.
|
|
2221
|
+
*/
|
|
2222
|
+
zoneId: string | ros.IResolvable;
|
|
2223
|
+
/**
|
|
2224
|
+
* @Property description: The description of the elasticity assurance. The description must be 2 to 256 characters in length and cannot start with http:\/\/ or https:\/\/.
|
|
2225
|
+
* This parameter is empty by default.
|
|
2226
|
+
*/
|
|
2227
|
+
description: string | ros.IResolvable | undefined;
|
|
2228
|
+
/**
|
|
2229
|
+
* @Property period: The effective duration of the elasticity assurance. The unit of the effective duration is determined by the PeriodUnit value. Valid values:
|
|
2230
|
+
* When the PeriodUnit parameter is set to Month, the valid values are 1, 2, 3, 4, 5, 6, 7, 8, and 9.
|
|
2231
|
+
* When the PeriodUnit parameter is set to Year, the valid values are 1, 2, 3, 4, and 5.
|
|
2232
|
+
* Default value: 1.
|
|
2233
|
+
*/
|
|
2234
|
+
period: number | ros.IResolvable | undefined;
|
|
2235
|
+
/**
|
|
2236
|
+
* @Property periodUnit: The unit of the effective duration of the elasticity assurance. Valid values:
|
|
2237
|
+
* Month
|
|
2238
|
+
* Year
|
|
2239
|
+
* Default value: Year.
|
|
2240
|
+
*/
|
|
2241
|
+
periodUnit: string | ros.IResolvable | undefined;
|
|
2242
|
+
/**
|
|
2243
|
+
* @Property privatePoolOptions:
|
|
2244
|
+
*/
|
|
2245
|
+
privatePoolOptions: RosElasticityAssurance.PrivatePoolOptionsProperty | ros.IResolvable | undefined;
|
|
2246
|
+
/**
|
|
2247
|
+
* @Property resourceGroupId: The ID of the resource group to which to assign the elasticity assurance.
|
|
2248
|
+
*/
|
|
2249
|
+
resourceGroupId: string | ros.IResolvable | undefined;
|
|
2250
|
+
/**
|
|
2251
|
+
* @Property startTime: The time when the elasticity assurance takes effect. The default value is the time when the CreateElasticityAssurance operation is called to create the elasticity assurance. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. For more information, see ISO 8601.
|
|
2252
|
+
*/
|
|
2253
|
+
startTime: string | ros.IResolvable | undefined;
|
|
2254
|
+
/**
|
|
2255
|
+
* @Property tags:
|
|
2256
|
+
*/
|
|
2257
|
+
tags: RosElasticityAssurance.TagsProperty[] | undefined;
|
|
2258
|
+
/**
|
|
2259
|
+
* @param scope - scope in which this resource is defined
|
|
2260
|
+
* @param id - scoped id of the resource
|
|
2261
|
+
* @param props - resource properties
|
|
2262
|
+
*/
|
|
2263
|
+
constructor(scope: ros.Construct, id: string, props: RosElasticityAssuranceProps, enableResourcePropertyConstraint: boolean);
|
|
2264
|
+
protected get rosProperties(): {
|
|
2265
|
+
[key: string]: any;
|
|
2266
|
+
};
|
|
2267
|
+
protected renderProperties(props: {
|
|
2268
|
+
[key: string]: any;
|
|
2269
|
+
}): {
|
|
2270
|
+
[key: string]: any;
|
|
2271
|
+
};
|
|
2272
|
+
}
|
|
2273
|
+
export declare namespace RosElasticityAssurance {
|
|
2274
|
+
/**
|
|
2275
|
+
* @stability external
|
|
2276
|
+
*/
|
|
2277
|
+
interface PrivatePoolOptionsProperty {
|
|
2278
|
+
/**
|
|
2279
|
+
* @Property matchCriteria: The type of the private pool with which to associate the elasticity assurance. Valid values:
|
|
2280
|
+
* Open: open private pool
|
|
2281
|
+
* Target: targeted private pool
|
|
2282
|
+
* Default value: Open.
|
|
2283
|
+
*/
|
|
2284
|
+
readonly matchCriteria?: string | ros.IResolvable;
|
|
2285
|
+
/**
|
|
2286
|
+
* @Property name: The name of the elasticity assurance. The description must be 2 to 128 characters in length. The description must start with a letter but cannot start with http:\/\/ or https:\/\/. It can contain letters, digits, colons (:), underscores (_), and hyphens (-).
|
|
2287
|
+
*/
|
|
2288
|
+
readonly name?: string | ros.IResolvable;
|
|
2289
|
+
}
|
|
2290
|
+
}
|
|
2291
|
+
export declare namespace RosElasticityAssurance {
|
|
2292
|
+
/**
|
|
2293
|
+
* @stability external
|
|
2294
|
+
*/
|
|
2295
|
+
interface TagsProperty {
|
|
2296
|
+
/**
|
|
2297
|
+
* @Property value: The value of tag N to add to the elasticity assurance. 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 start with acs:. The tag value cannot contain http:\/\/ or https:\/\/.
|
|
2298
|
+
*/
|
|
2299
|
+
readonly value?: string | ros.IResolvable;
|
|
2300
|
+
/**
|
|
2301
|
+
* @Property key: The key of tag N to add to the elasticity assurance. Valid values of N: 1 to 20. The tag key cannot be an empty string. The tag key must be 1 to 128 characters in length and cannot contain http:\/\/ or https:\/\/. The tag key cannot start with acs: or aliyun.
|
|
2302
|
+
*/
|
|
2303
|
+
readonly key?: string | ros.IResolvable;
|
|
2304
|
+
}
|
|
2305
|
+
}
|
|
2306
|
+
/**
|
|
2307
|
+
* Properties for defining a `RosForwardEntry`.
|
|
2308
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-forwardentry
|
|
1964
2309
|
*/
|
|
1965
2310
|
export interface RosForwardEntryProps {
|
|
1966
2311
|
/**
|
|
@@ -1968,7 +2313,7 @@ export interface RosForwardEntryProps {
|
|
|
1968
2313
|
*/
|
|
1969
2314
|
readonly externalIp: string | ros.IResolvable;
|
|
1970
2315
|
/**
|
|
1971
|
-
* @Property externalPort: Source port, now support [1-65535]|Any|x
|
|
2316
|
+
* @Property externalPort: Source port, now support [1-65535]|Any|x\/y
|
|
1972
2317
|
*/
|
|
1973
2318
|
readonly externalPort: string | ros.IResolvable;
|
|
1974
2319
|
/**
|
|
@@ -1980,7 +2325,7 @@ export interface RosForwardEntryProps {
|
|
|
1980
2325
|
*/
|
|
1981
2326
|
readonly internalIp: string | ros.IResolvable;
|
|
1982
2327
|
/**
|
|
1983
|
-
* @Property internalPort: Destination port, now support [1-65535]|Any|x
|
|
2328
|
+
* @Property internalPort: Destination port, now support [1-65535]|Any|x\/y
|
|
1984
2329
|
*/
|
|
1985
2330
|
readonly internalPort: string | ros.IResolvable;
|
|
1986
2331
|
/**
|
|
@@ -1988,7 +2333,7 @@ export interface RosForwardEntryProps {
|
|
|
1988
2333
|
*/
|
|
1989
2334
|
readonly ipProtocol: string | ros.IResolvable;
|
|
1990
2335
|
/**
|
|
1991
|
-
* @Property forwardEntryName: the name of the DNAT rule is 2-128 characters long and must start with a letter or Chinese, but cannot begin with HTTP
|
|
2336
|
+
* @Property forwardEntryName: the name of the DNAT rule is 2-128 characters long and must start with a letter or Chinese, but cannot begin with HTTP:\/\/ or https:\/\/.
|
|
1992
2337
|
*/
|
|
1993
2338
|
readonly forwardEntryName?: string | ros.IResolvable;
|
|
1994
2339
|
/**
|
|
@@ -1997,17 +2342,15 @@ export interface RosForwardEntryProps {
|
|
|
1997
2342
|
readonly portBreak?: boolean | ros.IResolvable;
|
|
1998
2343
|
}
|
|
1999
2344
|
/**
|
|
2000
|
-
*
|
|
2345
|
+
* This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::ForwardEntry`, which is used to configure the Destination Network Address Translation (DNAT) table of a Network Address Translation (NAT) gateway.
|
|
2346
|
+
* @Note This class does not contain additional functions, so it is recommended to use the `ForwardEntry` class instead of this class for a more convenient development experience.
|
|
2347
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-forwardentry
|
|
2001
2348
|
*/
|
|
2002
2349
|
export declare class RosForwardEntry extends ros.RosResource {
|
|
2003
2350
|
/**
|
|
2004
2351
|
* The resource type name for this resource class.
|
|
2005
2352
|
*/
|
|
2006
2353
|
static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::ForwardEntry";
|
|
2007
|
-
/**
|
|
2008
|
-
* A factory method that creates a new instance of this class from an object
|
|
2009
|
-
* containing the properties of this ROS resource.
|
|
2010
|
-
*/
|
|
2011
2354
|
/**
|
|
2012
2355
|
* @Attribute ForwardEntryId: The id of created forward entry.
|
|
2013
2356
|
*/
|
|
@@ -2018,7 +2361,7 @@ export declare class RosForwardEntry extends ros.RosResource {
|
|
|
2018
2361
|
*/
|
|
2019
2362
|
externalIp: string | ros.IResolvable;
|
|
2020
2363
|
/**
|
|
2021
|
-
* @Property externalPort: Source port, now support [1-65535]|Any|x
|
|
2364
|
+
* @Property externalPort: Source port, now support [1-65535]|Any|x\/y
|
|
2022
2365
|
*/
|
|
2023
2366
|
externalPort: string | ros.IResolvable;
|
|
2024
2367
|
/**
|
|
@@ -2030,7 +2373,7 @@ export declare class RosForwardEntry extends ros.RosResource {
|
|
|
2030
2373
|
*/
|
|
2031
2374
|
internalIp: string | ros.IResolvable;
|
|
2032
2375
|
/**
|
|
2033
|
-
* @Property internalPort: Destination port, now support [1-65535]|Any|x
|
|
2376
|
+
* @Property internalPort: Destination port, now support [1-65535]|Any|x\/y
|
|
2034
2377
|
*/
|
|
2035
2378
|
internalPort: string | ros.IResolvable;
|
|
2036
2379
|
/**
|
|
@@ -2038,7 +2381,7 @@ export declare class RosForwardEntry extends ros.RosResource {
|
|
|
2038
2381
|
*/
|
|
2039
2382
|
ipProtocol: string | ros.IResolvable;
|
|
2040
2383
|
/**
|
|
2041
|
-
* @Property forwardEntryName: the name of the DNAT rule is 2-128 characters long and must start with a letter or Chinese, but cannot begin with HTTP
|
|
2384
|
+
* @Property forwardEntryName: the name of the DNAT rule is 2-128 characters long and must start with a letter or Chinese, but cannot begin with HTTP:\/\/ or https:\/\/.
|
|
2042
2385
|
*/
|
|
2043
2386
|
forwardEntryName: string | ros.IResolvable | undefined;
|
|
2044
2387
|
/**
|
|
@@ -2046,8 +2389,6 @@ export declare class RosForwardEntry extends ros.RosResource {
|
|
|
2046
2389
|
*/
|
|
2047
2390
|
portBreak: boolean | ros.IResolvable | undefined;
|
|
2048
2391
|
/**
|
|
2049
|
-
* Create a new `ALIYUN::ECS::ForwardEntry`.
|
|
2050
|
-
*
|
|
2051
2392
|
* @param scope - scope in which this resource is defined
|
|
2052
2393
|
* @param id - scoped id of the resource
|
|
2053
2394
|
* @param props - resource properties
|
|
@@ -2063,33 +2404,32 @@ export declare class RosForwardEntry extends ros.RosResource {
|
|
|
2063
2404
|
};
|
|
2064
2405
|
}
|
|
2065
2406
|
/**
|
|
2066
|
-
* Properties for defining a `
|
|
2407
|
+
* Properties for defining a `RosHpcCluster`.
|
|
2408
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-hpccluster
|
|
2067
2409
|
*/
|
|
2068
2410
|
export interface RosHpcClusterProps {
|
|
2069
2411
|
/**
|
|
2070
2412
|
* @Property name: The name of the HPC cluster. The name must be 2 to 128 characters in length. It must
|
|
2071
|
-
* start with a letter but cannot start with http
|
|
2413
|
+
* start with a letter but cannot start with http:\/\/ or https:\/\/. It can contain letters,
|
|
2072
2414
|
* digits, colons (:), underscores (_), and hyphens (-).
|
|
2073
2415
|
*/
|
|
2074
2416
|
readonly name: string | ros.IResolvable;
|
|
2075
2417
|
/**
|
|
2076
2418
|
* @Property description: The description of the HPC cluster. The description must be 2 to 256 characters in
|
|
2077
|
-
* length. It cannot start with http
|
|
2419
|
+
* length. It cannot start with http:\/\/ or https:\/\/. Default value: empty string.
|
|
2078
2420
|
*/
|
|
2079
2421
|
readonly description?: string | ros.IResolvable;
|
|
2080
2422
|
}
|
|
2081
2423
|
/**
|
|
2082
|
-
*
|
|
2424
|
+
* This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::HpcCluster`, which is used to create a High Performance Computing (HPC) cluster.
|
|
2425
|
+
* @Note This class does not contain additional functions, so it is recommended to use the `HpcCluster` class instead of this class for a more convenient development experience.
|
|
2426
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-hpccluster
|
|
2083
2427
|
*/
|
|
2084
2428
|
export declare class RosHpcCluster extends ros.RosResource {
|
|
2085
2429
|
/**
|
|
2086
2430
|
* The resource type name for this resource class.
|
|
2087
2431
|
*/
|
|
2088
2432
|
static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::HpcCluster";
|
|
2089
|
-
/**
|
|
2090
|
-
* A factory method that creates a new instance of this class from an object
|
|
2091
|
-
* containing the properties of this ROS resource.
|
|
2092
|
-
*/
|
|
2093
2433
|
/**
|
|
2094
2434
|
* @Attribute HpcClusterId: The ID of the HPC cluster.
|
|
2095
2435
|
*/
|
|
@@ -2101,18 +2441,16 @@ export declare class RosHpcCluster extends ros.RosResource {
|
|
|
2101
2441
|
enableResourcePropertyConstraint: boolean;
|
|
2102
2442
|
/**
|
|
2103
2443
|
* @Property name: The name of the HPC cluster. The name must be 2 to 128 characters in length. It must
|
|
2104
|
-
* start with a letter but cannot start with http
|
|
2444
|
+
* start with a letter but cannot start with http:\/\/ or https:\/\/. It can contain letters,
|
|
2105
2445
|
* digits, colons (:), underscores (_), and hyphens (-).
|
|
2106
2446
|
*/
|
|
2107
2447
|
name: string | ros.IResolvable;
|
|
2108
2448
|
/**
|
|
2109
2449
|
* @Property description: The description of the HPC cluster. The description must be 2 to 256 characters in
|
|
2110
|
-
* length. It cannot start with http
|
|
2450
|
+
* length. It cannot start with http:\/\/ or https:\/\/. Default value: empty string.
|
|
2111
2451
|
*/
|
|
2112
2452
|
description: string | ros.IResolvable | undefined;
|
|
2113
2453
|
/**
|
|
2114
|
-
* Create a new `ALIYUN::ECS::HpcCluster`.
|
|
2115
|
-
*
|
|
2116
2454
|
* @param scope - scope in which this resource is defined
|
|
2117
2455
|
* @param id - scoped id of the resource
|
|
2118
2456
|
* @param props - resource properties
|
|
@@ -2128,17 +2466,409 @@ export declare class RosHpcCluster extends ros.RosResource {
|
|
|
2128
2466
|
};
|
|
2129
2467
|
}
|
|
2130
2468
|
/**
|
|
2131
|
-
* Properties for defining a `
|
|
2469
|
+
* Properties for defining a `RosImageComponent`.
|
|
2470
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-imagecomponent
|
|
2132
2471
|
*/
|
|
2133
|
-
export interface
|
|
2472
|
+
export interface RosImageComponentProps {
|
|
2134
2473
|
/**
|
|
2135
|
-
* @Property
|
|
2474
|
+
* @Property content: The content of the image component. The content consists of up to 127 commands.
|
|
2475
|
+
*/
|
|
2476
|
+
readonly content: string | ros.IResolvable;
|
|
2477
|
+
/**
|
|
2478
|
+
* @Property componentType: The type of the image component. Only image build components are supported. Set the value to Build.Default value: Build.
|
|
2479
|
+
*/
|
|
2480
|
+
readonly componentType?: string | ros.IResolvable;
|
|
2481
|
+
/**
|
|
2482
|
+
* @Property description: The description. The description must be 2 to 256 characters in length and cannot start with http:\/\/ or https:\/\/.
|
|
2483
|
+
*/
|
|
2484
|
+
readonly description?: string | ros.IResolvable;
|
|
2485
|
+
/**
|
|
2486
|
+
* @Property name: The component name. The name must be 2 to 128 characters in length. The name must start with a letter but cannot start with http:\/\/ or https:\/\/.The name can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-).
|
|
2487
|
+
* Note If you do not configure Name, the return value of ImageComponentId is used.
|
|
2488
|
+
*/
|
|
2489
|
+
readonly name?: string | ros.IResolvable;
|
|
2490
|
+
/**
|
|
2491
|
+
* @Property resourceGroupId: The ID of the resource group.
|
|
2492
|
+
*/
|
|
2493
|
+
readonly resourceGroupId?: string | ros.IResolvable;
|
|
2494
|
+
/**
|
|
2495
|
+
* @Property systemType: The operating system type supported by the image component. Only Linux is supported. Set the value to Linux.Default value: Linux.
|
|
2496
|
+
*/
|
|
2497
|
+
readonly systemType?: string | ros.IResolvable;
|
|
2498
|
+
/**
|
|
2499
|
+
* @Property tags:
|
|
2500
|
+
*/
|
|
2501
|
+
readonly tags?: RosImageComponent.TagsProperty[];
|
|
2502
|
+
}
|
|
2503
|
+
/**
|
|
2504
|
+
* This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::ImageComponent`.
|
|
2505
|
+
* @Note This class does not contain additional functions, so it is recommended to use the `ImageComponent` class instead of this class for a more convenient development experience.
|
|
2506
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-imagecomponent
|
|
2507
|
+
*/
|
|
2508
|
+
export declare class RosImageComponent extends ros.RosResource {
|
|
2509
|
+
/**
|
|
2510
|
+
* The resource type name for this resource class.
|
|
2511
|
+
*/
|
|
2512
|
+
static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::ImageComponent";
|
|
2513
|
+
/**
|
|
2514
|
+
* @Attribute ImageComponentId: The ID of the image component.
|
|
2515
|
+
*/
|
|
2516
|
+
readonly attrImageComponentId: ros.IResolvable;
|
|
2517
|
+
enableResourcePropertyConstraint: boolean;
|
|
2518
|
+
/**
|
|
2519
|
+
* @Property content: The content of the image component. The content consists of up to 127 commands.
|
|
2520
|
+
*/
|
|
2521
|
+
content: string | ros.IResolvable;
|
|
2522
|
+
/**
|
|
2523
|
+
* @Property componentType: The type of the image component. Only image build components are supported. Set the value to Build.Default value: Build.
|
|
2524
|
+
*/
|
|
2525
|
+
componentType: string | ros.IResolvable | undefined;
|
|
2526
|
+
/**
|
|
2527
|
+
* @Property description: The description. The description must be 2 to 256 characters in length and cannot start with http:\/\/ or https:\/\/.
|
|
2528
|
+
*/
|
|
2529
|
+
description: string | ros.IResolvable | undefined;
|
|
2530
|
+
/**
|
|
2531
|
+
* @Property name: The component name. The name must be 2 to 128 characters in length. The name must start with a letter but cannot start with http:\/\/ or https:\/\/.The name can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-).
|
|
2532
|
+
* Note If you do not configure Name, the return value of ImageComponentId is used.
|
|
2533
|
+
*/
|
|
2534
|
+
name: string | ros.IResolvable | undefined;
|
|
2535
|
+
/**
|
|
2536
|
+
* @Property resourceGroupId: The ID of the resource group.
|
|
2537
|
+
*/
|
|
2538
|
+
resourceGroupId: string | ros.IResolvable | undefined;
|
|
2539
|
+
/**
|
|
2540
|
+
* @Property systemType: The operating system type supported by the image component. Only Linux is supported. Set the value to Linux.Default value: Linux.
|
|
2541
|
+
*/
|
|
2542
|
+
systemType: string | ros.IResolvable | undefined;
|
|
2543
|
+
/**
|
|
2544
|
+
* @Property tags:
|
|
2545
|
+
*/
|
|
2546
|
+
tags: RosImageComponent.TagsProperty[] | undefined;
|
|
2547
|
+
/**
|
|
2548
|
+
* @param scope - scope in which this resource is defined
|
|
2549
|
+
* @param id - scoped id of the resource
|
|
2550
|
+
* @param props - resource properties
|
|
2551
|
+
*/
|
|
2552
|
+
constructor(scope: ros.Construct, id: string, props: RosImageComponentProps, enableResourcePropertyConstraint: boolean);
|
|
2553
|
+
protected get rosProperties(): {
|
|
2554
|
+
[key: string]: any;
|
|
2555
|
+
};
|
|
2556
|
+
protected renderProperties(props: {
|
|
2557
|
+
[key: string]: any;
|
|
2558
|
+
}): {
|
|
2559
|
+
[key: string]: any;
|
|
2560
|
+
};
|
|
2561
|
+
}
|
|
2562
|
+
export declare namespace RosImageComponent {
|
|
2563
|
+
/**
|
|
2564
|
+
* @stability external
|
|
2565
|
+
*/
|
|
2566
|
+
interface TagsProperty {
|
|
2567
|
+
/**
|
|
2568
|
+
* @Property value: The value of tag N to add to the capacity reservation. 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 start with acs:. The tag value cannot contain http:\/\/ or https:\/\/.
|
|
2569
|
+
*/
|
|
2570
|
+
readonly value?: string | ros.IResolvable;
|
|
2571
|
+
/**
|
|
2572
|
+
* @Property key: The key of tag N to add to the capacity reservation. 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 contain http:\/\/ or https:\/\/. It cannot start with acs: or aliyun.
|
|
2573
|
+
*/
|
|
2574
|
+
readonly key?: string | ros.IResolvable;
|
|
2575
|
+
}
|
|
2576
|
+
}
|
|
2577
|
+
/**
|
|
2578
|
+
* Properties for defining a `RosImagePipeline`.
|
|
2579
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-imagepipeline
|
|
2580
|
+
*/
|
|
2581
|
+
export interface RosImagePipelineProps {
|
|
2582
|
+
/**
|
|
2583
|
+
* @Property baseImage: The source image.
|
|
2584
|
+
* If you set BaseImageType to IMAGE, set the BaseImage parameter to the ID of a custom image.
|
|
2585
|
+
* If you set BaseImageType to IMAGE_FAMILY, set the BaseImage parameter to the name of an image family.
|
|
2586
|
+
*/
|
|
2587
|
+
readonly baseImage: string | ros.IResolvable;
|
|
2588
|
+
/**
|
|
2589
|
+
* @Property baseImageType: The type of the source image. Valid values:
|
|
2590
|
+
* IMAGE: image
|
|
2591
|
+
* IMAGE_FAMILY: image family
|
|
2592
|
+
*/
|
|
2593
|
+
readonly baseImageType: string | ros.IResolvable;
|
|
2594
|
+
/**
|
|
2595
|
+
* @Property addAccount: The IDs of Alibaba Cloud accounts to which to share the image that will be created based on the image template. You can specify up to 20 account IDs.
|
|
2596
|
+
*/
|
|
2597
|
+
readonly addAccount?: Array<string | ros.IResolvable> | ros.IResolvable;
|
|
2598
|
+
/**
|
|
2599
|
+
* @Property buildContent: The content of the image template. The content cannot exceed 16 KB in size and can contain up to 127 commands. For more information about the commands that are supported, see the "Usage notes" section of this topic.
|
|
2600
|
+
*/
|
|
2601
|
+
readonly buildContent?: string | ros.IResolvable;
|
|
2602
|
+
/**
|
|
2603
|
+
* @Property deleteInstanceOnFailure: Specifies whether to release the intermediate instance when the image cannot be created. Valid values:
|
|
2604
|
+
* true
|
|
2605
|
+
* false
|
|
2606
|
+
* Default value: true.
|
|
2607
|
+
* Note If the intermediate instance cannot be started, the instance is released by default.
|
|
2608
|
+
*/
|
|
2609
|
+
readonly deleteInstanceOnFailure?: boolean | ros.IResolvable;
|
|
2610
|
+
/**
|
|
2611
|
+
* @Property description: The description of the image template. The description must be 2 to 256 characters in length. It cannot start with http:\/\/ or https:\/\/.
|
|
2612
|
+
*/
|
|
2613
|
+
readonly description?: string | ros.IResolvable;
|
|
2614
|
+
/**
|
|
2615
|
+
* @Property executePipeline: Whether execute pipeline. Default value is true
|
|
2616
|
+
*/
|
|
2617
|
+
readonly executePipeline?: boolean | ros.IResolvable;
|
|
2618
|
+
/**
|
|
2619
|
+
* @Property imageName: The prefix of the image name. The prefix must be 2 to 64 characters in length. It must start with a letter and cannot start with http:\/\/ or https:\/\/. It can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-).
|
|
2620
|
+
* The system generates the final complete image name that consists of the specified prefix and the ID of the build task (ExecutionId) in the format of {ImageName}_{ExecutionId}.
|
|
2621
|
+
*/
|
|
2622
|
+
readonly imageName?: string | ros.IResolvable;
|
|
2623
|
+
/**
|
|
2624
|
+
* @Property instanceType: The instance type. You can call the DescribeInstanceTypes to query instance types.
|
|
2625
|
+
* If you do not configure this parameter, an instance type that provides the fewest vCPUs and memory resources is automatically selected. This configuration is subject to resource availability of instance types. For example, the ecs.g6.large instance type is automatically selected. If available ecs.g6.large resources are insufficient, the ecs.g6.xlarge instance type is selected.
|
|
2626
|
+
*/
|
|
2627
|
+
readonly instanceType?: string | ros.IResolvable;
|
|
2628
|
+
/**
|
|
2629
|
+
* @Property internetMaxBandwidthOut: The size of the outbound public bandwidth for the intermediate instance. Unit: Mbit\/s. Valid values: 0 to 100.
|
|
2630
|
+
* Default value: 0.
|
|
2631
|
+
*/
|
|
2632
|
+
readonly internetMaxBandwidthOut?: number | ros.IResolvable;
|
|
2633
|
+
/**
|
|
2634
|
+
* @Property name: The name of the image 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 letters, digits, colons (:), underscores (_), periods (.), and hyphens (-).
|
|
2635
|
+
* Note If you do not specify the Name parameter, the return value of ImagePipelineId is used.
|
|
2636
|
+
*/
|
|
2637
|
+
readonly name?: string | ros.IResolvable;
|
|
2638
|
+
/**
|
|
2639
|
+
* @Property resourceGroupId: The ID of the resource group.
|
|
2640
|
+
*/
|
|
2641
|
+
readonly resourceGroupId?: string | ros.IResolvable;
|
|
2642
|
+
/**
|
|
2643
|
+
* @Property systemDiskSize: The system disk size of the intermediate instance. Unit: GiB. Valid values: 20 to 500.
|
|
2644
|
+
* Default value: 40.
|
|
2645
|
+
*/
|
|
2646
|
+
readonly systemDiskSize?: number | ros.IResolvable;
|
|
2647
|
+
/**
|
|
2648
|
+
* @Property tags:
|
|
2649
|
+
*/
|
|
2650
|
+
readonly tags?: RosImagePipeline.TagsProperty[];
|
|
2651
|
+
/**
|
|
2652
|
+
* @Property toRegionId: The IDs of regions to which you want to distribute the image that is created based on the image template. You can specify up to 20 region IDs.
|
|
2653
|
+
* If you do not specify this parameter, the image is created only in the current region.
|
|
2654
|
+
*/
|
|
2655
|
+
readonly toRegionId?: Array<string | ros.IResolvable> | ros.IResolvable;
|
|
2656
|
+
/**
|
|
2657
|
+
* @Property vSwitchId: The ID of the vSwitch.
|
|
2658
|
+
* If you do not specify this parameter, a new VPC and vSwitch are created. Make sure that the VPC quota in your account is sufficient. For more information, see Limits and quotas.
|
|
2659
|
+
*/
|
|
2660
|
+
readonly vSwitchId?: string | ros.IResolvable;
|
|
2661
|
+
}
|
|
2662
|
+
/**
|
|
2663
|
+
* This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::ImagePipeline`.
|
|
2664
|
+
* @Note This class does not contain additional functions, so it is recommended to use the `ImagePipeline` class instead of this class for a more convenient development experience.
|
|
2665
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-imagepipeline
|
|
2666
|
+
*/
|
|
2667
|
+
export declare class RosImagePipeline extends ros.RosResource {
|
|
2668
|
+
/**
|
|
2669
|
+
* The resource type name for this resource class.
|
|
2670
|
+
*/
|
|
2671
|
+
static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::ImagePipeline";
|
|
2672
|
+
/**
|
|
2673
|
+
* @Attribute ImagePipelineId: The ID of the image template.
|
|
2674
|
+
*/
|
|
2675
|
+
readonly attrImagePipelineId: ros.IResolvable;
|
|
2676
|
+
enableResourcePropertyConstraint: boolean;
|
|
2677
|
+
/**
|
|
2678
|
+
* @Property baseImage: The source image.
|
|
2679
|
+
* If you set BaseImageType to IMAGE, set the BaseImage parameter to the ID of a custom image.
|
|
2680
|
+
* If you set BaseImageType to IMAGE_FAMILY, set the BaseImage parameter to the name of an image family.
|
|
2681
|
+
*/
|
|
2682
|
+
baseImage: string | ros.IResolvable;
|
|
2683
|
+
/**
|
|
2684
|
+
* @Property baseImageType: The type of the source image. Valid values:
|
|
2685
|
+
* IMAGE: image
|
|
2686
|
+
* IMAGE_FAMILY: image family
|
|
2687
|
+
*/
|
|
2688
|
+
baseImageType: string | ros.IResolvable;
|
|
2689
|
+
/**
|
|
2690
|
+
* @Property addAccount: The IDs of Alibaba Cloud accounts to which to share the image that will be created based on the image template. You can specify up to 20 account IDs.
|
|
2691
|
+
*/
|
|
2692
|
+
addAccount: Array<string | ros.IResolvable> | ros.IResolvable | undefined;
|
|
2693
|
+
/**
|
|
2694
|
+
* @Property buildContent: The content of the image template. The content cannot exceed 16 KB in size and can contain up to 127 commands. For more information about the commands that are supported, see the "Usage notes" section of this topic.
|
|
2695
|
+
*/
|
|
2696
|
+
buildContent: string | ros.IResolvable | undefined;
|
|
2697
|
+
/**
|
|
2698
|
+
* @Property deleteInstanceOnFailure: Specifies whether to release the intermediate instance when the image cannot be created. Valid values:
|
|
2699
|
+
* true
|
|
2700
|
+
* false
|
|
2701
|
+
* Default value: true.
|
|
2702
|
+
* Note If the intermediate instance cannot be started, the instance is released by default.
|
|
2703
|
+
*/
|
|
2704
|
+
deleteInstanceOnFailure: boolean | ros.IResolvable | undefined;
|
|
2705
|
+
/**
|
|
2706
|
+
* @Property description: The description of the image template. The description must be 2 to 256 characters in length. It cannot start with http:\/\/ or https:\/\/.
|
|
2707
|
+
*/
|
|
2708
|
+
description: string | ros.IResolvable | undefined;
|
|
2709
|
+
/**
|
|
2710
|
+
* @Property executePipeline: Whether execute pipeline. Default value is true
|
|
2711
|
+
*/
|
|
2712
|
+
executePipeline: boolean | ros.IResolvable | undefined;
|
|
2713
|
+
/**
|
|
2714
|
+
* @Property imageName: The prefix of the image name. The prefix must be 2 to 64 characters in length. It must start with a letter and cannot start with http:\/\/ or https:\/\/. It can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-).
|
|
2715
|
+
* The system generates the final complete image name that consists of the specified prefix and the ID of the build task (ExecutionId) in the format of {ImageName}_{ExecutionId}.
|
|
2716
|
+
*/
|
|
2717
|
+
imageName: string | ros.IResolvable | undefined;
|
|
2718
|
+
/**
|
|
2719
|
+
* @Property instanceType: The instance type. You can call the DescribeInstanceTypes to query instance types.
|
|
2720
|
+
* If you do not configure this parameter, an instance type that provides the fewest vCPUs and memory resources is automatically selected. This configuration is subject to resource availability of instance types. For example, the ecs.g6.large instance type is automatically selected. If available ecs.g6.large resources are insufficient, the ecs.g6.xlarge instance type is selected.
|
|
2721
|
+
*/
|
|
2722
|
+
instanceType: string | ros.IResolvable | undefined;
|
|
2723
|
+
/**
|
|
2724
|
+
* @Property internetMaxBandwidthOut: The size of the outbound public bandwidth for the intermediate instance. Unit: Mbit\/s. Valid values: 0 to 100.
|
|
2725
|
+
* Default value: 0.
|
|
2726
|
+
*/
|
|
2727
|
+
internetMaxBandwidthOut: number | ros.IResolvable | undefined;
|
|
2728
|
+
/**
|
|
2729
|
+
* @Property name: The name of the image 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 letters, digits, colons (:), underscores (_), periods (.), and hyphens (-).
|
|
2730
|
+
* Note If you do not specify the Name parameter, the return value of ImagePipelineId is used.
|
|
2731
|
+
*/
|
|
2732
|
+
name: string | ros.IResolvable | undefined;
|
|
2733
|
+
/**
|
|
2734
|
+
* @Property resourceGroupId: The ID of the resource group.
|
|
2735
|
+
*/
|
|
2736
|
+
resourceGroupId: string | ros.IResolvable | undefined;
|
|
2737
|
+
/**
|
|
2738
|
+
* @Property systemDiskSize: The system disk size of the intermediate instance. Unit: GiB. Valid values: 20 to 500.
|
|
2739
|
+
* Default value: 40.
|
|
2740
|
+
*/
|
|
2741
|
+
systemDiskSize: number | ros.IResolvable | undefined;
|
|
2742
|
+
/**
|
|
2743
|
+
* @Property tags:
|
|
2744
|
+
*/
|
|
2745
|
+
tags: RosImagePipeline.TagsProperty[] | undefined;
|
|
2746
|
+
/**
|
|
2747
|
+
* @Property toRegionId: The IDs of regions to which you want to distribute the image that is created based on the image template. You can specify up to 20 region IDs.
|
|
2748
|
+
* If you do not specify this parameter, the image is created only in the current region.
|
|
2749
|
+
*/
|
|
2750
|
+
toRegionId: Array<string | ros.IResolvable> | ros.IResolvable | undefined;
|
|
2751
|
+
/**
|
|
2752
|
+
* @Property vSwitchId: The ID of the vSwitch.
|
|
2753
|
+
* If you do not specify this parameter, a new VPC and vSwitch are created. Make sure that the VPC quota in your account is sufficient. For more information, see Limits and quotas.
|
|
2754
|
+
*/
|
|
2755
|
+
vSwitchId: string | ros.IResolvable | undefined;
|
|
2756
|
+
/**
|
|
2757
|
+
* @param scope - scope in which this resource is defined
|
|
2758
|
+
* @param id - scoped id of the resource
|
|
2759
|
+
* @param props - resource properties
|
|
2760
|
+
*/
|
|
2761
|
+
constructor(scope: ros.Construct, id: string, props: RosImagePipelineProps, enableResourcePropertyConstraint: boolean);
|
|
2762
|
+
protected get rosProperties(): {
|
|
2763
|
+
[key: string]: any;
|
|
2764
|
+
};
|
|
2765
|
+
protected renderProperties(props: {
|
|
2766
|
+
[key: string]: any;
|
|
2767
|
+
}): {
|
|
2768
|
+
[key: string]: any;
|
|
2769
|
+
};
|
|
2770
|
+
}
|
|
2771
|
+
export declare namespace RosImagePipeline {
|
|
2772
|
+
/**
|
|
2773
|
+
* @stability external
|
|
2774
|
+
*/
|
|
2775
|
+
interface TagsProperty {
|
|
2776
|
+
/**
|
|
2777
|
+
* @Property value: The value of tag N to add to the capacity reservation. 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 start with acs:. The tag value cannot contain http:\/\/ or https:\/\/.
|
|
2778
|
+
*/
|
|
2779
|
+
readonly value?: string | ros.IResolvable;
|
|
2780
|
+
/**
|
|
2781
|
+
* @Property key: The key of tag N to add to the capacity reservation. 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 contain http:\/\/ or https:\/\/. It cannot start with acs: or aliyun.
|
|
2782
|
+
*/
|
|
2783
|
+
readonly key?: string | ros.IResolvable;
|
|
2784
|
+
}
|
|
2785
|
+
}
|
|
2786
|
+
/**
|
|
2787
|
+
* Properties for defining a `RosImageSharePermission`.
|
|
2788
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-imagesharepermission
|
|
2789
|
+
*/
|
|
2790
|
+
export interface RosImageSharePermissionProps {
|
|
2791
|
+
/**
|
|
2792
|
+
* @Property imageId: The shared custom image ID.
|
|
2136
2793
|
*/
|
|
2137
2794
|
readonly imageId: string | ros.IResolvable;
|
|
2795
|
+
/**
|
|
2796
|
+
* @Property accounts: Alibaba Cloud account IDs authorized to share the image.
|
|
2797
|
+
*/
|
|
2798
|
+
readonly accounts?: Array<string | ros.IResolvable> | ros.IResolvable;
|
|
2799
|
+
/**
|
|
2800
|
+
* @Property isPublic: Whether to publish or remove community mirrors.
|
|
2801
|
+
* If this property is not set, no changes will be made to the community image
|
|
2802
|
+
*/
|
|
2803
|
+
readonly isPublic?: boolean | ros.IResolvable;
|
|
2804
|
+
/**
|
|
2805
|
+
* @Property keepPermission: Whether to keep the original sharing permissions when resource is deleted, default is true.If set to false, Accounts will be removed if Accounts is set and IsPublic will be changed if IsPublic is set.
|
|
2806
|
+
*/
|
|
2807
|
+
readonly keepPermission?: boolean | ros.IResolvable;
|
|
2808
|
+
}
|
|
2809
|
+
/**
|
|
2810
|
+
* This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::ImageSharePermission`, which is used to manage the share permissions on a custom image.
|
|
2811
|
+
* @Note This class does not contain additional functions, so it is recommended to use the `ImageSharePermission` class instead of this class for a more convenient development experience.
|
|
2812
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-imagesharepermission
|
|
2813
|
+
*/
|
|
2814
|
+
export declare class RosImageSharePermission extends ros.RosResource {
|
|
2815
|
+
/**
|
|
2816
|
+
* The resource type name for this resource class.
|
|
2817
|
+
*/
|
|
2818
|
+
static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::ImageSharePermission";
|
|
2819
|
+
/**
|
|
2820
|
+
* @Attribute ImageId: The shared custom image ID.
|
|
2821
|
+
*/
|
|
2822
|
+
readonly attrImageId: ros.IResolvable;
|
|
2823
|
+
enableResourcePropertyConstraint: boolean;
|
|
2824
|
+
/**
|
|
2825
|
+
* @Property imageId: The shared custom image ID.
|
|
2826
|
+
*/
|
|
2827
|
+
imageId: string | ros.IResolvable;
|
|
2828
|
+
/**
|
|
2829
|
+
* @Property accounts: Alibaba Cloud account IDs authorized to share the image.
|
|
2830
|
+
*/
|
|
2831
|
+
accounts: Array<string | ros.IResolvable> | ros.IResolvable | undefined;
|
|
2832
|
+
/**
|
|
2833
|
+
* @Property isPublic: Whether to publish or remove community mirrors.
|
|
2834
|
+
* If this property is not set, no changes will be made to the community image
|
|
2835
|
+
*/
|
|
2836
|
+
isPublic: boolean | ros.IResolvable | undefined;
|
|
2837
|
+
/**
|
|
2838
|
+
* @Property keepPermission: Whether to keep the original sharing permissions when resource is deleted, default is true.If set to false, Accounts will be removed if Accounts is set and IsPublic will be changed if IsPublic is set.
|
|
2839
|
+
*/
|
|
2840
|
+
keepPermission: boolean | ros.IResolvable | undefined;
|
|
2841
|
+
/**
|
|
2842
|
+
* @param scope - scope in which this resource is defined
|
|
2843
|
+
* @param id - scoped id of the resource
|
|
2844
|
+
* @param props - resource properties
|
|
2845
|
+
*/
|
|
2846
|
+
constructor(scope: ros.Construct, id: string, props: RosImageSharePermissionProps, enableResourcePropertyConstraint: boolean);
|
|
2847
|
+
protected get rosProperties(): {
|
|
2848
|
+
[key: string]: any;
|
|
2849
|
+
};
|
|
2850
|
+
protected renderProperties(props: {
|
|
2851
|
+
[key: string]: any;
|
|
2852
|
+
}): {
|
|
2853
|
+
[key: string]: any;
|
|
2854
|
+
};
|
|
2855
|
+
}
|
|
2856
|
+
/**
|
|
2857
|
+
* Properties for defining a `RosInstance`.
|
|
2858
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-instance
|
|
2859
|
+
*/
|
|
2860
|
+
export interface RosInstanceProps {
|
|
2138
2861
|
/**
|
|
2139
2862
|
* @Property instanceType: Ecs instance supported instance type, make sure it should be correct.
|
|
2140
2863
|
*/
|
|
2141
2864
|
readonly instanceType: string | ros.IResolvable;
|
|
2865
|
+
/**
|
|
2866
|
+
* @Property affinity: Specifies whether to associate the instance on a dedicated host with the dedicated host. Valid values:
|
|
2867
|
+
* - **default**: does not associate the ECS instance with the dedicated host. When you start an instance that was stopped in economical mode, the instance is automatically deployed to another dedicated host in the automatic deployment resource pool if the available resources of the original dedicated host are insufficient.
|
|
2868
|
+
* - **host**: associates the ECS instance with the dedicated host. When you start an instance that was stopped in economical mode, the instance remains on the original dedicated host. If the available resources of the original dedicated host are insufficient, the instance cannot start.
|
|
2869
|
+
* Default value: **default**.
|
|
2870
|
+
*/
|
|
2871
|
+
readonly affinity?: string | ros.IResolvable;
|
|
2142
2872
|
/**
|
|
2143
2873
|
* @Property allocatePublicIp: The public ip for ecs instance, if properties is true, will allocate public ip. If property InternetMaxBandwidthOut set to 0, it will not assign public ip.
|
|
2144
2874
|
*/
|
|
@@ -2151,6 +2881,12 @@ export interface RosInstanceProps {
|
|
|
2151
2881
|
* @Property autoRenewPeriod: The time period of auto renew. When the parameter InstanceChargeType is PrePaid, it will take effect.It could be 1, 2, 3, 6, 12, 24, 36, 48, 60. Default value is 1.
|
|
2152
2882
|
*/
|
|
2153
2883
|
readonly autoRenewPeriod?: number | ros.IResolvable;
|
|
2884
|
+
/**
|
|
2885
|
+
* @Property creditSpecification: The performance mode of the burstable instance. Valid values:
|
|
2886
|
+
* - **Standard**: the standard mode.
|
|
2887
|
+
* - **Unlimited**: the unlimited mode.
|
|
2888
|
+
*/
|
|
2889
|
+
readonly creditSpecification?: string | ros.IResolvable;
|
|
2154
2890
|
/**
|
|
2155
2891
|
* @Property dedicatedHostId: which dedicated host will be deployed
|
|
2156
2892
|
*/
|
|
@@ -2159,6 +2895,10 @@ export interface RosInstanceProps {
|
|
|
2159
2895
|
* @Property deletionProtection: Whether an instance can be released manually through the console or API, deletion protection only support postPaid instance
|
|
2160
2896
|
*/
|
|
2161
2897
|
readonly deletionProtection?: boolean | ros.IResolvable;
|
|
2898
|
+
/**
|
|
2899
|
+
* @Property deploymentSetGroupNo: The number of the deployment set group to which to deploy the instance. If the deployment set specified by **DeploymentSetId** uses the high availability group strategy (AvailabilityGroup), you can use **DeploymentSetGroupNo** to specify a deployment set group in the deployment set. Valid values: 1 to 7.
|
|
2900
|
+
*/
|
|
2901
|
+
readonly deploymentSetGroupNo?: number | ros.IResolvable;
|
|
2162
2902
|
/**
|
|
2163
2903
|
* @Property deploymentSetId: Deployment set ID.
|
|
2164
2904
|
*/
|
|
@@ -2180,6 +2920,30 @@ export interface RosInstanceProps {
|
|
|
2180
2920
|
* @Property hpcClusterId: The HPC cluster ID to which the instance belongs.
|
|
2181
2921
|
*/
|
|
2182
2922
|
readonly hpcClusterId?: string | ros.IResolvable;
|
|
2923
|
+
/**
|
|
2924
|
+
* @Property httpEndpoint: Specifies whether the access channel is enabled for instance metadata. Valid values:
|
|
2925
|
+
* - **enabled**
|
|
2926
|
+
* - **disabled**
|
|
2927
|
+
* Default value: **enabled**.
|
|
2928
|
+
*/
|
|
2929
|
+
readonly httpEndpoint?: string | ros.IResolvable;
|
|
2930
|
+
/**
|
|
2931
|
+
* @Property httpTokens: Specifies whether the security hardening mode (IMDSv2) is forcefully used to access instance metadata. Valid values:
|
|
2932
|
+
* - **optional**: does not forcefully use the security-enhanced mode (IMDSv2).
|
|
2933
|
+
* - **required**: forcefully uses the security-enhanced mode (IMDSv2). After you set this parameter to required, you cannot access instance metadata in normal mode.
|
|
2934
|
+
* Default value: **optional**.
|
|
2935
|
+
*/
|
|
2936
|
+
readonly httpTokens?: string | ros.IResolvable;
|
|
2937
|
+
/**
|
|
2938
|
+
* @Property imageFamily: The name of the image family. You can set this parameter to obtain the latest available custom image from the specified image family to create the instance.
|
|
2939
|
+
* - **ImageFamily** must be empty if **ImageId** is specified.
|
|
2940
|
+
* - **ImageFamily** can be specified if **ImageId** is not specified.
|
|
2941
|
+
*/
|
|
2942
|
+
readonly imageFamily?: string | ros.IResolvable;
|
|
2943
|
+
/**
|
|
2944
|
+
* @Property imageId: Image ID to create ecs instance.
|
|
2945
|
+
*/
|
|
2946
|
+
readonly imageId?: string | ros.IResolvable;
|
|
2183
2947
|
/**
|
|
2184
2948
|
* @Property instanceChargeType: Instance Charge type, allowed value: Prepaid and Postpaid. If specified Prepaid, please ensure you have sufficient balance in your account. Or instance creation will be failure. Default value is Postpaid.
|
|
2185
2949
|
*/
|
|
@@ -2217,13 +2981,17 @@ export interface RosInstanceProps {
|
|
|
2217
2981
|
*/
|
|
2218
2982
|
readonly period?: number | ros.IResolvable;
|
|
2219
2983
|
/**
|
|
2220
|
-
* @Property periodUnit: Unit of prepaid time period, it could be Week
|
|
2984
|
+
* @Property periodUnit: Unit of prepaid time period, it could be Week\/Month\/Year. Default value is Month.
|
|
2221
2985
|
*/
|
|
2222
2986
|
readonly periodUnit?: string | ros.IResolvable;
|
|
2223
2987
|
/**
|
|
2224
2988
|
* @Property privateIpAddress: Private IP for the instance created. Only works for VPC instance and cannot duplicated with existing instance.
|
|
2225
2989
|
*/
|
|
2226
2990
|
readonly privateIpAddress?: string | ros.IResolvable;
|
|
2991
|
+
/**
|
|
2992
|
+
* @Property privatePoolOptions: The options of the private pool.
|
|
2993
|
+
*/
|
|
2994
|
+
readonly privatePoolOptions?: RosInstance.PrivatePoolOptionsProperty | ros.IResolvable;
|
|
2227
2995
|
/**
|
|
2228
2996
|
* @Property ramRoleName: Instance RAM role name. The name is provided and maintained by Resource Access Management (RAM) and can be queried using ListRoles. For more information, see RAM API CreateRole and ListRoles.
|
|
2229
2997
|
*/
|
|
@@ -2263,6 +3031,14 @@ export interface RosInstanceProps {
|
|
|
2263
3031
|
* @Property spotStrategy: The spot strategy of a Pay-As-You-Go instance, and it takes effect only when parameter InstanceChargeType is PostPaid. Value range: "NoSpot: A regular Pay-As-You-Go instance", "SpotWithPriceLimit: A price threshold for a spot instance, ""SpotAsPriceGo: A price that is based on the highest Pay-As-You-Go instance. "Default value: NoSpot.
|
|
2264
3032
|
*/
|
|
2265
3033
|
readonly spotStrategy?: string | ros.IResolvable;
|
|
3034
|
+
/**
|
|
3035
|
+
* @Property storageSetId: The storage set ID.
|
|
3036
|
+
*/
|
|
3037
|
+
readonly storageSetId?: string | ros.IResolvable;
|
|
3038
|
+
/**
|
|
3039
|
+
* @Property storageSetPartitionNumber: The maximum number of partitions in the storage set. The value must be greater than or equal to 2.
|
|
3040
|
+
*/
|
|
3041
|
+
readonly storageSetPartitionNumber?: number | ros.IResolvable;
|
|
2266
3042
|
/**
|
|
2267
3043
|
* @Property systemDiskCategory: Category of system disk. Default is cloud_efficiency. support cloud|cloud_efficiency|cloud_ssd|cloud_essd|ephemeral_ssd|cloud_auto|cloud_essd_entry
|
|
2268
3044
|
*/
|
|
@@ -2276,7 +3052,7 @@ export interface RosInstanceProps {
|
|
|
2276
3052
|
*/
|
|
2277
3053
|
readonly systemDiskDiskName?: string | ros.IResolvable;
|
|
2278
3054
|
/**
|
|
2279
|
-
* @Property systemDiskPerformanceLevel: The performance level of the enhanced SSD used as the system disk.Default value: PL1. Valid values:PL0: A single enhanced SSD delivers up to 10,000 random read
|
|
3055
|
+
* @Property systemDiskPerformanceLevel: The performance level of the enhanced SSD used as the system disk.Default value: PL1. Valid values:PL0: A single enhanced SSD delivers up to 10,000 random read\/write IOPS.PL1: A single enhanced SSD delivers up to 50,000 random read\/write IOPS.PL2: A single enhanced SSD delivers up to 100,000 random read\/write IOPS.PL3: A single enhanced SSD delivers up to 1,000,000 random read\/write IOPS.
|
|
2280
3056
|
*/
|
|
2281
3057
|
readonly systemDiskPerformanceLevel?: string | ros.IResolvable;
|
|
2282
3058
|
/**
|
|
@@ -2287,6 +3063,17 @@ export interface RosInstanceProps {
|
|
|
2287
3063
|
* @Property tags: Tags to attach to instance. Max support 20 tags to add during create instance. Each tag with two properties Key and Value, and Key is required.
|
|
2288
3064
|
*/
|
|
2289
3065
|
readonly tags?: RosInstance.TagsProperty[];
|
|
3066
|
+
/**
|
|
3067
|
+
* @Property tenancy: Specifies whether to create the instance on a dedicated host. Valid values:
|
|
3068
|
+
* - **default**: creates the instance on a non-dedicated host.
|
|
3069
|
+
* - **host**: creates the instance on a dedicated host. If you do not specify **DedicatedHostId**, Alibaba Cloud selects a dedicated host for the instance.
|
|
3070
|
+
* Default value: **default**.
|
|
3071
|
+
*/
|
|
3072
|
+
readonly tenancy?: string | ros.IResolvable;
|
|
3073
|
+
/**
|
|
3074
|
+
* @Property useAdditionalService: Specifies whether to use the system configurations for virtual machines provided by Alibaba Cloud. System configurations for Windows: NTP and KMS. System configurations for Linux: NTP and YUM.
|
|
3075
|
+
*/
|
|
3076
|
+
readonly useAdditionalService?: boolean | ros.IResolvable;
|
|
2290
3077
|
/**
|
|
2291
3078
|
* @Property userData: User data to pass to instance. [1, 16KB] characters.User data should not be base64 encoded. If you want to pass base64 encoded string to the property, use function Fn::Base64Decode to decode the base64 string first.
|
|
2292
3079
|
*/
|
|
@@ -2311,17 +3098,15 @@ export interface RosInstanceProps {
|
|
|
2311
3098
|
readonly zoneIds?: Array<string | ros.IResolvable> | ros.IResolvable;
|
|
2312
3099
|
}
|
|
2313
3100
|
/**
|
|
2314
|
-
*
|
|
3101
|
+
* This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::Instance`, which is used to create an Elastic Compute Service (ECS) instance.
|
|
3102
|
+
* @Note This class does not contain additional functions, so it is recommended to use the `Instance` class instead of this class for a more convenient development experience.
|
|
3103
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-instance
|
|
2315
3104
|
*/
|
|
2316
3105
|
export declare class RosInstance extends ros.RosResource {
|
|
2317
3106
|
/**
|
|
2318
3107
|
* The resource type name for this resource class.
|
|
2319
3108
|
*/
|
|
2320
3109
|
static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::Instance";
|
|
2321
|
-
/**
|
|
2322
|
-
* A factory method that creates a new instance of this class from an object
|
|
2323
|
-
* containing the properties of this ROS resource.
|
|
2324
|
-
*/
|
|
2325
3110
|
/**
|
|
2326
3111
|
* @Attribute HostName: Host name of created instance.
|
|
2327
3112
|
*/
|
|
@@ -2355,14 +3140,17 @@ export declare class RosInstance extends ros.RosResource {
|
|
|
2355
3140
|
*/
|
|
2356
3141
|
readonly attrZoneId: ros.IResolvable;
|
|
2357
3142
|
enableResourcePropertyConstraint: boolean;
|
|
2358
|
-
/**
|
|
2359
|
-
* @Property imageId: Image ID to create ecs instance.
|
|
2360
|
-
*/
|
|
2361
|
-
imageId: string | ros.IResolvable;
|
|
2362
3143
|
/**
|
|
2363
3144
|
* @Property instanceType: Ecs instance supported instance type, make sure it should be correct.
|
|
2364
3145
|
*/
|
|
2365
3146
|
instanceType: string | ros.IResolvable;
|
|
3147
|
+
/**
|
|
3148
|
+
* @Property affinity: Specifies whether to associate the instance on a dedicated host with the dedicated host. Valid values:
|
|
3149
|
+
* - **default**: does not associate the ECS instance with the dedicated host. When you start an instance that was stopped in economical mode, the instance is automatically deployed to another dedicated host in the automatic deployment resource pool if the available resources of the original dedicated host are insufficient.
|
|
3150
|
+
* - **host**: associates the ECS instance with the dedicated host. When you start an instance that was stopped in economical mode, the instance remains on the original dedicated host. If the available resources of the original dedicated host are insufficient, the instance cannot start.
|
|
3151
|
+
* Default value: **default**.
|
|
3152
|
+
*/
|
|
3153
|
+
affinity: string | ros.IResolvable | undefined;
|
|
2366
3154
|
/**
|
|
2367
3155
|
* @Property allocatePublicIp: The public ip for ecs instance, if properties is true, will allocate public ip. If property InternetMaxBandwidthOut set to 0, it will not assign public ip.
|
|
2368
3156
|
*/
|
|
@@ -2375,6 +3163,12 @@ export declare class RosInstance extends ros.RosResource {
|
|
|
2375
3163
|
* @Property autoRenewPeriod: The time period of auto renew. When the parameter InstanceChargeType is PrePaid, it will take effect.It could be 1, 2, 3, 6, 12, 24, 36, 48, 60. Default value is 1.
|
|
2376
3164
|
*/
|
|
2377
3165
|
autoRenewPeriod: number | ros.IResolvable | undefined;
|
|
3166
|
+
/**
|
|
3167
|
+
* @Property creditSpecification: The performance mode of the burstable instance. Valid values:
|
|
3168
|
+
* - **Standard**: the standard mode.
|
|
3169
|
+
* - **Unlimited**: the unlimited mode.
|
|
3170
|
+
*/
|
|
3171
|
+
creditSpecification: string | ros.IResolvable | undefined;
|
|
2378
3172
|
/**
|
|
2379
3173
|
* @Property dedicatedHostId: which dedicated host will be deployed
|
|
2380
3174
|
*/
|
|
@@ -2383,6 +3177,10 @@ export declare class RosInstance extends ros.RosResource {
|
|
|
2383
3177
|
* @Property deletionProtection: Whether an instance can be released manually through the console or API, deletion protection only support postPaid instance
|
|
2384
3178
|
*/
|
|
2385
3179
|
deletionProtection: boolean | ros.IResolvable | undefined;
|
|
3180
|
+
/**
|
|
3181
|
+
* @Property deploymentSetGroupNo: The number of the deployment set group to which to deploy the instance. If the deployment set specified by **DeploymentSetId** uses the high availability group strategy (AvailabilityGroup), you can use **DeploymentSetGroupNo** to specify a deployment set group in the deployment set. Valid values: 1 to 7.
|
|
3182
|
+
*/
|
|
3183
|
+
deploymentSetGroupNo: number | ros.IResolvable | undefined;
|
|
2386
3184
|
/**
|
|
2387
3185
|
* @Property deploymentSetId: Deployment set ID.
|
|
2388
3186
|
*/
|
|
@@ -2404,6 +3202,30 @@ export declare class RosInstance extends ros.RosResource {
|
|
|
2404
3202
|
* @Property hpcClusterId: The HPC cluster ID to which the instance belongs.
|
|
2405
3203
|
*/
|
|
2406
3204
|
hpcClusterId: string | ros.IResolvable | undefined;
|
|
3205
|
+
/**
|
|
3206
|
+
* @Property httpEndpoint: Specifies whether the access channel is enabled for instance metadata. Valid values:
|
|
3207
|
+
* - **enabled**
|
|
3208
|
+
* - **disabled**
|
|
3209
|
+
* Default value: **enabled**.
|
|
3210
|
+
*/
|
|
3211
|
+
httpEndpoint: string | ros.IResolvable | undefined;
|
|
3212
|
+
/**
|
|
3213
|
+
* @Property httpTokens: Specifies whether the security hardening mode (IMDSv2) is forcefully used to access instance metadata. Valid values:
|
|
3214
|
+
* - **optional**: does not forcefully use the security-enhanced mode (IMDSv2).
|
|
3215
|
+
* - **required**: forcefully uses the security-enhanced mode (IMDSv2). After you set this parameter to required, you cannot access instance metadata in normal mode.
|
|
3216
|
+
* Default value: **optional**.
|
|
3217
|
+
*/
|
|
3218
|
+
httpTokens: string | ros.IResolvable | undefined;
|
|
3219
|
+
/**
|
|
3220
|
+
* @Property imageFamily: The name of the image family. You can set this parameter to obtain the latest available custom image from the specified image family to create the instance.
|
|
3221
|
+
* - **ImageFamily** must be empty if **ImageId** is specified.
|
|
3222
|
+
* - **ImageFamily** can be specified if **ImageId** is not specified.
|
|
3223
|
+
*/
|
|
3224
|
+
imageFamily: string | ros.IResolvable | undefined;
|
|
3225
|
+
/**
|
|
3226
|
+
* @Property imageId: Image ID to create ecs instance.
|
|
3227
|
+
*/
|
|
3228
|
+
imageId: string | ros.IResolvable | undefined;
|
|
2407
3229
|
/**
|
|
2408
3230
|
* @Property instanceChargeType: Instance Charge type, allowed value: Prepaid and Postpaid. If specified Prepaid, please ensure you have sufficient balance in your account. Or instance creation will be failure. Default value is Postpaid.
|
|
2409
3231
|
*/
|
|
@@ -2441,13 +3263,17 @@ export declare class RosInstance extends ros.RosResource {
|
|
|
2441
3263
|
*/
|
|
2442
3264
|
period: number | ros.IResolvable | undefined;
|
|
2443
3265
|
/**
|
|
2444
|
-
* @Property periodUnit: Unit of prepaid time period, it could be Week
|
|
3266
|
+
* @Property periodUnit: Unit of prepaid time period, it could be Week\/Month\/Year. Default value is Month.
|
|
2445
3267
|
*/
|
|
2446
3268
|
periodUnit: string | ros.IResolvable | undefined;
|
|
2447
3269
|
/**
|
|
2448
3270
|
* @Property privateIpAddress: Private IP for the instance created. Only works for VPC instance and cannot duplicated with existing instance.
|
|
2449
3271
|
*/
|
|
2450
3272
|
privateIpAddress: string | ros.IResolvable | undefined;
|
|
3273
|
+
/**
|
|
3274
|
+
* @Property privatePoolOptions: The options of the private pool.
|
|
3275
|
+
*/
|
|
3276
|
+
privatePoolOptions: RosInstance.PrivatePoolOptionsProperty | ros.IResolvable | undefined;
|
|
2451
3277
|
/**
|
|
2452
3278
|
* @Property ramRoleName: Instance RAM role name. The name is provided and maintained by Resource Access Management (RAM) and can be queried using ListRoles. For more information, see RAM API CreateRole and ListRoles.
|
|
2453
3279
|
*/
|
|
@@ -2487,6 +3313,14 @@ export declare class RosInstance extends ros.RosResource {
|
|
|
2487
3313
|
* @Property spotStrategy: The spot strategy of a Pay-As-You-Go instance, and it takes effect only when parameter InstanceChargeType is PostPaid. Value range: "NoSpot: A regular Pay-As-You-Go instance", "SpotWithPriceLimit: A price threshold for a spot instance, ""SpotAsPriceGo: A price that is based on the highest Pay-As-You-Go instance. "Default value: NoSpot.
|
|
2488
3314
|
*/
|
|
2489
3315
|
spotStrategy: string | ros.IResolvable | undefined;
|
|
3316
|
+
/**
|
|
3317
|
+
* @Property storageSetId: The storage set ID.
|
|
3318
|
+
*/
|
|
3319
|
+
storageSetId: string | ros.IResolvable | undefined;
|
|
3320
|
+
/**
|
|
3321
|
+
* @Property storageSetPartitionNumber: The maximum number of partitions in the storage set. The value must be greater than or equal to 2.
|
|
3322
|
+
*/
|
|
3323
|
+
storageSetPartitionNumber: number | ros.IResolvable | undefined;
|
|
2490
3324
|
/**
|
|
2491
3325
|
* @Property systemDiskCategory: Category of system disk. Default is cloud_efficiency. support cloud|cloud_efficiency|cloud_ssd|cloud_essd|ephemeral_ssd|cloud_auto|cloud_essd_entry
|
|
2492
3326
|
*/
|
|
@@ -2500,7 +3334,7 @@ export declare class RosInstance extends ros.RosResource {
|
|
|
2500
3334
|
*/
|
|
2501
3335
|
systemDiskDiskName: string | ros.IResolvable | undefined;
|
|
2502
3336
|
/**
|
|
2503
|
-
* @Property systemDiskPerformanceLevel: The performance level of the enhanced SSD used as the system disk.Default value: PL1. Valid values:PL0: A single enhanced SSD delivers up to 10,000 random read
|
|
3337
|
+
* @Property systemDiskPerformanceLevel: The performance level of the enhanced SSD used as the system disk.Default value: PL1. Valid values:PL0: A single enhanced SSD delivers up to 10,000 random read\/write IOPS.PL1: A single enhanced SSD delivers up to 50,000 random read\/write IOPS.PL2: A single enhanced SSD delivers up to 100,000 random read\/write IOPS.PL3: A single enhanced SSD delivers up to 1,000,000 random read\/write IOPS.
|
|
2504
3338
|
*/
|
|
2505
3339
|
systemDiskPerformanceLevel: string | ros.IResolvable | undefined;
|
|
2506
3340
|
/**
|
|
@@ -2511,6 +3345,17 @@ export declare class RosInstance extends ros.RosResource {
|
|
|
2511
3345
|
* @Property tags: Tags to attach to instance. Max support 20 tags to add during create instance. Each tag with two properties Key and Value, and Key is required.
|
|
2512
3346
|
*/
|
|
2513
3347
|
tags: RosInstance.TagsProperty[] | undefined;
|
|
3348
|
+
/**
|
|
3349
|
+
* @Property tenancy: Specifies whether to create the instance on a dedicated host. Valid values:
|
|
3350
|
+
* - **default**: creates the instance on a non-dedicated host.
|
|
3351
|
+
* - **host**: creates the instance on a dedicated host. If you do not specify **DedicatedHostId**, Alibaba Cloud selects a dedicated host for the instance.
|
|
3352
|
+
* Default value: **default**.
|
|
3353
|
+
*/
|
|
3354
|
+
tenancy: string | ros.IResolvable | undefined;
|
|
3355
|
+
/**
|
|
3356
|
+
* @Property useAdditionalService: Specifies whether to use the system configurations for virtual machines provided by Alibaba Cloud. System configurations for Windows: NTP and KMS. System configurations for Linux: NTP and YUM.
|
|
3357
|
+
*/
|
|
3358
|
+
useAdditionalService: boolean | ros.IResolvable | undefined;
|
|
2514
3359
|
/**
|
|
2515
3360
|
* @Property userData: User data to pass to instance. [1, 16KB] characters.User data should not be base64 encoded. If you want to pass base64 encoded string to the property, use function Fn::Base64Decode to decode the base64 string first.
|
|
2516
3361
|
*/
|
|
@@ -2534,8 +3379,6 @@ export declare class RosInstance extends ros.RosResource {
|
|
|
2534
3379
|
*/
|
|
2535
3380
|
zoneIds: Array<string | ros.IResolvable> | ros.IResolvable | undefined;
|
|
2536
3381
|
/**
|
|
2537
|
-
* Create a new `ALIYUN::ECS::Instance`.
|
|
2538
|
-
*
|
|
2539
3382
|
* @param scope - scope in which this resource is defined
|
|
2540
3383
|
* @param id - scoped id of the resource
|
|
2541
3384
|
* @param props - resource properties
|
|
@@ -2568,11 +3411,11 @@ export declare namespace RosInstance {
|
|
|
2568
3411
|
*/
|
|
2569
3412
|
readonly description?: string | ros.IResolvable;
|
|
2570
3413
|
/**
|
|
2571
|
-
* @Property device: The device where the volume is exposed on the instance. could be
|
|
3414
|
+
* @Property device: The device where the volume is exposed on the instance. could be \/dev\/xvd[a-z]. If not specification, will use default value.
|
|
2572
3415
|
*/
|
|
2573
3416
|
readonly device?: string | ros.IResolvable;
|
|
2574
3417
|
/**
|
|
2575
|
-
* @Property performanceLevel: The performance level of the enhanced SSD used as the Nth data disk.Default value: PL1. Valid values:PL0: A single enhanced SSD delivers up to 10,000 random read
|
|
3418
|
+
* @Property performanceLevel: The performance level of the enhanced SSD used as the Nth data disk.Default value: PL1. Valid values:PL0: A single enhanced SSD delivers up to 10,000 random read\/write IOPS.PL1: A single enhanced SSD delivers up to 50,000 random read\/write IOPS.PL2: A single enhanced SSD delivers up to 100,000 random read\/write IOPS.PL3: A single enhanced SSD delivers up to 1,000,000 random read\/write IOPS.
|
|
2576
3419
|
*/
|
|
2577
3420
|
readonly performanceLevel?: string | ros.IResolvable;
|
|
2578
3421
|
/**
|
|
@@ -2585,6 +3428,29 @@ export declare namespace RosInstance {
|
|
|
2585
3428
|
readonly diskName?: string | ros.IResolvable;
|
|
2586
3429
|
}
|
|
2587
3430
|
}
|
|
3431
|
+
export declare namespace RosInstance {
|
|
3432
|
+
/**
|
|
3433
|
+
* @stability external
|
|
3434
|
+
*/
|
|
3435
|
+
interface PrivatePoolOptionsProperty {
|
|
3436
|
+
/**
|
|
3437
|
+
* @Property matchCriteria: The type of the private pool to use to create the instance. A private pool is generated when an elasticity assurance or a capacity reservation takes effect. You can select a private pool when you create an instance. Valid values:
|
|
3438
|
+
* - **Open**: open private pool. The system selects a matching open private pool to create the instance. If no matching private pools are found, resources in the public pool are used. When you set this parameter to Open, you can leave PrivatePoolOptions.Id empty.
|
|
3439
|
+
* - **Target**: specified private pool. The system uses the capacity in a specified private pool to create the instance. If the specified private pool is unavailable, the instance cannot be created. If you set this parameter to Target, you must specify PrivatePoolOptions.Id.
|
|
3440
|
+
* - **None**: no private pool. The capacity in private pools is not used.
|
|
3441
|
+
* Default value: **None**.
|
|
3442
|
+
* In the following scenarios, PrivatePoolOptions.MatchCriteria can be set only to **None** or left empty:
|
|
3443
|
+
* - Create a preemptible instance.
|
|
3444
|
+
* - Create an instance in the classic network.
|
|
3445
|
+
* - Create an instance on a dedicated host.
|
|
3446
|
+
*/
|
|
3447
|
+
readonly matchCriteria?: string | ros.IResolvable;
|
|
3448
|
+
/**
|
|
3449
|
+
* @Property id: The private pool ID. The ID of a private pool is the same as that of the elasticity assurance or capacity reservation for which the private pool is generated.
|
|
3450
|
+
*/
|
|
3451
|
+
readonly id?: string | ros.IResolvable;
|
|
3452
|
+
}
|
|
3453
|
+
}
|
|
2588
3454
|
export declare namespace RosInstance {
|
|
2589
3455
|
/**
|
|
2590
3456
|
* @stability external
|
|
@@ -2601,7 +3467,8 @@ export declare namespace RosInstance {
|
|
|
2601
3467
|
}
|
|
2602
3468
|
}
|
|
2603
3469
|
/**
|
|
2604
|
-
* Properties for defining a `
|
|
3470
|
+
* Properties for defining a `RosInstanceClone`.
|
|
3471
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-instanceclone
|
|
2605
3472
|
*/
|
|
2606
3473
|
export interface RosInstanceCloneProps {
|
|
2607
3474
|
/**
|
|
@@ -2689,17 +3556,15 @@ export interface RosInstanceCloneProps {
|
|
|
2689
3556
|
readonly zoneId?: string | ros.IResolvable;
|
|
2690
3557
|
}
|
|
2691
3558
|
/**
|
|
2692
|
-
*
|
|
3559
|
+
* This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::InstanceClone`, which is used to clone an Elastic Compute Service (ECS) instance.
|
|
3560
|
+
* @Note This class does not contain additional functions, so it is recommended to use the `InstanceClone` class instead of this class for a more convenient development experience.
|
|
3561
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-instanceclone
|
|
2693
3562
|
*/
|
|
2694
3563
|
export declare class RosInstanceClone extends ros.RosResource {
|
|
2695
3564
|
/**
|
|
2696
3565
|
* The resource type name for this resource class.
|
|
2697
3566
|
*/
|
|
2698
3567
|
static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::InstanceClone";
|
|
2699
|
-
/**
|
|
2700
|
-
* A factory method that creates a new instance of this class from an object
|
|
2701
|
-
* containing the properties of this ROS resource.
|
|
2702
|
-
*/
|
|
2703
3568
|
/**
|
|
2704
3569
|
* @Attribute HostName: Host name of created instance.
|
|
2705
3570
|
*/
|
|
@@ -2817,8 +3682,6 @@ export declare class RosInstanceClone extends ros.RosResource {
|
|
|
2817
3682
|
*/
|
|
2818
3683
|
zoneId: string | ros.IResolvable | undefined;
|
|
2819
3684
|
/**
|
|
2820
|
-
* Create a new `ALIYUN::ECS::InstanceClone`.
|
|
2821
|
-
*
|
|
2822
3685
|
* @param scope - scope in which this resource is defined
|
|
2823
3686
|
* @param id - scoped id of the resource
|
|
2824
3687
|
* @param props - resource properties
|
|
@@ -2851,11 +3714,11 @@ export declare namespace RosInstanceClone {
|
|
|
2851
3714
|
*/
|
|
2852
3715
|
readonly description?: string | ros.IResolvable;
|
|
2853
3716
|
/**
|
|
2854
|
-
* @Property device: The device where the volume is exposed on the instance. could be
|
|
3717
|
+
* @Property device: The device where the volume is exposed on the instance. could be \/dev\/xvd[a-z]. If not specification, will use default value.
|
|
2855
3718
|
*/
|
|
2856
3719
|
readonly device?: string | ros.IResolvable;
|
|
2857
3720
|
/**
|
|
2858
|
-
* @Property performanceLevel: The performance level of the enhanced SSD used as the Nth data disk.Default value: PL1. Valid values:PL0: A single enhanced SSD delivers up to 10,000 random read
|
|
3721
|
+
* @Property performanceLevel: The performance level of the enhanced SSD used as the Nth data disk.Default value: PL1. Valid values:PL0: A single enhanced SSD delivers up to 10,000 random read\/write IOPS.PL1: A single enhanced SSD delivers up to 50,000 random read\/write IOPS.PL2: A single enhanced SSD delivers up to 100,000 random read\/write IOPS.PL3: A single enhanced SSD delivers up to 1,000,000 random read\/write IOPS.
|
|
2859
3722
|
*/
|
|
2860
3723
|
readonly performanceLevel?: string | ros.IResolvable;
|
|
2861
3724
|
/**
|
|
@@ -2884,13 +3747,10 @@ export declare namespace RosInstanceClone {
|
|
|
2884
3747
|
}
|
|
2885
3748
|
}
|
|
2886
3749
|
/**
|
|
2887
|
-
* Properties for defining a `
|
|
3750
|
+
* Properties for defining a `RosInstanceGroup`.
|
|
3751
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-instancegroup
|
|
2888
3752
|
*/
|
|
2889
3753
|
export interface RosInstanceGroupProps {
|
|
2890
|
-
/**
|
|
2891
|
-
* @Property imageId: Image ID to create ecs instance.
|
|
2892
|
-
*/
|
|
2893
|
-
readonly imageId: string | ros.IResolvable;
|
|
2894
3754
|
/**
|
|
2895
3755
|
* @Property instanceType: Ecs instance supported instance type, make sure it should be correct.
|
|
2896
3756
|
*/
|
|
@@ -2899,6 +3759,13 @@ export interface RosInstanceGroupProps {
|
|
|
2899
3759
|
* @Property maxAmount: Max number of instances to create, should be bigger than 'MinAmount' and smaller than 1000.
|
|
2900
3760
|
*/
|
|
2901
3761
|
readonly maxAmount: number | ros.IResolvable;
|
|
3762
|
+
/**
|
|
3763
|
+
* @Property affinity: Specifies whether to associate the instance on a dedicated host with the dedicated host. Valid values:
|
|
3764
|
+
* - **default**: does not associate the ECS instance with the dedicated host. When you start an instance that was stopped in economical mode, the instance is automatically deployed to another dedicated host in the automatic deployment resource pool if the available resources of the original dedicated host are insufficient.
|
|
3765
|
+
* - **host**: associates the ECS instance with the dedicated host. When you start an instance that was stopped in economical mode, the instance remains on the original dedicated host. If the available resources of the original dedicated host are insufficient, the instance cannot start.
|
|
3766
|
+
* Default value: **default**.
|
|
3767
|
+
*/
|
|
3768
|
+
readonly affinity?: string | ros.IResolvable;
|
|
2902
3769
|
/**
|
|
2903
3770
|
* @Property allocatePublicIp: The public ip for ecs instance, if properties is true, will allocate public ip. If property InternetMaxBandwidthOut set to 0, it will not assign public ip.
|
|
2904
3771
|
*/
|
|
@@ -2915,14 +3782,32 @@ export interface RosInstanceGroupProps {
|
|
|
2915
3782
|
* @Property autoRenewPeriod: The time period of auto renew. When the parameter InstanceChargeType is PrePaid, it will take effect.It could be 1, 2, 3, 6, 12, 24, 36, 48, 60. Default value is 1.Old instances will not be changed.
|
|
2916
3783
|
*/
|
|
2917
3784
|
readonly autoRenewPeriod?: number | ros.IResolvable;
|
|
3785
|
+
/**
|
|
3786
|
+
* @Property cpuOptions: Cpu options.
|
|
3787
|
+
*/
|
|
3788
|
+
readonly cpuOptions?: RosInstanceGroup.CpuOptionsProperty | ros.IResolvable;
|
|
3789
|
+
/**
|
|
3790
|
+
* @Property creditSpecification: The performance mode of the burstable instance. Valid values:
|
|
3791
|
+
* - **Standard**: the standard mode.
|
|
3792
|
+
* - **Unlimited**: the unlimited mode.
|
|
3793
|
+
*/
|
|
3794
|
+
readonly creditSpecification?: string | ros.IResolvable;
|
|
2918
3795
|
/**
|
|
2919
3796
|
* @Property dedicatedHostId: which dedicated host will be deployed
|
|
2920
3797
|
*/
|
|
2921
3798
|
readonly dedicatedHostId?: string | ros.IResolvable;
|
|
3799
|
+
/**
|
|
3800
|
+
* @Property deletionForce: Whether force delete the instance. Default value is false.
|
|
3801
|
+
*/
|
|
3802
|
+
readonly deletionForce?: boolean | ros.IResolvable;
|
|
2922
3803
|
/**
|
|
2923
3804
|
* @Property deletionProtection: Whether an instance can be released manually through the console or API, deletion protection only support postPaid instance
|
|
2924
3805
|
*/
|
|
2925
3806
|
readonly deletionProtection?: boolean | ros.IResolvable;
|
|
3807
|
+
/**
|
|
3808
|
+
* @Property deploymentSetGroupNo: The number of the deployment set group to which to deploy the instance. If the deployment set specified by **DeploymentSetId** uses the high availability group strategy (AvailabilityGroup), you can use **DeploymentSetGroupNo** to specify a deployment set group in the deployment set. Valid values: 1 to 7.
|
|
3809
|
+
*/
|
|
3810
|
+
readonly deploymentSetGroupNo?: number | ros.IResolvable;
|
|
2926
3811
|
/**
|
|
2927
3812
|
* @Property deploymentSetId: Deployment set ID. The change of the property does not affect existing instances.
|
|
2928
3813
|
*/
|
|
@@ -2937,7 +3822,7 @@ export interface RosInstanceGroupProps {
|
|
|
2937
3822
|
*/
|
|
2938
3823
|
readonly diskMappings?: Array<RosInstanceGroup.DiskMappingsProperty | ros.IResolvable> | ros.IResolvable;
|
|
2939
3824
|
/**
|
|
2940
|
-
* @Property eniMappings: NetworkInterface to attach to instance. Max support
|
|
3825
|
+
* @Property eniMappings: NetworkInterface to attach to instance. Max support 2 ENIs.
|
|
2941
3826
|
*/
|
|
2942
3827
|
readonly eniMappings?: Array<RosInstanceGroup.EniMappingsProperty | ros.IResolvable> | ros.IResolvable;
|
|
2943
3828
|
/**
|
|
@@ -2954,10 +3839,47 @@ export interface RosInstanceGroupProps {
|
|
|
2954
3839
|
* The host name is specified by regular expression works after restart instance manually.
|
|
2955
3840
|
*/
|
|
2956
3841
|
readonly hostName?: string | ros.IResolvable;
|
|
3842
|
+
/**
|
|
3843
|
+
* @Property hostNames: The hostname of instance N. You can use this parameter to specify different hostnames for multiple instances. Take note of the following items:
|
|
3844
|
+
* - The maximum value of N must be the same as the Amount value. For example, if you set Amount to 2, you can use HostNames.1 and HostNames.2 to specify hostnames for the individual instances. Examples: HostNames.1=test1 and HostNames.2=test2.
|
|
3845
|
+
* - You cannot specify both HostName and HostNames.N.
|
|
3846
|
+
* - The hostname cannot start or end with a period (.) or hyphen (-). The hostname cannot contain consecutive periods (.) or hyphens (-).
|
|
3847
|
+
* - For Windows instances, the hostname must be 2 to 15 characters in length and cannot contain periods (.) or contain only digits. The hostname can contain letters, digits, and hyphens (-).
|
|
3848
|
+
* - 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 a hostname into multiple segments. Each segment can contain letters, digits, and hyphens (-).
|
|
3849
|
+
*/
|
|
3850
|
+
readonly hostNames?: Array<string | ros.IResolvable> | ros.IResolvable;
|
|
2957
3851
|
/**
|
|
2958
3852
|
* @Property hpcClusterId: The HPC cluster ID to which the instance belongs.The change of the property does not affect existing instances.
|
|
2959
3853
|
*/
|
|
2960
3854
|
readonly hpcClusterId?: string | ros.IResolvable;
|
|
3855
|
+
/**
|
|
3856
|
+
* @Property httpEndpoint: Specifies whether the access channel is enabled for instance metadata. Valid values:
|
|
3857
|
+
* - **enabled**
|
|
3858
|
+
* - **disabled**
|
|
3859
|
+
* Default value: **enabled**.
|
|
3860
|
+
*/
|
|
3861
|
+
readonly httpEndpoint?: string | ros.IResolvable;
|
|
3862
|
+
/**
|
|
3863
|
+
* @Property httpTokens: Specifies whether the security hardening mode (IMDSv2) is forcefully used to access instance metadata. Valid values:
|
|
3864
|
+
* - **optional**: does not forcefully use the security-enhanced mode (IMDSv2).
|
|
3865
|
+
* - **required**: forcefully uses the security-enhanced mode (IMDSv2). After you set this parameter to required, you cannot access instance metadata in normal mode.
|
|
3866
|
+
* Default value: **optional**.
|
|
3867
|
+
*/
|
|
3868
|
+
readonly httpTokens?: string | ros.IResolvable;
|
|
3869
|
+
/**
|
|
3870
|
+
* @Property imageFamily: The name of the image family. You can set this parameter to obtain the latest available custom image from the specified image family to create the instance.
|
|
3871
|
+
* - **ImageFamily** must be empty if **ImageId** is specified.
|
|
3872
|
+
* - **ImageFamily** can be specified if **ImageId** is not specified.
|
|
3873
|
+
*/
|
|
3874
|
+
readonly imageFamily?: string | ros.IResolvable;
|
|
3875
|
+
/**
|
|
3876
|
+
* @Property imageId: Image ID to create ecs instance.
|
|
3877
|
+
*/
|
|
3878
|
+
readonly imageId?: string | ros.IResolvable;
|
|
3879
|
+
/**
|
|
3880
|
+
* @Property imageOptions: Image options.
|
|
3881
|
+
*/
|
|
3882
|
+
readonly imageOptions?: RosInstanceGroup.ImageOptionsProperty | ros.IResolvable;
|
|
2961
3883
|
/**
|
|
2962
3884
|
* @Property instanceChargeType: Instance Charge type, allowed value: Prepaid and Postpaid. If specified Prepaid, please ensure you have sufficient balance in your account. Or instance creation will be failure. Default value is Postpaid.Old instances will not be changed.
|
|
2963
3885
|
*/
|
|
@@ -3016,6 +3938,17 @@ export interface RosInstanceGroupProps {
|
|
|
3016
3938
|
* @Property launchTemplateVersion: Version of launch template. Default version is used if version is not specified.
|
|
3017
3939
|
*/
|
|
3018
3940
|
readonly launchTemplateVersion?: string | ros.IResolvable;
|
|
3941
|
+
/**
|
|
3942
|
+
* @Property networkInterfaceQueueNumber: The number of queues supported by the primary ENI. Take note of the following items:
|
|
3943
|
+
* - The value of this parameter cannot exceed the maximum number of queues per ENI allowed for the instance type.
|
|
3944
|
+
* - The total number of queues for all ENIs on the instance cannot exceed the queue quota for the instance type.
|
|
3945
|
+
* - If NetworkInterface.N.InstanceType is set to Primary, you cannot specify NetworkInterfaceQueueNumber but can specify NetworkInterface.N.QueueNumber
|
|
3946
|
+
*/
|
|
3947
|
+
readonly networkInterfaceQueueNumber?: number | ros.IResolvable;
|
|
3948
|
+
/**
|
|
3949
|
+
* @Property networkOptions: Network options.
|
|
3950
|
+
*/
|
|
3951
|
+
readonly networkOptions?: RosInstanceGroup.NetworkOptionsProperty | ros.IResolvable;
|
|
3019
3952
|
/**
|
|
3020
3953
|
* @Property networkType: Instance network type. Support 'vpc' and 'classic', for compatible reason, default is 'classic'. If vswitch id and vpc id is specified, the property will be forced to be set to 'vpc'
|
|
3021
3954
|
*/
|
|
@@ -3033,13 +3966,17 @@ export interface RosInstanceGroupProps {
|
|
|
3033
3966
|
*/
|
|
3034
3967
|
readonly period?: number | ros.IResolvable;
|
|
3035
3968
|
/**
|
|
3036
|
-
* @Property periodUnit: Unit of prepaid time period, it could be Week
|
|
3969
|
+
* @Property periodUnit: Unit of prepaid time period, it could be Week\/Month\/Year. Default value is Month.Old instances will not be changed.
|
|
3037
3970
|
*/
|
|
3038
3971
|
readonly periodUnit?: string | ros.IResolvable;
|
|
3039
3972
|
/**
|
|
3040
3973
|
* @Property privateIpAddress: Private IP for the instance created. Only works for VPC instance and cannot duplicated with existing instance.
|
|
3041
3974
|
*/
|
|
3042
3975
|
readonly privateIpAddress?: string | ros.IResolvable;
|
|
3976
|
+
/**
|
|
3977
|
+
* @Property privatePoolOptions: The options of the private pool.
|
|
3978
|
+
*/
|
|
3979
|
+
readonly privatePoolOptions?: RosInstanceGroup.PrivatePoolOptionsProperty | ros.IResolvable;
|
|
3043
3980
|
/**
|
|
3044
3981
|
* @Property ramRoleName: Instance RAM role name. The name is provided and maintained by Resource Access Management (RAM) and can be queried using ListRoles. For more information, see RAM API CreateRole and ListRoles.
|
|
3045
3982
|
*/
|
|
@@ -3048,6 +3985,10 @@ export interface RosInstanceGroupProps {
|
|
|
3048
3985
|
* @Property resourceGroupId: Resource group id.
|
|
3049
3986
|
*/
|
|
3050
3987
|
readonly resourceGroupId?: string | ros.IResolvable;
|
|
3988
|
+
/**
|
|
3989
|
+
* @Property schedulerOptions: undefined
|
|
3990
|
+
*/
|
|
3991
|
+
readonly schedulerOptions?: RosInstanceGroup.SchedulerOptionsProperty | ros.IResolvable;
|
|
3051
3992
|
/**
|
|
3052
3993
|
* @Property securityEnhancementStrategy:
|
|
3053
3994
|
*/
|
|
@@ -3059,7 +4000,11 @@ export interface RosInstanceGroupProps {
|
|
|
3059
4000
|
/**
|
|
3060
4001
|
* @Property securityGroupIds: The IDs of security groups N to which the instance belongs. The valid values of N are based on the maximum number of security groups to which an instance can belong. For more information, see Security group limits.Note: You cannot specify both SecurityGroupId and SecurityGroupIds at the same time.
|
|
3061
4002
|
*/
|
|
3062
|
-
readonly securityGroupIds?: Array<
|
|
4003
|
+
readonly securityGroupIds?: Array<string | ros.IResolvable> | ros.IResolvable;
|
|
4004
|
+
/**
|
|
4005
|
+
* @Property securityOptions: Security options.
|
|
4006
|
+
*/
|
|
4007
|
+
readonly securityOptions?: RosInstanceGroup.SecurityOptionsProperty | ros.IResolvable;
|
|
3063
4008
|
/**
|
|
3064
4009
|
* @Property spotDuration: The protection period of the preemptible instance. Unit: hours. Valid values: 0, 1, 2, 3, 4, 5, and 6.
|
|
3065
4010
|
* Protection periods of 2, 3, 4, 5, and 6 hours are in invitational preview. If you want to set this parameter to one of these values, submit a ticket.
|
|
@@ -3079,6 +4024,14 @@ export interface RosInstanceGroupProps {
|
|
|
3079
4024
|
* @Property spotStrategy: The spot strategy of a Pay-As-You-Go instance, and it takes effect only when parameter InstanceChargeType is PostPaid. Value range: "NoSpot: A regular Pay-As-You-Go instance", "SpotWithPriceLimit: A price threshold for a spot instance, ""SpotAsPriceGo: A price that is based on the highest Pay-As-You-Go instance. "Default value: NoSpot.
|
|
3080
4025
|
*/
|
|
3081
4026
|
readonly spotStrategy?: string | ros.IResolvable;
|
|
4027
|
+
/**
|
|
4028
|
+
* @Property storageSetId: The storage set ID.
|
|
4029
|
+
*/
|
|
4030
|
+
readonly storageSetId?: string | ros.IResolvable;
|
|
4031
|
+
/**
|
|
4032
|
+
* @Property storageSetPartitionNumber: The maximum number of partitions in the storage set. The value must be greater than or equal to 2.
|
|
4033
|
+
*/
|
|
4034
|
+
readonly storageSetPartitionNumber?: number | ros.IResolvable;
|
|
3082
4035
|
/**
|
|
3083
4036
|
* @Property systemDiskAutoSnapshotPolicyId: Auto snapshot policy ID.
|
|
3084
4037
|
*/
|
|
@@ -3118,7 +4071,7 @@ export interface RosInstanceGroupProps {
|
|
|
3118
4071
|
*/
|
|
3119
4072
|
readonly systemDiskKmsKeyId?: string | ros.IResolvable;
|
|
3120
4073
|
/**
|
|
3121
|
-
* @Property systemDiskPerformanceLevel: The performance level of the enhanced SSD used as the system disk.Default value: PL1. Valid values:PL0: A single enhanced SSD delivers up to 10,000 random read
|
|
4074
|
+
* @Property systemDiskPerformanceLevel: The performance level of the enhanced SSD used as the system disk.Default value: PL1. Valid values:PL0: A single enhanced SSD delivers up to 10,000 random read\/write IOPS.PL1: A single enhanced SSD delivers up to 50,000 random read\/write IOPS.PL2: A single enhanced SSD delivers up to 100,000 random read\/write IOPS.PL3: A single enhanced SSD delivers up to 1,000,000 random read\/write IOPS.
|
|
3122
4075
|
*/
|
|
3123
4076
|
readonly systemDiskPerformanceLevel?: string | ros.IResolvable;
|
|
3124
4077
|
/**
|
|
@@ -3137,6 +4090,21 @@ export interface RosInstanceGroupProps {
|
|
|
3137
4090
|
* @Property tags: Tags to attach to instance. Max support 20 tags to add during create instance. Each tag with two properties Key and Value, and Key is required.
|
|
3138
4091
|
*/
|
|
3139
4092
|
readonly tags?: RosInstanceGroup.TagsProperty[];
|
|
4093
|
+
/**
|
|
4094
|
+
* @Property tenancy: Specifies whether to create the instance on a dedicated host. Valid values:
|
|
4095
|
+
* - **default**: creates the instance on a non-dedicated host.
|
|
4096
|
+
* - **host**: creates the instance on a dedicated host. If you do not specify **DedicatedHostId**, Alibaba Cloud selects a dedicated host for the instance.
|
|
4097
|
+
* Default value: **default**.
|
|
4098
|
+
*/
|
|
4099
|
+
readonly tenancy?: string | ros.IResolvable;
|
|
4100
|
+
/**
|
|
4101
|
+
* @Property uniqueSuffix: Specifies whether to automatically append incremental suffixes to the hostname specified by the **HostName** parameter and to the instance name specified by the **InstanceName** parameter when you batch create instances. The incremental suffixes can range from 001 to 999. Valid values:
|
|
4102
|
+
* - **true**: appends incremental suffixes to the hostname and the instance name.
|
|
4103
|
+
* - **false**: does not append incremental suffixes to the hostname or the instance name.
|
|
4104
|
+
* Default value: **false**.
|
|
4105
|
+
* When the **HostName** or **InstanceName** value is set in the name_prefix[begin_number,bits] format without a suffix (name_suffix), the **UniqueSuffix** parameter does not take effect. The names are sorted in the specified sequence.
|
|
4106
|
+
*/
|
|
4107
|
+
readonly uniqueSuffix?: boolean | ros.IResolvable;
|
|
3140
4108
|
/**
|
|
3141
4109
|
* @Property updatePolicy: Specify the policy at update.
|
|
3142
4110
|
* The value can be 'ForNewInstances' or 'ForAllInstances'.
|
|
@@ -3144,6 +4112,10 @@ export interface RosInstanceGroupProps {
|
|
|
3144
4112
|
* The default is 'ForNewInstances'
|
|
3145
4113
|
*/
|
|
3146
4114
|
readonly updatePolicy?: string | ros.IResolvable;
|
|
4115
|
+
/**
|
|
4116
|
+
* @Property useAdditionalService: Specifies whether to use the system configurations for virtual machines provided by Alibaba Cloud. System configurations for Windows: NTP and KMS. System configurations for Linux: NTP and YUM.
|
|
4117
|
+
*/
|
|
4118
|
+
readonly useAdditionalService?: boolean | ros.IResolvable;
|
|
3147
4119
|
/**
|
|
3148
4120
|
* @Property userData: User data to pass to instance. [1, 16KB] characters.User data should not be base64 encoded. If you want to pass base64 encoded string to the property, use function Fn::Base64Decode to decode the base64 string first.
|
|
3149
4121
|
*/
|
|
@@ -3168,17 +4140,15 @@ export interface RosInstanceGroupProps {
|
|
|
3168
4140
|
readonly zoneIds?: Array<string | ros.IResolvable> | ros.IResolvable;
|
|
3169
4141
|
}
|
|
3170
4142
|
/**
|
|
3171
|
-
*
|
|
4143
|
+
* This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::InstanceGroup`, which is used to create a group of Elastic Compute Service (ECS) instances that have the same configurations.
|
|
4144
|
+
* @Note This class does not contain additional functions, so it is recommended to use the `InstanceGroup` class instead of this class for a more convenient development experience.
|
|
4145
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-instancegroup
|
|
3172
4146
|
*/
|
|
3173
4147
|
export declare class RosInstanceGroup extends ros.RosResource {
|
|
3174
4148
|
/**
|
|
3175
4149
|
* The resource type name for this resource class.
|
|
3176
4150
|
*/
|
|
3177
4151
|
static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::InstanceGroup";
|
|
3178
|
-
/**
|
|
3179
|
-
* A factory method that creates a new instance of this class from an object
|
|
3180
|
-
* containing the properties of this ROS resource.
|
|
3181
|
-
*/
|
|
3182
4152
|
/**
|
|
3183
4153
|
* @Attribute HostNames: Host names of created instances.
|
|
3184
4154
|
*/
|
|
@@ -3216,10 +4186,6 @@ export declare class RosInstanceGroup extends ros.RosResource {
|
|
|
3216
4186
|
*/
|
|
3217
4187
|
readonly attrZoneIds: ros.IResolvable;
|
|
3218
4188
|
enableResourcePropertyConstraint: boolean;
|
|
3219
|
-
/**
|
|
3220
|
-
* @Property imageId: Image ID to create ecs instance.
|
|
3221
|
-
*/
|
|
3222
|
-
imageId: string | ros.IResolvable;
|
|
3223
4189
|
/**
|
|
3224
4190
|
* @Property instanceType: Ecs instance supported instance type, make sure it should be correct.
|
|
3225
4191
|
*/
|
|
@@ -3228,6 +4194,13 @@ export declare class RosInstanceGroup extends ros.RosResource {
|
|
|
3228
4194
|
* @Property maxAmount: Max number of instances to create, should be bigger than 'MinAmount' and smaller than 1000.
|
|
3229
4195
|
*/
|
|
3230
4196
|
maxAmount: number | ros.IResolvable;
|
|
4197
|
+
/**
|
|
4198
|
+
* @Property affinity: Specifies whether to associate the instance on a dedicated host with the dedicated host. Valid values:
|
|
4199
|
+
* - **default**: does not associate the ECS instance with the dedicated host. When you start an instance that was stopped in economical mode, the instance is automatically deployed to another dedicated host in the automatic deployment resource pool if the available resources of the original dedicated host are insufficient.
|
|
4200
|
+
* - **host**: associates the ECS instance with the dedicated host. When you start an instance that was stopped in economical mode, the instance remains on the original dedicated host. If the available resources of the original dedicated host are insufficient, the instance cannot start.
|
|
4201
|
+
* Default value: **default**.
|
|
4202
|
+
*/
|
|
4203
|
+
affinity: string | ros.IResolvable | undefined;
|
|
3231
4204
|
/**
|
|
3232
4205
|
* @Property allocatePublicIp: The public ip for ecs instance, if properties is true, will allocate public ip. If property InternetMaxBandwidthOut set to 0, it will not assign public ip.
|
|
3233
4206
|
*/
|
|
@@ -3244,14 +4217,32 @@ export declare class RosInstanceGroup extends ros.RosResource {
|
|
|
3244
4217
|
* @Property autoRenewPeriod: The time period of auto renew. When the parameter InstanceChargeType is PrePaid, it will take effect.It could be 1, 2, 3, 6, 12, 24, 36, 48, 60. Default value is 1.Old instances will not be changed.
|
|
3245
4218
|
*/
|
|
3246
4219
|
autoRenewPeriod: number | ros.IResolvable | undefined;
|
|
4220
|
+
/**
|
|
4221
|
+
* @Property cpuOptions: Cpu options.
|
|
4222
|
+
*/
|
|
4223
|
+
cpuOptions: RosInstanceGroup.CpuOptionsProperty | ros.IResolvable | undefined;
|
|
4224
|
+
/**
|
|
4225
|
+
* @Property creditSpecification: The performance mode of the burstable instance. Valid values:
|
|
4226
|
+
* - **Standard**: the standard mode.
|
|
4227
|
+
* - **Unlimited**: the unlimited mode.
|
|
4228
|
+
*/
|
|
4229
|
+
creditSpecification: string | ros.IResolvable | undefined;
|
|
3247
4230
|
/**
|
|
3248
4231
|
* @Property dedicatedHostId: which dedicated host will be deployed
|
|
3249
4232
|
*/
|
|
3250
4233
|
dedicatedHostId: string | ros.IResolvable | undefined;
|
|
4234
|
+
/**
|
|
4235
|
+
* @Property deletionForce: Whether force delete the instance. Default value is false.
|
|
4236
|
+
*/
|
|
4237
|
+
deletionForce: boolean | ros.IResolvable | undefined;
|
|
3251
4238
|
/**
|
|
3252
4239
|
* @Property deletionProtection: Whether an instance can be released manually through the console or API, deletion protection only support postPaid instance
|
|
3253
4240
|
*/
|
|
3254
4241
|
deletionProtection: boolean | ros.IResolvable | undefined;
|
|
4242
|
+
/**
|
|
4243
|
+
* @Property deploymentSetGroupNo: The number of the deployment set group to which to deploy the instance. If the deployment set specified by **DeploymentSetId** uses the high availability group strategy (AvailabilityGroup), you can use **DeploymentSetGroupNo** to specify a deployment set group in the deployment set. Valid values: 1 to 7.
|
|
4244
|
+
*/
|
|
4245
|
+
deploymentSetGroupNo: number | ros.IResolvable | undefined;
|
|
3255
4246
|
/**
|
|
3256
4247
|
* @Property deploymentSetId: Deployment set ID. The change of the property does not affect existing instances.
|
|
3257
4248
|
*/
|
|
@@ -3266,7 +4257,7 @@ export declare class RosInstanceGroup extends ros.RosResource {
|
|
|
3266
4257
|
*/
|
|
3267
4258
|
diskMappings: Array<RosInstanceGroup.DiskMappingsProperty | ros.IResolvable> | ros.IResolvable | undefined;
|
|
3268
4259
|
/**
|
|
3269
|
-
* @Property eniMappings: NetworkInterface to attach to instance. Max support
|
|
4260
|
+
* @Property eniMappings: NetworkInterface to attach to instance. Max support 2 ENIs.
|
|
3270
4261
|
*/
|
|
3271
4262
|
eniMappings: Array<RosInstanceGroup.EniMappingsProperty | ros.IResolvable> | ros.IResolvable | undefined;
|
|
3272
4263
|
/**
|
|
@@ -3283,10 +4274,47 @@ export declare class RosInstanceGroup extends ros.RosResource {
|
|
|
3283
4274
|
* The host name is specified by regular expression works after restart instance manually.
|
|
3284
4275
|
*/
|
|
3285
4276
|
hostName: string | ros.IResolvable | undefined;
|
|
4277
|
+
/**
|
|
4278
|
+
* @Property hostNames: The hostname of instance N. You can use this parameter to specify different hostnames for multiple instances. Take note of the following items:
|
|
4279
|
+
* - The maximum value of N must be the same as the Amount value. For example, if you set Amount to 2, you can use HostNames.1 and HostNames.2 to specify hostnames for the individual instances. Examples: HostNames.1=test1 and HostNames.2=test2.
|
|
4280
|
+
* - You cannot specify both HostName and HostNames.N.
|
|
4281
|
+
* - The hostname cannot start or end with a period (.) or hyphen (-). The hostname cannot contain consecutive periods (.) or hyphens (-).
|
|
4282
|
+
* - For Windows instances, the hostname must be 2 to 15 characters in length and cannot contain periods (.) or contain only digits. The hostname can contain letters, digits, and hyphens (-).
|
|
4283
|
+
* - 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 a hostname into multiple segments. Each segment can contain letters, digits, and hyphens (-).
|
|
4284
|
+
*/
|
|
4285
|
+
hostNames: Array<string | ros.IResolvable> | ros.IResolvable | undefined;
|
|
3286
4286
|
/**
|
|
3287
4287
|
* @Property hpcClusterId: The HPC cluster ID to which the instance belongs.The change of the property does not affect existing instances.
|
|
3288
4288
|
*/
|
|
3289
4289
|
hpcClusterId: string | ros.IResolvable | undefined;
|
|
4290
|
+
/**
|
|
4291
|
+
* @Property httpEndpoint: Specifies whether the access channel is enabled for instance metadata. Valid values:
|
|
4292
|
+
* - **enabled**
|
|
4293
|
+
* - **disabled**
|
|
4294
|
+
* Default value: **enabled**.
|
|
4295
|
+
*/
|
|
4296
|
+
httpEndpoint: string | ros.IResolvable | undefined;
|
|
4297
|
+
/**
|
|
4298
|
+
* @Property httpTokens: Specifies whether the security hardening mode (IMDSv2) is forcefully used to access instance metadata. Valid values:
|
|
4299
|
+
* - **optional**: does not forcefully use the security-enhanced mode (IMDSv2).
|
|
4300
|
+
* - **required**: forcefully uses the security-enhanced mode (IMDSv2). After you set this parameter to required, you cannot access instance metadata in normal mode.
|
|
4301
|
+
* Default value: **optional**.
|
|
4302
|
+
*/
|
|
4303
|
+
httpTokens: string | ros.IResolvable | undefined;
|
|
4304
|
+
/**
|
|
4305
|
+
* @Property imageFamily: The name of the image family. You can set this parameter to obtain the latest available custom image from the specified image family to create the instance.
|
|
4306
|
+
* - **ImageFamily** must be empty if **ImageId** is specified.
|
|
4307
|
+
* - **ImageFamily** can be specified if **ImageId** is not specified.
|
|
4308
|
+
*/
|
|
4309
|
+
imageFamily: string | ros.IResolvable | undefined;
|
|
4310
|
+
/**
|
|
4311
|
+
* @Property imageId: Image ID to create ecs instance.
|
|
4312
|
+
*/
|
|
4313
|
+
imageId: string | ros.IResolvable | undefined;
|
|
4314
|
+
/**
|
|
4315
|
+
* @Property imageOptions: Image options.
|
|
4316
|
+
*/
|
|
4317
|
+
imageOptions: RosInstanceGroup.ImageOptionsProperty | ros.IResolvable | undefined;
|
|
3290
4318
|
/**
|
|
3291
4319
|
* @Property instanceChargeType: Instance Charge type, allowed value: Prepaid and Postpaid. If specified Prepaid, please ensure you have sufficient balance in your account. Or instance creation will be failure. Default value is Postpaid.Old instances will not be changed.
|
|
3292
4320
|
*/
|
|
@@ -3345,6 +4373,17 @@ export declare class RosInstanceGroup extends ros.RosResource {
|
|
|
3345
4373
|
* @Property launchTemplateVersion: Version of launch template. Default version is used if version is not specified.
|
|
3346
4374
|
*/
|
|
3347
4375
|
launchTemplateVersion: string | ros.IResolvable | undefined;
|
|
4376
|
+
/**
|
|
4377
|
+
* @Property networkInterfaceQueueNumber: The number of queues supported by the primary ENI. Take note of the following items:
|
|
4378
|
+
* - The value of this parameter cannot exceed the maximum number of queues per ENI allowed for the instance type.
|
|
4379
|
+
* - The total number of queues for all ENIs on the instance cannot exceed the queue quota for the instance type.
|
|
4380
|
+
* - If NetworkInterface.N.InstanceType is set to Primary, you cannot specify NetworkInterfaceQueueNumber but can specify NetworkInterface.N.QueueNumber
|
|
4381
|
+
*/
|
|
4382
|
+
networkInterfaceQueueNumber: number | ros.IResolvable | undefined;
|
|
4383
|
+
/**
|
|
4384
|
+
* @Property networkOptions: Network options.
|
|
4385
|
+
*/
|
|
4386
|
+
networkOptions: RosInstanceGroup.NetworkOptionsProperty | ros.IResolvable | undefined;
|
|
3348
4387
|
/**
|
|
3349
4388
|
* @Property networkType: Instance network type. Support 'vpc' and 'classic', for compatible reason, default is 'classic'. If vswitch id and vpc id is specified, the property will be forced to be set to 'vpc'
|
|
3350
4389
|
*/
|
|
@@ -3362,13 +4401,17 @@ export declare class RosInstanceGroup extends ros.RosResource {
|
|
|
3362
4401
|
*/
|
|
3363
4402
|
period: number | ros.IResolvable | undefined;
|
|
3364
4403
|
/**
|
|
3365
|
-
* @Property periodUnit: Unit of prepaid time period, it could be Week
|
|
4404
|
+
* @Property periodUnit: Unit of prepaid time period, it could be Week\/Month\/Year. Default value is Month.Old instances will not be changed.
|
|
3366
4405
|
*/
|
|
3367
4406
|
periodUnit: string | ros.IResolvable | undefined;
|
|
3368
4407
|
/**
|
|
3369
4408
|
* @Property privateIpAddress: Private IP for the instance created. Only works for VPC instance and cannot duplicated with existing instance.
|
|
3370
4409
|
*/
|
|
3371
4410
|
privateIpAddress: string | ros.IResolvable | undefined;
|
|
4411
|
+
/**
|
|
4412
|
+
* @Property privatePoolOptions: The options of the private pool.
|
|
4413
|
+
*/
|
|
4414
|
+
privatePoolOptions: RosInstanceGroup.PrivatePoolOptionsProperty | ros.IResolvable | undefined;
|
|
3372
4415
|
/**
|
|
3373
4416
|
* @Property ramRoleName: Instance RAM role name. The name is provided and maintained by Resource Access Management (RAM) and can be queried using ListRoles. For more information, see RAM API CreateRole and ListRoles.
|
|
3374
4417
|
*/
|
|
@@ -3377,6 +4420,10 @@ export declare class RosInstanceGroup extends ros.RosResource {
|
|
|
3377
4420
|
* @Property resourceGroupId: Resource group id.
|
|
3378
4421
|
*/
|
|
3379
4422
|
resourceGroupId: string | ros.IResolvable | undefined;
|
|
4423
|
+
/**
|
|
4424
|
+
* @Property schedulerOptions: undefined
|
|
4425
|
+
*/
|
|
4426
|
+
schedulerOptions: RosInstanceGroup.SchedulerOptionsProperty | ros.IResolvable | undefined;
|
|
3380
4427
|
/**
|
|
3381
4428
|
* @Property securityEnhancementStrategy:
|
|
3382
4429
|
*/
|
|
@@ -3388,7 +4435,11 @@ export declare class RosInstanceGroup extends ros.RosResource {
|
|
|
3388
4435
|
/**
|
|
3389
4436
|
* @Property securityGroupIds: The IDs of security groups N to which the instance belongs. The valid values of N are based on the maximum number of security groups to which an instance can belong. For more information, see Security group limits.Note: You cannot specify both SecurityGroupId and SecurityGroupIds at the same time.
|
|
3390
4437
|
*/
|
|
3391
|
-
securityGroupIds: Array<
|
|
4438
|
+
securityGroupIds: Array<string | ros.IResolvable> | ros.IResolvable | undefined;
|
|
4439
|
+
/**
|
|
4440
|
+
* @Property securityOptions: Security options.
|
|
4441
|
+
*/
|
|
4442
|
+
securityOptions: RosInstanceGroup.SecurityOptionsProperty | ros.IResolvable | undefined;
|
|
3392
4443
|
/**
|
|
3393
4444
|
* @Property spotDuration: The protection period of the preemptible instance. Unit: hours. Valid values: 0, 1, 2, 3, 4, 5, and 6.
|
|
3394
4445
|
* Protection periods of 2, 3, 4, 5, and 6 hours are in invitational preview. If you want to set this parameter to one of these values, submit a ticket.
|
|
@@ -3408,6 +4459,14 @@ export declare class RosInstanceGroup extends ros.RosResource {
|
|
|
3408
4459
|
* @Property spotStrategy: The spot strategy of a Pay-As-You-Go instance, and it takes effect only when parameter InstanceChargeType is PostPaid. Value range: "NoSpot: A regular Pay-As-You-Go instance", "SpotWithPriceLimit: A price threshold for a spot instance, ""SpotAsPriceGo: A price that is based on the highest Pay-As-You-Go instance. "Default value: NoSpot.
|
|
3409
4460
|
*/
|
|
3410
4461
|
spotStrategy: string | ros.IResolvable | undefined;
|
|
4462
|
+
/**
|
|
4463
|
+
* @Property storageSetId: The storage set ID.
|
|
4464
|
+
*/
|
|
4465
|
+
storageSetId: string | ros.IResolvable | undefined;
|
|
4466
|
+
/**
|
|
4467
|
+
* @Property storageSetPartitionNumber: The maximum number of partitions in the storage set. The value must be greater than or equal to 2.
|
|
4468
|
+
*/
|
|
4469
|
+
storageSetPartitionNumber: number | ros.IResolvable | undefined;
|
|
3411
4470
|
/**
|
|
3412
4471
|
* @Property systemDiskAutoSnapshotPolicyId: Auto snapshot policy ID.
|
|
3413
4472
|
*/
|
|
@@ -3447,7 +4506,7 @@ export declare class RosInstanceGroup extends ros.RosResource {
|
|
|
3447
4506
|
*/
|
|
3448
4507
|
systemDiskKmsKeyId: string | ros.IResolvable | undefined;
|
|
3449
4508
|
/**
|
|
3450
|
-
* @Property systemDiskPerformanceLevel: The performance level of the enhanced SSD used as the system disk.Default value: PL1. Valid values:PL0: A single enhanced SSD delivers up to 10,000 random read
|
|
4509
|
+
* @Property systemDiskPerformanceLevel: The performance level of the enhanced SSD used as the system disk.Default value: PL1. Valid values:PL0: A single enhanced SSD delivers up to 10,000 random read\/write IOPS.PL1: A single enhanced SSD delivers up to 50,000 random read\/write IOPS.PL2: A single enhanced SSD delivers up to 100,000 random read\/write IOPS.PL3: A single enhanced SSD delivers up to 1,000,000 random read\/write IOPS.
|
|
3451
4510
|
*/
|
|
3452
4511
|
systemDiskPerformanceLevel: string | ros.IResolvable | undefined;
|
|
3453
4512
|
/**
|
|
@@ -3466,6 +4525,21 @@ export declare class RosInstanceGroup extends ros.RosResource {
|
|
|
3466
4525
|
* @Property tags: Tags to attach to instance. Max support 20 tags to add during create instance. Each tag with two properties Key and Value, and Key is required.
|
|
3467
4526
|
*/
|
|
3468
4527
|
tags: RosInstanceGroup.TagsProperty[] | undefined;
|
|
4528
|
+
/**
|
|
4529
|
+
* @Property tenancy: Specifies whether to create the instance on a dedicated host. Valid values:
|
|
4530
|
+
* - **default**: creates the instance on a non-dedicated host.
|
|
4531
|
+
* - **host**: creates the instance on a dedicated host. If you do not specify **DedicatedHostId**, Alibaba Cloud selects a dedicated host for the instance.
|
|
4532
|
+
* Default value: **default**.
|
|
4533
|
+
*/
|
|
4534
|
+
tenancy: string | ros.IResolvable | undefined;
|
|
4535
|
+
/**
|
|
4536
|
+
* @Property uniqueSuffix: Specifies whether to automatically append incremental suffixes to the hostname specified by the **HostName** parameter and to the instance name specified by the **InstanceName** parameter when you batch create instances. The incremental suffixes can range from 001 to 999. Valid values:
|
|
4537
|
+
* - **true**: appends incremental suffixes to the hostname and the instance name.
|
|
4538
|
+
* - **false**: does not append incremental suffixes to the hostname or the instance name.
|
|
4539
|
+
* Default value: **false**.
|
|
4540
|
+
* When the **HostName** or **InstanceName** value is set in the name_prefix[begin_number,bits] format without a suffix (name_suffix), the **UniqueSuffix** parameter does not take effect. The names are sorted in the specified sequence.
|
|
4541
|
+
*/
|
|
4542
|
+
uniqueSuffix: boolean | ros.IResolvable | undefined;
|
|
3469
4543
|
/**
|
|
3470
4544
|
* @Property updatePolicy: Specify the policy at update.
|
|
3471
4545
|
* The value can be 'ForNewInstances' or 'ForAllInstances'.
|
|
@@ -3473,6 +4547,10 @@ export declare class RosInstanceGroup extends ros.RosResource {
|
|
|
3473
4547
|
* The default is 'ForNewInstances'
|
|
3474
4548
|
*/
|
|
3475
4549
|
updatePolicy: string | ros.IResolvable | undefined;
|
|
4550
|
+
/**
|
|
4551
|
+
* @Property useAdditionalService: Specifies whether to use the system configurations for virtual machines provided by Alibaba Cloud. System configurations for Windows: NTP and KMS. System configurations for Linux: NTP and YUM.
|
|
4552
|
+
*/
|
|
4553
|
+
useAdditionalService: boolean | ros.IResolvable | undefined;
|
|
3476
4554
|
/**
|
|
3477
4555
|
* @Property userData: User data to pass to instance. [1, 16KB] characters.User data should not be base64 encoded. If you want to pass base64 encoded string to the property, use function Fn::Base64Decode to decode the base64 string first.
|
|
3478
4556
|
*/
|
|
@@ -3496,8 +4574,6 @@ export declare class RosInstanceGroup extends ros.RosResource {
|
|
|
3496
4574
|
*/
|
|
3497
4575
|
zoneIds: Array<string | ros.IResolvable> | ros.IResolvable | undefined;
|
|
3498
4576
|
/**
|
|
3499
|
-
* Create a new `ALIYUN::ECS::InstanceGroup`.
|
|
3500
|
-
*
|
|
3501
4577
|
* @param scope - scope in which this resource is defined
|
|
3502
4578
|
* @param id - scoped id of the resource
|
|
3503
4579
|
* @param props - resource properties
|
|
@@ -3512,6 +4588,23 @@ export declare class RosInstanceGroup extends ros.RosResource {
|
|
|
3512
4588
|
[key: string]: any;
|
|
3513
4589
|
};
|
|
3514
4590
|
}
|
|
4591
|
+
export declare namespace RosInstanceGroup {
|
|
4592
|
+
/**
|
|
4593
|
+
* @stability external
|
|
4594
|
+
*/
|
|
4595
|
+
interface CpuOptionsProperty {
|
|
4596
|
+
/**
|
|
4597
|
+
* @Property threadsPerCore: The number of threads per CPU core. The following formula is used to calculate the number of vCPUs of the instance: CpuOptions.Core value × CpuOptions.ThreadsPerCore value.
|
|
4598
|
+
* - If CpuOptionsThreadPerCore is set to 1, hyperthreading is disabled.
|
|
4599
|
+
* - This parameter is applicable only to specific instance types.
|
|
4600
|
+
*/
|
|
4601
|
+
readonly threadsPerCore?: number | ros.IResolvable;
|
|
4602
|
+
/**
|
|
4603
|
+
* @Property core: The number of CPU cores. This parameter cannot be specified but only uses its default value.
|
|
4604
|
+
*/
|
|
4605
|
+
readonly core?: number | ros.IResolvable;
|
|
4606
|
+
}
|
|
4607
|
+
}
|
|
3515
4608
|
export declare namespace RosInstanceGroup {
|
|
3516
4609
|
/**
|
|
3517
4610
|
* @stability external
|
|
@@ -3522,9 +4615,9 @@ export declare namespace RosInstanceGroup {
|
|
|
3522
4615
|
*/
|
|
3523
4616
|
readonly burstingEnabled?: boolean | ros.IResolvable;
|
|
3524
4617
|
/**
|
|
3525
|
-
* @Property
|
|
4618
|
+
* @Property storageClusterId: The ID of the dedicated block storage cluster to which data disk N belongs. If you want to use a disk in a dedicated block storage cluster as data disk N when you create the instance, you must specify this parameter.
|
|
3526
4619
|
*/
|
|
3527
|
-
readonly
|
|
4620
|
+
readonly storageClusterId?: string | ros.IResolvable;
|
|
3528
4621
|
/**
|
|
3529
4622
|
* @Property category: The volume type.Now support: cloud|cloud_efficiency|cloud_ssd|cloud_essd|ephemeral_ssd|cloud_auto. Default is cloud_efficiency.
|
|
3530
4623
|
*/
|
|
@@ -3545,11 +4638,11 @@ export declare namespace RosInstanceGroup {
|
|
|
3545
4638
|
*/
|
|
3546
4639
|
readonly encrypted?: string | ros.IResolvable;
|
|
3547
4640
|
/**
|
|
3548
|
-
* @Property device: The device where the volume is exposed on the instance. could be
|
|
4641
|
+
* @Property device: The device where the volume is exposed on the instance. could be \/dev\/xvd[a-z]. If not specification, will use default value.
|
|
3549
4642
|
*/
|
|
3550
4643
|
readonly device?: string | ros.IResolvable;
|
|
3551
4644
|
/**
|
|
3552
|
-
* @Property performanceLevel: The performance level of the enhanced SSD used as the Nth data disk.Default value: PL1. Valid values:PL0: A single enhanced SSD delivers up to 10,000 random read
|
|
4645
|
+
* @Property performanceLevel: The performance level of the enhanced SSD used as the Nth data disk.Default value: PL1. Valid values:PL0: A single enhanced SSD delivers up to 10,000 random read\/write IOPS.PL1: A single enhanced SSD delivers up to 50,000 random read\/write IOPS.PL2: A single enhanced SSD delivers up to 100,000 random read\/write IOPS.PL3: A single enhanced SSD delivers up to 1,000,000 random read\/write IOPS.
|
|
3553
4646
|
*/
|
|
3554
4647
|
readonly performanceLevel?: string | ros.IResolvable;
|
|
3555
4648
|
/**
|
|
@@ -3568,6 +4661,10 @@ export declare namespace RosInstanceGroup {
|
|
|
3568
4661
|
* @Property provisionedIops: Provisioning IOPS.
|
|
3569
4662
|
*/
|
|
3570
4663
|
readonly provisionedIops?: number | ros.IResolvable;
|
|
4664
|
+
/**
|
|
4665
|
+
* @Property snapshotId: ID of the snapshot to create the volume.
|
|
4666
|
+
*/
|
|
4667
|
+
readonly snapshotId?: string | ros.IResolvable;
|
|
3571
4668
|
}
|
|
3572
4669
|
}
|
|
3573
4670
|
export declare namespace RosInstanceGroup {
|
|
@@ -3586,15 +4683,13 @@ export declare namespace RosInstanceGroup {
|
|
|
3586
4683
|
*/
|
|
3587
4684
|
readonly description?: string | ros.IResolvable;
|
|
3588
4685
|
/**
|
|
3589
|
-
* @Property
|
|
3590
|
-
*
|
|
3591
|
-
*
|
|
4686
|
+
* @Property deleteOnRelease: Specifies whether to retain the ENI when the associated instance is released. Valid values:
|
|
4687
|
+
* - **true**
|
|
4688
|
+
* - **false**
|
|
4689
|
+
* Default value: **true**.
|
|
4690
|
+
* **Note**: This parameter takes effect only for secondary ENIs.
|
|
3592
4691
|
*/
|
|
3593
|
-
readonly
|
|
3594
|
-
/**
|
|
3595
|
-
* @Property ipv6AddressCount: The number of randomly generated IPv6 addresses that are assigned to the ENI.
|
|
3596
|
-
*/
|
|
3597
|
-
readonly ipv6AddressCount?: number | ros.IResolvable;
|
|
4692
|
+
readonly deleteOnRelease?: boolean | ros.IResolvable;
|
|
3598
4693
|
/**
|
|
3599
4694
|
* @Property securityGroupId: The ID of the security group that the ENI joins. The security group and the ENI must be in a same VPC.
|
|
3600
4695
|
*/
|
|
@@ -3602,7 +4697,7 @@ export declare namespace RosInstanceGroup {
|
|
|
3602
4697
|
/**
|
|
3603
4698
|
* @Property vSwitchId: VSwitch ID of the specified VPC. Specifies the switch ID for the VPC.
|
|
3604
4699
|
*/
|
|
3605
|
-
readonly vSwitchId
|
|
4700
|
+
readonly vSwitchId?: string | ros.IResolvable;
|
|
3606
4701
|
/**
|
|
3607
4702
|
* @Property networkInterfaceName: Name of your ENI. It is a string of [2, 128] Chinese or English characters. It must begin with a letter and can contain numbers, underscores (_), colons (:), or hyphens (-).
|
|
3608
4703
|
*/
|
|
@@ -3615,15 +4710,131 @@ export declare namespace RosInstanceGroup {
|
|
|
3615
4710
|
* @Property ipv6Addresses: The IPv6 address N to assign to the ENI.
|
|
3616
4711
|
*/
|
|
3617
4712
|
readonly ipv6Addresses?: Array<string | ros.IResolvable> | ros.IResolvable;
|
|
4713
|
+
/**
|
|
4714
|
+
* @Property networkCardIndex: The index of the network card for ENI N.
|
|
4715
|
+
* Take note of the following items:
|
|
4716
|
+
* - You can specify network card indexes only for instances of specific instance types.
|
|
4717
|
+
* - When NetworkInterface.N.InstanceType is set to **Primary**, you can set **NetworkInterface.N.NetworkCardIndex** only to 0 for instance types that support network cards.
|
|
4718
|
+
* - When **NetworkInterface.N.InstanceType** is set to **Secondary** or left empty, you can set **NetworkInterface.N.NetworkCardIndex** based on instance types if the instance types support network cards.
|
|
4719
|
+
*/
|
|
4720
|
+
readonly networkCardIndex?: number | ros.IResolvable;
|
|
4721
|
+
/**
|
|
4722
|
+
* @Property networkInterfaceId: The ID of the ENI to attach to the instance.
|
|
4723
|
+
* **Note**: This parameter takes effect only for secondary ENIs.
|
|
4724
|
+
*/
|
|
4725
|
+
readonly networkInterfaceId?: string | ros.IResolvable;
|
|
4726
|
+
/**
|
|
4727
|
+
* @Property securityGroupIds: The IDs of security groups to which to assign ENI
|
|
4728
|
+
* Note: You cannot specify both SecurityGroupId and SecurityGroupIds at the same time.
|
|
4729
|
+
*/
|
|
4730
|
+
readonly securityGroupIds?: Array<any | ros.IResolvable> | ros.IResolvable;
|
|
4731
|
+
/**
|
|
4732
|
+
* @Property queueNumber: The number of queues that are supported by the ENI. Valid values: 1 to 2048.
|
|
4733
|
+
* When you attach the ENI to an instance, make sure that the value of this parameter is less than the maximum number of queues per ENI that is allowed for the instance type. To view the maximum number of queues per ENI allowed for an instance type, you can call DescribeInstanceTypes and then check the return value of MaximumQueueNumberPerEni.
|
|
4734
|
+
* By default, this parameter is empty. If you do not specify this parameter, the default number of queues per ENI for the instance type of an instance is used when you attach the ENI to the instance. To learn about the default number of queues per ENI for an instance type, you can call DescribeInstanceTypes and then check the return value of SecondaryEniQueueNumber.
|
|
4735
|
+
*/
|
|
4736
|
+
readonly queueNumber?: number | ros.IResolvable;
|
|
4737
|
+
/**
|
|
4738
|
+
* @Property queuePairNumber: The number of queues supported by the ERI.
|
|
4739
|
+
*/
|
|
4740
|
+
readonly queuePairNumber?: number | ros.IResolvable;
|
|
4741
|
+
/**
|
|
4742
|
+
* @Property ipv6AddressCount: The number of randomly generated IPv6 addresses that are assigned to the ENI.
|
|
4743
|
+
*/
|
|
4744
|
+
readonly ipv6AddressCount?: number | ros.IResolvable;
|
|
3618
4745
|
/**
|
|
3619
4746
|
* @Property instanceType: The type of ENI. Default value: Secondary.
|
|
3620
4747
|
*/
|
|
3621
4748
|
readonly instanceType?: string | ros.IResolvable;
|
|
4749
|
+
}
|
|
4750
|
+
}
|
|
4751
|
+
export declare namespace RosInstanceGroup {
|
|
4752
|
+
/**
|
|
4753
|
+
* @stability external
|
|
4754
|
+
*/
|
|
4755
|
+
interface ImageOptionsProperty {
|
|
4756
|
+
/**
|
|
4757
|
+
* @Property loginAsNonRoot: Specifies whether the instance that uses the image supports logons of the ecs-user user. Valid values:
|
|
4758
|
+
* - true
|
|
4759
|
+
* - false
|
|
4760
|
+
*/
|
|
4761
|
+
readonly loginAsNonRoot?: boolean | ros.IResolvable;
|
|
4762
|
+
}
|
|
4763
|
+
}
|
|
4764
|
+
export declare namespace RosInstanceGroup {
|
|
4765
|
+
/**
|
|
4766
|
+
* @stability external
|
|
4767
|
+
*/
|
|
4768
|
+
interface NetworkOptionsProperty {
|
|
4769
|
+
/**
|
|
4770
|
+
* @Property enableJumboFrame: Specifies whether to enable the Jumbo Frame feature for the instance. Valid values:
|
|
4771
|
+
* - **false**: does not enable the Jumbo Frame feature for the instance. The maximum transmission unit (MTU) value of all ENIs on the instance is set to 1500.
|
|
4772
|
+
* - **true**: enables the Jumbo Frame feature for the instance. The MTU value of all ENIs on the instance is set to 8500.
|
|
4773
|
+
* Default value: true.
|
|
4774
|
+
* **Note**: The Jumbo Frame feature is supported by only 8th-generation or later instance types.
|
|
4775
|
+
*/
|
|
4776
|
+
readonly enableJumboFrame?: boolean | ros.IResolvable;
|
|
4777
|
+
}
|
|
4778
|
+
}
|
|
4779
|
+
export declare namespace RosInstanceGroup {
|
|
4780
|
+
/**
|
|
4781
|
+
* @stability external
|
|
4782
|
+
*/
|
|
4783
|
+
interface PrivatePoolOptionsProperty {
|
|
4784
|
+
/**
|
|
4785
|
+
* @Property matchCriteria: The type of the private pool to use to create the instance. A private pool is generated when an elasticity assurance or a capacity reservation takes effect. You can select a private pool when you create an instance. Valid values:
|
|
4786
|
+
* - **Open**: open private pool. The system selects a matching open private pool to create the instance. If no matching private pools are found, resources in the public pool are used. When you set this parameter to Open, you can leave PrivatePoolOptions.Id empty.
|
|
4787
|
+
* - **Target**: specified private pool. The system uses the capacity in a specified private pool to create the instance. If the specified private pool is unavailable, the instance cannot be created. If you set this parameter to Target, you must specify PrivatePoolOptions.Id.
|
|
4788
|
+
* - **None**: no private pool. The capacity in private pools is not used.
|
|
4789
|
+
* Default value: **None**.
|
|
4790
|
+
* In the following scenarios, PrivatePoolOptions.MatchCriteria can be set only to **None** or left empty:
|
|
4791
|
+
* - Create a preemptible instance.
|
|
4792
|
+
* - Create an instance in the classic network.
|
|
4793
|
+
* - Create an instance on a dedicated host.
|
|
4794
|
+
*/
|
|
4795
|
+
readonly matchCriteria?: string | ros.IResolvable;
|
|
4796
|
+
/**
|
|
4797
|
+
* @Property id: The private pool ID. The ID of a private pool is the same as that of the elasticity assurance or capacity reservation for which the private pool is generated.
|
|
4798
|
+
*/
|
|
4799
|
+
readonly id?: string | ros.IResolvable;
|
|
4800
|
+
}
|
|
4801
|
+
}
|
|
4802
|
+
export declare namespace RosInstanceGroup {
|
|
4803
|
+
/**
|
|
4804
|
+
* @stability external
|
|
4805
|
+
*/
|
|
4806
|
+
interface SchedulerOptionsProperty {
|
|
4807
|
+
/**
|
|
4808
|
+
* @Property managedPrivateSpaceId: Managed private resource pool ID.
|
|
4809
|
+
*/
|
|
4810
|
+
readonly managedPrivateSpaceId?: string | ros.IResolvable;
|
|
4811
|
+
/**
|
|
4812
|
+
* @Property dedicatedHostClusterId: The ID of the dedicated host cluster in which to create the instance. After this parameter is specified, the system selects one dedicated host from the specified cluster to create the instance.
|
|
4813
|
+
* **Note**: This parameter is valid only when **Tenancy** is set to host.
|
|
4814
|
+
* When you specify both **DedicatedHostId** and **SchedulerOptions.DedicatedHostClusterId**, take note of the following items:
|
|
4815
|
+
* - If the specified dedicated host belongs to the specified dedicated host cluster, the instance is preferentially deployed on the specified dedicated host.
|
|
4816
|
+
* - If the specified dedicated host does not belong to the specified dedicated host cluster, the instance cannot be created.
|
|
4817
|
+
*/
|
|
4818
|
+
readonly dedicatedHostClusterId?: string | ros.IResolvable;
|
|
4819
|
+
}
|
|
4820
|
+
}
|
|
4821
|
+
export declare namespace RosInstanceGroup {
|
|
4822
|
+
/**
|
|
4823
|
+
* @stability external
|
|
4824
|
+
*/
|
|
4825
|
+
interface SecurityOptionsProperty {
|
|
3622
4826
|
/**
|
|
3623
|
-
* @Property
|
|
3624
|
-
*
|
|
4827
|
+
* @Property trustedSystemMode: The trusted system mode. Set the value to vTPM.
|
|
4828
|
+
* The trusted system mode supports the following instance families:
|
|
4829
|
+
* - g7, c7, and r7
|
|
4830
|
+
* - Security-enhanced instance families: g7t, c7t, and r7t
|
|
4831
|
+
* When you create instances of the preceding instance families, you must set this parameter. Take note of the following items:
|
|
4832
|
+
* - To use Alibaba Cloud Trusted System, set this parameter to vTPM. Then, Alibaba Cloud Trusted System performs trust verifications when the instances start.
|
|
4833
|
+
* - If you do not want to use Alibaba Cloud Trusted System, leave this parameter empty. Take note that if your created instances use an enclave-based confidential computing environment (with SecurityOptions.ConfidentialComputingMode set to Enclave), Alibaba Cloud Trusted System is enabled for the instances.
|
|
4834
|
+
* - When you use the ECS API to create instances that use Alibaba Cloud Trusted System, you can call only the RunInstances operation. The CreateInstance operation does not support the SecurityOptions.TrustedSystemMode parameter.
|
|
4835
|
+
* **Note**: If you have configured an instance as a trusted instance when you created the instance, you can use only an image that supports Alibaba Cloud Trusted System to replace the system disk of the instance.
|
|
3625
4836
|
*/
|
|
3626
|
-
readonly
|
|
4837
|
+
readonly trustedSystemMode?: string | ros.IResolvable;
|
|
3627
4838
|
}
|
|
3628
4839
|
}
|
|
3629
4840
|
export declare namespace RosInstanceGroup {
|
|
@@ -3642,7 +4853,8 @@ export declare namespace RosInstanceGroup {
|
|
|
3642
4853
|
}
|
|
3643
4854
|
}
|
|
3644
4855
|
/**
|
|
3645
|
-
* Properties for defining a `
|
|
4856
|
+
* Properties for defining a `RosInstanceGroupClone`.
|
|
4857
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-instancegroupclone
|
|
3646
4858
|
*/
|
|
3647
4859
|
export interface RosInstanceGroupCloneProps {
|
|
3648
4860
|
/**
|
|
@@ -3669,6 +4881,10 @@ export interface RosInstanceGroupCloneProps {
|
|
|
3669
4881
|
* @Property backendServerWeight: The weight of backend server of load balancer. From 0 to 100, 0 means offline. Default is 100.
|
|
3670
4882
|
*/
|
|
3671
4883
|
readonly backendServerWeight?: number | ros.IResolvable;
|
|
4884
|
+
/**
|
|
4885
|
+
* @Property cpuOptions: Cpu options.
|
|
4886
|
+
*/
|
|
4887
|
+
readonly cpuOptions?: RosInstanceGroupClone.CpuOptionsProperty | ros.IResolvable;
|
|
3672
4888
|
/**
|
|
3673
4889
|
* @Property deletionProtection: Whether an instance can be released manually through the console or API, deletion protection only support postPaid instance
|
|
3674
4890
|
*/
|
|
@@ -3687,9 +4903,18 @@ export interface RosInstanceGroupCloneProps {
|
|
|
3687
4903
|
*/
|
|
3688
4904
|
readonly diskMappings?: Array<RosInstanceGroupClone.DiskMappingsProperty | ros.IResolvable> | ros.IResolvable;
|
|
3689
4905
|
/**
|
|
3690
|
-
* @Property eniMappings: NetworkInterface to attach to instance. Max support
|
|
4906
|
+
* @Property eniMappings: NetworkInterface to attach to instance. Max support 2 ENIs.
|
|
3691
4907
|
*/
|
|
3692
4908
|
readonly eniMappings?: Array<RosInstanceGroupClone.EniMappingsProperty | ros.IResolvable> | ros.IResolvable;
|
|
4909
|
+
/**
|
|
4910
|
+
* @Property hostNames: The hostname of instance N. You can use this parameter to specify different hostnames for multiple instances. Take note of the following items:
|
|
4911
|
+
* - The maximum value of N must be the same as the Amount value. For example, if you set Amount to 2, you can use HostNames.1 and HostNames.2 to specify hostnames for the individual instances. Examples: HostNames.1=test1 and HostNames.2=test2.
|
|
4912
|
+
* - You cannot specify both HostName and HostNames.N.
|
|
4913
|
+
* - The hostname cannot start or end with a period (.) or hyphen (-). The hostname cannot contain consecutive periods (.) or hyphens (-).
|
|
4914
|
+
* - For Windows instances, the hostname must be 2 to 15 characters in length and cannot contain periods (.) or contain only digits. The hostname can contain letters, digits, and hyphens (-).
|
|
4915
|
+
* - 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 a hostname into multiple segments. Each segment can contain letters, digits, and hyphens (-).
|
|
4916
|
+
*/
|
|
4917
|
+
readonly hostNames?: Array<string | ros.IResolvable> | ros.IResolvable;
|
|
3693
4918
|
/**
|
|
3694
4919
|
* @Property hpcClusterId: The HPC cluster ID to which the instance belongs.The change of the property does not affect existing instances.
|
|
3695
4920
|
*/
|
|
@@ -3698,6 +4923,10 @@ export interface RosInstanceGroupCloneProps {
|
|
|
3698
4923
|
* @Property imageId: Image ID to create ecs instance.
|
|
3699
4924
|
*/
|
|
3700
4925
|
readonly imageId?: string | ros.IResolvable;
|
|
4926
|
+
/**
|
|
4927
|
+
* @Property imageOptions: Image options.
|
|
4928
|
+
*/
|
|
4929
|
+
readonly imageOptions?: RosInstanceGroupClone.ImageOptionsProperty | ros.IResolvable;
|
|
3701
4930
|
/**
|
|
3702
4931
|
* @Property instanceName: Display name of the instance, [2, 128] English or Chinese characters, must start with a letter or Chinese in size, can contain numbers, '_' or '.', '-'.
|
|
3703
4932
|
* Support to use the regular expression to set the different instance name for each ECS instance. InstanceName could be specified as 'name_prefix[begin_number,bits]name_suffix', such as 'testinstance[123,4]tail'. If you creates 3 instances with the instance name 'testinstance[123,4]tail', all the instances' names are testinstance0123tail, testinstance0124tail, testinstance0125tail.
|
|
@@ -3752,6 +4981,17 @@ export interface RosInstanceGroupCloneProps {
|
|
|
3752
4981
|
* @Property loadBalancerIdToAttach: After the instance is created. Automatic attach it to the load balancer.
|
|
3753
4982
|
*/
|
|
3754
4983
|
readonly loadBalancerIdToAttach?: string | ros.IResolvable;
|
|
4984
|
+
/**
|
|
4985
|
+
* @Property networkInterfaceQueueNumber: The number of queues supported by the primary ENI. Take note of the following items:
|
|
4986
|
+
* - The value of this parameter cannot exceed the maximum number of queues per ENI allowed for the instance type.
|
|
4987
|
+
* - The total number of queues for all ENIs on the instance cannot exceed the queue quota for the instance type.
|
|
4988
|
+
* - If NetworkInterface.N.InstanceType is set to Primary, you cannot specify NetworkInterfaceQueueNumber but can specify NetworkInterface.N.QueueNumber
|
|
4989
|
+
*/
|
|
4990
|
+
readonly networkInterfaceQueueNumber?: number | ros.IResolvable;
|
|
4991
|
+
/**
|
|
4992
|
+
* @Property networkOptions: Network options.
|
|
4993
|
+
*/
|
|
4994
|
+
readonly networkOptions?: RosInstanceGroupClone.NetworkOptionsProperty | ros.IResolvable;
|
|
3755
4995
|
/**
|
|
3756
4996
|
* @Property password: Password of created ecs instance. Must contain at least 3 types of special character, lower character, upper character, number.
|
|
3757
4997
|
*/
|
|
@@ -3765,7 +5005,7 @@ export interface RosInstanceGroupCloneProps {
|
|
|
3765
5005
|
*/
|
|
3766
5006
|
readonly period?: number | ros.IResolvable;
|
|
3767
5007
|
/**
|
|
3768
|
-
* @Property periodUnit: Unit of prepaid time period, it could be Week
|
|
5008
|
+
* @Property periodUnit: Unit of prepaid time period, it could be Week\/Month\/Year. Default value is Month.Old instances will not be changed.
|
|
3769
5009
|
*/
|
|
3770
5010
|
readonly periodUnit?: string | ros.IResolvable;
|
|
3771
5011
|
/**
|
|
@@ -3783,7 +5023,11 @@ export interface RosInstanceGroupCloneProps {
|
|
|
3783
5023
|
/**
|
|
3784
5024
|
* @Property securityGroupIds: The IDs of security groups N to which the instance belongs. The valid values of N are based on the maximum number of security groups to which an instance can belong. For more information, see Security group limits.Note: You cannot specify both SecurityGroupId and SecurityGroupIds at the same time.
|
|
3785
5025
|
*/
|
|
3786
|
-
readonly securityGroupIds?: Array<
|
|
5026
|
+
readonly securityGroupIds?: Array<string | ros.IResolvable> | ros.IResolvable;
|
|
5027
|
+
/**
|
|
5028
|
+
* @Property securityOptions: Security options.
|
|
5029
|
+
*/
|
|
5030
|
+
readonly securityOptions?: RosInstanceGroupClone.SecurityOptionsProperty | ros.IResolvable;
|
|
3787
5031
|
/**
|
|
3788
5032
|
* @Property spotPriceLimit: The hourly price threshold of a instance, and it takes effect only when parameter InstanceChargeType is PostPaid. Three decimals is allowed at most.
|
|
3789
5033
|
*/
|
|
@@ -3842,6 +5086,14 @@ export interface RosInstanceGroupCloneProps {
|
|
|
3842
5086
|
* @Property tags: Tags to attach to instance. Max support 20 tags to add during create instance. Each tag with two properties Key and Value, and Key is required.
|
|
3843
5087
|
*/
|
|
3844
5088
|
readonly tags?: RosInstanceGroupClone.TagsProperty[];
|
|
5089
|
+
/**
|
|
5090
|
+
* @Property uniqueSuffix: Specifies whether to automatically append incremental suffixes to the hostname specified by the **HostName** parameter and to the instance name specified by the **InstanceName** parameter when you batch create instances. The incremental suffixes can range from 001 to 999. Valid values:
|
|
5091
|
+
* - **true**: appends incremental suffixes to the hostname and the instance name.
|
|
5092
|
+
* - **false**: does not append incremental suffixes to the hostname or the instance name.
|
|
5093
|
+
* Default value: **false**.
|
|
5094
|
+
* When the **HostName** or **InstanceName** value is set in the name_prefix[begin_number,bits] format without a suffix (name_suffix), the **UniqueSuffix** parameter does not take effect. The names are sorted in the specified sequence.
|
|
5095
|
+
*/
|
|
5096
|
+
readonly uniqueSuffix?: boolean | ros.IResolvable;
|
|
3845
5097
|
/**
|
|
3846
5098
|
* @Property updatePolicy: Specify the policy at update.
|
|
3847
5099
|
* The value can be 'ForNewInstances' or 'ForAllInstances'.
|
|
@@ -3857,17 +5109,15 @@ export interface RosInstanceGroupCloneProps {
|
|
|
3857
5109
|
readonly zoneId?: string | ros.IResolvable;
|
|
3858
5110
|
}
|
|
3859
5111
|
/**
|
|
3860
|
-
*
|
|
5112
|
+
* This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::InstanceGroupClone`, which is used to create clones of an Elastic Compute Service (ECS) instance.
|
|
5113
|
+
* @Note This class does not contain additional functions, so it is recommended to use the `InstanceGroupClone` class instead of this class for a more convenient development experience.
|
|
5114
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-instancegroupclone
|
|
3861
5115
|
*/
|
|
3862
5116
|
export declare class RosInstanceGroupClone extends ros.RosResource {
|
|
3863
5117
|
/**
|
|
3864
5118
|
* The resource type name for this resource class.
|
|
3865
5119
|
*/
|
|
3866
5120
|
static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::InstanceGroupClone";
|
|
3867
|
-
/**
|
|
3868
|
-
* A factory method that creates a new instance of this class from an object
|
|
3869
|
-
* containing the properties of this ROS resource.
|
|
3870
|
-
*/
|
|
3871
5121
|
/**
|
|
3872
5122
|
* @Attribute HostNames: Host names of created instances.
|
|
3873
5123
|
*/
|
|
@@ -3900,6 +5150,10 @@ export declare class RosInstanceGroupClone extends ros.RosResource {
|
|
|
3900
5150
|
* @Attribute PublicIps: Public IP address list of created ecs instances.
|
|
3901
5151
|
*/
|
|
3902
5152
|
readonly attrPublicIps: ros.IResolvable;
|
|
5153
|
+
/**
|
|
5154
|
+
* @Attribute RelatedOrderIds: The related order id list of created ecs instances
|
|
5155
|
+
*/
|
|
5156
|
+
readonly attrRelatedOrderIds: ros.IResolvable;
|
|
3903
5157
|
/**
|
|
3904
5158
|
* @Attribute ZoneIds: Zone id of created instances.
|
|
3905
5159
|
*/
|
|
@@ -3929,6 +5183,10 @@ export declare class RosInstanceGroupClone extends ros.RosResource {
|
|
|
3929
5183
|
* @Property backendServerWeight: The weight of backend server of load balancer. From 0 to 100, 0 means offline. Default is 100.
|
|
3930
5184
|
*/
|
|
3931
5185
|
backendServerWeight: number | ros.IResolvable | undefined;
|
|
5186
|
+
/**
|
|
5187
|
+
* @Property cpuOptions: Cpu options.
|
|
5188
|
+
*/
|
|
5189
|
+
cpuOptions: RosInstanceGroupClone.CpuOptionsProperty | ros.IResolvable | undefined;
|
|
3932
5190
|
/**
|
|
3933
5191
|
* @Property deletionProtection: Whether an instance can be released manually through the console or API, deletion protection only support postPaid instance
|
|
3934
5192
|
*/
|
|
@@ -3947,9 +5205,18 @@ export declare class RosInstanceGroupClone extends ros.RosResource {
|
|
|
3947
5205
|
*/
|
|
3948
5206
|
diskMappings: Array<RosInstanceGroupClone.DiskMappingsProperty | ros.IResolvable> | ros.IResolvable | undefined;
|
|
3949
5207
|
/**
|
|
3950
|
-
* @Property eniMappings: NetworkInterface to attach to instance. Max support
|
|
5208
|
+
* @Property eniMappings: NetworkInterface to attach to instance. Max support 2 ENIs.
|
|
3951
5209
|
*/
|
|
3952
5210
|
eniMappings: Array<RosInstanceGroupClone.EniMappingsProperty | ros.IResolvable> | ros.IResolvable | undefined;
|
|
5211
|
+
/**
|
|
5212
|
+
* @Property hostNames: The hostname of instance N. You can use this parameter to specify different hostnames for multiple instances. Take note of the following items:
|
|
5213
|
+
* - The maximum value of N must be the same as the Amount value. For example, if you set Amount to 2, you can use HostNames.1 and HostNames.2 to specify hostnames for the individual instances. Examples: HostNames.1=test1 and HostNames.2=test2.
|
|
5214
|
+
* - You cannot specify both HostName and HostNames.N.
|
|
5215
|
+
* - The hostname cannot start or end with a period (.) or hyphen (-). The hostname cannot contain consecutive periods (.) or hyphens (-).
|
|
5216
|
+
* - For Windows instances, the hostname must be 2 to 15 characters in length and cannot contain periods (.) or contain only digits. The hostname can contain letters, digits, and hyphens (-).
|
|
5217
|
+
* - 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 a hostname into multiple segments. Each segment can contain letters, digits, and hyphens (-).
|
|
5218
|
+
*/
|
|
5219
|
+
hostNames: Array<string | ros.IResolvable> | ros.IResolvable | undefined;
|
|
3953
5220
|
/**
|
|
3954
5221
|
* @Property hpcClusterId: The HPC cluster ID to which the instance belongs.The change of the property does not affect existing instances.
|
|
3955
5222
|
*/
|
|
@@ -3958,6 +5225,10 @@ export declare class RosInstanceGroupClone extends ros.RosResource {
|
|
|
3958
5225
|
* @Property imageId: Image ID to create ecs instance.
|
|
3959
5226
|
*/
|
|
3960
5227
|
imageId: string | ros.IResolvable | undefined;
|
|
5228
|
+
/**
|
|
5229
|
+
* @Property imageOptions: Image options.
|
|
5230
|
+
*/
|
|
5231
|
+
imageOptions: RosInstanceGroupClone.ImageOptionsProperty | ros.IResolvable | undefined;
|
|
3961
5232
|
/**
|
|
3962
5233
|
* @Property instanceName: Display name of the instance, [2, 128] English or Chinese characters, must start with a letter or Chinese in size, can contain numbers, '_' or '.', '-'.
|
|
3963
5234
|
* Support to use the regular expression to set the different instance name for each ECS instance. InstanceName could be specified as 'name_prefix[begin_number,bits]name_suffix', such as 'testinstance[123,4]tail'. If you creates 3 instances with the instance name 'testinstance[123,4]tail', all the instances' names are testinstance0123tail, testinstance0124tail, testinstance0125tail.
|
|
@@ -4012,6 +5283,17 @@ export declare class RosInstanceGroupClone extends ros.RosResource {
|
|
|
4012
5283
|
* @Property loadBalancerIdToAttach: After the instance is created. Automatic attach it to the load balancer.
|
|
4013
5284
|
*/
|
|
4014
5285
|
loadBalancerIdToAttach: string | ros.IResolvable | undefined;
|
|
5286
|
+
/**
|
|
5287
|
+
* @Property networkInterfaceQueueNumber: The number of queues supported by the primary ENI. Take note of the following items:
|
|
5288
|
+
* - The value of this parameter cannot exceed the maximum number of queues per ENI allowed for the instance type.
|
|
5289
|
+
* - The total number of queues for all ENIs on the instance cannot exceed the queue quota for the instance type.
|
|
5290
|
+
* - If NetworkInterface.N.InstanceType is set to Primary, you cannot specify NetworkInterfaceQueueNumber but can specify NetworkInterface.N.QueueNumber
|
|
5291
|
+
*/
|
|
5292
|
+
networkInterfaceQueueNumber: number | ros.IResolvable | undefined;
|
|
5293
|
+
/**
|
|
5294
|
+
* @Property networkOptions: Network options.
|
|
5295
|
+
*/
|
|
5296
|
+
networkOptions: RosInstanceGroupClone.NetworkOptionsProperty | ros.IResolvable | undefined;
|
|
4015
5297
|
/**
|
|
4016
5298
|
* @Property password: Password of created ecs instance. Must contain at least 3 types of special character, lower character, upper character, number.
|
|
4017
5299
|
*/
|
|
@@ -4025,7 +5307,7 @@ export declare class RosInstanceGroupClone extends ros.RosResource {
|
|
|
4025
5307
|
*/
|
|
4026
5308
|
period: number | ros.IResolvable | undefined;
|
|
4027
5309
|
/**
|
|
4028
|
-
* @Property periodUnit: Unit of prepaid time period, it could be Week
|
|
5310
|
+
* @Property periodUnit: Unit of prepaid time period, it could be Week\/Month\/Year. Default value is Month.Old instances will not be changed.
|
|
4029
5311
|
*/
|
|
4030
5312
|
periodUnit: string | ros.IResolvable | undefined;
|
|
4031
5313
|
/**
|
|
@@ -4043,7 +5325,11 @@ export declare class RosInstanceGroupClone extends ros.RosResource {
|
|
|
4043
5325
|
/**
|
|
4044
5326
|
* @Property securityGroupIds: The IDs of security groups N to which the instance belongs. The valid values of N are based on the maximum number of security groups to which an instance can belong. For more information, see Security group limits.Note: You cannot specify both SecurityGroupId and SecurityGroupIds at the same time.
|
|
4045
5327
|
*/
|
|
4046
|
-
securityGroupIds: Array<
|
|
5328
|
+
securityGroupIds: Array<string | ros.IResolvable> | ros.IResolvable | undefined;
|
|
5329
|
+
/**
|
|
5330
|
+
* @Property securityOptions: Security options.
|
|
5331
|
+
*/
|
|
5332
|
+
securityOptions: RosInstanceGroupClone.SecurityOptionsProperty | ros.IResolvable | undefined;
|
|
4047
5333
|
/**
|
|
4048
5334
|
* @Property spotPriceLimit: The hourly price threshold of a instance, and it takes effect only when parameter InstanceChargeType is PostPaid. Three decimals is allowed at most.
|
|
4049
5335
|
*/
|
|
@@ -4102,6 +5388,14 @@ export declare class RosInstanceGroupClone extends ros.RosResource {
|
|
|
4102
5388
|
* @Property tags: Tags to attach to instance. Max support 20 tags to add during create instance. Each tag with two properties Key and Value, and Key is required.
|
|
4103
5389
|
*/
|
|
4104
5390
|
tags: RosInstanceGroupClone.TagsProperty[] | undefined;
|
|
5391
|
+
/**
|
|
5392
|
+
* @Property uniqueSuffix: Specifies whether to automatically append incremental suffixes to the hostname specified by the **HostName** parameter and to the instance name specified by the **InstanceName** parameter when you batch create instances. The incremental suffixes can range from 001 to 999. Valid values:
|
|
5393
|
+
* - **true**: appends incremental suffixes to the hostname and the instance name.
|
|
5394
|
+
* - **false**: does not append incremental suffixes to the hostname or the instance name.
|
|
5395
|
+
* Default value: **false**.
|
|
5396
|
+
* When the **HostName** or **InstanceName** value is set in the name_prefix[begin_number,bits] format without a suffix (name_suffix), the **UniqueSuffix** parameter does not take effect. The names are sorted in the specified sequence.
|
|
5397
|
+
*/
|
|
5398
|
+
uniqueSuffix: boolean | ros.IResolvable | undefined;
|
|
4105
5399
|
/**
|
|
4106
5400
|
* @Property updatePolicy: Specify the policy at update.
|
|
4107
5401
|
* The value can be 'ForNewInstances' or 'ForAllInstances'.
|
|
@@ -4116,8 +5410,6 @@ export declare class RosInstanceGroupClone extends ros.RosResource {
|
|
|
4116
5410
|
*/
|
|
4117
5411
|
zoneId: string | ros.IResolvable | undefined;
|
|
4118
5412
|
/**
|
|
4119
|
-
* Create a new `ALIYUN::ECS::InstanceGroupClone`.
|
|
4120
|
-
*
|
|
4121
5413
|
* @param scope - scope in which this resource is defined
|
|
4122
5414
|
* @param id - scoped id of the resource
|
|
4123
5415
|
* @param props - resource properties
|
|
@@ -4132,6 +5424,23 @@ export declare class RosInstanceGroupClone extends ros.RosResource {
|
|
|
4132
5424
|
[key: string]: any;
|
|
4133
5425
|
};
|
|
4134
5426
|
}
|
|
5427
|
+
export declare namespace RosInstanceGroupClone {
|
|
5428
|
+
/**
|
|
5429
|
+
* @stability external
|
|
5430
|
+
*/
|
|
5431
|
+
interface CpuOptionsProperty {
|
|
5432
|
+
/**
|
|
5433
|
+
* @Property threadsPerCore: The number of threads per CPU core. The following formula is used to calculate the number of vCPUs of the instance: CpuOptions.Core value × CpuOptions.ThreadsPerCore value.
|
|
5434
|
+
* - If CpuOptionsThreadPerCore is set to 1, hyperthreading is disabled.
|
|
5435
|
+
* - This parameter is applicable only to specific instance types.
|
|
5436
|
+
*/
|
|
5437
|
+
readonly threadsPerCore?: number | ros.IResolvable;
|
|
5438
|
+
/**
|
|
5439
|
+
* @Property core: The number of CPU cores. This parameter cannot be specified but only uses its default value.
|
|
5440
|
+
*/
|
|
5441
|
+
readonly core?: number | ros.IResolvable;
|
|
5442
|
+
}
|
|
5443
|
+
}
|
|
4135
5444
|
export declare namespace RosInstanceGroupClone {
|
|
4136
5445
|
/**
|
|
4137
5446
|
* @stability external
|
|
@@ -4142,9 +5451,9 @@ export declare namespace RosInstanceGroupClone {
|
|
|
4142
5451
|
*/
|
|
4143
5452
|
readonly burstingEnabled?: boolean | ros.IResolvable;
|
|
4144
5453
|
/**
|
|
4145
|
-
* @Property
|
|
5454
|
+
* @Property storageClusterId: The ID of the dedicated block storage cluster to which data disk N belongs. If you want to use a disk in a dedicated block storage cluster as data disk N when you create the instance, you must specify this parameter.
|
|
4146
5455
|
*/
|
|
4147
|
-
readonly
|
|
5456
|
+
readonly storageClusterId?: string | ros.IResolvable;
|
|
4148
5457
|
/**
|
|
4149
5458
|
* @Property category: The volume type.Now support: cloud|cloud_efficiency|cloud_ssd|cloud_essd|ephemeral_ssd|cloud_auto. Default is cloud_efficiency.
|
|
4150
5459
|
*/
|
|
@@ -4165,11 +5474,11 @@ export declare namespace RosInstanceGroupClone {
|
|
|
4165
5474
|
*/
|
|
4166
5475
|
readonly encrypted?: string | ros.IResolvable;
|
|
4167
5476
|
/**
|
|
4168
|
-
* @Property device: The device where the volume is exposed on the instance. could be
|
|
5477
|
+
* @Property device: The device where the volume is exposed on the instance. could be \/dev\/xvd[a-z]. If not specification, will use default value.
|
|
4169
5478
|
*/
|
|
4170
5479
|
readonly device?: string | ros.IResolvable;
|
|
4171
5480
|
/**
|
|
4172
|
-
* @Property performanceLevel: The performance level of the enhanced SSD used as the Nth data disk.Default value: PL1. Valid values:PL0: A single enhanced SSD delivers up to 10,000 random read
|
|
5481
|
+
* @Property performanceLevel: The performance level of the enhanced SSD used as the Nth data disk.Default value: PL1. Valid values:PL0: A single enhanced SSD delivers up to 10,000 random read\/write IOPS.PL1: A single enhanced SSD delivers up to 50,000 random read\/write IOPS.PL2: A single enhanced SSD delivers up to 100,000 random read\/write IOPS.PL3: A single enhanced SSD delivers up to 1,000,000 random read\/write IOPS.
|
|
4173
5482
|
*/
|
|
4174
5483
|
readonly performanceLevel?: string | ros.IResolvable;
|
|
4175
5484
|
/**
|
|
@@ -4188,6 +5497,10 @@ export declare namespace RosInstanceGroupClone {
|
|
|
4188
5497
|
* @Property provisionedIops: Provisioning IOPS.
|
|
4189
5498
|
*/
|
|
4190
5499
|
readonly provisionedIops?: number | ros.IResolvable;
|
|
5500
|
+
/**
|
|
5501
|
+
* @Property snapshotId: ID of the snapshot to create the volume.
|
|
5502
|
+
*/
|
|
5503
|
+
readonly snapshotId?: string | ros.IResolvable;
|
|
4191
5504
|
}
|
|
4192
5505
|
}
|
|
4193
5506
|
export declare namespace RosInstanceGroupClone {
|
|
@@ -4206,15 +5519,13 @@ export declare namespace RosInstanceGroupClone {
|
|
|
4206
5519
|
*/
|
|
4207
5520
|
readonly description?: string | ros.IResolvable;
|
|
4208
5521
|
/**
|
|
4209
|
-
* @Property
|
|
4210
|
-
*
|
|
4211
|
-
*
|
|
4212
|
-
|
|
4213
|
-
|
|
4214
|
-
/**
|
|
4215
|
-
* @Property ipv6AddressCount: The number of randomly generated IPv6 addresses that are assigned to the ENI.
|
|
5522
|
+
* @Property deleteOnRelease: Specifies whether to retain the ENI when the associated instance is released. Valid values:
|
|
5523
|
+
* - **true**
|
|
5524
|
+
* - **false**
|
|
5525
|
+
* Default value: **true**.
|
|
5526
|
+
* **Note**: This parameter takes effect only for secondary ENIs.
|
|
4216
5527
|
*/
|
|
4217
|
-
readonly
|
|
5528
|
+
readonly deleteOnRelease?: boolean | ros.IResolvable;
|
|
4218
5529
|
/**
|
|
4219
5530
|
* @Property securityGroupId: The ID of the security group that the ENI joins. The security group and the ENI must be in a same VPC.
|
|
4220
5531
|
*/
|
|
@@ -4222,7 +5533,7 @@ export declare namespace RosInstanceGroupClone {
|
|
|
4222
5533
|
/**
|
|
4223
5534
|
* @Property vSwitchId: VSwitch ID of the specified VPC. Specifies the switch ID for the VPC.
|
|
4224
5535
|
*/
|
|
4225
|
-
readonly vSwitchId
|
|
5536
|
+
readonly vSwitchId?: string | ros.IResolvable;
|
|
4226
5537
|
/**
|
|
4227
5538
|
* @Property networkInterfaceName: Name of your ENI. It is a string of [2, 128] Chinese or English characters. It must begin with a letter and can contain numbers, underscores (_), colons (:), or hyphens (-).
|
|
4228
5539
|
*/
|
|
@@ -4236,14 +5547,88 @@ export declare namespace RosInstanceGroupClone {
|
|
|
4236
5547
|
*/
|
|
4237
5548
|
readonly ipv6Addresses?: Array<string | ros.IResolvable> | ros.IResolvable;
|
|
4238
5549
|
/**
|
|
4239
|
-
* @Property
|
|
5550
|
+
* @Property networkCardIndex: The index of the network card for ENI N.
|
|
5551
|
+
* Take note of the following items:
|
|
5552
|
+
* - You can specify network card indexes only for instances of specific instance types.
|
|
5553
|
+
* - When NetworkInterface.N.InstanceType is set to **Primary**, you can set **NetworkInterface.N.NetworkCardIndex** only to 0 for instance types that support network cards.
|
|
5554
|
+
* - When **NetworkInterface.N.InstanceType** is set to **Secondary** or left empty, you can set **NetworkInterface.N.NetworkCardIndex** based on instance types if the instance types support network cards.
|
|
4240
5555
|
*/
|
|
4241
|
-
readonly
|
|
5556
|
+
readonly networkCardIndex?: number | ros.IResolvable;
|
|
5557
|
+
/**
|
|
5558
|
+
* @Property networkInterfaceId: The ID of the ENI to attach to the instance.
|
|
5559
|
+
* **Note**: This parameter takes effect only for secondary ENIs.
|
|
5560
|
+
*/
|
|
5561
|
+
readonly networkInterfaceId?: string | ros.IResolvable;
|
|
4242
5562
|
/**
|
|
4243
5563
|
* @Property securityGroupIds: The IDs of security groups to which to assign ENI
|
|
4244
5564
|
* Note: You cannot specify both SecurityGroupId and SecurityGroupIds at the same time.
|
|
4245
5565
|
*/
|
|
4246
5566
|
readonly securityGroupIds?: Array<any | ros.IResolvable> | ros.IResolvable;
|
|
5567
|
+
/**
|
|
5568
|
+
* @Property queueNumber: The number of queues that are supported by the ENI. Valid values: 1 to 2048.
|
|
5569
|
+
* When you attach the ENI to an instance, make sure that the value of this parameter is less than the maximum number of queues per ENI that is allowed for the instance type. To view the maximum number of queues per ENI allowed for an instance type, you can call DescribeInstanceTypes and then check the return value of MaximumQueueNumberPerEni.
|
|
5570
|
+
* By default, this parameter is empty. If you do not specify this parameter, the default number of queues per ENI for the instance type of an instance is used when you attach the ENI to the instance. To learn about the default number of queues per ENI for an instance type, you can call DescribeInstanceTypes and then check the return value of SecondaryEniQueueNumber.
|
|
5571
|
+
*/
|
|
5572
|
+
readonly queueNumber?: number | ros.IResolvable;
|
|
5573
|
+
/**
|
|
5574
|
+
* @Property queuePairNumber: The number of queues supported by the ERI.
|
|
5575
|
+
*/
|
|
5576
|
+
readonly queuePairNumber?: number | ros.IResolvable;
|
|
5577
|
+
/**
|
|
5578
|
+
* @Property ipv6AddressCount: The number of randomly generated IPv6 addresses that are assigned to the ENI.
|
|
5579
|
+
*/
|
|
5580
|
+
readonly ipv6AddressCount?: number | ros.IResolvable;
|
|
5581
|
+
/**
|
|
5582
|
+
* @Property instanceType: The type of ENI. Default value: Secondary.
|
|
5583
|
+
*/
|
|
5584
|
+
readonly instanceType?: string | ros.IResolvable;
|
|
5585
|
+
}
|
|
5586
|
+
}
|
|
5587
|
+
export declare namespace RosInstanceGroupClone {
|
|
5588
|
+
/**
|
|
5589
|
+
* @stability external
|
|
5590
|
+
*/
|
|
5591
|
+
interface ImageOptionsProperty {
|
|
5592
|
+
/**
|
|
5593
|
+
* @Property loginAsNonRoot: Specifies whether the instance that uses the image supports logons of the ecs-user user. Valid values:
|
|
5594
|
+
* - true
|
|
5595
|
+
* - false
|
|
5596
|
+
*/
|
|
5597
|
+
readonly loginAsNonRoot?: boolean | ros.IResolvable;
|
|
5598
|
+
}
|
|
5599
|
+
}
|
|
5600
|
+
export declare namespace RosInstanceGroupClone {
|
|
5601
|
+
/**
|
|
5602
|
+
* @stability external
|
|
5603
|
+
*/
|
|
5604
|
+
interface NetworkOptionsProperty {
|
|
5605
|
+
/**
|
|
5606
|
+
* @Property enableJumboFrame: Specifies whether to enable the Jumbo Frame feature for the instance. Valid values:
|
|
5607
|
+
* - **false**: does not enable the Jumbo Frame feature for the instance. The maximum transmission unit (MTU) value of all ENIs on the instance is set to 1500.
|
|
5608
|
+
* - **true**: enables the Jumbo Frame feature for the instance. The MTU value of all ENIs on the instance is set to 8500.
|
|
5609
|
+
* Default value: true.
|
|
5610
|
+
* **Note**: The Jumbo Frame feature is supported by only 8th-generation or later instance types.
|
|
5611
|
+
*/
|
|
5612
|
+
readonly enableJumboFrame?: boolean | ros.IResolvable;
|
|
5613
|
+
}
|
|
5614
|
+
}
|
|
5615
|
+
export declare namespace RosInstanceGroupClone {
|
|
5616
|
+
/**
|
|
5617
|
+
* @stability external
|
|
5618
|
+
*/
|
|
5619
|
+
interface SecurityOptionsProperty {
|
|
5620
|
+
/**
|
|
5621
|
+
* @Property trustedSystemMode: The trusted system mode. Set the value to vTPM.
|
|
5622
|
+
* The trusted system mode supports the following instance families:
|
|
5623
|
+
* - g7, c7, and r7
|
|
5624
|
+
* - Security-enhanced instance families: g7t, c7t, and r7t
|
|
5625
|
+
* When you create instances of the preceding instance families, you must set this parameter. Take note of the following items:
|
|
5626
|
+
* - To use Alibaba Cloud Trusted System, set this parameter to vTPM. Then, Alibaba Cloud Trusted System performs trust verifications when the instances start.
|
|
5627
|
+
* - If you do not want to use Alibaba Cloud Trusted System, leave this parameter empty. Take note that if your created instances use an enclave-based confidential computing environment (with SecurityOptions.ConfidentialComputingMode set to Enclave), Alibaba Cloud Trusted System is enabled for the instances.
|
|
5628
|
+
* - When you use the ECS API to create instances that use Alibaba Cloud Trusted System, you can call only the RunInstances operation. The CreateInstance operation does not support the SecurityOptions.TrustedSystemMode parameter.
|
|
5629
|
+
* **Note**: If you have configured an instance as a trusted instance when you created the instance, you can use only an image that supports Alibaba Cloud Trusted System to replace the system disk of the instance.
|
|
5630
|
+
*/
|
|
5631
|
+
readonly trustedSystemMode?: string | ros.IResolvable;
|
|
4247
5632
|
}
|
|
4248
5633
|
}
|
|
4249
5634
|
export declare namespace RosInstanceGroupClone {
|
|
@@ -4262,7 +5647,8 @@ export declare namespace RosInstanceGroupClone {
|
|
|
4262
5647
|
}
|
|
4263
5648
|
}
|
|
4264
5649
|
/**
|
|
4265
|
-
* Properties for defining a `
|
|
5650
|
+
* Properties for defining a `RosInvocation`.
|
|
5651
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-invocation
|
|
4266
5652
|
*/
|
|
4267
5653
|
export interface RosInvocationProps {
|
|
4268
5654
|
/**
|
|
@@ -4277,6 +5663,23 @@ export interface RosInvocationProps {
|
|
|
4277
5663
|
* @Property commandName: The name of command. Only system commands whose provide is AlibabaCloud are supported
|
|
4278
5664
|
*/
|
|
4279
5665
|
readonly commandName?: string | ros.IResolvable;
|
|
5666
|
+
/**
|
|
5667
|
+
* @Property containerId: The ID of the container. Only 64-bit hexadecimal strings are supported. You can use container IDs that are prefixed with docker:\/\/, containerd:\/\/, or cri-o:\/\/ to specify container runtimes.
|
|
5668
|
+
* Take note of the following items:
|
|
5669
|
+
* - If you specify this parameter, Cloud Assistant runs scripts in the specified container of the instance.
|
|
5670
|
+
* - If you specify this parameter, make sure that the version of Cloud Assistant Agent installed on Linux instances is 2.2.3.344 or later.- If you specify this parameter, Username that is specified in a request to call this operation and WorkingDir that is specified in a request to call the CreateCommand operation do not take effect. You can run the command only in the default working directory of the container by using the default user of the container.
|
|
5671
|
+
* - If you specify this parameter, only shell scripts can be run in Linux containers. You cannot add a command in the format similar to #!\/usr\/bin\/python at the beginning of a script to specify a script interpreter.
|
|
5672
|
+
*/
|
|
5673
|
+
readonly containerId?: string | ros.IResolvable;
|
|
5674
|
+
/**
|
|
5675
|
+
* @Property containerName: The name of the container.
|
|
5676
|
+
* Take note of the following items:
|
|
5677
|
+
* - If you specify this parameter, Cloud Assistant runs scripts in the specified container of the instance.
|
|
5678
|
+
* - If you specify this parameter, make sure that the version of Cloud Assistant Agent installed on Linux instances is 2.2.3.344 or later.
|
|
5679
|
+
* - If you specify this parameter, Username that is specified in a request to call this operation and WorkingDir that is specified in a request to call the CreateCommand operation do not take effect. You can run the command only in the default working directory of the container by using the default user of the container.
|
|
5680
|
+
* - If you specify this parameter, only shell scripts can be run in Linux containers. You cannot add a command in the format similar to #!\/usr\/bin\/python at the beginning of a script to specify a script interpreter.
|
|
5681
|
+
*/
|
|
5682
|
+
readonly containerName?: string | ros.IResolvable;
|
|
4280
5683
|
/**
|
|
4281
5684
|
* @Property frequency: The frequency of timing execution (the shortest frequency is performed every 1 minute). It iss mandatory when Timing is True.The value rule follows the rules of the cron expression.
|
|
4282
5685
|
*/
|
|
@@ -4293,27 +5696,60 @@ export interface RosInvocationProps {
|
|
|
4293
5696
|
readonly parameters?: {
|
|
4294
5697
|
[key: string]: (any | ros.IResolvable);
|
|
4295
5698
|
} | ros.IResolvable;
|
|
5699
|
+
/**
|
|
5700
|
+
* @Property repeatMode: Specifies how to run the command. Valid values:
|
|
5701
|
+
* - **Once**: immediately runs the command.
|
|
5702
|
+
* - **Period**: runs the command on a schedule. If you set this parameter to Period, you must specify **Frequency**.
|
|
5703
|
+
* - **NextRebootOnly**: runs the command the next time the instance is started.
|
|
5704
|
+
* - **EveryReboot*: runs the command every time the instance is started.
|
|
5705
|
+
* Default value:
|
|
5706
|
+
* - If you do not specify Frequency, the default value is Once.
|
|
5707
|
+
* - If you specify **Frequency**, **Period** is used as the value of RepeatMode regardless of whether RepeatMode is set to Period.
|
|
5708
|
+
*/
|
|
5709
|
+
readonly repeatMode?: string | ros.IResolvable;
|
|
5710
|
+
/**
|
|
5711
|
+
* @Property resourceGroupId: The ID of the resource group to which to assign the command executions. The instances specified by InstanceIds must belong to the specified resource group.
|
|
5712
|
+
*/
|
|
5713
|
+
readonly resourceGroupId?: string | ros.IResolvable;
|
|
4296
5714
|
/**
|
|
4297
5715
|
* @Property sync: Whether to invoke synchronously.
|
|
4298
5716
|
*/
|
|
4299
5717
|
readonly sync?: boolean | ros.IResolvable;
|
|
4300
5718
|
/**
|
|
4301
|
-
* @Property
|
|
5719
|
+
* @Property tags: Tags to attach to invocation. Max support 20 tags to add during create invocation. Each tag with two properties Key and Value, and Key is required.
|
|
5720
|
+
*/
|
|
5721
|
+
readonly tags?: RosInvocation.TagsProperty[];
|
|
5722
|
+
/**
|
|
5723
|
+
* @Property timeout: The timeout period for the command execution. Unit: seconds.
|
|
5724
|
+
* - The timeout period cannot be less than 10 seconds.
|
|
5725
|
+
* - A timeout error occurs if the command cannot be run because the process slows down or because a specific module or Cloud Assistant Agent does not exist. When the specified timeout period ends, the command process is forcefully terminated.
|
|
5726
|
+
* - If you do not specify this parameter, the timeout period that is specified when the command is created is used.
|
|
5727
|
+
* - This timeout period is applicable only to this execution. The timeout period of the command is not modified.
|
|
5728
|
+
*/
|
|
5729
|
+
readonly timeout?: number | ros.IResolvable;
|
|
5730
|
+
/**
|
|
5731
|
+
* @Property username: The username to use to run the command on instances. The username can be up to 255 characters in length.
|
|
5732
|
+
* - For Linux instances, the root username is used by default.
|
|
5733
|
+
* - For Windows instances, the System username is used by default.
|
|
5734
|
+
* You can also specify other usernames that already exist in the instances to run the command. For security purposes, we recommend that you run Cloud Assistant commands as a regular user.
|
|
5735
|
+
*/
|
|
5736
|
+
readonly username?: string | ros.IResolvable;
|
|
5737
|
+
/**
|
|
5738
|
+
* @Property windowsPasswordName: The name of the password to use to run the command on Windows instances. The name can be up to 255 characters in length.
|
|
5739
|
+
* If you do not want to use the default System user to run the command on Windows instances, specify both **WindowsPasswordName** and **Username**. To mitigate the risk of password leaks, the password is stored in plaintext in Operation Orchestration Service (OOS) Parameter Store, and only the name of the password is passed in by using WindowsPasswordName.
|
|
4302
5740
|
*/
|
|
4303
|
-
readonly
|
|
5741
|
+
readonly windowsPasswordName?: string | ros.IResolvable;
|
|
4304
5742
|
}
|
|
4305
5743
|
/**
|
|
4306
|
-
*
|
|
5744
|
+
* This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::Invocation`, which is used to run a Cloud Assistant command on Elastic Compute Service (ECS) instances.
|
|
5745
|
+
* @Note This class does not contain additional functions, so it is recommended to use the `Invocation` class instead of this class for a more convenient development experience.
|
|
5746
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-invocation
|
|
4307
5747
|
*/
|
|
4308
5748
|
export declare class RosInvocation extends ros.RosResource {
|
|
4309
5749
|
/**
|
|
4310
5750
|
* The resource type name for this resource class.
|
|
4311
5751
|
*/
|
|
4312
5752
|
static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::Invocation";
|
|
4313
|
-
/**
|
|
4314
|
-
* A factory method that creates a new instance of this class from an object
|
|
4315
|
-
* containing the properties of this ROS resource.
|
|
4316
|
-
*/
|
|
4317
5753
|
/**
|
|
4318
5754
|
* @Attribute InvokeId: The id of command execution.
|
|
4319
5755
|
*/
|
|
@@ -4339,6 +5775,23 @@ export declare class RosInvocation extends ros.RosResource {
|
|
|
4339
5775
|
* @Property commandName: The name of command. Only system commands whose provide is AlibabaCloud are supported
|
|
4340
5776
|
*/
|
|
4341
5777
|
commandName: string | ros.IResolvable | undefined;
|
|
5778
|
+
/**
|
|
5779
|
+
* @Property containerId: The ID of the container. Only 64-bit hexadecimal strings are supported. You can use container IDs that are prefixed with docker:\/\/, containerd:\/\/, or cri-o:\/\/ to specify container runtimes.
|
|
5780
|
+
* Take note of the following items:
|
|
5781
|
+
* - If you specify this parameter, Cloud Assistant runs scripts in the specified container of the instance.
|
|
5782
|
+
* - If you specify this parameter, make sure that the version of Cloud Assistant Agent installed on Linux instances is 2.2.3.344 or later.- If you specify this parameter, Username that is specified in a request to call this operation and WorkingDir that is specified in a request to call the CreateCommand operation do not take effect. You can run the command only in the default working directory of the container by using the default user of the container.
|
|
5783
|
+
* - If you specify this parameter, only shell scripts can be run in Linux containers. You cannot add a command in the format similar to #!\/usr\/bin\/python at the beginning of a script to specify a script interpreter.
|
|
5784
|
+
*/
|
|
5785
|
+
containerId: string | ros.IResolvable | undefined;
|
|
5786
|
+
/**
|
|
5787
|
+
* @Property containerName: The name of the container.
|
|
5788
|
+
* Take note of the following items:
|
|
5789
|
+
* - If you specify this parameter, Cloud Assistant runs scripts in the specified container of the instance.
|
|
5790
|
+
* - If you specify this parameter, make sure that the version of Cloud Assistant Agent installed on Linux instances is 2.2.3.344 or later.
|
|
5791
|
+
* - If you specify this parameter, Username that is specified in a request to call this operation and WorkingDir that is specified in a request to call the CreateCommand operation do not take effect. You can run the command only in the default working directory of the container by using the default user of the container.
|
|
5792
|
+
* - If you specify this parameter, only shell scripts can be run in Linux containers. You cannot add a command in the format similar to #!\/usr\/bin\/python at the beginning of a script to specify a script interpreter.
|
|
5793
|
+
*/
|
|
5794
|
+
containerName: string | ros.IResolvable | undefined;
|
|
4342
5795
|
/**
|
|
4343
5796
|
* @Property frequency: The frequency of timing execution (the shortest frequency is performed every 1 minute). It iss mandatory when Timing is True.The value rule follows the rules of the cron expression.
|
|
4344
5797
|
*/
|
|
@@ -4355,17 +5808,50 @@ export declare class RosInvocation extends ros.RosResource {
|
|
|
4355
5808
|
parameters: {
|
|
4356
5809
|
[key: string]: (any | ros.IResolvable);
|
|
4357
5810
|
} | ros.IResolvable | undefined;
|
|
5811
|
+
/**
|
|
5812
|
+
* @Property repeatMode: Specifies how to run the command. Valid values:
|
|
5813
|
+
* - **Once**: immediately runs the command.
|
|
5814
|
+
* - **Period**: runs the command on a schedule. If you set this parameter to Period, you must specify **Frequency**.
|
|
5815
|
+
* - **NextRebootOnly**: runs the command the next time the instance is started.
|
|
5816
|
+
* - **EveryReboot*: runs the command every time the instance is started.
|
|
5817
|
+
* Default value:
|
|
5818
|
+
* - If you do not specify Frequency, the default value is Once.
|
|
5819
|
+
* - If you specify **Frequency**, **Period** is used as the value of RepeatMode regardless of whether RepeatMode is set to Period.
|
|
5820
|
+
*/
|
|
5821
|
+
repeatMode: string | ros.IResolvable | undefined;
|
|
5822
|
+
/**
|
|
5823
|
+
* @Property resourceGroupId: The ID of the resource group to which to assign the command executions. The instances specified by InstanceIds must belong to the specified resource group.
|
|
5824
|
+
*/
|
|
5825
|
+
resourceGroupId: string | ros.IResolvable | undefined;
|
|
4358
5826
|
/**
|
|
4359
5827
|
* @Property sync: Whether to invoke synchronously.
|
|
4360
5828
|
*/
|
|
4361
5829
|
sync: boolean | ros.IResolvable | undefined;
|
|
4362
5830
|
/**
|
|
4363
|
-
* @Property
|
|
5831
|
+
* @Property tags: Tags to attach to invocation. Max support 20 tags to add during create invocation. Each tag with two properties Key and Value, and Key is required.
|
|
4364
5832
|
*/
|
|
4365
|
-
|
|
5833
|
+
tags: RosInvocation.TagsProperty[] | undefined;
|
|
5834
|
+
/**
|
|
5835
|
+
* @Property timeout: The timeout period for the command execution. Unit: seconds.
|
|
5836
|
+
* - The timeout period cannot be less than 10 seconds.
|
|
5837
|
+
* - A timeout error occurs if the command cannot be run because the process slows down or because a specific module or Cloud Assistant Agent does not exist. When the specified timeout period ends, the command process is forcefully terminated.
|
|
5838
|
+
* - If you do not specify this parameter, the timeout period that is specified when the command is created is used.
|
|
5839
|
+
* - This timeout period is applicable only to this execution. The timeout period of the command is not modified.
|
|
5840
|
+
*/
|
|
5841
|
+
timeout: number | ros.IResolvable | undefined;
|
|
5842
|
+
/**
|
|
5843
|
+
* @Property username: The username to use to run the command on instances. The username can be up to 255 characters in length.
|
|
5844
|
+
* - For Linux instances, the root username is used by default.
|
|
5845
|
+
* - For Windows instances, the System username is used by default.
|
|
5846
|
+
* You can also specify other usernames that already exist in the instances to run the command. For security purposes, we recommend that you run Cloud Assistant commands as a regular user.
|
|
5847
|
+
*/
|
|
5848
|
+
username: string | ros.IResolvable | undefined;
|
|
5849
|
+
/**
|
|
5850
|
+
* @Property windowsPasswordName: The name of the password to use to run the command on Windows instances. The name can be up to 255 characters in length.
|
|
5851
|
+
* If you do not want to use the default System user to run the command on Windows instances, specify both **WindowsPasswordName** and **Username**. To mitigate the risk of password leaks, the password is stored in plaintext in Operation Orchestration Service (OOS) Parameter Store, and only the name of the password is passed in by using WindowsPasswordName.
|
|
5852
|
+
*/
|
|
5853
|
+
windowsPasswordName: string | ros.IResolvable | undefined;
|
|
4366
5854
|
/**
|
|
4367
|
-
* Create a new `ALIYUN::ECS::Invocation`.
|
|
4368
|
-
*
|
|
4369
5855
|
* @param scope - scope in which this resource is defined
|
|
4370
5856
|
* @param id - scoped id of the resource
|
|
4371
5857
|
* @param props - resource properties
|
|
@@ -4380,8 +5866,24 @@ export declare class RosInvocation extends ros.RosResource {
|
|
|
4380
5866
|
[key: string]: any;
|
|
4381
5867
|
};
|
|
4382
5868
|
}
|
|
5869
|
+
export declare namespace RosInvocation {
|
|
5870
|
+
/**
|
|
5871
|
+
* @stability external
|
|
5872
|
+
*/
|
|
5873
|
+
interface TagsProperty {
|
|
5874
|
+
/**
|
|
5875
|
+
* @Property value: undefined
|
|
5876
|
+
*/
|
|
5877
|
+
readonly value?: string | ros.IResolvable;
|
|
5878
|
+
/**
|
|
5879
|
+
* @Property key: undefined
|
|
5880
|
+
*/
|
|
5881
|
+
readonly key: string | ros.IResolvable;
|
|
5882
|
+
}
|
|
5883
|
+
}
|
|
4383
5884
|
/**
|
|
4384
|
-
* Properties for defining a `
|
|
5885
|
+
* Properties for defining a `RosJoinSecurityGroup`.
|
|
5886
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-joinsecuritygroup
|
|
4385
5887
|
*/
|
|
4386
5888
|
export interface RosJoinSecurityGroupProps {
|
|
4387
5889
|
/**
|
|
@@ -4402,17 +5904,15 @@ export interface RosJoinSecurityGroupProps {
|
|
|
4402
5904
|
readonly networkInterfaceList?: Array<any | ros.IResolvable> | ros.IResolvable;
|
|
4403
5905
|
}
|
|
4404
5906
|
/**
|
|
4405
|
-
*
|
|
5907
|
+
* This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::JoinSecurityGroup`, which is used to add one or more ECS instances to a specified security group.
|
|
5908
|
+
* @Note This class does not contain additional functions, so it is recommended to use the `JoinSecurityGroup` class instead of this class for a more convenient development experience.
|
|
5909
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-joinsecuritygroup
|
|
4406
5910
|
*/
|
|
4407
5911
|
export declare class RosJoinSecurityGroup extends ros.RosResource {
|
|
4408
5912
|
/**
|
|
4409
5913
|
* The resource type name for this resource class.
|
|
4410
5914
|
*/
|
|
4411
5915
|
static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::JoinSecurityGroup";
|
|
4412
|
-
/**
|
|
4413
|
-
* A factory method that creates a new instance of this class from an object
|
|
4414
|
-
* containing the properties of this ROS resource.
|
|
4415
|
-
*/
|
|
4416
5916
|
enableResourcePropertyConstraint: boolean;
|
|
4417
5917
|
/**
|
|
4418
5918
|
* @Property securityGroupId: Security group id to join.
|
|
@@ -4431,8 +5931,6 @@ export declare class RosJoinSecurityGroup extends ros.RosResource {
|
|
|
4431
5931
|
*/
|
|
4432
5932
|
networkInterfaceList: Array<any | ros.IResolvable> | ros.IResolvable | undefined;
|
|
4433
5933
|
/**
|
|
4434
|
-
* Create a new `ALIYUN::ECS::JoinSecurityGroup`.
|
|
4435
|
-
*
|
|
4436
5934
|
* @param scope - scope in which this resource is defined
|
|
4437
5935
|
* @param id - scoped id of the resource
|
|
4438
5936
|
* @param props - resource properties
|
|
@@ -4448,7 +5946,8 @@ export declare class RosJoinSecurityGroup extends ros.RosResource {
|
|
|
4448
5946
|
};
|
|
4449
5947
|
}
|
|
4450
5948
|
/**
|
|
4451
|
-
* Properties for defining a `
|
|
5949
|
+
* Properties for defining a `RosLaunchTemplate`.
|
|
5950
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-launchtemplate
|
|
4452
5951
|
*/
|
|
4453
5952
|
export interface RosLaunchTemplateProps {
|
|
4454
5953
|
/**
|
|
@@ -4601,10 +6100,10 @@ export interface RosLaunchTemplateProps {
|
|
|
4601
6100
|
readonly systemDiskDiskName?: string | ros.IResolvable;
|
|
4602
6101
|
/**
|
|
4603
6102
|
* @Property systemDiskPerformanceLevel: The performance level of the ESSD that is used as the system disk. Valid values:
|
|
4604
|
-
* PL0: A single ESSD can deliver up to 10,000 random read
|
|
4605
|
-
* PL1: A single ESSD can deliver up to 50,000 random read
|
|
4606
|
-
* PL2: A single ESSD can deliver up to 100,000 random read
|
|
4607
|
-
* PL3: A single ESSD can deliver up to 1,000,000 random read
|
|
6103
|
+
* PL0: A single ESSD can deliver up to 10,000 random read\/write IOPS.
|
|
6104
|
+
* PL1: A single ESSD can deliver up to 50,000 random read\/write IOPS.
|
|
6105
|
+
* PL2: A single ESSD can deliver up to 100,000 random read\/write IOPS.
|
|
6106
|
+
* PL3: A single ESSD can deliver up to 1,000,000 random read\/write IOPS.
|
|
4608
6107
|
*/
|
|
4609
6108
|
readonly systemDiskPerformanceLevel?: string | ros.IResolvable;
|
|
4610
6109
|
/**
|
|
@@ -4641,17 +6140,15 @@ export interface RosLaunchTemplateProps {
|
|
|
4641
6140
|
readonly zoneId?: string | ros.IResolvable;
|
|
4642
6141
|
}
|
|
4643
6142
|
/**
|
|
4644
|
-
*
|
|
6143
|
+
* This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::LaunchTemplate`, which is used to create a launch template. You can use a launch template to create an Elastic Compute Service (ECS) instance.
|
|
6144
|
+
* @Note This class does not contain additional functions, so it is recommended to use the `LaunchTemplate` class instead of this class for a more convenient development experience.
|
|
6145
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-launchtemplate
|
|
4645
6146
|
*/
|
|
4646
6147
|
export declare class RosLaunchTemplate extends ros.RosResource {
|
|
4647
6148
|
/**
|
|
4648
6149
|
* The resource type name for this resource class.
|
|
4649
6150
|
*/
|
|
4650
6151
|
static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::LaunchTemplate";
|
|
4651
|
-
/**
|
|
4652
|
-
* A factory method that creates a new instance of this class from an object
|
|
4653
|
-
* containing the properties of this ROS resource.
|
|
4654
|
-
*/
|
|
4655
6152
|
/**
|
|
4656
6153
|
* @Attribute DefaultVersionNumber: The default version number of launch template.
|
|
4657
6154
|
*/
|
|
@@ -4819,10 +6316,10 @@ export declare class RosLaunchTemplate extends ros.RosResource {
|
|
|
4819
6316
|
systemDiskDiskName: string | ros.IResolvable | undefined;
|
|
4820
6317
|
/**
|
|
4821
6318
|
* @Property systemDiskPerformanceLevel: The performance level of the ESSD that is used as the system disk. Valid values:
|
|
4822
|
-
* PL0: A single ESSD can deliver up to 10,000 random read
|
|
4823
|
-
* PL1: A single ESSD can deliver up to 50,000 random read
|
|
4824
|
-
* PL2: A single ESSD can deliver up to 100,000 random read
|
|
4825
|
-
* PL3: A single ESSD can deliver up to 1,000,000 random read
|
|
6319
|
+
* PL0: A single ESSD can deliver up to 10,000 random read\/write IOPS.
|
|
6320
|
+
* PL1: A single ESSD can deliver up to 50,000 random read\/write IOPS.
|
|
6321
|
+
* PL2: A single ESSD can deliver up to 100,000 random read\/write IOPS.
|
|
6322
|
+
* PL3: A single ESSD can deliver up to 1,000,000 random read\/write IOPS.
|
|
4826
6323
|
*/
|
|
4827
6324
|
systemDiskPerformanceLevel: string | ros.IResolvable | undefined;
|
|
4828
6325
|
/**
|
|
@@ -4858,8 +6355,6 @@ export declare class RosLaunchTemplate extends ros.RosResource {
|
|
|
4858
6355
|
*/
|
|
4859
6356
|
zoneId: string | ros.IResolvable | undefined;
|
|
4860
6357
|
/**
|
|
4861
|
-
* Create a new `ALIYUN::ECS::LaunchTemplate`.
|
|
4862
|
-
*
|
|
4863
6358
|
* @param scope - scope in which this resource is defined
|
|
4864
6359
|
* @param id - scoped id of the resource
|
|
4865
6360
|
* @param props - resource properties
|
|
@@ -4897,10 +6392,10 @@ export declare namespace RosLaunchTemplate {
|
|
|
4897
6392
|
readonly encrypted?: boolean | ros.IResolvable;
|
|
4898
6393
|
/**
|
|
4899
6394
|
* @Property performanceLevel: The performance level of the ESSD used as data disk. The value of Valid values:
|
|
4900
|
-
* PL0: A single ESSD can deliver up to 10,000 random read
|
|
4901
|
-
* PL1: A single ESSD can deliver up to 50,000 random read
|
|
4902
|
-
* PL2: A single ESSD can deliver up to 100,000 random read
|
|
4903
|
-
* PL3: A single ESSD can deliver up to 1,000,000 random read
|
|
6395
|
+
* PL0: A single ESSD can deliver up to 10,000 random read\/write IOPS.
|
|
6396
|
+
* PL1: A single ESSD can deliver up to 50,000 random read\/write IOPS.
|
|
6397
|
+
* PL2: A single ESSD can deliver up to 100,000 random read\/write IOPS.
|
|
6398
|
+
* PL3: A single ESSD can deliver up to 1,000,000 random read\/write IOPS.
|
|
4904
6399
|
*/
|
|
4905
6400
|
readonly performanceLevel?: string | ros.IResolvable;
|
|
4906
6401
|
/**
|
|
@@ -4975,7 +6470,8 @@ export declare namespace RosLaunchTemplate {
|
|
|
4975
6470
|
}
|
|
4976
6471
|
}
|
|
4977
6472
|
/**
|
|
4978
|
-
* Properties for defining a `
|
|
6473
|
+
* Properties for defining a `RosNetworkInterface`.
|
|
6474
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-networkinterface
|
|
4979
6475
|
*/
|
|
4980
6476
|
export interface RosNetworkInterfaceProps {
|
|
4981
6477
|
/**
|
|
@@ -5040,17 +6536,15 @@ export interface RosNetworkInterfaceProps {
|
|
|
5040
6536
|
readonly tags?: RosNetworkInterface.TagsProperty[];
|
|
5041
6537
|
}
|
|
5042
6538
|
/**
|
|
5043
|
-
*
|
|
6539
|
+
* This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::NetworkInterface`, which is used to create an elastic network interface (ENI).
|
|
6540
|
+
* @Note This class does not contain additional functions, so it is recommended to use the `NetworkInterface` class instead of this class for a more convenient development experience.
|
|
6541
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-networkinterface
|
|
5044
6542
|
*/
|
|
5045
6543
|
export declare class RosNetworkInterface extends ros.RosResource {
|
|
5046
6544
|
/**
|
|
5047
6545
|
* The resource type name for this resource class.
|
|
5048
6546
|
*/
|
|
5049
6547
|
static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::NetworkInterface";
|
|
5050
|
-
/**
|
|
5051
|
-
* A factory method that creates a new instance of this class from an object
|
|
5052
|
-
* containing the properties of this ROS resource.
|
|
5053
|
-
*/
|
|
5054
6548
|
/**
|
|
5055
6549
|
* @Attribute MacAddress: The MAC address of your Network Interface.
|
|
5056
6550
|
*/
|
|
@@ -5129,8 +6623,6 @@ export declare class RosNetworkInterface extends ros.RosResource {
|
|
|
5129
6623
|
*/
|
|
5130
6624
|
tags: RosNetworkInterface.TagsProperty[] | undefined;
|
|
5131
6625
|
/**
|
|
5132
|
-
* Create a new `ALIYUN::ECS::NetworkInterface`.
|
|
5133
|
-
*
|
|
5134
6626
|
* @param scope - scope in which this resource is defined
|
|
5135
6627
|
* @param id - scoped id of the resource
|
|
5136
6628
|
* @param props - resource properties
|
|
@@ -5161,7 +6653,8 @@ export declare namespace RosNetworkInterface {
|
|
|
5161
6653
|
}
|
|
5162
6654
|
}
|
|
5163
6655
|
/**
|
|
5164
|
-
* Properties for defining a `
|
|
6656
|
+
* Properties for defining a `RosNetworkInterfaceAttachment`.
|
|
6657
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-networkinterfaceattachment
|
|
5165
6658
|
*/
|
|
5166
6659
|
export interface RosNetworkInterfaceAttachmentProps {
|
|
5167
6660
|
/**
|
|
@@ -5182,17 +6675,15 @@ export interface RosNetworkInterfaceAttachmentProps {
|
|
|
5182
6675
|
readonly trunkNetworkInstanceId?: string | ros.IResolvable;
|
|
5183
6676
|
}
|
|
5184
6677
|
/**
|
|
5185
|
-
*
|
|
6678
|
+
* This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::NetworkInterfaceAttachment`, which is used to bind an elastic network interface (ENI) to an Elastic Compute Service (ECS) instance in a virtual private cloud (VPC).
|
|
6679
|
+
* @Note This class does not contain additional functions, so it is recommended to use the `NetworkInterfaceAttachment` class instead of this class for a more convenient development experience.
|
|
6680
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-networkinterfaceattachment
|
|
5186
6681
|
*/
|
|
5187
6682
|
export declare class RosNetworkInterfaceAttachment extends ros.RosResource {
|
|
5188
6683
|
/**
|
|
5189
6684
|
* The resource type name for this resource class.
|
|
5190
6685
|
*/
|
|
5191
6686
|
static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::NetworkInterfaceAttachment";
|
|
5192
|
-
/**
|
|
5193
|
-
* A factory method that creates a new instance of this class from an object
|
|
5194
|
-
* containing the properties of this ROS resource.
|
|
5195
|
-
*/
|
|
5196
6687
|
/**
|
|
5197
6688
|
* @Attribute InstanceId: ID of ECS instance.
|
|
5198
6689
|
*/
|
|
@@ -5223,8 +6714,6 @@ export declare class RosNetworkInterfaceAttachment extends ros.RosResource {
|
|
|
5223
6714
|
*/
|
|
5224
6715
|
trunkNetworkInstanceId: string | ros.IResolvable | undefined;
|
|
5225
6716
|
/**
|
|
5226
|
-
* Create a new `ALIYUN::ECS::NetworkInterfaceAttachment`.
|
|
5227
|
-
*
|
|
5228
6717
|
* @param scope - scope in which this resource is defined
|
|
5229
6718
|
* @param id - scoped id of the resource
|
|
5230
6719
|
* @param props - resource properties
|
|
@@ -5240,7 +6729,8 @@ export declare class RosNetworkInterfaceAttachment extends ros.RosResource {
|
|
|
5240
6729
|
};
|
|
5241
6730
|
}
|
|
5242
6731
|
/**
|
|
5243
|
-
* Properties for defining a `
|
|
6732
|
+
* Properties for defining a `RosNetworkInterfacePermission`.
|
|
6733
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-networkinterfacepermission
|
|
5244
6734
|
*/
|
|
5245
6735
|
export interface RosNetworkInterfacePermissionProps {
|
|
5246
6736
|
/**
|
|
@@ -5257,17 +6747,15 @@ export interface RosNetworkInterfacePermissionProps {
|
|
|
5257
6747
|
readonly permission: string | ros.IResolvable;
|
|
5258
6748
|
}
|
|
5259
6749
|
/**
|
|
5260
|
-
*
|
|
6750
|
+
* This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::NetworkInterfacePermission`, which is used to grant an account the permission to attach an elastic network interface (ENI) to an instance.
|
|
6751
|
+
* @Note This class does not contain additional functions, so it is recommended to use the `NetworkInterfacePermission` class instead of this class for a more convenient development experience.
|
|
6752
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-networkinterfacepermission
|
|
5261
6753
|
*/
|
|
5262
6754
|
export declare class RosNetworkInterfacePermission extends ros.RosResource {
|
|
5263
6755
|
/**
|
|
5264
6756
|
* The resource type name for this resource class.
|
|
5265
6757
|
*/
|
|
5266
6758
|
static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::NetworkInterfacePermission";
|
|
5267
|
-
/**
|
|
5268
|
-
* A factory method that creates a new instance of this class from an object
|
|
5269
|
-
* containing the properties of this ROS resource.
|
|
5270
|
-
*/
|
|
5271
6759
|
/**
|
|
5272
6760
|
* @Attribute NetworkInterfacePermissionId: the network interface permission id
|
|
5273
6761
|
*/
|
|
@@ -5286,8 +6774,6 @@ export declare class RosNetworkInterfacePermission extends ros.RosResource {
|
|
|
5286
6774
|
*/
|
|
5287
6775
|
permission: string | ros.IResolvable;
|
|
5288
6776
|
/**
|
|
5289
|
-
* Create a new `ALIYUN::ECS::NetworkInterfacePermission`.
|
|
5290
|
-
*
|
|
5291
6777
|
* @param scope - scope in which this resource is defined
|
|
5292
6778
|
* @param id - scoped id of the resource
|
|
5293
6779
|
* @param props - resource properties
|
|
@@ -5303,7 +6789,8 @@ export declare class RosNetworkInterfacePermission extends ros.RosResource {
|
|
|
5303
6789
|
};
|
|
5304
6790
|
}
|
|
5305
6791
|
/**
|
|
5306
|
-
* Properties for defining a `
|
|
6792
|
+
* Properties for defining a `RosPrefixList`.
|
|
6793
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-prefixlist
|
|
5307
6794
|
*/
|
|
5308
6795
|
export interface RosPrefixListProps {
|
|
5309
6796
|
/**
|
|
@@ -5315,11 +6802,11 @@ export interface RosPrefixListProps {
|
|
|
5315
6802
|
*/
|
|
5316
6803
|
readonly maxEntries: number | ros.IResolvable;
|
|
5317
6804
|
/**
|
|
5318
|
-
* @Property prefixListName: The name of the prefix. The name must be 2 to 128 characters in length. It must start with a letter and cannot start with http
|
|
6805
|
+
* @Property prefixListName: The name of the prefix. The name must be 2 to 128 characters in length. It must start with a letter and cannot start with http:\/\/, https:\/\/, com.aliyun, or com.alibabacloud. It can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-).
|
|
5319
6806
|
*/
|
|
5320
6807
|
readonly prefixListName: string | ros.IResolvable;
|
|
5321
6808
|
/**
|
|
5322
|
-
* @Property description: The description of the prefix list. The description must be 2 to 256 characters in length and cannot start with http
|
|
6809
|
+
* @Property description: The description of the prefix list. The description must be 2 to 256 characters in length and cannot start with http:\/\/ or https:\/\/.
|
|
5323
6810
|
*/
|
|
5324
6811
|
readonly description?: string | ros.IResolvable;
|
|
5325
6812
|
/**
|
|
@@ -5328,17 +6815,15 @@ export interface RosPrefixListProps {
|
|
|
5328
6815
|
readonly entries?: Array<RosPrefixList.EntriesProperty | ros.IResolvable> | ros.IResolvable;
|
|
5329
6816
|
}
|
|
5330
6817
|
/**
|
|
5331
|
-
*
|
|
6818
|
+
* This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::PrefixList`, which is used to create a prefix list.
|
|
6819
|
+
* @Note This class does not contain additional functions, so it is recommended to use the `PrefixList` class instead of this class for a more convenient development experience.
|
|
6820
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-prefixlist
|
|
5332
6821
|
*/
|
|
5333
6822
|
export declare class RosPrefixList extends ros.RosResource {
|
|
5334
6823
|
/**
|
|
5335
6824
|
* The resource type name for this resource class.
|
|
5336
6825
|
*/
|
|
5337
6826
|
static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::PrefixList";
|
|
5338
|
-
/**
|
|
5339
|
-
* A factory method that creates a new instance of this class from an object
|
|
5340
|
-
* containing the properties of this ROS resource.
|
|
5341
|
-
*/
|
|
5342
6827
|
/**
|
|
5343
6828
|
* @Attribute PrefixListId: The ID of the prefix list.
|
|
5344
6829
|
*/
|
|
@@ -5353,11 +6838,11 @@ export declare class RosPrefixList extends ros.RosResource {
|
|
|
5353
6838
|
*/
|
|
5354
6839
|
maxEntries: number | ros.IResolvable;
|
|
5355
6840
|
/**
|
|
5356
|
-
* @Property prefixListName: The name of the prefix. The name must be 2 to 128 characters in length. It must start with a letter and cannot start with http
|
|
6841
|
+
* @Property prefixListName: The name of the prefix. The name must be 2 to 128 characters in length. It must start with a letter and cannot start with http:\/\/, https:\/\/, com.aliyun, or com.alibabacloud. It can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-).
|
|
5357
6842
|
*/
|
|
5358
6843
|
prefixListName: string | ros.IResolvable;
|
|
5359
6844
|
/**
|
|
5360
|
-
* @Property description: The description of the prefix list. The description must be 2 to 256 characters in length and cannot start with http
|
|
6845
|
+
* @Property description: The description of the prefix list. The description must be 2 to 256 characters in length and cannot start with http:\/\/ or https:\/\/.
|
|
5361
6846
|
*/
|
|
5362
6847
|
description: string | ros.IResolvable | undefined;
|
|
5363
6848
|
/**
|
|
@@ -5365,8 +6850,6 @@ export declare class RosPrefixList extends ros.RosResource {
|
|
|
5365
6850
|
*/
|
|
5366
6851
|
entries: Array<RosPrefixList.EntriesProperty | ros.IResolvable> | ros.IResolvable | undefined;
|
|
5367
6852
|
/**
|
|
5368
|
-
* Create a new `ALIYUN::ECS::PrefixList`.
|
|
5369
|
-
*
|
|
5370
6853
|
* @param scope - scope in which this resource is defined
|
|
5371
6854
|
* @param id - scoped id of the resource
|
|
5372
6855
|
* @param props - resource properties
|
|
@@ -5387,23 +6870,24 @@ export declare namespace RosPrefixList {
|
|
|
5387
6870
|
*/
|
|
5388
6871
|
interface EntriesProperty {
|
|
5389
6872
|
/**
|
|
5390
|
-
* @Property description: The description in entry. The description must be 2 to 32 characters in length and cannot start with http
|
|
6873
|
+
* @Property description: The description in entry. The description must be 2 to 32 characters in length and cannot start with http:\/\/ or https:\/\/.
|
|
5391
6874
|
*/
|
|
5392
6875
|
readonly description?: string | ros.IResolvable;
|
|
5393
6876
|
/**
|
|
5394
6877
|
* @Property cidr: The CIDR block in entry. Take note of the following items:
|
|
5395
6878
|
* The total number of entries must not exceed the MaxEntries value.
|
|
5396
6879
|
* CIDR block types are determined by the IP address family. You cannot combine IPv4 and IPv6 CIDR blocks in a single prefix list.
|
|
5397
|
-
* CIDR blocks must be unique across all entries in a prefix list. For example, you cannot specify 192.168.1.0
|
|
6880
|
+
* CIDR blocks must be unique across all entries in a prefix list. For example, you cannot specify 192.168.1.0\/24 twice in the entries of the prefix list.
|
|
5398
6881
|
* IP addresses are supported.
|
|
5399
|
-
* The system converts IP addresses into CIDR blocks. For example, if you specify 192.168.1.100, the system converts it into the 192.168.1.100
|
|
5400
|
-
* If an IPv6 CIDR block is used, the system converts it to the zero compression format and changes uppercase letters into lowercase ones. For example, if you specify 2001:0DB8:0000:0000:0000:0000:0000:0000
|
|
6882
|
+
* The system converts IP addresses into CIDR blocks. For example, if you specify 192.168.1.100, the system converts it into the 192.168.1.100\/32 CIDR block.
|
|
6883
|
+
* If an IPv6 CIDR block is used, the system converts it to the zero compression format and changes uppercase letters into lowercase ones. For example, if you specify 2001:0DB8:0000:0000:0000:0000:0000:0000\/32,the system converts it into 2001:db8::\/32.
|
|
5401
6884
|
*/
|
|
5402
6885
|
readonly cidr: string | ros.IResolvable;
|
|
5403
6886
|
}
|
|
5404
6887
|
}
|
|
5405
6888
|
/**
|
|
5406
|
-
* Properties for defining a `
|
|
6889
|
+
* Properties for defining a `RosRamRoleAttachment`.
|
|
6890
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-ramroleattachment
|
|
5407
6891
|
*/
|
|
5408
6892
|
export interface RosRamRoleAttachmentProps {
|
|
5409
6893
|
/**
|
|
@@ -5421,17 +6905,15 @@ export interface RosRamRoleAttachmentProps {
|
|
|
5421
6905
|
readonly policy?: string | ros.IResolvable;
|
|
5422
6906
|
}
|
|
5423
6907
|
/**
|
|
5424
|
-
*
|
|
6908
|
+
* This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::RamRoleAttachment`, which is used to attach an instance Resource Access Management (RAM) role to Elastic Compute Service (ECS) instances.
|
|
6909
|
+
* @Note This class does not contain additional functions, so it is recommended to use the `RamRoleAttachment` class instead of this class for a more convenient development experience.
|
|
6910
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-ramroleattachment
|
|
5425
6911
|
*/
|
|
5426
6912
|
export declare class RosRamRoleAttachment extends ros.RosResource {
|
|
5427
6913
|
/**
|
|
5428
6914
|
* The resource type name for this resource class.
|
|
5429
6915
|
*/
|
|
5430
6916
|
static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::RamRoleAttachment";
|
|
5431
|
-
/**
|
|
5432
|
-
* A factory method that creates a new instance of this class from an object
|
|
5433
|
-
* containing the properties of this ROS resource.
|
|
5434
|
-
*/
|
|
5435
6917
|
/**
|
|
5436
6918
|
* @Attribute InstanceIds: The list of ecs instance id
|
|
5437
6919
|
*/
|
|
@@ -5455,8 +6937,6 @@ export declare class RosRamRoleAttachment extends ros.RosResource {
|
|
|
5455
6937
|
*/
|
|
5456
6938
|
policy: string | ros.IResolvable | undefined;
|
|
5457
6939
|
/**
|
|
5458
|
-
* Create a new `ALIYUN::ECS::RamRoleAttachment`.
|
|
5459
|
-
*
|
|
5460
6940
|
* @param scope - scope in which this resource is defined
|
|
5461
6941
|
* @param id - scoped id of the resource
|
|
5462
6942
|
* @param props - resource properties
|
|
@@ -5472,7 +6952,8 @@ export declare class RosRamRoleAttachment extends ros.RosResource {
|
|
|
5472
6952
|
};
|
|
5473
6953
|
}
|
|
5474
6954
|
/**
|
|
5475
|
-
* Properties for defining a `
|
|
6955
|
+
* Properties for defining a `RosRoute`.
|
|
6956
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-route
|
|
5476
6957
|
*/
|
|
5477
6958
|
export interface RosRouteProps {
|
|
5478
6959
|
/**
|
|
@@ -5497,17 +6978,15 @@ export interface RosRouteProps {
|
|
|
5497
6978
|
readonly nextHopType?: string | ros.IResolvable;
|
|
5498
6979
|
}
|
|
5499
6980
|
/**
|
|
5500
|
-
*
|
|
6981
|
+
* This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::Route`, which is used to create a custom route entry.
|
|
6982
|
+
* @Note This class does not contain additional functions, so it is recommended to use the `Route` class instead of this class for a more convenient development experience.
|
|
6983
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-route
|
|
5501
6984
|
*/
|
|
5502
6985
|
export declare class RosRoute extends ros.RosResource {
|
|
5503
6986
|
/**
|
|
5504
6987
|
* The resource type name for this resource class.
|
|
5505
6988
|
*/
|
|
5506
6989
|
static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::Route";
|
|
5507
|
-
/**
|
|
5508
|
-
* A factory method that creates a new instance of this class from an object
|
|
5509
|
-
* containing the properties of this ROS resource.
|
|
5510
|
-
*/
|
|
5511
6990
|
/**
|
|
5512
6991
|
* @Attribute RouteEntryId: The ID of the route entry.
|
|
5513
6992
|
*/
|
|
@@ -5534,8 +7013,6 @@ export declare class RosRoute extends ros.RosResource {
|
|
|
5534
7013
|
*/
|
|
5535
7014
|
nextHopType: string | ros.IResolvable | undefined;
|
|
5536
7015
|
/**
|
|
5537
|
-
* Create a new `ALIYUN::ECS::Route`.
|
|
5538
|
-
*
|
|
5539
7016
|
* @param scope - scope in which this resource is defined
|
|
5540
7017
|
* @param id - scoped id of the resource
|
|
5541
7018
|
* @param props - resource properties
|
|
@@ -5566,7 +7043,8 @@ export declare namespace RosRoute {
|
|
|
5566
7043
|
}
|
|
5567
7044
|
}
|
|
5568
7045
|
/**
|
|
5569
|
-
* Properties for defining a `
|
|
7046
|
+
* Properties for defining a `RosRunCommand`.
|
|
7047
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-runcommand
|
|
5570
7048
|
*/
|
|
5571
7049
|
export interface RosRunCommandProps {
|
|
5572
7050
|
/**
|
|
@@ -5589,6 +7067,23 @@ export interface RosRunCommandProps {
|
|
|
5589
7067
|
* RunShellScript: shell scripts for Linux instances
|
|
5590
7068
|
*/
|
|
5591
7069
|
readonly type: string | ros.IResolvable;
|
|
7070
|
+
/**
|
|
7071
|
+
* @Property containerId: The ID of the container. Only 64-bit hexadecimal strings are supported. You can use container IDs that are prefixed with docker:\/\/, containerd:\/\/, or cri-o:\/\/ to specify container runtimes.
|
|
7072
|
+
* Take note of the following items:
|
|
7073
|
+
* - If you specify this parameter, Cloud Assistant runs scripts in the specified container of the instance.
|
|
7074
|
+
* - If you specify this parameter, make sure that the version of Cloud Assistant Agent installed on Linux instances is 2.2.3.344 or later.- If you specify this parameter, Username that is specified in a request to call this operation and WorkingDir that is specified in a request to call the CreateCommand operation do not take effect. You can run the command only in the default working directory of the container by using the default user of the container.
|
|
7075
|
+
* - If you specify this parameter, only shell scripts can be run in Linux containers. You cannot add a command in the format similar to #!\/usr\/bin\/python at the beginning of a script to specify a script interpreter.
|
|
7076
|
+
*/
|
|
7077
|
+
readonly containerId?: string | ros.IResolvable;
|
|
7078
|
+
/**
|
|
7079
|
+
* @Property containerName: The name of the container.
|
|
7080
|
+
* Take note of the following items:
|
|
7081
|
+
* - If you specify this parameter, Cloud Assistant runs scripts in the specified container of the instance.
|
|
7082
|
+
* - If you specify this parameter, make sure that the version of Cloud Assistant Agent installed on Linux instances is 2.2.3.344 or later.
|
|
7083
|
+
* - If you specify this parameter, Username that is specified in a request to call this operation and WorkingDir that is specified in a request to call the CreateCommand operation do not take effect. You can run the command only in the default working directory of the container by using the default user of the container.
|
|
7084
|
+
* - If you specify this parameter, only shell scripts can be run in Linux containers. You cannot add a command in the format similar to #!\/usr\/bin\/python at the beginning of a script to specify a script interpreter.
|
|
7085
|
+
*/
|
|
7086
|
+
readonly containerName?: string | ros.IResolvable;
|
|
5592
7087
|
/**
|
|
5593
7088
|
* @Property contentEncoding: The encoding mode of script content (CommandContent). Valid values (case insensitive):
|
|
5594
7089
|
* PlainText: The script content is not encoded, and transmitted in plaintext.
|
|
@@ -5633,6 +7128,21 @@ export interface RosRunCommandProps {
|
|
|
5633
7128
|
readonly parameters?: {
|
|
5634
7129
|
[key: string]: (any | ros.IResolvable);
|
|
5635
7130
|
} | ros.IResolvable;
|
|
7131
|
+
/**
|
|
7132
|
+
* @Property repeatMode: Specifies how to run the command. Valid values:
|
|
7133
|
+
* - **Once**: immediately runs the command.
|
|
7134
|
+
* - **Period**: runs the command on a schedule. If you set this parameter to Period, you must specify **Frequency**.
|
|
7135
|
+
* - **NextRebootOnly**: runs the command the next time the instance is started.
|
|
7136
|
+
* - **EveryReboot*: runs the command every time the instance is started.
|
|
7137
|
+
* Default value:
|
|
7138
|
+
* - If you do not specify Frequency, the default value is Once.
|
|
7139
|
+
* - If you specify **Frequency**, **Period** is used as the value of RepeatMode regardless of whether RepeatMode is set to Period.
|
|
7140
|
+
*/
|
|
7141
|
+
readonly repeatMode?: string | ros.IResolvable;
|
|
7142
|
+
/**
|
|
7143
|
+
* @Property resourceGroupId: The ID of the resource group to which to assign the command executions. The instances specified by InstanceIds must belong to the specified resource group.
|
|
7144
|
+
*/
|
|
7145
|
+
readonly resourceGroupId?: string | ros.IResolvable;
|
|
5636
7146
|
/**
|
|
5637
7147
|
* @Property runAgainOn: The stage of executing the command again.
|
|
5638
7148
|
*/
|
|
@@ -5645,38 +7155,41 @@ export interface RosRunCommandProps {
|
|
|
5645
7155
|
* @Property tags: Tags to attach to run_command. Max support 20 tags to add during create run_command. Each tag with two properties Key and Value, and Key is required.
|
|
5646
7156
|
*/
|
|
5647
7157
|
readonly tags?: RosRunCommand.TagsProperty[];
|
|
5648
|
-
/**
|
|
5649
|
-
* @Property timed: Specifies whether to periodically run the script. Valid values:
|
|
5650
|
-
* true: runs the script on a regular basis based on the value set for the Frequency parameter. The result of the previous execution task does not affect the next execution task.
|
|
5651
|
-
* false: runs once only.
|
|
5652
|
-
* Default value: false
|
|
5653
|
-
*/
|
|
5654
|
-
readonly timed?: boolean | ros.IResolvable;
|
|
5655
7158
|
/**
|
|
5656
7159
|
* @Property timeout: The timeout period for script execution. Unit: seconds. A timeout error occurs when a script cannot be run because the process slows down, a specific module or the Cloud Assistant client does not exist. When the script times out, the script process is forcibly terminated.
|
|
5657
7160
|
* Default value: 60.
|
|
5658
7161
|
*/
|
|
5659
7162
|
readonly timeout?: number | ros.IResolvable;
|
|
7163
|
+
/**
|
|
7164
|
+
* @Property username: The username to use to run the command on instances. The username can be up to 255 characters in length.
|
|
7165
|
+
* - For Linux instances, the root username is used by default.
|
|
7166
|
+
* - For Windows instances, the System username is used by default.
|
|
7167
|
+
* You can also specify other usernames that already exist in the instances to run the command. For security purposes, we recommend that you run Cloud Assistant commands as a regular user.
|
|
7168
|
+
*/
|
|
7169
|
+
readonly username?: string | ros.IResolvable;
|
|
7170
|
+
/**
|
|
7171
|
+
* @Property windowsPasswordName: The name of the password to use to run the command on Windows instances. The name can be up to 255 characters in length.
|
|
7172
|
+
* If you do not want to use the default System user to run the command on Windows instances, specify both **WindowsPasswordName** and **Username**. To mitigate the risk of password leaks, the password is stored in plaintext in Operation Orchestration Service (OOS) Parameter Store, and only the name of the password is passed in by using WindowsPasswordName.
|
|
7173
|
+
*/
|
|
7174
|
+
readonly windowsPasswordName?: string | ros.IResolvable;
|
|
5660
7175
|
/**
|
|
5661
7176
|
* @Property workingDir: The running directory of the script in the ECS instance.
|
|
5662
7177
|
* Default value:
|
|
5663
|
-
* Linux instances: under the home directory of the administrator (root user):
|
|
7178
|
+
* Linux instances: under the home directory of the administrator (root user): \/root.
|
|
5664
7179
|
* Windows instances: under the directory where the process of the Cloud Assistant client is located, such as C:\ProgramData\aliyun\assist\$(version).
|
|
5665
7180
|
*/
|
|
5666
7181
|
readonly workingDir?: string | ros.IResolvable;
|
|
5667
7182
|
}
|
|
5668
7183
|
/**
|
|
5669
|
-
*
|
|
7184
|
+
* This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::RunCommand`, which is used to run a shell, PowerShell, or batch command on Elastic Compute Service (ECS) instances.
|
|
7185
|
+
* @Note This class does not contain additional functions, so it is recommended to use the `RunCommand` class instead of this class for a more convenient development experience.
|
|
7186
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-runcommand
|
|
5670
7187
|
*/
|
|
5671
7188
|
export declare class RosRunCommand extends ros.RosResource {
|
|
5672
7189
|
/**
|
|
5673
7190
|
* The resource type name for this resource class.
|
|
5674
7191
|
*/
|
|
5675
7192
|
static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::RunCommand";
|
|
5676
|
-
/**
|
|
5677
|
-
* A factory method that creates a new instance of this class from an object
|
|
5678
|
-
* containing the properties of this ROS resource.
|
|
5679
|
-
*/
|
|
5680
7193
|
/**
|
|
5681
7194
|
* @Attribute CommandId: The id of command created.
|
|
5682
7195
|
*/
|
|
@@ -5714,6 +7227,23 @@ export declare class RosRunCommand extends ros.RosResource {
|
|
|
5714
7227
|
* RunShellScript: shell scripts for Linux instances
|
|
5715
7228
|
*/
|
|
5716
7229
|
type: string | ros.IResolvable;
|
|
7230
|
+
/**
|
|
7231
|
+
* @Property containerId: The ID of the container. Only 64-bit hexadecimal strings are supported. You can use container IDs that are prefixed with docker:\/\/, containerd:\/\/, or cri-o:\/\/ to specify container runtimes.
|
|
7232
|
+
* Take note of the following items:
|
|
7233
|
+
* - If you specify this parameter, Cloud Assistant runs scripts in the specified container of the instance.
|
|
7234
|
+
* - If you specify this parameter, make sure that the version of Cloud Assistant Agent installed on Linux instances is 2.2.3.344 or later.- If you specify this parameter, Username that is specified in a request to call this operation and WorkingDir that is specified in a request to call the CreateCommand operation do not take effect. You can run the command only in the default working directory of the container by using the default user of the container.
|
|
7235
|
+
* - If you specify this parameter, only shell scripts can be run in Linux containers. You cannot add a command in the format similar to #!\/usr\/bin\/python at the beginning of a script to specify a script interpreter.
|
|
7236
|
+
*/
|
|
7237
|
+
containerId: string | ros.IResolvable | undefined;
|
|
7238
|
+
/**
|
|
7239
|
+
* @Property containerName: The name of the container.
|
|
7240
|
+
* Take note of the following items:
|
|
7241
|
+
* - If you specify this parameter, Cloud Assistant runs scripts in the specified container of the instance.
|
|
7242
|
+
* - If you specify this parameter, make sure that the version of Cloud Assistant Agent installed on Linux instances is 2.2.3.344 or later.
|
|
7243
|
+
* - If you specify this parameter, Username that is specified in a request to call this operation and WorkingDir that is specified in a request to call the CreateCommand operation do not take effect. You can run the command only in the default working directory of the container by using the default user of the container.
|
|
7244
|
+
* - If you specify this parameter, only shell scripts can be run in Linux containers. You cannot add a command in the format similar to #!\/usr\/bin\/python at the beginning of a script to specify a script interpreter.
|
|
7245
|
+
*/
|
|
7246
|
+
containerName: string | ros.IResolvable | undefined;
|
|
5717
7247
|
/**
|
|
5718
7248
|
* @Property contentEncoding: The encoding mode of script content (CommandContent). Valid values (case insensitive):
|
|
5719
7249
|
* PlainText: The script content is not encoded, and transmitted in plaintext.
|
|
@@ -5758,6 +7288,21 @@ export declare class RosRunCommand extends ros.RosResource {
|
|
|
5758
7288
|
parameters: {
|
|
5759
7289
|
[key: string]: (any | ros.IResolvable);
|
|
5760
7290
|
} | ros.IResolvable | undefined;
|
|
7291
|
+
/**
|
|
7292
|
+
* @Property repeatMode: Specifies how to run the command. Valid values:
|
|
7293
|
+
* - **Once**: immediately runs the command.
|
|
7294
|
+
* - **Period**: runs the command on a schedule. If you set this parameter to Period, you must specify **Frequency**.
|
|
7295
|
+
* - **NextRebootOnly**: runs the command the next time the instance is started.
|
|
7296
|
+
* - **EveryReboot*: runs the command every time the instance is started.
|
|
7297
|
+
* Default value:
|
|
7298
|
+
* - If you do not specify Frequency, the default value is Once.
|
|
7299
|
+
* - If you specify **Frequency**, **Period** is used as the value of RepeatMode regardless of whether RepeatMode is set to Period.
|
|
7300
|
+
*/
|
|
7301
|
+
repeatMode: string | ros.IResolvable | undefined;
|
|
7302
|
+
/**
|
|
7303
|
+
* @Property resourceGroupId: The ID of the resource group to which to assign the command executions. The instances specified by InstanceIds must belong to the specified resource group.
|
|
7304
|
+
*/
|
|
7305
|
+
resourceGroupId: string | ros.IResolvable | undefined;
|
|
5761
7306
|
/**
|
|
5762
7307
|
* @Property runAgainOn: The stage of executing the command again.
|
|
5763
7308
|
*/
|
|
@@ -5770,28 +7315,31 @@ export declare class RosRunCommand extends ros.RosResource {
|
|
|
5770
7315
|
* @Property tags: Tags to attach to run_command. Max support 20 tags to add during create run_command. Each tag with two properties Key and Value, and Key is required.
|
|
5771
7316
|
*/
|
|
5772
7317
|
tags: RosRunCommand.TagsProperty[] | undefined;
|
|
5773
|
-
/**
|
|
5774
|
-
* @Property timed: Specifies whether to periodically run the script. Valid values:
|
|
5775
|
-
* true: runs the script on a regular basis based on the value set for the Frequency parameter. The result of the previous execution task does not affect the next execution task.
|
|
5776
|
-
* false: runs once only.
|
|
5777
|
-
* Default value: false
|
|
5778
|
-
*/
|
|
5779
|
-
timed: boolean | ros.IResolvable | undefined;
|
|
5780
7318
|
/**
|
|
5781
7319
|
* @Property timeout: The timeout period for script execution. Unit: seconds. A timeout error occurs when a script cannot be run because the process slows down, a specific module or the Cloud Assistant client does not exist. When the script times out, the script process is forcibly terminated.
|
|
5782
7320
|
* Default value: 60.
|
|
5783
7321
|
*/
|
|
5784
7322
|
timeout: number | ros.IResolvable | undefined;
|
|
7323
|
+
/**
|
|
7324
|
+
* @Property username: The username to use to run the command on instances. The username can be up to 255 characters in length.
|
|
7325
|
+
* - For Linux instances, the root username is used by default.
|
|
7326
|
+
* - For Windows instances, the System username is used by default.
|
|
7327
|
+
* You can also specify other usernames that already exist in the instances to run the command. For security purposes, we recommend that you run Cloud Assistant commands as a regular user.
|
|
7328
|
+
*/
|
|
7329
|
+
username: string | ros.IResolvable | undefined;
|
|
7330
|
+
/**
|
|
7331
|
+
* @Property windowsPasswordName: The name of the password to use to run the command on Windows instances. The name can be up to 255 characters in length.
|
|
7332
|
+
* If you do not want to use the default System user to run the command on Windows instances, specify both **WindowsPasswordName** and **Username**. To mitigate the risk of password leaks, the password is stored in plaintext in Operation Orchestration Service (OOS) Parameter Store, and only the name of the password is passed in by using WindowsPasswordName.
|
|
7333
|
+
*/
|
|
7334
|
+
windowsPasswordName: string | ros.IResolvable | undefined;
|
|
5785
7335
|
/**
|
|
5786
7336
|
* @Property workingDir: The running directory of the script in the ECS instance.
|
|
5787
7337
|
* Default value:
|
|
5788
|
-
* Linux instances: under the home directory of the administrator (root user):
|
|
7338
|
+
* Linux instances: under the home directory of the administrator (root user): \/root.
|
|
5789
7339
|
* Windows instances: under the directory where the process of the Cloud Assistant client is located, such as C:\ProgramData\aliyun\assist\$(version).
|
|
5790
7340
|
*/
|
|
5791
7341
|
workingDir: string | ros.IResolvable | undefined;
|
|
5792
7342
|
/**
|
|
5793
|
-
* Create a new `ALIYUN::ECS::RunCommand`.
|
|
5794
|
-
*
|
|
5795
7343
|
* @param scope - scope in which this resource is defined
|
|
5796
7344
|
* @param id - scoped id of the resource
|
|
5797
7345
|
* @param props - resource properties
|
|
@@ -5822,7 +7370,8 @@ export declare namespace RosRunCommand {
|
|
|
5822
7370
|
}
|
|
5823
7371
|
}
|
|
5824
7372
|
/**
|
|
5825
|
-
* Properties for defining a `
|
|
7373
|
+
* Properties for defining a `RosSNatEntry`.
|
|
7374
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-snatentry
|
|
5826
7375
|
*/
|
|
5827
7376
|
export interface RosSNatEntryProps {
|
|
5828
7377
|
/**
|
|
@@ -5834,11 +7383,11 @@ export interface RosSNatEntryProps {
|
|
|
5834
7383
|
*/
|
|
5835
7384
|
readonly sNatTableId: string | ros.IResolvable;
|
|
5836
7385
|
/**
|
|
5837
|
-
* @Property snatEntryName: he name of the SNAT rule is 2-128 characters long and must start with a letter or Chinese, but cannot begin with HTTP
|
|
7386
|
+
* @Property snatEntryName: he name of the SNAT rule is 2-128 characters long and must start with a letter or Chinese, but cannot begin with HTTP:\/\/ or https:\/\/.
|
|
5838
7387
|
*/
|
|
5839
7388
|
readonly snatEntryName?: string | ros.IResolvable;
|
|
5840
7389
|
/**
|
|
5841
|
-
* @Property sourceCidr: Specifies the network segment of the switch. For example, 10.0.0.1
|
|
7390
|
+
* @Property sourceCidr: Specifies the network segment of the switch. For example, 10.0.0.1\/24. This parameter and the SourceVSwtichId parameter are mutually exclusive and cannot appear at the same time.
|
|
5842
7391
|
*/
|
|
5843
7392
|
readonly sourceCidr?: string | ros.IResolvable;
|
|
5844
7393
|
/**
|
|
@@ -5847,17 +7396,15 @@ export interface RosSNatEntryProps {
|
|
|
5847
7396
|
readonly sourceVSwitchId?: string | ros.IResolvable;
|
|
5848
7397
|
}
|
|
5849
7398
|
/**
|
|
5850
|
-
*
|
|
7399
|
+
* This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::SNatEntry`, which is used to configure the Source Network Address Translation (SNAT) table of a NAT gateway.
|
|
7400
|
+
* @Note This class does not contain additional functions, so it is recommended to use the `SNatEntry` class instead of this class for a more convenient development experience.
|
|
7401
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-snatentry
|
|
5851
7402
|
*/
|
|
5852
7403
|
export declare class RosSNatEntry extends ros.RosResource {
|
|
5853
7404
|
/**
|
|
5854
7405
|
* The resource type name for this resource class.
|
|
5855
7406
|
*/
|
|
5856
7407
|
static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::SNatEntry";
|
|
5857
|
-
/**
|
|
5858
|
-
* A factory method that creates a new instance of this class from an object
|
|
5859
|
-
* containing the properties of this ROS resource.
|
|
5860
|
-
*/
|
|
5861
7408
|
/**
|
|
5862
7409
|
* @Attribute SNatEntryId: The id of created SNAT entry.
|
|
5863
7410
|
*/
|
|
@@ -5872,11 +7419,11 @@ export declare class RosSNatEntry extends ros.RosResource {
|
|
|
5872
7419
|
*/
|
|
5873
7420
|
sNatTableId: string | ros.IResolvable;
|
|
5874
7421
|
/**
|
|
5875
|
-
* @Property snatEntryName: he name of the SNAT rule is 2-128 characters long and must start with a letter or Chinese, but cannot begin with HTTP
|
|
7422
|
+
* @Property snatEntryName: he name of the SNAT rule is 2-128 characters long and must start with a letter or Chinese, but cannot begin with HTTP:\/\/ or https:\/\/.
|
|
5876
7423
|
*/
|
|
5877
7424
|
snatEntryName: string | ros.IResolvable | undefined;
|
|
5878
7425
|
/**
|
|
5879
|
-
* @Property sourceCidr: Specifies the network segment of the switch. For example, 10.0.0.1
|
|
7426
|
+
* @Property sourceCidr: Specifies the network segment of the switch. For example, 10.0.0.1\/24. This parameter and the SourceVSwtichId parameter are mutually exclusive and cannot appear at the same time.
|
|
5880
7427
|
*/
|
|
5881
7428
|
sourceCidr: string | ros.IResolvable | undefined;
|
|
5882
7429
|
/**
|
|
@@ -5884,8 +7431,6 @@ export declare class RosSNatEntry extends ros.RosResource {
|
|
|
5884
7431
|
*/
|
|
5885
7432
|
sourceVSwitchId: string | ros.IResolvable | undefined;
|
|
5886
7433
|
/**
|
|
5887
|
-
* Create a new `ALIYUN::ECS::SNatEntry`.
|
|
5888
|
-
*
|
|
5889
7434
|
* @param scope - scope in which this resource is defined
|
|
5890
7435
|
* @param id - scoped id of the resource
|
|
5891
7436
|
* @param props - resource properties
|
|
@@ -5901,11 +7446,12 @@ export declare class RosSNatEntry extends ros.RosResource {
|
|
|
5901
7446
|
};
|
|
5902
7447
|
}
|
|
5903
7448
|
/**
|
|
5904
|
-
* Properties for defining a `
|
|
7449
|
+
* Properties for defining a `RosSSHKeyPair`.
|
|
7450
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-sshkeypair
|
|
5905
7451
|
*/
|
|
5906
7452
|
export interface RosSSHKeyPairProps {
|
|
5907
7453
|
/**
|
|
5908
|
-
* @Property keyPairName: SSH key pair name. It must be unique. [2, 128] characters. All character sets are supported. Do not start with a special character, digit, http
|
|
7454
|
+
* @Property keyPairName: SSH key pair name. It must be unique. [2, 128] characters. All character sets are supported. Do not start with a special character, digit, http:\/\/, or https:\/\/. It can contain digits, ".", "_", or "-".
|
|
5909
7455
|
*/
|
|
5910
7456
|
readonly keyPairName: string | ros.IResolvable;
|
|
5911
7457
|
/**
|
|
@@ -5922,17 +7468,15 @@ export interface RosSSHKeyPairProps {
|
|
|
5922
7468
|
readonly tags?: RosSSHKeyPair.TagsProperty[];
|
|
5923
7469
|
}
|
|
5924
7470
|
/**
|
|
5925
|
-
*
|
|
7471
|
+
* This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::SSHKeyPair`, which is used to create an SSH key pair or import an existing SSH key pair to access an Elastic Compute Service (ECS) instance.
|
|
7472
|
+
* @Note This class does not contain additional functions, so it is recommended to use the `SSHKeyPair` class instead of this class for a more convenient development experience.
|
|
7473
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-sshkeypair
|
|
5926
7474
|
*/
|
|
5927
7475
|
export declare class RosSSHKeyPair extends ros.RosResource {
|
|
5928
7476
|
/**
|
|
5929
7477
|
* The resource type name for this resource class.
|
|
5930
7478
|
*/
|
|
5931
7479
|
static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::SSHKeyPair";
|
|
5932
|
-
/**
|
|
5933
|
-
* A factory method that creates a new instance of this class from an object
|
|
5934
|
-
* containing the properties of this ROS resource.
|
|
5935
|
-
*/
|
|
5936
7480
|
/**
|
|
5937
7481
|
* @Attribute KeyPairFingerPrint: The fingerprint of the key pair. The public key fingerprint format defined in RFC4716: MD5 message digest algorithm. Refer to http://tools.ietf.org/html/rfc4716.
|
|
5938
7482
|
*/
|
|
@@ -5947,7 +7491,7 @@ export declare class RosSSHKeyPair extends ros.RosResource {
|
|
|
5947
7491
|
readonly attrPrivateKeyBody: ros.IResolvable;
|
|
5948
7492
|
enableResourcePropertyConstraint: boolean;
|
|
5949
7493
|
/**
|
|
5950
|
-
* @Property keyPairName: SSH key pair name. It must be unique. [2, 128] characters. All character sets are supported. Do not start with a special character, digit, http
|
|
7494
|
+
* @Property keyPairName: SSH key pair name. It must be unique. [2, 128] characters. All character sets are supported. Do not start with a special character, digit, http:\/\/, or https:\/\/. It can contain digits, ".", "_", or "-".
|
|
5951
7495
|
*/
|
|
5952
7496
|
keyPairName: string | ros.IResolvable;
|
|
5953
7497
|
/**
|
|
@@ -5963,8 +7507,6 @@ export declare class RosSSHKeyPair extends ros.RosResource {
|
|
|
5963
7507
|
*/
|
|
5964
7508
|
tags: RosSSHKeyPair.TagsProperty[] | undefined;
|
|
5965
7509
|
/**
|
|
5966
|
-
* Create a new `ALIYUN::ECS::SSHKeyPair`.
|
|
5967
|
-
*
|
|
5968
7510
|
* @param scope - scope in which this resource is defined
|
|
5969
7511
|
* @param id - scoped id of the resource
|
|
5970
7512
|
* @param props - resource properties
|
|
@@ -5995,7 +7537,8 @@ export declare namespace RosSSHKeyPair {
|
|
|
5995
7537
|
}
|
|
5996
7538
|
}
|
|
5997
7539
|
/**
|
|
5998
|
-
* Properties for defining a `
|
|
7540
|
+
* Properties for defining a `RosSSHKeyPairAttachment`.
|
|
7541
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-sshkeypairattachment
|
|
5999
7542
|
*/
|
|
6000
7543
|
export interface RosSSHKeyPairAttachmentProps {
|
|
6001
7544
|
/**
|
|
@@ -6013,17 +7556,15 @@ export interface RosSSHKeyPairAttachmentProps {
|
|
|
6013
7556
|
readonly autoReboot?: boolean | ros.IResolvable;
|
|
6014
7557
|
}
|
|
6015
7558
|
/**
|
|
6016
|
-
*
|
|
7559
|
+
* This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::SSHKeyPairAttachment`, which is used to attach an SSH key pair to Elastic Compute Service (ECS) instances.
|
|
7560
|
+
* @Note This class does not contain additional functions, so it is recommended to use the `SSHKeyPairAttachment` class instead of this class for a more convenient development experience.
|
|
7561
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-sshkeypairattachment
|
|
6017
7562
|
*/
|
|
6018
7563
|
export declare class RosSSHKeyPairAttachment extends ros.RosResource {
|
|
6019
7564
|
/**
|
|
6020
7565
|
* The resource type name for this resource class.
|
|
6021
7566
|
*/
|
|
6022
7567
|
static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::SSHKeyPairAttachment";
|
|
6023
|
-
/**
|
|
6024
|
-
* A factory method that creates a new instance of this class from an object
|
|
6025
|
-
* containing the properties of this ROS resource.
|
|
6026
|
-
*/
|
|
6027
7568
|
enableResourcePropertyConstraint: boolean;
|
|
6028
7569
|
/**
|
|
6029
7570
|
* @Property instanceIds: The comma delimited ECS instance id list. Only support Linux.
|
|
@@ -6039,8 +7580,6 @@ export declare class RosSSHKeyPairAttachment extends ros.RosResource {
|
|
|
6039
7580
|
*/
|
|
6040
7581
|
autoReboot: boolean | ros.IResolvable | undefined;
|
|
6041
7582
|
/**
|
|
6042
|
-
* Create a new `ALIYUN::ECS::SSHKeyPairAttachment`.
|
|
6043
|
-
*
|
|
6044
7583
|
* @param scope - scope in which this resource is defined
|
|
6045
7584
|
* @param id - scoped id of the resource
|
|
6046
7585
|
* @param props - resource properties
|
|
@@ -6056,7 +7595,8 @@ export declare class RosSSHKeyPairAttachment extends ros.RosResource {
|
|
|
6056
7595
|
};
|
|
6057
7596
|
}
|
|
6058
7597
|
/**
|
|
6059
|
-
* Properties for defining a `
|
|
7598
|
+
* Properties for defining a `RosSecurityGroup`.
|
|
7599
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-securitygroup
|
|
6060
7600
|
*/
|
|
6061
7601
|
export interface RosSecurityGroupProps {
|
|
6062
7602
|
/**
|
|
@@ -6095,17 +7635,15 @@ export interface RosSecurityGroupProps {
|
|
|
6095
7635
|
readonly vpcId?: string | ros.IResolvable;
|
|
6096
7636
|
}
|
|
6097
7637
|
/**
|
|
6098
|
-
*
|
|
7638
|
+
* This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::SecurityGroup`, which is used to create a security group.
|
|
7639
|
+
* @Note This class does not contain additional functions, so it is recommended to use the `SecurityGroup` class instead of this class for a more convenient development experience.
|
|
7640
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-securitygroup
|
|
6099
7641
|
*/
|
|
6100
7642
|
export declare class RosSecurityGroup extends ros.RosResource {
|
|
6101
7643
|
/**
|
|
6102
7644
|
* The resource type name for this resource class.
|
|
6103
7645
|
*/
|
|
6104
7646
|
static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::SecurityGroup";
|
|
6105
|
-
/**
|
|
6106
|
-
* A factory method that creates a new instance of this class from an object
|
|
6107
|
-
* containing the properties of this ROS resource.
|
|
6108
|
-
*/
|
|
6109
7647
|
/**
|
|
6110
7648
|
* @Attribute SecurityGroupId: generated security group id for security group.
|
|
6111
7649
|
*/
|
|
@@ -6150,8 +7688,6 @@ export declare class RosSecurityGroup extends ros.RosResource {
|
|
|
6150
7688
|
*/
|
|
6151
7689
|
vpcId: string | ros.IResolvable | undefined;
|
|
6152
7690
|
/**
|
|
6153
|
-
* Create a new `ALIYUN::ECS::SecurityGroup`.
|
|
6154
|
-
*
|
|
6155
7691
|
* @param scope - scope in which this resource is defined
|
|
6156
7692
|
* @param id - scoped id of the resource
|
|
6157
7693
|
* @param props - resource properties
|
|
@@ -6176,7 +7712,7 @@ export declare namespace RosSecurityGroup {
|
|
|
6176
7712
|
*/
|
|
6177
7713
|
readonly policy?: string | ros.IResolvable;
|
|
6178
7714
|
/**
|
|
6179
|
-
* @Property portRange: Ip protocol relative port range. For tcp and udp, the port rang is [1,65535], using format '1
|
|
7715
|
+
* @Property portRange: Ip protocol relative port range. For tcp and udp, the port rang is [1,65535], using format '1\/200'For icmp|gre|all protocel, the port range should be '-1\/-1'
|
|
6180
7716
|
*/
|
|
6181
7717
|
readonly portRange: string | ros.IResolvable;
|
|
6182
7718
|
/**
|
|
@@ -6242,7 +7778,7 @@ export declare namespace RosSecurityGroup {
|
|
|
6242
7778
|
*/
|
|
6243
7779
|
readonly description?: string | ros.IResolvable;
|
|
6244
7780
|
/**
|
|
6245
|
-
* @Property sourcePortRange: The range of the ports enabled by the source security group for the transport layer protocol. Valid values: TCP
|
|
7781
|
+
* @Property sourcePortRange: The range of the ports enabled by the source security group for the transport layer protocol. Valid values: TCP\/UDP: Value range: 1 to 65535. The start port and the end port are separated by a slash (\/). Correct example: 1\/200. Incorrect example: 200\/1.ICMP: -1\/-1.GRE: -1\/-1.ALL: -1\/-1.
|
|
6246
7782
|
*/
|
|
6247
7783
|
readonly sourcePortRange?: string | ros.IResolvable;
|
|
6248
7784
|
/**
|
|
@@ -6267,7 +7803,7 @@ export declare namespace RosSecurityGroup {
|
|
|
6267
7803
|
*/
|
|
6268
7804
|
readonly nicType?: string | ros.IResolvable;
|
|
6269
7805
|
/**
|
|
6270
|
-
* @Property portRange: Ip protocol relative port range. For tcp and udp, the port rang is [1,65535], using format '1
|
|
7806
|
+
* @Property portRange: Ip protocol relative port range. For tcp and udp, the port rang is [1,65535], using format '1\/200'For icmp|gre|all protocel, the port range should be '-1\/-1'
|
|
6271
7807
|
*/
|
|
6272
7808
|
readonly portRange: string | ros.IResolvable;
|
|
6273
7809
|
/**
|
|
@@ -6302,7 +7838,8 @@ export declare namespace RosSecurityGroup {
|
|
|
6302
7838
|
}
|
|
6303
7839
|
}
|
|
6304
7840
|
/**
|
|
6305
|
-
* Properties for defining a `
|
|
7841
|
+
* Properties for defining a `RosSecurityGroupClone`.
|
|
7842
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-securitygroupclone
|
|
6306
7843
|
*/
|
|
6307
7844
|
export interface RosSecurityGroupCloneProps {
|
|
6308
7845
|
/**
|
|
@@ -6341,17 +7878,15 @@ export interface RosSecurityGroupCloneProps {
|
|
|
6341
7878
|
readonly vpcId?: string | ros.IResolvable;
|
|
6342
7879
|
}
|
|
6343
7880
|
/**
|
|
6344
|
-
*
|
|
7881
|
+
* This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::SecurityGroupClone`, which is used to clone a security group.
|
|
7882
|
+
* @Note This class does not contain additional functions, so it is recommended to use the `SecurityGroupClone` class instead of this class for a more convenient development experience.
|
|
7883
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-securitygroupclone
|
|
6345
7884
|
*/
|
|
6346
7885
|
export declare class RosSecurityGroupClone extends ros.RosResource {
|
|
6347
7886
|
/**
|
|
6348
7887
|
* The resource type name for this resource class.
|
|
6349
7888
|
*/
|
|
6350
7889
|
static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::SecurityGroupClone";
|
|
6351
|
-
/**
|
|
6352
|
-
* A factory method that creates a new instance of this class from an object
|
|
6353
|
-
* containing the properties of this ROS resource.
|
|
6354
|
-
*/
|
|
6355
7890
|
/**
|
|
6356
7891
|
* @Attribute SecurityGroupId: Generated security group id of new security group.
|
|
6357
7892
|
*/
|
|
@@ -6392,8 +7927,6 @@ export declare class RosSecurityGroupClone extends ros.RosResource {
|
|
|
6392
7927
|
*/
|
|
6393
7928
|
vpcId: string | ros.IResolvable | undefined;
|
|
6394
7929
|
/**
|
|
6395
|
-
* Create a new `ALIYUN::ECS::SecurityGroupClone`.
|
|
6396
|
-
*
|
|
6397
7930
|
* @param scope - scope in which this resource is defined
|
|
6398
7931
|
* @param id - scoped id of the resource
|
|
6399
7932
|
* @param props - resource properties
|
|
@@ -6409,7 +7942,8 @@ export declare class RosSecurityGroupClone extends ros.RosResource {
|
|
|
6409
7942
|
};
|
|
6410
7943
|
}
|
|
6411
7944
|
/**
|
|
6412
|
-
* Properties for defining a `
|
|
7945
|
+
* Properties for defining a `RosSecurityGroupEgress`.
|
|
7946
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-securitygroupegress
|
|
6413
7947
|
*/
|
|
6414
7948
|
export interface RosSecurityGroupEgressProps {
|
|
6415
7949
|
/**
|
|
@@ -6417,7 +7951,7 @@ export interface RosSecurityGroupEgressProps {
|
|
|
6417
7951
|
*/
|
|
6418
7952
|
readonly ipProtocol: string | ros.IResolvable;
|
|
6419
7953
|
/**
|
|
6420
|
-
* @Property portRange: Ip protocol relative port range. For tcp and udp, the port rang is [1,65535], using format '1
|
|
7954
|
+
* @Property portRange: Ip protocol relative port range. For tcp and udp, the port rang is [1,65535], using format '1\/200'For icmp|gre|all protocel, the port range should be '-1\/-1'
|
|
6421
7955
|
*/
|
|
6422
7956
|
readonly portRange: string | ros.IResolvable;
|
|
6423
7957
|
/**
|
|
@@ -6465,24 +7999,22 @@ export interface RosSecurityGroupEgressProps {
|
|
|
6465
7999
|
readonly securityGroupId?: string | ros.IResolvable;
|
|
6466
8000
|
}
|
|
6467
8001
|
/**
|
|
6468
|
-
*
|
|
8002
|
+
* This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::SecurityGroupEgress`, which is used to create an outbound access rule for a security group.
|
|
8003
|
+
* @Note This class does not contain additional functions, so it is recommended to use the `SecurityGroupEgress` class instead of this class for a more convenient development experience.
|
|
8004
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-securitygroupegress
|
|
6469
8005
|
*/
|
|
6470
8006
|
export declare class RosSecurityGroupEgress extends ros.RosResource {
|
|
6471
8007
|
/**
|
|
6472
8008
|
* The resource type name for this resource class.
|
|
6473
8009
|
*/
|
|
6474
8010
|
static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::SecurityGroupEgress";
|
|
6475
|
-
/**
|
|
6476
|
-
* A factory method that creates a new instance of this class from an object
|
|
6477
|
-
* containing the properties of this ROS resource.
|
|
6478
|
-
*/
|
|
6479
8011
|
enableResourcePropertyConstraint: boolean;
|
|
6480
8012
|
/**
|
|
6481
8013
|
* @Property ipProtocol: Ip protocol for in rule.
|
|
6482
8014
|
*/
|
|
6483
8015
|
ipProtocol: string | ros.IResolvable;
|
|
6484
8016
|
/**
|
|
6485
|
-
* @Property portRange: Ip protocol relative port range. For tcp and udp, the port rang is [1,65535], using format '1
|
|
8017
|
+
* @Property portRange: Ip protocol relative port range. For tcp and udp, the port rang is [1,65535], using format '1\/200'For icmp|gre|all protocel, the port range should be '-1\/-1'
|
|
6486
8018
|
*/
|
|
6487
8019
|
portRange: string | ros.IResolvable;
|
|
6488
8020
|
/**
|
|
@@ -6529,8 +8061,6 @@ export declare class RosSecurityGroupEgress extends ros.RosResource {
|
|
|
6529
8061
|
*/
|
|
6530
8062
|
securityGroupId: string | ros.IResolvable | undefined;
|
|
6531
8063
|
/**
|
|
6532
|
-
* Create a new `ALIYUN::ECS::SecurityGroupEgress`.
|
|
6533
|
-
*
|
|
6534
8064
|
* @param scope - scope in which this resource is defined
|
|
6535
8065
|
* @param id - scoped id of the resource
|
|
6536
8066
|
* @param props - resource properties
|
|
@@ -6546,7 +8076,8 @@ export declare class RosSecurityGroupEgress extends ros.RosResource {
|
|
|
6546
8076
|
};
|
|
6547
8077
|
}
|
|
6548
8078
|
/**
|
|
6549
|
-
* Properties for defining a `
|
|
8079
|
+
* Properties for defining a `RosSecurityGroupIngress`.
|
|
8080
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-securitygroupingress
|
|
6550
8081
|
*/
|
|
6551
8082
|
export interface RosSecurityGroupIngressProps {
|
|
6552
8083
|
/**
|
|
@@ -6554,7 +8085,7 @@ export interface RosSecurityGroupIngressProps {
|
|
|
6554
8085
|
*/
|
|
6555
8086
|
readonly ipProtocol: string | ros.IResolvable;
|
|
6556
8087
|
/**
|
|
6557
|
-
* @Property portRange: Ip protocol relative port range. For tcp and udp, the port rang is [1,65535], using format '1
|
|
8088
|
+
* @Property portRange: Ip protocol relative port range. For tcp and udp, the port rang is [1,65535], using format '1\/200'For icmp|gre|all protocel, the port range should be '-1\/-1'
|
|
6558
8089
|
*/
|
|
6559
8090
|
readonly portRange: string | ros.IResolvable;
|
|
6560
8091
|
/**
|
|
@@ -6595,7 +8126,7 @@ export interface RosSecurityGroupIngressProps {
|
|
|
6595
8126
|
*/
|
|
6596
8127
|
readonly sourceGroupOwnerId?: string | ros.IResolvable;
|
|
6597
8128
|
/**
|
|
6598
|
-
* @Property sourcePortRange: The range of the ports enabled by the source security group for the transport layer protocol. Valid values: TCP
|
|
8129
|
+
* @Property sourcePortRange: The range of the ports enabled by the source security group for the transport layer protocol. Valid values: TCP\/UDP: Value range: 1 to 65535. The start port and the end port are separated by a slash (\/). Correct example: 1\/200. Incorrect example: 200\/1.ICMP: -1\/-1.GRE: -1\/-1.ALL: -1\/-1.
|
|
6599
8130
|
*/
|
|
6600
8131
|
readonly sourcePortRange?: string | ros.IResolvable;
|
|
6601
8132
|
/**
|
|
@@ -6606,24 +8137,22 @@ export interface RosSecurityGroupIngressProps {
|
|
|
6606
8137
|
readonly sourcePrefixListId?: string | ros.IResolvable;
|
|
6607
8138
|
}
|
|
6608
8139
|
/**
|
|
6609
|
-
*
|
|
8140
|
+
* This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::SecurityGroupIngress`, which is used to create an inbound rule for a security group.
|
|
8141
|
+
* @Note This class does not contain additional functions, so it is recommended to use the `SecurityGroupIngress` class instead of this class for a more convenient development experience.
|
|
8142
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-securitygroupingress
|
|
6610
8143
|
*/
|
|
6611
8144
|
export declare class RosSecurityGroupIngress extends ros.RosResource {
|
|
6612
8145
|
/**
|
|
6613
8146
|
* The resource type name for this resource class.
|
|
6614
8147
|
*/
|
|
6615
8148
|
static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::SecurityGroupIngress";
|
|
6616
|
-
/**
|
|
6617
|
-
* A factory method that creates a new instance of this class from an object
|
|
6618
|
-
* containing the properties of this ROS resource.
|
|
6619
|
-
*/
|
|
6620
8149
|
enableResourcePropertyConstraint: boolean;
|
|
6621
8150
|
/**
|
|
6622
8151
|
* @Property ipProtocol: Ip protocol for in rule.
|
|
6623
8152
|
*/
|
|
6624
8153
|
ipProtocol: string | ros.IResolvable;
|
|
6625
8154
|
/**
|
|
6626
|
-
* @Property portRange: Ip protocol relative port range. For tcp and udp, the port rang is [1,65535], using format '1
|
|
8155
|
+
* @Property portRange: Ip protocol relative port range. For tcp and udp, the port rang is [1,65535], using format '1\/200'For icmp|gre|all protocel, the port range should be '-1\/-1'
|
|
6627
8156
|
*/
|
|
6628
8157
|
portRange: string | ros.IResolvable;
|
|
6629
8158
|
/**
|
|
@@ -6664,7 +8193,7 @@ export declare class RosSecurityGroupIngress extends ros.RosResource {
|
|
|
6664
8193
|
*/
|
|
6665
8194
|
sourceGroupOwnerId: string | ros.IResolvable | undefined;
|
|
6666
8195
|
/**
|
|
6667
|
-
* @Property sourcePortRange: The range of the ports enabled by the source security group for the transport layer protocol. Valid values: TCP
|
|
8196
|
+
* @Property sourcePortRange: The range of the ports enabled by the source security group for the transport layer protocol. Valid values: TCP\/UDP: Value range: 1 to 65535. The start port and the end port are separated by a slash (\/). Correct example: 1\/200. Incorrect example: 200\/1.ICMP: -1\/-1.GRE: -1\/-1.ALL: -1\/-1.
|
|
6668
8197
|
*/
|
|
6669
8198
|
sourcePortRange: string | ros.IResolvable | undefined;
|
|
6670
8199
|
/**
|
|
@@ -6674,8 +8203,6 @@ export declare class RosSecurityGroupIngress extends ros.RosResource {
|
|
|
6674
8203
|
*/
|
|
6675
8204
|
sourcePrefixListId: string | ros.IResolvable | undefined;
|
|
6676
8205
|
/**
|
|
6677
|
-
* Create a new `ALIYUN::ECS::SecurityGroupIngress`.
|
|
6678
|
-
*
|
|
6679
8206
|
* @param scope - scope in which this resource is defined
|
|
6680
8207
|
* @param id - scoped id of the resource
|
|
6681
8208
|
* @param props - resource properties
|
|
@@ -6691,7 +8218,8 @@ export declare class RosSecurityGroupIngress extends ros.RosResource {
|
|
|
6691
8218
|
};
|
|
6692
8219
|
}
|
|
6693
8220
|
/**
|
|
6694
|
-
* Properties for defining a `
|
|
8221
|
+
* Properties for defining a `RosSnapshot`.
|
|
8222
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-snapshot
|
|
6695
8223
|
*/
|
|
6696
8224
|
export interface RosSnapshotProps {
|
|
6697
8225
|
/**
|
|
@@ -6699,7 +8227,7 @@ export interface RosSnapshotProps {
|
|
|
6699
8227
|
*/
|
|
6700
8228
|
readonly diskId: string | ros.IResolvable;
|
|
6701
8229
|
/**
|
|
6702
|
-
* @Property description: The description of a snapshot can be 2 to 256 characters in length and cannot begin with http
|
|
8230
|
+
* @Property description: The description of a snapshot can be 2 to 256 characters in length and cannot begin with http:\/\/ or https:\/\/. The description will appear on the console. By default, the value is zero.
|
|
6703
8231
|
*/
|
|
6704
8232
|
readonly description?: string | ros.IResolvable;
|
|
6705
8233
|
/**
|
|
@@ -6729,7 +8257,7 @@ export interface RosSnapshotProps {
|
|
|
6729
8257
|
*/
|
|
6730
8258
|
readonly retentionDays?: number | ros.IResolvable;
|
|
6731
8259
|
/**
|
|
6732
|
-
* @Property snapshotName: The name of the snapshot, [2, 128] English or Chinese characters. It must begin with an uppercase
|
|
8260
|
+
* @Property snapshotName: The name of the snapshot, [2, 128] English or Chinese characters. It must begin with an uppercase\/lowercase letter or a Chinese character, and may contain numbers, '_' or '-'. It cannot begin with http:\/\/ or https:\/\/.
|
|
6733
8261
|
*/
|
|
6734
8262
|
readonly snapshotName?: string | ros.IResolvable;
|
|
6735
8263
|
/**
|
|
@@ -6742,17 +8270,15 @@ export interface RosSnapshotProps {
|
|
|
6742
8270
|
readonly timeout?: number | ros.IResolvable;
|
|
6743
8271
|
}
|
|
6744
8272
|
/**
|
|
6745
|
-
*
|
|
8273
|
+
* This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::Snapshot`, which is used to create a snapshot for a disk.
|
|
8274
|
+
* @Note This class does not contain additional functions, so it is recommended to use the `Snapshot` class instead of this class for a more convenient development experience.
|
|
8275
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-snapshot
|
|
6746
8276
|
*/
|
|
6747
8277
|
export declare class RosSnapshot extends ros.RosResource {
|
|
6748
8278
|
/**
|
|
6749
8279
|
* The resource type name for this resource class.
|
|
6750
8280
|
*/
|
|
6751
8281
|
static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::Snapshot";
|
|
6752
|
-
/**
|
|
6753
|
-
* A factory method that creates a new instance of this class from an object
|
|
6754
|
-
* containing the properties of this ROS resource.
|
|
6755
|
-
*/
|
|
6756
8282
|
/**
|
|
6757
8283
|
* @Attribute SnapshotId: The snapshot ID.
|
|
6758
8284
|
*/
|
|
@@ -6763,7 +8289,7 @@ export declare class RosSnapshot extends ros.RosResource {
|
|
|
6763
8289
|
*/
|
|
6764
8290
|
diskId: string | ros.IResolvable;
|
|
6765
8291
|
/**
|
|
6766
|
-
* @Property description: The description of a snapshot can be 2 to 256 characters in length and cannot begin with http
|
|
8292
|
+
* @Property description: The description of a snapshot can be 2 to 256 characters in length and cannot begin with http:\/\/ or https:\/\/. The description will appear on the console. By default, the value is zero.
|
|
6767
8293
|
*/
|
|
6768
8294
|
description: string | ros.IResolvable | undefined;
|
|
6769
8295
|
/**
|
|
@@ -6793,7 +8319,7 @@ export declare class RosSnapshot extends ros.RosResource {
|
|
|
6793
8319
|
*/
|
|
6794
8320
|
retentionDays: number | ros.IResolvable | undefined;
|
|
6795
8321
|
/**
|
|
6796
|
-
* @Property snapshotName: The name of the snapshot, [2, 128] English or Chinese characters. It must begin with an uppercase
|
|
8322
|
+
* @Property snapshotName: The name of the snapshot, [2, 128] English or Chinese characters. It must begin with an uppercase\/lowercase letter or a Chinese character, and may contain numbers, '_' or '-'. It cannot begin with http:\/\/ or https:\/\/.
|
|
6797
8323
|
*/
|
|
6798
8324
|
snapshotName: string | ros.IResolvable | undefined;
|
|
6799
8325
|
/**
|
|
@@ -6805,8 +8331,6 @@ export declare class RosSnapshot extends ros.RosResource {
|
|
|
6805
8331
|
*/
|
|
6806
8332
|
timeout: number | ros.IResolvable | undefined;
|
|
6807
8333
|
/**
|
|
6808
|
-
* Create a new `ALIYUN::ECS::Snapshot`.
|
|
6809
|
-
*
|
|
6810
8334
|
* @param scope - scope in which this resource is defined
|
|
6811
8335
|
* @param id - scoped id of the resource
|
|
6812
8336
|
* @param props - resource properties
|
|
@@ -6837,14 +8361,15 @@ export declare namespace RosSnapshot {
|
|
|
6837
8361
|
}
|
|
6838
8362
|
}
|
|
6839
8363
|
/**
|
|
6840
|
-
* Properties for defining a `
|
|
8364
|
+
* Properties for defining a `RosVPC`.
|
|
8365
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-vpc
|
|
6841
8366
|
*/
|
|
6842
8367
|
export interface RosVPCProps {
|
|
6843
8368
|
/**
|
|
6844
8369
|
* @Property cidrBlock: The IP address range of the VPC in the CIDR block form. You can use the following IP address ranges and their subnets:
|
|
6845
|
-
* 10.0.0.0
|
|
6846
|
-
* 172.16.0.0
|
|
6847
|
-
* 192.168.0.0
|
|
8370
|
+
* 10.0.0.0\/8
|
|
8371
|
+
* 172.16.0.0\/12 (Default)
|
|
8372
|
+
* 192.168.0.0\/16
|
|
6848
8373
|
*/
|
|
6849
8374
|
readonly cidrBlock?: string | ros.IResolvable;
|
|
6850
8375
|
/**
|
|
@@ -6891,17 +8416,15 @@ export interface RosVPCProps {
|
|
|
6891
8416
|
readonly vpcName?: string | ros.IResolvable;
|
|
6892
8417
|
}
|
|
6893
8418
|
/**
|
|
6894
|
-
*
|
|
8419
|
+
* This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::VPC`, which is used to create a virtual private cloud (VPC).
|
|
8420
|
+
* @Note This class does not contain additional functions, so it is recommended to use the `VPC` class instead of this class for a more convenient development experience.
|
|
8421
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-vpc
|
|
6895
8422
|
*/
|
|
6896
8423
|
export declare class RosVPC extends ros.RosResource {
|
|
6897
8424
|
/**
|
|
6898
8425
|
* The resource type name for this resource class.
|
|
6899
8426
|
*/
|
|
6900
8427
|
static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::VPC";
|
|
6901
|
-
/**
|
|
6902
|
-
* A factory method that creates a new instance of this class from an object
|
|
6903
|
-
* containing the properties of this ROS resource.
|
|
6904
|
-
*/
|
|
6905
8428
|
/**
|
|
6906
8429
|
* @Attribute RouteTableId: The router table id of created VPC.
|
|
6907
8430
|
*/
|
|
@@ -6917,9 +8440,9 @@ export declare class RosVPC extends ros.RosResource {
|
|
|
6917
8440
|
enableResourcePropertyConstraint: boolean;
|
|
6918
8441
|
/**
|
|
6919
8442
|
* @Property cidrBlock: The IP address range of the VPC in the CIDR block form. You can use the following IP address ranges and their subnets:
|
|
6920
|
-
* 10.0.0.0
|
|
6921
|
-
* 172.16.0.0
|
|
6922
|
-
* 192.168.0.0
|
|
8443
|
+
* 10.0.0.0\/8
|
|
8444
|
+
* 172.16.0.0\/12 (Default)
|
|
8445
|
+
* 192.168.0.0\/16
|
|
6923
8446
|
*/
|
|
6924
8447
|
cidrBlock: string | ros.IResolvable | undefined;
|
|
6925
8448
|
/**
|
|
@@ -6965,8 +8488,6 @@ export declare class RosVPC extends ros.RosResource {
|
|
|
6965
8488
|
*/
|
|
6966
8489
|
vpcName: string | ros.IResolvable | undefined;
|
|
6967
8490
|
/**
|
|
6968
|
-
* Create a new `ALIYUN::ECS::VPC`.
|
|
6969
|
-
*
|
|
6970
8491
|
* @param scope - scope in which this resource is defined
|
|
6971
8492
|
* @param id - scoped id of the resource
|
|
6972
8493
|
* @param props - resource properties
|
|
@@ -6997,7 +8518,8 @@ export declare namespace RosVPC {
|
|
|
6997
8518
|
}
|
|
6998
8519
|
}
|
|
6999
8520
|
/**
|
|
7000
|
-
* Properties for defining a `
|
|
8521
|
+
* Properties for defining a `RosVSwitch`.
|
|
8522
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-vswitch
|
|
7001
8523
|
*/
|
|
7002
8524
|
export interface RosVSwitchProps {
|
|
7003
8525
|
/**
|
|
@@ -7041,17 +8563,15 @@ export interface RosVSwitchProps {
|
|
|
7041
8563
|
readonly zoneType?: string | ros.IResolvable;
|
|
7042
8564
|
}
|
|
7043
8565
|
/**
|
|
7044
|
-
*
|
|
8566
|
+
* This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::VSwitch`, which is used to create a vSwitch.
|
|
8567
|
+
* @Note This class does not contain additional functions, so it is recommended to use the `VSwitch` class instead of this class for a more convenient development experience.
|
|
8568
|
+
* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-vswitch
|
|
7045
8569
|
*/
|
|
7046
8570
|
export declare class RosVSwitch extends ros.RosResource {
|
|
7047
8571
|
/**
|
|
7048
8572
|
* The resource type name for this resource class.
|
|
7049
8573
|
*/
|
|
7050
8574
|
static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::VSwitch";
|
|
7051
|
-
/**
|
|
7052
|
-
* A factory method that creates a new instance of this class from an object
|
|
7053
|
-
* containing the properties of this ROS resource.
|
|
7054
|
-
*/
|
|
7055
8575
|
/**
|
|
7056
8576
|
* @Attribute CidrBlock: CIDR Block of created VSwitch
|
|
7057
8577
|
*/
|
|
@@ -7105,8 +8625,6 @@ export declare class RosVSwitch extends ros.RosResource {
|
|
|
7105
8625
|
*/
|
|
7106
8626
|
zoneType: string | ros.IResolvable | undefined;
|
|
7107
8627
|
/**
|
|
7108
|
-
* Create a new `ALIYUN::ECS::VSwitch`.
|
|
7109
|
-
*
|
|
7110
8628
|
* @param scope - scope in which this resource is defined
|
|
7111
8629
|
* @param id - scoped id of the resource
|
|
7112
8630
|
* @param props - resource properties
|