tencentcloud-sdk-nodejs-intl-en 3.0.295 → 3.0.299
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/ckafka/v20190819/ckafka_client.js +1 -0
- package/tencentcloud/ckafka/v20190819/models.js +207 -0
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/gaap/v20180529/models.js +17 -1
- package/tencentcloud/mdp/v20200527/mdp_client.js +13 -0
- package/tencentcloud/mdp/v20200527/models.js +65 -0
- package/tencentcloud/ssm/v20190923/models.js +6 -2
- package/tencentcloud/tcr/v20190924/models.js +65 -0
- package/tencentcloud/tcr/v20190924/tcr_client.js +13 -0
package/package.json
CHANGED
|
@@ -36,6 +36,7 @@ const GroupInfoTopics = models.GroupInfoTopics;
|
|
|
36
36
|
const TopicResult = models.TopicResult;
|
|
37
37
|
const Region = models.Region;
|
|
38
38
|
const DescribeInstancesDetailResponse = models.DescribeInstancesDetailResponse;
|
|
39
|
+
const AclRule = models.AclRule;
|
|
39
40
|
const DescribeACLResponse = models.DescribeACLResponse;
|
|
40
41
|
const JgwOperateResponse = models.JgwOperateResponse;
|
|
41
42
|
const ZoneInfo = models.ZoneInfo;
|
|
@@ -106,6 +106,13 @@ Note: `null` may be returned for this field, indicating that no valid values can
|
|
|
106
106
|
*/
|
|
107
107
|
this.RetentionTimeConfig = null;
|
|
108
108
|
|
|
109
|
+
/**
|
|
110
|
+
* `0`: normal, `1`: deleted, `2`: deleting
|
|
111
|
+
Note: `null` may be returned for this field, indicating that no valid values can be obtained.
|
|
112
|
+
* @type {number || null}
|
|
113
|
+
*/
|
|
114
|
+
this.Status = null;
|
|
115
|
+
|
|
109
116
|
}
|
|
110
117
|
|
|
111
118
|
/**
|
|
@@ -138,6 +145,7 @@ Note: `null` may be returned for this field, indicating that no valid values can
|
|
|
138
145
|
obj.deserialize(params.RetentionTimeConfig)
|
|
139
146
|
this.RetentionTimeConfig = obj;
|
|
140
147
|
}
|
|
148
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
141
149
|
|
|
142
150
|
}
|
|
143
151
|
}
|
|
@@ -1006,6 +1014,131 @@ class DescribeInstancesDetailResponse extends AbstractModel {
|
|
|
1006
1014
|
}
|
|
1007
1015
|
}
|
|
1008
1016
|
|
|
1017
|
+
/**
|
|
1018
|
+
* Output parameters of ACL rule list APIs
|
|
1019
|
+
* @class
|
|
1020
|
+
*/
|
|
1021
|
+
class AclRule extends AbstractModel {
|
|
1022
|
+
constructor(){
|
|
1023
|
+
super();
|
|
1024
|
+
|
|
1025
|
+
/**
|
|
1026
|
+
* ACL rule name.
|
|
1027
|
+
Note: `null` may be returned for this field, indicating that no valid values can be obtained.
|
|
1028
|
+
* @type {string || null}
|
|
1029
|
+
*/
|
|
1030
|
+
this.RuleName = null;
|
|
1031
|
+
|
|
1032
|
+
/**
|
|
1033
|
+
* Instance ID.
|
|
1034
|
+
Note: `null` may be returned for this field, indicating that no valid values can be obtained.
|
|
1035
|
+
* @type {string || null}
|
|
1036
|
+
*/
|
|
1037
|
+
this.InstanceId = null;
|
|
1038
|
+
|
|
1039
|
+
/**
|
|
1040
|
+
* Matching type. Currently, only prefix match is supported. Enumerated value list: PREFIXED
|
|
1041
|
+
Note: `null` may be returned for this field, indicating that no valid values can be obtained.
|
|
1042
|
+
* @type {string || null}
|
|
1043
|
+
*/
|
|
1044
|
+
this.PatternType = null;
|
|
1045
|
+
|
|
1046
|
+
/**
|
|
1047
|
+
* Prefix value for prefix match.
|
|
1048
|
+
Note: `null` may be returned for this field, indicating that no valid values can be obtained.
|
|
1049
|
+
* @type {string || null}
|
|
1050
|
+
*/
|
|
1051
|
+
this.Pattern = null;
|
|
1052
|
+
|
|
1053
|
+
/**
|
|
1054
|
+
* ACL resource type. Only “Topic” is supported. Enumerated value list: Topic.
|
|
1055
|
+
Note: `null` may be returned for this field, indicating that no valid values can be obtained.
|
|
1056
|
+
* @type {string || null}
|
|
1057
|
+
*/
|
|
1058
|
+
this.ResourceType = null;
|
|
1059
|
+
|
|
1060
|
+
/**
|
|
1061
|
+
* ACL information contained in the rule.
|
|
1062
|
+
Note: `null` may be returned for this field, indicating that no valid values can be obtained.
|
|
1063
|
+
* @type {string || null}
|
|
1064
|
+
*/
|
|
1065
|
+
this.AclList = null;
|
|
1066
|
+
|
|
1067
|
+
/**
|
|
1068
|
+
* Creation time of the rule.
|
|
1069
|
+
Note: `null` may be returned for this field, indicating that no valid values can be obtained.
|
|
1070
|
+
* @type {string || null}
|
|
1071
|
+
*/
|
|
1072
|
+
this.CreateTimeStamp = null;
|
|
1073
|
+
|
|
1074
|
+
/**
|
|
1075
|
+
* A parameter used to specify whether the preset ACL rule is applied to new topics.
|
|
1076
|
+
Note: `null` may be returned for this field, indicating that no valid values can be obtained.
|
|
1077
|
+
* @type {number || null}
|
|
1078
|
+
*/
|
|
1079
|
+
this.IsApplied = null;
|
|
1080
|
+
|
|
1081
|
+
/**
|
|
1082
|
+
* Rule update time.
|
|
1083
|
+
Note: `null` may be returned for this field, indicating that no valid values can be obtained.
|
|
1084
|
+
* @type {string || null}
|
|
1085
|
+
*/
|
|
1086
|
+
this.UpdateTimeStamp = null;
|
|
1087
|
+
|
|
1088
|
+
/**
|
|
1089
|
+
* Remarks of the rule.
|
|
1090
|
+
Note: `null` may be returned for this field, indicating that no valid values can be obtained.
|
|
1091
|
+
* @type {string || null}
|
|
1092
|
+
*/
|
|
1093
|
+
this.Comment = null;
|
|
1094
|
+
|
|
1095
|
+
/**
|
|
1096
|
+
* One of the corresponding topic names that is displayed.
|
|
1097
|
+
Note: `null` may be returned for this field, indicating that no valid values can be obtained.
|
|
1098
|
+
* @type {string || null}
|
|
1099
|
+
*/
|
|
1100
|
+
this.TopicName = null;
|
|
1101
|
+
|
|
1102
|
+
/**
|
|
1103
|
+
* The number of topics that apply this ACL rule.
|
|
1104
|
+
Note: `null` may be returned for this field, indicating that no valid values can be obtained.
|
|
1105
|
+
* @type {number || null}
|
|
1106
|
+
*/
|
|
1107
|
+
this.TopicCount = null;
|
|
1108
|
+
|
|
1109
|
+
/**
|
|
1110
|
+
* Name of rule type.
|
|
1111
|
+
Note: `null` may be returned for this field, indicating that no valid values can be obtained.
|
|
1112
|
+
* @type {string || null}
|
|
1113
|
+
*/
|
|
1114
|
+
this.PatternTypeTitle = null;
|
|
1115
|
+
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
/**
|
|
1119
|
+
* @private
|
|
1120
|
+
*/
|
|
1121
|
+
deserialize(params) {
|
|
1122
|
+
if (!params) {
|
|
1123
|
+
return;
|
|
1124
|
+
}
|
|
1125
|
+
this.RuleName = 'RuleName' in params ? params.RuleName : null;
|
|
1126
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
1127
|
+
this.PatternType = 'PatternType' in params ? params.PatternType : null;
|
|
1128
|
+
this.Pattern = 'Pattern' in params ? params.Pattern : null;
|
|
1129
|
+
this.ResourceType = 'ResourceType' in params ? params.ResourceType : null;
|
|
1130
|
+
this.AclList = 'AclList' in params ? params.AclList : null;
|
|
1131
|
+
this.CreateTimeStamp = 'CreateTimeStamp' in params ? params.CreateTimeStamp : null;
|
|
1132
|
+
this.IsApplied = 'IsApplied' in params ? params.IsApplied : null;
|
|
1133
|
+
this.UpdateTimeStamp = 'UpdateTimeStamp' in params ? params.UpdateTimeStamp : null;
|
|
1134
|
+
this.Comment = 'Comment' in params ? params.Comment : null;
|
|
1135
|
+
this.TopicName = 'TopicName' in params ? params.TopicName : null;
|
|
1136
|
+
this.TopicCount = 'TopicCount' in params ? params.TopicCount : null;
|
|
1137
|
+
this.PatternTypeTitle = 'PatternTypeTitle' in params ? params.PatternTypeTitle : null;
|
|
1138
|
+
|
|
1139
|
+
}
|
|
1140
|
+
}
|
|
1141
|
+
|
|
1009
1142
|
/**
|
|
1010
1143
|
* DescribeACL response structure.
|
|
1011
1144
|
* @class
|
|
@@ -2363,6 +2496,18 @@ class CreateTopicRequest extends AbstractModel {
|
|
|
2363
2496
|
*/
|
|
2364
2497
|
this.SegmentMs = null;
|
|
2365
2498
|
|
|
2499
|
+
/**
|
|
2500
|
+
* Preset ACL rule. `1`: enable, `0`: disable. Default value: `0`.
|
|
2501
|
+
* @type {number || null}
|
|
2502
|
+
*/
|
|
2503
|
+
this.EnableAclRule = null;
|
|
2504
|
+
|
|
2505
|
+
/**
|
|
2506
|
+
* Name of the preset ACL rule.
|
|
2507
|
+
* @type {string || null}
|
|
2508
|
+
*/
|
|
2509
|
+
this.AclRuleName = null;
|
|
2510
|
+
|
|
2366
2511
|
}
|
|
2367
2512
|
|
|
2368
2513
|
/**
|
|
@@ -2384,6 +2529,8 @@ class CreateTopicRequest extends AbstractModel {
|
|
|
2384
2529
|
this.UncleanLeaderElectionEnable = 'UncleanLeaderElectionEnable' in params ? params.UncleanLeaderElectionEnable : null;
|
|
2385
2530
|
this.RetentionMs = 'RetentionMs' in params ? params.RetentionMs : null;
|
|
2386
2531
|
this.SegmentMs = 'SegmentMs' in params ? params.SegmentMs : null;
|
|
2532
|
+
this.EnableAclRule = 'EnableAclRule' in params ? params.EnableAclRule : null;
|
|
2533
|
+
this.AclRuleName = 'AclRuleName' in params ? params.AclRuleName : null;
|
|
2387
2534
|
|
|
2388
2535
|
}
|
|
2389
2536
|
}
|
|
@@ -3086,6 +3233,12 @@ class DescribeTopicRequest extends AbstractModel {
|
|
|
3086
3233
|
*/
|
|
3087
3234
|
this.Limit = null;
|
|
3088
3235
|
|
|
3236
|
+
/**
|
|
3237
|
+
* Name of the preset ACL rule.
|
|
3238
|
+
* @type {string || null}
|
|
3239
|
+
*/
|
|
3240
|
+
this.AclRuleName = null;
|
|
3241
|
+
|
|
3089
3242
|
}
|
|
3090
3243
|
|
|
3091
3244
|
/**
|
|
@@ -3099,6 +3252,7 @@ class DescribeTopicRequest extends AbstractModel {
|
|
|
3099
3252
|
this.SearchWord = 'SearchWord' in params ? params.SearchWord : null;
|
|
3100
3253
|
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
3101
3254
|
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
3255
|
+
this.AclRuleName = 'AclRuleName' in params ? params.AclRuleName : null;
|
|
3102
3256
|
|
|
3103
3257
|
}
|
|
3104
3258
|
}
|
|
@@ -5011,6 +5165,20 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
5011
5165
|
*/
|
|
5012
5166
|
this.Partitions = null;
|
|
5013
5167
|
|
|
5168
|
+
/**
|
|
5169
|
+
* Switch of the preset ACL rule. `1`: enable, `0`: disable.
|
|
5170
|
+
Note: `null` may be returned for this field, indicating that no valid values can be obtained.
|
|
5171
|
+
* @type {number || null}
|
|
5172
|
+
*/
|
|
5173
|
+
this.EnableAclRule = null;
|
|
5174
|
+
|
|
5175
|
+
/**
|
|
5176
|
+
* Preset ACL rule list.
|
|
5177
|
+
Note: `null` may be returned for this field, indicating that no valid values can be obtained.
|
|
5178
|
+
* @type {Array.<AclRule> || null}
|
|
5179
|
+
*/
|
|
5180
|
+
this.AclRuleList = null;
|
|
5181
|
+
|
|
5014
5182
|
}
|
|
5015
5183
|
|
|
5016
5184
|
/**
|
|
@@ -5041,6 +5209,16 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
5041
5209
|
this.Partitions.push(obj);
|
|
5042
5210
|
}
|
|
5043
5211
|
}
|
|
5212
|
+
this.EnableAclRule = 'EnableAclRule' in params ? params.EnableAclRule : null;
|
|
5213
|
+
|
|
5214
|
+
if (params.AclRuleList) {
|
|
5215
|
+
this.AclRuleList = new Array();
|
|
5216
|
+
for (let z in params.AclRuleList) {
|
|
5217
|
+
let obj = new AclRule();
|
|
5218
|
+
obj.deserialize(params.AclRuleList[z]);
|
|
5219
|
+
this.AclRuleList.push(obj);
|
|
5220
|
+
}
|
|
5221
|
+
}
|
|
5044
5222
|
|
|
5045
5223
|
}
|
|
5046
5224
|
}
|
|
@@ -5274,6 +5452,12 @@ class DescribeTopicDetailRequest extends AbstractModel {
|
|
|
5274
5452
|
*/
|
|
5275
5453
|
this.Limit = null;
|
|
5276
5454
|
|
|
5455
|
+
/**
|
|
5456
|
+
* Name of the preset ACL rule.
|
|
5457
|
+
* @type {string || null}
|
|
5458
|
+
*/
|
|
5459
|
+
this.AclRuleName = null;
|
|
5460
|
+
|
|
5277
5461
|
}
|
|
5278
5462
|
|
|
5279
5463
|
/**
|
|
@@ -5287,6 +5471,7 @@ class DescribeTopicDetailRequest extends AbstractModel {
|
|
|
5287
5471
|
this.SearchWord = 'SearchWord' in params ? params.SearchWord : null;
|
|
5288
5472
|
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
5289
5473
|
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
5474
|
+
this.AclRuleName = 'AclRuleName' in params ? params.AclRuleName : null;
|
|
5290
5475
|
|
|
5291
5476
|
}
|
|
5292
5477
|
}
|
|
@@ -5828,6 +6013,24 @@ class ModifyTopicAttributesRequest extends AbstractModel {
|
|
|
5828
6013
|
*/
|
|
5829
6014
|
this.CleanUpPolicy = null;
|
|
5830
6015
|
|
|
6016
|
+
/**
|
|
6017
|
+
* IP allowlist, which is required if the value of `enableWhileList` is 1.
|
|
6018
|
+
* @type {Array.<string> || null}
|
|
6019
|
+
*/
|
|
6020
|
+
this.IpWhiteList = null;
|
|
6021
|
+
|
|
6022
|
+
/**
|
|
6023
|
+
* Preset ACL rule. `1`: enable, `0`: disable. Default value: `0`.
|
|
6024
|
+
* @type {number || null}
|
|
6025
|
+
*/
|
|
6026
|
+
this.EnableAclRule = null;
|
|
6027
|
+
|
|
6028
|
+
/**
|
|
6029
|
+
* Name of the preset ACL rule.
|
|
6030
|
+
* @type {string || null}
|
|
6031
|
+
*/
|
|
6032
|
+
this.AclRuleName = null;
|
|
6033
|
+
|
|
5831
6034
|
}
|
|
5832
6035
|
|
|
5833
6036
|
/**
|
|
@@ -5847,6 +6050,9 @@ class ModifyTopicAttributesRequest extends AbstractModel {
|
|
|
5847
6050
|
this.SegmentMs = 'SegmentMs' in params ? params.SegmentMs : null;
|
|
5848
6051
|
this.MaxMessageBytes = 'MaxMessageBytes' in params ? params.MaxMessageBytes : null;
|
|
5849
6052
|
this.CleanUpPolicy = 'CleanUpPolicy' in params ? params.CleanUpPolicy : null;
|
|
6053
|
+
this.IpWhiteList = 'IpWhiteList' in params ? params.IpWhiteList : null;
|
|
6054
|
+
this.EnableAclRule = 'EnableAclRule' in params ? params.EnableAclRule : null;
|
|
6055
|
+
this.AclRuleName = 'AclRuleName' in params ? params.AclRuleName : null;
|
|
5850
6056
|
|
|
5851
6057
|
}
|
|
5852
6058
|
}
|
|
@@ -6540,6 +6746,7 @@ module.exports = {
|
|
|
6540
6746
|
TopicResult: TopicResult,
|
|
6541
6747
|
Region: Region,
|
|
6542
6748
|
DescribeInstancesDetailResponse: DescribeInstancesDetailResponse,
|
|
6749
|
+
AclRule: AclRule,
|
|
6543
6750
|
DescribeACLResponse: DescribeACLResponse,
|
|
6544
6751
|
JgwOperateResponse: JgwOperateResponse,
|
|
6545
6752
|
ZoneInfo: ZoneInfo,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.299";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -9083,6 +9083,13 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
9083
9083
|
*/
|
|
9084
9084
|
this.DomainStatus = null;
|
|
9085
9085
|
|
|
9086
|
+
/**
|
|
9087
|
+
* Blocking-related status of the domain name. `BANNED`: the domain name is blocked; `RECOVER`: the domain name is unblocked or normal; `BANNING`: the domain name is being blocked; `RECOVERING`: the domain name is being unblocked; `BAN_FAILED`: the blocking fails; RECOVER_FAILED: the unblocking fails.
|
|
9088
|
+
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
9089
|
+
* @type {string || null}
|
|
9090
|
+
*/
|
|
9091
|
+
this.BanStatus = null;
|
|
9092
|
+
|
|
9086
9093
|
}
|
|
9087
9094
|
|
|
9088
9095
|
/**
|
|
@@ -9135,6 +9142,7 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
9135
9142
|
}
|
|
9136
9143
|
}
|
|
9137
9144
|
this.DomainStatus = 'DomainStatus' in params ? params.DomainStatus : null;
|
|
9145
|
+
this.BanStatus = 'BanStatus' in params ? params.BanStatus : null;
|
|
9138
9146
|
|
|
9139
9147
|
}
|
|
9140
9148
|
}
|
|
@@ -10676,7 +10684,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
10676
10684
|
this.ModifyConfigTime = null;
|
|
10677
10685
|
|
|
10678
10686
|
/**
|
|
10679
|
-
* Connection type
|
|
10687
|
+
* Connection type. `100`: THUNDER connection; `103`: Microsoft connection.
|
|
10680
10688
|
Note: this field may return `null`, indicating that no valid value can be obtained.
|
|
10681
10689
|
* @type {number || null}
|
|
10682
10690
|
*/
|
|
@@ -10710,6 +10718,13 @@ Note: this field may return `null`, indicating that no valid value can be obtain
|
|
|
10710
10718
|
*/
|
|
10711
10719
|
this.PackageType = null;
|
|
10712
10720
|
|
|
10721
|
+
/**
|
|
10722
|
+
* Blocking-related status of the domain name. `BANNED`: the domain name is blocked; `RECOVER`: the domain name is unblocked or normal; `BANNING`: the domain name is being blocked; `RECOVERING`: the domain name is being unblocked; `BAN_FAILED`: the blocking fails; RECOVER_FAILED: the unblocking fails.
|
|
10723
|
+
Note: this field may return `null`, indicating that no valid value can be obtained.
|
|
10724
|
+
* @type {string || null}
|
|
10725
|
+
*/
|
|
10726
|
+
this.BanStatus = null;
|
|
10727
|
+
|
|
10713
10728
|
}
|
|
10714
10729
|
|
|
10715
10730
|
/**
|
|
@@ -10767,6 +10782,7 @@ Note: this field may return `null`, indicating that no valid value can be obtain
|
|
|
10767
10782
|
this.IPAddressVersion = 'IPAddressVersion' in params ? params.IPAddressVersion : null;
|
|
10768
10783
|
this.NetworkType = 'NetworkType' in params ? params.NetworkType : null;
|
|
10769
10784
|
this.PackageType = 'PackageType' in params ? params.PackageType : null;
|
|
10785
|
+
this.BanStatus = 'BanStatus' in params ? params.BanStatus : null;
|
|
10770
10786
|
|
|
10771
10787
|
}
|
|
10772
10788
|
}
|
|
@@ -32,12 +32,14 @@ const CacheInfo = models.CacheInfo;
|
|
|
32
32
|
const DeleteStreamPackageChannelEndpointsResponse = models.DeleteStreamPackageChannelEndpointsResponse;
|
|
33
33
|
const InputInfo = models.InputInfo;
|
|
34
34
|
const InputAuthInfo = models.InputAuthInfo;
|
|
35
|
+
const UnbindCdnDomainWithChannelRequest = models.UnbindCdnDomainWithChannelRequest;
|
|
35
36
|
const EndpointInfo = models.EndpointInfo;
|
|
36
37
|
const DescribeStreamPackageChannelRequest = models.DescribeStreamPackageChannelRequest;
|
|
37
38
|
const ModifyStreamPackageChannelRequest = models.ModifyStreamPackageChannelRequest;
|
|
38
39
|
const ModifyStreamPackageChannelEndpointRequest = models.ModifyStreamPackageChannelEndpointRequest;
|
|
39
40
|
const CacheInfoInfo = models.CacheInfoInfo;
|
|
40
41
|
const CreateStreamPackageChannelEndpointRequest = models.CreateStreamPackageChannelEndpointRequest;
|
|
42
|
+
const UnbindCdnDomainWithChannelResponse = models.UnbindCdnDomainWithChannelResponse;
|
|
41
43
|
const CreateStreamPackageChannelRequest = models.CreateStreamPackageChannelRequest;
|
|
42
44
|
const ModifyStreamPackageChannelInputAuthInfoRequest = models.ModifyStreamPackageChannelInputAuthInfoRequest;
|
|
43
45
|
const BindNewLVBDomainWithChannelRequest = models.BindNewLVBDomainWithChannelRequest;
|
|
@@ -155,6 +157,17 @@ class MdpClient extends AbstractClient {
|
|
|
155
157
|
this.request("ModifyStreamPackageChannel", req, resp, cb);
|
|
156
158
|
}
|
|
157
159
|
|
|
160
|
+
/**
|
|
161
|
+
* This API is used to unbind a CDN playback domain name from a channel.
|
|
162
|
+
* @param {UnbindCdnDomainWithChannelRequest} req
|
|
163
|
+
* @param {function(string, UnbindCdnDomainWithChannelResponse):void} cb
|
|
164
|
+
* @public
|
|
165
|
+
*/
|
|
166
|
+
UnbindCdnDomainWithChannel(req, cb) {
|
|
167
|
+
let resp = new UnbindCdnDomainWithChannelResponse();
|
|
168
|
+
this.request("UnbindCdnDomainWithChannel", req, resp, cb);
|
|
169
|
+
}
|
|
170
|
+
|
|
158
171
|
/**
|
|
159
172
|
* This API is used to modify the input authentication information of a StreamPackage channel.
|
|
160
173
|
* @param {ModifyStreamPackageChannelInputAuthInfoRequest} req
|
|
@@ -689,6 +689,41 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
689
689
|
}
|
|
690
690
|
}
|
|
691
691
|
|
|
692
|
+
/**
|
|
693
|
+
* UnbindCdnDomainWithChannel request structure.
|
|
694
|
+
* @class
|
|
695
|
+
*/
|
|
696
|
+
class UnbindCdnDomainWithChannelRequest extends AbstractModel {
|
|
697
|
+
constructor(){
|
|
698
|
+
super();
|
|
699
|
+
|
|
700
|
+
/**
|
|
701
|
+
* Channel ID
|
|
702
|
+
* @type {string || null}
|
|
703
|
+
*/
|
|
704
|
+
this.ChannelId = null;
|
|
705
|
+
|
|
706
|
+
/**
|
|
707
|
+
* CDN playback domain name
|
|
708
|
+
* @type {string || null}
|
|
709
|
+
*/
|
|
710
|
+
this.CdnDomain = null;
|
|
711
|
+
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
/**
|
|
715
|
+
* @private
|
|
716
|
+
*/
|
|
717
|
+
deserialize(params) {
|
|
718
|
+
if (!params) {
|
|
719
|
+
return;
|
|
720
|
+
}
|
|
721
|
+
this.ChannelId = 'ChannelId' in params ? params.ChannelId : null;
|
|
722
|
+
this.CdnDomain = 'CdnDomain' in params ? params.CdnDomain : null;
|
|
723
|
+
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
|
|
692
727
|
/**
|
|
693
728
|
* Channel endpoint information.
|
|
694
729
|
* @class
|
|
@@ -957,6 +992,34 @@ class CreateStreamPackageChannelEndpointRequest extends AbstractModel {
|
|
|
957
992
|
}
|
|
958
993
|
}
|
|
959
994
|
|
|
995
|
+
/**
|
|
996
|
+
* UnbindCdnDomainWithChannel response structure.
|
|
997
|
+
* @class
|
|
998
|
+
*/
|
|
999
|
+
class UnbindCdnDomainWithChannelResponse extends AbstractModel {
|
|
1000
|
+
constructor(){
|
|
1001
|
+
super();
|
|
1002
|
+
|
|
1003
|
+
/**
|
|
1004
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
1005
|
+
* @type {string || null}
|
|
1006
|
+
*/
|
|
1007
|
+
this.RequestId = null;
|
|
1008
|
+
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
|
+
/**
|
|
1012
|
+
* @private
|
|
1013
|
+
*/
|
|
1014
|
+
deserialize(params) {
|
|
1015
|
+
if (!params) {
|
|
1016
|
+
return;
|
|
1017
|
+
}
|
|
1018
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1019
|
+
|
|
1020
|
+
}
|
|
1021
|
+
}
|
|
1022
|
+
|
|
960
1023
|
/**
|
|
961
1024
|
* CreateStreamPackageChannel request structure.
|
|
962
1025
|
* @class
|
|
@@ -1213,12 +1276,14 @@ module.exports = {
|
|
|
1213
1276
|
DeleteStreamPackageChannelEndpointsResponse: DeleteStreamPackageChannelEndpointsResponse,
|
|
1214
1277
|
InputInfo: InputInfo,
|
|
1215
1278
|
InputAuthInfo: InputAuthInfo,
|
|
1279
|
+
UnbindCdnDomainWithChannelRequest: UnbindCdnDomainWithChannelRequest,
|
|
1216
1280
|
EndpointInfo: EndpointInfo,
|
|
1217
1281
|
DescribeStreamPackageChannelRequest: DescribeStreamPackageChannelRequest,
|
|
1218
1282
|
ModifyStreamPackageChannelRequest: ModifyStreamPackageChannelRequest,
|
|
1219
1283
|
ModifyStreamPackageChannelEndpointRequest: ModifyStreamPackageChannelEndpointRequest,
|
|
1220
1284
|
CacheInfoInfo: CacheInfoInfo,
|
|
1221
1285
|
CreateStreamPackageChannelEndpointRequest: CreateStreamPackageChannelEndpointRequest,
|
|
1286
|
+
UnbindCdnDomainWithChannelResponse: UnbindCdnDomainWithChannelResponse,
|
|
1222
1287
|
CreateStreamPackageChannelRequest: CreateStreamPackageChannelRequest,
|
|
1223
1288
|
ModifyStreamPackageChannelInputAuthInfoRequest: ModifyStreamPackageChannelInputAuthInfoRequest,
|
|
1224
1289
|
BindNewLVBDomainWithChannelRequest: BindNewLVBDomainWithChannelRequest,
|
|
@@ -1313,7 +1313,11 @@ The `PendingCreate` and `CreateFailed` status only take effect when `SecretType`
|
|
|
1313
1313
|
this.SecretType = null;
|
|
1314
1314
|
|
|
1315
1315
|
/**
|
|
1316
|
-
*
|
|
1316
|
+
* This parameter is valid only when SecretType is `1`.
|
|
1317
|
+
|
|
1318
|
+
An empty value indicates querying all types of Tencent Cloud service secrets.
|
|
1319
|
+
`Mysql`: queries MySQL database credentials.
|
|
1320
|
+
`Tdsql-mysql`: queries TDSQL MySQL database credentials.
|
|
1317
1321
|
* @type {string || null}
|
|
1318
1322
|
*/
|
|
1319
1323
|
this.ProductName = null;
|
|
@@ -1909,7 +1913,7 @@ class GetSSHKeyPairValueRequest extends AbstractModel {
|
|
|
1909
1913
|
this.SecretName = null;
|
|
1910
1914
|
|
|
1911
1915
|
/**
|
|
1912
|
-
*
|
|
1916
|
+
* ID of the key pair, which is the unique identifier of the key pair in the CVM.
|
|
1913
1917
|
* @type {string || null}
|
|
1914
1918
|
*/
|
|
1915
1919
|
this.SSHKeyId = null;
|
|
@@ -188,6 +188,34 @@ class CreateMultipleSecurityPolicyRequest extends AbstractModel {
|
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
+
/**
|
|
192
|
+
* ModifyInstance response structure.
|
|
193
|
+
* @class
|
|
194
|
+
*/
|
|
195
|
+
class ModifyInstanceResponse extends AbstractModel {
|
|
196
|
+
constructor(){
|
|
197
|
+
super();
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
201
|
+
* @type {string || null}
|
|
202
|
+
*/
|
|
203
|
+
this.RequestId = null;
|
|
204
|
+
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* @private
|
|
209
|
+
*/
|
|
210
|
+
deserialize(params) {
|
|
211
|
+
if (!params) {
|
|
212
|
+
return;
|
|
213
|
+
}
|
|
214
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
215
|
+
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
|
|
191
219
|
/**
|
|
192
220
|
* CreateImmutableTagRules response structure.
|
|
193
221
|
* @class
|
|
@@ -518,6 +546,41 @@ class SecurityPolicy extends AbstractModel {
|
|
|
518
546
|
}
|
|
519
547
|
}
|
|
520
548
|
|
|
549
|
+
/**
|
|
550
|
+
* ModifyInstance request structure.
|
|
551
|
+
* @class
|
|
552
|
+
*/
|
|
553
|
+
class ModifyInstanceRequest extends AbstractModel {
|
|
554
|
+
constructor(){
|
|
555
|
+
super();
|
|
556
|
+
|
|
557
|
+
/**
|
|
558
|
+
* Instance ID
|
|
559
|
+
* @type {string || null}
|
|
560
|
+
*/
|
|
561
|
+
this.RegistryId = null;
|
|
562
|
+
|
|
563
|
+
/**
|
|
564
|
+
* Instance specification
|
|
565
|
+
* @type {string || null}
|
|
566
|
+
*/
|
|
567
|
+
this.RegistryType = null;
|
|
568
|
+
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
/**
|
|
572
|
+
* @private
|
|
573
|
+
*/
|
|
574
|
+
deserialize(params) {
|
|
575
|
+
if (!params) {
|
|
576
|
+
return;
|
|
577
|
+
}
|
|
578
|
+
this.RegistryId = 'RegistryId' in params ? params.RegistryId : null;
|
|
579
|
+
this.RegistryType = 'RegistryType' in params ? params.RegistryType : null;
|
|
580
|
+
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
|
|
521
584
|
/**
|
|
522
585
|
* DescribeImmutableTagRules request structure.
|
|
523
586
|
* @class
|
|
@@ -680,6 +743,7 @@ module.exports = {
|
|
|
680
743
|
DescribeImmutableTagRulesResponse: DescribeImmutableTagRulesResponse,
|
|
681
744
|
CheckInstanceResponse: CheckInstanceResponse,
|
|
682
745
|
CreateMultipleSecurityPolicyRequest: CreateMultipleSecurityPolicyRequest,
|
|
746
|
+
ModifyInstanceResponse: ModifyInstanceResponse,
|
|
683
747
|
CreateImmutableTagRulesResponse: CreateImmutableTagRulesResponse,
|
|
684
748
|
DeleteMultipleSecurityPolicyResponse: DeleteMultipleSecurityPolicyResponse,
|
|
685
749
|
ImmutableTagRule: ImmutableTagRule,
|
|
@@ -688,6 +752,7 @@ module.exports = {
|
|
|
688
752
|
CreateMultipleSecurityPolicyResponse: CreateMultipleSecurityPolicyResponse,
|
|
689
753
|
DeleteImmutableTagRulesRequest: DeleteImmutableTagRulesRequest,
|
|
690
754
|
SecurityPolicy: SecurityPolicy,
|
|
755
|
+
ModifyInstanceRequest: ModifyInstanceRequest,
|
|
691
756
|
DescribeImmutableTagRulesRequest: DescribeImmutableTagRulesRequest,
|
|
692
757
|
ModifyImmutableTagRulesRequest: ModifyImmutableTagRulesRequest,
|
|
693
758
|
ModifyImmutableTagRulesResponse: ModifyImmutableTagRulesResponse,
|
|
@@ -20,6 +20,7 @@ const DeleteImmutableTagRulesResponse = models.DeleteImmutableTagRulesResponse;
|
|
|
20
20
|
const DescribeImmutableTagRulesResponse = models.DescribeImmutableTagRulesResponse;
|
|
21
21
|
const CheckInstanceResponse = models.CheckInstanceResponse;
|
|
22
22
|
const CreateMultipleSecurityPolicyRequest = models.CreateMultipleSecurityPolicyRequest;
|
|
23
|
+
const ModifyInstanceResponse = models.ModifyInstanceResponse;
|
|
23
24
|
const CreateImmutableTagRulesResponse = models.CreateImmutableTagRulesResponse;
|
|
24
25
|
const DeleteMultipleSecurityPolicyResponse = models.DeleteMultipleSecurityPolicyResponse;
|
|
25
26
|
const ImmutableTagRule = models.ImmutableTagRule;
|
|
@@ -28,6 +29,7 @@ const CheckInstanceRequest = models.CheckInstanceRequest;
|
|
|
28
29
|
const CreateMultipleSecurityPolicyResponse = models.CreateMultipleSecurityPolicyResponse;
|
|
29
30
|
const DeleteImmutableTagRulesRequest = models.DeleteImmutableTagRulesRequest;
|
|
30
31
|
const SecurityPolicy = models.SecurityPolicy;
|
|
32
|
+
const ModifyInstanceRequest = models.ModifyInstanceRequest;
|
|
31
33
|
const DescribeImmutableTagRulesRequest = models.DescribeImmutableTagRulesRequest;
|
|
32
34
|
const ModifyImmutableTagRulesRequest = models.ModifyImmutableTagRulesRequest;
|
|
33
35
|
const ModifyImmutableTagRulesResponse = models.ModifyImmutableTagRulesResponse;
|
|
@@ -110,6 +112,17 @@ class TcrClient extends AbstractClient {
|
|
|
110
112
|
this.request("CreateMultipleSecurityPolicy", req, resp, cb);
|
|
111
113
|
}
|
|
112
114
|
|
|
115
|
+
/**
|
|
116
|
+
* This API is used to update instance information.
|
|
117
|
+
* @param {ModifyInstanceRequest} req
|
|
118
|
+
* @param {function(string, ModifyInstanceResponse):void} cb
|
|
119
|
+
* @public
|
|
120
|
+
*/
|
|
121
|
+
ModifyInstance(req, cb) {
|
|
122
|
+
let resp = new ModifyInstanceResponse();
|
|
123
|
+
this.request("ModifyInstance", req, resp, cb);
|
|
124
|
+
}
|
|
125
|
+
|
|
113
126
|
/**
|
|
114
127
|
* This API is used to delete multiple public network access allowlist policies of the instance.
|
|
115
128
|
* @param {DeleteMultipleSecurityPolicyRequest} req
|