@alicloud/waf-openapi20211001 4.0.1 → 4.0.2

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": "@alicloud/waf-openapi20211001",
3
- "version": "4.0.1",
3
+ "version": "4.0.2",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -611,6 +611,7 @@ export class CreateCloudResourceRequest extends $tea.Model {
611
611
  * rg-acfm***q
612
612
  */
613
613
  resourceManagerResourceGroupId?: string;
614
+ tag?: CreateCloudResourceRequestTag[];
614
615
  static names(): { [key: string]: string } {
615
616
  return {
616
617
  instanceId: 'InstanceId',
@@ -619,6 +620,7 @@ export class CreateCloudResourceRequest extends $tea.Model {
619
620
  redirect: 'Redirect',
620
621
  regionId: 'RegionId',
621
622
  resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
623
+ tag: 'Tag',
622
624
  };
623
625
  }
624
626
 
@@ -630,6 +632,7 @@ export class CreateCloudResourceRequest extends $tea.Model {
630
632
  redirect: CreateCloudResourceRequestRedirect,
631
633
  regionId: 'string',
632
634
  resourceManagerResourceGroupId: 'string',
635
+ tag: { 'type': 'array', 'itemType': CreateCloudResourceRequestTag },
633
636
  };
634
637
  }
635
638
 
@@ -692,6 +695,7 @@ export class CreateCloudResourceShrinkRequest extends $tea.Model {
692
695
  * rg-acfm***q
693
696
  */
694
697
  resourceManagerResourceGroupId?: string;
698
+ tag?: CreateCloudResourceShrinkRequestTag[];
695
699
  static names(): { [key: string]: string } {
696
700
  return {
697
701
  instanceId: 'InstanceId',
@@ -700,6 +704,7 @@ export class CreateCloudResourceShrinkRequest extends $tea.Model {
700
704
  redirectShrink: 'Redirect',
701
705
  regionId: 'RegionId',
702
706
  resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
707
+ tag: 'Tag',
703
708
  };
704
709
  }
705
710
 
@@ -711,6 +716,7 @@ export class CreateCloudResourceShrinkRequest extends $tea.Model {
711
716
  redirectShrink: 'string',
712
717
  regionId: 'string',
713
718
  resourceManagerResourceGroupId: 'string',
719
+ tag: { 'type': 'array', 'itemType': CreateCloudResourceShrinkRequestTag },
714
720
  };
715
721
  }
716
722
 
@@ -1331,6 +1337,7 @@ export class CreateDomainRequest extends $tea.Model {
1331
1337
  * rg-acfm***q
1332
1338
  */
1333
1339
  resourceManagerResourceGroupId?: string;
1340
+ tag?: CreateDomainRequestTag[];
1334
1341
  static names(): { [key: string]: string } {
1335
1342
  return {
1336
1343
  accessType: 'AccessType',
@@ -1340,6 +1347,7 @@ export class CreateDomainRequest extends $tea.Model {
1340
1347
  redirect: 'Redirect',
1341
1348
  regionId: 'RegionId',
1342
1349
  resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
1350
+ tag: 'Tag',
1343
1351
  };
1344
1352
  }
1345
1353
 
@@ -1352,6 +1360,7 @@ export class CreateDomainRequest extends $tea.Model {
1352
1360
  redirect: CreateDomainRequestRedirect,
1353
1361
  regionId: 'string',
1354
1362
  resourceManagerResourceGroupId: 'string',
1363
+ tag: { 'type': 'array', 'itemType': CreateDomainRequestTag },
1355
1364
  };
1356
1365
  }
1357
1366
 
@@ -1429,6 +1438,7 @@ export class CreateDomainShrinkRequest extends $tea.Model {
1429
1438
  * rg-acfm***q
1430
1439
  */
1431
1440
  resourceManagerResourceGroupId?: string;
1441
+ tag?: CreateDomainShrinkRequestTag[];
1432
1442
  static names(): { [key: string]: string } {
1433
1443
  return {
1434
1444
  accessType: 'AccessType',
@@ -1438,6 +1448,7 @@ export class CreateDomainShrinkRequest extends $tea.Model {
1438
1448
  redirectShrink: 'Redirect',
1439
1449
  regionId: 'RegionId',
1440
1450
  resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
1451
+ tag: 'Tag',
1441
1452
  };
1442
1453
  }
1443
1454
 
@@ -1450,6 +1461,7 @@ export class CreateDomainShrinkRequest extends $tea.Model {
1450
1461
  redirectShrink: 'string',
1451
1462
  regionId: 'string',
1452
1463
  resourceManagerResourceGroupId: 'string',
1464
+ tag: { 'type': 'array', 'itemType': CreateDomainShrinkRequestTag },
1453
1465
  };
1454
1466
  }
1455
1467
 
@@ -18555,7 +18567,6 @@ export class DescribeUserWafLogStatusResponseBody extends $tea.Model {
18555
18567
  * * **us-west-1**: US (Silicon Valley).
18556
18568
  * * **ap-northeast-1**: Japan (Tokyo).
18557
18569
  * * **ap-northeast-2**: South Korea (Seoul).
18558
- * * **ap-south-1**: India (Mumbai) Closing Down.
18559
18570
  * * **eu-west-1**: UK (London).
18560
18571
  * * **cn-hangzhou-finance**: China East 1 Finance.
18561
18572
  * * **cn-shanghai-finance-1**: China East 2 Finance.
@@ -24626,6 +24637,50 @@ export class CreateCloudResourceRequestRedirect extends $tea.Model {
24626
24637
  }
24627
24638
  }
24628
24639
 
24640
+ export class CreateCloudResourceRequestTag extends $tea.Model {
24641
+ key?: string;
24642
+ value?: string;
24643
+ static names(): { [key: string]: string } {
24644
+ return {
24645
+ key: 'Key',
24646
+ value: 'Value',
24647
+ };
24648
+ }
24649
+
24650
+ static types(): { [key: string]: any } {
24651
+ return {
24652
+ key: 'string',
24653
+ value: 'string',
24654
+ };
24655
+ }
24656
+
24657
+ constructor(map?: { [key: string]: any }) {
24658
+ super(map);
24659
+ }
24660
+ }
24661
+
24662
+ export class CreateCloudResourceShrinkRequestTag extends $tea.Model {
24663
+ key?: string;
24664
+ value?: string;
24665
+ static names(): { [key: string]: string } {
24666
+ return {
24667
+ key: 'Key',
24668
+ value: 'Value',
24669
+ };
24670
+ }
24671
+
24672
+ static types(): { [key: string]: any } {
24673
+ return {
24674
+ key: 'string',
24675
+ value: 'string',
24676
+ };
24677
+ }
24678
+
24679
+ constructor(map?: { [key: string]: any }) {
24680
+ super(map);
24681
+ }
24682
+ }
24683
+
24629
24684
  export class CreateDomainRequestListen extends $tea.Model {
24630
24685
  /**
24631
24686
  * @remarks
@@ -24890,6 +24945,7 @@ export class CreateDomainRequestRedirect extends $tea.Model {
24890
24945
  * The IP addresses or domain names of the origin server.
24891
24946
  */
24892
24947
  backends?: string[];
24948
+ backupBackends?: string[];
24893
24949
  /**
24894
24950
  * @remarks
24895
24951
  * Specifies whether to enable the public cloud disaster recovery feature. Valid values:
@@ -25054,6 +25110,7 @@ export class CreateDomainRequestRedirect extends $tea.Model {
25054
25110
  static names(): { [key: string]: string } {
25055
25111
  return {
25056
25112
  backends: 'Backends',
25113
+ backupBackends: 'BackupBackends',
25057
25114
  cnameEnabled: 'CnameEnabled',
25058
25115
  connectTimeout: 'ConnectTimeout',
25059
25116
  focusHttpBackend: 'FocusHttpBackend',
@@ -25075,6 +25132,7 @@ export class CreateDomainRequestRedirect extends $tea.Model {
25075
25132
  static types(): { [key: string]: any } {
25076
25133
  return {
25077
25134
  backends: { 'type': 'array', 'itemType': 'string' },
25135
+ backupBackends: { 'type': 'array', 'itemType': 'string' },
25078
25136
  cnameEnabled: 'boolean',
25079
25137
  connectTimeout: 'number',
25080
25138
  focusHttpBackend: 'boolean',
@@ -25098,6 +25156,50 @@ export class CreateDomainRequestRedirect extends $tea.Model {
25098
25156
  }
25099
25157
  }
25100
25158
 
25159
+ export class CreateDomainRequestTag extends $tea.Model {
25160
+ key?: string;
25161
+ value?: string;
25162
+ static names(): { [key: string]: string } {
25163
+ return {
25164
+ key: 'Key',
25165
+ value: 'Value',
25166
+ };
25167
+ }
25168
+
25169
+ static types(): { [key: string]: any } {
25170
+ return {
25171
+ key: 'string',
25172
+ value: 'string',
25173
+ };
25174
+ }
25175
+
25176
+ constructor(map?: { [key: string]: any }) {
25177
+ super(map);
25178
+ }
25179
+ }
25180
+
25181
+ export class CreateDomainShrinkRequestTag extends $tea.Model {
25182
+ key?: string;
25183
+ value?: string;
25184
+ static names(): { [key: string]: string } {
25185
+ return {
25186
+ key: 'Key',
25187
+ value: 'Value',
25188
+ };
25189
+ }
25190
+
25191
+ static types(): { [key: string]: any } {
25192
+ return {
25193
+ key: 'string',
25194
+ value: 'string',
25195
+ };
25196
+ }
25197
+
25198
+ constructor(map?: { [key: string]: any }) {
25199
+ super(map);
25200
+ }
25201
+ }
25202
+
25101
25203
  export class CreateDomainResponseBodyDomainInfo extends $tea.Model {
25102
25204
  /**
25103
25205
  * @remarks
@@ -25115,10 +25217,12 @@ export class CreateDomainResponseBodyDomainInfo extends $tea.Model {
25115
25217
  * www.aliyundoc.com
25116
25218
  */
25117
25219
  domain?: string;
25220
+ domainId?: string;
25118
25221
  static names(): { [key: string]: string } {
25119
25222
  return {
25120
25223
  cname: 'Cname',
25121
25224
  domain: 'Domain',
25225
+ domainId: 'DomainId',
25122
25226
  };
25123
25227
  }
25124
25228
 
@@ -25126,6 +25230,7 @@ export class CreateDomainResponseBodyDomainInfo extends $tea.Model {
25126
25230
  return {
25127
25231
  cname: 'string',
25128
25232
  domain: 'string',
25233
+ domainId: 'string',
25129
25234
  };
25130
25235
  }
25131
25236
 
@@ -29183,6 +29288,25 @@ export class DescribeDomainDetailResponseBodyRedirectBackends extends $tea.Model
29183
29288
  }
29184
29289
  }
29185
29290
 
29291
+ export class DescribeDomainDetailResponseBodyRedirectBackupBackends extends $tea.Model {
29292
+ backend?: string;
29293
+ static names(): { [key: string]: string } {
29294
+ return {
29295
+ backend: 'Backend',
29296
+ };
29297
+ }
29298
+
29299
+ static types(): { [key: string]: any } {
29300
+ return {
29301
+ backend: 'string',
29302
+ };
29303
+ }
29304
+
29305
+ constructor(map?: { [key: string]: any }) {
29306
+ super(map);
29307
+ }
29308
+ }
29309
+
29186
29310
  export class DescribeDomainDetailResponseBodyRedirectRequestHeaders extends $tea.Model {
29187
29311
  /**
29188
29312
  * @remarks
@@ -29225,6 +29349,7 @@ export class DescribeDomainDetailResponseBodyRedirect extends $tea.Model {
29225
29349
  * An array of addresses of origin servers.
29226
29350
  */
29227
29351
  backends?: DescribeDomainDetailResponseBodyRedirectBackends[];
29352
+ backupBackends?: DescribeDomainDetailResponseBodyRedirectBackupBackends[];
29228
29353
  /**
29229
29354
  * @remarks
29230
29355
  * The timeout period of the connection. Unit: seconds. Valid values: 5 to 120.
@@ -29352,6 +29477,7 @@ export class DescribeDomainDetailResponseBodyRedirect extends $tea.Model {
29352
29477
  static names(): { [key: string]: string } {
29353
29478
  return {
29354
29479
  backends: 'Backends',
29480
+ backupBackends: 'BackupBackends',
29355
29481
  connectTimeout: 'ConnectTimeout',
29356
29482
  focusHttpBackend: 'FocusHttpBackend',
29357
29483
  keepalive: 'Keepalive',
@@ -29371,6 +29497,7 @@ export class DescribeDomainDetailResponseBodyRedirect extends $tea.Model {
29371
29497
  static types(): { [key: string]: any } {
29372
29498
  return {
29373
29499
  backends: { 'type': 'array', 'itemType': DescribeDomainDetailResponseBodyRedirectBackends },
29500
+ backupBackends: { 'type': 'array', 'itemType': DescribeDomainDetailResponseBodyRedirectBackupBackends },
29374
29501
  connectTimeout: 'number',
29375
29502
  focusHttpBackend: 'boolean',
29376
29503
  keepalive: 'boolean',
@@ -33291,6 +33418,13 @@ export class DescribeSensitiveRequestLogResponseBodyData extends $tea.Model {
33291
33418
  * a.****.com
33292
33419
  */
33293
33420
  matchedHost?: string;
33421
+ /**
33422
+ * @remarks
33423
+ * IP region, formatted as a region code.
33424
+ *
33425
+ * @example
33426
+ * CN
33427
+ */
33294
33428
  remoteCountryId?: string;
33295
33429
  /**
33296
33430
  * @remarks
@@ -34780,6 +34914,7 @@ export class ModifyDomainRequestRedirect extends $tea.Model {
34780
34914
  * * If you use the domain name type, specify the value in the ["domain"] format. You can enter up to 20 domain names.
34781
34915
  */
34782
34916
  backends?: string[];
34917
+ backupBackends?: string[];
34783
34918
  /**
34784
34919
  * @remarks
34785
34920
  * Specifies whether to enable the public cloud disaster recovery feature. Valid values:
@@ -34944,6 +35079,7 @@ export class ModifyDomainRequestRedirect extends $tea.Model {
34944
35079
  static names(): { [key: string]: string } {
34945
35080
  return {
34946
35081
  backends: 'Backends',
35082
+ backupBackends: 'BackupBackends',
34947
35083
  cnameEnabled: 'CnameEnabled',
34948
35084
  connectTimeout: 'ConnectTimeout',
34949
35085
  focusHttpBackend: 'FocusHttpBackend',
@@ -34965,6 +35101,7 @@ export class ModifyDomainRequestRedirect extends $tea.Model {
34965
35101
  static types(): { [key: string]: any } {
34966
35102
  return {
34967
35103
  backends: { 'type': 'array', 'itemType': 'string' },
35104
+ backupBackends: { 'type': 'array', 'itemType': 'string' },
34968
35105
  cnameEnabled: 'boolean',
34969
35106
  connectTimeout: 'number',
34970
35107
  focusHttpBackend: 'boolean',
@@ -35403,6 +35540,10 @@ export default class Client extends OpenApi {
35403
35540
  query["ResourceManagerResourceGroupId"] = request.resourceManagerResourceGroupId;
35404
35541
  }
35405
35542
 
35543
+ if (!Util.isUnset(request.tag)) {
35544
+ query["Tag"] = request.tag;
35545
+ }
35546
+
35406
35547
  let req = new $OpenApi.OpenApiRequest({
35407
35548
  query: OpenApiUtil.query(query),
35408
35549
  });
@@ -35679,6 +35820,10 @@ export default class Client extends OpenApi {
35679
35820
  query["ResourceManagerResourceGroupId"] = request.resourceManagerResourceGroupId;
35680
35821
  }
35681
35822
 
35823
+ if (!Util.isUnset(request.tag)) {
35824
+ query["Tag"] = request.tag;
35825
+ }
35826
+
35682
35827
  let req = new $OpenApi.OpenApiRequest({
35683
35828
  query: OpenApiUtil.query(query),
35684
35829
  });