@alicloud/ecs20140526 7.0.16 → 7.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/dist/client.d.ts +58 -34
  2. package/dist/client.js +145 -108
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AllocateDedicatedHostsRequest.d.ts +2 -2
  5. package/dist/models/CancelAutoSnapshotPolicyRequest.d.ts +1 -0
  6. package/dist/models/CancelAutoSnapshotPolicyRequest.js +2 -0
  7. package/dist/models/CancelAutoSnapshotPolicyRequest.js.map +1 -1
  8. package/dist/models/DescribeAutoSnapshotPolicyAssociationsRequest.d.ts +26 -0
  9. package/dist/models/DescribeAutoSnapshotPolicyAssociationsRequest.js +74 -0
  10. package/dist/models/DescribeAutoSnapshotPolicyAssociationsRequest.js.map +1 -0
  11. package/dist/models/DescribeAutoSnapshotPolicyAssociationsResponse.d.ts +19 -0
  12. package/dist/models/DescribeAutoSnapshotPolicyAssociationsResponse.js +69 -0
  13. package/dist/models/DescribeAutoSnapshotPolicyAssociationsResponse.js.map +1 -0
  14. package/dist/models/DescribeAutoSnapshotPolicyAssociationsResponseBody.d.ts +43 -0
  15. package/dist/models/DescribeAutoSnapshotPolicyAssociationsResponseBody.js +108 -0
  16. package/dist/models/DescribeAutoSnapshotPolicyAssociationsResponseBody.js.map +1 -0
  17. package/dist/models/DescribeDedicatedHostsRequest.d.ts +15 -15
  18. package/dist/models/DescribeDedicatedHostsResponseBody.d.ts +2 -2
  19. package/dist/models/DescribeDeploymentSetsResponseBody.d.ts +1 -0
  20. package/dist/models/DescribeDeploymentSetsResponseBody.js +2 -0
  21. package/dist/models/DescribeDeploymentSetsResponseBody.js.map +1 -1
  22. package/dist/models/DescribeDisksRequest.d.ts +0 -2
  23. package/dist/models/DescribeDisksRequest.js.map +1 -1
  24. package/dist/models/DescribeInstanceAttributeResponseBody.d.ts +1 -0
  25. package/dist/models/DescribeInstanceAttributeResponseBody.js +2 -0
  26. package/dist/models/DescribeInstanceAttributeResponseBody.js.map +1 -1
  27. package/dist/models/DescribeInstanceHistoryEventsResponseBody.d.ts +2 -0
  28. package/dist/models/DescribeInstanceHistoryEventsResponseBody.js.map +1 -1
  29. package/dist/models/DescribeInstanceTypesResponseBody.d.ts +34 -0
  30. package/dist/models/DescribeInstanceTypesResponseBody.js.map +1 -1
  31. package/dist/models/DescribeLaunchTemplatesRequest.d.ts +5 -5
  32. package/dist/models/DescribeLaunchTemplatesResponseBody.d.ts +6 -6
  33. package/dist/models/DescribeTerminalSessionsResponseBody.d.ts +7 -2
  34. package/dist/models/DescribeTerminalSessionsResponseBody.js.map +1 -1
  35. package/dist/models/ImportImageRequest.d.ts +8 -7
  36. package/dist/models/ImportImageRequest.js.map +1 -1
  37. package/dist/models/ModifyElasticityAssuranceRequest.d.ts +10 -10
  38. package/dist/models/ModifyInstanceNetworkOptionsRequest.d.ts +26 -0
  39. package/dist/models/ModifyInstanceNetworkOptionsRequest.js +66 -0
  40. package/dist/models/ModifyInstanceNetworkOptionsRequest.js.map +1 -0
  41. package/dist/models/ModifyInstanceNetworkOptionsResponse.d.ts +19 -0
  42. package/dist/models/ModifyInstanceNetworkOptionsResponse.js +69 -0
  43. package/dist/models/ModifyInstanceNetworkOptionsResponse.js.map +1 -0
  44. package/dist/models/ModifyInstanceNetworkOptionsResponseBody.d.ts +26 -0
  45. package/dist/models/ModifyInstanceNetworkOptionsResponseBody.js +60 -0
  46. package/dist/models/ModifyInstanceNetworkOptionsResponseBody.js.map +1 -0
  47. package/dist/models/RunInstancesRequest.d.ts +34 -18
  48. package/dist/models/RunInstancesRequest.js +2 -0
  49. package/dist/models/RunInstancesRequest.js.map +1 -1
  50. package/dist/models/RunInstancesResponseBody.d.ts +1 -1
  51. package/dist/models/model.d.ts +8 -0
  52. package/dist/models/model.js +53 -36
  53. package/dist/models/model.js.map +1 -1
  54. package/package.json +1 -1
  55. package/src/client.ts +164 -108
  56. package/src/models/AllocateDedicatedHostsRequest.ts +2 -2
  57. package/src/models/CancelAutoSnapshotPolicyRequest.ts +3 -0
  58. package/src/models/DescribeAutoSnapshotPolicyAssociationsRequest.ts +55 -0
  59. package/src/models/DescribeAutoSnapshotPolicyAssociationsResponse.ts +40 -0
  60. package/src/models/DescribeAutoSnapshotPolicyAssociationsResponseBody.ts +88 -0
  61. package/src/models/DescribeDedicatedHostsRequest.ts +15 -15
  62. package/src/models/DescribeDedicatedHostsResponseBody.ts +2 -2
  63. package/src/models/DescribeDeploymentSetsResponseBody.ts +3 -0
  64. package/src/models/DescribeDisksRequest.ts +0 -2
  65. package/src/models/DescribeInstanceAttributeResponseBody.ts +3 -0
  66. package/src/models/DescribeInstanceHistoryEventsResponseBody.ts +2 -0
  67. package/src/models/DescribeInstanceTypesResponseBody.ts +34 -0
  68. package/src/models/DescribeLaunchTemplatesRequest.ts +5 -5
  69. package/src/models/DescribeLaunchTemplatesResponseBody.ts +6 -6
  70. package/src/models/DescribeTerminalSessionsResponseBody.ts +7 -2
  71. package/src/models/ImportImageRequest.ts +8 -7
  72. package/src/models/ModifyElasticityAssuranceRequest.ts +10 -10
  73. package/src/models/ModifyInstanceNetworkOptionsRequest.ts +47 -0
  74. package/src/models/ModifyInstanceNetworkOptionsResponse.ts +40 -0
  75. package/src/models/ModifyInstanceNetworkOptionsResponseBody.ts +41 -0
  76. package/src/models/RunInstancesRequest.ts +36 -18
  77. package/src/models/RunInstancesResponseBody.ts +1 -1
  78. package/src/models/model.ts +8 -0
