@alicloud/waf-openapi20211001 3.2.0 → 3.4.0

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
@@ -1311,6 +1311,7 @@ export declare class DescribeCloudResourcesRequest extends $tea.Model {
1311
1311
  resourceDomain?: string;
1312
1312
  resourceFunction?: string;
1313
1313
  resourceInstanceId?: string;
1314
+ resourceInstanceName?: string;
1314
1315
  resourceManagerResourceGroupId?: string;
1315
1316
  resourceName?: string;
1316
1317
  resourceProduct?: string;
@@ -1356,6 +1357,49 @@ export declare class DescribeCloudResourcesResponse extends $tea.Model {
1356
1357
  [key: string]: any;
1357
1358
  });
1358
1359
  }
1360
+ export declare class DescribeCnameCountRequest extends $tea.Model {
1361
+ instanceId?: string;
1362
+ regionId?: string;
1363
+ resourceManagerResourceGroupId?: string;
1364
+ static names(): {
1365
+ [key: string]: string;
1366
+ };
1367
+ static types(): {
1368
+ [key: string]: any;
1369
+ };
1370
+ constructor(map?: {
1371
+ [key: string]: any;
1372
+ });
1373
+ }
1374
+ export declare class DescribeCnameCountResponseBody extends $tea.Model {
1375
+ cnameCount?: DescribeCnameCountResponseBodyCnameCount;
1376
+ requestId?: string;
1377
+ static names(): {
1378
+ [key: string]: string;
1379
+ };
1380
+ static types(): {
1381
+ [key: string]: any;
1382
+ };
1383
+ constructor(map?: {
1384
+ [key: string]: any;
1385
+ });
1386
+ }
1387
+ export declare class DescribeCnameCountResponse extends $tea.Model {
1388
+ headers?: {
1389
+ [key: string]: string;
1390
+ };
1391
+ statusCode?: number;
1392
+ body?: DescribeCnameCountResponseBody;
1393
+ static names(): {
1394
+ [key: string]: string;
1395
+ };
1396
+ static types(): {
1397
+ [key: string]: any;
1398
+ };
1399
+ constructor(map?: {
1400
+ [key: string]: any;
1401
+ });
1402
+ }
1359
1403
  export declare class DescribeDDoSStatusRequest extends $tea.Model {
1360
1404
  instanceId?: string;
1361
1405
  regionId?: string;
@@ -2627,6 +2671,8 @@ export declare class DescribeProductInstancesRequest extends $tea.Model {
2627
2671
  pageSize?: number;
2628
2672
  regionId?: string;
2629
2673
  resourceInstanceId?: string;
2674
+ resourceInstanceIp?: string;
2675
+ resourceInstanceName?: string;
2630
2676
  resourceIp?: string;
2631
2677
  resourceManagerResourceGroupId?: string;
2632
2678
  resourceName?: string;
@@ -4674,6 +4720,48 @@ export declare class ModifyTemplateResourcesResponse extends $tea.Model {
4674
4720
  [key: string]: any;
4675
4721
  });
4676
4722
  }
4723
+ export declare class ReleaseInstanceRequest extends $tea.Model {
4724
+ instanceId?: string;
4725
+ regionId?: string;
4726
+ resourceManagerResourceGroupId?: string;
4727
+ static names(): {
4728
+ [key: string]: string;
4729
+ };
4730
+ static types(): {
4731
+ [key: string]: any;
4732
+ };
4733
+ constructor(map?: {
4734
+ [key: string]: any;
4735
+ });
4736
+ }
4737
+ export declare class ReleaseInstanceResponseBody extends $tea.Model {
4738
+ requestId?: string;
4739
+ static names(): {
4740
+ [key: string]: string;
4741
+ };
4742
+ static types(): {
4743
+ [key: string]: any;
4744
+ };
4745
+ constructor(map?: {
4746
+ [key: string]: any;
4747
+ });
4748
+ }
4749
+ export declare class ReleaseInstanceResponse extends $tea.Model {
4750
+ headers?: {
4751
+ [key: string]: string;
4752
+ };
4753
+ statusCode?: number;
4754
+ body?: ReleaseInstanceResponseBody;
4755
+ static names(): {
4756
+ [key: string]: string;
4757
+ };
4758
+ static types(): {
4759
+ [key: string]: any;
4760
+ };
4761
+ constructor(map?: {
4762
+ [key: string]: any;
4763
+ });
4764
+ }
4677
4765
  export declare class SyncProductInstanceRequest extends $tea.Model {
4678
4766
  instanceId?: string;
4679
4767
  regionId?: string;
@@ -5000,10 +5088,15 @@ export declare class DescribeCertsResponseBodyCerts extends $tea.Model {
5000
5088
  });
5001
5089
  }
5002
5090
  export declare class DescribeCloudResourcesResponseBodyCloudResources extends $tea.Model {
5091
+ httpPortCount?: number;
5092
+ httpsPortCount?: number;
5003
5093
  ownerUserId?: string;
5004
5094
  resourceDomain?: string;
5005
5095
  resourceFunction?: string;
5006
5096
  resourceInstance?: string;
5097
+ resourceInstanceId?: string;
5098
+ resourceInstanceIp?: string;
5099
+ resourceInstanceName?: string;
5007
5100
  resourceName?: string;
5008
5101
  resourceProduct?: string;
5009
5102
  resourceRegionId?: string;
@@ -5019,6 +5112,20 @@ export declare class DescribeCloudResourcesResponseBodyCloudResources extends $t
5019
5112
  [key: string]: any;
5020
5113
  });
