@alicloud/ros-cdk-ecs 1.0.12 → 1.0.13
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/ecs.generated.d.ts +114 -10
- package/lib/ecs.generated.js +68 -7
- package/lib/instanceclone.d.ts +1 -1
- package/lib/instanceclone.js +1 -1
- package/lib/instancegroup.d.ts +22 -0
- package/lib/instancegroup.js +5 -1
- package/lib/instancegroupclone.d.ts +23 -1
- package/lib/instancegroupclone.js +5 -1
- package/lib/invocation.d.ts +11 -3
- package/lib/invocation.js +3 -1
- package/lib/runcommand.d.ts +4 -0
- package/lib/runcommand.js +2 -1
- package/package.json +1 -1
package/lib/ecs.generated.d.ts
CHANGED
|
@@ -2501,7 +2501,7 @@ export interface RosInstanceCloneProps {
|
|
|
2501
2501
|
*/
|
|
2502
2502
|
readonly instanceName?: string | ros.IResolvable;
|
|
2503
2503
|
/**
|
|
2504
|
-
* @Property internetMaxBandwidthIn: Max internet out band width setting, unit in Mbps(Mega bit per second). The range is [
|
|
2504
|
+
* @Property internetMaxBandwidthIn: Max internet out band width setting, unit in Mbps(Mega bit per second). The range is [0,200], default is 200 Mbps.
|
|
2505
2505
|
*/
|
|
2506
2506
|
readonly internetMaxBandwidthIn?: number | ros.IResolvable;
|
|
2507
2507
|
/**
|
|
@@ -2630,7 +2630,7 @@ export declare class RosInstanceClone extends ros.RosResource {
|
|
|
2630
2630
|
*/
|
|
2631
2631
|
instanceName: string | ros.IResolvable | undefined;
|
|
2632
2632
|
/**
|
|
2633
|
-
* @Property internetMaxBandwidthIn: Max internet out band width setting, unit in Mbps(Mega bit per second). The range is [
|
|
2633
|
+
* @Property internetMaxBandwidthIn: Max internet out band width setting, unit in Mbps(Mega bit per second). The range is [0,200], default is 200 Mbps.
|
|
2634
2634
|
*/
|
|
2635
2635
|
internetMaxBandwidthIn: number | ros.IResolvable | undefined;
|
|
2636
2636
|
/**
|
|
@@ -2962,6 +2962,24 @@ export interface RosInstanceGroupProps {
|
|
|
2962
2962
|
* @Property systemDiskDiskName: Name of created system disk.Old instances will not be changed.
|
|
2963
2963
|
*/
|
|
2964
2964
|
readonly systemDiskDiskName?: string | ros.IResolvable;
|
|
2965
|
+
/**
|
|
2966
|
+
* @Property systemDiskEncryptAlgorithm: The algorithm to use to encrypt the system disk. Valid values:
|
|
2967
|
+
* - ase-256
|
|
2968
|
+
* - sm4-128
|
|
2969
|
+
* Default value: ase-256.
|
|
2970
|
+
*/
|
|
2971
|
+
readonly systemDiskEncryptAlgorithm?: string | ros.IResolvable;
|
|
2972
|
+
/**
|
|
2973
|
+
* @Property systemDiskEncrypted: Specifies whether to encrypt the system disk. Valid values:
|
|
2974
|
+
* - true: encrypts the system disk.
|
|
2975
|
+
* - false: does not encrypt the system disk.
|
|
2976
|
+
* Default value: false.
|
|
2977
|
+
*/
|
|
2978
|
+
readonly systemDiskEncrypted?: string | ros.IResolvable;
|
|
2979
|
+
/**
|
|
2980
|
+
* @Property systemDiskKmsKeyId: The ID of the KMS key to use for the system disk.
|
|
2981
|
+
*/
|
|
2982
|
+
readonly systemDiskKmsKeyId?: string | ros.IResolvable;
|
|
2965
2983
|
/**
|
|
2966
2984
|
* @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.
|
|
2967
2985
|
*/
|
|
@@ -2974,6 +2992,10 @@ export interface RosInstanceGroupProps {
|
|
|
2974
2992
|
* @Property systemDiskSize: Disk size of the system disk, range from 20 to 500 GB. If you specify with your own image, make sure the system disk size bigger than image size.
|
|
2975
2993
|
*/
|
|
2976
2994
|
readonly systemDiskSize?: number | ros.IResolvable;
|
|
2995
|
+
/**
|
|
2996
|
+
* @Property systemDiskStorageClusterId: The ID of the dedicated block storage cluster. If you want to use disks in a dedicated block storage cluster as system disks when you create instances, you must specify this parameter.
|
|
2997
|
+
*/
|
|
2998
|
+
readonly systemDiskStorageClusterId?: string | ros.IResolvable;
|
|
2977
2999
|
/**
|
|
2978
3000
|
* @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.
|
|
2979
3001
|
*/
|
|
@@ -3269,6 +3291,24 @@ export declare class RosInstanceGroup extends ros.RosResource {
|
|
|
3269
3291
|
* @Property systemDiskDiskName: Name of created system disk.Old instances will not be changed.
|
|
3270
3292
|
*/
|
|
3271
3293
|
systemDiskDiskName: string | ros.IResolvable | undefined;
|
|
3294
|
+
/**
|
|
3295
|
+
* @Property systemDiskEncryptAlgorithm: The algorithm to use to encrypt the system disk. Valid values:
|
|
3296
|
+
* - ase-256
|
|
3297
|
+
* - sm4-128
|
|
3298
|
+
* Default value: ase-256.
|
|
3299
|
+
*/
|
|
3300
|
+
systemDiskEncryptAlgorithm: string | ros.IResolvable | undefined;
|
|
3301
|
+
/**
|
|
3302
|
+
* @Property systemDiskEncrypted: Specifies whether to encrypt the system disk. Valid values:
|
|
3303
|
+
* - true: encrypts the system disk.
|
|
3304
|
+
* - false: does not encrypt the system disk.
|
|
3305
|
+
* Default value: false.
|
|
3306
|
+
*/
|
|
3307
|
+
systemDiskEncrypted: string | ros.IResolvable | undefined;
|
|
3308
|
+
/**
|
|
3309
|
+
* @Property systemDiskKmsKeyId: The ID of the KMS key to use for the system disk.
|
|
3310
|
+
*/
|
|
3311
|
+
systemDiskKmsKeyId: string | ros.IResolvable | undefined;
|
|
3272
3312
|
/**
|
|
3273
3313
|
* @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.
|
|
3274
3314
|
*/
|
|
@@ -3281,6 +3321,10 @@ export declare class RosInstanceGroup extends ros.RosResource {
|
|
|
3281
3321
|
* @Property systemDiskSize: Disk size of the system disk, range from 20 to 500 GB. If you specify with your own image, make sure the system disk size bigger than image size.
|
|
3282
3322
|
*/
|
|
3283
3323
|
systemDiskSize: number | ros.IResolvable | undefined;
|
|
3324
|
+
/**
|
|
3325
|
+
* @Property systemDiskStorageClusterId: The ID of the dedicated block storage cluster. If you want to use disks in a dedicated block storage cluster as system disks when you create instances, you must specify this parameter.
|
|
3326
|
+
*/
|
|
3327
|
+
systemDiskStorageClusterId: string | ros.IResolvable | undefined;
|
|
3284
3328
|
/**
|
|
3285
3329
|
* @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.
|
|
3286
3330
|
*/
|
|
@@ -3503,7 +3547,7 @@ export interface RosInstanceGroupCloneProps {
|
|
|
3503
3547
|
*/
|
|
3504
3548
|
readonly instanceName?: string | ros.IResolvable;
|
|
3505
3549
|
/**
|
|
3506
|
-
* @Property internetMaxBandwidthIn: Max internet out band width setting, unit in Mbps(Mega bit per second). The range is [
|
|
3550
|
+
* @Property internetMaxBandwidthIn: Max internet out band width setting, unit in Mbps(Mega bit per second). The range is [0,200], default is 200 Mbps.
|
|
3507
3551
|
*/
|
|
3508
3552
|
readonly internetMaxBandwidthIn?: number | ros.IResolvable;
|
|
3509
3553
|
/**
|
|
@@ -3602,10 +3646,32 @@ export interface RosInstanceGroupCloneProps {
|
|
|
3602
3646
|
* @Property systemDiskDiskName: Name of created system disk.Old instances will not be changed.
|
|
3603
3647
|
*/
|
|
3604
3648
|
readonly systemDiskDiskName?: string | ros.IResolvable;
|
|
3649
|
+
/**
|
|
3650
|
+
* @Property systemDiskEncryptAlgorithm: The algorithm to use to encrypt the system disk. Valid values:
|
|
3651
|
+
* - ase-256
|
|
3652
|
+
* - sm4-128
|
|
3653
|
+
* Default value: ase-256.
|
|
3654
|
+
*/
|
|
3655
|
+
readonly systemDiskEncryptAlgorithm?: string | ros.IResolvable;
|
|
3656
|
+
/**
|
|
3657
|
+
* @Property systemDiskEncrypted: Specifies whether to encrypt the system disk. Valid values:
|
|
3658
|
+
* - true: encrypts the system disk.
|
|
3659
|
+
* - false: does not encrypt the system disk.
|
|
3660
|
+
* Default value: false.
|
|
3661
|
+
*/
|
|
3662
|
+
readonly systemDiskEncrypted?: string | ros.IResolvable;
|
|
3663
|
+
/**
|
|
3664
|
+
* @Property systemDiskKmsKeyId: The ID of the KMS key to use for the system disk.
|
|
3665
|
+
*/
|
|
3666
|
+
readonly systemDiskKmsKeyId?: string | ros.IResolvable;
|
|
3605
3667
|
/**
|
|
3606
3668
|
* @Property systemDiskProvisionedIops: Provisioning IOPS.
|
|
3607
3669
|
*/
|
|
3608
3670
|
readonly systemDiskProvisionedIops?: number | ros.IResolvable;
|
|
3671
|
+
/**
|
|
3672
|
+
* @Property systemDiskStorageClusterId: The ID of the dedicated block storage cluster. If you want to use disks in a dedicated block storage cluster as system disks when you create instances, you must specify this parameter.
|
|
3673
|
+
*/
|
|
3674
|
+
readonly systemDiskStorageClusterId?: string | ros.IResolvable;
|
|
3609
3675
|
/**
|
|
3610
3676
|
* @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.
|
|
3611
3677
|
*/
|
|
@@ -3741,7 +3807,7 @@ export declare class RosInstanceGroupClone extends ros.RosResource {
|
|
|
3741
3807
|
*/
|
|
3742
3808
|
instanceName: string | ros.IResolvable | undefined;
|
|
3743
3809
|
/**
|
|
3744
|
-
* @Property internetMaxBandwidthIn: Max internet out band width setting, unit in Mbps(Mega bit per second). The range is [
|
|
3810
|
+
* @Property internetMaxBandwidthIn: Max internet out band width setting, unit in Mbps(Mega bit per second). The range is [0,200], default is 200 Mbps.
|
|
3745
3811
|
*/
|
|
3746
3812
|
internetMaxBandwidthIn: number | ros.IResolvable | undefined;
|
|
3747
3813
|
/**
|
|
@@ -3840,10 +3906,32 @@ export declare class RosInstanceGroupClone extends ros.RosResource {
|
|
|
3840
3906
|
* @Property systemDiskDiskName: Name of created system disk.Old instances will not be changed.
|
|
3841
3907
|
*/
|
|
3842
3908
|
systemDiskDiskName: string | ros.IResolvable | undefined;
|
|
3909
|
+
/**
|
|
3910
|
+
* @Property systemDiskEncryptAlgorithm: The algorithm to use to encrypt the system disk. Valid values:
|
|
3911
|
+
* - ase-256
|
|
3912
|
+
* - sm4-128
|
|
3913
|
+
* Default value: ase-256.
|
|
3914
|
+
*/
|
|
3915
|
+
systemDiskEncryptAlgorithm: string | ros.IResolvable | undefined;
|
|
3916
|
+
/**
|
|
3917
|
+
* @Property systemDiskEncrypted: Specifies whether to encrypt the system disk. Valid values:
|
|
3918
|
+
* - true: encrypts the system disk.
|
|
3919
|
+
* - false: does not encrypt the system disk.
|
|
3920
|
+
* Default value: false.
|
|
3921
|
+
*/
|
|
3922
|
+
systemDiskEncrypted: string | ros.IResolvable | undefined;
|
|
3923
|
+
/**
|
|
3924
|
+
* @Property systemDiskKmsKeyId: The ID of the KMS key to use for the system disk.
|
|
3925
|
+
*/
|
|
3926
|
+
systemDiskKmsKeyId: string | ros.IResolvable | undefined;
|
|
3843
3927
|
/**
|
|
3844
3928
|
* @Property systemDiskProvisionedIops: Provisioning IOPS.
|
|
3845
3929
|
*/
|
|
3846
3930
|
systemDiskProvisionedIops: number | ros.IResolvable | undefined;
|
|
3931
|
+
/**
|
|
3932
|
+
* @Property systemDiskStorageClusterId: The ID of the dedicated block storage cluster. If you want to use disks in a dedicated block storage cluster as system disks when you create instances, you must specify this parameter.
|
|
3933
|
+
*/
|
|
3934
|
+
systemDiskStorageClusterId: string | ros.IResolvable | undefined;
|
|
3847
3935
|
/**
|
|
3848
3936
|
* @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.
|
|
3849
3937
|
*/
|
|
@@ -3982,14 +4070,18 @@ export declare namespace RosInstanceGroupClone {
|
|
|
3982
4070
|
* Properties for defining a `ALIYUN::ECS::Invocation`
|
|
3983
4071
|
*/
|
|
3984
4072
|
export interface RosInvocationProps {
|
|
4073
|
+
/**
|
|
4074
|
+
* @Property instanceIds: The instance id list. Instances status must be running.
|
|
4075
|
+
*/
|
|
4076
|
+
readonly instanceIds: Array<any | ros.IResolvable> | ros.IResolvable;
|
|
3985
4077
|
/**
|
|
3986
4078
|
* @Property commandId: The id of command.
|
|
3987
4079
|
*/
|
|
3988
|
-
readonly commandId
|
|
4080
|
+
readonly commandId?: string | ros.IResolvable;
|
|
3989
4081
|
/**
|
|
3990
|
-
* @Property
|
|
4082
|
+
* @Property commandName: The name of command. Only system commands whose provide is AlibabaCloud are supported
|
|
3991
4083
|
*/
|
|
3992
|
-
readonly
|
|
4084
|
+
readonly commandName?: string | ros.IResolvable;
|
|
3993
4085
|
/**
|
|
3994
4086
|
* @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.
|
|
3995
4087
|
*/
|
|
@@ -4035,15 +4127,23 @@ export declare class RosInvocation extends ros.RosResource {
|
|
|
4035
4127
|
* @Attribute InvokeInstances: The InvokeInstances of command.
|
|
4036
4128
|
*/
|
|
4037
4129
|
readonly attrInvokeInstances: ros.IResolvable;
|
|
4038
|
-
enableResourcePropertyConstraint: boolean;
|
|
4039
4130
|
/**
|
|
4040
|
-
* @
|
|
4131
|
+
* @Attribute InvokeResults: The results of invoke command.
|
|
4041
4132
|
*/
|
|
4042
|
-
|
|
4133
|
+
readonly attrInvokeResults: ros.IResolvable;
|
|
4134
|
+
enableResourcePropertyConstraint: boolean;
|
|
4043
4135
|
/**
|
|
4044
4136
|
* @Property instanceIds: The instance id list. Instances status must be running.
|
|
4045
4137
|
*/
|
|
4046
4138
|
instanceIds: Array<any | ros.IResolvable> | ros.IResolvable;
|
|
4139
|
+
/**
|
|
4140
|
+
* @Property commandId: The id of command.
|
|
4141
|
+
*/
|
|
4142
|
+
commandId: string | ros.IResolvable | undefined;
|
|
4143
|
+
/**
|
|
4144
|
+
* @Property commandName: The name of command. Only system commands whose provide is AlibabaCloud are supported
|
|
4145
|
+
*/
|
|
4146
|
+
commandName: string | ros.IResolvable | undefined;
|
|
4047
4147
|
/**
|
|
4048
4148
|
* @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.
|
|
4049
4149
|
*/
|
|
@@ -5265,6 +5365,10 @@ export declare class RosRunCommand extends ros.RosResource {
|
|
|
5265
5365
|
* @Attribute InvokeInstances: The InvokeInstances of command.
|
|
5266
5366
|
*/
|
|
5267
5367
|
readonly attrInvokeInstances: ros.IResolvable;
|
|
5368
|
+
/**
|
|
5369
|
+
* @Attribute InvokeResults: The results of invoke command.
|
|
5370
|
+
*/
|
|
5371
|
+
readonly attrInvokeResults: ros.IResolvable;
|
|
5268
5372
|
enableResourcePropertyConstraint: boolean;
|
|
5269
5373
|
/**
|
|
5270
5374
|
* @Property commandContent: The plaintext content or the Base64-encoded content of the script. The Base64-encoded script content cannot exceed 16 KB.
|