@alicloud/waf-openapi20211001 4.0.1 → 4.0.3

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/dist/client.d.ts CHANGED
@@ -477,6 +477,11 @@ export declare class CreateCloudResourceRequest extends $tea.Model {
477
477
  * rg-acfm***q
478
478
  */
479
479
  resourceManagerResourceGroupId?: string;
480
+ /**
481
+ * @remarks
482
+ * The tags to add to the resource.
483
+ */
484
+ tag?: CreateCloudResourceRequestTag[];
480
485
  static names(): {
481
486
  [key: string]: string;
482
487
  };
@@ -541,6 +546,11 @@ export declare class CreateCloudResourceShrinkRequest extends $tea.Model {
541
546
  * rg-acfm***q
542
547
  */
543
548
  resourceManagerResourceGroupId?: string;
549
+ /**
550
+ * @remarks
551
+ * The tags to add to the resource.
552
+ */
553
+ tag?: CreateCloudResourceShrinkRequestTag[];
544
554
  static names(): {
545
555
  [key: string]: string;
546
556
  };
@@ -1036,6 +1046,7 @@ export declare class CreateDomainRequest extends $tea.Model {
1036
1046
  * rg-acfm***q
1037
1047
  */
1038
1048
  resourceManagerResourceGroupId?: string;
1049
+ tag?: CreateDomainRequestTag[];
1039
1050
  static names(): {
1040
1051
  [key: string]: string;
1041
1052
  };
@@ -1115,6 +1126,7 @@ export declare class CreateDomainShrinkRequest extends $tea.Model {
1115
1126
  * rg-acfm***q
1116
1127
  */
1117
1128
  resourceManagerResourceGroupId?: string;
1129
+ tag?: CreateDomainShrinkRequestTag[];
1118
1130
  static names(): {
1119
1131
  [key: string]: string;
1120
1132
  };
@@ -5460,10 +5472,10 @@ export declare class DescribeCertsRequest extends $tea.Model {
5460
5472
  * The region in which the WAF instance is deployed. Valid values:
5461
5473
  *
5462
5474
  * * **cn-hangzhou**: Chinese mainland.
5463
- * * **ap-southeast-1**: outside the Chinese mainland.
5475
+ * * **ap-southeast-1**: Outside the Chinese mainland.
5464
5476
  *
5465
5477
  * @example
5466
- * cn-hangzhou
5478
+ * ap-southeast-1
5467
5479
  */
5468
5480
  regionId?: string;
5469
5481
  /**
@@ -6810,6 +6822,7 @@ export declare class DescribeDefenseResourceTemplatesRequest extends $tea.Model
6810
6822
  * 20111098
6811
6823
  */
6812
6824
  ruleId?: number;
6825
+ ruleName?: string;
6813
6826
  /**
6814
6827
  * @remarks
6815
6828
  * The type of the protection rule. Valid values:
@@ -6821,6 +6834,7 @@ export declare class DescribeDefenseResourceTemplatesRequest extends $tea.Model
6821
6834
  * whitelist
6822
6835
  */
6823
6836
  ruleType?: string;
6837
+ templateName?: string;
6824
6838
  static names(): {
6825
6839
  [key: string]: string;
6826
6840
  };
@@ -6929,10 +6943,6 @@ export declare class DescribeDefenseResourcesRequest extends $tea.Model {
6929
6943
  * rg-acfm***q
6930
6944
  */
6931
6945
  resourceManagerResourceGroupId?: string;
6932
- /**
6933
- * @remarks
6934
- * The tags of the resources that you want to query. You can specify up to 20 tags.
6935
- */
6936
6946
  tag?: DescribeDefenseResourcesRequestTag[];
6937
6947
  static names(): {
6938
6948
  [key: string]: string;
@@ -6955,7 +6965,7 @@ export declare class DescribeDefenseResourcesResponseBody extends $tea.Model {
6955
6965
  requestId?: string;
6956
6966
  /**
6957
6967
  * @remarks
6958
- * The protected objects.
6968
+ * An array of protected objects.
6959
6969
  */
6960
6970
  resources?: DescribeDefenseResourcesResponseBodyResources[];
6961
6971
  /**
@@ -7566,6 +7576,8 @@ export declare class DescribeDefenseTemplatesRequest extends $tea.Model {
7566
7576
  * 12345
7567
7577
  */
7568
7578
  templateId?: number;
7579
+ templateIds?: string;
7580
+ templateName?: string;
7569
7581
  /**
7570
7582
  * @remarks
7571
7583
  * The type of the protection template. Valid values:
@@ -14173,7 +14185,6 @@ export declare class DescribeUserWafLogStatusResponseBody extends $tea.Model {
14173
14185
  * * **us-west-1**: US (Silicon Valley).
14174
14186
  * * **ap-northeast-1**: Japan (Tokyo).
14175
14187
  * * **ap-northeast-2**: South Korea (Seoul).
14176
- * * **ap-south-1**: India (Mumbai) Closing Down.
14177
14188
  * * **eu-west-1**: UK (London).
14178
14189
  * * **cn-hangzhou-finance**: China East 1 Finance.
14179
14190
  * * **cn-shanghai-finance-1**: China East 2 Finance.
@@ -15858,7 +15869,7 @@ export declare class ModifyDefaultHttpsRequest extends $tea.Model {
15858
15869
  regionId?: string;
15859
15870
  /**
15860
15871
  * @remarks
15861
- * The ID of the Alibaba Cloud resource group.
15872
+ * 阿里云资源组ID
15862
15873
  *
15863
15874
  * @example
15864
15875
  * rg-acfm***q
@@ -16980,6 +16991,8 @@ export declare class ModifyHybridCloudClusterBypassStatusRequest extends $tea.Mo
16980
16991
  * waf_elasticity-cn-0xldbqt****
16981
16992
  */
16982
16993
  instanceId?: string;
16994
+ regionId?: string;
16995
+ resourceManagerResourceGroupId?: string;
16983
16996
  /**
16984
16997
  * @remarks
16985
16998
  * The status of manual bypass. Valid values:
@@ -18305,7 +18318,7 @@ export declare class SyncProductInstanceRequest extends $tea.Model {
18305
18318
  regionId?: string;
18306
18319
  /**
18307
18320
  * @remarks
18308
- * The ID of the Alibaba Cloud resource group.
18321
+ * 阿里云资源组ID
18309
18322
  *
18310
18323
  * @example
18311
18324
  * rg-acfm4co****f5qa
@@ -18802,6 +18815,60 @@ export declare class CreateCloudResourceRequestRedirect extends $tea.Model {
18802
18815
  [key: string]: any;
18803
18816
  });
18804
18817
  }
18818
+ export declare class CreateCloudResourceRequestTag extends $tea.Model {
18819
+ /**
18820
+ * @remarks
18821
+ * The key of tag N to add to the resource. Valid values of N: 1 to 20.
18822
+ *
18823
+ * @example
18824
+ * TagKey1
18825
+ */
18826
+ key?: string;
18827
+ /**
18828
+ * @remarks
18829
+ * The value of tag N to add to the resource. Valid values of N: 1 to 20.
18830
+ *
18831
+ * @example
18832
+ * TagValue1
18833
+ */
18834
+ value?: string;
18835
+ static names(): {
18836
+ [key: string]: string;
18837
+ };
18838
+ static types(): {
18839
+ [key: string]: any;
18840
+ };
18841
+ constructor(map?: {
18842
+ [key: string]: any;
18843
+ });
18844
+ }
18845
+ export declare class CreateCloudResourceShrinkRequestTag extends $tea.Model {
18846
+ /**
18847
+ * @remarks
18848
+ * The key of tag N to add to the resource. Valid values of N: 1 to 20.
18849
+ *
18850
+ * @example
18851
+ * TagKey1
18852
+ */
18853
+ key?: string;
18854
+ /**
18855
+ * @remarks
18856
+ * The value of tag N to add to the resource. Valid values of N: 1 to 20.
18857
+ *
18858
+ * @example
18859
+ * TagValue1
18860
+ */
18861
+ value?: string;
18862
+ static names(): {
18863
+ [key: string]: string;
18864
+ };
18865
+ static types(): {
18866
+ [key: string]: any;
18867
+ };
18868
+ constructor(map?: {
18869
+ [key: string]: any;
18870
+ });
18871
+ }
18805
18872
  export declare class CreateDomainRequestListen extends $tea.Model {
18806
18873
  /**
18807
18874
  * @remarks
@@ -19018,6 +19085,7 @@ export declare class CreateDomainRequestRedirect extends $tea.Model {
19018
19085
  * The IP addresses or domain names of the origin server.
19019
19086
  */
19020
19087
  backends?: string[];
19088
+ backupBackends?: string[];
19021
19089
  /**
19022
19090
  * @remarks
19023
19091
  * Specifies whether to enable the public cloud disaster recovery feature. Valid values:
@@ -19189,6 +19257,32 @@ export declare class CreateDomainRequestRedirect extends $tea.Model {
19189
19257
  [key: string]: any;
19190
19258
  });
19191
19259
  }
19260
+ export declare class CreateDomainRequestTag extends $tea.Model {
19261
+ key?: string;
19262
+ value?: string;
19263
+ static names(): {
19264
+ [key: string]: string;
19265
+ };
19266
+ static types(): {
19267
+ [key: string]: any;
19268
+ };
19269
+ constructor(map?: {
19270
+ [key: string]: any;
19271
+ });
19272
+ }
19273
+ export declare class CreateDomainShrinkRequestTag extends $tea.Model {
19274
+ key?: string;
19275
+ value?: string;
19276
+ static names(): {
19277
+ [key: string]: string;
19278
+ };
19279
+ static types(): {
19280
+ [key: string]: any;
19281
+ };
19282
+ constructor(map?: {
19283
+ [key: string]: any;
19284
+ });
19285
+ }
19192
19286
  export declare class CreateDomainResponseBodyDomainInfo extends $tea.Model {
19193
19287
  /**
19194
19288
  * @remarks
@@ -19206,6 +19300,7 @@ export declare class CreateDomainResponseBodyDomainInfo extends $tea.Model {
19206
19300
  * www.aliyundoc.com
19207
19301
  */
19208
19302
  domain?: string;
19303
+ domainId?: string;
19209
19304
  static names(): {
19210
19305
  [key: string]: string;
19211
19306
  };
@@ -20730,7 +20825,7 @@ export declare class DescribeCertDetailResponseBodyCertDetail extends $tea.Model
20730
20825
  export declare class DescribeCertsResponseBodyCerts extends $tea.Model {
20731
20826
  /**
20732
20827
  * @remarks
20733
- * The time when the certificate becomes valid.
20828
+ * The expiration time.
20734
20829
  *
20735
20830
  * @example
20736
20831
  * 1976256736582
@@ -20738,7 +20833,7 @@ export declare class DescribeCertsResponseBodyCerts extends $tea.Model {
20738
20833
  afterDate?: number;
20739
20834
  /**
20740
20835
  * @remarks
20741
- * The time when the certificate expires.
20836
+ * The effective time.
20742
20837
  *
20743
20838
  * @example
20744
20839
  * 1976256836582
@@ -20746,10 +20841,10 @@ export declare class DescribeCertsResponseBodyCerts extends $tea.Model {
20746
20841
  beforeDate?: number;
20747
20842
  /**
20748
20843
  * @remarks
20749
- * The globally unique ID of the certificate. The value is in the "Certificate ID-cn-hangzhou" format. For example, if the ID of the certificate is 123, the value of CertIdentifier is 123-cn-hangzhou.
20844
+ * The globally unique ID of the certificate. The value follows a "\\<Certificate ID>-ap-southeast-1" format. For example, if the ID of the certificate is 123, the value of the CertIdentifier parameter is 123-ap-southeast-1.
20750
20845
  *
20751
20846
  * @example
20752
- * 1234567-cn-hangzhou
20847
+ * 123-ap-southeast-1
20753
20848
  */
20754
20849
  certIdentifier?: string;
20755
20850
  /**
@@ -20770,7 +20865,7 @@ export declare class DescribeCertsResponseBodyCerts extends $tea.Model {
20770
20865
  commonName?: string;
20771
20866
  /**
20772
20867
  * @remarks
20773
- * The domain name that is added to WAF.
20868
+ * The domain that is supported by the certificate.
20774
20869
  *
20775
20870
  * @example
20776
20871
  * www.example.com
@@ -21687,17 +21782,11 @@ export declare class DescribeDefenseResourceTemplatesResponseBodyTemplates exten
21687
21782
  }
21688
21783
  export declare class DescribeDefenseResourcesRequestTag extends $tea.Model {
21689
21784
  /**
21690
- * @remarks
21691
- * The key of the tag.
21692
- *
21693
21785
  * @example
21694
21786
  * Tagkey1
21695
21787
  */
21696
21788
  key?: string;
21697
21789
  /**
21698
- * @remarks
21699
- * The value of the tag.
21700
- *
21701
21790
  * @example
21702
21791
  * TagValue1
21703
21792
  */
@@ -21715,10 +21804,11 @@ export declare class DescribeDefenseResourcesRequestTag extends $tea.Model {
21715
21804
  export declare class DescribeDefenseResourcesResponseBodyResources extends $tea.Model {
21716
21805
  /**
21717
21806
  * @remarks
21718
- * The status of the tracking cookie.
21807
+ * 跟踪cookie开关状态。
21719
21808
  *
21720
- * * **0:** disabled.
21721
- * * **1:** enabled.
21809
+ * - **0**:表示关闭。
21810
+ *
21811
+ * - **1**:表示开启。
21722
21812
  *
21723
21813
  * @example
21724
21814
  * 1
@@ -21726,10 +21816,11 @@ export declare class DescribeDefenseResourcesResponseBodyResources extends $tea.
21726
21816
  acwCookieStatus?: number;
21727
21817
  /**
21728
21818
  * @remarks
21729
- * The status of the secure attribute in the tracking cookie.
21819
+ * 跟踪cookie的secure属性状态。
21730
21820
  *
21731
- * * **0:** disabled.
21732
- * * **1:** enabled.
21821
+ * - **0**:表示关闭。
21822
+ *
21823
+ * - **1**:表示开启。
21733
21824
  *
21734
21825
  * @example
21735
21826
  * 0
@@ -21737,10 +21828,11 @@ export declare class DescribeDefenseResourcesResponseBodyResources extends $tea.
21737
21828
  acwSecureStatus?: number;
21738
21829
  /**
21739
21830
  * @remarks
21740
- * The status of the secure attribute in the slider CAPTCHA cookie.
21831
+ * 滑块cookie的secure属性状态。
21741
21832
  *
21742
- * * **0:** disabled.
21743
- * * **1:** enabled.
21833
+ * - **0**:表示关闭。
21834
+ *
21835
+ * - **1**:表示开启。
21744
21836
  *
21745
21837
  * @example
21746
21838
  * 0
@@ -21748,7 +21840,7 @@ export declare class DescribeDefenseResourcesResponseBodyResources extends $tea.
21748
21840
  acwV3SecureStatus?: number;
21749
21841
  /**
21750
21842
  * @remarks
21751
- * The custom XFF headers that are used to identify the originating IP addresses of clients. If the value of XffStatus is 1 and CustomHeaders is left empty, the first IP addresses in the XFF headers are used as the originating IP addresses of clients.
21843
+ * An array of custom XFF headers that are used to identify the originating IP addresses of clients. If the value of the XffStatus parameter is 1 and the CustomHeaders field is left empty, the first IP address in the XFF header is the originating IP address of the client.
21752
21844
  */
21753
21845
  customHeaders?: string[];
21754
21846
  /**
@@ -21761,14 +21853,14 @@ export declare class DescribeDefenseResourcesResponseBodyResources extends $tea.
21761
21853
  description?: string;
21762
21854
  /**
21763
21855
  * @remarks
21764
- * The details of the protected object. Different key-value pairs indicate different attributes of the protected object.
21856
+ * The description of the protected object. Different key-value pairs in a map indicate different properties of the protected object.
21765
21857
  */
21766
21858
  detail?: {
21767
21859
  [key: string]: any;
21768
21860
  };
21769
21861
  /**
21770
21862
  * @remarks
21771
- * The time when the protected object was created. Unit: milliseconds.
21863
+ * The creation time of the protected object. Unit: seconds.
21772
21864
  *
21773
21865
  * @example
21774
21866
  * 1652149203187
@@ -21776,7 +21868,7 @@ export declare class DescribeDefenseResourcesResponseBodyResources extends $tea.
21776
21868
  gmtCreate?: number;
21777
21869
  /**
21778
21870
  * @remarks
21779
- * The time when the protected object was modified. Unit: milliseconds.
21871
+ * The most recent modification time of the protected object. Unit: seconds.
21780
21872
  *
21781
21873
  * @example
21782
21874
  * 1665633032000
@@ -21784,7 +21876,7 @@ export declare class DescribeDefenseResourcesResponseBodyResources extends $tea.
21784
21876
  gmtModified?: number;
21785
21877
  /**
21786
21878
  * @remarks
21787
- * The ID of the Alibaba Cloud account to which the resource belongs.
21879
+ * 多账号统一管理场景中防护对象资产归属账号。
21788
21880
  *
21789
21881
  * @example
21790
21882
  * 135*********46
@@ -21792,7 +21884,7 @@ export declare class DescribeDefenseResourcesResponseBodyResources extends $tea.
21792
21884
  ownerUserId?: string;
21793
21885
  /**
21794
21886
  * @remarks
21795
- * The pattern in which the protected object is protected.
21887
+ * The protection pattern.
21796
21888
  *
21797
21889
  * @example
21798
21890
  * domain
@@ -21824,7 +21916,7 @@ export declare class DescribeDefenseResourcesResponseBodyResources extends $tea.
21824
21916
  resourceGroup?: string;
21825
21917
  /**
21826
21918
  * @remarks
21827
- * The ID of the Alibaba Cloud resource group.
21919
+ * The ID of the resource group.
21828
21920
  *
21829
21921
  * @example
21830
21922
  * rg-acfm***q
@@ -21840,7 +21932,7 @@ export declare class DescribeDefenseResourcesResponseBodyResources extends $tea.
21840
21932
  resourceOrigin?: string;
21841
21933
  /**
21842
21934
  * @remarks
21843
- * Indicates whether the X-Forwarded-For (XFF) proxy is enabled.
21935
+ * Indicates whether the X-Forwarded-For (XFF) header is used.
21844
21936
  *
21845
21937
  * @example
21846
21938
  * 1
@@ -22461,6 +22553,18 @@ export declare class DescribeDomainDetailResponseBodyRedirectBackends extends $t
22461
22553
  [key: string]: any;
22462
22554
  });
22463
22555
  }
22556
+ export declare class DescribeDomainDetailResponseBodyRedirectBackupBackends extends $tea.Model {
22557
+ backend?: string;
22558
+ static names(): {
22559
+ [key: string]: string;
22560
+ };
22561
+ static types(): {
22562
+ [key: string]: any;
22563
+ };
22564
+ constructor(map?: {
22565
+ [key: string]: any;
22566
+ });
22567
+ }
22464
22568
  export declare class DescribeDomainDetailResponseBodyRedirectRequestHeaders extends $tea.Model {
22465
22569
  /**
22466
22570
  * @remarks
@@ -22494,6 +22598,7 @@ export declare class DescribeDomainDetailResponseBodyRedirect extends $tea.Model
22494
22598
  * An array of addresses of origin servers.
22495
22599
  */
22496
22600
  backends?: DescribeDomainDetailResponseBodyRedirectBackends[];
22601
+ backupBackends?: DescribeDomainDetailResponseBodyRedirectBackupBackends[];
22497
22602
  /**
22498
22603
  * @remarks
22499
22604
  * The timeout period of the connection. Unit: seconds. Valid values: 5 to 120.
@@ -25699,6 +25804,13 @@ export declare class DescribeSensitiveRequestLogResponseBodyData extends $tea.Mo
25699
25804
  * a.****.com
25700
25805
  */
25701
25806
  matchedHost?: string;
25807
+ /**
25808
+ * @remarks
25809
+ * IP region, formatted as a region code.
25810
+ *
25811
+ * @example
25812
+ * CN
25813
+ */
25702
25814
  remoteCountryId?: string;
25703
25815
  /**
25704
25816
  * @remarks
@@ -26857,6 +26969,7 @@ export declare class ModifyDomainRequestRedirect extends $tea.Model {
26857
26969
  * * If you use the domain name type, specify the value in the ["domain"] format. You can enter up to 20 domain names.
26858
26970
  */
26859
26971
  backends?: string[];
26972
+ backupBackends?: string[];
26860
26973
  /**
26861
26974
  * @remarks
26862
26975
  * Specifies whether to enable the public cloud disaster recovery feature. Valid values:
@@ -29112,7 +29225,7 @@ export default class Client extends OpenApi {
29112
29225
  */
29113
29226
  modifyCloudResource(request: ModifyCloudResourceRequest): Promise<ModifyCloudResourceResponse>;
29114
29227
  /**
29115
- * Modifies the default SSL and Transport Layer Security (TLS) settings.
29228
+ * Modifies the default Secure Sockets Layer (SSL) and Transport Layer Security (TLS) settings.
29116
29229
  *
29117
29230
  * @param request - ModifyDefaultHttpsRequest
29118
29231
  * @param runtime - runtime options for this request RuntimeOptions
@@ -29120,7 +29233,7 @@ export default class Client extends OpenApi {
29120
29233
  */
29121
29234
  modifyDefaultHttpsWithOptions(request: ModifyDefaultHttpsRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDefaultHttpsResponse>;
29122
29235
  /**
29123
- * Modifies the default SSL and Transport Layer Security (TLS) settings.
29236
+ * Modifies the default Secure Sockets Layer (SSL) and Transport Layer Security (TLS) settings.
29124
29237
  *
29125
29238
  * @param request - ModifyDefaultHttpsRequest
29126
29239
  * @returns ModifyDefaultHttpsResponse
@@ -29457,7 +29570,7 @@ export default class Client extends OpenApi {
29457
29570
  */
29458
29571
  releaseInstance(request: ReleaseInstanceRequest): Promise<ReleaseInstanceResponse>;
29459
29572
  /**
29460
- * Synchronizes Elastic Compute Service (ECS) instances and Classic Load Balancer (CLB) instances to Web Application Firewall (WAF).
29573
+ * Synchronizes Elastic Compute Service (ECS) instances and Classic Load Balancer (CLB) instances with Web Application Firewall (WAF).
29461
29574
  *
29462
29575
  * @remarks
29463
29576
  * SyncProductInstance is an asynchronous operation. You can call the [DescribeProductInstances](https://help.aliyun.com/document_detail/2743168.html) operation to query the status of the task.
@@ -29468,7 +29581,7 @@ export default class Client extends OpenApi {
29468
29581
  */
29469
29582
  syncProductInstanceWithOptions(request: SyncProductInstanceRequest, runtime: $Util.RuntimeOptions): Promise<SyncProductInstanceResponse>;
29470
29583
  /**
29471
- * Synchronizes Elastic Compute Service (ECS) instances and Classic Load Balancer (CLB) instances to Web Application Firewall (WAF).
29584
+ * Synchronizes Elastic Compute Service (ECS) instances and Classic Load Balancer (CLB) instances with Web Application Firewall (WAF).
29472
29585
  *
29473
29586
  * @remarks
29474
29587
  * SyncProductInstance is an asynchronous operation. You can call the [DescribeProductInstances](https://help.aliyun.com/document_detail/2743168.html) operation to query the status of the task.