@@ -47,7 +47,7 @@ export class ModifyElasticityAssuranceRequestPrivatePoolOptions extends $dara.Mo
47
47
  export class ModifyElasticityAssuranceRequestRecurrenceRules extends $dara.Model {
48
48
  /**
49
49
  * @remarks
50
- * The end time of the assurance period for the capacity reservation. Specify an on-the-hour point in time.
50
+ * The end time of the assurance period for the capacity reservation of the time-segmented elasticity assurance. Specify an on-the-hour point in time.
51
51
  *
52
52
  * @example
53
53
  * 10
@@ -61,7 +61,7 @@ export class ModifyElasticityAssuranceRequestRecurrenceRules extends $dara.Model
61
61
  * * Weekly
62
62
  * * Monthly
63
63
  *
64
- * > You must specify both `RecurrenceType` and `RecurrenceValue`.
64
+ * > If you specify this parameter, you must specify `RecurrenceType` and `RecurrenceValue`.
65
65
  *
66
66
  * @example
67
67
  * Daily
@@ -69,13 +69,13 @@ export class ModifyElasticityAssuranceRequestRecurrenceRules extends $dara.Model
69
69
  recurrenceType?: string;
70
70
  /**
71
71
  * @remarks
72
- * The days of the week or month on which the capacity reservation takes effect or the interval, in number of days, at which the capacity reservation takes effect.
72
+ * The days of the week or month on which the capacity reservation of the time-segmented elasticity assurance takes effect or the interval, in number of days, at which the capacity reservation takes effect.
73
73
  *
74
- * * If you set `RecurrenceType` to `Daily`, you can specify only one value for this parameter. Valid values: 1 to 31. The value specifies that the capacity reservation takes effect every few days.
75
- * * If you set `RecurrenceType` to `Weekly`, you can specify multiple values for this parameter. Separate the values with commas (,). Valid values: 0, 1, 2, 3, 4, 5, and 6, which specify Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, and Saturday, respectively. Example: `1,2`, which specifies that the capacity reservation takes effect on Monday and Tuesday.
76
- * * If you set `RecurrenceType` to `Monthly`, you can specify two values in the `A-B` format for this parameter. Valid values of A and B: 1 to 31. B must be greater than or equal to A. Example: `1-5`, which specifies that the capacity reservation takes effect every day from the first day up to the fifth day of each month.
74
+ * * If you set `RecurrenceType` to `Daily`, you can specify only one value. Valid values: 1 to 31. The value specifies that the capacity reservation takes effect every few days.
75
+ * * If you set `RecurrenceType` to `Weekly`, you can specify multiple values. Separate the values with commas (,). Valid values: 0, 1, 2, 3, 4, 5, and 6, which specify Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, and Saturday, respectively. Example: `1,2`, which specifies that the capacity reservation takes effect on Monday and Tuesday.
76
+ * * If you set `RecurrenceType` to `Monthly`, you can specify two values in the `A-B` format. Valid values of A and B: 1 to 31. B must be greater than or equal to A. Example: `1-5`, which specifies that the capacity reservation takes effect every day from the first day up to the fifth day of each month.
77
77
  *
78
- * > You must specify both `RecurrenceType` and `RecurrenceValue`.
78
+ * > If this parameter is specified, you must specify `RecurrenceType` and `RecurrenceValue`.
79
79
  *
80
80
  * @example
81
81
  * 5
@@ -83,9 +83,9 @@ export class ModifyElasticityAssuranceRequestRecurrenceRules extends $dara.Model
83
83
  recurrenceValue?: string;
84
84
  /**
85
85
  * @remarks
86
- * The start time of the assurance period for the capacity reservation. Specify an on-the-hour point in time.
86
+ * The start time of the assurance period for the capacity reservation of the time-segmented elasticity assurance. Specify an on-the-hour point in time.
87
87
  *
88
- * > You must specify both `StartHour` and `EndHour`. EndHour must be at least four hours later than StartHour.
88
+ * > You must specify both `StartHour` and `EndHour`. The EndHour value must be at least 4 hours later than the StartHour value.
89
89
  *
90
90
  * @example
91
91
  * 4
@@ -148,7 +148,7 @@ export class ModifyElasticityAssuranceRequest extends $dara.Model {
148
148
  ownerId?: number;
149
149
  /**
150
150
  * @remarks
151
- * The assurance schedules based on which the capacity reservation takes effect.
151
+ * The assurance schedules of the time-segmented elasticity assurance.
152
152
  *
153
153
  * > Time-segmented elasticity assurances are available only in specific regions and to specific users. To use time-segmented elasticity assurances, [submit a ticket](https://smartservice.console.aliyun.com/service/create-ticket-intl).
154
154
  */
@@ -0,0 +1,47 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ModifyInstanceNetworkOptionsRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * Vpc-L1
9
+ */
10
+ bandwidthWeighting?: string;
11
+ /**
12
+ * @example
13
+ * i-bp67acfmxazb4p****
14
+ */
15
+ instanceId?: string;
16
+ ownerId?: number;
17
+ resourceOwnerAccount?: string;
18
+ resourceOwnerId?: number;
19
+ static names(): { [key: string]: string } {
20
+ return {
21
+ bandwidthWeighting: 'BandwidthWeighting',
22
+ instanceId: 'InstanceId',
23
+ ownerId: 'OwnerId',
24
+ resourceOwnerAccount: 'ResourceOwnerAccount',
25
+ resourceOwnerId: 'ResourceOwnerId',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ bandwidthWeighting: 'string',
32
+ instanceId: 'string',
33
+ ownerId: 'number',
34
+ resourceOwnerAccount: 'string',
35
+ resourceOwnerId: 'number',
36
+ };
37
+ }
38
+
39
+ validate() {
40
+ super.validate();
41
+ }
42
+
43
+ constructor(map?: { [key: string]: any }) {
44
+ super(map);
45
+ }
46
+ }
47
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ModifyInstanceNetworkOptionsResponseBody } from "./ModifyInstanceNetworkOptionsResponseBody";
4
+
5
+
6
+ export class ModifyInstanceNetworkOptionsResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ModifyInstanceNetworkOptionsResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: ModifyInstanceNetworkOptionsResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,41 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ModifyInstanceNetworkOptionsResponseBody extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * Id of the request
9
+ *
10
+ * @example
11
+ * 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
12
+ */
13
+ requestId?: string;
14
+ /**
15
+ * @example
16
+ * t-bp198jigq7l0h5ac****
17
+ */
18
+ taskId?: string;
19
+ static names(): { [key: string]: string } {
20
+ return {
21
+ requestId: 'RequestId',
22
+ taskId: 'TaskId',
23
+ };
24
+ }
25
+
26
+ static types(): { [key: string]: any } {
27
+ return {
28
+ requestId: 'string',
29
+ taskId: 'string',
30
+ };
31
+ }
32
+
33
+ validate() {
34
+ super.validate();
35
+ }
36
+
37
+ constructor(map?: { [key: string]: any }) {
38
+ super(map);
39
+ }
40
+ }
41
+
@@ -5,9 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class RunInstancesRequestCpuOptions extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The number of CPU cores. This parameter cannot be specified but only uses its default value.
9
- *
10
- * For information about the default value, see [Customize CPU options](https://help.aliyun.com/document_detail/145895.html).
8
+ * The number of CPU cores.
11
9
  *
12
10
  * @example
13
11
  * 2
@@ -791,8 +789,8 @@ export class RunInstancesRequestNetworkInterface extends $dara.Model {
791
789
  * @remarks
792
790
  * Specifies whether to release ENI N when the associated instance is released. Valid values:
793
791
  *
794
- * * true
795
- * * false
792
+ * * true: releases the ENI when the associated instance is released.
793
+ * * false: retains the ENI when the associated instance is released.
796
794
  *
797
795
  * Default value: true.
798
796
  *
@@ -818,11 +816,11 @@ export class RunInstancesRequestNetworkInterface extends $dara.Model {
818
816
  description?: string;
819
817
  /**
820
818
  * @remarks
821
- * The type of ENI N. The value of N cannot exceed the maximum number of ENIs per instance that the instance type supports. For the maximum number of ENIs per instance that an instance type supports, see [Overview of instance families](https://help.aliyun.com/document_detail/25378.html) or call the [DescribeInstanceTypes](https://help.aliyun.com/document_detail/2679699.html) operation.
819
+ * The type of ENI N. The value of the first N in this parameter cannot exceed the maximum number of ENIs per instance that the instance type supports. For the maximum number of ENIs per instance that an instance type supports, see [Overview of instance families](https://help.aliyun.com/document_detail/25378.html) or call the [DescribeInstanceTypes](https://help.aliyun.com/document_detail/2679699.html) operation.
822
820
  *
823
821
  * Valid values:
824
822
  *
825
- * * Primary
823
+ * * Primary: the primary ENI
826
824
  * * Secondary
827
825
  *
828
826
  * Default value: Secondary.
@@ -862,7 +860,7 @@ export class RunInstancesRequestNetworkInterface extends $dara.Model {
862
860
  *
863
861
  * Take note of the following items:
864
862
  *
865
- * * You can specify network card indexes only for instances of specific instance types.
863
+ * * You can specify NIC indexes only for instances of specific instance types.
866
864
  * * If you set NetworkInterface.N.InstanceType to Primary, you can set NetworkInterface.N.NetworkCardIndex only to 0 for instance types that support network cards.
867
865
  * * If you set NetworkInterface.N.InstanceType to Secondary or leave NetworkInterface.N.InstanceType empty, you can specify NetworkInterface.N.NetworkCardIndex based on instance types if the instance types support network cards. For more information, see [Overview of instance families](https://help.aliyun.com/document_detail/25378.html).
868
866
  *
@@ -872,7 +870,7 @@ export class RunInstancesRequestNetworkInterface extends $dara.Model {
872
870
  networkCardIndex?: number;
873
871
  /**
874
872
  * @remarks
875
- * The ID of ENI N to attach to the instance.
873
+ * The ID of the ENI to attach to the instance.
876
874
  *
877
875
  * If you specify this parameter, you must set `Amount` to 1.
878
876
  *
@@ -941,7 +939,7 @@ export class RunInstancesRequestNetworkInterface extends $dara.Model {
941
939
  *
942
940
  * * The value of N cannot exceed the maximum number of ENIs per instance that the instance type supports. For the maximum number of ENIs per instance that an instance type supports, see [Overview of instance families](https://help.aliyun.com/document_detail/25378.html) or call the [DescribeInstanceTypes](https://help.aliyun.com/document_detail/2679699.html) operation.
943
941
  * * The value of this parameter cannot exceed the maximum number of queues allowed per ENI.
944
- * * The total number of queues for all ENIs on an instance cannot exceed the queue quota for the instance type. To query the maximum number of queues per ENI and the queue quota for an instance type, you can call the [DescribeInstanceTypes](https://help.aliyun.com/document_detail/25620.html) operation and check the `MaximumQueueNumberPerEni` and `TotalEniQueueQuantity` values in the response.
942
+ * * The total number of queues for all ENIs of an instance cannot exceed the queue quota for the instance type. To query the maximum number of queues per ENI and the queue quota for an instance type, you can call the [DescribeInstanceTypes](https://help.aliyun.com/document_detail/25620.html) operation and check the `MaximumQueueNumberPerEni` and `TotalEniQueueQuantity` values in the response.
945
943
  * * If you specify this parameter and set `NetworkInterface.N.InstanceType` to `Primary`, you cannot specify `NetworkInterfaceQueueNumber`.
946
944
  *
947
945
  * @example
@@ -984,7 +982,7 @@ export class RunInstancesRequestNetworkInterface extends $dara.Model {
984
982
  *
985
983
  * * The value of N cannot exceed the maximum number of ENIs per instance that the instance type supports. For the maximum number of ENIs per instance that an instance type supports, see [Overview of instance families](https://help.aliyun.com/document_detail/25378.html) or call the [DescribeInstanceTypes](https://help.aliyun.com/document_detail/2679699.html) operation.
986
984
  * * If `NetworkInterface.N.InstanceType` is set to `Primary`, you must specify this parameter. In this case, this parameter is equivalent to `SecurityGroupId` and you cannot specify `SecurityGroupId`, `SecurityGroupIds.N`, or `NetworkInterface.N.SecurityGroupIds.N`.
987
- * * If `NetworkInterface.N.InstanceType` is set to `Secondary` or left empty, you do not need to specify this parameter. The default value is the ID of the security group to which to assign the instance.
985
+ * * If you set `NetworkInterface.N.InstanceType` to `Secondary` or leave NetworkInterface.N.InstanceType empty, you do not need to specify this parameter. The default value is the ID of the security group to which to assign the instance.
988
986
  *
989
987
  * @example
990
988
  * sg-bp67acfmxazb4p****
@@ -995,7 +993,7 @@ export class RunInstancesRequestNetworkInterface extends $dara.Model {
995
993
  * The IDs of security groups to which to assign ENI N.
996
994
  *
997
995
  * * The value of the first N in this parameter cannot exceed the maximum number of ENIs per instance that the instance type supports. For the maximum number of ENIs per instance that an instance type supports, see [Overview of instance families](https://help.aliyun.com/document_detail/25378.html) or call the [DescribeInstanceTypes](https://help.aliyun.com/document_detail/2679699.html) operation.
998
- * * The second N in this parameter indicates that one or more security group IDs can be specified. The valid values of the second N vary based on the maximum number of security groups to which an instance can belong. For more information, see the [Security group limits](~~25412#SecurityGroupQuota1~~) section of the "Limits" topic.
996
+ * * The second N in this parameter indicates that one or more security group IDs can be specified. The valid values of the second N vary based on the maximum number of security groups to which an instance can belong. For more information, see [Security group limits](~~25412#SecurityGroupQuota1~~).
999
997
  *
1000
998
  * Take note of the following items:
1001
999
  *
@@ -1008,7 +1006,14 @@ export class RunInstancesRequestNetworkInterface extends $dara.Model {
1008
1006
  securityGroupIds?: string[];
1009
1007
  /**
1010
1008
  * @remarks
1011
- * > This parameter is in invitational preview and is not publicly available.
1009
+ * Specifies whether to enable the source and destination IP address check feature. We recommend that you enable the feature to improve network security. Valid value:
1010
+ *
1011
+ * * true: enables the performance burst feature for the system disk.
1012
+ * * false: disables the performance burst feature for the data disk.
1013
+ *
1014
+ * Default value: false.
1015
+ *
1016
+ * > This feature is available only in some regions. Before you use this method, read [Source and destination IP address check](https://help.aliyun.com/document_detail/2863210.html).
1012
1017
  *
1013
1018
  * @example
1014
1019
  * false
@@ -1034,7 +1039,7 @@ export class RunInstancesRequestNetworkInterface extends $dara.Model {
1034
1039
  * @remarks
1035
1040
  * The ID of the vSwitch to which to connect ENI N.
1036
1041
  *
1037
- * Take note of the following items:
1042
+ * When you specify this parameter, take note of the following items:
1038
1043
  *
1039
1044
  * * The value of N cannot exceed the maximum number of ENIs per instance that the instance type supports. For the maximum number of ENIs per instance that an instance type supports, see [Overview of instance families](https://help.aliyun.com/document_detail/25378.html) or call the [DescribeInstanceTypes](https://help.aliyun.com/document_detail/2679699.html) operation.
1040
1045
  * * If `NetworkInterface.N.InstanceType` is set to `Primary`, you must specify this parameter. In this case, this parameter is equivalent to `VSwitchId`. You cannot specify both NetworkInterface.N.VSwitchId and `VSwitchId` in the same request.
@@ -1106,6 +1111,7 @@ export class RunInstancesRequestNetworkInterface extends $dara.Model {
1106
1111
  }
1107
1112
 
1108
1113
  export class RunInstancesRequestNetworkOptions extends $dara.Model {
1114
+ bandwidthWeighting?: string;
1109
1115
  /**
1110
1116
  * @remarks
1111
1117
  * Specifies whether to enable the Jumbo Frames feature for the instance. Valid values:
@@ -1124,6 +1130,7 @@ export class RunInstancesRequestNetworkOptions extends $dara.Model {
1124
1130
  enableNetworkEncryption?: boolean;
1125
1131
  static names(): { [key: string]: string } {
1126
1132
  return {
1133
+ bandwidthWeighting: 'BandwidthWeighting',
1127
1134
  enableJumboFrame: 'EnableJumboFrame',
1128
1135
  enableNetworkEncryption: 'EnableNetworkEncryption',
1129
1136
  };
@@ -1131,6 +1138,7 @@ export class RunInstancesRequestNetworkOptions extends $dara.Model {
1131
1138
 
1132
1139
  static types(): { [key: string]: any } {
1133
1140
  return {
1141
+ bandwidthWeighting: 'string',
1134
1142
  enableJumboFrame: 'boolean',
1135
1143
  enableNetworkEncryption: 'boolean',
1136
1144
  };
@@ -1412,10 +1420,12 @@ export class RunInstancesRequest extends $dara.Model {
1412
1420
  dataDisk?: RunInstancesRequestDataDisk[];
1413
1421
  /**
1414
1422
  * @remarks
1415
- * The ID of the dedicated host on which to create the instance. Spot instances cannot be created on dedicated hosts. If you specify `DedicatedHostId`, `SpotStrategy` and `SpotPriceLimit` are ignored.
1423
+ * The ID of the dedicated host.
1416
1424
  *
1417
1425
  * You can call the [DescribeDedicatedHosts](https://help.aliyun.com/document_detail/134242.html) operation to query the list of dedicated host IDs.
1418
1426
  *
1427
+ * > Spot instances cannot be created on dedicated hosts. If you specify DedicatedHostId, SpotStrategy and SpotPriceLimit are automatically ignored.
1428
+ *
1419
1429
  * @example
1420
1430
  * dh-bp67acfmxazb4p****
1421
1431
  */
@@ -1925,12 +1935,20 @@ export class RunInstancesRequest extends $dara.Model {
1925
1935
  securityGroupIds?: string[];
1926
1936
  /**
1927
1937
  * @remarks
1928
- * The protection period of the spot instance. Unit: hours. Default value: 1. Valid values:
1938
+ * The protection period of the spot instance. Unit: hours. Valid values:
1929
1939
  *
1930
1940
  * * 1: After a spot instance is created, Alibaba Cloud ensures that the instance is not automatically released within 1 hour. After the 1-hour protection period ends, the system compares the bid price with the market price and checks the resource inventory to determine whether to retain or release the instance.
1931
- * * 0: After a spot instance is created, Alibaba Cloud does not ensure that the instance runs for 1 hour. The system compares the bid price with the market price and checks the resource inventory to determine whether to retain or release the instance.
1941
+ * * 0: After a spot instance is created, Alibaba Cloud does not ensure that the instance can run for one hour. The system compares the biding price with the market prices and checks the resource inventory to determine whether to retain or release the instance.
1942
+ *
1943
+ * Default value: 1.
1944
+ *
1945
+ * >
1946
+ *
1947
+ * * You can set this parameter only to 0 or 1.
1948
+ *
1949
+ * * The spot instance is billed by second. Specify an appropriate protection period.
1932
1950
  *
1933
- * Alibaba Cloud sends an ECS system event to notify you 5 minutes before the instance is released. The spot instance is billed by second. We recommend that you specify an appropriate protection period based on your business requirements.
1951
+ * * Alibaba Cloud sends an ECS system event to notify you 5 minutes before the instance is released.
1934
1952
  *
1935
1953
  * @example
1936
1954
  * 1
@@ -31,7 +31,7 @@ export class RunInstancesResponseBodyInstanceIdSets extends $dara.Model {
31
31
  export class RunInstancesResponseBody extends $dara.Model {
32
32
  /**
33
33
  * @remarks
34
- * The instance IDs (`InstanceIdSet`).
34
+ * The instance IDs.
35
35
  */
36
36
  instanceIdSets?: RunInstancesResponseBodyInstanceIdSets;
37
37
  /**
@@ -155,6 +155,8 @@ export { DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAutoPro
155
155
  export { DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAutoProvisioningGroupTargetCapacitySpecification } from './DescribeAutoProvisioningGroupsResponseBody';
156
156
  export { DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAutoProvisioningGroup } from './DescribeAutoProvisioningGroupsResponseBody';
157
157
  export { DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroups } from './DescribeAutoProvisioningGroupsResponseBody';
158
+ export { DescribeAutoSnapshotPolicyAssociationsResponseBodyAutoSnapshotPolicyAssociationsAutoSnapshotPolicyAssociation } from './DescribeAutoSnapshotPolicyAssociationsResponseBody';
159
+ export { DescribeAutoSnapshotPolicyAssociationsResponseBodyAutoSnapshotPolicyAssociations } from './DescribeAutoSnapshotPolicyAssociationsResponseBody';
158
160
  export { DescribeAutoSnapshotPolicyExRequestTag } from './DescribeAutoSnapshotPolicyExRequest';
159
161
  export { DescribeAutoSnapshotPolicyExResponseBodyAutoSnapshotPoliciesAutoSnapshotPolicyCopyEncryptionConfiguration } from './DescribeAutoSnapshotPolicyExResponseBody';
160
162
  export { DescribeAutoSnapshotPolicyExResponseBodyAutoSnapshotPoliciesAutoSnapshotPolicyTagsTag } from './DescribeAutoSnapshotPolicyExResponseBody';
@@ -1194,6 +1196,9 @@ export { DescribeAutoProvisioningGroupInstancesResponse } from './DescribeAutoPr
1194
1196
  export { DescribeAutoProvisioningGroupsRequest } from './DescribeAutoProvisioningGroupsRequest';
1195
1197
  export { DescribeAutoProvisioningGroupsResponseBody } from './DescribeAutoProvisioningGroupsResponseBody';
1196
1198
  export { DescribeAutoProvisioningGroupsResponse } from './DescribeAutoProvisioningGroupsResponse';
1199
+ export { DescribeAutoSnapshotPolicyAssociationsRequest } from './DescribeAutoSnapshotPolicyAssociationsRequest';
1200
+ export { DescribeAutoSnapshotPolicyAssociationsResponseBody } from './DescribeAutoSnapshotPolicyAssociationsResponseBody';
1201
+ export { DescribeAutoSnapshotPolicyAssociationsResponse } from './DescribeAutoSnapshotPolicyAssociationsResponse';
1197
1202
  export { DescribeAutoSnapshotPolicyExRequest } from './DescribeAutoSnapshotPolicyExRequest';
1198
1203
  export { DescribeAutoSnapshotPolicyExResponseBody } from './DescribeAutoSnapshotPolicyExResponseBody';
1199
1204
  export { DescribeAutoSnapshotPolicyExResponse } from './DescribeAutoSnapshotPolicyExResponse';
@@ -1715,6 +1720,9 @@ export { ModifyInstanceMaintenanceAttributesResponse } from './ModifyInstanceMai
1715
1720
  export { ModifyInstanceMetadataOptionsRequest } from './ModifyInstanceMetadataOptionsRequest';
1716
1721
  export { ModifyInstanceMetadataOptionsResponseBody } from './ModifyInstanceMetadataOptionsResponseBody';
1717
1722
  export { ModifyInstanceMetadataOptionsResponse } from './ModifyInstanceMetadataOptionsResponse';
1723
+ export { ModifyInstanceNetworkOptionsRequest } from './ModifyInstanceNetworkOptionsRequest';
1724
+ export { ModifyInstanceNetworkOptionsResponseBody } from './ModifyInstanceNetworkOptionsResponseBody';
1725
+ export { ModifyInstanceNetworkOptionsResponse } from './ModifyInstanceNetworkOptionsResponse';
1718
1726
  export { ModifyInstanceNetworkSpecRequest } from './ModifyInstanceNetworkSpecRequest';
1719
1727
  export { ModifyInstanceNetworkSpecResponseBody } from './ModifyInstanceNetworkSpecResponseBody';
1720
1728
  export { ModifyInstanceNetworkSpecResponse } from './ModifyInstanceNetworkSpecResponse';