tencentcloud-sdk-nodejs-intl-en 3.0.1473 → 3.0.1475
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/common/sdk_version.js +1 -1
- package/tencentcloud/index.js +1 -0
- package/tencentcloud/lighthouse/v20200324/lighthouse_client.js +7 -6
- package/tencentcloud/lighthouse/v20200324/models.js +182 -88
- package/tencentcloud/live/v20180801/live_client.js +13 -0
- package/tencentcloud/live/v20180801/models.js +58 -0
- package/tencentcloud/makers/index.js +3 -0
- package/tencentcloud/makers/v20261113/index.js +4 -0
- package/tencentcloud/makers/v20261113/makers_client.js +262 -0
- package/tencentcloud/makers/v20261113/models.js +3179 -0
- package/tencentcloud/trtc/v20190722/models.js +1552 -215
- package/tencentcloud/trtc/v20190722/trtc_client.js +91 -13
package/package.json
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.1475";
|
|
2
2
|
module.exports = sdkVersion
|
package/tencentcloud/index.js
CHANGED
|
@@ -127,6 +127,7 @@ const Instance = models.Instance;
|
|
|
127
127
|
const DockerContainerVolume = models.DockerContainerVolume;
|
|
128
128
|
const IsolateInstancesResponse = models.IsolateInstancesResponse;
|
|
129
129
|
const CreateKeyPairResponse = models.CreateKeyPairResponse;
|
|
130
|
+
const InstanceViolationDetail = models.InstanceViolationDetail;
|
|
130
131
|
const DescribeInstanceVncUrlResponse = models.DescribeInstanceVncUrlResponse;
|
|
131
132
|
const ModifyFirewallRulesResponse = models.ModifyFirewallRulesResponse;
|
|
132
133
|
const DiskPrice = models.DiskPrice;
|
|
@@ -477,12 +478,12 @@ In the `FirewallRules` parameter:
|
|
|
477
478
|
}
|
|
478
479
|
|
|
479
480
|
/**
|
|
480
|
-
* This API is used to query the
|
|
481
|
+
* This API is used to query the detailed information of one or more instances.
|
|
481
482
|
|
|
482
|
-
* You can query the
|
|
483
|
-
* For
|
|
484
|
-
* If
|
|
485
|
-
*
|
|
483
|
+
* You can query the detailed information of instances by instance ID, instance name, or private IP of the instance.
|
|
484
|
+
* For detailed filter information, see [Filters](https://www.tencentcloud.com/document/product/1207/47576?from_cn_redirect=1#Filter).
|
|
485
|
+
* If the parameter is empty, a certain number of instances (the number specified by `Limit`, 20 by default) under the current user will be returned.
|
|
486
|
+
* You can query the latest operation (LatestOperation) and the latest operation state (LatestOperationState) of an instance.
|
|
486
487
|
* @param {DescribeInstancesRequest} req
|
|
487
488
|
* @param {function(string, DescribeInstancesResponse):void} cb
|
|
488
489
|
* @public
|
|
@@ -669,7 +670,7 @@ Note: Just like powering off a physical PC, a forced shutdown may cause data los
|
|
|
669
670
|
}
|
|
670
671
|
|
|
671
672
|
/**
|
|
672
|
-
* This API is used to change the auto-renewal setting of monthly-subscribed instances.
|
|
673
|
+
* This API is used to change the auto-renewal setting of yearly/monthly-subscribed instances.
|
|
673
674
|
|
|
674
675
|
* Instances with auto-renewal enabled are automatically renewed on a monthly basis upon the expiration.
|
|
675
676
|
* Batch operations are supported. Up to 100 instances per request is allowed.
|
|
@@ -1134,7 +1134,7 @@ class DescribeInstancesResponse extends AbstractModel {
|
|
|
1134
1134
|
this.TotalCount = null;
|
|
1135
1135
|
|
|
1136
1136
|
/**
|
|
1137
|
-
*
|
|
1137
|
+
* Detailed information list of instances.
|
|
1138
1138
|
* @type {Array.<Instance> || null}
|
|
1139
1139
|
*/
|
|
1140
1140
|
this.InstanceSet = null;
|
|
@@ -1198,7 +1198,7 @@ class DeleteKeyPairsRequest extends AbstractModel {
|
|
|
1198
1198
|
}
|
|
1199
1199
|
|
|
1200
1200
|
/**
|
|
1201
|
-
*
|
|
1201
|
+
* Describes the information of the block device where the operating system resides, i.e., the system disk.
|
|
1202
1202
|
* @class
|
|
1203
1203
|
*/
|
|
1204
1204
|
class SystemDisk extends AbstractModel {
|
|
@@ -1208,20 +1208,19 @@ class SystemDisk extends AbstractModel {
|
|
|
1208
1208
|
/**
|
|
1209
1209
|
* System disk type.
|
|
1210
1210
|
Valid values:
|
|
1211
|
-
<li> LOCAL_BASIC: local disk</li><li> LOCAL_SSD: local SSD disk</li><li> CLOUD_BASIC:
|
|
1211
|
+
<li> LOCAL_BASIC: local disk</li><li> LOCAL_SSD: local SSD disk</li><li> CLOUD_BASIC: basic cloud disk</li><li> CLOUD_SSD: SSD cloud disk</li><li> CLOUD_PREMIUM: premium cloud disk</li>
|
|
1212
1212
|
* @type {string || null}
|
|
1213
1213
|
*/
|
|
1214
1214
|
this.DiskType = null;
|
|
1215
1215
|
|
|
1216
1216
|
/**
|
|
1217
|
-
* System disk size in GB.
|
|
1217
|
+
* System disk size, in the unit of GB.
|
|
1218
1218
|
* @type {number || null}
|
|
1219
1219
|
*/
|
|
1220
1220
|
this.DiskSize = null;
|
|
1221
1221
|
|
|
1222
1222
|
/**
|
|
1223
1223
|
* System disk ID.
|
|
1224
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
1225
1224
|
* @type {string || null}
|
|
1226
1225
|
*/
|
|
1227
1226
|
this.DiskId = null;
|
|
@@ -1490,7 +1489,7 @@ class InquirePriceRenewInstancesRequest extends AbstractModel {
|
|
|
1490
1489
|
this.InstanceIds = null;
|
|
1491
1490
|
|
|
1492
1491
|
/**
|
|
1493
|
-
* Parameter setting for prepaid mode. This parameter can specify the renewal period, whether to enable auto-renewal, and other attributes of the monthly subscribed instances.
|
|
1492
|
+
* Parameter setting for prepaid mode. This parameter can specify the renewal period, whether to enable auto-renewal, and other attributes of the yearly/monthly subscribed instances.
|
|
1494
1493
|
* @type {InstanceChargePrepaid || null}
|
|
1495
1494
|
*/
|
|
1496
1495
|
this.InstanceChargePrepaid = null;
|
|
@@ -4913,7 +4912,7 @@ class ResetInstancesPasswordResponse extends AbstractModel {
|
|
|
4913
4912
|
}
|
|
4914
4913
|
|
|
4915
4914
|
/**
|
|
4916
|
-
*
|
|
4915
|
+
* Describe the instance login related configuration and information.
|
|
4917
4916
|
* @class
|
|
4918
4917
|
*/
|
|
4919
4918
|
class LoginSettings extends AbstractModel {
|
|
@@ -4921,7 +4920,7 @@ class LoginSettings extends AbstractModel {
|
|
|
4921
4920
|
super();
|
|
4922
4921
|
|
|
4923
4922
|
/**
|
|
4924
|
-
*
|
|
4923
|
+
* List of key IDs. After a key is associated, you can access the instance by using the corresponding private key. Note: This field may return [], indicating that no valid value can be obtained.
|
|
4925
4924
|
* @type {Array.<string> || null}
|
|
4926
4925
|
*/
|
|
4927
4926
|
this.KeyIds = null;
|
|
@@ -4941,7 +4940,7 @@ class LoginSettings extends AbstractModel {
|
|
|
4941
4940
|
}
|
|
4942
4941
|
|
|
4943
4942
|
/**
|
|
4944
|
-
*
|
|
4943
|
+
* Describes the instance information.
|
|
4945
4944
|
* @class
|
|
4946
4945
|
*/
|
|
4947
4946
|
class Instance extends AbstractModel {
|
|
@@ -4955,7 +4954,7 @@ class Instance extends AbstractModel {
|
|
|
4955
4954
|
this.InstanceId = null;
|
|
4956
4955
|
|
|
4957
4956
|
/**
|
|
4958
|
-
*
|
|
4957
|
+
* Bundle ID.
|
|
4959
4958
|
* @type {string || null}
|
|
4960
4959
|
*/
|
|
4961
4960
|
this.BundleId = null;
|
|
@@ -4967,13 +4966,13 @@ class Instance extends AbstractModel {
|
|
|
4967
4966
|
this.BlueprintId = null;
|
|
4968
4967
|
|
|
4969
4968
|
/**
|
|
4970
|
-
* Number of instance
|
|
4969
|
+
* Number of CPU cores for the instance, in cores.
|
|
4971
4970
|
* @type {number || null}
|
|
4972
4971
|
*/
|
|
4973
4972
|
this.CPU = null;
|
|
4974
4973
|
|
|
4975
4974
|
/**
|
|
4976
|
-
* Instance memory capacity in GB.
|
|
4975
|
+
* Instance memory capacity, in GB.
|
|
4977
4976
|
* @type {number || null}
|
|
4978
4977
|
*/
|
|
4979
4978
|
this.Memory = null;
|
|
@@ -4986,7 +4985,7 @@ class Instance extends AbstractModel {
|
|
|
4986
4985
|
|
|
4987
4986
|
/**
|
|
4988
4987
|
* Instance billing mode. Valid values:
|
|
4989
|
-
PREPAID: prepaid
|
|
4988
|
+
PREPAID: prepaid, that is, monthly or yearly subscription.
|
|
4990
4989
|
* @type {string || null}
|
|
4991
4990
|
*/
|
|
4992
4991
|
this.InstanceChargeType = null;
|
|
@@ -4998,15 +4997,15 @@ PREPAID: prepaid (i.e., monthly subscription).
|
|
|
4998
4997
|
this.SystemDisk = null;
|
|
4999
4998
|
|
|
5000
4999
|
/**
|
|
5001
|
-
* Private IP of instance primary
|
|
5002
|
-
Note:
|
|
5000
|
+
* Private IP of the instance's primary NIC.
|
|
5001
|
+
Note: This field may return null, indicating that no valid value can be obtained.
|
|
5003
5002
|
* @type {Array.<string> || null}
|
|
5004
5003
|
*/
|
|
5005
5004
|
this.PrivateAddresses = null;
|
|
5006
5005
|
|
|
5007
5006
|
/**
|
|
5008
|
-
* Public IP of instance primary
|
|
5009
|
-
Note:
|
|
5007
|
+
* Public IP of the instance's primary NIC.
|
|
5008
|
+
Note: This field may return null, indicating that no valid value can be obtained.
|
|
5010
5009
|
* @type {Array.<string> || null}
|
|
5011
5010
|
*/
|
|
5012
5011
|
this.PublicAddresses = null;
|
|
@@ -5018,93 +5017,96 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
5018
5017
|
this.InternetAccessible = null;
|
|
5019
5018
|
|
|
5020
5019
|
/**
|
|
5021
|
-
* Auto-
|
|
5022
|
-
NOTIFY_AND_MANUAL_RENEW:
|
|
5023
|
-
NOTIFY_AND_AUTO_RENEW:
|
|
5020
|
+
* Auto-renewal flag. Valid values:
|
|
5021
|
+
NOTIFY_AND_MANUAL_RENEW: Notify when the subscription is about to expire, but do not renew automatically.
|
|
5022
|
+
NOTIFY_AND_AUTO_RENEW: Notify when the subscription is about to expire and renew automatically. DISABLE_NOTIFY_AND_MANUAL_RENEW: Do not renew automatically or send notifications.
|
|
5024
5023
|
* @type {string || null}
|
|
5025
5024
|
*/
|
|
5026
5025
|
this.RenewFlag = null;
|
|
5027
5026
|
|
|
5028
5027
|
/**
|
|
5029
|
-
* Instance login
|
|
5028
|
+
* Instance login setting.
|
|
5030
5029
|
* @type {LoginSettings || null}
|
|
5031
5030
|
*/
|
|
5032
5031
|
this.LoginSettings = null;
|
|
5033
5032
|
|
|
5034
5033
|
/**
|
|
5035
5034
|
* Instance status. Valid values:
|
|
5036
|
-
<li>PENDING: Creating</li><li>LAUNCH_FAILED: Failed to create</li><li>RUNNING: Running</li><li>STOPPED: Shut down</li><li>STARTING: Starting up</li><li>STOPPING: Shutting down</li><li>REBOOTING: Restarting</li><li>SHUTDOWN: Shutdown and to be terminated</li><li>TERMINATING: Terminating</li><li>DELETING: Deleting</li><li>FREEZING: Frozen</li><li>ENTER_RESCUE_MODE: Entering the rescue mode</li><li>RESCUE_MODE: Rescue mode</li><li>EXIT_RESCUE_MODE: Exiting
|
|
5035
|
+
<li>PENDING: Creating</li><li>LAUNCH_FAILED: Failed to create</li><li>RUNNING: Running</li><li>STOPPED: Shut down</li><li>STARTING: Starting up</li><li>STOPPING: Shutting down</li><li>REBOOTING: Restarting</li><li>SHUTDOWN: Shutdown and to be terminated</li><li>TERMINATING: Terminating</li><li>DELETING: Deleting</li><li>FREEZING: Frozen</li><li>ENTER_RESCUE_MODE: Entering the rescue mode</li><li>RESCUE_MODE: Rescue mode</li><li>EXIT_RESCUE_MODE: Exiting the rescue mode</li>
|
|
5037
5036
|
* @type {string || null}
|
|
5038
5037
|
*/
|
|
5039
5038
|
this.InstanceState = null;
|
|
5040
5039
|
|
|
5041
5040
|
/**
|
|
5042
|
-
* Globally unique ID of instance.
|
|
5041
|
+
* Globally unique ID of the instance.
|
|
5043
5042
|
* @type {string || null}
|
|
5044
5043
|
*/
|
|
5045
5044
|
this.Uuid = null;
|
|
5046
5045
|
|
|
5047
5046
|
/**
|
|
5048
|
-
*
|
|
5047
|
+
* Latest operation on the instance, such as StopInstances and ResetInstance. Note: This field may return null, indicating that no valid values can be obtained.
|
|
5049
5048
|
* @type {string || null}
|
|
5050
5049
|
*/
|
|
5051
5050
|
this.LatestOperation = null;
|
|
5052
5051
|
|
|
5053
5052
|
/**
|
|
5054
|
-
*
|
|
5055
|
-
SUCCESS: operation succeeded
|
|
5056
|
-
OPERATING:
|
|
5057
|
-
FAILED: operation failed
|
|
5058
|
-
Note:
|
|
5053
|
+
* Status of the latest operation on the instance. Valid values:
|
|
5054
|
+
SUCCESS: The operation succeeded.
|
|
5055
|
+
OPERATING: The operation is in progress.
|
|
5056
|
+
FAILED: The operation failed.
|
|
5057
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5059
5058
|
* @type {string || null}
|
|
5060
5059
|
*/
|
|
5061
5060
|
this.LatestOperationState = null;
|
|
5062
5061
|
|
|
5063
5062
|
/**
|
|
5064
|
-
* Unique request ID
|
|
5065
|
-
Note:
|
|
5063
|
+
* Unique request ID of the latest operation on the instance.
|
|
5064
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5066
5065
|
* @type {string || null}
|
|
5067
5066
|
*/
|
|
5068
5067
|
this.LatestOperationRequestId = null;
|
|
5069
5068
|
|
|
5070
5069
|
/**
|
|
5071
|
-
*
|
|
5070
|
+
* Start time of the latest operation on the instance.
|
|
5071
|
+
* @type {string || null}
|
|
5072
|
+
*/
|
|
5073
|
+
this.LatestOperationStartedTime = null;
|
|
5074
|
+
|
|
5075
|
+
/**
|
|
5076
|
+
* Isolation time in UTC, formatted according to the ISO 8601 standard.
|
|
5072
5077
|
Format: YYYY-MM-DDThh:mm:ssZ.
|
|
5073
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
5074
5078
|
* @type {string || null}
|
|
5075
5079
|
*/
|
|
5076
5080
|
this.IsolatedTime = null;
|
|
5077
5081
|
|
|
5078
5082
|
/**
|
|
5079
|
-
* Creation time according to ISO 8601 standard.
|
|
5083
|
+
* Creation time in UTC, formatted according to the ISO 8601 standard.
|
|
5080
5084
|
Format: YYYY-MM-DDThh:mm:ssZ.
|
|
5081
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
5082
5085
|
* @type {string || null}
|
|
5083
5086
|
*/
|
|
5084
5087
|
this.CreatedTime = null;
|
|
5085
5088
|
|
|
5086
5089
|
/**
|
|
5087
|
-
* Expiration time according to ISO 8601 standard.
|
|
5090
|
+
* Expiration time in UTC, formatted according to the ISO 8601 standard.
|
|
5088
5091
|
Format: YYYY-MM-DDThh:mm:ssZ.
|
|
5089
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
5090
5092
|
* @type {string || null}
|
|
5091
5093
|
*/
|
|
5092
5094
|
this.ExpiredTime = null;
|
|
5093
5095
|
|
|
5094
5096
|
/**
|
|
5095
|
-
*
|
|
5097
|
+
* Operating system platform type, such as LINUX_UNIX and WINDOWS.
|
|
5096
5098
|
* @type {string || null}
|
|
5097
5099
|
*/
|
|
5098
5100
|
this.PlatformType = null;
|
|
5099
5101
|
|
|
5100
5102
|
/**
|
|
5101
|
-
*
|
|
5103
|
+
* Operating system platform.
|
|
5102
5104
|
* @type {string || null}
|
|
5103
5105
|
*/
|
|
5104
5106
|
this.Platform = null;
|
|
5105
5107
|
|
|
5106
5108
|
/**
|
|
5107
|
-
*
|
|
5109
|
+
* Operating system name.
|
|
5108
5110
|
* @type {string || null}
|
|
5109
5111
|
*/
|
|
5110
5112
|
this.OsName = null;
|
|
@@ -5116,18 +5118,30 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
5116
5118
|
this.Zone = null;
|
|
5117
5119
|
|
|
5118
5120
|
/**
|
|
5119
|
-
*
|
|
5121
|
+
* List of tags bound to the instance.
|
|
5120
5122
|
* @type {Array.<Tag> || null}
|
|
5121
5123
|
*/
|
|
5122
5124
|
this.Tags = null;
|
|
5123
5125
|
|
|
5124
5126
|
/**
|
|
5125
|
-
*
|
|
5126
|
-
<li>NORMAL: The instance is normal
|
|
5127
|
+
* Instance ban status. Valid values:
|
|
5128
|
+
<li>NORMAL: The instance is normal.</li><li>NETWORK_RESTRICT: The instance is banned from network access.</li>
|
|
5127
5129
|
* @type {string || null}
|
|
5128
5130
|
*/
|
|
5129
5131
|
this.InstanceRestrictState = null;
|
|
5130
5132
|
|
|
5133
|
+
/**
|
|
5134
|
+
* Invocation ID of the TAT command to be automatically executed after the instance is created.
|
|
5135
|
+
* @type {string || null}
|
|
5136
|
+
*/
|
|
5137
|
+
this.InitInvocationId = null;
|
|
5138
|
+
|
|
5139
|
+
/**
|
|
5140
|
+
* Instance violation details.
|
|
5141
|
+
* @type {InstanceViolationDetail || null}
|
|
5142
|
+
*/
|
|
5143
|
+
this.InstanceViolationDetail = null;
|
|
5144
|
+
|
|
5131
5145
|
}
|
|
5132
5146
|
|
|
5133
5147
|
/**
|
|
@@ -5170,6 +5184,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
5170
5184
|
this.LatestOperation = 'LatestOperation' in params ? params.LatestOperation : null;
|
|
5171
5185
|
this.LatestOperationState = 'LatestOperationState' in params ? params.LatestOperationState : null;
|
|
5172
5186
|
this.LatestOperationRequestId = 'LatestOperationRequestId' in params ? params.LatestOperationRequestId : null;
|
|
5187
|
+
this.LatestOperationStartedTime = 'LatestOperationStartedTime' in params ? params.LatestOperationStartedTime : null;
|
|
5173
5188
|
this.IsolatedTime = 'IsolatedTime' in params ? params.IsolatedTime : null;
|
|
5174
5189
|
this.CreatedTime = 'CreatedTime' in params ? params.CreatedTime : null;
|
|
5175
5190
|
this.ExpiredTime = 'ExpiredTime' in params ? params.ExpiredTime : null;
|
|
@@ -5187,6 +5202,13 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
5187
5202
|
}
|
|
5188
5203
|
}
|
|
5189
5204
|
this.InstanceRestrictState = 'InstanceRestrictState' in params ? params.InstanceRestrictState : null;
|
|
5205
|
+
this.InitInvocationId = 'InitInvocationId' in params ? params.InitInvocationId : null;
|
|
5206
|
+
|
|
5207
|
+
if (params.InstanceViolationDetail) {
|
|
5208
|
+
let obj = new InstanceViolationDetail();
|
|
5209
|
+
obj.deserialize(params.InstanceViolationDetail)
|
|
5210
|
+
this.InstanceViolationDetail = obj;
|
|
5211
|
+
}
|
|
5190
5212
|
|
|
5191
5213
|
}
|
|
5192
5214
|
}
|
|
@@ -5294,6 +5316,55 @@ class CreateKeyPairResponse extends AbstractModel {
|
|
|
5294
5316
|
}
|
|
5295
5317
|
}
|
|
5296
5318
|
|
|
5319
|
+
/**
|
|
5320
|
+
* Instance violation details.
|
|
5321
|
+
* @class
|
|
5322
|
+
*/
|
|
5323
|
+
class InstanceViolationDetail extends AbstractModel {
|
|
5324
|
+
constructor(){
|
|
5325
|
+
super();
|
|
5326
|
+
|
|
5327
|
+
/**
|
|
5328
|
+
* Source: RESTRICT: Banned; FREEZW: Frozen.
|
|
5329
|
+
* @type {string || null}
|
|
5330
|
+
*/
|
|
5331
|
+
this.Source = null;
|
|
5332
|
+
|
|
5333
|
+
/**
|
|
5334
|
+
* Whether self-service unblocking is allowed. 1: Yes; 2: No.
|
|
5335
|
+
* @type {string || null}
|
|
5336
|
+
*/
|
|
5337
|
+
this.State = null;
|
|
5338
|
+
|
|
5339
|
+
/**
|
|
5340
|
+
* Violation type.
|
|
5341
|
+
* @type {string || null}
|
|
5342
|
+
*/
|
|
5343
|
+
this.Reason = null;
|
|
5344
|
+
|
|
5345
|
+
/**
|
|
5346
|
+
* Violation content (URL and associated domain name).
|
|
5347
|
+
* @type {string || null}
|
|
5348
|
+
*/
|
|
5349
|
+
this.Content = null;
|
|
5350
|
+
|
|
5351
|
+
}
|
|
5352
|
+
|
|
5353
|
+
/**
|
|
5354
|
+
* @private
|
|
5355
|
+
*/
|
|
5356
|
+
deserialize(params) {
|
|
5357
|
+
if (!params) {
|
|
5358
|
+
return;
|
|
5359
|
+
}
|
|
5360
|
+
this.Source = 'Source' in params ? params.Source : null;
|
|
5361
|
+
this.State = 'State' in params ? params.State : null;
|
|
5362
|
+
this.Reason = 'Reason' in params ? params.Reason : null;
|
|
5363
|
+
this.Content = 'Content' in params ? params.Content : null;
|
|
5364
|
+
|
|
5365
|
+
}
|
|
5366
|
+
}
|
|
5367
|
+
|
|
5297
5368
|
/**
|
|
5298
5369
|
* DescribeInstanceVncUrl response structure.
|
|
5299
5370
|
* @class
|
|
@@ -6378,54 +6449,74 @@ class DescribeInstancesRequest extends AbstractModel {
|
|
|
6378
6449
|
super();
|
|
6379
6450
|
|
|
6380
6451
|
/**
|
|
6381
|
-
*
|
|
6452
|
+
* List of instance IDs. The maximum number of instances in each request is 100. You can obtain the instance IDs from the `InstanceId` field in the response of the [DescribeInstances](https://www.tencentcloud.com/document/api/1207/47573?from_cn_redirect=1) API.
|
|
6382
6453
|
* @type {Array.<string> || null}
|
|
6383
6454
|
*/
|
|
6384
6455
|
this.InstanceIds = null;
|
|
6385
6456
|
|
|
6386
6457
|
/**
|
|
6387
|
-
*
|
|
6388
|
-
<li>instance-name</li>
|
|
6389
|
-
Type: String
|
|
6390
|
-
Required: No
|
|
6391
|
-
<li>private-ip-address</li>
|
|
6392
|
-
Type: String
|
|
6393
|
-
Required: No
|
|
6394
|
-
<li>public-ip-address</li>
|
|
6395
|
-
Type: String
|
|
6396
|
-
Required: No
|
|
6397
|
-
<li>zone</li>
|
|
6398
|
-
Type: String
|
|
6399
|
-
Required: No
|
|
6400
|
-
<li>instance-state</li>
|
|
6401
|
-
Type: String
|
|
6402
|
-
Required: No
|
|
6403
|
-
<li>tag-key</li>
|
|
6404
|
-
Type: String
|
|
6405
|
-
Required: No
|
|
6406
|
-
<li>tag-value</li>
|
|
6407
|
-
Type: String
|
|
6408
|
-
Required: No
|
|
6409
|
-
<li> tag:tag-key</li>
|
|
6410
|
-
Type: String
|
|
6411
|
-
Required: No
|
|
6412
|
-
|
|
6458
|
+
* List of filters.
|
|
6459
|
+
<li>instance-name</li>Filters by instance name.
|
|
6460
|
+
Type: String
|
|
6461
|
+
Required: No
|
|
6462
|
+
<li>private-ip-address</li>Filters by the private IP of the primary ENI of the instance.
|
|
6463
|
+
Type: String
|
|
6464
|
+
Required: No
|
|
6465
|
+
<li>public-ip-address</li>Filters by the public IP of the primary ENI of the instance.
|
|
6466
|
+
Type: String
|
|
6467
|
+
Required: No
|
|
6468
|
+
<li>zone</li>Filters by AZ.
|
|
6469
|
+
Type: String
|
|
6470
|
+
Required: No
|
|
6471
|
+
<li>instance-state</li>Filters by instance state.
|
|
6472
|
+
Type: String
|
|
6473
|
+
Required: No
|
|
6474
|
+
<li>tag-key</li>Filters by tag key.
|
|
6475
|
+
Type: String
|
|
6476
|
+
Required: No
|
|
6477
|
+
<li>tag-value</li>Filters by tag value.
|
|
6478
|
+
Type: String
|
|
6479
|
+
Required: No
|
|
6480
|
+
<li> tag:tag-key</li>Filters by tag key-value pair. Replace tag-key with the specific tag key.
|
|
6481
|
+
Type: String
|
|
6482
|
+
Required: No
|
|
6483
|
+
<li>bundle-id</li>Filters by bundle ID.
|
|
6484
|
+
Type: String
|
|
6485
|
+
Required: No
|
|
6486
|
+
|
|
6487
|
+
The maximum number of Filters per request is 10, and the maximum number of Filter.Values is 100. You cannot specify both InstanceIds and Filters at the same time.
|
|
6413
6488
|
* @type {Array.<Filter> || null}
|
|
6414
6489
|
*/
|
|
6415
6490
|
this.Filters = null;
|
|
6416
6491
|
|
|
6417
6492
|
/**
|
|
6418
|
-
* Offset. Default value: 0. For more information on `Offset`,
|
|
6493
|
+
* Offset. Default value: 0. For more information on `Offset`, see the relevant section in the API [Introduction](https://www.tencentcloud.com/document/product/1207/47578?from_cn_redirect=1).
|
|
6419
6494
|
* @type {number || null}
|
|
6420
6495
|
*/
|
|
6421
6496
|
this.Offset = null;
|
|
6422
6497
|
|
|
6423
6498
|
/**
|
|
6424
|
-
* Number of returned results. Default value: 20. Maximum value: 100. For more information on `Limit`,
|
|
6499
|
+
* Number of returned results. Default value: 20. Maximum value: 100. For more information on `Limit`, see the relevant section in the API [Introduction](https://www.tencentcloud.com/document/product/1207/47578?from_cn_redirect=1).
|
|
6425
6500
|
* @type {number || null}
|
|
6426
6501
|
*/
|
|
6427
6502
|
this.Limit = null;
|
|
6428
6503
|
|
|
6504
|
+
/**
|
|
6505
|
+
* Specifies the field by which to sort. Valid values: "EXPIRED_TIME": Sorts by the expiration time of the instance.
|
|
6506
|
+
If this field is not passed in, instances with the status of "pending reclamation" are returned first, and the remaining instances are returned in descending order by creation time.
|
|
6507
|
+
* @type {string || null}
|
|
6508
|
+
*/
|
|
6509
|
+
this.OrderField = null;
|
|
6510
|
+
|
|
6511
|
+
/**
|
|
6512
|
+
* The order in which the output instance list is sorted. Valid values:
|
|
6513
|
+
"ASC": Sorts in ascending order.
|
|
6514
|
+
"DESC": Sorts in descending order.
|
|
6515
|
+
By default, the list is sorted in ascending order. If this field is passed in, OrderField must be specified.
|
|
6516
|
+
* @type {string || null}
|
|
6517
|
+
*/
|
|
6518
|
+
this.Order = null;
|
|
6519
|
+
|
|
6429
6520
|
}
|
|
6430
6521
|
|
|
6431
6522
|
/**
|
|
@@ -6447,6 +6538,8 @@ Each request can contain up to 10 `Filters` and 100 `Filter.Values`. You cannot
|
|
|
6447
6538
|
}
|
|
6448
6539
|
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
6449
6540
|
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
6541
|
+
this.OrderField = 'OrderField' in params ? params.OrderField : null;
|
|
6542
|
+
this.Order = 'Order' in params ? params.Order : null;
|
|
6450
6543
|
|
|
6451
6544
|
}
|
|
6452
6545
|
}
|
|
@@ -6558,11 +6651,11 @@ class DescribeImagesToShareResponse extends AbstractModel {
|
|
|
6558
6651
|
}
|
|
6559
6652
|
|
|
6560
6653
|
/**
|
|
6561
|
-
* >
|
|
6562
|
-
> * If there are multiple `Filter` parameters, the relationship
|
|
6563
|
-
> * If
|
|
6654
|
+
* >Describes key-value pair filters used for conditional filtering queries. For example, filter by name.
|
|
6655
|
+
> * If there are multiple `Filter` parameters, the relationship between them is logical AND (`AND`).
|
|
6656
|
+
> * If the same `Filter` has multiple `Values`, the relationship between the `Values` under the same `Filter` is logical OR (`OR`).
|
|
6564
6657
|
>
|
|
6565
|
-
>
|
|
6658
|
+
> Take the `Filter` of the DescribeInstances API as an example. If you need to query instances whose instance name (`instance-name`) is test ***and*** private IP (`private-ip-address`) is 10.10.10.10, you can implement it as follows:
|
|
6566
6659
|
```
|
|
6567
6660
|
Filters.0.Name=instance-name
|
|
6568
6661
|
&Filters.0.Values.0=test
|
|
@@ -6576,13 +6669,13 @@ class Filter extends AbstractModel {
|
|
|
6576
6669
|
super();
|
|
6577
6670
|
|
|
6578
6671
|
/**
|
|
6579
|
-
*
|
|
6672
|
+
* Fields to be filtered.
|
|
6580
6673
|
* @type {string || null}
|
|
6581
6674
|
*/
|
|
6582
6675
|
this.Name = null;
|
|
6583
6676
|
|
|
6584
6677
|
/**
|
|
6585
|
-
* Filter value of field.
|
|
6678
|
+
* Filter value of the field.
|
|
6586
6679
|
* @type {Array.<string> || null}
|
|
6587
6680
|
*/
|
|
6588
6681
|
this.Values = null;
|
|
@@ -8277,7 +8370,7 @@ class RenewDisksResponse extends AbstractModel {
|
|
|
8277
8370
|
}
|
|
8278
8371
|
|
|
8279
8372
|
/**
|
|
8280
|
-
*
|
|
8373
|
+
* Describes the public network accessibility of instances created with the launch configuration, and declares the public network billing mode and maximum bandwidth of the instance.
|
|
8281
8374
|
* @class
|
|
8282
8375
|
*/
|
|
8283
8376
|
class InternetAccessible extends AbstractModel {
|
|
@@ -8285,21 +8378,21 @@ class InternetAccessible extends AbstractModel {
|
|
|
8285
8378
|
super();
|
|
8286
8379
|
|
|
8287
8380
|
/**
|
|
8288
|
-
* Network billing
|
|
8289
|
-
<li>
|
|
8290
|
-
<li>
|
|
8381
|
+
* Network billing type. Valid values:
|
|
8382
|
+
<li>Pay-as-you-go by traffic: TRAFFIC_POSTPAID_BY_HOUR</li>
|
|
8383
|
+
<li>Pay-as-you-go by bandwidth: BANDWIDTH_POSTPAID_BY_HOUR</li>
|
|
8291
8384
|
* @type {string || null}
|
|
8292
8385
|
*/
|
|
8293
8386
|
this.InternetChargeType = null;
|
|
8294
8387
|
|
|
8295
8388
|
/**
|
|
8296
|
-
*
|
|
8389
|
+
* Maximum outbound public bandwidth, in the unit of Mbps.
|
|
8297
8390
|
* @type {number || null}
|
|
8298
8391
|
*/
|
|
8299
8392
|
this.InternetMaxBandwidthOut = null;
|
|
8300
8393
|
|
|
8301
8394
|
/**
|
|
8302
|
-
*
|
|
8395
|
+
* Indicates whether a public IP is assigned.
|
|
8303
8396
|
* @type {boolean || null}
|
|
8304
8397
|
*/
|
|
8305
8398
|
this.PublicIpAssigned = null;
|
|
@@ -8885,7 +8978,7 @@ class InstancePrice extends AbstractModel {
|
|
|
8885
8978
|
}
|
|
8886
8979
|
|
|
8887
8980
|
/**
|
|
8888
|
-
*
|
|
8981
|
+
* Tag.
|
|
8889
8982
|
* @class
|
|
8890
8983
|
*/
|
|
8891
8984
|
class Tag extends AbstractModel {
|
|
@@ -8893,13 +8986,13 @@ class Tag extends AbstractModel {
|
|
|
8893
8986
|
super();
|
|
8894
8987
|
|
|
8895
8988
|
/**
|
|
8896
|
-
* Tag key
|
|
8989
|
+
* Tag key.
|
|
8897
8990
|
* @type {string || null}
|
|
8898
8991
|
*/
|
|
8899
8992
|
this.Key = null;
|
|
8900
8993
|
|
|
8901
8994
|
/**
|
|
8902
|
-
* Tag value
|
|
8995
|
+
* Tag value.
|
|
8903
8996
|
* @type {string || null}
|
|
8904
8997
|
*/
|
|
8905
8998
|
this.Value = null;
|
|
@@ -9310,7 +9403,7 @@ class InquirePriceCreateInstancesRequest extends AbstractModel {
|
|
|
9310
9403
|
this.BundleId = null;
|
|
9311
9404
|
|
|
9312
9405
|
/**
|
|
9313
|
-
* Parameter setting for prepaid mode. This parameter can specify the purchase period, whether to enable auto-renewal, and other attributes of the monthly subscribed instances.
|
|
9406
|
+
* Parameter setting for prepaid mode. This parameter can specify the purchase period, whether to enable auto-renewal, and other attributes of the yearly/monthly subscribed instances.
|
|
9314
9407
|
* @type {InstanceChargePrepaid || null}
|
|
9315
9408
|
*/
|
|
9316
9409
|
this.InstanceChargePrepaid = null;
|
|
@@ -10011,6 +10104,7 @@ module.exports = {
|
|
|
10011
10104
|
DockerContainerVolume: DockerContainerVolume,
|
|
10012
10105
|
IsolateInstancesResponse: IsolateInstancesResponse,
|
|
10013
10106
|
CreateKeyPairResponse: CreateKeyPairResponse,
|
|
10107
|
+
InstanceViolationDetail: InstanceViolationDetail,
|
|
10014
10108
|
DescribeInstanceVncUrlResponse: DescribeInstanceVncUrlResponse,
|
|
10015
10109
|
ModifyFirewallRulesResponse: ModifyFirewallRulesResponse,
|
|
10016
10110
|
DiskPrice: DiskPrice,
|