tencentcloud-sdk-nodejs-intl-en 3.0.811 → 3.0.813

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.811",
3
+ "version": "3.0.813",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,3 +1,3 @@
1
1
  module.exports = {
2
- v20220331: require("./v20220331"), v20210420: require("./v20210420"),
2
+ v20210420: require("./v20210420"), v20220331: require("./v20220331"),
3
3
  };
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.811";
1
+ const sdkVersion = "3.0.813";
2
2
  module.exports = sdkVersion
@@ -1,3 +1,3 @@
1
1
  module.exports = {
2
- v20211206: require("./v20211206"), v20180330: require("./v20180330"),
2
+ v20180330: require("./v20180330"), v20211206: require("./v20211206"),
3
3
  };
@@ -1,3 +1,3 @@
1
1
  module.exports = {
2
- v20210331: require("./v20210331"), v20181225: require("./v20181225"),
2
+ v20181225: require("./v20181225"), v20210331: require("./v20210331"),
3
3
  };
@@ -1,3 +1,3 @@
1
1
  module.exports = {
2
- v20201221: require("./v20201221"), v20210701: require("./v20210701"),
2
+ v20210701: require("./v20210701"), v20201221: require("./v20201221"),
3
3
  };
@@ -2332,6 +2332,56 @@ class DeleteAccelerationDomainsRequest extends AbstractModel {
2332
2332
  }
2333
2333
  }
2334
2334
 
2335
+ /**
2336
+ * DescribeApplicationProxies response structure.
2337
+ * @class
2338
+ */
2339
+ class DescribeApplicationProxiesResponse extends AbstractModel {
2340
+ constructor(){
2341
+ super();
2342
+
2343
+ /**
2344
+ * List of application proxies.
2345
+ * @type {Array.<ApplicationProxy> || null}
2346
+ */
2347
+ this.ApplicationProxies = null;
2348
+
2349
+ /**
2350
+ * Total number of records.
2351
+ * @type {number || null}
2352
+ */
2353
+ this.TotalCount = null;
2354
+
2355
+ /**
2356
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
2357
+ * @type {string || null}
2358
+ */
2359
+ this.RequestId = null;
2360
+
2361
+ }
2362
+
2363
+ /**
2364
+ * @private
2365
+ */
2366
+ deserialize(params) {
2367
+ if (!params) {
2368
+ return;
2369
+ }
2370
+
2371
+ if (params.ApplicationProxies) {
2372
+ this.ApplicationProxies = new Array();
2373
+ for (let z in params.ApplicationProxies) {
2374
+ let obj = new ApplicationProxy();
2375
+ obj.deserialize(params.ApplicationProxies[z]);
2376
+ this.ApplicationProxies.push(obj);
2377
+ }
2378
+ }
2379
+ this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
2380
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
2381
+
2382
+ }
2383
+ }
2384
+
2335
2385
  /**
2336
2386
  * The scope to which the exception rule applies
2337
2387
  * @class
@@ -4316,8 +4366,7 @@ u200c<li>`deactivated`: The site is blocked.</li>
4316
4366
  * Connection mode of the site. Values:
4317
4367
  <li>`full`: Connect via the name server.</li>
4318
4368
  <li>`partial`: Connect via the CNAME record.</li>
4319
- <li>`noDomainAccess`: Connect without using a domain name
4320
-
4369
+ <li>`noDomainAccess`: Connect without using a domain name</li>
4321
4370
  * @type {string || null}
4322
4371
  */
4323
4372
  this.Type = null;
@@ -4587,6 +4636,41 @@ Note: If the value of `Id` is `StatusCode`, values in the array are all integer
4587
4636
  }
4588
4637
  }
4589
4638
 
4639
+ /**
4640
+ * Bindings between a shared CNAME and connected domain names
4641
+ * @class
4642
+ */
4643
+ class BindSharedCNAMEMap extends AbstractModel {
4644
+ constructor(){
4645
+ super();
4646
+
4647
+ /**
4648
+ * The shared CNAME to be bound with or unbound from.
4649
+ * @type {string || null}
4650
+ */
4651
+ this.SharedCNAME = null;
4652
+
4653
+ /**
4654
+ * Acceleration domains (up to 20).
4655
+ * @type {Array.<string> || null}
4656
+ */
4657
+ this.DomainNames = null;
4658
+
4659
+ }
4660
+
4661
+ /**
4662
+ * @private
4663
+ */
4664
+ deserialize(params) {
4665
+ if (!params) {
4666
+ return;
4667
+ }
4668
+ this.SharedCNAME = 'SharedCNAME' in params ? params.SharedCNAME : null;
4669
+ this.DomainNames = 'DomainNames' in params ? params.DomainNames : null;
4670
+
4671
+ }
4672
+ }
4673
+
4590
4674
  /**
4591
4675
  * List of the settings of the rule engine that can be used for request match and their detailed information.
4592
4676
  * @class
@@ -4973,6 +5057,43 @@ class Ipv6 extends AbstractModel {
4973
5057
  }
4974
5058
  }
4975
5059
 
5060
+ /**
5061
+ * WebSocket configuration
5062
+ * @class
5063
+ */
5064
+ class WebSocket extends AbstractModel {
5065
+ constructor(){
5066
+ super();
5067
+
5068
+ /**
5069
+ * Whether to enable WebSocket connection timeout. Values:
5070
+ <li>`on`: The field "Timeout" can be configured.</li>
5071
+ <li>`off`: The field "Timeout" is fixed to 15 seconds.</li>
5072
+ * @type {string || null}
5073
+ */
5074
+ this.Switch = null;
5075
+
5076
+ /**
5077
+ * The timeout period in seconds. Maximum value: 120.
5078
+ * @type {number || null}
5079
+ */
5080
+ this.Timeout = null;
5081
+
5082
+ }
5083
+
5084
+ /**
5085
+ * @private
5086
+ */
5087
+ deserialize(params) {
5088
+ if (!params) {
5089
+ return;
5090
+ }
5091
+ this.Switch = 'Switch' in params ? params.Switch : null;
5092
+ this.Timeout = 'Timeout' in params ? params.Timeout : null;
5093
+
5094
+ }
5095
+ }
5096
+
4976
5097
  /**
4977
5098
  * ModifyAccelerationDomain request structure.
4978
5099
  * @class
@@ -6156,25 +6277,13 @@ class DeleteApplicationProxyRuleRequest extends AbstractModel {
6156
6277
  }
6157
6278
 
6158
6279
  /**
6159
- * DescribeApplicationProxies response structure.
6280
+ * BindSharedCNAME response structure.
6160
6281
  * @class
6161
6282
  */
