tencentcloud-sdk-nodejs-intl-en 3.0.1439 → 3.0.1441
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/ciam/index.js +1 -1
- package/tencentcloud/clb/index.js +1 -1
- package/tencentcloud/cls/v20201016/cls_client.js +67 -10
- package/tencentcloud/cls/v20201016/models.js +820 -129
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/dts/index.js +1 -1
- package/tencentcloud/edgezone/v20260401/edgezone_client.js +1 -1
- package/tencentcloud/edgezone/v20260401/models.js +160 -49
- package/tencentcloud/es/index.js +1 -1
- package/tencentcloud/faceid/v20180301/faceid_client.js +21 -29
- package/tencentcloud/faceid/v20180301/models.js +445 -421
- package/tencentcloud/ga2/v20250115/ga2_client.js +583 -1
- package/tencentcloud/ga2/v20250115/models.js +6075 -8
- package/tencentcloud/mdl/v20200326/models.js +16 -16
- package/tencentcloud/mps/v20190612/models.js +1897 -1342
- package/tencentcloud/mps/v20190612/mps_client.js +54 -12
- package/tencentcloud/rce/index.js +1 -1
- package/tencentcloud/rce/v20260130/models.js +308 -48
- package/tencentcloud/rce/v20260130/rce_client.js +22 -7
- package/tencentcloud/tcsas/v20250106/models.js +7 -0
- package/tencentcloud/tem/index.js +1 -1
- package/tencentcloud/teo/index.js +1 -1
- package/tencentcloud/teo/v20220901/models.js +164 -107
- package/tencentcloud/teo/v20220901/teo_client.js +9 -8
- package/tencentcloud/vod/index.js +1 -1
- package/tencentcloud/vod/v20180717/models.js +10199 -8744
- package/tencentcloud/vod/v20180717/vod_client.js +694 -487
- package/tencentcloud/vpc/v20170312/models.js +594 -224
- package/tencentcloud/vpc/v20170312/vpc_client.js +52 -9
|
@@ -2486,7 +2486,7 @@ Note: The output parameter's default maximum value for the number of groups is 2
|
|
|
2486
2486
|
}
|
|
2487
2487
|
|
|
2488
2488
|
/**
|
|
2489
|
-
* Output format for real-time log delivery. You can directly use the specified predefined log output format (JSON Lines / csv) through the FormatType parameter, or define a variant output format through additional parameters based on the predefined log output format.
|
|
2489
|
+
* Output format for real-time log delivery. You can directly use the specified predefined log output format (JSON Lines / csv) through the FormatType parameter, or define a variant output format through additional parameters based on the predefined log output format. For usage details, see Custom Log Output Format (https://www.tencentcloud.com/document/product/1552/110448?from_cn_redirect=1).
|
|
2490
2490
|
* @class
|
|
2491
2491
|
*/
|
|
2492
2492
|
class LogFormat extends AbstractModel {
|
|
@@ -2494,51 +2494,49 @@ class LogFormat extends AbstractModel {
|
|
|
2494
2494
|
super();
|
|
2495
2495
|
|
|
2496
2496
|
/**
|
|
2497
|
-
*
|
|
2498
|
-
<li>json: Use JSON Lines as the predefined log output format. In each log entry, fields are displayed as key-value pairs.</li>
|
|
2499
|
-
<li>csv: Use the predefined log output format csv, where each log entry only is presented as field values only, excluding field names. </li>
|
|
2497
|
+
* <p>Log output format. Valid values:</p><ul><li>json: Use the predefined log output format JSON Lines, where each log entry is presented as key-value pairs;</li><li>csv: Use the predefined log output format CSV, where each log entry presents only field values, not field names.</li><li>template: Use a user-customized output template. Each log entry supports custom layout and concatenation based on the custom template, in conjunction with the RecordTemplate field.</li></ul>
|
|
2500
2498
|
* @type {string || null}
|
|
2501
2499
|
*/
|
|
2502
2500
|
this.FormatType = null;
|
|
2503
2501
|
|
|
2504
2502
|
/**
|
|
2505
|
-
* A string added before each log delivery batch. Each log delivery batch may contain multiple log records
|
|
2503
|
+
* <p>A string added before each log delivery batch. Each log delivery batch may contain multiple log records.</p>
|
|
2506
2504
|
* @type {string || null}
|
|
2507
2505
|
*/
|
|
2508
2506
|
this.BatchPrefix = null;
|
|
2509
2507
|
|
|
2510
2508
|
/**
|
|
2511
|
-
* A string appended after each log delivery batch
|
|
2509
|
+
* <p>A string appended after each log delivery batch.</p>
|
|
2512
2510
|
* @type {string || null}
|
|
2513
2511
|
*/
|
|
2514
2512
|
this.BatchSuffix = null;
|
|
2515
2513
|
|
|
2516
2514
|
/**
|
|
2517
|
-
*
|
|
2515
|
+
* <p>Log prefix, a string added before each log record.</p>
|
|
2518
2516
|
* @type {string || null}
|
|
2519
2517
|
*/
|
|
2520
2518
|
this.RecordPrefix = null;
|
|
2521
2519
|
|
|
2522
2520
|
/**
|
|
2523
|
-
*
|
|
2521
|
+
* <p>Single-line log suffix, a string appended after each log record.</p>
|
|
2524
2522
|
* @type {string || null}
|
|
2525
2523
|
*/
|
|
2526
2524
|
this.RecordSuffix = null;
|
|
2527
2525
|
|
|
2528
2526
|
/**
|
|
2529
|
-
*
|
|
2530
|
-
<li>\n: line break;</li>
|
|
2531
|
-
<li>\t: tab character;</li>
|
|
2532
|
-
<li>,: Half-width comma. </li>
|
|
2527
|
+
* <p>Log separator, a string inserted between log records as a separator. Valid values:</p><ul><li>\n: line break;</li><li>\t: tab character;</li><li>,: half-width comma.</li></ul>
|
|
2533
2528
|
* @type {string || null}
|
|
2534
2529
|
*/
|
|
2535
2530
|
this.RecordDelimiter = null;
|
|
2536
2531
|
|
|
2537
2532
|
/**
|
|
2538
|
-
*
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2533
|
+
* <p>Log template, output template for a single log, length limited to 4KB, takes effect only when FormatType = template. Supports custom layout and concatenation of configured push fields according to the template.</p>
|
|
2534
|
+
* @type {string || null}
|
|
2535
|
+
*/
|
|
2536
|
+
this.RecordTemplate = null;
|
|
2537
|
+
|
|
2538
|
+
/**
|
|
2539
|
+
* <p>Field separator, a string inserted between fields within a single log record as a separator. It takes effect only when FormatType = csv. Valid values:</p><ul><li>\t: tab character;</li><li>,: half-width comma;</li><li>;: half-width semicolon.</li></ul>
|
|
2542
2540
|
* @type {string || null}
|
|
2543
2541
|
*/
|
|
2544
2542
|
this.FieldDelimiter = null;
|
|
@@ -2558,6 +2556,7 @@ class LogFormat extends AbstractModel {
|
|
|
2558
2556
|
this.RecordPrefix = 'RecordPrefix' in params ? params.RecordPrefix : null;
|
|
2559
2557
|
this.RecordSuffix = 'RecordSuffix' in params ? params.RecordSuffix : null;
|
|
2560
2558
|
this.RecordDelimiter = 'RecordDelimiter' in params ? params.RecordDelimiter : null;
|
|
2559
|
+
this.RecordTemplate = 'RecordTemplate' in params ? params.RecordTemplate : null;
|
|
2561
2560
|
this.FieldDelimiter = 'FieldDelimiter' in params ? params.FieldDelimiter : null;
|
|
2562
2561
|
|
|
2563
2562
|
}
|
|
@@ -3055,85 +3054,91 @@ class CreateRealtimeLogDeliveryTaskRequest extends AbstractModel {
|
|
|
3055
3054
|
super();
|
|
3056
3055
|
|
|
3057
3056
|
/**
|
|
3058
|
-
*
|
|
3057
|
+
* <p>Site ID.</p>
|
|
3059
3058
|
* @type {string || null}
|
|
3060
3059
|
*/
|
|
3061
3060
|
this.ZoneId = null;
|
|
3062
3061
|
|
|
3063
3062
|
/**
|
|
3064
|
-
* Data shipping area. Available values:<ul><li>mainland: within the Chinese mainland;</li><li>overseas: global (excluding the Chinese mainland).</li></ul>
|
|
3063
|
+
* <p>Data shipping area. Available values:<ul><li>mainland: within the Chinese mainland;</li><li>overseas: global (excluding the Chinese mainland).</li></ul></p>
|
|
3065
3064
|
* @type {string || null}
|
|
3066
3065
|
*/
|
|
3067
3066
|
this.Area = null;
|
|
3068
3067
|
|
|
3069
3068
|
/**
|
|
3070
|
-
* Data delivery type. Available values
|
|
3069
|
+
* <p>Data delivery type. Available values:</p><ul><li>l7-access-logs: Layer 7 Access Logs;</li><li>application: Layer 4 Proxy Logs;</li><li>function: Function Logs;</li><li>web-attack: Managed Rule Logs.</li></ul><p>The following types of logs are merged into l7-access-logs and no longer support adding:</p><ul><li>domain: Site Acceleration Logs;</li><li>web-rateLiming: Rate Limit and CC Attack Defense Logs;</li><li>web-rule: Custom Rule Logs;</li><li>web-bot: Bot Management Logs.</li></ul>
|
|
3071
3070
|
* @type {string || null}
|
|
3072
3071
|
*/
|
|
3073
3072
|
this.LogType = null;
|
|
3074
3073
|
|
|
3075
3074
|
/**
|
|
3076
|
-
* Name of a real-time log delivery task, which can contain up to 200 characters, including digits, English letters, hyphens (-) and underscores (_)
|
|
3075
|
+
* <p>Name of a real-time log delivery task, which can contain up to 200 characters, including digits, English letters, hyphens (-) and underscores (_).</p>
|
|
3077
3076
|
* @type {string || null}
|
|
3078
3077
|
*/
|
|
3079
3078
|
this.TaskName = null;
|
|
3080
3079
|
|
|
3081
3080
|
/**
|
|
3082
|
-
* Type of a real-time log shipping task. Valid values:<ul><li>cls: push to Tencent Cloud CLS;</li><li>custom_endpoint: push to a custom HTTP(S) address;</li><li>s3: push to an AWS S3-compatible bucket address;</li><li>log_analysis: push to EdgeOne log analytics.
|
|
3081
|
+
* <p>Type of a real-time log shipping task. Valid values:<ul><li>cls: push to Tencent Cloud CLS;</li><li>custom_endpoint: push to a custom HTTP(S) address;</li><li>s3: push to an AWS S3-compatible bucket address;</li><li>log_analysis: push to EdgeOne log analytics. This is supported only when LogType = l7-access-logs or web-attack.</li></ul></p>
|
|
3083
3082
|
* @type {string || null}
|
|
3084
3083
|
*/
|
|
3085
3084
|
this.TaskType = null;
|
|
3086
3085
|
|
|
3087
3086
|
/**
|
|
3088
|
-
* List of entities corresponding to
|
|
3087
|
+
* <p>List of entities corresponding to real-time log delivery tasks. Example values:</p><ul><li>Layer 7 domain: domain.example.com</li><li>Layer 4 proxy instance: sid-2s69eb5wcms7</li><li>Edge function instance: test-zone-2mxigizoh9l9-1257626257</li></ul><p>For reference: <a href="https://www.tencentcloud.com/document/api/1552/103413?from_cn_redirect=1">DescribeL4Proxy</a></p>
|
|
3089
3088
|
* @type {Array.<string> || null}
|
|
3090
3089
|
*/
|
|
3091
3090
|
this.EntityList = null;
|
|
3092
3091
|
|
|
3093
3092
|
/**
|
|
3094
|
-
* Predefined fields for delivery.
|
|
3093
|
+
* <p>Predefined fields for delivery. For reference: <ul><li><a href="https://www.tencentcloud.com/document/product/1552/105791?from_cn_redirect=1">Layer 7 Access Logs (site acceleration log)</a></li><li><a href="https://www.tencentcloud.com/document/product/1552/105792?from_cn_redirect=1">four-layer proxy logs</a></li><li><a href="https://www.tencentcloud.com/document/product/1552/115585?from_cn_redirect=1">edge function logs</a></li></ul></p><p>For reference: DescribeLogFields</p>
|
|
3095
3094
|
* @type {Array.<string> || null}
|
|
3096
3095
|
*/
|
|
3097
3096
|
this.Fields = null;
|
|
3098
3097
|
|
|
3099
3098
|
/**
|
|
3100
|
-
*
|
|
3099
|
+
* <p>Custom fields for delivery support extracting specified content from HTTP request headers, response headers, cookies, and request bodies.<br>Custom field name must be unique. Only Layer 7 access logs (LogType= l7-access-logs or domain) support adding custom fields.<br>The count of custom fields allowed to be configured has a quota limit. If the quota is insufficient, please contact us (https://www.tencentcloud.com/contact-us).</p>
|
|
3101
3100
|
* @type {Array.<CustomField> || null}
|
|
3102
3101
|
*/
|
|
3103
3102
|
this.CustomFields = null;
|
|
3104
3103
|
|
|
3105
3104
|
/**
|
|
3106
|
-
*
|
|
3105
|
+
* <p>The list of custom expression fields for submission can be used to implement personalized real-time log content push through custom log push field names and value expressions. For usage details, refer to [Custom Log Field Expressions]().<br>Only Layer 7 Access Logs (LogType= l7-access-logs or domain) support adding custom fields.<br>There is a quota limit on the count of custom fields that can be configured. If the quota is insufficient, please [contact us](https://www.tencentcloud.com/contact-us).<br>**Note**: If a field named in CustomExpressionFields has the same name as a field in Fields and CustomFields, the value in CustomExpressionFields takes precedence.</p>
|
|
3106
|
+
* @type {Array.<CustomExpressionField> || null}
|
|
3107
|
+
*/
|
|
3108
|
+
this.CustomExpressionFields = null;
|
|
3109
|
+
|
|
3110
|
+
/**
|
|
3111
|
+
* <p>Filter criteria of log shipping. If this parameter is not input, all logs will be shipped.</p>
|
|
3107
3112
|
* @type {Array.<DeliveryCondition> || null}
|
|
3108
3113
|
*/
|
|
3109
3114
|
this.DeliveryConditions = null;
|
|
3110
3115
|
|
|
3111
3116
|
/**
|
|
3112
|
-
* Sampling ratio in permille. Value range: 1-1000. For example, 605 indicates a sampling ratio of 60.5%. If this parameter is not
|
|
3117
|
+
* <p>Sampling ratio in permille. Value range: 1-1000. For example, 605 indicates a sampling ratio of 60.5%. If this parameter is not input, the sampling ratio is 100%.</p>
|
|
3113
3118
|
* @type {number || null}
|
|
3114
3119
|
*/
|
|
3115
3120
|
this.Sample = null;
|
|
3116
3121
|
|
|
3117
3122
|
/**
|
|
3118
|
-
* Output format for log delivery. If left
|
|
3123
|
+
* <p>Output format for log delivery. For usage details, see <a href="https://www.tencentcloud.com/document/product/1552/110448?from_cn_redirect=1">Custom Log Output Format</a>. If left blank, the default format applies. The default format logic is as follows:<ul><li>When TaskType is 'custom_endpoint', the default format is an array of JSON objects, each JSON object represents a log entry;</li><li>When TaskType is 's3', the default format is JSON Lines;</li></ul>Particularly, when TaskType is 'cls' or 'log_analysis', the only allowed value for LogFormat.FormatType is 'json', and other parameters in LogFormat will be ignored. It is recommended not to transfer LogFormat.</p>
|
|
3119
3124
|
* @type {LogFormat || null}
|
|
3120
3125
|
*/
|
|
3121
3126
|
this.LogFormat = null;
|
|
3122
3127
|
|
|
3123
3128
|
/**
|
|
3124
|
-
* Configuration information of CLS. This parameter is required when
|
|
3129
|
+
* <p>Configuration information of CLS. This parameter is required when TaskType is cls.</p>
|
|
3125
3130
|
* @type {CLSTopic || null}
|
|
3126
3131
|
*/
|
|
3127
3132
|
this.CLS = null;
|
|
3128
3133
|
|
|
3129
3134
|
/**
|
|
3130
|
-
* Configuration information of the custom HTTP
|
|
3135
|
+
* <p>Configuration information of the custom HTTP service. This parameter is required when TaskType is custom_endpoint.</p>
|
|
3131
3136
|
* @type {CustomEndpoint || null}
|
|
3132
3137
|
*/
|
|
3133
3138
|
this.CustomEndpoint = null;
|
|
3134
3139
|
|
|
3135
3140
|
/**
|
|
3136
|
-
* Configuration information of the AWS S3-compatible bucket. This parameter is required when
|
|
3141
|
+
* <p>Configuration information of the AWS S3-compatible bucket. This parameter is required when TaskType is s3.</p>
|
|
3137
3142
|
* @type {S3 || null}
|
|
3138
3143
|
*/
|
|
3139
3144
|
this.S3 = null;
|
|
@@ -3164,6 +3169,15 @@ class CreateRealtimeLogDeliveryTaskRequest extends AbstractModel {
|
|
|
3164
3169
|
}
|
|
3165
3170
|
}
|
|
3166
3171
|
|
|
3172
|
+
if (params.CustomExpressionFields) {
|
|
3173
|
+
this.CustomExpressionFields = new Array();
|
|
3174
|
+
for (let z in params.CustomExpressionFields) {
|
|
3175
|
+
let obj = new CustomExpressionField();
|
|
3176
|
+
obj.deserialize(params.CustomExpressionFields[z]);
|
|
3177
|
+
this.CustomExpressionFields.push(obj);
|
|
3178
|
+
}
|
|
3179
|
+
}
|
|
3180
|
+
|
|
3167
3181
|
if (params.DeliveryConditions) {
|
|
3168
3182
|
this.DeliveryConditions = new Array();
|
|
3169
3183
|
for (let z in params.DeliveryConditions) {
|
|
@@ -11818,18 +11832,30 @@ class LoadBalancer extends AbstractModel {
|
|
|
11818
11832
|
}
|
|
11819
11833
|
|
|
11820
11834
|
/**
|
|
11821
|
-
*
|
|
11835
|
+
* Custom log fields in a real-time log delivery task are customizable and support value expression configurations. For usage details, see [Custom Log Field Expression]().
|
|
11822
11836
|
* @class
|
|
11823
11837
|
*/
|
|
11824
|
-
class
|
|
11838
|
+
class CustomExpressionField extends AbstractModel {
|
|
11825
11839
|
constructor(){
|
|
11826
11840
|
super();
|
|
11827
11841
|
|
|
11828
11842
|
/**
|
|
11829
|
-
*
|
|
11843
|
+
* <p>Custom log field name. Enter 1-100 characters. Allowed characters are letters, digits, and _. It must start with a letter. This name must be unique.</p>
|
|
11830
11844
|
* @type {string || null}
|
|
11831
11845
|
*/
|
|
11832
|
-
this.
|
|
11846
|
+
this.Name = null;
|
|
11847
|
+
|
|
11848
|
+
/**
|
|
11849
|
+
* <p>The value expression of a custom log field. The maximum length of the expression is 4KB. For syntax explanation, see <a href="">Custom Log Field Expression</a>.</p>
|
|
11850
|
+
* @type {string || null}
|
|
11851
|
+
*/
|
|
11852
|
+
this.Expression = null;
|
|
11853
|
+
|
|
11854
|
+
/**
|
|
11855
|
+
* <p>Whether to deliver this field. If left blank, it means not to deliver this field.</p>
|
|
11856
|
+
* @type {boolean || null}
|
|
11857
|
+
*/
|
|
11858
|
+
this.Enabled = null;
|
|
11833
11859
|
|
|
11834
11860
|
}
|
|
11835
11861
|
|
|
@@ -11840,7 +11866,9 @@ class EdgeKVDeleteResponse extends AbstractModel {
|
|
|
11840
11866
|
if (!params) {
|
|
11841
11867
|
return;
|
|
11842
11868
|
}
|
|
11843
|
-
this.
|
|
11869
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
11870
|
+
this.Expression = 'Expression' in params ? params.Expression : null;
|
|
11871
|
+
this.Enabled = 'Enabled' in params ? params.Enabled : null;
|
|
11844
11872
|
|
|
11845
11873
|
}
|
|
11846
11874
|
}
|
|
@@ -26601,7 +26629,7 @@ class CreateRealtimeLogDeliveryTaskResponse extends AbstractModel {
|
|
|
26601
26629
|
super();
|
|
26602
26630
|
|
|
26603
26631
|
/**
|
|
26604
|
-
* ID of the successfully created task
|
|
26632
|
+
* <p>ID of the successfully created task.</p>
|
|
26605
26633
|
* @type {string || null}
|
|
26606
26634
|
*/
|
|
26607
26635
|
this.TaskId = null;
|
|
@@ -33541,6 +33569,98 @@ class ModifyFunctionComponentBindingsRequest extends AbstractModel {
|
|
|
33541
33569
|
}
|
|
33542
33570
|
}
|
|
33543
33571
|
|
|
33572
|
+
/**
|
|
33573
|
+
* NS access type site parameter description.
|
|
33574
|
+
* @class
|
|
33575
|
+
*/
|
|
33576
|
+
class NSDetail extends AbstractModel {
|
|
33577
|
+
constructor(){
|
|
33578
|
+
super();
|
|
33579
|
+
|
|
33580
|
+
/**
|
|
33581
|
+
* Specifies whether CNAME acceleration is enabled. valid values:.
|
|
33582
|
+
<Li>Enabled: specifies whether the feature is enabled.</li>.
|
|
33583
|
+
<li>disabled: specifies that the feature is turned off.</li>.
|
|
33584
|
+
* @type {string || null}
|
|
33585
|
+
*/
|
|
33586
|
+
this.CnameSpeedUp = null;
|
|
33587
|
+
|
|
33588
|
+
/**
|
|
33589
|
+
* Existence of a site with the same name. valid values:.
|
|
33590
|
+
<Li>0: no site with the same name exists.</li>.
|
|
33591
|
+
<Li>Specifies the name already exists.</li>.
|
|
33592
|
+
* @type {number || null}
|
|
33593
|
+
*/
|
|
33594
|
+
this.IsFake = null;
|
|
33595
|
+
|
|
33596
|
+
/**
|
|
33597
|
+
* Ownership verification information. for sites with NS access type, switching the current NS server to the designated NS server of tencent cloud EdgeOne is deemed as passing the ownership verification. for details, refer to [site/domain ownership verification](https://www.tencentcloud.com/document/product/1552/70789?from_cn_redirect=1).
|
|
33598
|
+
* @type {OwnershipVerification || null}
|
|
33599
|
+
*/
|
|
33600
|
+
this.OwnershipVerification = null;
|
|
33601
|
+
|
|
33602
|
+
/**
|
|
33603
|
+
* Lists the NS servers currently in use by the selected site detected by EdgeOne.
|
|
33604
|
+
* @type {Array.<string> || null}
|
|
33605
|
+
*/
|
|
33606
|
+
this.OriginalNameServers = null;
|
|
33607
|
+
|
|
33608
|
+
/**
|
|
33609
|
+
* Lists the NS servers allocated by tencent cloud EdgeOne. requires pointing the current site's NS servers to this address for the changes to take effect.
|
|
33610
|
+
* @type {Array.<string> || null}
|
|
33611
|
+
*/
|
|
33612
|
+
this.NameServers = null;
|
|
33613
|
+
|
|
33614
|
+
/**
|
|
33615
|
+
* Specifies the user-customized NS server domain name information. if enabled, the NS needs to be pointed to this address in the registered vendor of the domains.
|
|
33616
|
+
* @type {VanityNameServers || null}
|
|
33617
|
+
*/
|
|
33618
|
+
this.VanityNameServers = null;
|
|
33619
|
+
|
|
33620
|
+
/**
|
|
33621
|
+
* Describes the IP address information of the user-customized NS server.
|
|
33622
|
+
* @type {Array.<VanityNameServersIps> || null}
|
|
33623
|
+
*/
|
|
33624
|
+
this.VanityNameServersIps = null;
|
|
33625
|
+
|
|
33626
|
+
}
|
|
33627
|
+
|
|
33628
|
+
/**
|
|
33629
|
+
* @private
|
|
33630
|
+
*/
|
|
33631
|
+
deserialize(params) {
|
|
33632
|
+
if (!params) {
|
|
33633
|
+
return;
|
|
33634
|
+
}
|
|
33635
|
+
this.CnameSpeedUp = 'CnameSpeedUp' in params ? params.CnameSpeedUp : null;
|
|
33636
|
+
this.IsFake = 'IsFake' in params ? params.IsFake : null;
|
|
33637
|
+
|
|
33638
|
+
if (params.OwnershipVerification) {
|
|
33639
|
+
let obj = new OwnershipVerification();
|
|
33640
|
+
obj.deserialize(params.OwnershipVerification)
|
|
33641
|
+
this.OwnershipVerification = obj;
|
|
33642
|
+
}
|
|
33643
|
+
this.OriginalNameServers = 'OriginalNameServers' in params ? params.OriginalNameServers : null;
|
|
33644
|
+
this.NameServers = 'NameServers' in params ? params.NameServers : null;
|
|
33645
|
+
|
|
33646
|
+
if (params.VanityNameServers) {
|
|
33647
|
+
let obj = new VanityNameServers();
|
|
33648
|
+
obj.deserialize(params.VanityNameServers)
|
|
33649
|
+
this.VanityNameServers = obj;
|
|
33650
|
+
}
|
|
33651
|
+
|
|
33652
|
+
if (params.VanityNameServersIps) {
|
|
33653
|
+
this.VanityNameServersIps = new Array();
|
|
33654
|
+
for (let z in params.VanityNameServersIps) {
|
|
33655
|
+
let obj = new VanityNameServersIps();
|
|
33656
|
+
obj.deserialize(params.VanityNameServersIps[z]);
|
|
33657
|
+
this.VanityNameServersIps.push(obj);
|
|
33658
|
+
}
|
|
33659
|
+
}
|
|
33660
|
+
|
|
33661
|
+
}
|
|
33662
|
+
}
|
|
33663
|
+
|
|
33544
33664
|
/**
|
|
33545
33665
|
* EnableOriginACL request structure.
|
|
33546
33666
|
* @class
|
|
@@ -35350,58 +35470,18 @@ class IPReputationGroup extends AbstractModel {
|
|
|
35350
35470
|
}
|
|
35351
35471
|
|
|
35352
35472
|
/**
|
|
35353
|
-
*
|
|
35473
|
+
* EdgeKVDelete response structure.
|
|
35354
35474
|
* @class
|
|
35355
35475
|
*/
|
|
35356
|
-
class
|
|
35476
|
+
class EdgeKVDeleteResponse extends AbstractModel {
|
|
35357
35477
|
constructor(){
|
|
35358
35478
|
super();
|
|
35359
35479
|
|
|
35360
35480
|
/**
|
|
35361
|
-
*
|
|
35362
|
-
<Li>Enabled: specifies whether the feature is enabled.</li>.
|
|
35363
|
-
<li>disabled: specifies that the feature is turned off.</li>.
|
|
35481
|
+
* 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.
|
|
35364
35482
|
* @type {string || null}
|
|
35365
35483
|
*/
|
|
35366
|
-
this.
|
|
35367
|
-
|
|
35368
|
-
/**
|
|
35369
|
-
* Existence of a site with the same name. valid values:.
|
|
35370
|
-
<Li>0: no site with the same name exists.</li>.
|
|
35371
|
-
<Li>Specifies the name already exists.</li>.
|
|
35372
|
-
* @type {number || null}
|
|
35373
|
-
*/
|
|
35374
|
-
this.IsFake = null;
|
|
35375
|
-
|
|
35376
|
-
/**
|
|
35377
|
-
* Ownership verification information. for sites with NS access type, switching the current NS server to the designated NS server of tencent cloud EdgeOne is deemed as passing the ownership verification. for details, refer to [site/domain ownership verification](https://www.tencentcloud.com/document/product/1552/70789?from_cn_redirect=1).
|
|
35378
|
-
* @type {OwnershipVerification || null}
|
|
35379
|
-
*/
|
|
35380
|
-
this.OwnershipVerification = null;
|
|
35381
|
-
|
|
35382
|
-
/**
|
|
35383
|
-
* Lists the NS servers currently in use by the selected site detected by EdgeOne.
|
|
35384
|
-
* @type {Array.<string> || null}
|
|
35385
|
-
*/
|
|
35386
|
-
this.OriginalNameServers = null;
|
|
35387
|
-
|
|
35388
|
-
/**
|
|
35389
|
-
* Lists the NS servers allocated by tencent cloud EdgeOne. requires pointing the current site's NS servers to this address for the changes to take effect.
|
|
35390
|
-
* @type {Array.<string> || null}
|
|
35391
|
-
*/
|
|
35392
|
-
this.NameServers = null;
|
|
35393
|
-
|
|
35394
|
-
/**
|
|
35395
|
-
* Specifies the user-customized NS server domain name information. if enabled, the NS needs to be pointed to this address in the registered vendor of the domains.
|
|
35396
|
-
* @type {VanityNameServers || null}
|
|
35397
|
-
*/
|
|
35398
|
-
this.VanityNameServers = null;
|
|
35399
|
-
|
|
35400
|
-
/**
|
|
35401
|
-
* Describes the IP address information of the user-customized NS server.
|
|
35402
|
-
* @type {Array.<VanityNameServersIps> || null}
|
|
35403
|
-
*/
|
|
35404
|
-
this.VanityNameServersIps = null;
|
|
35484
|
+
this.RequestId = null;
|
|
35405
35485
|
|
|
35406
35486
|
}
|
|
35407
35487
|
|
|
@@ -35412,31 +35492,7 @@ class NSDetail extends AbstractModel {
|
|
|
35412
35492
|
if (!params) {
|
|
35413
35493
|
return;
|
|
35414
35494
|
}
|
|
35415
|
-
this.
|
|
35416
|
-
this.IsFake = 'IsFake' in params ? params.IsFake : null;
|
|
35417
|
-
|
|
35418
|
-
if (params.OwnershipVerification) {
|
|
35419
|
-
let obj = new OwnershipVerification();
|
|
35420
|
-
obj.deserialize(params.OwnershipVerification)
|
|
35421
|
-
this.OwnershipVerification = obj;
|
|
35422
|
-
}
|
|
35423
|
-
this.OriginalNameServers = 'OriginalNameServers' in params ? params.OriginalNameServers : null;
|
|
35424
|
-
this.NameServers = 'NameServers' in params ? params.NameServers : null;
|
|
35425
|
-
|
|
35426
|
-
if (params.VanityNameServers) {
|
|
35427
|
-
let obj = new VanityNameServers();
|
|
35428
|
-
obj.deserialize(params.VanityNameServers)
|
|
35429
|
-
this.VanityNameServers = obj;
|
|
35430
|
-
}
|
|
35431
|
-
|
|
35432
|
-
if (params.VanityNameServersIps) {
|
|
35433
|
-
this.VanityNameServersIps = new Array();
|
|
35434
|
-
for (let z in params.VanityNameServersIps) {
|
|
35435
|
-
let obj = new VanityNameServersIps();
|
|
35436
|
-
obj.deserialize(params.VanityNameServersIps[z]);
|
|
35437
|
-
this.VanityNameServersIps.push(obj);
|
|
35438
|
-
}
|
|
35439
|
-
}
|
|
35495
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
35440
35496
|
|
|
35441
35497
|
}
|
|
35442
35498
|
}
|
|
@@ -44617,7 +44673,7 @@ module.exports = {
|
|
|
44617
44673
|
ModifyPrefetchOriginLimitResponse: ModifyPrefetchOriginLimitResponse,
|
|
44618
44674
|
ModifyMultiPathGatewayRequest: ModifyMultiPathGatewayRequest,
|
|
44619
44675
|
LoadBalancer: LoadBalancer,
|
|
44620
|
-
|
|
44676
|
+
CustomExpressionField: CustomExpressionField,
|
|
44621
44677
|
DescribeFunctionReplicasResponse: DescribeFunctionReplicasResponse,
|
|
44622
44678
|
CreateSecurityAPIServiceResponse: CreateSecurityAPIServiceResponse,
|
|
44623
44679
|
HostName: HostName,
|
|
@@ -45021,6 +45077,7 @@ module.exports = {
|
|
|
45021
45077
|
DeleteSecurityJSInjectionRuleRequest: DeleteSecurityJSInjectionRuleRequest,
|
|
45022
45078
|
BotConfig: BotConfig,
|
|
45023
45079
|
ModifyFunctionComponentBindingsRequest: ModifyFunctionComponentBindingsRequest,
|
|
45080
|
+
NSDetail: NSDetail,
|
|
45024
45081
|
EnableOriginACLRequest: EnableOriginACLRequest,
|
|
45025
45082
|
CreateEdgeKVNamespaceResponse: CreateEdgeKVNamespaceResponse,
|
|
45026
45083
|
ModifyZoneResponse: ModifyZoneResponse,
|
|
@@ -45057,7 +45114,7 @@ module.exports = {
|
|
|
45057
45114
|
DescribeAvailablePlansRequest: DescribeAvailablePlansRequest,
|
|
45058
45115
|
ModifyMultiPathGatewayStatusResponse: ModifyMultiPathGatewayStatusResponse,
|
|
45059
45116
|
IPReputationGroup: IPReputationGroup,
|
|
45060
|
-
|
|
45117
|
+
EdgeKVDeleteResponse: EdgeKVDeleteResponse,
|
|
45061
45118
|
DnsVerification: DnsVerification,
|
|
45062
45119
|
AlgDetectSession: AlgDetectSession,
|
|
45063
45120
|
ModifyZoneStatusResponse: ModifyZoneStatusResponse,
|
|
@@ -240,7 +240,7 @@ const SubRule = models.SubRule;
|
|
|
240
240
|
const ModifyPrefetchOriginLimitResponse = models.ModifyPrefetchOriginLimitResponse;
|
|
241
241
|
const ModifyMultiPathGatewayRequest = models.ModifyMultiPathGatewayRequest;
|
|
242
242
|
const LoadBalancer = models.LoadBalancer;
|
|
243
|
-
const
|
|
243
|
+
const CustomExpressionField = models.CustomExpressionField;
|
|
244
244
|
const DescribeFunctionReplicasResponse = models.DescribeFunctionReplicasResponse;
|
|
245
245
|
const CreateSecurityAPIServiceResponse = models.CreateSecurityAPIServiceResponse;
|
|
246
246
|
const HostName = models.HostName;
|
|
@@ -644,6 +644,7 @@ const DeleteAliasDomainResponse = models.DeleteAliasDomainResponse;
|
|
|
644
644
|
const DeleteSecurityJSInjectionRuleRequest = models.DeleteSecurityJSInjectionRuleRequest;
|
|
645
645
|
const BotConfig = models.BotConfig;
|
|
646
646
|
const ModifyFunctionComponentBindingsRequest = models.ModifyFunctionComponentBindingsRequest;
|
|
647
|
+
const NSDetail = models.NSDetail;
|
|
647
648
|
const EnableOriginACLRequest = models.EnableOriginACLRequest;
|
|
648
649
|
const CreateEdgeKVNamespaceResponse = models.CreateEdgeKVNamespaceResponse;
|
|
649
650
|
const ModifyZoneResponse = models.ModifyZoneResponse;
|
|
@@ -680,7 +681,7 @@ const DescribeIPRegionResponse = models.DescribeIPRegionResponse;
|
|
|
680
681
|
const DescribeAvailablePlansRequest = models.DescribeAvailablePlansRequest;
|
|
681
682
|
const ModifyMultiPathGatewayStatusResponse = models.ModifyMultiPathGatewayStatusResponse;
|
|
682
683
|
const IPReputationGroup = models.IPReputationGroup;
|
|
683
|
-
const
|
|
684
|
+
const EdgeKVDeleteResponse = models.EdgeKVDeleteResponse;
|
|
684
685
|
const DnsVerification = models.DnsVerification;
|
|
685
686
|
const AlgDetectSession = models.AlgDetectSession;
|
|
686
687
|
const ModifyZoneStatusResponse = models.ModifyZoneStatusResponse;
|
|
@@ -1599,13 +1600,13 @@ If your plan needs to upgrade to the Enterprise Edition, [Contact Us](https://ww
|
|
|
1599
1600
|
|
|
1600
1601
|
/**
|
|
1601
1602
|
* This API is used to create a real-time log delivery task. The following limits apply:
|
|
1602
|
-
-When the data delivery type (LogType) is
|
|
1603
|
-
-A task
|
|
1604
|
-
-A task to push to Tencent Cloud CLS, add another task to push to S3-compatible object storage
|
|
1605
|
-
-When the data delivery type (LogType) is rate limit and CC attack defense log, managed rule log, custom rule log, or Bot Management Log, an entity can only be added to one real-time log delivery task under the combination of the same data delivery type (LogType) and data delivery
|
|
1606
|
-
-When the real-time log delivery task type (TaskType) is EdgeOne log analysis (log_analysis), it supports only data delivery
|
|
1603
|
+
-When the data delivery type (LogType) is Layer 7 Access Logs, four-layer proxy logs, or edge function logs, an entity (layer-7 domain name, L4 proxy instance, or edge function instance) can only be added to the following combination of real-time log delivery task types (TaskType) under the same combination of data delivery type (LogType) and data delivery area (Area):
|
|
1604
|
+
-A task that pushes to Tencent Cloud CLS, add an additional task that pushes to a custom HTTP(S) address.
|
|
1605
|
+
-A task to push to Tencent Cloud CLS, add another task to push to AWS S3-compatible object storage;
|
|
1606
|
+
-When the data delivery type (LogType) is rate limit and CC attack defense log, managed rule log, custom rule log, or Bot Management Log, an entity can only be added to one real-time log delivery task under the combination of the same data delivery type (LogType) and data delivery Area.
|
|
1607
|
+
-When the real-time log delivery task type (TaskType) is EdgeOne log analysis (log_analysis), it supports only data delivery types (LogType) of Layer 7 Access Logs (l7-access-logs) or managed rule logs (web-attack). Under the combination of the same site (ZoneId), same data delivery area (Area), and data, each data delivery type (LogType) can only add one real-time log delivery task pushed to EdgeOne log analysis.
|
|
1607
1608
|
|
|
1608
|
-
It is
|
|
1609
|
+
It is advisable to first query the real-time log delivery task list based on the physical entity using the DescribeRealtimeLogDeliveryTasks API (https://www.tencentcloud.com/document/product/1552/104110?from_cn_redirect=1) to check whether the entity has been added to another real-time log delivery task.
|
|
1609
1610
|
* @param {CreateRealtimeLogDeliveryTaskRequest} req
|
|
1610
1611
|
* @param {function(string, CreateRealtimeLogDeliveryTaskResponse):void} cb
|
|
1611
1612
|
* @public
|