tencentcloud-sdk-nodejs-intl-en 3.0.1138 → 3.0.1139

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,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-intl-en",
3
- "version": "3.0.1138",
3
+ "version": "3.0.1139",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.1138";
1
+ const sdkVersion = "3.0.1139";
2
2
  module.exports = sdkVersion
@@ -2165,6 +2165,41 @@ Note: If the value of `Id` is `StatusCode`, values in the array are all integer
2165
2165
  }
2166
2166
  }
2167
2167
 
2168
+ /**
2169
+ * ModifyL7AccRulePriority request structure.
2170
+ * @class
2171
+ */
2172
+ class ModifyL7AccRulePriorityRequest extends AbstractModel {
2173
+ constructor(){
2174
+ super();
2175
+
2176
+ /**
2177
+ * Zone ID.
2178
+ * @type {string || null}
2179
+ */
2180
+ this.ZoneId = null;
2181
+
2182
+ /**
2183
+ * The complete rule ID list under the site ID can be obtained by [Querying the seven-layer acceleration rules](https://intl.cloud.tencent.com/document/product/1552/115820?from_cn_redirect=1). The final priority order will be adjusted to the order of the rule ID list, and will be executed from the front to the back.
2184
+ * @type {Array.<string> || null}
2185
+ */
2186
+ this.RuleIds = null;
2187
+
2188
+ }
2189
+
2190
+ /**
2191
+ * @private
2192
+ */
2193
+ deserialize(params) {
2194
+ if (!params) {
2195
+ return;
2196
+ }
2197
+ this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
2198
+ this.RuleIds = 'RuleIds' in params ? params.RuleIds : null;
2199
+
2200
+ }
2201
+ }
2202
+
2168
2203
  /**
2169
2204
  * WebSocket configuration
2170
2205
  * @class
@@ -12106,6 +12141,34 @@ class FailReason extends AbstractModel {
12106
12141
  }
12107
12142
  }
12108
12143
 
12144
+ /**
12145
+ * ModifyL7AccRulePriority response structure.
12146
+ * @class
12147
+ */
12148
+ class ModifyL7AccRulePriorityResponse extends AbstractModel {
12149
+ constructor(){
12150
+ super();
12151
+
12152
+ /**
12153
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
12154
+ * @type {string || null}
12155
+ */
12156
+ this.RequestId = null;
12157
+
12158
+ }
12159
+
12160
+ /**
12161
+ * @private
12162
+ */
12163
+ deserialize(params) {
12164
+ if (!params) {
12165
+ return;
12166
+ }
12167
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
12168
+
12169
+ }
12170
+ }
12171
+
12109
12172
  /**
12110
12173
  * Modify HTTP request header configuration parameters.
12111
12174
  * @class
@@ -29809,6 +29872,7 @@ module.exports = {
29809
29872
  ModifyAccelerationDomainStatusesResponse: ModifyAccelerationDomainStatusesResponse,
29810
29873
  DeployRecord: DeployRecord,
29811
29874
  RuleExtraParameter: RuleExtraParameter,
29875
+ ModifyL7AccRulePriorityRequest: ModifyL7AccRulePriorityRequest,
29812
29876
  WebSocket: WebSocket,
29813
29877
  ModifyAccelerationDomainRequest: ModifyAccelerationDomainRequest,
29814
29878
  ModifyContentIdentifierResponse: ModifyContentIdentifierResponse,
@@ -29987,6 +30051,7 @@ module.exports = {
29987
30051
  MaxAgeParameters: MaxAgeParameters,
29988
30052
  ModifyApplicationProxyRuleResponse: ModifyApplicationProxyRuleResponse,
29989
30053
  FailReason: FailReason,
30054
+ ModifyL7AccRulePriorityResponse: ModifyL7AccRulePriorityResponse,
29990
30055
  ModifyRequestHeaderParameters: ModifyRequestHeaderParameters,
29991
30056
  CreateConfigGroupVersionResponse: CreateConfigGroupVersionResponse,
29992
30057
  DownloadL7LogsRequest: DownloadL7LogsRequest,
@@ -53,6 +53,7 @@ const CreateRealtimeLogDeliveryTaskRequest = models.CreateRealtimeLogDeliveryTas
53
53
  const ModifyAccelerationDomainStatusesResponse = models.ModifyAccelerationDomainStatusesResponse;
54
54
  const DeployRecord = models.DeployRecord;
55
55
  const RuleExtraParameter = models.RuleExtraParameter;
56
+ const ModifyL7AccRulePriorityRequest = models.ModifyL7AccRulePriorityRequest;
56
57
  const WebSocket = models.WebSocket;
57
58
  const ModifyAccelerationDomainRequest = models.ModifyAccelerationDomainRequest;
58
59
  const ModifyContentIdentifierResponse = models.ModifyContentIdentifierResponse;
@@ -231,6 +232,7 @@ const DescribeDefaultCertificatesRequest = models.DescribeDefaultCertificatesReq
231
232
  const MaxAgeParameters = models.MaxAgeParameters;
232
233
  const ModifyApplicationProxyRuleResponse = models.ModifyApplicationProxyRuleResponse;
233
234
  const FailReason = models.FailReason;
235
+ const ModifyL7AccRulePriorityResponse = models.ModifyL7AccRulePriorityResponse;
234
236
  const ModifyRequestHeaderParameters = models.ModifyRequestHeaderParameters;
235
237
  const CreateConfigGroupVersionResponse = models.CreateConfigGroupVersionResponse;
236
238
  const DownloadL7LogsRequest = models.DownloadL7LogsRequest;
@@ -1136,6 +1138,17 @@ An entity (a Layer 7 domain name or a Layer 4 proxy instance) under the combinat
1136
1138
  this.request("DescribeConfigGroupVersions", req, resp, cb);
1137
1139
  }
1138
1140
 
1141
+ /**
1142
+ * This interface is used to modify the priority of the rule list in the [Rule Engine](https://intl.cloud.tencent.com/document/product/1552/70901?from_cn_redirect=1). This interface requires the complete rule ID list under the site ID to be passed in. The rule ID list can be obtained through the [Query Seven-Layer Acceleration Rules](https://intl.cloud.tencent.com/document/product/1552/115820?from_cn_redirect=1) interface. The final priority order will be adjusted to the order of the rule ID list, and will be executed from front to back.
1143
+ * @param {ModifyL7AccRulePriorityRequest} req
1144
+ * @param {function(string, ModifyL7AccRulePriorityResponse):void} cb
1145
+ * @public
1146
+ */
1147
+ ModifyL7AccRulePriority(req, cb) {
1148
+ let resp = new ModifyL7AccRulePriorityResponse();
1149
+ this.request("ModifyL7AccRulePriority", req, resp, cb);
1150
+ }
1151
+
1139
1152
  /**
1140
1153
  * This API is an older version. EdgeOne has fully upgraded the APIs related to the rule engine. For details, please refer to [ModifyL7AccSetting](https://intl.cloud.tencent.com/document/product/1552/115817?from_cn_redirect=1).
1141
1154
  * @param {ModifyZoneSettingRequest} req