6162
- class DescribeApplicationProxiesResponse extends AbstractModel {
6283
+ class BindSharedCNAMEResponse extends AbstractModel {
6163
6284
  constructor(){
6164
6285
  super();
6165
6286
 
6166
- /**
6167
- * List of application proxies.
6168
- * @type {Array.<ApplicationProxy> || null}
6169
- */
6170
- this.ApplicationProxies = null;
6171
-
6172
- /**
6173
- * Total number of records.
6174
- * @type {number || null}
6175
- */
6176
- this.TotalCount = null;
6177
-
6178
6287
  /**
6179
6288
  * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
6180
6289
  * @type {string || null}
@@ -6190,16 +6299,6 @@ class DescribeApplicationProxiesResponse extends AbstractModel {
6190
6299
  if (!params) {
6191
6300
  return;
6192
6301
  }
6193
-
6194
- if (params.ApplicationProxies) {
6195
- this.ApplicationProxies = new Array();
6196
- for (let z in params.ApplicationProxies) {
6197
- let obj = new ApplicationProxy();
6198
- obj.deserialize(params.ApplicationProxies[z]);
6199
- this.ApplicationProxies.push(obj);
6200
- }
6201
- }
6202
- this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
6203
6302
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
6204
6303
 
6205
6304
  }
@@ -6370,6 +6469,41 @@ class FileAscriptionInfo extends AbstractModel {
6370
6469
  }
6371
6470
  }
6372
6471
 
6472
+ /**
6473
+ * DeleteSharedCNAME request structure.
6474
+ * @class
6475
+ */
6476
+ class DeleteSharedCNAMERequest extends AbstractModel {
6477
+ constructor(){
6478
+ super();
6479
+
6480
+ /**
6481
+ * ID of the site to which the shared CNAME belongs.
6482
+ * @type {string || null}
6483
+ */
6484
+ this.ZoneId = null;
6485
+
6486
+ /**
6487
+ * The shared CNAME to be deleted
6488
+ * @type {string || null}
6489
+ */
6490
+ this.SharedCNAME = null;
6491
+
6492
+ }
6493
+
6494
+ /**
6495
+ * @private
6496
+ */
6497
+ deserialize(params) {
6498
+ if (!params) {
6499
+ return;
6500
+ }
6501
+ this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
6502
+ this.SharedCNAME = 'SharedCNAME' in params ? params.SharedCNAME : null;
6503
+
6504
+ }
6505
+ }
6506
+
6373
6507
  /**
6374
6508
  * DescribeAccelerationDomains response structure.
6375
6509
  * @class
@@ -6979,26 +7113,18 @@ class IdentifyZoneResponse extends AbstractModel {
6979
7113
  }
6980
7114
 
6981
7115
  /**
6982
- * WebSocket configuration
7116
+ * DeleteSharedCNAME response structure.
6983
7117
  * @class
6984
7118
  */
6985
- class WebSocket extends AbstractModel {
7119
+ class DeleteSharedCNAMEResponse extends AbstractModel {
6986
7120
  constructor(){
6987
7121
  super();
6988
7122
 
6989
7123
  /**
6990
- * Whether to enable WebSocket connection timeout. Values:
6991
- <li>`on`: The field "Timeout" can be configured.</li>
6992
- <li>`off`: The field "Timeout" is fixed to 15 seconds.</li>
7124
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
6993
7125
  * @type {string || null}
6994
7126
  */
6995
- this.Switch = null;
6996
-
6997
- /**
6998
- * The timeout period in seconds. Maximum value: 120.
6999
- * @type {number || null}
7000
- */
7001
- this.Timeout = null;
7127
+ this.RequestId = null;
7002
7128
 
7003
7129
  }
7004
7130
 
@@ -7009,8 +7135,7 @@ class WebSocket extends AbstractModel {
7009
7135
  if (!params) {
7010
7136
  return;
7011
7137
  }
7012
- this.Switch = 'Switch' in params ? params.Switch : null;
7013
- this.Timeout = 'Timeout' in params ? params.Timeout : null;
7138
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
7014
7139
 
7015
7140
  }
7016
7141
  }
@@ -7837,30 +7962,24 @@ class DescribeDefaultCertificatesRequest extends AbstractModel {
7837
7962
  }
7838
7963
 
7839
7964
  /**
7840
- * DescribeAliasDomains response structure.
7965
+ * BindZoneToPlan request structure.
7841
7966
  * @class
7842
7967
  */
7843
- class DescribeAliasDomainsResponse extends AbstractModel {
7968
+ class BindZoneToPlanRequest extends AbstractModel {
7844
7969
  constructor(){
7845
7970
  super();
7846
7971
 
7847
7972
  /**
7848
- * Total eligible alias domain names.
7849
- * @type {number || null}
7850
- */
7851
- this.TotalCount = null;
7852
-
7853
- /**
7854
- * Information of the eligible alias domain names.
7855
- * @type {Array.<AliasDomain> || null}
7973
+ * ID of the site to be bound.
7974
+ * @type {string || null}
7856
7975
  */
7857
- this.AliasDomains = null;
7976
+ this.ZoneId = null;
7858
7977
 
7859
7978
  /**
7860
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
7979
+ * ID of the target plan.
7861
7980
  * @type {string || null}
7862
7981
  */
7863
- this.RequestId = null;
7982
+ this.PlanId = null;
7864
7983
 
7865
7984
  }
7866
7985
 
@@ -7871,17 +7990,8 @@ class DescribeAliasDomainsResponse extends AbstractModel {
7871
7990
  if (!params) {
7872
7991
  return;
7873
7992
  }
7874
- this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
7875
-
7876
- if (params.AliasDomains) {
7877
- this.AliasDomains = new Array();
7878
- for (let z in params.AliasDomains) {
7879
- let obj = new AliasDomain();
7880
- obj.deserialize(params.AliasDomains[z]);
7881
- this.AliasDomains.push(obj);
7882
- }
7883
- }
7884
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
7993
+ this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
7994
+ this.PlanId = 'PlanId' in params ? params.PlanId : null;
7885
7995
 
7886
7996
  }
7887
7997
  }
@@ -10120,6 +10230,48 @@ class RateLimitTemplate extends AbstractModel {
10120
10230
  }
10121
10231
  }
10122
10232
 
10233
+ /**
10234
+ *
10235
+ * @class
10236
+ */
10237
+ class OriginGroupReference extends AbstractModel {
10238
+ constructor(){
10239
+ super();
10240
+
10241
+ /**
10242
+ *
10243
+ * @type {string || null}
10244
+ */
10245
+ this.InstanceType = null;
10246
+
10247
+ /**
10248
+ *
10249
+ * @type {string || null}
10250
+ */
10251
+ this.InstanceId = null;
10252
+
10253
+ /**
10254
+ *
10255
+ * @type {string || null}
10256
+ */
10257
+ this.InstanceName = null;
10258
+
10259
+ }
10260
+
10261
+ /**
10262
+ * @private
10263
+ */
10264
+ deserialize(params) {
10265
+ if (!params) {
10266
+ return;
10267
+ }
10268
+ this.InstanceType = 'InstanceType' in params ? params.InstanceType : null;
10269
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
10270
+ this.InstanceName = 'InstanceName' in params ? params.InstanceName : null;
10271
+
10272
+ }
10273
+ }
10274
+
10123
10275
  /**
10124
10276
  * ModifyHostsCertificate response structure.
10125
10277
  * @class
@@ -12150,6 +12302,58 @@ Note: This field may return null, indicating that no valid values can be obtaine
12150
12302
  }
12151
12303
  }
12152
12304
 
12305
+ /**
12306
+ * BindSharedCNAME request structure.
12307
+ * @class
12308
+ */
12309
+ class BindSharedCNAMERequest extends AbstractModel {
12310
+ constructor(){
12311
+ super();
12312
+
12313
+ /**
12314
+ * ID of the site related with the acceleration domain name.
12315
+ * @type {string || null}
12316
+ */
12317
+ this.ZoneId = null;
12318
+
12319
+ /**
12320
+ * Action type. Values:
12321
+ <li>`bind`: To bind</li>
12322
+ <li>`unbind`: To unbind</li>
12323
+ * @type {string || null}
12324
+ */
12325
+ this.BindType = null;
12326
+
12327
+ /**
12328
+ * Bindings between domain names and a shared CNAME
12329
+ * @type {Array.<BindSharedCNAMEMap> || null}
12330
+ */
12331
+ this.BindSharedCNAMEMaps = null;
12332
+
12333
+ }
12334
+
12335
+ /**
12336
+ * @private
12337
+ */
12338
+ deserialize(params) {
12339
+ if (!params) {
12340
+ return;
12341
+ }
12342
+ this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
12343
+ this.BindType = 'BindType' in params ? params.BindType : null;
12344
+
12345
+ if (params.BindSharedCNAMEMaps) {
12346
+ this.BindSharedCNAMEMaps = new Array();
12347
+ for (let z in params.BindSharedCNAMEMaps) {
12348
+ let obj = new BindSharedCNAMEMap();
12349
+ obj.deserialize(params.BindSharedCNAMEMaps[z]);
12350
+ this.BindSharedCNAMEMaps.push(obj);
12351
+ }
12352
+ }
12353
+
12354
+ }
12355
+ }
12356
+
12153
12357
  /**
12154
12358
  * Client filtering
12155
12359
  * @class
@@ -12740,24 +12944,30 @@ class AccelerateType extends AbstractModel {
12740
12944
  }
12741
12945
 
12742
12946
  /**
12743
- * BindZoneToPlan request structure.
12947
+ * DescribeAliasDomains response structure.
12744
12948
  * @class
12745
12949
  */
12746
- class BindZoneToPlanRequest extends AbstractModel {
12950
+ class DescribeAliasDomainsResponse extends AbstractModel {
12747
12951
  constructor(){
12748
12952
  super();
12749
12953
 
12750
12954
  /**
12751
- * ID of the site to be bound.
12752
- * @type {string || null}
12955
+ * Total eligible alias domain names.
12956
+ * @type {number || null}
12753
12957
  */
12754
- this.ZoneId = null;
12958
+ this.TotalCount = null;
12755
12959
 
12756
12960
  /**
12757
- * ID of the target plan.
12961
+ * Information of the eligible alias domain names.
12962
+ * @type {Array.<AliasDomain> || null}
12963
+ */
12964
+ this.AliasDomains = null;
12965
+
12966
+ /**
12967
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
12758
12968
  * @type {string || null}
12759
12969
  */
12760
- this.PlanId = null;
12970
+ this.RequestId = null;
12761
12971
 
12762
12972
  }
12763
12973
 
@@ -12768,8 +12978,17 @@ class BindZoneToPlanRequest extends AbstractModel {
12768
12978
  if (!params) {
12769
12979
  return;
12770
12980
  }
12771
- this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
12772
- this.PlanId = 'PlanId' in params ? params.PlanId : null;
12981
+ this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
12982
+
12983
+ if (params.AliasDomains) {
12984
+ this.AliasDomains = new Array();
12985
+ for (let z in params.AliasDomains) {
12986
+ let obj = new AliasDomain();
12987
+ obj.deserialize(params.AliasDomains[z]);
12988
+ this.AliasDomains.push(obj);
12989
+ }
12990
+ }
12991
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
12773
12992
 
12774
12993
  }
12775
12994
  }
@@ -14045,7 +14264,7 @@ class StandardDebug extends AbstractModel {
14045
14264
  this.Switch = null;
14046
14265
 
14047
14266
  /**
14048
- * The client IP to allow. It can be an IPv4/IPv6 address or a CIDR block. If not specified, it means to allow any client IP
14267
+ * Allowed client source. It supports IPv4/IPv6 addresses and CIDR blocks.
14049
14268
  * @type {Array.<string> || null}
14050
14269
  */
14051
14270
  this.AllowClientIPList = null;
@@ -14901,7 +15120,7 @@ class CreateSharedCNAMEResponse extends AbstractModel {
14901
15120
  super();
14902
15121
 
14903
15122
  /**
14904
- * Shared CNAME. Format: <Custom Prefix> + <12-bit random string in ZoneId> + "share.eo.dnse[0-5].com"
15123
+ * Shared CNAME. Format: <Custom prefix> + <12-bit random string in ZoneId> + "share.dnse[0-5].com"
14905
15124
  * @type {string || null}
14906
15125
  */
14907
15126
  this.SharedCNAME = null;
@@ -15190,52 +15409,40 @@ class OriginGroup extends AbstractModel {
15190
15409
  super();
15191
15410
 
15192
15411
  /**
15193
- * The site ID.
15412
+ *
15194
15413
  * @type {string || null}
15195
15414
  */
15196
- this.ZoneId = null;
15415
+ this.GroupId = null;
15197
15416
 
15198
15417
  /**
15199
- * The site name.
15418
+ *
15200
15419
  * @type {string || null}
15201
15420
  */
15202
- this.ZoneName = null;
15421
+ this.Name = null;
15203
15422
 
15204
15423
  /**
15205
- * The ID of the origin group.
15424
+ *
15206
15425
  * @type {string || null}
15207
15426
  */
15208
- this.OriginGroupId = null;
15427
+ this.Type = null;
15209
15428
 
15210
15429
  /**
15211
- * The origin type. Values:
15212
- <li>`self`: Customer origin</li>
15213
- <li>`third_party`: Third-party origin</li>
15214
- <li>`cos`: Tencent Cloud COS origin</li>
15215
- * @type {string || null}
15430
+ *
15431
+ * @type {Array.<OriginRecord> || null}
15216
15432
  */
15217
- this.OriginType = null;
15433
+ this.Records = null;
15218
15434
 
15219
15435
  /**
15220
- * The name of the origin group.
15221
- * @type {string || null}
15436
+ *
15437
+ * @type {Array.<OriginGroupReference> || null}
15222
15438
  */
15223
- this.OriginGroupName = null;
15439
+ this.References = null;
15224
15440
 
15225
15441
  /**
15226
- * The origin configuration type when `OriginType=self`. Values:
15227
- <li>`area`: Configure by region.</li>
15228
- <li>`weight`: Configure by weight.</li>
15229
- <li>`proto`: Configure by HTTP protocol.</li>When `OriginType=third_party/cos`, leave this field empty.
15442
+ *
15230
15443
  * @type {string || null}
15231
15444
  */
15232
- this.ConfigurationType = null;
15233
-
15234
- /**
15235
- * The origin record information.
15236
- * @type {Array.<OriginRecord> || null}
15237
- */
15238
- this.OriginRecords = null;
15445
+ this.CreateTime = null;
15239
15446
 
15240
15447
  /**
15241
15448
  * The update time of the origin group.
@@ -15244,8 +15451,8 @@ class OriginGroup extends AbstractModel {
15244
15451
  this.UpdateTime = null;
15245
15452
 
15246
15453
  /**
15247
- * The origin domain when `OriginType=self`.
15248
- Note: This field may return `null`, indicating that no valid value can be obtained.
15454
+ * Origin-pull host header
15455
+ Note: This field may return·null, indicating that no valid values can be obtained.
15249
15456
  * @type {string || null}
15250
15457
  */
15251
15458
  this.HostHeader = null;
@@ -15259,21 +15466,28 @@ Note: This field may return `null`, indicating that no valid value can be obtain
15259
15466
  if (!params) {
15260
15467
  return;
15261
15468
  }
15262
- this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
15263
- this.ZoneName = 'ZoneName' in params ? params.ZoneName : null;
15264
- this.OriginGroupId = 'OriginGroupId' in params ? params.OriginGroupId : null;
15265
- this.OriginType = 'OriginType' in params ? params.OriginType : null;
15266
- this.OriginGroupName = 'OriginGroupName' in params ? params.OriginGroupName : null;
15267
- this.ConfigurationType = 'ConfigurationType' in params ? params.ConfigurationType : null;
15469
+ this.GroupId = 'GroupId' in params ? params.GroupId : null;
15470
+ this.Name = 'Name' in params ? params.Name : null;
15471
+ this.Type = 'Type' in params ? params.Type : null;
15268
15472
 
15269
- if (params.OriginRecords) {
15270
- this.OriginRecords = new Array();
15271
- for (let z in params.OriginRecords) {
15473
+ if (params.Records) {
15474
+ this.Records = new Array();
15475
+ for (let z in params.Records) {
15272
15476
  let obj = new OriginRecord();
15273
- obj.deserialize(params.OriginRecords[z]);
15274
- this.OriginRecords.push(obj);
15477
+ obj.deserialize(params.Records[z]);
15478
+ this.Records.push(obj);
15479
+ }
15480
+ }
15481
+
15482
+ if (params.References) {
15483
+ this.References = new Array();
15484
+ for (let z in params.References) {
15485
+ let obj = new OriginGroupReference();
15486
+ obj.deserialize(params.References[z]);
15487
+ this.References.push(obj);
15275
15488
  }
15276
15489
  }
15490
+ this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
15277
15491
  this.UpdateTime = 'UpdateTime' in params ? params.UpdateTime : null;
15278
15492
  this.HostHeader = 'HostHeader' in params ? params.HostHeader : null;
15279
15493
 
@@ -15593,9 +15807,11 @@ class CreateSharedCNAMERequest extends AbstractModel {
15593
15807
  this.ZoneId = null;
15594
15808
 
15595
15809
  /**
15596
- * Prefix of the shared CNAME. Format: "test-api","test-api.com". Up 50 characters allowed.
15597
- The full format of the shared CNAME is: <custom prefix> + <12-bit random string in ZoneId> + "share.eo.dns[0-5].com". For example, if the prefix is "example.com", the created shared CNAME is "example.com.sai2ig51kaa5.share.eo.dnse2.com"
15598
- Example: example.com
15810
+ * Prefix of the shared CNAME (up to 50 characters). Format: "test-api", "test-api.com".
15811
+
15812
+ The complete format of a shared CNAME: <Custom Prefix> + <12-bit random string in ZoneId> + "share.dnse[0-5].com"
15813
+
15814
+ For example, if the prefix is `example.com`, the generated shared CNAME is `example.com.sai2ig51kaa5.share.dnse2.com`.
15599
15815
  * @type {string || null}
15600
15816
  */
15601
15817
  this.SharedCNAMEPrefix = null;
@@ -16156,6 +16372,7 @@ module.exports = {
16156
16372
  BotUserRule: BotUserRule,
16157
16373
  ModifyOriginGroupResponse: ModifyOriginGroupResponse,
16158
16374
  DeleteAccelerationDomainsRequest: DeleteAccelerationDomainsRequest,
16375
+ DescribeApplicationProxiesResponse: DescribeApplicationProxiesResponse,
16159
16376
  ExceptUserRuleScope: ExceptUserRuleScope,
16160
16377
  ModifyAliasDomainRequest: ModifyAliasDomainRequest,
16161
16378
  DescribeAvailablePlansRequest: DescribeAvailablePlansRequest,
@@ -16194,12 +16411,14 @@ module.exports = {
16194
16411
  Zone: Zone,
16195
16412
  DescribeRulesSettingResponse: DescribeRulesSettingResponse,
16196
16413
  RuleExtraParameter: RuleExtraParameter,
16414
+ BindSharedCNAMEMap: BindSharedCNAMEMap,
16197
16415
  RulesSettingAction: RulesSettingAction,
16198
16416
  DDoSAttackEvent: DDoSAttackEvent,
16199
16417
  ClientIpHeader: ClientIpHeader,
16200
16418
  DescribeDDoSAttackTopDataRequest: DescribeDDoSAttackTopDataRequest,
16201
16419
  Quic: Quic,
16202
16420
  Ipv6: Ipv6,
16421
+ WebSocket: WebSocket,
16203
16422
  ModifyAccelerationDomainRequest: ModifyAccelerationDomainRequest,
16204
16423
  DescribeRulesRequest: DescribeRulesRequest,
16205
16424
  DescribeContentQuotaResponse: DescribeContentQuotaResponse,
@@ -16221,16 +16440,17 @@ module.exports = {
16221
16440
  ClientIpCountry: ClientIpCountry,
16222
16441
  CreatePrefetchTaskRequest: CreatePrefetchTaskRequest,
16223
16442
  DeleteApplicationProxyRuleRequest: DeleteApplicationProxyRuleRequest,
16224
- DescribeApplicationProxiesResponse: DescribeApplicationProxiesResponse,
16443
+ BindSharedCNAMEResponse: BindSharedCNAMEResponse,
16225
16444
  DescribeTopL7AnalysisDataRequest: DescribeTopL7AnalysisDataRequest,
16226
16445
  FileAscriptionInfo: FileAscriptionInfo,
16446
+ DeleteSharedCNAMERequest: DeleteSharedCNAMERequest,
16227
16447
  DescribeAccelerationDomainsResponse: DescribeAccelerationDomainsResponse,
16228
16448
  ZoneSetting: ZoneSetting,
16229
16449
  DescribeTopL7CacheDataResponse: DescribeTopL7CacheDataResponse,
16230
16450
  DescribeOverviewL7DataRequest: DescribeOverviewL7DataRequest,
16231
16451
  SwitchConfig: SwitchConfig,
16232
16452
  IdentifyZoneResponse: IdentifyZoneResponse,
16233
- WebSocket: WebSocket,
16453
+ DeleteSharedCNAMEResponse: DeleteSharedCNAMEResponse,
16234
16454
  DDoSBlockData: DDoSBlockData,
16235
16455
  VanityNameServers: VanityNameServers,
16236
16456
  RuleChoicePropertiesItem: RuleChoicePropertiesItem,
@@ -16245,7 +16465,7 @@ module.exports = {
16245
16465
  CreatePrefetchTaskResponse: CreatePrefetchTaskResponse,
16246
16466
  NoCache: NoCache,
16247
16467
  DescribeDefaultCertificatesRequest: DescribeDefaultCertificatesRequest,
16248
- DescribeAliasDomainsResponse: DescribeAliasDomainsResponse,
16468
+ BindZoneToPlanRequest: BindZoneToPlanRequest,
16249
16469
  SecurityType: SecurityType,
16250
16470
  IPWhitelist: IPWhitelist,
16251
16471
  DDoS: DDoS,
@@ -16280,6 +16500,7 @@ module.exports = {
16280
16500
  DescribeOverviewL7DataResponse: DescribeOverviewL7DataResponse,
16281
16501
  Hsts: Hsts,
16282
16502
  RateLimitTemplate: RateLimitTemplate,
16503
+ OriginGroupReference: OriginGroupReference,
16283
16504
  ModifyHostsCertificateResponse: ModifyHostsCertificateResponse,
16284
16505
  CreateRuleRequest: CreateRuleRequest,
16285
16506
  TemplateConfig: TemplateConfig,
@@ -16315,6 +16536,7 @@ module.exports = {
16315
16536
  ModifyOriginGroupRequest: ModifyOriginGroupRequest,
16316
16537
  DownloadL4LogsResponse: DownloadL4LogsResponse,
16317
16538
  DescribeTimingL7CacheDataResponse: DescribeTimingL7CacheDataResponse,
16539
+ BindSharedCNAMERequest: BindSharedCNAMERequest,
16318
16540
  RateLimitIntelligence: RateLimitIntelligence,
16319
16541
  IpTableConfig: IpTableConfig,
16320
16542
  ModifyApplicationProxyStatusRequest: ModifyApplicationProxyStatusRequest,
@@ -16329,7 +16551,7 @@ module.exports = {
16329
16551
  CreateOriginGroupResponse: CreateOriginGroupResponse,
16330
16552
  ModifyApplicationProxyRuleStatusRequest: ModifyApplicationProxyRuleStatusRequest,
16331
16553
  AccelerateType: AccelerateType,
16332
- BindZoneToPlanRequest: BindZoneToPlanRequest,
16554
+ DescribeAliasDomainsResponse: DescribeAliasDomainsResponse,
16333
16555
  CreateAccelerationDomainRequest: CreateAccelerationDomainRequest,
16334
16556
  FollowOrigin: FollowOrigin,
16335
16557
  DeleteZoneRequest: DeleteZoneRequest,
@@ -54,6 +54,7 @@ const CreateApplicationProxyResponse = models.CreateApplicationProxyResponse;
54
54
  const BotUserRule = models.BotUserRule;
55
55
  const ModifyOriginGroupResponse = models.ModifyOriginGroupResponse;
56
56
  const DeleteAccelerationDomainsRequest = models.DeleteAccelerationDomainsRequest;
57
+ const DescribeApplicationProxiesResponse = models.DescribeApplicationProxiesResponse;
57
58
  const ExceptUserRuleScope = models.ExceptUserRuleScope;
58
59
  const ModifyAliasDomainRequest = models.ModifyAliasDomainRequest;
59
60
  const DescribeAvailablePlansRequest = models.DescribeAvailablePlansRequest;
@@ -92,12 +93,14 @@ const ModifyAccelerationDomainStatusesResponse = models.ModifyAccelerationDomain
92
93
  const Zone = models.Zone;
93
94
  const DescribeRulesSettingResponse = models.DescribeRulesSettingResponse;
94
95
  const RuleExtraParameter = models.RuleExtraParameter;
96
+ const BindSharedCNAMEMap = models.BindSharedCNAMEMap;
95
97
  const RulesSettingAction = models.RulesSettingAction;
96
98
  const DDoSAttackEvent = models.DDoSAttackEvent;
97
99
  const ClientIpHeader = models.ClientIpHeader;
98
100
  const DescribeDDoSAttackTopDataRequest = models.DescribeDDoSAttackTopDataRequest;
99
101
  const Quic = models.Quic;
100
102
  const Ipv6 = models.Ipv6;
103
+ const WebSocket = models.WebSocket;
101
104
  const ModifyAccelerationDomainRequest = models.ModifyAccelerationDomainRequest;
102
105
  const DescribeRulesRequest = models.DescribeRulesRequest;
103
106
  const DescribeContentQuotaResponse = models.DescribeContentQuotaResponse;
@@ -119,16 +122,17 @@ const DescribeOriginProtectionRequest = models.DescribeOriginProtectionRequest;
119
122
  const ClientIpCountry = models.ClientIpCountry;
120
123
  const CreatePrefetchTaskRequest = models.CreatePrefetchTaskRequest;
121
124
  const DeleteApplicationProxyRuleRequest = models.DeleteApplicationProxyRuleRequest;
122
- const DescribeApplicationProxiesResponse = models.DescribeApplicationProxiesResponse;
125
+ const BindSharedCNAMEResponse = models.BindSharedCNAMEResponse;
123
126
  const DescribeTopL7AnalysisDataRequest = models.DescribeTopL7AnalysisDataRequest;
124
127
  const FileAscriptionInfo = models.FileAscriptionInfo;
128
+ const DeleteSharedCNAMERequest = models.DeleteSharedCNAMERequest;
125
129
  const DescribeAccelerationDomainsResponse = models.DescribeAccelerationDomainsResponse;
126
130
  const ZoneSetting = models.ZoneSetting;
127
131
  const DescribeTopL7CacheDataResponse = models.DescribeTopL7CacheDataResponse;
128
132
  const DescribeOverviewL7DataRequest = models.DescribeOverviewL7DataRequest;
129
133
  const SwitchConfig = models.SwitchConfig;
130
134
  const IdentifyZoneResponse = models.IdentifyZoneResponse;
131
- const WebSocket = models.WebSocket;
135
+ const DeleteSharedCNAMEResponse = models.DeleteSharedCNAMEResponse;
132
136
  const DDoSBlockData = models.DDoSBlockData;
133
137
  const VanityNameServers = models.VanityNameServers;
134
138
  const RuleChoicePropertiesItem = models.RuleChoicePropertiesItem;
@@ -143,7 +147,7 @@ const DescribeTimingL7AnalysisDataRequest = models.DescribeTimingL7AnalysisDataR
143
147
  const CreatePrefetchTaskResponse = models.CreatePrefetchTaskResponse;
144
148
  const NoCache = models.NoCache;
145
149
  const DescribeDefaultCertificatesRequest = models.DescribeDefaultCertificatesRequest;
146
- const DescribeAliasDomainsResponse = models.DescribeAliasDomainsResponse;
150
+ const BindZoneToPlanRequest = models.BindZoneToPlanRequest;
147
151
  const SecurityType = models.SecurityType;
148
152
  const IPWhitelist = models.IPWhitelist;
149
153
  const DDoS = models.DDoS;
@@ -178,6 +182,7 @@ const RulesProperties = models.RulesProperties;
178
182
  const DescribeOverviewL7DataResponse = models.DescribeOverviewL7DataResponse;
179
183
  const Hsts = models.Hsts;
180
184
  const RateLimitTemplate = models.RateLimitTemplate;
185
+ const OriginGroupReference = models.OriginGroupReference;
181
186
  const ModifyHostsCertificateResponse = models.ModifyHostsCertificateResponse;
182
187
  const CreateRuleRequest = models.CreateRuleRequest;
183
188
  const TemplateConfig = models.TemplateConfig;
@@ -213,6 +218,7 @@ const CacheKey = models.CacheKey;
213
218
  const ModifyOriginGroupRequest = models.ModifyOriginGroupRequest;
214
219
  const DownloadL4LogsResponse = models.DownloadL4LogsResponse;
215
220
  const DescribeTimingL7CacheDataResponse = models.DescribeTimingL7CacheDataResponse;
221
+ const BindSharedCNAMERequest = models.BindSharedCNAMERequest;
216
222
  const RateLimitIntelligence = models.RateLimitIntelligence;
217
223
  const IpTableConfig = models.IpTableConfig;
218
224
  const ModifyApplicationProxyStatusRequest = models.ModifyApplicationProxyStatusRequest;
@@ -227,7 +233,7 @@ const PartialModule = models.PartialModule;
227
233
  const CreateOriginGroupResponse = models.CreateOriginGroupResponse;
228
234
  const ModifyApplicationProxyRuleStatusRequest = models.ModifyApplicationProxyRuleStatusRequest;
229
235
  const AccelerateType = models.AccelerateType;
230
- const BindZoneToPlanRequest = models.BindZoneToPlanRequest;
236
+ const DescribeAliasDomainsResponse = models.DescribeAliasDomainsResponse;
231
237
  const CreateAccelerationDomainRequest = models.CreateAccelerationDomainRequest;
232
238
  const FollowOrigin = models.FollowOrigin;
233
239
  const DeleteZoneRequest = models.DeleteZoneRequest;
@@ -325,7 +331,7 @@ class TeoClient extends AbstractClient {
325
331
  }
326
332
 
327
333
  /**
328
- * This API is used to create a shared CNAME.
334
+ * This API is used to create a shared CNAME. It is now only available to beta users.
329
335
  * @param {CreateSharedCNAMERequest} req
330
336
  * @param {function(string, CreateSharedCNAMEResponse):void} cb
331
337
  * @public
@@ -539,6 +545,17 @@ If there are already EdgeOne plans under the current account, it is recommended
539
545
  this.request("DescribeAvailablePlans", req, resp, cb);
540
546
  }
541
547
 
548
+ /**
549
+ * This API is used to bind/unbind a domain name to/from a shared CNAME. It is now only available to beta users.
550
+ * @param {BindSharedCNAMERequest} req
551
+ * @param {function(string, BindSharedCNAMEResponse):void} cb
552
+ * @public
553
+ */
554
+ BindSharedCNAME(req, cb) {
555
+ let resp = new BindSharedCNAMEResponse();
556
+ this.request("BindSharedCNAME", req, resp, cb);
557
+ }
558
+
542
559
  /**
543
560
  * This API is used to verify ownership of the site.
544
561
  * @param {IdentifyZoneRequest} req
@@ -550,6 +567,17 @@ If there are already EdgeOne plans under the current account, it is recommended
550
567
  this.request("IdentifyZone", req, resp, cb);
551
568
  }
552
569
 
570
+ /**
571
+ * This API is used to modify the status of an alias domain name.
572
+ * @param {ModifyAliasDomainStatusRequest} req
573
+ * @param {function(string, ModifyAliasDomainStatusResponse):void} cb
574
+ * @public
575
+ */
576
+ ModifyAliasDomainStatus(req, cb) {
577
+ let resp = new ModifyAliasDomainStatusResponse();
578
+ this.request("ModifyAliasDomainStatus", req, resp, cb);
579
+ }
580
+
553
581
  /**
554
582
  * This API is used to query the origin protection configuration.
555
583
  * @param {DescribeOriginProtectionRequest} req
@@ -729,14 +757,14 @@ For sites connected via the NS, you can query whether the NS is successfully swi
729
757
  }
730
758
 
731
759
  /**
732
- * This API is used to modify the status of an alias domain name.
733
- * @param {ModifyAliasDomainStatusRequest} req
734
- * @param {function(string, ModifyAliasDomainStatusResponse):void} cb
760
+ * This API is used to obtain a list of origin groups.
761
+ * @param {DescribeOriginGroupRequest} req
762
+ * @param {function(string, DescribeOriginGroupResponse):void} cb
735
763
  * @public
736
764
  */
737
- ModifyAliasDomainStatus(req, cb) {
738
- let resp = new ModifyAliasDomainStatusResponse();
739
- this.request("ModifyAliasDomainStatus", req, resp, cb);
765
+ DescribeOriginGroup(req, cb) {
766
+ let resp = new DescribeOriginGroupResponse();
767
+ this.request("DescribeOriginGroup", req, resp, cb);
740
768
  }
741
769
 
742
770
  /**
@@ -839,14 +867,14 @@ For sites connected via the NS, you can query whether the NS is successfully swi
839
867
  }
840
868
 
841
869
  /**
842
- * This API is used to query DDoS attack events.
843
- * @param {DescribeDDoSAttackEventRequest} req
844
- * @param {function(string, DescribeDDoSAttackEventResponse):void} cb
870
+ * This API is used to delete a shared CNAME. It is now only available to beta users.
871
+ * @param {DeleteSharedCNAMERequest} req
872
+ * @param {function(string, DeleteSharedCNAMEResponse):void} cb
845
873
  * @public
846
874
  */
847
- DescribeDDoSAttackEvent(req, cb) {
848
- let resp = new DescribeDDoSAttackEventResponse();
849
- this.request("DescribeDDoSAttackEvent", req, resp, cb);
875
+ DeleteSharedCNAME(req, cb) {
876
+ let resp = new DeleteSharedCNAMEResponse();
877
+ this.request("DeleteSharedCNAME", req, resp, cb);
850
878
  }
851
879
 
852
880
  /**
@@ -984,14 +1012,14 @@ For sites connected via the CNAME, if you have not verified the ownership of the
984
1012
  }
985
1013
 
986
1014
  /**
987
- * This API is used to obtain a list of origin groups.
988
- * @param {DescribeOriginGroupRequest} req
989
- * @param {function(string, DescribeOriginGroupResponse):void} cb
1015
+ * This API is used to query DDoS attack events.
1016
+ * @param {DescribeDDoSAttackEventRequest} req
1017
+ * @param {function(string, DescribeDDoSAttackEventResponse):void} cb
990
1018
  * @public
991
1019
  */
992
- DescribeOriginGroup(req, cb) {
993
- let resp = new DescribeOriginGroupResponse();
994
- this.request("DescribeOriginGroup", req, resp, cb);
1020
+ DescribeDDoSAttackEvent(req, cb) {
1021
+ let resp = new DescribeDDoSAttackEventResponse();
1022
+ this.request("DescribeDDoSAttackEvent", req, resp, cb);
995
1023
  }
996
1024
 
997
1025
  /**