tencentcloud-sdk-nodejs-intl-en 3.0.1432 → 3.0.1433
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/package.json +1 -1
- package/tencentcloud/as/v20180419/as_client.js +5 -4
- package/tencentcloud/as/v20180419/models.js +279 -259
- package/tencentcloud/ciam/index.js +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/es/index.js +1 -1
- package/tencentcloud/monitor/v20230616/models.js +3585 -177
- package/tencentcloud/monitor/v20230616/monitor_client.js +319 -3
- package/tencentcloud/sms/v20210111/models.js +2 -2
- package/tencentcloud/sms/v20210111/sms_client.js +0 -1
- package/tencentcloud/tdmysql/v20211122/models.js +180 -115
- package/tencentcloud/tdmysql/v20211122/tdmysql_client.js +16 -15
- package/tencentcloud/tem/index.js +1 -1
- package/tencentcloud/tione/v20211111/models.js +1703 -280
- package/tencentcloud/tione/v20211111/tione_client.js +40 -7
- package/tencentcloud/vm/index.js +1 -1
- package/tencentcloud/wedata/index.js +1 -1
|
@@ -53,189 +53,167 @@ class ModifyLaunchConfigurationAttributesRequest extends AbstractModel {
|
|
|
53
53
|
super();
|
|
54
54
|
|
|
55
55
|
/**
|
|
56
|
-
* Launch configuration ID.
|
|
56
|
+
* <p>Launch configuration ID. You can obtain it by logging in to the <a href="https://console.cloud.tencent.com/autoscaling/config">console</a> or calling the <a href="https://www.tencentcloud.com/document/api/377/20445?from_cn_redirect=1">DescribeLaunchConfigurations</a> API, and retrieving LaunchConfigurationId from the returned information.</p>
|
|
57
57
|
* @type {string || null}
|
|
58
58
|
*/
|
|
59
59
|
this.LaunchConfigurationId = null;
|
|
60
60
|
|
|
61
61
|
/**
|
|
62
|
-
*
|
|
62
|
+
* <p>Specify a valid <a href="https://www.tencentcloud.com/document/product/213/4940?from_cn_redirect=1">image</a> ID, such as <code>img-8toqc6s3</code>. There are four image types:<br><li>Public image</li><li>Custom image</li><li>Shared image</li><li>Service market image</li><br>You can obtain an available image ID in the following ways:<br><li>For <code>public images</code>, <code>custom images</code>, and <code>shared images</code>, query the image ID by logging in to the <a href="https://console.cloud.tencent.com/cvm/image?rid=1&imageType=PUBLIC_IMAGE">console</a>. For <code>service market images</code>, query the image ID in the <a href="https://market.cloud.tencent.com/list">cloud market</a>.</li><li>Call the <a href="https://www.tencentcloud.com/document/api/213/15715?from_cn_redirect=1">DescribeImages</a> API and take the <code>ImageId</code> field from the returned information.</li></p>
|
|
63
63
|
* @type {string || null}
|
|
64
64
|
*/
|
|
65
65
|
this.ImageId = null;
|
|
66
66
|
|
|
67
67
|
/**
|
|
68
|
-
* Types of
|
|
69
|
-
The launch configuration uses `InstanceType` to indicate one single instance type and `InstanceTypes` to indicate multiple instance types. specifying the `InstanceTypes` field will invalidate the original `InstanceType`. specific values can be obtained by calling the api [DescribeZoneInstanceConfigInfos](https://www.tencentcloud.com/document/product/213/33254) to obtain the latest specification table or refer to [instance specifications](https://intl.cloud.tencent.com/document/product/213/11518?from_cn_redirect=1).
|
|
68
|
+
* <p>Types of CVM instances. Different instance models specify different resource specifications, and a maximum of 10 instance models are supported.<br>InstanceType specifies a single instance type. By setting InstanceTypes, you can specify multiple instance types and invalidate the original InstanceType. Specific values can be obtained by calling the API <a href="https://www.tencentcloud.com/document/api/213/15749?from_cn_redirect=1">DescribeInstanceTypeConfigs</a> to obtain the latest specification table or see <a href="https://www.tencentcloud.com/document/product/213/11518?from_cn_redirect=1">Instance Specifications</a>.</p>
|
|
70
69
|
* @type {Array.<string> || null}
|
|
71
70
|
*/
|
|
72
71
|
this.InstanceTypes = null;
|
|
73
72
|
|
|
74
73
|
/**
|
|
75
|
-
*
|
|
76
|
-
<li>ALL: Verification passes if all InstanceTypes are available; otherwise, a verification error will be reported.</li>
|
|
77
|
-
<li>ANY: Verification passes if any InstanceType is available; otherwise, a verification error will be reported.</li>
|
|
78
|
-
Common reasons for unavailable InstanceTypes include the InstanceType being sold out, and the corresponding cloud disk being sold out.
|
|
79
|
-
If a model in InstanceTypes does not exist or has been abolished, a verification error will be reported regardless of the valid values set for InstanceTypesCheckPolicy.
|
|
74
|
+
* <p>Instance type validation policy, effective during actual modification of InstanceTypes. Valid values include ALL and ANY, default value: ANY.</p><li>ALL: Verification passes if all InstanceTypes are available; otherwise, a verification error will be reported.</li> <li>ANY: Verification passes if any InstanceType is available; otherwise, a verification error will be reported.</li> Common causes of InstanceTypes unavailable include InstanceType sold out, corresponding cloud disk sold out. If a model in InstanceTypes does not exist or has been removed, a verification error will be reported regardless of the value of InstanceTypesCheckPolicy.
|
|
80
75
|
* @type {string || null}
|
|
81
76
|
*/
|
|
82
77
|
this.InstanceTypesCheckPolicy = null;
|
|
83
78
|
|
|
84
79
|
/**
|
|
85
|
-
* Display name of the launch configuration
|
|
80
|
+
* <p>Display name of the launch configuration. The name only supports Chinese, English, numbers, underscores, separator "-", and decimal points. The maximum length cannot exceed 60 bytes.</p>
|
|
86
81
|
* @type {string || null}
|
|
87
82
|
*/
|
|
88
83
|
this.LaunchConfigurationName = null;
|
|
89
84
|
|
|
90
85
|
/**
|
|
91
|
-
*
|
|
86
|
+
* <p>The custom data after Base64 encoding should not exceed 16 KB. To clear UserData, assign it an empty string.</p>
|
|
92
87
|
* @type {string || null}
|
|
93
88
|
*/
|
|
94
89
|
this.UserData = null;
|
|
95
90
|
|
|
96
91
|
/**
|
|
97
|
-
* Security group to which the instance belongs.
|
|
98
|
-
At least one security group is required for this parameter. The security group specified is sequential.
|
|
92
|
+
* <p>Security group to which the instance belongs. You can obtain this parameter by calling the <a href="https://www.tencentcloud.com/document/api/215/15808?from_cn_redirect=1">DescribeSecurityGroups</a> API and getting the <code>SecurityGroupId</code> field in the return value.<br>If you specify this parameter, provide at least one security group, and the list order is sequential.</p>
|
|
99
93
|
* @type {Array.<string> || null}
|
|
100
94
|
*/
|
|
101
95
|
this.SecurityGroupIds = null;
|
|
102
96
|
|
|
103
97
|
/**
|
|
104
|
-
*
|
|
105
|
-
When the public outbound network bandwidth is 0 Mbps, assigning a public IP is not allowed. Accordingly, if a public IP is assigned, the new public network outbound bandwidth must be greater than 0 Mbps.
|
|
98
|
+
* <p>Public network bandwidth-related information settings.<br>When the public network outbound bandwidth cap is 0 Mbps, it cannot be modified to enable assigning public IP. Accordingly, when assigning public IP is currently enabled, the modified public network outbound bandwidth cap must be greater than 0 Mbps.</p>
|
|
106
99
|
* @type {InternetAccessible || null}
|
|
107
100
|
*/
|
|
108
101
|
this.InternetAccessible = null;
|
|
109
102
|
|
|
110
103
|
/**
|
|
111
|
-
* Instance billing
|
|
112
|
-
<li>POSTPAID_BY_HOUR: pay-as-you-go hourly</li>
|
|
113
|
-
<li>SPOTPAID: spot instance</li>
|
|
114
|
-
<li> CDCPAID: dedicated cluster</li>
|
|
104
|
+
* <p>Instance billing type. Valid values:</p><li>POSTPAID_BY_HOUR: hourly postpaid</li><li>SPOTPAID: spot payment</li><li>PREPAID: prepaid, which is a Monthly Subscription</li><li>CDCPAID: dedicated cluster payment</li>
|
|
115
105
|
* @type {string || null}
|
|
116
106
|
*/
|
|
117
107
|
this.InstanceChargeType = null;
|
|
118
108
|
|
|
119
109
|
/**
|
|
120
|
-
*
|
|
121
|
-
This parameter is required when changing the instance billing mode to monthly subscription. It will be automatically discarded after you choose another billing mode.
|
|
122
|
-
This field requires passing in the `Period` field. Other fields that are not passed in will use their default values.
|
|
123
|
-
This field can be modified only when the current billing mode is monthly subscription.
|
|
110
|
+
* <p>Prepaid mode, that is, parameter settings related to monthly/annual subscription. By specifying this parameter, you can set attributes such as the duration of instance purchase and whether to enable auto-renewal.<br>If you change the payment mode of an instance to prepaid, this parameter is required. When changing from prepaid to other payment modes, the original info in this field is automatically discarded.<br>When adding this field, you must specify the duration of instance purchase. Other fields not specified will be set to default values.<br>When modifying this field, the current payment mode must be prepaid.</p>
|
|
124
111
|
* @type {InstanceChargePrepaid || null}
|
|
125
112
|
*/
|
|
126
113
|
this.InstanceChargePrepaid = null;
|
|
127
114
|
|
|
128
115
|
/**
|
|
129
|
-
* Market-related options
|
|
130
|
-
This parameter is required when changing the instance billing mode to spot instance. It will be automatically discarded after you choose another instance billing mode.
|
|
131
|
-
This field requires passing in the `MaxPrice` field under the `SpotOptions`. Other fields that are not passed in will use their default values.
|
|
132
|
-
This field can be modified only when the current billing mode is spot instance.
|
|
116
|
+
* <p>Market-related options of the instance, such as bidding instance parameters.<br>If you change the payment mode of the instance to spot payment, this parameter is required. When changing from spot payment to other payment modes, the original info in this field is automatically discarded.<br>When adding this field, you must transmit the bid price under relevant spot options. Other fields not transmitted will be set as default.<br>When modifying this field, the current payment mode must be spot payment.</p>
|
|
133
117
|
* @type {InstanceMarketOptionsRequest || null}
|
|
134
118
|
*/
|
|
135
119
|
this.InstanceMarketOptions = null;
|
|
136
120
|
|
|
137
121
|
/**
|
|
138
|
-
* Cloud disk type selection policy.
|
|
139
|
-
<li>ORIGINAL: Use the set cloud disk type.</li>
|
|
140
|
-
<li>AUTOMATIC: Automatically select the currently available cloud disk type.</li>
|
|
122
|
+
* <p>Cloud disk type selection policy. Value range:</p><li>ORIGINAL: use the set cloud disk type.</li><li>AUTOMATIC: automatically select the currently available cloud disk type.</li>
|
|
141
123
|
* @type {string || null}
|
|
142
124
|
*/
|
|
143
125
|
this.DiskTypePolicy = null;
|
|
144
126
|
|
|
145
127
|
/**
|
|
146
|
-
* Instance system disk
|
|
128
|
+
* <p>Instance system disk configuration information.</p>
|
|
147
129
|
* @type {SystemDisk || null}
|
|
148
130
|
*/
|
|
149
131
|
this.SystemDisk = null;
|
|
150
132
|
|
|
151
133
|
/**
|
|
152
|
-
*
|
|
153
|
-
Up to 11 data disks can be specified and will be collectively modified. Please provide all the new values for the modification.
|
|
154
|
-
The default data disk should be the same as the system disk.
|
|
134
|
+
* <p>Instance data disk configuration information.<br>Supports up to 11 data disks. Apply the modification as a whole, so provide all values after modification.<br>The data disk type is consistent with the system disk type by default.</p>
|
|
155
135
|
* @type {Array.<DataDisk> || null}
|
|
156
136
|
*/
|
|
157
137
|
this.DataDisks = null;
|
|
158
138
|
|
|
159
139
|
/**
|
|
160
|
-
*
|
|
161
|
-
windows instances do not support setting hostname.
|
|
162
|
-
When adding new attributes, the cloud virtual machine hostname must be transmitted. other fields not transmitted will be set as default.
|
|
163
|
-
Validates whether the host name (with suffix added if it exists) exceeds the maximum of 46 characters.
|
|
140
|
+
* <p>Settings for the CVM host name.<br>Configuring the host name for windows instances is not supported.<br>When adding this attribute, you must transmit the CVM host name. Other fields not transmitted will be set to default values.<br>The host name (with the suffix added if it exists) is verified to check whether it exceeds the maximum length of 46 characters.</p>
|
|
164
141
|
* @type {HostNameSettings || null}
|
|
165
142
|
*/
|
|
166
143
|
this.HostNameSettings = null;
|
|
167
144
|
|
|
168
145
|
/**
|
|
169
|
-
*
|
|
170
|
-
If the user sets this field in the launch configuration, the instance name of the instance created by the scaling group will be set according to this field and passed to CVM. if the user does not set this field in the launch configuration, the instance name of the instance created by the scaling group will be set as "as-{{ scaling group AutoScalingGroupName }}" and passed to CVM.
|
|
171
|
-
Specifies the instance name of the cloud virtual machine when adding this attribute. other fields not transmitted will be set as default.
|
|
172
|
-
Verifies whether the instance name (add the suffix if it exists) exceeds the maximum of 108 characters.
|
|
146
|
+
* <p>Settings related to the CVM instance name (InstanceName).<br>If the user sets this field in the launch configuration, the InstanceName of instances created by the scaling group will be set according to this field and transmitted to CVM. If the user does not set this field in the launch configuration, the InstanceName of instances created by the scaling group will be set as "as-{{ AutoScalingGroupName }}" and transmitted to CVM.<br>When adding this attribute, the CVM instance name must be transmitted. Other fields not transmitted will be set to default values.<br>It will verify whether the instance name (with the suffix added if it exists) exceeds the maximum length of 108 characters.</p>
|
|
173
147
|
* @type {InstanceNameSettings || null}
|
|
174
148
|
*/
|
|
175
149
|
this.InstanceNameSettings = null;
|
|
176
150
|
|
|
177
151
|
/**
|
|
178
|
-
*
|
|
152
|
+
* <p>Enhanced service. This parameter can be used to specify whether to enable services such as cloud security and Cloud Monitor.</p>
|
|
179
153
|
* @type {EnhancedService || null}
|
|
180
154
|
*/
|
|
181
155
|
this.EnhancedService = null;
|
|
182
156
|
|
|
183
157
|
/**
|
|
184
|
-
*
|
|
158
|
+
* <p>CAM role name, which can be obtained from the roleName in the return value from the <a href="https://www.tencentcloud.com/document/product/598/36223?from_cn_redirect=1">DescribeRoleList</a> API.</p>
|
|
185
159
|
* @type {string || null}
|
|
186
160
|
*/
|
|
187
161
|
this.CamRoleName = null;
|
|
188
162
|
|
|
189
163
|
/**
|
|
190
|
-
*
|
|
191
|
-
Note: this field is empty by default.
|
|
164
|
+
* <p>Hyper Computing Cluster ID. You can obtain this parameter by calling the <a href="https://www.tencentcloud.com/document/product/213/83220?from_cn_redirect=1">DescribeHpcClusters</a> API.<br>Note: This field is empty by default.</p>
|
|
192
165
|
* @type {string || null}
|
|
193
166
|
*/
|
|
194
167
|
this.HpcClusterId = null;
|
|
195
168
|
|
|
196
169
|
/**
|
|
197
|
-
* IPv6 public network bandwidth
|
|
170
|
+
* <p>IPv6 public network bandwidth-related information settings. If the new instance includes an IPv6 address, this parameter can allocate public network bandwidth for the IPv6 address of the new instance. When the Ipv6AddressCount parameter of the scaling group associated with the launch configuration is 0, this parameter will not take effect.</p>
|
|
198
171
|
* @type {IPv6InternetAccessible || null}
|
|
199
172
|
*/
|
|
200
173
|
this.IPv6InternetAccessible = null;
|
|
201
174
|
|
|
202
175
|
/**
|
|
203
|
-
* Placement
|
|
176
|
+
* <p>Placement Group id. Only one can be specified. You can obtain this parameter by calling the <a href="https://www.tencentcloud.com/document/product/213/17810?from_cn_redirect=1">DescribeDisasterRecoverGroups</a> API.</p>
|
|
204
177
|
* @type {Array.<string> || null}
|
|
205
178
|
*/
|
|
206
179
|
this.DisasterRecoverGroupIds = null;
|
|
207
180
|
|
|
208
181
|
/**
|
|
209
|
-
* Instance login settings,
|
|
182
|
+
* <p>Instance login settings, including passwords, keys, or maintaining the image's original login settings.<br>Please note that specifying new login settings overwrites existing login settings. For example, if you previously used a password to login, use this parameter to change login settings to a key, and the original password is removed.</p>
|
|
210
183
|
* @type {LoginSettings || null}
|
|
211
184
|
*/
|
|
212
185
|
this.LoginSettings = null;
|
|
213
186
|
|
|
214
187
|
/**
|
|
215
|
-
* Instance tag list. By specifying this parameter, the instances added through scale-out can be bound to the tag. Up to 10 Tags can be specified.
|
|
216
|
-
This parameter will overwrite the original instance tag list. To add new tags, you need to pass the new tags along with the original tags.
|
|
188
|
+
* <p>Instance tag list. By specifying this parameter, the instances added through scale-out can be bound to the tag. Up to 10 Tags can be specified.<br>This parameter overrides the original instance tag list. To add a tag, import both the new tag and the original tags.</p>
|
|
217
189
|
* @type {Array.<InstanceTag> || null}
|
|
218
190
|
*/
|
|
219
191
|
this.InstanceTags = null;
|
|
220
192
|
|
|
221
193
|
/**
|
|
222
|
-
* Image family name.
|
|
194
|
+
* <p>Image family name. You can obtain this parameter by calling the <a href="https://www.tencentcloud.com/document/product/213/15715?from_cn_redirect=1">DescribeImages</a> API.</p>
|
|
223
195
|
* @type {string || null}
|
|
224
196
|
*/
|
|
225
197
|
this.ImageFamily = null;
|
|
226
198
|
|
|
227
199
|
/**
|
|
228
|
-
*
|
|
200
|
+
* <p>Local exclusive cluster ID.</p>
|
|
229
201
|
* @type {string || null}
|
|
230
202
|
*/
|
|
231
203
|
this.DedicatedClusterId = null;
|
|
232
204
|
|
|
233
205
|
/**
|
|
234
|
-
* Custom metadata
|
|
206
|
+
* <p>Custom metadata.</p>
|
|
235
207
|
* @type {Metadata || null}
|
|
236
208
|
*/
|
|
237
209
|
this.Metadata = null;
|
|
238
210
|
|
|
211
|
+
/**
|
|
212
|
+
* <p>Replace the ENI configuration in the launch configuration.</p><p>Input limits: up to 17 items; must explicitly include and can only contain one PRIMARY. AS does not auto-complete the primary ENI. An explicit empty array is illegal.</p><p>Field rules match CreateLaunchConfiguration. To clean up, call ClearLaunchConfigurationAttributes with ClearNetworkInterfaces=true.</p>
|
|
213
|
+
* @type {Array.<NetworkInterface> || null}
|
|
214
|
+
*/
|
|
215
|
+
this.NetworkInterfaces = null;
|
|
216
|
+
|
|
239
217
|
}
|
|
240
218
|
|
|
241
219
|
/**
|
|
@@ -338,6 +316,15 @@ This parameter will overwrite the original instance tag list. To add new tags, y
|
|
|
338
316
|
this.Metadata = obj;
|
|
339
317
|
}
|
|
340
318
|
|
|
319
|
+
if (params.NetworkInterfaces) {
|
|
320
|
+
this.NetworkInterfaces = new Array();
|
|
321
|
+
for (let z in params.NetworkInterfaces) {
|
|
322
|
+
let obj = new NetworkInterface();
|
|
323
|
+
obj.deserialize(params.NetworkInterfaces[z]);
|
|
324
|
+
this.NetworkInterfaces.push(obj);
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
|
|
341
328
|
}
|
|
342
329
|
}
|
|
343
330
|
|
|
@@ -462,7 +449,7 @@ class ModifyAutoScalingGroupRequest extends AbstractModel {
|
|
|
462
449
|
this.LaunchConfigurationId = null;
|
|
463
450
|
|
|
464
451
|
/**
|
|
465
|
-
* <
|
|
452
|
+
* <p>Maximum instance count, value range: [0, 2000]. The maximum value must be greater than or equal to the expected value, and the expected value must be greater than or equal to the minimum value.</p><p>Value range: [0, 2000]</p>
|
|
466
453
|
* @type {number || null}
|
|
467
454
|
*/
|
|
468
455
|
this.MaxSize = null;
|
|
@@ -923,210 +910,209 @@ class LaunchConfiguration extends AbstractModel {
|
|
|
923
910
|
super();
|
|
924
911
|
|
|
925
912
|
/**
|
|
926
|
-
* Project ID of the instance
|
|
913
|
+
* <p>Project ID of the instance.</p>
|
|
927
914
|
* @type {number || null}
|
|
928
915
|
*/
|
|
929
916
|
this.ProjectId = null;
|
|
930
917
|
|
|
931
918
|
/**
|
|
932
|
-
* Launch configuration ID
|
|
919
|
+
* <p>Launch configuration ID.</p>
|
|
933
920
|
* @type {string || null}
|
|
934
921
|
*/
|
|
935
922
|
this.LaunchConfigurationId = null;
|
|
936
923
|
|
|
937
924
|
/**
|
|
938
|
-
*
|
|
925
|
+
* <p>Startup configuration name.</p>
|
|
939
926
|
* @type {string || null}
|
|
940
927
|
*/
|
|
941
928
|
this.LaunchConfigurationName = null;
|
|
942
929
|
|
|
943
930
|
/**
|
|
944
|
-
* Instance model
|
|
931
|
+
* <p>Instance model.</p>
|
|
945
932
|
* @type {string || null}
|
|
946
933
|
*/
|
|
947
934
|
this.InstanceType = null;
|
|
948
935
|
|
|
949
936
|
/**
|
|
950
|
-
*
|
|
937
|
+
* <p>Instance system disk configuration information.</p>
|
|
951
938
|
* @type {SystemDisk || null}
|
|
952
939
|
*/
|
|
953
940
|
this.SystemDisk = null;
|
|
954
941
|
|
|
955
942
|
/**
|
|
956
|
-
*
|
|
943
|
+
* <p>Instance data disk configuration information.</p>
|
|
957
944
|
* @type {Array.<DataDisk> || null}
|
|
958
945
|
*/
|
|
959
946
|
this.DataDisks = null;
|
|
960
947
|
|
|
961
948
|
/**
|
|
962
|
-
* Instance login settings
|
|
949
|
+
* <p>Instance login settings.</p>
|
|
963
950
|
* @type {LimitedLoginSettings || null}
|
|
964
951
|
*/
|
|
965
952
|
this.LoginSettings = null;
|
|
966
953
|
|
|
967
954
|
/**
|
|
968
|
-
*
|
|
955
|
+
* <p>Public network bandwidth-related information settings.</p>
|
|
969
956
|
* @type {InternetAccessible || null}
|
|
970
957
|
*/
|
|
971
958
|
this.InternetAccessible = null;
|
|
972
959
|
|
|
973
960
|
/**
|
|
974
|
-
* Security group
|
|
961
|
+
* <p>Security group to which an instance belongs.</p>
|
|
975
962
|
* @type {Array.<string> || null}
|
|
976
963
|
*/
|
|
977
964
|
this.SecurityGroupIds = null;
|
|
978
965
|
|
|
979
966
|
/**
|
|
980
|
-
*
|
|
967
|
+
* <p>The scaling group bound to the launch configuration.</p>
|
|
981
968
|
* @type {Array.<AutoScalingGroupAbstract> || null}
|
|
982
969
|
*/
|
|
983
970
|
this.AutoScalingGroupAbstractSet = null;
|
|
984
971
|
|
|
985
972
|
/**
|
|
986
|
-
* Custom data
|
|
987
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
973
|
+
* <p>Custom data.</p>
|
|
988
974
|
* @type {string || null}
|
|
989
975
|
*/
|
|
990
976
|
this.UserData = null;
|
|
991
977
|
|
|
992
978
|
/**
|
|
993
|
-
*
|
|
979
|
+
* <p>Launch configuration creation time, in standard <code>UTC</code> time.</p>
|
|
994
980
|
* @type {string || null}
|
|
995
981
|
*/
|
|
996
982
|
this.CreatedTime = null;
|
|
997
983
|
|
|
998
984
|
/**
|
|
999
|
-
*
|
|
985
|
+
* <p>Enhanced services enabling situation of the instance and its settings.</p>
|
|
1000
986
|
* @type {EnhancedService || null}
|
|
1001
987
|
*/
|
|
1002
988
|
this.EnhancedService = null;
|
|
1003
989
|
|
|
1004
990
|
/**
|
|
1005
|
-
* Image ID
|
|
991
|
+
* <p>Image ID.</p>
|
|
1006
992
|
* @type {string || null}
|
|
1007
993
|
*/
|
|
1008
994
|
this.ImageId = null;
|
|
1009
995
|
|
|
1010
996
|
/**
|
|
1011
|
-
* Current status of the launch configuration.
|
|
997
|
+
* <p>Current status of the launch configuration. Value range: <li>NORMAL: Normal</li><li>IMAGE_ABNORMAL: The launch configuration image is exceptional</li><li>CBS_SNAP_ABNORMAL: The launch configuration data disk snapshot is exceptional</li><li>SECURITY_GROUP_ABNORMAL: The launch configuration security group is exceptional</li></p>
|
|
1012
998
|
* @type {string || null}
|
|
1013
999
|
*/
|
|
1014
1000
|
this.LaunchConfigurationStatus = null;
|
|
1015
1001
|
|
|
1016
1002
|
/**
|
|
1017
|
-
* Instance billing type.
|
|
1018
|
-
<Li>POSTPAID_BY_HOUR: pay-as-you-go hourly</li>.
|
|
1019
|
-
<Li>SPOTPAID: spot payment</li>.
|
|
1020
|
-
<Li>PREPAID: prepaid, i.e., monthly subscription</li>.
|
|
1021
|
-
<Li>CDCPAID: dedicated cluster payment</li>.
|
|
1003
|
+
* <p>Instance billing type. The value range is as follows:</p><li>POSTPAID_BY_HOUR: hourly postpaid</li><li>SPOTPAID: spot payment</li><li>PREPAID: prepaid, i.e. monthly subscription</li><li>CDCPAID: dedicated cluster payment</li>
|
|
1022
1004
|
* @type {string || null}
|
|
1023
1005
|
*/
|
|
1024
1006
|
this.InstanceChargeType = null;
|
|
1025
1007
|
|
|
1026
1008
|
/**
|
|
1027
|
-
* Market options of the instance, such as parameters
|
|
1028
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1009
|
+
* <p>Market-related options of the instance, such as spot instance parameters. If the payment mode of the specified instance is spot payment, this parameter is required.</p>
|
|
1029
1010
|
* @type {InstanceMarketOptionsRequest || null}
|
|
1030
1011
|
*/
|
|
1031
1012
|
this.InstanceMarketOptions = null;
|
|
1032
1013
|
|
|
1033
1014
|
/**
|
|
1034
|
-
*
|
|
1015
|
+
* <p>Instance model list.</p>
|
|
1035
1016
|
* @type {Array.<string> || null}
|
|
1036
1017
|
*/
|
|
1037
1018
|
this.InstanceTypes = null;
|
|
1038
1019
|
|
|
1039
1020
|
/**
|
|
1040
|
-
*
|
|
1021
|
+
* <p>Instance tag list. Instances scaled out will automatically come with tags, supporting up to 10 tags.</p>
|
|
1041
1022
|
* @type {Array.<InstanceTag> || null}
|
|
1042
1023
|
*/
|
|
1043
1024
|
this.InstanceTags = null;
|
|
1044
1025
|
|
|
1045
1026
|
/**
|
|
1046
|
-
* Tag list. this parameter
|
|
1027
|
+
* <p>Tag list. The tags in this parameter are only used to bind launch configurations and will not be passed to CVM instances scaled out based on the launch configuration.</p>
|
|
1047
1028
|
* @type {Array.<Tag> || null}
|
|
1048
1029
|
*/
|
|
1049
1030
|
this.Tags = null;
|
|
1050
1031
|
|
|
1051
1032
|
/**
|
|
1052
|
-
* Version
|
|
1033
|
+
* <p>Version number.</p>
|
|
1053
1034
|
* @type {number || null}
|
|
1054
1035
|
*/
|
|
1055
1036
|
this.VersionNumber = null;
|
|
1056
1037
|
|
|
1057
1038
|
/**
|
|
1058
|
-
*
|
|
1039
|
+
* <p>Update time in standard <code>UTC</code> format.</p>
|
|
1059
1040
|
* @type {string || null}
|
|
1060
1041
|
*/
|
|
1061
1042
|
this.UpdatedTime = null;
|
|
1062
1043
|
|
|
1063
1044
|
/**
|
|
1064
|
-
*
|
|
1045
|
+
* <p>CAM role name, which can be obtained from the roleName in the return value from the <a href="https://www.tencentcloud.com/document/product/598/36223?from_cn_redirect=1">DescribeRoleList</a> API.</p>
|
|
1065
1046
|
* @type {string || null}
|
|
1066
1047
|
*/
|
|
1067
1048
|
this.CamRoleName = null;
|
|
1068
1049
|
|
|
1069
1050
|
/**
|
|
1070
|
-
*
|
|
1051
|
+
* <p>The value of InstanceTypesCheckPolicy last time when operating.</p>
|
|
1071
1052
|
* @type {string || null}
|
|
1072
1053
|
*/
|
|
1073
1054
|
this.LastOperationInstanceTypesCheckPolicy = null;
|
|
1074
1055
|
|
|
1075
1056
|
/**
|
|
1076
|
-
* CVM
|
|
1057
|
+
* <p>Related settings for the CVM host name (HostName).</p>
|
|
1077
1058
|
* @type {HostNameSettings || null}
|
|
1078
1059
|
*/
|
|
1079
1060
|
this.HostNameSettings = null;
|
|
1080
1061
|
|
|
1081
1062
|
/**
|
|
1082
|
-
*
|
|
1063
|
+
* <p>Related settings for the cloud server instance name (InstanceName).</p>
|
|
1083
1064
|
* @type {InstanceNameSettings || null}
|
|
1084
1065
|
*/
|
|
1085
1066
|
this.InstanceNameSettings = null;
|
|
1086
1067
|
|
|
1087
1068
|
/**
|
|
1088
|
-
*
|
|
1069
|
+
* <p>Prepaid mode, i.e., parameter settings related to monthly/annual subscription. By specifying this parameter, you can specify the purchase duration of annual and monthly subscription instances, whether to enable auto-renewal, and other attributes. This parameter is required if the billing mode for the specified instance is prepaid.</p>
|
|
1089
1070
|
* @type {InstanceChargePrepaid || null}
|
|
1090
1071
|
*/
|
|
1091
1072
|
this.InstanceChargePrepaid = null;
|
|
1092
1073
|
|
|
1093
1074
|
/**
|
|
1094
|
-
* Cloud disk type selection policy.
|
|
1075
|
+
* <p>Cloud disk type selection policy. Parameter value range: <li>ORIGINAL: use the set cloud disk type</li><li>AUTOMATIC: automatically select available cloud disk types in the current AZ</li></p>
|
|
1095
1076
|
* @type {string || null}
|
|
1096
1077
|
*/
|
|
1097
1078
|
this.DiskTypePolicy = null;
|
|
1098
1079
|
|
|
1099
1080
|
/**
|
|
1100
|
-
*
|
|
1101
|
-
Note: This field is default to empty
|
|
1081
|
+
* <p>Hyper Computing Cluster ID.<br><br>Note: This field is empty by default.</p>
|
|
1102
1082
|
* @type {string || null}
|
|
1103
1083
|
*/
|
|
1104
1084
|
this.HpcClusterId = null;
|
|
1105
1085
|
|
|
1106
1086
|
/**
|
|
1107
|
-
* IPv6 public network bandwidth
|
|
1087
|
+
* <p>IPv6 public network bandwidth-related information settings.</p>
|
|
1108
1088
|
* @type {IPv6InternetAccessible || null}
|
|
1109
1089
|
*/
|
|
1110
1090
|
this.IPv6InternetAccessible = null;
|
|
1111
1091
|
|
|
1112
1092
|
/**
|
|
1113
|
-
* Placement
|
|
1093
|
+
* <p>Placement Group id. Only one can be specified.</p>
|
|
1114
1094
|
* @type {Array.<string> || null}
|
|
1115
1095
|
*/
|
|
1116
1096
|
this.DisasterRecoverGroupIds = null;
|
|
1117
1097
|
|
|
1118
1098
|
/**
|
|
1119
|
-
* Image family name
|
|
1099
|
+
* <p>Image family name.</p>
|
|
1120
1100
|
* @type {string || null}
|
|
1121
1101
|
*/
|
|
1122
1102
|
this.ImageFamily = null;
|
|
1123
1103
|
|
|
1124
1104
|
/**
|
|
1125
|
-
*
|
|
1105
|
+
* <p>Local dedicated cluster ID.</p>
|
|
1126
1106
|
* @type {string || null}
|
|
1127
1107
|
*/
|
|
1128
1108
|
this.DedicatedClusterId = null;
|
|
1129
1109
|
|
|
1110
|
+
/**
|
|
1111
|
+
* <p>ENI configuration of the launch configuration.</p>
|
|
1112
|
+
* @type {Array.<NetworkInterface> || null}
|
|
1113
|
+
*/
|
|
1114
|
+
this.NetworkInterfaces = null;
|
|
1115
|
+
|
|
1130
1116
|
}
|
|
1131
1117
|
|
|
1132
1118
|
/**
|
|
@@ -1247,6 +1233,15 @@ Note: This field is default to empty
|
|
|
1247
1233
|
this.ImageFamily = 'ImageFamily' in params ? params.ImageFamily : null;
|
|
1248
1234
|
this.DedicatedClusterId = 'DedicatedClusterId' in params ? params.DedicatedClusterId : null;
|
|
1249
1235
|
|
|
1236
|
+
if (params.NetworkInterfaces) {
|
|
1237
|
+
this.NetworkInterfaces = new Array();
|
|
1238
|
+
for (let z in params.NetworkInterfaces) {
|
|
1239
|
+
let obj = new NetworkInterface();
|
|
1240
|
+
obj.deserialize(params.NetworkInterfaces[z]);
|
|
1241
|
+
this.NetworkInterfaces.push(obj);
|
|
1242
|
+
}
|
|
1243
|
+
}
|
|
1244
|
+
|
|
1250
1245
|
}
|
|
1251
1246
|
}
|
|
1252
1247
|
|
|
@@ -1351,7 +1346,7 @@ class CreateLaunchConfigurationResponse extends AbstractModel {
|
|
|
1351
1346
|
super();
|
|
1352
1347
|
|
|
1353
1348
|
/**
|
|
1354
|
-
*
|
|
1349
|
+
* <p>When creating a launch configuration through this interface, this parameter will be returned, indicating the launch configuration ID.</p>
|
|
1355
1350
|
* @type {string || null}
|
|
1356
1351
|
*/
|
|
1357
1352
|
this.LaunchConfigurationId = null;
|
|
@@ -1759,26 +1754,29 @@ class SystemDisk extends AbstractModel {
|
|
|
1759
1754
|
super();
|
|
1760
1755
|
|
|
1761
1756
|
/**
|
|
1762
|
-
* System disk type.
|
|
1763
|
-
<Li>LOCAL_BASIC: local hard disk.</li>.
|
|
1764
|
-
<Li>LOCAL_SSD: local ssd.</li>.
|
|
1765
|
-
<Li>CLOUD_BASIC: general cloud disk.</li>.
|
|
1766
|
-
<Li>CLOUD_PREMIUM: high-performance cloud block storage</li>.
|
|
1767
|
-
<Li>CLOUD_SSD: cloud ssd</li>.
|
|
1768
|
-
<Li>CLOUD_BSSD: universal ssd cloud disk</li>.
|
|
1769
|
-
<Li>CLOUD_HSSD: enhanced ssd cloud disk</li>.
|
|
1770
|
-
<Li>CLOUD_TSSD: ultra ssd.</li>.
|
|
1771
|
-
<li>Default value: CLOUD_PREMIUM.</li>
|
|
1757
|
+
* <p>System disk type. For restrictions on system disk types, see <a href="https://www.tencentcloud.com/document/product/362/2353?from_cn_redirect=1">Cloud Disk Types</a>. Value range:</p><li>LOCAL_BASIC: local hard disk</li><li>LOCAL_SSD: local SSD</li><li>CLOUD_BASIC: basic cloud disk</li><li>CLOUD_PREMIUM: high-performance cloud block storage</li><li>CLOUD_SSD: SSD cloud disk</li><li>CLOUD_BSSD: universal SSD cloud disk</li><li>CLOUD_HSSD: enhanced SSD cloud disk</li><li>CLOUD_TSSD: ultra-fast SSD CBS</li><li>Default value: CLOUD_PREMIUM.</li>
|
|
1772
1758
|
* @type {string || null}
|
|
1773
1759
|
*/
|
|
1774
1760
|
this.DiskType = null;
|
|
1775
1761
|
|
|
1776
1762
|
/**
|
|
1777
|
-
* System disk size
|
|
1763
|
+
* <p>System disk size (GB). Default value: 50</p>
|
|
1778
1764
|
* @type {number || null}
|
|
1779
1765
|
*/
|
|
1780
1766
|
this.DiskSize = null;
|
|
1781
1767
|
|
|
1768
|
+
/**
|
|
1769
|
+
* <p>Whether to encrypt the system disk. TRUE means encrypted, FALSE means not encrypted. The specific disk type, region, and KMS rules are validated by CVM.</p>
|
|
1770
|
+
* @type {boolean || null}
|
|
1771
|
+
*/
|
|
1772
|
+
this.Encrypt = null;
|
|
1773
|
+
|
|
1774
|
+
/**
|
|
1775
|
+
* <p>KMS Key ID used for system disk encryption. The key validity, permission, as well as adaptability to disk type and region are validated by CVM.</p>
|
|
1776
|
+
* @type {string || null}
|
|
1777
|
+
*/
|
|
1778
|
+
this.KmsKeyId = null;
|
|
1779
|
+
|
|
1782
1780
|
}
|
|
1783
1781
|
|
|
1784
1782
|
/**
|
|
@@ -1790,6 +1788,8 @@ class SystemDisk extends AbstractModel {
|
|
|
1790
1788
|
}
|
|
1791
1789
|
this.DiskType = 'DiskType' in params ? params.DiskType : null;
|
|
1792
1790
|
this.DiskSize = 'DiskSize' in params ? params.DiskSize : null;
|
|
1791
|
+
this.Encrypt = 'Encrypt' in params ? params.Encrypt : null;
|
|
1792
|
+
this.KmsKeyId = 'KmsKeyId' in params ? params.KmsKeyId : null;
|
|
1793
1793
|
|
|
1794
1794
|
}
|
|
1795
1795
|
}
|
|
@@ -1952,8 +1952,7 @@ class InstanceNameSettings extends AbstractModel {
|
|
|
1952
1952
|
this.InstanceNameStyle = null;
|
|
1953
1953
|
|
|
1954
1954
|
/**
|
|
1955
|
-
*
|
|
1956
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1955
|
+
* Name suffix of a CVM instance. The suffix length must be 1 to 105 characters, and the total length of the InstanceName value plus the suffix cannot exceed 107 characters.
|
|
1957
1956
|
* @type {string || null}
|
|
1958
1957
|
*/
|
|
1959
1958
|
this.InstanceNameSuffix = null;
|
|
@@ -2572,19 +2571,19 @@ class Tag extends AbstractModel {
|
|
|
2572
2571
|
super();
|
|
2573
2572
|
|
|
2574
2573
|
/**
|
|
2575
|
-
* Tag key
|
|
2574
|
+
* Tag key.
|
|
2576
2575
|
* @type {string || null}
|
|
2577
2576
|
*/
|
|
2578
2577
|
this.Key = null;
|
|
2579
2578
|
|
|
2580
2579
|
/**
|
|
2581
|
-
* Tag value
|
|
2580
|
+
* Tag value.
|
|
2582
2581
|
* @type {string || null}
|
|
2583
2582
|
*/
|
|
2584
2583
|
this.Value = null;
|
|
2585
2584
|
|
|
2586
2585
|
/**
|
|
2587
|
-
*
|
|
2586
|
+
* Resource type bound to the tag. Type currently supported: "auto-scaling-group", "launch-configuration". They respectively represent scaling group resources and launch configuration resources.
|
|
2588
2587
|
* @type {string || null}
|
|
2589
2588
|
*/
|
|
2590
2589
|
this.ResourceType = null;
|
|
@@ -3070,193 +3069,179 @@ class CreateLaunchConfigurationRequest extends AbstractModel {
|
|
|
3070
3069
|
super();
|
|
3071
3070
|
|
|
3072
3071
|
/**
|
|
3073
|
-
* Display name of the launch configuration
|
|
3072
|
+
* <p>Display name of the launch configuration. The name only supports Chinese, English, numbers, underscores, the separator "-", and decimal points. The maximum length cannot exceed 60 bytes.</p>
|
|
3074
3073
|
* @type {string || null}
|
|
3075
3074
|
*/
|
|
3076
3075
|
this.LaunchConfigurationName = null;
|
|
3077
3076
|
|
|
3078
3077
|
/**
|
|
3079
|
-
*
|
|
3078
|
+
* <p>Specify a valid <a href="https://www.tencentcloud.com/document/product/213/4940?from_cn_redirect=1">image</a> ID, such as <code>img-8toqc6s3</code>. One and only one of image ID and image family name must be filled in. There are four image types:<br><li>Public image</li><li>Custom image</li><li>Shared image</li><li>Service market image</li><br>You can get available image IDs in the following ways:<br><li>You can query the image IDs of <code>public images</code>, <code>custom images</code>, and <code>shared images</code> by logging in to the <a href="https://console.cloud.tencent.com/cvm/image?rid=1&imageType=PUBLIC_IMAGE">console</a>; query the image IDs in the <code>service image market</code> in <a href="https://market.cloud.tencent.com/list">Marketplace</a>.</li><li>Call the <a href="https://www.tencentcloud.com/document/api/213/15715?from_cn_redirect=1">DescribeImages</a> API and get the <code>ImageId</code> field in the returned information.</li></p>
|
|
3080
3079
|
* @type {string || null}
|
|
3081
3080
|
*/
|
|
3082
3081
|
this.ImageId = null;
|
|
3083
3082
|
|
|
3084
3083
|
/**
|
|
3085
|
-
*
|
|
3086
|
-
Note: the instance's project ID within the scaling group takes the project ID of the scaling group, which is irrelevant here.
|
|
3084
|
+
* <p>The project ID of the launch configuration. Default value: 0, indicating the default project. Obtain this parameter by calling <a href="https://www.tencentcloud.com/document/api/651/78725?from_cn_redirect=1">DescribeProject</a> and using the projectId field in the return value.<br>Note: The project ID of instances within the scaling group is the scaling group project ID, irrelevant to the value here.</p>
|
|
3087
3085
|
* @type {number || null}
|
|
3088
3086
|
*/
|
|
3089
3087
|
this.ProjectId = null;
|
|
3090
3088
|
|
|
3091
3089
|
/**
|
|
3092
|
-
* Instance model. Different instance models specify different resource specifications. The specific
|
|
3093
|
-
`InstanceType` and `InstanceTypes` are mutually exclusive, and one and only one of them must be entered.
|
|
3090
|
+
* <p>Instance model. Different instance models specify different resource specifications. The specific values can be obtained by calling the <a href="https://www.tencentcloud.com/document/api/213/15749?from_cn_redirect=1">DescribeInstanceTypeConfigs</a> API to get the latest specification table or refer to the <a href="https://www.tencentcloud.com/document/product/213/11518?from_cn_redirect=1">instance type</a> description.<br>The <code>InstanceType</code> and <code>InstanceTypes</code> parameters are mutually exclusive, and one and only one must be filled in.</p>
|
|
3094
3091
|
* @type {string || null}
|
|
3095
3092
|
*/
|
|
3096
3093
|
this.InstanceType = null;
|
|
3097
3094
|
|
|
3098
3095
|
/**
|
|
3099
|
-
*
|
|
3096
|
+
* <p>Instance system disk configuration information. If not specified, it will be allocated based on system default values.</p>
|
|
3100
3097
|
* @type {SystemDisk || null}
|
|
3101
3098
|
*/
|
|
3102
3099
|
this.SystemDisk = null;
|
|
3103
3100
|
|
|
3104
3101
|
/**
|
|
3105
|
-
*
|
|
3102
|
+
* <p>Instance data disk configuration information. If not specified, no data disks are purchased by default, and a maximum of 11 data disks can be specified.</p>
|
|
3106
3103
|
* @type {Array.<DataDisk> || null}
|
|
3107
3104
|
*/
|
|
3108
3105
|
this.DataDisks = null;
|
|
3109
3106
|
|
|
3110
3107
|
/**
|
|
3111
|
-
*
|
|
3108
|
+
* <p>Public network bandwidth-related information settings. If not specified, the public network bandwidth defaults to 0 Mbps.</p>
|
|
3112
3109
|
* @type {InternetAccessible || null}
|
|
3113
3110
|
*/
|
|
3114
3111
|
this.InternetAccessible = null;
|
|
3115
3112
|
|
|
3116
3113
|
/**
|
|
3117
|
-
*
|
|
3114
|
+
* <p>Instance login settings. Through this parameter, you can set the instance's login method to password, key, or maintain the image's original login settings. By default, a password will be randomly generated, and the user will be notified through an internal message.</p>
|
|
3118
3115
|
* @type {LoginSettings || null}
|
|
3119
3116
|
*/
|
|
3120
3117
|
this.LoginSettings = null;
|
|
3121
3118
|
|
|
3122
3119
|
/**
|
|
3123
|
-
*
|
|
3120
|
+
* <p>Security group to which an instance belongs. The value of this parameter can be obtained from the returned <code>SecurityGroupId</code> field of the <a href="https://www.tencentcloud.com/document/api/215/15808?from_cn_redirect=1">DescribeSecurityGroups</a> API. If this parameter is not specified, no security groups are associated by default.</p>
|
|
3124
3121
|
* @type {Array.<string> || null}
|
|
3125
3122
|
*/
|
|
3126
3123
|
this.SecurityGroupIds = null;
|
|
3127
3124
|
|
|
3128
3125
|
/**
|
|
3129
|
-
*
|
|
3126
|
+
* <p>Enhancement services. This parameter can be used to specify whether to enable services such as Cloud Monitor and cloud security. If not specified, cloud monitoring and cloud security services are enabled by default.</p>
|
|
3130
3127
|
* @type {EnhancedService || null}
|
|
3131
3128
|
*/
|
|
3132
3129
|
this.EnhancedService = null;
|
|
3133
3130
|
|
|
3134
3131
|
/**
|
|
3135
|
-
*
|
|
3132
|
+
* <p>Custom data after Base64 encoding should not exceed 16KB.</p>
|
|
3136
3133
|
* @type {string || null}
|
|
3137
3134
|
*/
|
|
3138
3135
|
this.UserData = null;
|
|
3139
3136
|
|
|
3140
3137
|
/**
|
|
3141
|
-
* Instance billing
|
|
3142
|
-
<li>POSTPAID_BY_HOUR: pay-as-you-go hourly</li>
|
|
3143
|
-
<li>SPOTPAID: spot instance</li>
|
|
3144
|
-
<li> CDCPAID: dedicated cluster</li>
|
|
3138
|
+
* <p>Instance billing type. The default value of CVM is handled as POSTPAID_BY_HOUR.</p><li>POSTPAID_BY_HOUR: hourly postpaid</li><li>SPOTPAID: spot payment</li><li>PREPAID: prepayment, which is monthly subscription</li><li>CDCPAID: dedicated cluster payment</li>
|
|
3145
3139
|
* @type {string || null}
|
|
3146
3140
|
*/
|
|
3147
3141
|
this.InstanceChargeType = null;
|
|
3148
3142
|
|
|
3149
3143
|
/**
|
|
3150
|
-
* Market options of the instance, such as
|
|
3144
|
+
* <p>Market options of the instance, such as spot instance parameters. This parameter is required if the payment mode of the specified instance is spot payment.</p>
|
|
3151
3145
|
* @type {InstanceMarketOptionsRequest || null}
|
|
3152
3146
|
*/
|
|
3153
3147
|
this.InstanceMarketOptions = null;
|
|
3154
3148
|
|
|
3155
3149
|
/**
|
|
3156
|
-
* Instance model list.
|
|
3157
|
-
The `InstanceType` and `InstanceTypes` parameters are mutually exclusive. one and only one must be filled in. specific values can be obtained by calling the api [Instance Types](https://intl.cloud.tencent.com/document/product/213/11518?from_cn_redirect=1) to obtain the latest specification table or refer to [instance specifications](https://intl.cloud.tencent.com/document/product/213/11518?from_cn_redirect=1).
|
|
3150
|
+
* <p>Instance model list. Different instance models specify different resource specifications, and a maximum of 10 instance models are supported.<br>The <code>InstanceType</code> and <code>InstanceTypes</code> parameters are mutually exclusive. One and only one of them must be filled in. To obtain the specific values, call the API <a href="https://www.tencentcloud.com/document/api/213/15749?from_cn_redirect=1">DescribeInstanceTypeConfigs</a> to get the latest specification table or see <a href="https://www.tencentcloud.com/document/product/213/11518?from_cn_redirect=1">Instance Specifications</a>.</p>
|
|
3158
3151
|
* @type {Array.<string> || null}
|
|
3159
3152
|
*/
|
|
3160
3153
|
this.InstanceTypes = null;
|
|
3161
3154
|
|
|
3162
3155
|
/**
|
|
3163
|
-
* CAM role name
|
|
3156
|
+
* <p>CAM role name, which can be obtained from the roleName in the return value from the <a href="https://www.tencentcloud.com/document/product/598/36223?from_cn_redirect=1">DescribeRoleList</a> API.</p>
|
|
3164
3157
|
* @type {string || null}
|
|
3165
3158
|
*/
|
|
3166
3159
|
this.CamRoleName = null;
|
|
3167
3160
|
|
|
3168
3161
|
/**
|
|
3169
|
-
* Instance type validation policy.
|
|
3170
|
-
<li>ALL: verification passes if ALL instancetypes are available; otherwise, a verification error will be reported.</li>.
|
|
3171
|
-
<li>ANY: verification passes if ANY InstanceType is available; otherwise, a verification error will be reported.</li>.
|
|
3172
|
-
|
|
3173
|
-
Common reasons for unavailable instancetypes include the instancetype being sold out and the corresponding cloud disk being sold out.
|
|
3174
|
-
If a model in InstanceTypes does not exist or has been abolished, a verification error will be reported regardless of the valid values set for InstanceTypesCheckPolicy.
|
|
3162
|
+
* <p>Instance type validation policy. Valid values include ALL and ANY. Default value: ANY. This parameter is valid only when InstanceTypes contains multiple models.</p><li>ALL: Verification passes if all InstanceTypes are available; otherwise, a verification error will be reported.</li><li>ANY: Verification passes if any InstanceType is available; otherwise, a verification error will be reported.</li><p>Common causes of InstanceTypes unavailable include the instance type sold out and the corresponding cloud disk sold out.<br>If a model in InstanceTypes does not exist or has been removed, a verification error will be reported regardless of the value of InstanceTypesCheckPolicy.</p>
|
|
3175
3163
|
* @type {string || null}
|
|
3176
3164
|
*/
|
|
3177
3165
|
this.InstanceTypesCheckPolicy = null;
|
|
3178
3166
|
|
|
3179
3167
|
/**
|
|
3180
|
-
*
|
|
3168
|
+
* <p>Tag list. By specifying this parameter, the instances added through scale-out can be bound to the tag. A maximum of 10 tags can be specified.</p>
|
|
3181
3169
|
* @type {Array.<InstanceTag> || null}
|
|
3182
3170
|
*/
|
|
3183
3171
|
this.InstanceTags = null;
|
|
3184
3172
|
|
|
3185
3173
|
/**
|
|
3186
|
-
*
|
|
3174
|
+
* <p>Tag description list. By specifying this parameter, you can bind tags to a launch configuration. Each launch configuration supports up to 30 tags.</p>
|
|
3187
3175
|
* @type {Array.<Tag> || null}
|
|
3188
3176
|
*/
|
|
3189
3177
|
this.Tags = null;
|
|
3190
3178
|
|
|
3191
3179
|
/**
|
|
3192
|
-
*
|
|
3193
|
-
windows instances do not support setting hostname.
|
|
3194
|
-
When adding new attributes, the cloud virtual machine hostname must be transmitted. other fields not transmitted will be set as default.
|
|
3195
|
-
Validates whether the host name (with suffix added if it exists) exceeds the maximum of 46 characters.
|
|
3180
|
+
* <p>Related settings of the CVM host name (HostName).<br>Setting the host name for windows instances is unsupported.<br>When adding this attribute, you must pass the CVM host name. Other unspecified fields will be set to default values.<br>The host name (with the suffix added if it exists) is verified against a maximum length of 46 characters.</p>
|
|
3196
3181
|
* @type {HostNameSettings || null}
|
|
3197
3182
|
*/
|
|
3198
3183
|
this.HostNameSettings = null;
|
|
3199
3184
|
|
|
3200
3185
|
/**
|
|
3201
|
-
*
|
|
3202
|
-
If the user sets this field in the launch configuration, the instance name of the instance created by the scaling group will be set according to this field and passed to CVM. if the user does not set this field in the launch configuration, the instance name of the instance created by the scaling group will be set as "as-{{ scaling group AutoScalingGroupName }}" and passed to CVM.
|
|
3203
|
-
Specifies the instance name of the cloud virtual machine when adding this attribute. other fields not transmitted will be set as default.
|
|
3204
|
-
Verifies whether the instance name (add the suffix if it exists) exceeds the maximum of 108 characters.
|
|
3186
|
+
* <p>Related settings of CVM instance name (InstanceName).<br>If the user sets this field in the launch configuration, the InstanceName of instances created by the scaling group is set according to this field and transmitted to CVM. If the user does not set this field in the launch configuration, the InstanceName of instances created by the scaling group is set as "as-{{ scaling group AutoScalingGroupName }}" and transmitted to CVM.<br>When adding new this attribute, the instance name of the CVM must be transmitted. Other fields not transmitted will be set as default values.<br>It will verify whether the instance name (plus the suffix if it exists) exceeds the maximum length of 108 characters.</p>
|
|
3205
3187
|
* @type {InstanceNameSettings || null}
|
|
3206
3188
|
*/
|
|
3207
3189
|
this.InstanceNameSettings = null;
|
|
3208
3190
|
|
|
3209
3191
|
/**
|
|
3210
|
-
*
|
|
3192
|
+
* <p>Prepaid mode, that is, parameter settings related to monthly/annual subscription. By specifying this parameter, you can specify the purchase duration of annual and monthly subscription instances, whether to enable auto-renewal, and other attributes. If the billing mode of the specified instance is prepaid, this parameter must be passed.</p>
|
|
3211
3193
|
* @type {InstanceChargePrepaid || null}
|
|
3212
3194
|
*/
|
|
3213
3195
|
this.InstanceChargePrepaid = null;
|
|
3214
3196
|
|
|
3215
3197
|
/**
|
|
3216
|
-
* Cloud disk type selection policy
|
|
3217
|
-
<li>ORIGINAL: Use the set cloud disk type.</li>
|
|
3218
|
-
<li>AUTOMATIC: Automatically select the currently available cloud disk type.</li>
|
|
3198
|
+
* <p>Cloud disk type selection policy. Default value: ORIGINAL. Value range:</p><li>ORIGINAL: use the set cloud disk type</li><li>AUTOMATIC: automatically select the currently available cloud disk type</li>
|
|
3219
3199
|
* @type {string || null}
|
|
3220
3200
|
*/
|
|
3221
3201
|
this.DiskTypePolicy = null;
|
|
3222
3202
|
|
|
3223
3203
|
/**
|
|
3224
|
-
*
|
|
3225
|
-
Note: this field is empty by default.
|
|
3204
|
+
* <p>Hyper Computing Cluster ID. You can obtain this parameter by calling the <a href="https://www.tencentcloud.com/document/product/213/83220?from_cn_redirect=1">DescribeHpcClusters</a> API.<br>Note: This field is empty by default.</p>
|
|
3226
3205
|
* @type {string || null}
|
|
3227
3206
|
*/
|
|
3228
3207
|
this.HpcClusterId = null;
|
|
3229
3208
|
|
|
3230
3209
|
/**
|
|
3231
|
-
*
|
|
3210
|
+
* <p>Public network bandwidth-related information settings for IPv6. If the new instance contains an IPv6 address, this parameter can allocate public network bandwidth to the IPv6 address of the new instance. When the Ipv6AddressCount parameter of the scaling group associated with the launch configuration is 0, this parameter will not take effect.</p>
|
|
3232
3211
|
* @type {IPv6InternetAccessible || null}
|
|
3233
3212
|
*/
|
|
3234
3213
|
this.IPv6InternetAccessible = null;
|
|
3235
3214
|
|
|
3236
3215
|
/**
|
|
3237
|
-
* Placement
|
|
3216
|
+
* <p>Placement Group id. Only one can be specified.</p>
|
|
3238
3217
|
* @type {Array.<string> || null}
|
|
3239
3218
|
*/
|
|
3240
3219
|
this.DisasterRecoverGroupIds = null;
|
|
3241
3220
|
|
|
3242
3221
|
/**
|
|
3243
|
-
* Image family name.
|
|
3222
|
+
* <p>Image family name. Either image Id or image family name must be specified, and one and only one must be filled in. This parameter can be obtained through the <a href="https://www.tencentcloud.com/document/product/213/15715?from_cn_redirect=1">DescribeImages</a> API.</p>
|
|
3244
3223
|
* @type {string || null}
|
|
3245
3224
|
*/
|
|
3246
3225
|
this.ImageFamily = null;
|
|
3247
3226
|
|
|
3248
3227
|
/**
|
|
3249
|
-
*
|
|
3228
|
+
* <p>CDC ID. Obtain this parameter through the <a href="https://www.tencentcloud.com/document/product/1346/73758?from_cn_redirect=1">DescribeDedicatedClusters</a> API.</p>
|
|
3250
3229
|
* @type {string || null}
|
|
3251
3230
|
*/
|
|
3252
3231
|
this.DedicatedClusterId = null;
|
|
3253
3232
|
|
|
3254
3233
|
/**
|
|
3255
|
-
* Custom metadata
|
|
3234
|
+
* <p>Custom metadata.</p>
|
|
3256
3235
|
* @type {Metadata || null}
|
|
3257
3236
|
*/
|
|
3258
3237
|
this.Metadata = null;
|
|
3259
3238
|
|
|
3239
|
+
/**
|
|
3240
|
+
* <p>Configure the elastic network interface for scale-out instances.</p><p>Input limits: up to 17 items. When configuring this parameter, you must explicitly include and can only include one PRIMARY. AS does not auto-complete the primary ENI. An explicitly empty array is illegal. Spot instances do not support this parameter.</p><p>The VPC and subnet are automatically injected by the scaling group based on the current candidate subnets. If not configured, they are not transmitted to CVM. The SecurityGroupIds parameter in the launch configuration is retained.</p>
|
|
3241
|
+
* @type {Array.<NetworkInterface> || null}
|
|
3242
|
+
*/
|
|
3243
|
+
this.NetworkInterfaces = null;
|
|
3244
|
+
|
|
3260
3245
|
}
|
|
3261
3246
|
|
|
3262
3247
|
/**
|
|
@@ -3369,6 +3354,15 @@ Note: this field is empty by default.
|
|
|
3369
3354
|
this.Metadata = obj;
|
|
3370
3355
|
}
|
|
3371
3356
|
|
|
3357
|
+
if (params.NetworkInterfaces) {
|
|
3358
|
+
this.NetworkInterfaces = new Array();
|
|
3359
|
+
for (let z in params.NetworkInterfaces) {
|
|
3360
|
+
let obj = new NetworkInterface();
|
|
3361
|
+
obj.deserialize(params.NetworkInterfaces[z]);
|
|
3362
|
+
this.NetworkInterfaces.push(obj);
|
|
3363
|
+
}
|
|
3364
|
+
}
|
|
3365
|
+
|
|
3372
3366
|
}
|
|
3373
3367
|
}
|
|
3374
3368
|
|
|
@@ -4086,30 +4080,27 @@ class HostNameSettings extends AbstractModel {
|
|
|
4086
4080
|
super();
|
|
4087
4081
|
|
|
4088
4082
|
/**
|
|
4089
|
-
*
|
|
4090
|
-
<li>Dots (.) and hyphens (-) cannot be used as the first or last character of HostName, and cannot be used consecutively.</li
|
|
4091
|
-
<
|
|
4092
|
-
<li>Instances of other types (
|
|
4093
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4083
|
+
* CVM HostName.
|
|
4084
|
+
<li>Dots (.) and hyphens (-) cannot be used as the first or last character of HostName, and cannot be used consecutively.</li>
|
|
4085
|
+
<li>Windows instances are not supported.</li>
|
|
4086
|
+
<li>Instances of other types (e.g., Linux): The length of the character should be within the range of [2, 42]. Multiple dots (.) are allowed. Each segment between dot marks can consist of letters (case-insensitive), digits, and hyphens (-). Using only digits is not allowed.</li>
|
|
4094
4087
|
* @type {string || null}
|
|
4095
4088
|
*/
|
|
4096
4089
|
this.HostName = null;
|
|
4097
4090
|
|
|
4098
4091
|
/**
|
|
4099
|
-
* The style of the CVM
|
|
4100
|
-
<li>ORIGINAL: AS passes HostName filled in the input parameters to CVM. CVM may append serial numbers to HostName, which can result in conflicts with HostName of instances in the scaling group.</li>
|
|
4092
|
+
* The style of the CVM host name. Valid values include ORIGINAL and UNIQUE, and the default value is ORIGINAL.
|
|
4093
|
+
<li>ORIGINAL: AS passes HostName filled in the input parameters to CVM. CVM may append serial numbers to HostName, which can result in conflicts with HostName of instances in the scaling group.</li>
|
|
4101
4094
|
<li> UNIQUE: HostName filled in the input parameters acts as a prefix for the HostName. AS and CVM will expand this prefix to ensure that HostName of the instance in the scaling group is unique.</li>
|
|
4102
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4103
4095
|
* @type {string || null}
|
|
4104
4096
|
*/
|
|
4105
4097
|
this.HostNameStyle = null;
|
|
4106
4098
|
|
|
4107
4099
|
/**
|
|
4108
|
-
*
|
|
4109
|
-
<li>Dots (.) and hyphens (-) cannot be used as the last character of HostNameSuffix, and cannot be used consecutively.</li>
|
|
4110
|
-
<
|
|
4111
|
-
<li>Instances of other types (
|
|
4112
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4100
|
+
* Hostname suffix of a CVM instance.
|
|
4101
|
+
<li>Dots (.) and hyphens (-) cannot be used as the last character of HostNameSuffix, and cannot be used consecutively.</li>
|
|
4102
|
+
<li>Windows instances are not supported.</li>
|
|
4103
|
+
<li>Instances of other types (e.g., Linux): The length of the character should be within the range of [1, 39], and the combined length with HostName should not exceed 41. Multiple dots (.) are allowed. Each segment between dots can consist of letters (case-insensitive), digits, and hyphens (-).</li>
|
|
4113
4104
|
* @type {string || null}
|
|
4114
4105
|
*/
|
|
4115
4106
|
this.HostNameSuffix = null;
|
|
@@ -4973,6 +4964,66 @@ class DescribeAutoScalingAdvicesResponse extends AbstractModel {
|
|
|
4973
4964
|
}
|
|
4974
4965
|
}
|
|
4975
4966
|
|
|
4967
|
+
/**
|
|
4968
|
+
* Specifies how to assign pay-as-you-go instances and spot instances in a mixed instance mode.
|
|
4969
|
+
* @class
|
|
4970
|
+
*/
|
|
4971
|
+
class SpotMixedAllocationPolicy extends AbstractModel {
|
|
4972
|
+
constructor(){
|
|
4973
|
+
super();
|
|
4974
|
+
|
|
4975
|
+
/**
|
|
4976
|
+
* The minimum number of the scaling group’s capacity that must be fulfilled by pay-as-you-go instances. It defaults to 0 if not specified. Its value cannot exceed the max capacity of the scaling group.
|
|
4977
|
+
Note: this field may return `null`, indicating that no valid value can be obtained.
|
|
4978
|
+
* @type {number || null}
|
|
4979
|
+
*/
|
|
4980
|
+
this.BaseCapacity = null;
|
|
4981
|
+
|
|
4982
|
+
/**
|
|
4983
|
+
* Controls the percentage of pay-as-you-go instances for the additional capacity beyond `BaseCapacity`. Valid range: 0-100. The value 0 indicates that only spot instances are provisioned, while the value 100 indicates that only pay-as-you-go instances are provisioned. It defaults to 70 if not specified. The number of pay-as-you-go instances calculated on the percentage should be rounded up.
|
|
4984
|
+
For example, if the desired capacity is 3, the `BaseCapacity` is set to 1, and the `OnDemandPercentageAboveBaseCapacity` is set to 1, the scaling group will have 2 pay-as-you-go instance (one comes from the base capacity, and the other comes from the rounded up value of the proportion), and 1 spot instance.
|
|
4985
|
+
Note: this field may return `null`, indicating that no valid value can be obtained.
|
|
4986
|
+
* @type {number || null}
|
|
4987
|
+
*/
|
|
4988
|
+
this.OnDemandPercentageAboveBaseCapacity = null;
|
|
4989
|
+
|
|
4990
|
+
/**
|
|
4991
|
+
* Specifies how to assign spot instances in a mixed instance mode. Valid values: `COST_OPTIMIZED` and `CAPACITY_OPTIMIZED`; default value: `COST_OPTIMIZED`.
|
|
4992
|
+
<br><li>`COST_OPTIMIZED`: the lowest cost policy. For each model in the launch configuration, AS tries to purchase it based on the lowest unit price per core in each availability zone. If the purchase failed, try the second-lowest unit price.
|
|
4993
|
+
<br><li>`CAPACITY_OPTIMIZED`: the optimal capacity policy. For each model in the launch configuration, AS tries to purchase it based on the largest stock in each availability zone, minimizing the automatic repossession probability of spot instances.
|
|
4994
|
+
Note: this field may return `null`, indicating that no valid value can be obtained.
|
|
4995
|
+
* @type {string || null}
|
|
4996
|
+
*/
|
|
4997
|
+
this.SpotAllocationStrategy = null;
|
|
4998
|
+
|
|
4999
|
+
/**
|
|
5000
|
+
* Whether to replace with pay-as-you go instances. Valid values:
|
|
5001
|
+
<br><li>`TRUE`: yes. After the purchase of spot instances failed due to insufficient stock and other reasons, purchase pay-as-you-go instances.
|
|
5002
|
+
<br><li>`FALSE`: no. The scaling group only tries the configured model of spot instances when it needs to add spot instances.
|
|
5003
|
+
|
|
5004
|
+
Default value: `TRUE`.
|
|
5005
|
+
Note: this field may return `null`, indicating that no valid value can be obtained.
|
|
5006
|
+
* @type {boolean || null}
|
|
5007
|
+
*/
|
|
5008
|
+
this.CompensateWithBaseInstance = null;
|
|
5009
|
+
|
|
5010
|
+
}
|
|
5011
|
+
|
|
5012
|
+
/**
|
|
5013
|
+
* @private
|
|
5014
|
+
*/
|
|
5015
|
+
deserialize(params) {
|
|
5016
|
+
if (!params) {
|
|
5017
|
+
return;
|
|
5018
|
+
}
|
|
5019
|
+
this.BaseCapacity = 'BaseCapacity' in params ? params.BaseCapacity : null;
|
|
5020
|
+
this.OnDemandPercentageAboveBaseCapacity = 'OnDemandPercentageAboveBaseCapacity' in params ? params.OnDemandPercentageAboveBaseCapacity : null;
|
|
5021
|
+
this.SpotAllocationStrategy = 'SpotAllocationStrategy' in params ? params.SpotAllocationStrategy : null;
|
|
5022
|
+
this.CompensateWithBaseInstance = 'CompensateWithBaseInstance' in params ? params.CompensateWithBaseInstance : null;
|
|
5023
|
+
|
|
5024
|
+
}
|
|
5025
|
+
}
|
|
5026
|
+
|
|
4976
5027
|
/**
|
|
4977
5028
|
* CreateAutoScalingGroup request structure.
|
|
4978
5029
|
* @class
|
|
@@ -5633,67 +5684,53 @@ class DataDisk extends AbstractModel {
|
|
|
5633
5684
|
super();
|
|
5634
5685
|
|
|
5635
5686
|
/**
|
|
5636
|
-
* Data disk type.
|
|
5637
|
-
<Li>LOCAL_BASIC: local hard disk.</li>.
|
|
5638
|
-
<Li>LOCAL_SSD: local ssd.</li>.
|
|
5639
|
-
<Li>CLOUD_BASIC: general cloud disk.</li>.
|
|
5640
|
-
<Li>CLOUD_PREMIUM: high-performance cloud block storage</li>.
|
|
5641
|
-
<Li>CLOUD_SSD: cloud ssd</li>.
|
|
5642
|
-
<Li>CLOUD_HSSD: enhanced ssd cloud disk</li>.
|
|
5643
|
-
<Li>CLOUD_TSSD: ultra ssd.</li>.
|
|
5644
|
-
<Li>CLOUD_BSSD: universal ssd cloud disk</li>.
|
|
5645
|
-
The default value is consistent with the system disk type (SystemDisk.DiskType).
|
|
5687
|
+
* <p>Data disk type. For detailed restrictions on data disk types, see <a href="https://www.tencentcloud.com/document/product/362/2353?from_cn_redirect=1">Cloud Disk Types</a>. Value range:</p><li>LOCAL_BASIC: local hard disk</li><li>LOCAL_SSD: local SSD</li><li>CLOUD_BASIC: basic cloud disk</li><li>CLOUD_PREMIUM: high-performance cloud block storage</li><li>CLOUD_SSD: SSD cloud disk</li><li>CLOUD_HSSD: enhanced SSD cloud disk</li><li>CLOUD_TSSD: ultra-fast SSD CBS</li><li>CLOUD_BSSD: universal SSD cloud disk</li>The default value is consistent with the system disk type (SystemDisk.DiskType).
|
|
5646
5688
|
* @type {string || null}
|
|
5647
5689
|
*/
|
|
5648
5690
|
this.DiskType = null;
|
|
5649
5691
|
|
|
5650
5692
|
/**
|
|
5651
|
-
* Data disk size, in GB.
|
|
5693
|
+
* <p>Data disk size, in GB. The value range varies according to the data disk type. For specific restrictions, see <a href="https://www.tencentcloud.com/document/product/213/2177?from_cn_redirect=1">CVM instance configuration</a>. Default value: 0, which means that no data disk is purchased. For more restrictions, see the <a href="https://www.tencentcloud.com/document/product/362/5145?from_cn_redirect=1">product documentation</a>.</p>
|
|
5652
5694
|
* @type {number || null}
|
|
5653
5695
|
*/
|
|
5654
5696
|
this.DiskSize = null;
|
|
5655
5697
|
|
|
5656
5698
|
/**
|
|
5657
|
-
*
|
|
5658
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5699
|
+
* <p>Data disk snapshot ID, obtain this parameter through the <a href="https://www.tencentcloud.com/document/product/362/15647?from_cn_redirect=1">DescribeSnapshots</a> API.</p>
|
|
5659
5700
|
* @type {string || null}
|
|
5660
5701
|
*/
|
|
5661
5702
|
this.SnapshotId = null;
|
|
5662
5703
|
|
|
5663
5704
|
/**
|
|
5664
|
-
* Whether the data disk is
|
|
5665
|
-
<li>TRUE: When the instance is terminated, the data disk is also terminated. This option is only supported for hourly postpaid cloud disks.</li>
|
|
5666
|
-
<li>FALSE: When the instance is terminated, the data disk is retained.</li>
|
|
5667
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5705
|
+
* <p>Whether the data disk is destroyed with the instance. Value ranges from:</p><li>TRUE: When the instance is terminated, destroy the data disk. Only hourly postpaid cloud disks are supported.</li><li>FALSE: When the instance is terminated, retain the data disk.</li>
|
|
5668
5706
|
* @type {boolean || null}
|
|
5669
5707
|
*/
|
|
5670
5708
|
this.DeleteWithInstance = null;
|
|
5671
5709
|
|
|
5672
5710
|
/**
|
|
5673
|
-
* Whether the data disk
|
|
5674
|
-
<li>TRUE: Encrypted.</li>
|
|
5675
|
-
<li>FALSE: Not encrypted.</li>
|
|
5676
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5711
|
+
* <p>Whether to encrypt the data disk. TRUE means encrypted, FALSE means not encrypted; the specific disk type, region, and KMS rules are validated by CVM.</p>
|
|
5677
5712
|
* @type {boolean || null}
|
|
5678
5713
|
*/
|
|
5679
5714
|
this.Encrypt = null;
|
|
5680
5715
|
|
|
5681
5716
|
/**
|
|
5682
|
-
* Cloud disk performance
|
|
5683
|
-
This feature is only available to enhanced SSD (`CLOUD_HSSD`) and tremendous SSD (`CLOUD_TSSD`) disks with a capacity greater than 460 GB.
|
|
5684
|
-
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
5717
|
+
* <p>Cloud disk performance, unit: MB/s. Using this parameter can purchase additional performance for cloud disks. For feature introduction and type limitations, see: <a href="https://www.tencentcloud.com/document/product/362/51896?from_cn_redirect=1#.E5.A2.9E.E5.BC.BA.E5.9E.8B-ssd-.E4.BA.91.E7.A1.AC.E7.9B.98.E9.A2.9D.E5.A4.96.E6.80.A7.E8.83.BD">enhanced SSD cloud disk additional performance note</a>.<br>Currently only supports Extreme CBS (CLOUD_TSSD) and enhanced SSD cloud disks (CLOUD_HSSD) with capacity > 460 GB.</p>
|
|
5685
5718
|
* @type {number || null}
|
|
5686
5719
|
*/
|
|
5687
5720
|
this.ThroughputPerformance = null;
|
|
5688
5721
|
|
|
5689
5722
|
/**
|
|
5690
|
-
* Burst performance.
|
|
5691
|
-
Note: this feature is in beta test and requires a ticket to be submitted for usage.
|
|
5692
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5723
|
+
* <p>Burst performance. Whether to enable burst performance. The default value is false. Currently, this parameter only supports Extreme CBS (CLOUD_TSSD) and enhanced SSD CLOUD disk (CLOUD_HSSD) with capacity greater than 460 GB.<br>Note: In beta test. Requires ticket submission before usage.</p>
|
|
5693
5724
|
* @type {boolean || null}
|
|
5694
5725
|
*/
|
|
5695
5726
|
this.BurstPerformance = null;
|
|
5696
5727
|
|
|
5728
|
+
/**
|
|
5729
|
+
* <p>KMS Key ID used for data disk encryption. The key validity, permission, as well as adaptability to disk type and region are validated by CVM.</p>
|
|
5730
|
+
* @type {string || null}
|
|
5731
|
+
*/
|
|
5732
|
+
this.KmsKeyId = null;
|
|
5733
|
+
|
|
5697
5734
|
}
|
|
5698
5735
|
|
|
5699
5736
|
/**
|
|
@@ -5710,6 +5747,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
5710
5747
|
this.Encrypt = 'Encrypt' in params ? params.Encrypt : null;
|
|
5711
5748
|
this.ThroughputPerformance = 'ThroughputPerformance' in params ? params.ThroughputPerformance : null;
|
|
5712
5749
|
this.BurstPerformance = 'BurstPerformance' in params ? params.BurstPerformance : null;
|
|
5750
|
+
this.KmsKeyId = 'KmsKeyId' in params ? params.KmsKeyId : null;
|
|
5713
5751
|
|
|
5714
5752
|
}
|
|
5715
5753
|
}
|
|
@@ -6181,8 +6219,7 @@ class RunAutomationServiceEnabled extends AbstractModel {
|
|
|
6181
6219
|
super();
|
|
6182
6220
|
|
|
6183
6221
|
/**
|
|
6184
|
-
*
|
|
6185
|
-
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
6222
|
+
* Enable [Tencent Cloud Automation Tools](https://www.tencentcloud.com/document/product/1340?from_cn_redirect=1) service or not. Valid values: <br><li>TRUE: enables the TAT service <br><li>FALSE: disables the TAT service
|
|
6186
6223
|
* @type {boolean || null}
|
|
6187
6224
|
*/
|
|
6188
6225
|
this.Enabled = null;
|
|
@@ -6238,24 +6275,21 @@ class IPv6InternetAccessible extends AbstractModel {
|
|
|
6238
6275
|
super();
|
|
6239
6276
|
|
|
6240
6277
|
/**
|
|
6241
|
-
* Network billing mode.
|
|
6242
|
-
<br><li> IPv6 supports
|
|
6243
|
-
<br><li> IPv6 supports
|
|
6244
|
-
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
6278
|
+
* Network billing mode. Values include TRAFFIC_POSTPAID_BY_HOUR and BANDWIDTH_PACKAGE. Default value: TRAFFIC_POSTPAID_BY_HOUR. To view the current account type, see Account Type Description (https://www.tencentcloud.com/document/product/1199/49090?from_cn_redirect=1#judge).
|
|
6279
|
+
<br><li> IPv6 supports TRAFFIC_POSTPAID_BY_HOUR for standard account type.
|
|
6280
|
+
<br><li> IPv6 supports BANDWIDTH_PACKAGE for classic account type.
|
|
6245
6281
|
* @type {string || null}
|
|
6246
6282
|
*/
|
|
6247
6283
|
this.InternetChargeType = null;
|
|
6248
6284
|
|
|
6249
6285
|
/**
|
|
6250
|
-
*
|
|
6251
|
-
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
6286
|
+
* Public network outbound bandwidth cap, unit: Mbps.<br>Default value: 0. At this point, no public network bandwidth is allocated to IPv6. The bandwidth cap range varies by model, availability zone, and billing mode. For specific limitations, see [Public Network Bandwidth Limit](https://www.tencentcloud.com/document/product/213/12523?from_cn_redirect=1).
|
|
6252
6287
|
* @type {number || null}
|
|
6253
6288
|
*/
|
|
6254
6289
|
this.InternetMaxBandwidthOut = null;
|
|
6255
6290
|
|
|
6256
6291
|
/**
|
|
6257
|
-
* Bandwidth package ID
|
|
6258
|
-
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
6292
|
+
* Bandwidth package ID, which can be obtained from the `BandwidthPackageId` in the return value from the [DescribeBandwidthPackages](https://www.tencentcloud.com/document/api/215/19209?from_cn_redirect=1) API.
|
|
6259
6293
|
* @type {string || null}
|
|
6260
6294
|
*/
|
|
6261
6295
|
this.BandwidthPackageId = null;
|
|
@@ -8701,54 +8735,53 @@ class ClearLaunchConfigurationAttributesRequest extends AbstractModel {
|
|
|
8701
8735
|
super();
|
|
8702
8736
|
|
|
8703
8737
|
/**
|
|
8704
|
-
* Launch configuration ID.
|
|
8705
|
-
<li>Queries the launch configuration ID by logging in to the [console](https://console.cloud.tencent.com/autoscaling/config).</li>.
|
|
8706
|
-
<li>Get the launch configuration ID by calling the api [DescribeLaunchConfigurations](https://intl.cloud.tencent.com/document/api/377/20445?from_cn_redirect=1) and retrieving the LaunchConfigurationId from the returned information.</li>.
|
|
8738
|
+
* <p>Launch configuration ID. Obtain it in the following ways:</p><li>Log in to the [console](https://console.cloud.tencent.com/autoscaling/config) and query the launch configuration ID.</li><li>Call the API [DescribeLaunchConfigurations](https://www.tencentcloud.com/document/api/377/20445?from_cn_redirect=1) and obtain the launch configuration ID from the `LaunchConfigurationId` in the returned information.</li>
|
|
8707
8739
|
* @type {string || null}
|
|
8708
8740
|
*/
|
|
8709
8741
|
this.LaunchConfigurationId = null;
|
|
8710
8742
|
|
|
8711
8743
|
/**
|
|
8712
|
-
* Whether to clear data disk information. This parameter is optional and
|
|
8713
|
-
Setting it to `true` will clear data disks, which means that CVM newly created on this launch configuration will have no data disk.
|
|
8744
|
+
* <p>Whether to clear data disk information. This parameter is optional and defaults to false.<br>Enter true to clear "data disk" information. After clearing, newly created CVMs will not contain any data disk.</p>
|
|
8714
8745
|
* @type {boolean || null}
|
|
8715
8746
|
*/
|
|
8716
8747
|
this.ClearDataDisks = null;
|
|
8717
8748
|
|
|
8718
8749
|
/**
|
|
8719
|
-
* Whether to clear the
|
|
8720
|
-
Setting it to `true` will clear the hostname settings, which means that CVM newly created on this launch configuration will have no hostname.
|
|
8750
|
+
* <p>Whether to clear the MachineName-related settings of the CVM. Optional. It is false by default.<br>Set to true to clear the host name settings. After clearing, newly created CVMs will not have a host name configured.</p>
|
|
8721
8751
|
* @type {boolean || null}
|
|
8722
8752
|
*/
|
|
8723
8753
|
this.ClearHostNameSettings = null;
|
|
8724
8754
|
|
|
8725
8755
|
/**
|
|
8726
|
-
* Whether to clear the CVM instance name settings. This parameter is optional and
|
|
8727
|
-
Setting it to `true` will clear the instance name settings, which means that CVM newly created on this launch configuration will be named in the as-{{AutoScalingGroupName}} format.
|
|
8756
|
+
* <p>Whether to clear the CVM instance name related settings. This parameter is optional and is false by default.<br>If set to true, the host name setting information is cleared. After clearing, newly created CVMs will be configured based on "as-{{ scaling group AutoScalingGroupName }}".</p>
|
|
8728
8757
|
* @type {boolean || null}
|
|
8729
8758
|
*/
|
|
8730
8759
|
this.ClearInstanceNameSettings = null;
|
|
8731
8760
|
|
|
8732
8761
|
/**
|
|
8733
|
-
* Whether to clear placement group information. This parameter is optional.
|
|
8734
|
-
`True` means clearing placement group information. After that, no placement groups are specified for CVMs created based on the information.
|
|
8762
|
+
* <p>Whether to clear the placement group information. This parameter is optional and defaults to false.<br>Set it to true to clear the placement group information. After clearing, newly created hosts will not be assigned to any placement group.</p>
|
|
8735
8763
|
* @type {boolean || null}
|
|
8736
8764
|
*/
|
|
8737
8765
|
this.ClearDisasterRecoverGroupIds = null;
|
|
8738
8766
|
|
|
8739
8767
|
/**
|
|
8740
|
-
* Whether to clear the instance tag list. This parameter is optional
|
|
8741
|
-
If true is filled in, it indicates that the instance tag list should be cleared. After the list is cleared, the CVMs created based on this will not be bound to the tags in the list.
|
|
8768
|
+
* <p>Whether to clear the instance tag list. This parameter is optional and is false by default.<br>If true is filled in, it indicates that the instance tag list should be cleared. After the list is cleared, the CVMs created based on this will not be bound to the tags in the list.</p>
|
|
8742
8769
|
* @type {boolean || null}
|
|
8743
8770
|
*/
|
|
8744
8771
|
this.ClearInstanceTags = null;
|
|
8745
8772
|
|
|
8746
8773
|
/**
|
|
8747
|
-
* Whether to clear
|
|
8774
|
+
* <p>Whether to clear MetaData. This parameter is optional and defaults to false. Enter true to clear MetaData. After clearing, newly created CVMs will not associate custom Metadata.</p>
|
|
8748
8775
|
* @type {boolean || null}
|
|
8749
8776
|
*/
|
|
8750
8777
|
this.ClearMetadata = null;
|
|
8751
8778
|
|
|
8779
|
+
/**
|
|
8780
|
+
* <p>Whether to clear the NetworkInterfaces in the launch configuration. If the value is TRUE, clear it; if not passed or FALSE, this field will not be processed.</p>
|
|
8781
|
+
* @type {boolean || null}
|
|
8782
|
+
*/
|
|
8783
|
+
this.ClearNetworkInterfaces = null;
|
|
8784
|
+
|
|
8752
8785
|
}
|
|
8753
8786
|
|
|
8754
8787
|
/**
|
|
@@ -8765,6 +8798,7 @@ If true is filled in, it indicates that the instance tag list should be cleared.
|
|
|
8765
8798
|
this.ClearDisasterRecoverGroupIds = 'ClearDisasterRecoverGroupIds' in params ? params.ClearDisasterRecoverGroupIds : null;
|
|
8766
8799
|
this.ClearInstanceTags = 'ClearInstanceTags' in params ? params.ClearInstanceTags : null;
|
|
8767
8800
|
this.ClearMetadata = 'ClearMetadata' in params ? params.ClearMetadata : null;
|
|
8801
|
+
this.ClearNetworkInterfaces = 'ClearNetworkInterfaces' in params ? params.ClearNetworkInterfaces : null;
|
|
8768
8802
|
|
|
8769
8803
|
}
|
|
8770
8804
|
}
|
|
@@ -9051,47 +9085,36 @@ class AttachLoadBalancersRequest extends AbstractModel {
|
|
|
9051
9085
|
}
|
|
9052
9086
|
|
|
9053
9087
|
/**
|
|
9054
|
-
*
|
|
9088
|
+
* Elastic Network Interface configuration in the launch configuration.
|
|
9055
9089
|
* @class
|
|
9056
9090
|
*/
|
|
9057
|
-
class
|
|
9091
|
+
class NetworkInterface extends AbstractModel {
|
|
9058
9092
|
constructor(){
|
|
9059
9093
|
super();
|
|
9060
9094
|
|
|
9061
9095
|
/**
|
|
9062
|
-
*
|
|
9063
|
-
|
|
9064
|
-
* @type {number || null}
|
|
9096
|
+
* <p>Network interface card type. This field is required in the request for each network interface.</p><p>Enumeration values:</p><ul><li>PRIMARY: Primary network interface</li><li>SECONDARY: Auxiliary network interface</li></ul><p>When configuring upper-level NetworkInterfaces, the array must explicitly contain and can only contain one PRIMARY. AS does not auto-complete the primary network interface.</p>
|
|
9097
|
+
* @type {string || null}
|
|
9065
9098
|
*/
|
|
9066
|
-
this.
|
|
9099
|
+
this.InterfaceType = null;
|
|
9067
9100
|
|
|
9068
9101
|
/**
|
|
9069
|
-
*
|
|
9070
|
-
For example, if the desired capacity is 3, the `BaseCapacity` is set to 1, and the `OnDemandPercentageAboveBaseCapacity` is set to 1, the scaling group will have 2 pay-as-you-go instance (one comes from the base capacity, and the other comes from the rounded up value of the proportion), and 1 spot instance.
|
|
9071
|
-
Note: this field may return `null`, indicating that no valid value can be obtained.
|
|
9102
|
+
* <p>Total number of private IPv4 addresses requested for the network interface card, including the primary IP.</p><p>Value range: [1, 40]</p><p>Required for SECONDARY network interface card requests; optional for PRIMARY network interface card requests. If left empty, it is processed as 1 only when constructing a CVM request copy during actual scaling, and is not written back to the launch configuration. The explicitly passed in value is passed through to CVM by AS, and finally validated by CVM/VPC.</p>
|
|
9072
9103
|
* @type {number || null}
|
|
9073
9104
|
*/
|
|
9074
|
-
this.
|
|
9105
|
+
this.PrivateIpv4AddressCount = null;
|
|
9075
9106
|
|
|
9076
9107
|
/**
|
|
9077
|
-
*
|
|
9078
|
-
|
|
9079
|
-
<br><li>`CAPACITY_OPTIMIZED`: the optimal capacity policy. For each model in the launch configuration, AS tries to purchase it based on the largest stock in each availability zone, minimizing the automatic repossession probability of spot instances.
|
|
9080
|
-
Note: this field may return `null`, indicating that no valid value can be obtained.
|
|
9081
|
-
* @type {string || null}
|
|
9108
|
+
* <p>List of security group IDs bound to the ENI.</p><p>Input limit: up to 10.</p><p>For PRIMARY, a non-empty list explicitly configured in the network interface takes precedence over the SecurityGroupIds parameter in the launch configuration; if not configured in the network interface, the SecurityGroupIds parameter in the launch configuration is used. If neither is configured, AS does not specify security groups and proceeds with the CVM default rule. For SECONDARY, only the non-empty list explicitly configured in the network interface is passed through, and the SecurityGroupIds parameter in the launch configuration is not inherited.</p>
|
|
9109
|
+
* @type {Array.<string> || null}
|
|
9082
9110
|
*/
|
|
9083
|
-
this.
|
|
9111
|
+
this.SecurityGroupIds = null;
|
|
9084
9112
|
|
|
9085
9113
|
/**
|
|
9086
|
-
* Whether to
|
|
9087
|
-
<br><li>`TRUE`: yes. After the purchase of spot instances failed due to insufficient stock and other reasons, purchase pay-as-you-go instances.
|
|
9088
|
-
<br><li>`FALSE`: no. The scaling group only tries the configured model of spot instances when it needs to add spot instances.
|
|
9089
|
-
|
|
9090
|
-
Default value: `TRUE`.
|
|
9091
|
-
Note: this field may return `null`, indicating that no valid value can be obtained.
|
|
9114
|
+
* <p>Whether to reserve the auxiliary network interface when instance is terminated. Only applicable to SECONDARY.</p><p>Enumeration values:</p><ul><li>false: Do not retain the auxiliary network interface. It will destroy with the instance.</li><li>true: Retain the auxiliary network interface.</li></ul><p>Default value: false</p><p>PRIMARY does not allow configuration of true.</p>
|
|
9092
9115
|
* @type {boolean || null}
|
|
9093
9116
|
*/
|
|
9094
|
-
this.
|
|
9117
|
+
this.IsKeepENI = null;
|
|
9095
9118
|
|
|
9096
9119
|
}
|
|
9097
9120
|
|
|
@@ -9102,10 +9125,10 @@ Note: this field may return `null`, indicating that no valid value can be obtain
|
|
|
9102
9125
|
if (!params) {
|
|
9103
9126
|
return;
|
|
9104
9127
|
}
|
|
9105
|
-
this.
|
|
9106
|
-
this.
|
|
9107
|
-
this.
|
|
9108
|
-
this.
|
|
9128
|
+
this.InterfaceType = 'InterfaceType' in params ? params.InterfaceType : null;
|
|
9129
|
+
this.PrivateIpv4AddressCount = 'PrivateIpv4AddressCount' in params ? params.PrivateIpv4AddressCount : null;
|
|
9130
|
+
this.SecurityGroupIds = 'SecurityGroupIds' in params ? params.SecurityGroupIds : null;
|
|
9131
|
+
this.IsKeepENI = 'IsKeepENI' in params ? params.IsKeepENI : null;
|
|
9109
9132
|
|
|
9110
9133
|
}
|
|
9111
9134
|
}
|
|
@@ -9698,28 +9721,24 @@ class InternetAccessible extends AbstractModel {
|
|
|
9698
9721
|
|
|
9699
9722
|
/**
|
|
9700
9723
|
* Network billing type. Valid values: <li>BANDWIDTH_PREPAID: prepaid by bandwidth;</li> <li>TRAFFIC_POSTPAID_BY_HOUR: postpaid by traffic per hour;</li> <li>BANDWIDTH_POSTPAID_BY_HOUR: postpaid by bandwidth per hour;</li> <li>BANDWIDTH_PACKAGE: bandwidth package users.</li> Default value: TRAFFIC_POSTPAID_BY_HOUR.
|
|
9701
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
9702
9724
|
* @type {string || null}
|
|
9703
9725
|
*/
|
|
9704
9726
|
this.InternetChargeType = null;
|
|
9705
9727
|
|
|
9706
9728
|
/**
|
|
9707
|
-
*
|
|
9708
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
9729
|
+
* Public network outbound bandwidth cap. Unit: Mbps. Default value: 0 Mbps. Bandwidth cap range varies by model. For specific limitations, see [Purchase Network Bandwidth](https://www.tencentcloud.com/document/product/213/509?from_cn_redirect=1).
|
|
9709
9730
|
* @type {number || null}
|
|
9710
9731
|
*/
|
|
9711
9732
|
this.InternetMaxBandwidthOut = null;
|
|
9712
9733
|
|
|
9713
9734
|
/**
|
|
9714
|
-
* Whether to assign a public IP address. Valid values: <li>TRUE: Allocate a public IP address.</li
|
|
9715
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
9735
|
+
* Whether to assign a public IP address. Valid values: <li>TRUE: Allocate a public IP address.</li><li>FALSE: Do not allocate a public IP address.</li>When the public network bandwidth is greater than 0 Mbps, you can choose whether to enable this feature. By default, a public IP address is assigned. When the public network bandwidth is 0, assigning a public IP address is not allowed.
|
|
9716
9736
|
* @type {boolean || null}
|
|
9717
9737
|
*/
|
|
9718
9738
|
this.PublicIpAssigned = null;
|
|
9719
9739
|
|
|
9720
9740
|
/**
|
|
9721
|
-
* Bandwidth package ID
|
|
9722
|
-
Note: this field may return null, indicating that no valid value was found.
|
|
9741
|
+
* Bandwidth package ID, which can be obtained from the `BandwidthPackageId` in the return value from the [DescribeBandwidthPackages](https://www.tencentcloud.com/document/api/215/19209?from_cn_redirect=1) API.
|
|
9723
9742
|
* @type {string || null}
|
|
9724
9743
|
*/
|
|
9725
9744
|
this.BandwidthPackageId = null;
|
|
@@ -10034,6 +10053,7 @@ module.exports = {
|
|
|
10034
10053
|
ModifyLifecycleHookResponse: ModifyLifecycleHookResponse,
|
|
10035
10054
|
LifecycleCommand: LifecycleCommand,
|
|
10036
10055
|
DescribeAutoScalingAdvicesResponse: DescribeAutoScalingAdvicesResponse,
|
|
10056
|
+
SpotMixedAllocationPolicy: SpotMixedAllocationPolicy,
|
|
10037
10057
|
CreateAutoScalingGroupRequest: CreateAutoScalingGroupRequest,
|
|
10038
10058
|
DeleteScheduledActionResponse: DeleteScheduledActionResponse,
|
|
10039
10059
|
UpgradeLaunchConfigurationRequest: UpgradeLaunchConfigurationRequest,
|
|
@@ -10102,7 +10122,7 @@ module.exports = {
|
|
|
10102
10122
|
AttachInstancesRequest: AttachInstancesRequest,
|
|
10103
10123
|
StopInstanceRefreshResponse: StopInstanceRefreshResponse,
|
|
10104
10124
|
AttachLoadBalancersRequest: AttachLoadBalancersRequest,
|
|
10105
|
-
|
|
10125
|
+
NetworkInterface: NetworkInterface,
|
|
10106
10126
|
HostNameIndexSettings: HostNameIndexSettings,
|
|
10107
10127
|
ResumeInstanceRefreshResponse: ResumeInstanceRefreshResponse,
|
|
10108
10128
|
DescribeScalingPoliciesResponse: DescribeScalingPoliciesResponse,
|