5021
5114
  }
5115
+ export declare class DescribeCnameCountResponseBodyCnameCount extends $tea.Model {
5116
+ cname?: number;
5117
+ hybridCloudCname?: number;
5118
+ total?: number;
5119
+ static names(): {
5120
+ [key: string]: string;
5121
+ };
5122
+ static types(): {
5123
+ [key: string]: any;
5124
+ };
5125
+ constructor(map?: {
5126
+ [key: string]: any;
5127
+ });
5128
+ }
5022
5129
  export declare class DescribeDDoSStatusResponseBodyDDoSStatus extends $tea.Model {
5023
5130
  eventType?: string;
5024
5131
  status?: string;
@@ -5746,6 +5853,8 @@ export declare class DescribeProductInstancesResponseBodyProductInstancesResourc
5746
5853
  export declare class DescribeProductInstancesResponseBodyProductInstances extends $tea.Model {
5747
5854
  ownerUserId?: string;
5748
5855
  resourceInstanceId?: string;
5856
+ resourceInstanceIp?: string;
5857
+ resourceInstanceName?: string;
5749
5858
  resourceIp?: string;
5750
5859
  resourceName?: string;
5751
5860
  resourcePorts?: DescribeProductInstancesResponseBodyProductInstancesResourcePorts[];
@@ -6241,7 +6350,7 @@ export default class Client extends OpenApi {
6241
6350
  */
6242
6351
  createPostpaidInstance(request: CreatePostpaidInstanceRequest): Promise<CreatePostpaidInstanceResponse>;
6243
6352
  /**
6244
- * @summary 上传国密证书
6353
+ * @summary Uploads a ShangMi (SM) certificate for a domain name that is added to Web Application Firewall (WAF) in CNAME record mode.
6245
6354
  *
6246
6355
  * @param request CreateSM2CertRequest
6247
6356
  * @param runtime runtime options for this request RuntimeOptions
@@ -6249,7 +6358,7 @@ export default class Client extends OpenApi {
6249
6358
  */
6250
6359
  createSM2CertWithOptions(request: CreateSM2CertRequest, runtime: $Util.RuntimeOptions): Promise<CreateSM2CertResponse>;
6251
6360
  /**
6252
- * @summary 上传国密证书
6361
+ * @summary Uploads a ShangMi (SM) certificate for a domain name that is added to Web Application Firewall (WAF) in CNAME record mode.
6253
6362
  *
6254
6363
  * @param request CreateSM2CertRequest
6255
6364
  * @return CreateSM2CertResponse
@@ -6540,6 +6649,21 @@ export default class Client extends OpenApi {
6540
6649
  * @return DescribeCloudResourcesResponse
6541
6650
  */
6542
6651
  describeCloudResources(request: DescribeCloudResourcesRequest): Promise<DescribeCloudResourcesResponse>;
6652
+ /**
6653
+ * @summary 查询Cname接入的数量
6654
+ *
6655
+ * @param request DescribeCnameCountRequest
6656
+ * @param runtime runtime options for this request RuntimeOptions
6657
+ * @return DescribeCnameCountResponse
6658
+ */
6659
+ describeCnameCountWithOptions(request: DescribeCnameCountRequest, runtime: $Util.RuntimeOptions): Promise<DescribeCnameCountResponse>;
6660
+ /**
6661
+ * @summary 查询Cname接入的数量
6662
+ *
6663
+ * @param request DescribeCnameCountRequest
6664
+ * @return DescribeCnameCountResponse
6665
+ */
6666
+ describeCnameCount(request: DescribeCnameCountRequest): Promise<DescribeCnameCountResponse>;
6543
6667
  /**
6544
6668
  * @summary Checks whether DDoS attacks occur on specific domain names protected by a Web Application Firewall (WAF) instance.
6545
6669
  *
@@ -7620,6 +7744,21 @@ export default class Client extends OpenApi {
7620
7744
  * @return ModifyTemplateResourcesResponse
7621
7745
  */
7622
7746
  modifyTemplateResources(request: ModifyTemplateResourcesRequest): Promise<ModifyTemplateResourcesResponse>;
7747
+ /**
7748
+ * @summary Releases a Web Application Firewall (WAF) 3.0 instance.
7749
+ *
7750
+ * @param request ReleaseInstanceRequest
7751
+ * @param runtime runtime options for this request RuntimeOptions
7752
+ * @return ReleaseInstanceResponse
7753
+ */
7754
+ releaseInstanceWithOptions(request: ReleaseInstanceRequest, runtime: $Util.RuntimeOptions): Promise<ReleaseInstanceResponse>;
7755
+ /**
7756
+ * @summary Releases a Web Application Firewall (WAF) 3.0 instance.
7757
+ *
7758
+ * @param request ReleaseInstanceRequest
7759
+ * @return ReleaseInstanceResponse
7760
+ */
7761
+ releaseInstance(request: ReleaseInstanceRequest): Promise<ReleaseInstanceResponse>;
7623
7762
  /**
7624
7763
  * @summary Synchronizes Elastic Compute Service (ECS) instances and Classic Load Balancer (CLB) instances to Web Application Firewall (WAF).
7625
7764
  *