tencentcloud-sdk-nodejs-intl-en 3.0.446 → 3.0.449
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
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.449";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -40,6 +40,7 @@ const DescribeHostsResponse = models.DescribeHostsResponse;
|
|
|
40
40
|
const DeleteKeyPairsRequest = models.DeleteKeyPairsRequest;
|
|
41
41
|
const SystemDisk = models.SystemDisk;
|
|
42
42
|
const ResetInstanceRequest = models.ResetInstanceRequest;
|
|
43
|
+
const LaunchTemplate = models.LaunchTemplate;
|
|
43
44
|
const AllocateHostsRequest = models.AllocateHostsRequest;
|
|
44
45
|
const LoginSettings = models.LoginSettings;
|
|
45
46
|
const DescribeRegionsResponse = models.DescribeRegionsResponse;
|
|
@@ -64,6 +65,7 @@ const ModifyImageSharePermissionRequest = models.ModifyImageSharePermissionReque
|
|
|
64
65
|
const DisassociateInstancesKeyPairsResponse = models.DisassociateInstancesKeyPairsResponse;
|
|
65
66
|
const DescribeLaunchTemplateVersionsRequest = models.DescribeLaunchTemplateVersionsRequest;
|
|
66
67
|
const InquiryPriceResizeInstanceDisksRequest = models.InquiryPriceResizeInstanceDisksRequest;
|
|
68
|
+
const RunInstancesResponse = models.RunInstancesResponse;
|
|
67
69
|
const ModifyInstancesAttributeResponse = models.ModifyInstancesAttributeResponse;
|
|
68
70
|
const DescribeInstancesOperationLimitResponse = models.DescribeInstancesOperationLimitResponse;
|
|
69
71
|
const SyncImagesResponse = models.SyncImagesResponse;
|
|
@@ -126,6 +128,7 @@ const AllocateHostsResponse = models.AllocateHostsResponse;
|
|
|
126
128
|
const DescribeImageSharePermissionRequest = models.DescribeImageSharePermissionRequest;
|
|
127
129
|
const DisasterRecoverGroup = models.DisasterRecoverGroup;
|
|
128
130
|
const InquiryPriceResetInstanceResponse = models.InquiryPriceResetInstanceResponse;
|
|
131
|
+
const RunInstancesRequest = models.RunInstancesRequest;
|
|
129
132
|
const Filter = models.Filter;
|
|
130
133
|
const LaunchTemplateInfo = models.LaunchTemplateInfo;
|
|
131
134
|
const InquiryPriceResetInstancesInternetMaxBandwidthRequest = models.InquiryPriceResetInstancesInternetMaxBandwidthRequest;
|
|
@@ -482,6 +485,22 @@ If you currently use a password to log in, you will no longer be able to do so a
|
|
|
482
485
|
this.request("AssociateInstancesKeyPairs", req, resp, cb);
|
|
483
486
|
}
|
|
484
487
|
|
|
488
|
+
/**
|
|
489
|
+
* This API is used to create one or more instances with a specified configuration.
|
|
490
|
+
|
|
491
|
+
* After an instance is created successfully, it will start up automatically, and the [instance state](https://intl.cloud.tencent.com/document/api/213/9452?from_cn_redirect=1#instance_state) will become "Running".
|
|
492
|
+
* If you create a pay-as-you-go instance billed on an hourly basis, an amount equivalent to the hourly rate will be frozen before the creation. Make sure your account balance is sufficient before calling this API.
|
|
493
|
+
* The number of instances you can purchase through this API is subject to the [CVM instance purchase limit](https://intl.cloud.tencent.com/document/product/213/2664?from_cn_redirect=1). Both the instances created through this API and the console will be counted toward the quota.
|
|
494
|
+
* This API is an async API. An instance `ID` list will be returned after you successfully make a creation request. However, it does not mean the creation has been completed. The state of the instance will be `Creating` during the creation. You can use [DescribeInstances](https://intl.cloud.tencent.com/document/api/213/15728?from_cn_redirect=1) to query the status of the instance. If the status changes from `Creating` to `Running`, it means that the instance has been created successfully.
|
|
495
|
+
* @param {RunInstancesRequest} req
|
|
496
|
+
* @param {function(string, RunInstancesResponse):void} cb
|
|
497
|
+
* @public
|
|
498
|
+
*/
|
|
499
|
+
RunInstances(req, cb) {
|
|
500
|
+
let resp = new RunInstancesResponse();
|
|
501
|
+
this.request("RunInstances", req, resp, cb);
|
|
502
|
+
}
|
|
503
|
+
|
|
485
504
|
/**
|
|
486
505
|
* This API is used to delete an instance launch template.
|
|
487
506
|
* @param {DeleteLaunchTemplateRequest} req
|
|
@@ -1049,6 +1049,41 @@ class ResetInstanceRequest extends AbstractModel {
|
|
|
1049
1049
|
}
|
|
1050
1050
|
}
|
|
1051
1051
|
|
|
1052
|
+
/**
|
|
1053
|
+
* Instance launch template. This parameter enables you to create an instance using the preset parameters in the template.
|
|
1054
|
+
* @class
|
|
1055
|
+
*/
|
|
1056
|
+
class LaunchTemplate extends AbstractModel {
|
|
1057
|
+
constructor(){
|
|
1058
|
+
super();
|
|
1059
|
+
|
|
1060
|
+
/**
|
|
1061
|
+
* Instance launch template ID. This parameter enables you to create an instance using the preset parameters in the template.
|
|
1062
|
+
* @type {string || null}
|
|
1063
|
+
*/
|
|
1064
|
+
this.LaunchTemplateId = null;
|
|
1065
|
+
|
|
1066
|
+
/**
|
|
1067
|
+
* Instance launch template version number. If specified, this parameter will be used to create a new instance launch template.
|
|
1068
|
+
* @type {number || null}
|
|
1069
|
+
*/
|
|
1070
|
+
this.LaunchTemplateVersion = null;
|
|
1071
|
+
|
|
1072
|
+
}
|
|
1073
|
+
|
|
1074
|
+
/**
|
|
1075
|
+
* @private
|
|
1076
|
+
*/
|
|
1077
|
+
deserialize(params) {
|
|
1078
|
+
if (!params) {
|
|
1079
|
+
return;
|
|
1080
|
+
}
|
|
1081
|
+
this.LaunchTemplateId = 'LaunchTemplateId' in params ? params.LaunchTemplateId : null;
|
|
1082
|
+
this.LaunchTemplateVersion = 'LaunchTemplateVersion' in params ? params.LaunchTemplateVersion : null;
|
|
1083
|
+
|
|
1084
|
+
}
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1052
1087
|
/**
|
|
1053
1088
|
* AllocateHosts request structure.
|
|
1054
1089
|
* @class
|
|
@@ -2192,6 +2227,41 @@ class InquiryPriceResizeInstanceDisksRequest extends AbstractModel {
|
|
|
2192
2227
|
}
|
|
2193
2228
|
}
|
|
2194
2229
|
|
|
2230
|
+
/**
|
|
2231
|
+
* RunInstances response structure.
|
|
2232
|
+
* @class
|
|
2233
|
+
*/
|
|
2234
|
+
class RunInstancesResponse extends AbstractModel {
|
|
2235
|
+
constructor(){
|
|
2236
|
+
super();
|
|
2237
|
+
|
|
2238
|
+
/**
|
|
2239
|
+
* If you use this API to create instance(s), this parameter will be returned, representing one or more instance `ID`s. Retuning the instance `ID` list does not necessarily mean that the instance(s) were created successfully. To check whether the instance(s) were created successfully, you can call [DescribeInstances](https://intl.cloud.tencent.com/document/api/213/15728?from_cn_redirect=1) and check the states of the instances in `InstancesSet` in the response. If the state of an instance changes from "pending" to "running", it means that the instance has been created successfully.
|
|
2240
|
+
* @type {Array.<string> || null}
|
|
2241
|
+
*/
|
|
2242
|
+
this.InstanceIdSet = null;
|
|
2243
|
+
|
|
2244
|
+
/**
|
|
2245
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
2246
|
+
* @type {string || null}
|
|
2247
|
+
*/
|
|
2248
|
+
this.RequestId = null;
|
|
2249
|
+
|
|
2250
|
+
}
|
|
2251
|
+
|
|
2252
|
+
/**
|
|
2253
|
+
* @private
|
|
2254
|
+
*/
|
|
2255
|
+
deserialize(params) {
|
|
2256
|
+
if (!params) {
|
|
2257
|
+
return;
|
|
2258
|
+
}
|
|
2259
|
+
this.InstanceIdSet = 'InstanceIdSet' in params ? params.InstanceIdSet : null;
|
|
2260
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2261
|
+
|
|
2262
|
+
}
|
|
2263
|
+
}
|
|
2264
|
+
|
|
2195
2265
|
/**
|
|
2196
2266
|
* ModifyInstancesAttribute response structure.
|
|
2197
2267
|
* @class
|
|
@@ -5922,6 +5992,289 @@ class InquiryPriceResetInstanceResponse extends AbstractModel {
|
|
|
5922
5992
|
}
|
|
5923
5993
|
}
|
|
5924
5994
|
|
|
5995
|
+
/**
|
|
5996
|
+
* RunInstances request structure.
|
|
5997
|
+
* @class
|
|
5998
|
+
*/
|
|
5999
|
+
class RunInstancesRequest extends AbstractModel {
|
|
6000
|
+
constructor(){
|
|
6001
|
+
super();
|
|
6002
|
+
|
|
6003
|
+
/**
|
|
6004
|
+
* Instance [billing type](https://intl.cloud.tencent.com/document/product/213/2180?from_cn_redirect=1). <br><li>POSTPAID_BY_HOUR: pay-as-you-go billing by hour <br><li>CDHPAID: Dedicated CVM (associated with a dedicated host. Resource usage of the dedicated host is free of charge.) <br><li>SPOTPAID: [spot instance] (https://intl.cloud.tencent.com/document/product/213/17817)<br> Default value: POSTPAID_BY_HOUR.
|
|
6005
|
+
* @type {string || null}
|
|
6006
|
+
*/
|
|
6007
|
+
this.InstanceChargeType = null;
|
|
6008
|
+
|
|
6009
|
+
/**
|
|
6010
|
+
* Configuration of prepaid instances. You can use the parameter to specify the attributes of prepaid instances, such as the subscription period and the auto-renewal plan. This parameter is required for prepaid instances.
|
|
6011
|
+
* @type {InstanceChargePrepaid || null}
|
|
6012
|
+
*/
|
|
6013
|
+
this.InstanceChargePrepaid = null;
|
|
6014
|
+
|
|
6015
|
+
/**
|
|
6016
|
+
* Location of the instance. You can use this parameter to specify the attributes of the instance, such as its availability zone, project, and CDH. You can specify a CDH for a CVM by creating the CVM on the CDH.
|
|
6017
|
+
<b>Note: `Placement` is required when `LaunchTemplate` is not specified. If both the parameters are passed in, `Placement` prevails.</b>
|
|
6018
|
+
* @type {Placement || null}
|
|
6019
|
+
*/
|
|
6020
|
+
this.Placement = null;
|
|
6021
|
+
|
|
6022
|
+
/**
|
|
6023
|
+
* The instance model. Different resource specifications are specified for different instance models.
|
|
6024
|
+
<br><li>To view specific values for `POSTPAID_BY_HOUR` instances, you can call [DescribeInstanceTypeConfigs](https://intl.cloud.tencent.com/document/api/213/15749?from_cn_redirect=1) or refer to [Instance Types](https://intl.cloud.tencent.com/document/product/213/11518?from_cn_redirect=1). If this parameter is not specified, `S1.SMALL1` will be used by default.<br><li>For `CDHPAID` instances, the value of this parameter is in the format of `CDH_XCXG` based on the number of CPU cores and memory capacity. For example, if you want to create a CDH instance with a single-core CPU and 1 GB memory, specify this parameter as `CDH_1C1G`.
|
|
6025
|
+
* @type {string || null}
|
|
6026
|
+
*/
|
|
6027
|
+
this.InstanceType = null;
|
|
6028
|
+
|
|
6029
|
+
/**
|
|
6030
|
+
* The [image](https://intl.cloud.tencent.com/document/product/213/4940?from_cn_redirect=1) ID in the format of `img-xxx`. There are four types of images:<br/><li>Public images</li><li>Custom images</li><li>Shared images</li><li>Marketplace images (for Chinese mainland only)</li><br/>To check the image ID:<br/><li>For public images, custom images, and shared images, go to the [console](https://console.cloud.tencent.com/cvm/image?rid=1&imageType=PUBLIC_IMAGE). For marketplace images, go to [Cloud Marketplace](https://market.cloud.tencent.com/list). </li><li>Call [DescribeImages](https://intl.cloud.tencent.com/document/api/213/15715?from_cn_redirect=1), pass in `InstanceType` to retrieve the list of images supported by the current model, and then find the `ImageId` in the response.</li>
|
|
6031
|
+
<b>Note: `ImageId` is required when `LaunchTemplate` is not specified. If both the parameters are passed in, `ImageId` prevails.</b>
|
|
6032
|
+
* @type {string || null}
|
|
6033
|
+
*/
|
|
6034
|
+
this.ImageId = null;
|
|
6035
|
+
|
|
6036
|
+
/**
|
|
6037
|
+
* System disk configuration of the instance. If this parameter is not specified, the default value will be used.
|
|
6038
|
+
* @type {SystemDisk || null}
|
|
6039
|
+
*/
|
|
6040
|
+
this.SystemDisk = null;
|
|
6041
|
+
|
|
6042
|
+
/**
|
|
6043
|
+
* The configuration information of instance data disks. If this parameter is not specified, no data disk will be purchased by default. When purchasing, you can specify 21 data disks, which can contain at most 1 LOCAL_BASIC data disk or LOCAL_SSD data disk, and at most 20 CLOUD_BASIC data disks, CLOUD_PREMIUM data disks, or CLOUD_SSD data disks.
|
|
6044
|
+
* @type {Array.<DataDisk> || null}
|
|
6045
|
+
*/
|
|
6046
|
+
this.DataDisks = null;
|
|
6047
|
+
|
|
6048
|
+
/**
|
|
6049
|
+
* Configuration information of VPC. This parameter is used to specify VPC ID and subnet ID, etc. If this parameter is not specified, the classic network is used by default. If a VPC IP is specified in this parameter, it indicates the primary ENI IP of each instance. The value of parameter InstanceCount must be same as the number of VPC IPs, which cannot be greater than 20.
|
|
6050
|
+
* @type {VirtualPrivateCloud || null}
|
|
6051
|
+
*/
|
|
6052
|
+
this.VirtualPrivateCloud = null;
|
|
6053
|
+
|
|
6054
|
+
/**
|
|
6055
|
+
* Configuration of public network bandwidth. If this parameter is not specified, 0 Mbps will be used by default.
|
|
6056
|
+
* @type {InternetAccessible || null}
|
|
6057
|
+
*/
|
|
6058
|
+
this.InternetAccessible = null;
|
|
6059
|
+
|
|
6060
|
+
/**
|
|
6061
|
+
* The number of instances to be purchased. Value range: [1, 100]; default value: 1. The specified number of instances to be purchased cannot exceed the remaining quota allowed for the user. For more information on the quota, see [CVM instance purchase limit](https://intl.cloud.tencent.com/document/product/213/2664).
|
|
6062
|
+
* @type {number || null}
|
|
6063
|
+
*/
|
|
6064
|
+
this.InstanceCount = null;
|
|
6065
|
+
|
|
6066
|
+
/**
|
|
6067
|
+
* Instance name to be displayed.<br><li>If this parameter is not specified, "Unnamed" will be displayed by default.</li><li>If you purchase multiple instances at the same time and specify a pattern string `{R:x}`, numbers `[x, x+n-1]` will be generated, where `n` represents the number of instances purchased. For example, you specify a pattern string, `server_{R:3}`. If you only purchase 1 instance, the instance will be named `server_3`; if you purchase 2, they will be named `server_3` and `server_4`. You can specify multiple pattern strings in the format of `{R:x}`.</li><li>If you purchase multiple instances at the same time and do not specify a pattern string, the instance names will be suffixed by `1, 2...n`, where `n` represents the number of instances purchased. For example, if you purchase 2 instances and name them as `server_`, the instance names will be displayed as `server_1` and `server_2`.</li><li>The instance name contains up to 60 characters (including pattern strings).
|
|
6068
|
+
* @type {string || null}
|
|
6069
|
+
*/
|
|
6070
|
+
this.InstanceName = null;
|
|
6071
|
+
|
|
6072
|
+
/**
|
|
6073
|
+
* Instance login settings. You can use this parameter to set the login method, login password and SSH key, or keep the original login settings of the image. If it's not specified, the user needs to set the login password using the "Reset password" option in the CVM console or calling the API `ResetInstancesPassword` to complete the creation of the CVM instance(s).
|
|
6074
|
+
* @type {LoginSettings || null}
|
|
6075
|
+
*/
|
|
6076
|
+
this.LoginSettings = null;
|
|
6077
|
+
|
|
6078
|
+
/**
|
|
6079
|
+
* Security groups to which the instance belongs. To obtain the security group IDs, you can call [DescribeSecurityGroups](https://intl.cloud.tencent.com/document/api/215/15808) and look for the `sgld` fields in the response. If this parameter is not specified, the instance will be associated with default security groups.
|
|
6080
|
+
* @type {Array.<string> || null}
|
|
6081
|
+
*/
|
|
6082
|
+
this.SecurityGroupIds = null;
|
|
6083
|
+
|
|
6084
|
+
/**
|
|
6085
|
+
* Specifies whether to enable services such as Anti-DDoS and Cloud Monitor. If this parameter is not specified, Cloud Monitor and Anti-DDoS are enabled for public images by default. However, for custom images and images from the marketplace, Anti-DDoS and Cloud Monitor are not enabled by default. The original services in the image will be retained.
|
|
6086
|
+
* @type {EnhancedService || null}
|
|
6087
|
+
*/
|
|
6088
|
+
this.EnhancedService = null;
|
|
6089
|
+
|
|
6090
|
+
/**
|
|
6091
|
+
* A string used to ensure the idempotency of the request, which is generated by the user and must be unique to each request. The maximum length is 64 ASCII characters. If this parameter is not specified, the idempotency of the request cannot be guaranteed. <br>For more information, see 'How to ensure idempotency'.
|
|
6092
|
+
* @type {string || null}
|
|
6093
|
+
*/
|
|
6094
|
+
this.ClientToken = null;
|
|
6095
|
+
|
|
6096
|
+
/**
|
|
6097
|
+
* Instance hostname. <br><li>Dots (.) and dashes (-) can not be used as the first or last character of HostName nor used consecutively. <br<li>Windows instances: 2 to 15 characters, including English letters (case-insensitive), numbers and dashes (-). Dots and numeric-only names are not allowed. <br><li>Other instances (Linux, etc.): 2 to 60 characters, including English letters (case-insensitive), numbers, dashes (-) and dots. Note that consecutive dots are not allowed.<br><li>Batch naming: use `{R:x}` for batch naming if multiple instances are purchased. `x` is the serial number of the instance. It’s generated by [x, x+n-1], where `n` refers to the number of instances purchased. For example, if `server{R:3}` is input, if you purchase one instance, the hostname is `server3`. If you purchase two instances, the hostnames are `server3` and `server4` respectively. You can specify multiple pattern strings `{R:x}`. </li><br><li>Purchasing multiple instances: If no pattern string is specified, you shall add suffixes `1, 2...n` to the instance hostname. `n` represents the number of purchased instances. For example, if the instance hostname is `server`, when two instances are purchased, the hostnames of instances purchased are respectively `server1` and `server2`.
|
|
6098
|
+
* @type {string || null}
|
|
6099
|
+
*/
|
|
6100
|
+
this.HostName = null;
|
|
6101
|
+
|
|
6102
|
+
/**
|
|
6103
|
+
* Scheduled tasks. You can use this parameter to specify scheduled tasks for the instance. Only scheduled termination is supported.
|
|
6104
|
+
* @type {ActionTimer || null}
|
|
6105
|
+
*/
|
|
6106
|
+
this.ActionTimer = null;
|
|
6107
|
+
|
|
6108
|
+
/**
|
|
6109
|
+
* Placement group ID. You can only specify one.
|
|
6110
|
+
* @type {Array.<string> || null}
|
|
6111
|
+
*/
|
|
6112
|
+
this.DisasterRecoverGroupIds = null;
|
|
6113
|
+
|
|
6114
|
+
/**
|
|
6115
|
+
* Binds the tag with the specified resources (CVM and CLB) as well
|
|
6116
|
+
* @type {Array.<TagSpecification> || null}
|
|
6117
|
+
*/
|
|
6118
|
+
this.TagSpecification = null;
|
|
6119
|
+
|
|
6120
|
+
/**
|
|
6121
|
+
* The market options of the instance.
|
|
6122
|
+
* @type {InstanceMarketOptionsRequest || null}
|
|
6123
|
+
*/
|
|
6124
|
+
this.InstanceMarketOptions = null;
|
|
6125
|
+
|
|
6126
|
+
/**
|
|
6127
|
+
* User data provided to the instance, which needs to be encoded in base64 format with the maximum size of 16KB. For more information on how to get the value of this parameter, see the commands you need to execute on startup for [Windows](https://intl.cloud.tencent.com/document/product/213/17526) or [Linux](https://intl.cloud.tencent.com/document/product/213/17525).
|
|
6128
|
+
* @type {string || null}
|
|
6129
|
+
*/
|
|
6130
|
+
this.UserData = null;
|
|
6131
|
+
|
|
6132
|
+
/**
|
|
6133
|
+
* Whether the request is a dry run only.
|
|
6134
|
+
true: dry run only. The request will not create instance(s). A dry run can check whether all the required parameters are specified, whether the request format is right, whether the request exceeds service limits, and whether the specified CVMs are available.
|
|
6135
|
+
If the dry run fails, the corresponding error code will be returned.
|
|
6136
|
+
If the dry run succeeds, the RequestId will be returned.
|
|
6137
|
+
false (default value): send a normal request and create instance(s) if all the requirements are met.
|
|
6138
|
+
* @type {boolean || null}
|
|
6139
|
+
*/
|
|
6140
|
+
this.DryRun = null;
|
|
6141
|
+
|
|
6142
|
+
/**
|
|
6143
|
+
* CAM role name, which can be obtained from the `roleName` field in the response of the [`DescribeRoleList`](https://intl.cloud.tencent.com/document/product/598/36223?from_cn_redirect=1) API.
|
|
6144
|
+
* @type {string || null}
|
|
6145
|
+
*/
|
|
6146
|
+
this.CamRoleName = null;
|
|
6147
|
+
|
|
6148
|
+
/**
|
|
6149
|
+
* HPC cluster ID. The HPC cluster must and can only be specified for a high-performance computing instance.
|
|
6150
|
+
* @type {string || null}
|
|
6151
|
+
*/
|
|
6152
|
+
this.HpcClusterId = null;
|
|
6153
|
+
|
|
6154
|
+
/**
|
|
6155
|
+
* Instance launch template.
|
|
6156
|
+
* @type {LaunchTemplate || null}
|
|
6157
|
+
*/
|
|
6158
|
+
this.LaunchTemplate = null;
|
|
6159
|
+
|
|
6160
|
+
/**
|
|
6161
|
+
* Specify the CHC physical server that used to create the CHC CVM.
|
|
6162
|
+
* @type {Array.<string> || null}
|
|
6163
|
+
*/
|
|
6164
|
+
this.ChcIds = null;
|
|
6165
|
+
|
|
6166
|
+
/**
|
|
6167
|
+
*
|
|
6168
|
+
* @type {boolean || null}
|
|
6169
|
+
*/
|
|
6170
|
+
this.DisableApiTermination = null;
|
|
6171
|
+
|
|
6172
|
+
}
|
|
6173
|
+
|
|
6174
|
+
/**
|
|
6175
|
+
* @private
|
|
6176
|
+
*/
|
|
6177
|
+
deserialize(params) {
|
|
6178
|
+
if (!params) {
|
|
6179
|
+
return;
|
|
6180
|
+
}
|
|
6181
|
+
this.InstanceChargeType = 'InstanceChargeType' in params ? params.InstanceChargeType : null;
|
|
6182
|
+
|
|
6183
|
+
if (params.InstanceChargePrepaid) {
|
|
6184
|
+
let obj = new InstanceChargePrepaid();
|
|
6185
|
+
obj.deserialize(params.InstanceChargePrepaid)
|
|
6186
|
+
this.InstanceChargePrepaid = obj;
|
|
6187
|
+
}
|
|
6188
|
+
|
|
6189
|
+
if (params.Placement) {
|
|
6190
|
+
let obj = new Placement();
|
|
6191
|
+
obj.deserialize(params.Placement)
|
|
6192
|
+
this.Placement = obj;
|
|
6193
|
+
}
|
|
6194
|
+
this.InstanceType = 'InstanceType' in params ? params.InstanceType : null;
|
|
6195
|
+
this.ImageId = 'ImageId' in params ? params.ImageId : null;
|
|
6196
|
+
|
|
6197
|
+
if (params.SystemDisk) {
|
|
6198
|
+
let obj = new SystemDisk();
|
|
6199
|
+
obj.deserialize(params.SystemDisk)
|
|
6200
|
+
this.SystemDisk = obj;
|
|
6201
|
+
}
|
|
6202
|
+
|
|
6203
|
+
if (params.DataDisks) {
|
|
6204
|
+
this.DataDisks = new Array();
|
|
6205
|
+
for (let z in params.DataDisks) {
|
|
6206
|
+
let obj = new DataDisk();
|
|
6207
|
+
obj.deserialize(params.DataDisks[z]);
|
|
6208
|
+
this.DataDisks.push(obj);
|
|
6209
|
+
}
|
|
6210
|
+
}
|
|
6211
|
+
|
|
6212
|
+
if (params.VirtualPrivateCloud) {
|
|
6213
|
+
let obj = new VirtualPrivateCloud();
|
|
6214
|
+
obj.deserialize(params.VirtualPrivateCloud)
|
|
6215
|
+
this.VirtualPrivateCloud = obj;
|
|
6216
|
+
}
|
|
6217
|
+
|
|
6218
|
+
if (params.InternetAccessible) {
|
|
6219
|
+
let obj = new InternetAccessible();
|
|
6220
|
+
obj.deserialize(params.InternetAccessible)
|
|
6221
|
+
this.InternetAccessible = obj;
|
|
6222
|
+
}
|
|
6223
|
+
this.InstanceCount = 'InstanceCount' in params ? params.InstanceCount : null;
|
|
6224
|
+
this.InstanceName = 'InstanceName' in params ? params.InstanceName : null;
|
|
6225
|
+
|
|
6226
|
+
if (params.LoginSettings) {
|
|
6227
|
+
let obj = new LoginSettings();
|
|
6228
|
+
obj.deserialize(params.LoginSettings)
|
|
6229
|
+
this.LoginSettings = obj;
|
|
6230
|
+
}
|
|
6231
|
+
this.SecurityGroupIds = 'SecurityGroupIds' in params ? params.SecurityGroupIds : null;
|
|
6232
|
+
|
|
6233
|
+
if (params.EnhancedService) {
|
|
6234
|
+
let obj = new EnhancedService();
|
|
6235
|
+
obj.deserialize(params.EnhancedService)
|
|
6236
|
+
this.EnhancedService = obj;
|
|
6237
|
+
}
|
|
6238
|
+
this.ClientToken = 'ClientToken' in params ? params.ClientToken : null;
|
|
6239
|
+
this.HostName = 'HostName' in params ? params.HostName : null;
|
|
6240
|
+
|
|
6241
|
+
if (params.ActionTimer) {
|
|
6242
|
+
let obj = new ActionTimer();
|
|
6243
|
+
obj.deserialize(params.ActionTimer)
|
|
6244
|
+
this.ActionTimer = obj;
|
|
6245
|
+
}
|
|
6246
|
+
this.DisasterRecoverGroupIds = 'DisasterRecoverGroupIds' in params ? params.DisasterRecoverGroupIds : null;
|
|
6247
|
+
|
|
6248
|
+
if (params.TagSpecification) {
|
|
6249
|
+
this.TagSpecification = new Array();
|
|
6250
|
+
for (let z in params.TagSpecification) {
|
|
6251
|
+
let obj = new TagSpecification();
|
|
6252
|
+
obj.deserialize(params.TagSpecification[z]);
|
|
6253
|
+
this.TagSpecification.push(obj);
|
|
6254
|
+
}
|
|
6255
|
+
}
|
|
6256
|
+
|
|
6257
|
+
if (params.InstanceMarketOptions) {
|
|
6258
|
+
let obj = new InstanceMarketOptionsRequest();
|
|
6259
|
+
obj.deserialize(params.InstanceMarketOptions)
|
|
6260
|
+
this.InstanceMarketOptions = obj;
|
|
6261
|
+
}
|
|
6262
|
+
this.UserData = 'UserData' in params ? params.UserData : null;
|
|
6263
|
+
this.DryRun = 'DryRun' in params ? params.DryRun : null;
|
|
6264
|
+
this.CamRoleName = 'CamRoleName' in params ? params.CamRoleName : null;
|
|
6265
|
+
this.HpcClusterId = 'HpcClusterId' in params ? params.HpcClusterId : null;
|
|
6266
|
+
|
|
6267
|
+
if (params.LaunchTemplate) {
|
|
6268
|
+
let obj = new LaunchTemplate();
|
|
6269
|
+
obj.deserialize(params.LaunchTemplate)
|
|
6270
|
+
this.LaunchTemplate = obj;
|
|
6271
|
+
}
|
|
6272
|
+
this.ChcIds = 'ChcIds' in params ? params.ChcIds : null;
|
|
6273
|
+
this.DisableApiTermination = 'DisableApiTermination' in params ? params.DisableApiTermination : null;
|
|
6274
|
+
|
|
6275
|
+
}
|
|
6276
|
+
}
|
|
6277
|
+
|
|
5925
6278
|
/**
|
|
5926
6279
|
* > Key-value pair filters used for conditional queries, such as filtering results by ID, name, and state.
|
|
5927
6280
|
> * If there are multiple `Filter` parameters, they are evaluated using the logical `AND` operator.
|
|
@@ -8923,6 +9276,7 @@ module.exports = {
|
|
|
8923
9276
|
DeleteKeyPairsRequest: DeleteKeyPairsRequest,
|
|
8924
9277
|
SystemDisk: SystemDisk,
|
|
8925
9278
|
ResetInstanceRequest: ResetInstanceRequest,
|
|
9279
|
+
LaunchTemplate: LaunchTemplate,
|
|
8926
9280
|
AllocateHostsRequest: AllocateHostsRequest,
|
|
8927
9281
|
LoginSettings: LoginSettings,
|
|
8928
9282
|
DescribeRegionsResponse: DescribeRegionsResponse,
|
|
@@ -8947,6 +9301,7 @@ module.exports = {
|
|
|
8947
9301
|
DisassociateInstancesKeyPairsResponse: DisassociateInstancesKeyPairsResponse,
|
|
8948
9302
|
DescribeLaunchTemplateVersionsRequest: DescribeLaunchTemplateVersionsRequest,
|
|
8949
9303
|
InquiryPriceResizeInstanceDisksRequest: InquiryPriceResizeInstanceDisksRequest,
|
|
9304
|
+
RunInstancesResponse: RunInstancesResponse,
|
|
8950
9305
|
ModifyInstancesAttributeResponse: ModifyInstancesAttributeResponse,
|
|
8951
9306
|
DescribeInstancesOperationLimitResponse: DescribeInstancesOperationLimitResponse,
|
|
8952
9307
|
SyncImagesResponse: SyncImagesResponse,
|
|
@@ -9009,6 +9364,7 @@ module.exports = {
|
|
|
9009
9364
|
DescribeImageSharePermissionRequest: DescribeImageSharePermissionRequest,
|
|
9010
9365
|
DisasterRecoverGroup: DisasterRecoverGroup,
|
|
9011
9366
|
InquiryPriceResetInstanceResponse: InquiryPriceResetInstanceResponse,
|
|
9367
|
+
RunInstancesRequest: RunInstancesRequest,
|
|
9012
9368
|
Filter: Filter,
|
|
9013
9369
|
LaunchTemplateInfo: LaunchTemplateInfo,
|
|
9014
9370
|
InquiryPriceResetInstancesInternetMaxBandwidthRequest: InquiryPriceResetInstancesInternetMaxBandwidthRequest,
|
|
@@ -5502,12 +5502,19 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
5502
5502
|
this.TotalConcurrencyMem = null;
|
|
5503
5503
|
|
|
5504
5504
|
/**
|
|
5505
|
-
*
|
|
5506
|
-
Note: This field may return `null`, indicating that no valid
|
|
5505
|
+
* Concurrency usage of the namespace
|
|
5506
|
+
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
5507
5507
|
* @type {number || null}
|
|
5508
5508
|
*/
|
|
5509
5509
|
this.TotalAllocatedConcurrencyMem = null;
|
|
5510
5510
|
|
|
5511
|
+
/**
|
|
5512
|
+
* Provisioned concurrency usage of the namespace
|
|
5513
|
+
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
5514
|
+
* @type {number || null}
|
|
5515
|
+
*/
|
|
5516
|
+
this.TotalAllocatedProvisionedMem = null;
|
|
5517
|
+
|
|
5511
5518
|
}
|
|
5512
5519
|
|
|
5513
5520
|
/**
|
|
@@ -5522,6 +5529,7 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
5522
5529
|
this.FunctionsCount = 'FunctionsCount' in params ? params.FunctionsCount : null;
|
|
5523
5530
|
this.TotalConcurrencyMem = 'TotalConcurrencyMem' in params ? params.TotalConcurrencyMem : null;
|
|
5524
5531
|
this.TotalAllocatedConcurrencyMem = 'TotalAllocatedConcurrencyMem' in params ? params.TotalAllocatedConcurrencyMem : null;
|
|
5532
|
+
this.TotalAllocatedProvisionedMem = 'TotalAllocatedProvisionedMem' in params ? params.TotalAllocatedProvisionedMem : null;
|
|
5525
5533
|
|
|
5526
5534
|
}
|
|
5527
5535
|
}
|
|
@@ -298,7 +298,7 @@ class ModifyBackupStrategyRequest extends AbstractModel {
|
|
|
298
298
|
this.InstanceId = null;
|
|
299
299
|
|
|
300
300
|
/**
|
|
301
|
-
* Backup
|
|
301
|
+
* Backup type. Valid values: `weekly` (when length(BackupDay) <=7 && length(BackupDay) >=2), `daily` (when length(BackupDay)=1). Default value: `daily`.
|
|
302
302
|
* @type {string || null}
|
|
303
303
|
*/
|
|
304
304
|
this.BackupType = null;
|
|
@@ -321,6 +321,18 @@ class ModifyBackupStrategyRequest extends AbstractModel {
|
|
|
321
321
|
*/
|
|
322
322
|
this.BackupModel = null;
|
|
323
323
|
|
|
324
|
+
/**
|
|
325
|
+
* The days of the week on which backup will be performed when “BackupType” is `weekly`. If data backup retention period is less than 7 days, the values will be 1-7, indicating that backup will be performed everyday by default; if data backup retention period is greater than or equal to 7 days, the values will be at least any two days, indicating that backup will be performed at least twice in a week by default.
|
|
326
|
+
* @type {Array.<number> || null}
|
|
327
|
+
*/
|
|
328
|
+
this.BackupCycle = null;
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* Data (log) backup retention period. Value range: 3-1830 days, default value: 7 days.
|
|
332
|
+
* @type {number || null}
|
|
333
|
+
*/
|
|
334
|
+
this.BackupSaveDays = null;
|
|
335
|
+
|
|
324
336
|
}
|
|
325
337
|
|
|
326
338
|
/**
|
|
@@ -335,6 +347,8 @@ class ModifyBackupStrategyRequest extends AbstractModel {
|
|
|
335
347
|
this.BackupTime = 'BackupTime' in params ? params.BackupTime : null;
|
|
336
348
|
this.BackupDay = 'BackupDay' in params ? params.BackupDay : null;
|
|
337
349
|
this.BackupModel = 'BackupModel' in params ? params.BackupModel : null;
|
|
350
|
+
this.BackupCycle = 'BackupCycle' in params ? params.BackupCycle : null;
|
|
351
|
+
this.BackupSaveDays = 'BackupSaveDays' in params ? params.BackupSaveDays : null;
|
|
338
352
|
|
|
339
353
|
}
|
|
340
354
|
}
|
|
@@ -1277,6 +1291,18 @@ class DescribeBackupsRequest extends AbstractModel {
|
|
|
1277
1291
|
*/
|
|
1278
1292
|
this.Group = null;
|
|
1279
1293
|
|
|
1294
|
+
/**
|
|
1295
|
+
* Backup type. Valid values: `1` (data backup), `2` (log backup). Default value: `1`.
|
|
1296
|
+
* @type {number || null}
|
|
1297
|
+
*/
|
|
1298
|
+
this.Type = null;
|
|
1299
|
+
|
|
1300
|
+
/**
|
|
1301
|
+
* Filter by backup file format. Valid values: `pkg` (archive file), `single` (Unarchived files).
|
|
1302
|
+
* @type {string || null}
|
|
1303
|
+
*/
|
|
1304
|
+
this.BackupFormat = null;
|
|
1305
|
+
|
|
1280
1306
|
}
|
|
1281
1307
|
|
|
1282
1308
|
/**
|
|
@@ -1297,6 +1323,8 @@ class DescribeBackupsRequest extends AbstractModel {
|
|
|
1297
1323
|
this.BackupId = 'BackupId' in params ? params.BackupId : null;
|
|
1298
1324
|
this.DatabaseName = 'DatabaseName' in params ? params.DatabaseName : null;
|
|
1299
1325
|
this.Group = 'Group' in params ? params.Group : null;
|
|
1326
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
1327
|
+
this.BackupFormat = 'BackupFormat' in params ? params.BackupFormat : null;
|
|
1300
1328
|
|
|
1301
1329
|
}
|
|
1302
1330
|
}
|
|
@@ -2901,6 +2929,12 @@ class DescribeDBInstancesRequest extends AbstractModel {
|
|
|
2901
2929
|
*/
|
|
2902
2930
|
this.UidSet = null;
|
|
2903
2931
|
|
|
2932
|
+
/**
|
|
2933
|
+
* Instance type. Valid values: `HA` (high-availability), `RO` (read-only), `SI` (basic edition), `BI` (business intelligence service).
|
|
2934
|
+
* @type {string || null}
|
|
2935
|
+
*/
|
|
2936
|
+
this.InstanceType = null;
|
|
2937
|
+
|
|
2904
2938
|
}
|
|
2905
2939
|
|
|
2906
2940
|
/**
|
|
@@ -2925,6 +2959,7 @@ class DescribeDBInstancesRequest extends AbstractModel {
|
|
|
2925
2959
|
this.TagKeys = 'TagKeys' in params ? params.TagKeys : null;
|
|
2926
2960
|
this.SearchKey = 'SearchKey' in params ? params.SearchKey : null;
|
|
2927
2961
|
this.UidSet = 'UidSet' in params ? params.UidSet : null;
|
|
2962
|
+
this.InstanceType = 'InstanceType' in params ? params.InstanceType : null;
|
|
2928
2963
|
|
|
2929
2964
|
}
|
|
2930
2965
|
}
|
|
@@ -4228,6 +4263,12 @@ class DescribeBackupFilesRequest extends AbstractModel {
|
|
|
4228
4263
|
*/
|
|
4229
4264
|
this.DatabaseName = null;
|
|
4230
4265
|
|
|
4266
|
+
/**
|
|
4267
|
+
* List items sorting by backup size. Valid values: `desc`(descending order), `asc` (ascending order). Default value: `desc`.
|
|
4268
|
+
* @type {string || null}
|
|
4269
|
+
*/
|
|
4270
|
+
this.OrderBy = null;
|
|
4271
|
+
|
|
4231
4272
|
}
|
|
4232
4273
|
|
|
4233
4274
|
/**
|
|
@@ -4242,6 +4283,7 @@ class DescribeBackupFilesRequest extends AbstractModel {
|
|
|
4242
4283
|
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
4243
4284
|
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
4244
4285
|
this.DatabaseName = 'DatabaseName' in params ? params.DatabaseName : null;
|
|
4286
|
+
this.OrderBy = 'OrderBy' in params ? params.OrderBy : null;
|
|
4245
4287
|
|
|
4246
4288
|
}
|
|
4247
4289
|
}
|
|
@@ -5012,6 +5054,18 @@ class AccountDetail extends AbstractModel {
|
|
|
5012
5054
|
*/
|
|
5013
5055
|
this.IsAdmin = null;
|
|
5014
5056
|
|
|
5057
|
+
/**
|
|
5058
|
+
* Valid values: `win-windows authentication`, `sql-sqlserver authentication`.
|
|
5059
|
+
* @type {string || null}
|
|
5060
|
+
*/
|
|
5061
|
+
this.Authentication = null;
|
|
5062
|
+
|
|
5063
|
+
/**
|
|
5064
|
+
* The host required for `win-windows authentication` account
|
|
5065
|
+
* @type {string || null}
|
|
5066
|
+
*/
|
|
5067
|
+
this.Host = null;
|
|
5068
|
+
|
|
5015
5069
|
}
|
|
5016
5070
|
|
|
5017
5071
|
/**
|
|
@@ -5038,6 +5092,8 @@ class AccountDetail extends AbstractModel {
|
|
|
5038
5092
|
}
|
|
5039
5093
|
}
|
|
5040
5094
|
this.IsAdmin = 'IsAdmin' in params ? params.IsAdmin : null;
|
|
5095
|
+
this.Authentication = 'Authentication' in params ? params.Authentication : null;
|
|
5096
|
+
this.Host = 'Host' in params ? params.Host : null;
|
|
5041
5097
|
|
|
5042
5098
|
}
|
|
5043
5099
|
}
|
|
@@ -5354,6 +5410,37 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
5354
5410
|
*/
|
|
5355
5411
|
this.BackupModel = null;
|
|
5356
5412
|
|
|
5413
|
+
/**
|
|
5414
|
+
* Instance backup info
|
|
5415
|
+
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
5416
|
+
* @type {string || null}
|
|
5417
|
+
*/
|
|
5418
|
+
this.InstanceNote = null;
|
|
5419
|
+
|
|
5420
|
+
/**
|
|
5421
|
+
* Backup cycle
|
|
5422
|
+
* @type {Array.<number> || null}
|
|
5423
|
+
*/
|
|
5424
|
+
this.BackupCycle = null;
|
|
5425
|
+
|
|
5426
|
+
/**
|
|
5427
|
+
* Backup cycle type. Valid values: `daily`, `weekly`, `monthly`.
|
|
5428
|
+
* @type {string || null}
|
|
5429
|
+
*/
|
|
5430
|
+
this.BackupCycleType = null;
|
|
5431
|
+
|
|
5432
|
+
/**
|
|
5433
|
+
* Data (log) backup retention period
|
|
5434
|
+
* @type {number || null}
|
|
5435
|
+
*/
|
|
5436
|
+
this.BackupSaveDays = null;
|
|
5437
|
+
|
|
5438
|
+
/**
|
|
5439
|
+
* Instance type. Valid values: `HA` (high-availability), `RO` (read-only), `SI` (basic edition), `BI` (business intelligence service).
|
|
5440
|
+
* @type {string || null}
|
|
5441
|
+
*/
|
|
5442
|
+
this.InstanceType = null;
|
|
5443
|
+
|
|
5357
5444
|
}
|
|
5358
5445
|
|
|
5359
5446
|
/**
|
|
@@ -5409,6 +5496,11 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
5409
5496
|
}
|
|
5410
5497
|
}
|
|
5411
5498
|
this.BackupModel = 'BackupModel' in params ? params.BackupModel : null;
|
|
5499
|
+
this.InstanceNote = 'InstanceNote' in params ? params.InstanceNote : null;
|
|
5500
|
+
this.BackupCycle = 'BackupCycle' in params ? params.BackupCycle : null;
|
|
5501
|
+
this.BackupCycleType = 'BackupCycleType' in params ? params.BackupCycleType : null;
|
|
5502
|
+
this.BackupSaveDays = 'BackupSaveDays' in params ? params.BackupSaveDays : null;
|
|
5503
|
+
this.InstanceType = 'InstanceType' in params ? params.InstanceType : null;
|
|
5412
5504
|
|
|
5413
5505
|
}
|
|
5414
5506
|
}
|
|
@@ -5904,6 +5996,12 @@ class Backup extends AbstractModel {
|
|
|
5904
5996
|
*/
|
|
5905
5997
|
this.GroupId = null;
|
|
5906
5998
|
|
|
5999
|
+
/**
|
|
6000
|
+
* Backup file format. Valid values:`pkg` (archive file), `single` (unarchived files).
|
|
6001
|
+
* @type {string || null}
|
|
6002
|
+
*/
|
|
6003
|
+
this.BackupFormat = null;
|
|
6004
|
+
|
|
5907
6005
|
}
|
|
5908
6006
|
|
|
5909
6007
|
/**
|
|
@@ -5926,6 +6024,7 @@ class Backup extends AbstractModel {
|
|
|
5926
6024
|
this.BackupWay = 'BackupWay' in params ? params.BackupWay : null;
|
|
5927
6025
|
this.BackupName = 'BackupName' in params ? params.BackupName : null;
|
|
5928
6026
|
this.GroupId = 'GroupId' in params ? params.GroupId : null;
|
|
6027
|
+
this.BackupFormat = 'BackupFormat' in params ? params.BackupFormat : null;
|
|
5929
6028
|
|
|
5930
6029
|
}
|
|
5931
6030
|
}
|
|
@@ -6132,6 +6231,12 @@ class AccountPrivilegeModifyInfo extends AbstractModel {
|
|
|
6132
6231
|
*/
|
|
6133
6232
|
this.DBPrivileges = null;
|
|
6134
6233
|
|
|
6234
|
+
/**
|
|
6235
|
+
* Whether it is an admin account
|
|
6236
|
+
* @type {boolean || null}
|
|
6237
|
+
*/
|
|
6238
|
+
this.IsAdmin = null;
|
|
6239
|
+
|
|
6135
6240
|
}
|
|
6136
6241
|
|
|
6137
6242
|
/**
|
|
@@ -6151,6 +6256,7 @@ class AccountPrivilegeModifyInfo extends AbstractModel {
|
|
|
6151
6256
|
this.DBPrivileges.push(obj);
|
|
6152
6257
|
}
|
|
6153
6258
|
}
|
|
6259
|
+
this.IsAdmin = 'IsAdmin' in params ? params.IsAdmin : null;
|
|
6154
6260
|
|
|
6155
6261
|
}
|
|
6156
6262
|
}
|
|
@@ -6243,6 +6349,12 @@ class AccountCreateInfo extends AbstractModel {
|
|
|
6243
6349
|
*/
|
|
6244
6350
|
this.IsAdmin = null;
|
|
6245
6351
|
|
|
6352
|
+
/**
|
|
6353
|
+
* Valid values: `win-windows authentication`, `sql-sqlserver authentication`. Default value: `sql-sqlserver authentication`.
|
|
6354
|
+
* @type {string || null}
|
|
6355
|
+
*/
|
|
6356
|
+
this.Authentication = null;
|
|
6357
|
+
|
|
6246
6358
|
}
|
|
6247
6359
|
|
|
6248
6360
|
/**
|
|
@@ -6265,6 +6377,7 @@ class AccountCreateInfo extends AbstractModel {
|
|
|
6265
6377
|
}
|
|
6266
6378
|
this.Remark = 'Remark' in params ? params.Remark : null;
|
|
6267
6379
|
this.IsAdmin = 'IsAdmin' in params ? params.IsAdmin : null;
|
|
6380
|
+
this.Authentication = 'Authentication' in params ? params.Authentication : null;
|
|
6268
6381
|
|
|
6269
6382
|
}
|
|
6270
6383
|
}
|
|
@@ -6331,6 +6444,12 @@ class UpgradeDBInstanceRequest extends AbstractModel {
|
|
|
6331
6444
|
*/
|
|
6332
6445
|
this.MultiZones = null;
|
|
6333
6446
|
|
|
6447
|
+
/**
|
|
6448
|
+
* The time when configuration adjustment task is performed. Valid values: `0` (execute immediately), `1` (execute during maintenance time). Default value: `1`.
|
|
6449
|
+
* @type {number || null}
|
|
6450
|
+
*/
|
|
6451
|
+
this.WaitSwitch = null;
|
|
6452
|
+
|
|
6334
6453
|
}
|
|
6335
6454
|
|
|
6336
6455
|
/**
|
|
@@ -6349,6 +6468,7 @@ class UpgradeDBInstanceRequest extends AbstractModel {
|
|
|
6349
6468
|
this.DBVersion = 'DBVersion' in params ? params.DBVersion : null;
|
|
6350
6469
|
this.HAType = 'HAType' in params ? params.HAType : null;
|
|
6351
6470
|
this.MultiZones = 'MultiZones' in params ? params.MultiZones : null;
|
|
6471
|
+
this.WaitSwitch = 'WaitSwitch' in params ? params.WaitSwitch : null;
|
|
6352
6472
|
|
|
6353
6473
|
}
|
|
6354
6474
|
}
|