@huaweicloud/huaweicloud-sdk-aad 3.1.70 → 3.1.72
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +2 -2
- package/v1/AadClient.d.ts +160 -0
- package/v1/AadClient.d.ts.map +1 -1
- package/v1/AadClient.js +283 -0
- package/v1/AadClient.js.map +1 -1
- package/v1/model/AddBlackWhiteIpListRequest.d.ts +7 -0
- package/v1/model/AddBlackWhiteIpListRequest.d.ts.map +1 -0
- package/v1/model/AddBlackWhiteIpListRequest.js +13 -0
- package/v1/model/AddBlackWhiteIpListRequest.js.map +1 -0
- package/v1/model/AddBlackWhiteIpListResponse.d.ts +5 -0
- package/v1/model/AddBlackWhiteIpListResponse.d.ts.map +1 -0
- package/v1/model/AddBlackWhiteIpListResponse.js +11 -0
- package/v1/model/AddBlackWhiteIpListResponse.js.map +1 -0
- package/v1/model/BlackWhiteIpListRequest.d.ts +12 -0
- package/v1/model/BlackWhiteIpListRequest.d.ts.map +1 -0
- package/v1/model/BlackWhiteIpListRequest.js +30 -0
- package/v1/model/BlackWhiteIpListRequest.js.map +1 -0
- package/v1/model/CadDomainSwitchRequest.d.ts +16 -0
- package/v1/model/CadDomainSwitchRequest.d.ts.map +1 -0
- package/v1/model/CadDomainSwitchRequest.js +42 -0
- package/v1/model/CadDomainSwitchRequest.js.map +1 -0
- package/v1/model/CertificateBody.d.ts +24 -0
- package/v1/model/CertificateBody.d.ts.map +1 -0
- package/v1/model/CertificateBody.js +62 -0
- package/v1/model/CertificateBody.js.map +1 -0
- package/v1/model/CreateAadDomainRequest.d.ts +7 -0
- package/v1/model/CreateAadDomainRequest.d.ts.map +1 -0
- package/v1/model/CreateAadDomainRequest.js +13 -0
- package/v1/model/CreateAadDomainRequest.js.map +1 -0
- package/v1/model/CreateAadDomainResponse.d.ts +9 -0
- package/v1/model/CreateAadDomainResponse.d.ts.map +1 -0
- package/v1/model/CreateAadDomainResponse.js +19 -0
- package/v1/model/CreateAadDomainResponse.js.map +1 -0
- package/v1/model/CreateCertificateRequest.d.ts +7 -0
- package/v1/model/CreateCertificateRequest.d.ts.map +1 -0
- package/v1/model/CreateCertificateRequest.js +13 -0
- package/v1/model/CreateCertificateRequest.js.map +1 -0
- package/v1/model/CreateCertificateResponse.d.ts +5 -0
- package/v1/model/CreateCertificateResponse.d.ts.map +1 -0
- package/v1/model/CreateCertificateResponse.js +11 -0
- package/v1/model/CreateCertificateResponse.js.map +1 -0
- package/v1/model/DeleteBlackWhiteIpListRequest.d.ts +7 -0
- package/v1/model/DeleteBlackWhiteIpListRequest.d.ts.map +1 -0
- package/v1/model/DeleteBlackWhiteIpListRequest.js +13 -0
- package/v1/model/DeleteBlackWhiteIpListRequest.js.map +1 -0
- package/v1/model/DeleteBlackWhiteIpListResponse.d.ts +5 -0
- package/v1/model/DeleteBlackWhiteIpListResponse.d.ts.map +1 -0
- package/v1/model/DeleteBlackWhiteIpListResponse.js +11 -0
- package/v1/model/DeleteBlackWhiteIpListResponse.js.map +1 -0
- package/v1/model/HostBody.d.ts +30 -0
- package/v1/model/HostBody.d.ts.map +1 -0
- package/v1/model/HostBody.js +78 -0
- package/v1/model/HostBody.js.map +1 -0
- package/v1/model/ListSourceIpsRequest.d.ts +4 -0
- package/v1/model/ListSourceIpsRequest.d.ts.map +1 -0
- package/v1/model/ListSourceIpsRequest.js +9 -0
- package/v1/model/ListSourceIpsRequest.js.map +1 -0
- package/v1/model/ListSourceIpsResponse.d.ts +7 -0
- package/v1/model/ListSourceIpsResponse.d.ts.map +1 -0
- package/v1/model/ListSourceIpsResponse.js +15 -0
- package/v1/model/ListSourceIpsResponse.js.map +1 -0
- package/v1/model/ModifyDomainWebSwitchRequest.d.ts +7 -0
- package/v1/model/ModifyDomainWebSwitchRequest.d.ts.map +1 -0
- package/v1/model/ModifyDomainWebSwitchRequest.js +13 -0
- package/v1/model/ModifyDomainWebSwitchRequest.js.map +1 -0
- package/v1/model/ModifyDomainWebSwitchResponse.d.ts +5 -0
- package/v1/model/ModifyDomainWebSwitchResponse.d.ts.map +1 -0
- package/v1/model/ModifyDomainWebSwitchResponse.js +11 -0
- package/v1/model/ModifyDomainWebSwitchResponse.js.map +1 -0
- package/v1/public-api.d.ts +16 -0
- package/v1/public-api.d.ts.map +1 -1
- package/v1/public-api.js +16 -0
- package/v1/public-api.js.map +1 -1
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@huaweicloud/huaweicloud-sdk-aad",
|
3
|
-
"version": "3.1.
|
3
|
+
"version": "3.1.72",
|
4
4
|
"description": "Huaweicloud SDK for aad",
|
5
5
|
"main": "huaweicloud-sdk-aad.js",
|
6
6
|
"typings": "huaweicloud-sdk-aad.d.ts",
|
@@ -14,7 +14,7 @@
|
|
14
14
|
"author": "HuaweiCloud_SDK",
|
15
15
|
"license": "Apache-2.0",
|
16
16
|
"dependencies": {
|
17
|
-
"@huaweicloud/huaweicloud-sdk-core": "^3.1.
|
17
|
+
"@huaweicloud/huaweicloud-sdk-core": "^3.1.72"
|
18
18
|
},
|
19
19
|
"devDependencies": {
|
20
20
|
"@types/node": "^14.14.37",
|
package/v1/AadClient.d.ts
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
import { HcClient } from "@huaweicloud/huaweicloud-sdk-core/HcClient";
|
2
2
|
import { ClientBuilder } from "@huaweicloud/huaweicloud-sdk-core/ClientBuilder";
|
3
|
+
import { AddBlackWhiteIpListRequest } from './model/AddBlackWhiteIpListRequest';
|
4
|
+
import { AddBlackWhiteIpListResponse } from './model/AddBlackWhiteIpListResponse';
|
3
5
|
import { AddPolicyBlackAndWhiteIpListRequest } from './model/AddPolicyBlackAndWhiteIpListRequest';
|
4
6
|
import { AddPolicyBlackAndWhiteIpListResponse } from './model/AddPolicyBlackAndWhiteIpListResponse';
|
5
7
|
import { AssociateIpToPolicyRequest } from './model/AssociateIpToPolicyRequest';
|
@@ -8,10 +10,16 @@ import { BatchCreateInstanceIpRuleRequest } from './model/BatchCreateInstanceIpR
|
|
8
10
|
import { BatchCreateInstanceIpRuleResponse } from './model/BatchCreateInstanceIpRuleResponse';
|
9
11
|
import { BatchDeleteInstanceIpRuleRequest } from './model/BatchDeleteInstanceIpRuleRequest';
|
10
12
|
import { BatchDeleteInstanceIpRuleResponse } from './model/BatchDeleteInstanceIpRuleResponse';
|
13
|
+
import { CreateAadDomainRequest } from './model/CreateAadDomainRequest';
|
14
|
+
import { CreateAadDomainResponse } from './model/CreateAadDomainResponse';
|
15
|
+
import { CreateCertificateRequest } from './model/CreateCertificateRequest';
|
16
|
+
import { CreateCertificateResponse } from './model/CreateCertificateResponse';
|
11
17
|
import { CreatePolicyRequest } from './model/CreatePolicyRequest';
|
12
18
|
import { CreatePolicyResponse } from './model/CreatePolicyResponse';
|
13
19
|
import { DeleteAlarmConfigRequest } from './model/DeleteAlarmConfigRequest';
|
14
20
|
import { DeleteAlarmConfigResponse } from './model/DeleteAlarmConfigResponse';
|
21
|
+
import { DeleteBlackWhiteIpListRequest } from './model/DeleteBlackWhiteIpListRequest';
|
22
|
+
import { DeleteBlackWhiteIpListResponse } from './model/DeleteBlackWhiteIpListResponse';
|
15
23
|
import { DeletePolicyBlackAndWhiteIpListRequest } from './model/DeletePolicyBlackAndWhiteIpListRequest';
|
16
24
|
import { DeletePolicyBlackAndWhiteIpListResponse } from './model/DeletePolicyBlackAndWhiteIpListResponse';
|
17
25
|
import { DeletePolicyRequest } from './model/DeletePolicyRequest';
|
@@ -38,10 +46,14 @@ import { ListPolicyRequest } from './model/ListPolicyRequest';
|
|
38
46
|
import { ListPolicyResponse } from './model/ListPolicyResponse';
|
39
47
|
import { ListProtectedIpRequest } from './model/ListProtectedIpRequest';
|
40
48
|
import { ListProtectedIpResponse } from './model/ListProtectedIpResponse';
|
49
|
+
import { ListSourceIpsRequest } from './model/ListSourceIpsRequest';
|
50
|
+
import { ListSourceIpsResponse } from './model/ListSourceIpsResponse';
|
41
51
|
import { ListUnblockQuotaStatisticsRequest } from './model/ListUnblockQuotaStatisticsRequest';
|
42
52
|
import { ListUnblockQuotaStatisticsResponse } from './model/ListUnblockQuotaStatisticsResponse';
|
43
53
|
import { ListUnboundProtectedIpRequest } from './model/ListUnboundProtectedIpRequest';
|
44
54
|
import { ListUnboundProtectedIpResponse } from './model/ListUnboundProtectedIpResponse';
|
55
|
+
import { ModifyDomainWebSwitchRequest } from './model/ModifyDomainWebSwitchRequest';
|
56
|
+
import { ModifyDomainWebSwitchResponse } from './model/ModifyDomainWebSwitchResponse';
|
45
57
|
import { ShowAlarmConfigRequest } from './model/ShowAlarmConfigRequest';
|
46
58
|
import { ShowAlarmConfigResponse } from './model/ShowAlarmConfigResponse';
|
47
59
|
import { ShowBlockStatisticsRequest } from './model/ShowBlockStatisticsRequest';
|
@@ -127,6 +139,17 @@ export declare class AadClient {
|
|
127
139
|
* @throws {RequiredError}
|
128
140
|
*/
|
129
141
|
showUnblockRecord(showUnblockRecordRequest?: ShowUnblockRecordRequest): Promise<ShowUnblockRecordResponse>;
|
142
|
+
/**
|
143
|
+
* 高防实例添加黑白名单
|
144
|
+
*
|
145
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
146
|
+
*
|
147
|
+
* @summary 高防实例添加黑白名单
|
148
|
+
* @param {BlackWhiteIpListRequest} blackWhiteIpListRequest 黑白名单IP信息
|
149
|
+
* @param {*} [options] Override http request option.
|
150
|
+
* @throws {RequiredError}
|
151
|
+
*/
|
152
|
+
addBlackWhiteIpList(addBlackWhiteIpListRequest?: AddBlackWhiteIpListRequest): Promise<AddBlackWhiteIpListResponse>;
|
130
153
|
/**
|
131
154
|
* 策略添加黑白名单
|
132
155
|
*
|
@@ -177,6 +200,28 @@ export declare class AadClient {
|
|
177
200
|
* @throws {RequiredError}
|
178
201
|
*/
|
179
202
|
batchDeleteInstanceIpRule(batchDeleteInstanceIpRuleRequest?: BatchDeleteInstanceIpRuleRequest): Promise<BatchDeleteInstanceIpRuleResponse>;
|
203
|
+
/**
|
204
|
+
* 创建防护域名
|
205
|
+
*
|
206
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
207
|
+
*
|
208
|
+
* @summary 创建防护域名
|
209
|
+
* @param {HostBody} hostBody 域名信息
|
210
|
+
* @param {*} [options] Override http request option.
|
211
|
+
* @throws {RequiredError}
|
212
|
+
*/
|
213
|
+
createAadDomain(createAadDomainRequest?: CreateAadDomainRequest): Promise<CreateAadDomainResponse>;
|
214
|
+
/**
|
215
|
+
* 上传/修改域名对应证书
|
216
|
+
*
|
217
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
218
|
+
*
|
219
|
+
* @summary 上传/修改域名对应证书
|
220
|
+
* @param {CertificateBody} certificateBody 证书信息
|
221
|
+
* @param {*} [options] Override http request option.
|
222
|
+
* @throws {RequiredError}
|
223
|
+
*/
|
224
|
+
createCertificate(createCertificateRequest?: CreateCertificateRequest): Promise<CreateCertificateResponse>;
|
180
225
|
/**
|
181
226
|
* 创建策略
|
182
227
|
*
|
@@ -198,6 +243,17 @@ export declare class AadClient {
|
|
198
243
|
* @throws {RequiredError}
|
199
244
|
*/
|
200
245
|
deleteAlarmConfig(deleteAlarmConfigRequest?: DeleteAlarmConfigRequest): Promise<DeleteAlarmConfigResponse>;
|
246
|
+
/**
|
247
|
+
* 高防实例删除黑白名单
|
248
|
+
*
|
249
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
250
|
+
*
|
251
|
+
* @summary 高防实例删除黑白名单
|
252
|
+
* @param {BlackWhiteIpListRequest} blackWhiteIpListRequest 黑白名单IP信息
|
253
|
+
* @param {*} [options] Override http request option.
|
254
|
+
* @throws {RequiredError}
|
255
|
+
*/
|
256
|
+
deleteBlackWhiteIpList(deleteBlackWhiteIpListRequest?: DeleteBlackWhiteIpListRequest): Promise<DeleteBlackWhiteIpListResponse>;
|
201
257
|
/**
|
202
258
|
* 删除策略
|
203
259
|
*
|
@@ -329,6 +385,16 @@ export declare class AadClient {
|
|
329
385
|
* @throws {RequiredError}
|
330
386
|
*/
|
331
387
|
listProtectedIp(listProtectedIpRequest?: ListProtectedIpRequest): Promise<ListProtectedIpResponse>;
|
388
|
+
/**
|
389
|
+
* 查询高防回源IP段列表
|
390
|
+
*
|
391
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
392
|
+
*
|
393
|
+
* @summary 查询高防回源IP段列表
|
394
|
+
* @param {*} [options] Override http request option.
|
395
|
+
* @throws {RequiredError}
|
396
|
+
*/
|
397
|
+
listSourceIps(listSourceIpsRequest?: ListSourceIpsRequest): Promise<ListSourceIpsResponse>;
|
332
398
|
/**
|
333
399
|
* 查询可绑定的防护对象列表
|
334
400
|
*
|
@@ -342,6 +408,17 @@ export declare class AadClient {
|
|
342
408
|
* @throws {RequiredError}
|
343
409
|
*/
|
344
410
|
listUnboundProtectedIp(listUnboundProtectedIpRequest?: ListUnboundProtectedIpRequest): Promise<ListUnboundProtectedIpResponse>;
|
411
|
+
/**
|
412
|
+
* 修改域名WEB基础防护开关/CC防护开关
|
413
|
+
*
|
414
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
415
|
+
*
|
416
|
+
* @summary 修改域名WEB基础防护开关/CC防护开关
|
417
|
+
* @param {CadDomainSwitchRequest} switchRequest WEB防护开关信息
|
418
|
+
* @param {*} [options] Override http request option.
|
419
|
+
* @throws {RequiredError}
|
420
|
+
*/
|
421
|
+
modifyDomainWebSwitch(modifyDomainWebSwitchRequest?: ModifyDomainWebSwitchRequest): Promise<ModifyDomainWebSwitchResponse>;
|
345
422
|
/**
|
346
423
|
* 查询告警配置
|
347
424
|
*
|
@@ -515,6 +592,20 @@ export declare const ParamCreater: () => {
|
|
515
592
|
pathParams: {};
|
516
593
|
headers: {};
|
517
594
|
};
|
595
|
+
/**
|
596
|
+
* 高防实例添加黑白名单
|
597
|
+
*
|
598
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
599
|
+
*/
|
600
|
+
addBlackWhiteIpList(addBlackWhiteIpListRequest?: AddBlackWhiteIpListRequest): {
|
601
|
+
method: string;
|
602
|
+
url: string;
|
603
|
+
contentType: string;
|
604
|
+
queryParams: {};
|
605
|
+
pathParams: {};
|
606
|
+
headers: {};
|
607
|
+
data: {};
|
608
|
+
};
|
518
609
|
/**
|
519
610
|
* 策略添加黑白名单
|
520
611
|
*
|
@@ -571,6 +662,34 @@ export declare const ParamCreater: () => {
|
|
571
662
|
headers: {};
|
572
663
|
data: {};
|
573
664
|
};
|
665
|
+
/**
|
666
|
+
* 创建防护域名
|
667
|
+
*
|
668
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
669
|
+
*/
|
670
|
+
createAadDomain(createAadDomainRequest?: CreateAadDomainRequest): {
|
671
|
+
method: string;
|
672
|
+
url: string;
|
673
|
+
contentType: string;
|
674
|
+
queryParams: {};
|
675
|
+
pathParams: {};
|
676
|
+
headers: {};
|
677
|
+
data: {};
|
678
|
+
};
|
679
|
+
/**
|
680
|
+
* 上传/修改域名对应证书
|
681
|
+
*
|
682
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
683
|
+
*/
|
684
|
+
createCertificate(createCertificateRequest?: CreateCertificateRequest): {
|
685
|
+
method: string;
|
686
|
+
url: string;
|
687
|
+
contentType: string;
|
688
|
+
queryParams: {};
|
689
|
+
pathParams: {};
|
690
|
+
headers: {};
|
691
|
+
data: {};
|
692
|
+
};
|
574
693
|
/**
|
575
694
|
* 创建策略
|
576
695
|
*
|
@@ -598,6 +717,20 @@ export declare const ParamCreater: () => {
|
|
598
717
|
pathParams: {};
|
599
718
|
headers: {};
|
600
719
|
};
|
720
|
+
/**
|
721
|
+
* 高防实例删除黑白名单
|
722
|
+
*
|
723
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
724
|
+
*/
|
725
|
+
deleteBlackWhiteIpList(deleteBlackWhiteIpListRequest?: DeleteBlackWhiteIpListRequest): {
|
726
|
+
method: string;
|
727
|
+
url: string;
|
728
|
+
contentType: string;
|
729
|
+
queryParams: {};
|
730
|
+
pathParams: {};
|
731
|
+
headers: {};
|
732
|
+
data: {};
|
733
|
+
};
|
601
734
|
/**
|
602
735
|
* 删除策略
|
603
736
|
*
|
@@ -743,6 +876,19 @@ export declare const ParamCreater: () => {
|
|
743
876
|
pathParams: {};
|
744
877
|
headers: {};
|
745
878
|
};
|
879
|
+
/**
|
880
|
+
* 查询高防回源IP段列表
|
881
|
+
*
|
882
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
883
|
+
*/
|
884
|
+
listSourceIps(): {
|
885
|
+
method: string;
|
886
|
+
url: string;
|
887
|
+
contentType: string;
|
888
|
+
queryParams: {};
|
889
|
+
pathParams: {};
|
890
|
+
headers: {};
|
891
|
+
};
|
746
892
|
/**
|
747
893
|
* 查询可绑定的防护对象列表
|
748
894
|
*
|
@@ -756,6 +902,20 @@ export declare const ParamCreater: () => {
|
|
756
902
|
pathParams: {};
|
757
903
|
headers: {};
|
758
904
|
};
|
905
|
+
/**
|
906
|
+
* 修改域名WEB基础防护开关/CC防护开关
|
907
|
+
*
|
908
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
909
|
+
*/
|
910
|
+
modifyDomainWebSwitch(modifyDomainWebSwitchRequest?: ModifyDomainWebSwitchRequest): {
|
911
|
+
method: string;
|
912
|
+
url: string;
|
913
|
+
contentType: string;
|
914
|
+
queryParams: {};
|
915
|
+
pathParams: {};
|
916
|
+
headers: {};
|
917
|
+
data: {};
|
918
|
+
};
|
759
919
|
/**
|
760
920
|
* 查询告警配置
|
761
921
|
*
|
package/v1/AadClient.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"AadClient.d.ts","sourceRoot":"","sources":["../../../../services/aad/v1/AadClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,4CAA4C,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,MAAM,iDAAiD,CAAC;AAGhF,OAAO,EAAE,mCAAmC,EAAE,MAAM,6CAA6C,CAAC;AAClG,OAAO,EAAE,oCAAoC,EAAE,MAAM,8CAA8C,CAAC;AAEpG,OAAO,EAAE,0BA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;;;;;;;;;IAiCrE;;;;OAIG;uCACgC,mBAAmB;;;;;;;;;IAyCtD;;;;OAIG;uDACgD,2BAA2B;;;;;;;;;IAuD9E;;;;OAIG;6CACsC,sBAAsB;;;;;;;;;IAyC/D;;;;OAIG;iDAC0C,wBAAwB;;;;;;;;;IAyCrE;;;;OAIG;uCACgC,mBAAmB;;;;;;;;;IAyCtD;;;;OAIG;6DACsD,8BAA8B;;;;;;;;;CAkC9F,CAAC;AAMF;;;;;GAKG;AACH,qBAAa,aAAc,SAAQ,KAAK;IAEjB,KAAK,EAAE,MAAM;IADhC,IAAI,EAAE,eAAe,CAAmB;gBACrB,KAAK,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM;CAGjD"}
|
package/v1/AadClient.js
CHANGED
@@ -2,11 +2,15 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.RequiredError = exports.ParamCreater = exports.AadClient = void 0;
|
4
4
|
const ClientBuilder_1 = require("@huaweicloud/huaweicloud-sdk-core/ClientBuilder");
|
5
|
+
const AddBlackWhiteIpListRequest_1 = require("./model/AddBlackWhiteIpListRequest");
|
5
6
|
const AddPolicyBlackAndWhiteIpListRequest_1 = require("./model/AddPolicyBlackAndWhiteIpListRequest");
|
6
7
|
const AssociateIpToPolicyRequest_1 = require("./model/AssociateIpToPolicyRequest");
|
7
8
|
const BatchCreateInstanceIpRuleRequest_1 = require("./model/BatchCreateInstanceIpRuleRequest");
|
8
9
|
const BatchDeleteInstanceIpRuleRequest_1 = require("./model/BatchDeleteInstanceIpRuleRequest");
|
10
|
+
const CreateAadDomainRequest_1 = require("./model/CreateAadDomainRequest");
|
11
|
+
const CreateCertificateRequest_1 = require("./model/CreateCertificateRequest");
|
9
12
|
const CreatePolicyRequest_1 = require("./model/CreatePolicyRequest");
|
13
|
+
const DeleteBlackWhiteIpListRequest_1 = require("./model/DeleteBlackWhiteIpListRequest");
|
10
14
|
const DeletePolicyBlackAndWhiteIpListRequest_1 = require("./model/DeletePolicyBlackAndWhiteIpListRequest");
|
11
15
|
const DeletePolicyRequest_1 = require("./model/DeletePolicyRequest");
|
12
16
|
const DisassociateIpFromPolicyRequest_1 = require("./model/DisassociateIpFromPolicyRequest");
|
@@ -19,6 +23,7 @@ const ListPolicyRequest_1 = require("./model/ListPolicyRequest");
|
|
19
23
|
const ListProtectedIpRequest_1 = require("./model/ListProtectedIpRequest");
|
20
24
|
const ListUnblockQuotaStatisticsRequest_1 = require("./model/ListUnblockQuotaStatisticsRequest");
|
21
25
|
const ListUnboundProtectedIpRequest_1 = require("./model/ListUnboundProtectedIpRequest");
|
26
|
+
const ModifyDomainWebSwitchRequest_1 = require("./model/ModifyDomainWebSwitchRequest");
|
22
27
|
const ShowBlockStatisticsRequest_1 = require("./model/ShowBlockStatisticsRequest");
|
23
28
|
const ShowPolicyRequest_1 = require("./model/ShowPolicyRequest");
|
24
29
|
const ShowUnblockRecordRequest_1 = require("./model/ShowUnblockRecordRequest");
|
@@ -122,6 +127,22 @@ class AadClient {
|
|
122
127
|
options['responseHeaders'] = [''];
|
123
128
|
return this.hcClient.sendRequest(options);
|
124
129
|
}
|
130
|
+
/**
|
131
|
+
* 高防实例添加黑白名单
|
132
|
+
*
|
133
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
134
|
+
*
|
135
|
+
* @summary 高防实例添加黑白名单
|
136
|
+
* @param {BlackWhiteIpListRequest} blackWhiteIpListRequest 黑白名单IP信息
|
137
|
+
* @param {*} [options] Override http request option.
|
138
|
+
* @throws {RequiredError}
|
139
|
+
*/
|
140
|
+
addBlackWhiteIpList(addBlackWhiteIpListRequest) {
|
141
|
+
const options = (0, exports.ParamCreater)().addBlackWhiteIpList(addBlackWhiteIpListRequest);
|
142
|
+
// @ts-ignore
|
143
|
+
options['responseHeaders'] = [''];
|
144
|
+
return this.hcClient.sendRequest(options);
|
145
|
+
}
|
125
146
|
/**
|
126
147
|
* 策略添加黑白名单
|
127
148
|
*
|
@@ -192,6 +213,38 @@ class AadClient {
|
|
192
213
|
options['responseHeaders'] = [''];
|
193
214
|
return this.hcClient.sendRequest(options);
|
194
215
|
}
|
216
|
+
/**
|
217
|
+
* 创建防护域名
|
218
|
+
*
|
219
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
220
|
+
*
|
221
|
+
* @summary 创建防护域名
|
222
|
+
* @param {HostBody} hostBody 域名信息
|
223
|
+
* @param {*} [options] Override http request option.
|
224
|
+
* @throws {RequiredError}
|
225
|
+
*/
|
226
|
+
createAadDomain(createAadDomainRequest) {
|
227
|
+
const options = (0, exports.ParamCreater)().createAadDomain(createAadDomainRequest);
|
228
|
+
// @ts-ignore
|
229
|
+
options['responseHeaders'] = [''];
|
230
|
+
return this.hcClient.sendRequest(options);
|
231
|
+
}
|
232
|
+
/**
|
233
|
+
* 上传/修改域名对应证书
|
234
|
+
*
|
235
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
236
|
+
*
|
237
|
+
* @summary 上传/修改域名对应证书
|
238
|
+
* @param {CertificateBody} certificateBody 证书信息
|
239
|
+
* @param {*} [options] Override http request option.
|
240
|
+
* @throws {RequiredError}
|
241
|
+
*/
|
242
|
+
createCertificate(createCertificateRequest) {
|
243
|
+
const options = (0, exports.ParamCreater)().createCertificate(createCertificateRequest);
|
244
|
+
// @ts-ignore
|
245
|
+
options['responseHeaders'] = [''];
|
246
|
+
return this.hcClient.sendRequest(options);
|
247
|
+
}
|
195
248
|
/**
|
196
249
|
* 创建策略
|
197
250
|
*
|
@@ -223,6 +276,22 @@ class AadClient {
|
|
223
276
|
options['responseHeaders'] = [''];
|
224
277
|
return this.hcClient.sendRequest(options);
|
225
278
|
}
|
279
|
+
/**
|
280
|
+
* 高防实例删除黑白名单
|
281
|
+
*
|
282
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
283
|
+
*
|
284
|
+
* @summary 高防实例删除黑白名单
|
285
|
+
* @param {BlackWhiteIpListRequest} blackWhiteIpListRequest 黑白名单IP信息
|
286
|
+
* @param {*} [options] Override http request option.
|
287
|
+
* @throws {RequiredError}
|
288
|
+
*/
|
289
|
+
deleteBlackWhiteIpList(deleteBlackWhiteIpListRequest) {
|
290
|
+
const options = (0, exports.ParamCreater)().deleteBlackWhiteIpList(deleteBlackWhiteIpListRequest);
|
291
|
+
// @ts-ignore
|
292
|
+
options['responseHeaders'] = [''];
|
293
|
+
return this.hcClient.sendRequest(options);
|
294
|
+
}
|
226
295
|
/**
|
227
296
|
* 删除策略
|
228
297
|
*
|
@@ -409,6 +478,21 @@ class AadClient {
|
|
409
478
|
options['responseHeaders'] = [''];
|
410
479
|
return this.hcClient.sendRequest(options);
|
411
480
|
}
|
481
|
+
/**
|
482
|
+
* 查询高防回源IP段列表
|
483
|
+
*
|
484
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
485
|
+
*
|
486
|
+
* @summary 查询高防回源IP段列表
|
487
|
+
* @param {*} [options] Override http request option.
|
488
|
+
* @throws {RequiredError}
|
489
|
+
*/
|
490
|
+
listSourceIps(listSourceIpsRequest) {
|
491
|
+
const options = (0, exports.ParamCreater)().listSourceIps();
|
492
|
+
// @ts-ignore
|
493
|
+
options['responseHeaders'] = [''];
|
494
|
+
return this.hcClient.sendRequest(options);
|
495
|
+
}
|
412
496
|
/**
|
413
497
|
* 查询可绑定的防护对象列表
|
414
498
|
*
|
@@ -427,6 +511,22 @@ class AadClient {
|
|
427
511
|
options['responseHeaders'] = [''];
|
428
512
|
return this.hcClient.sendRequest(options);
|
429
513
|
}
|
514
|
+
/**
|
515
|
+
* 修改域名WEB基础防护开关/CC防护开关
|
516
|
+
*
|
517
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
518
|
+
*
|
519
|
+
* @summary 修改域名WEB基础防护开关/CC防护开关
|
520
|
+
* @param {CadDomainSwitchRequest} switchRequest WEB防护开关信息
|
521
|
+
* @param {*} [options] Override http request option.
|
522
|
+
* @throws {RequiredError}
|
523
|
+
*/
|
524
|
+
modifyDomainWebSwitch(modifyDomainWebSwitchRequest) {
|
525
|
+
const options = (0, exports.ParamCreater)().modifyDomainWebSwitch(modifyDomainWebSwitchRequest);
|
526
|
+
// @ts-ignore
|
527
|
+
options['responseHeaders'] = [''];
|
528
|
+
return this.hcClient.sendRequest(options);
|
529
|
+
}
|
430
530
|
/**
|
431
531
|
* 查询告警配置
|
432
532
|
*
|
@@ -765,6 +865,39 @@ const ParamCreater = function () {
|
|
765
865
|
options.headers = localVarHeaderParameter;
|
766
866
|
return options;
|
767
867
|
},
|
868
|
+
/**
|
869
|
+
* 高防实例添加黑白名单
|
870
|
+
*
|
871
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
872
|
+
*/
|
873
|
+
addBlackWhiteIpList(addBlackWhiteIpListRequest) {
|
874
|
+
const options = {
|
875
|
+
method: "POST",
|
876
|
+
url: "/v1/{project_id}/aad/external/bwlist",
|
877
|
+
contentType: "application/json",
|
878
|
+
queryParams: {},
|
879
|
+
pathParams: {},
|
880
|
+
headers: {},
|
881
|
+
data: {}
|
882
|
+
};
|
883
|
+
const localVarHeaderParameter = {};
|
884
|
+
let body;
|
885
|
+
if (addBlackWhiteIpListRequest !== null && addBlackWhiteIpListRequest !== undefined) {
|
886
|
+
if (addBlackWhiteIpListRequest instanceof AddBlackWhiteIpListRequest_1.AddBlackWhiteIpListRequest) {
|
887
|
+
body = addBlackWhiteIpListRequest.body;
|
888
|
+
}
|
889
|
+
else {
|
890
|
+
body = addBlackWhiteIpListRequest['body'];
|
891
|
+
}
|
892
|
+
}
|
893
|
+
if (body === null || body === undefined) {
|
894
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
|
895
|
+
}
|
896
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
897
|
+
options.data = body !== undefined ? body : {};
|
898
|
+
options.headers = localVarHeaderParameter;
|
899
|
+
return options;
|
900
|
+
},
|
768
901
|
/**
|
769
902
|
* 策略添加黑白名单
|
770
903
|
*
|
@@ -937,6 +1070,72 @@ const ParamCreater = function () {
|
|
937
1070
|
options.headers = localVarHeaderParameter;
|
938
1071
|
return options;
|
939
1072
|
},
|
1073
|
+
/**
|
1074
|
+
* 创建防护域名
|
1075
|
+
*
|
1076
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
1077
|
+
*/
|
1078
|
+
createAadDomain(createAadDomainRequest) {
|
1079
|
+
const options = {
|
1080
|
+
method: "POST",
|
1081
|
+
url: "/v1/{project_id}/aad/external/domains",
|
1082
|
+
contentType: "application/json",
|
1083
|
+
queryParams: {},
|
1084
|
+
pathParams: {},
|
1085
|
+
headers: {},
|
1086
|
+
data: {}
|
1087
|
+
};
|
1088
|
+
const localVarHeaderParameter = {};
|
1089
|
+
let body;
|
1090
|
+
if (createAadDomainRequest !== null && createAadDomainRequest !== undefined) {
|
1091
|
+
if (createAadDomainRequest instanceof CreateAadDomainRequest_1.CreateAadDomainRequest) {
|
1092
|
+
body = createAadDomainRequest.body;
|
1093
|
+
}
|
1094
|
+
else {
|
1095
|
+
body = createAadDomainRequest['body'];
|
1096
|
+
}
|
1097
|
+
}
|
1098
|
+
if (body === null || body === undefined) {
|
1099
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
|
1100
|
+
}
|
1101
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
1102
|
+
options.data = body !== undefined ? body : {};
|
1103
|
+
options.headers = localVarHeaderParameter;
|
1104
|
+
return options;
|
1105
|
+
},
|
1106
|
+
/**
|
1107
|
+
* 上传/修改域名对应证书
|
1108
|
+
*
|
1109
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
1110
|
+
*/
|
1111
|
+
createCertificate(createCertificateRequest) {
|
1112
|
+
const options = {
|
1113
|
+
method: "POST",
|
1114
|
+
url: "/v1/{project_id}/aad/external/domains/certificate",
|
1115
|
+
contentType: "application/json",
|
1116
|
+
queryParams: {},
|
1117
|
+
pathParams: {},
|
1118
|
+
headers: {},
|
1119
|
+
data: {}
|
1120
|
+
};
|
1121
|
+
const localVarHeaderParameter = {};
|
1122
|
+
let body;
|
1123
|
+
if (createCertificateRequest !== null && createCertificateRequest !== undefined) {
|
1124
|
+
if (createCertificateRequest instanceof CreateCertificateRequest_1.CreateCertificateRequest) {
|
1125
|
+
body = createCertificateRequest.body;
|
1126
|
+
}
|
1127
|
+
else {
|
1128
|
+
body = createCertificateRequest['body'];
|
1129
|
+
}
|
1130
|
+
}
|
1131
|
+
if (body === null || body === undefined) {
|
1132
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
|
1133
|
+
}
|
1134
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
1135
|
+
options.data = body !== undefined ? body : {};
|
1136
|
+
options.headers = localVarHeaderParameter;
|
1137
|
+
return options;
|
1138
|
+
},
|
940
1139
|
/**
|
941
1140
|
* 创建策略
|
942
1141
|
*
|
@@ -988,6 +1187,39 @@ const ParamCreater = function () {
|
|
988
1187
|
options.headers = localVarHeaderParameter;
|
989
1188
|
return options;
|
990
1189
|
},
|
1190
|
+
/**
|
1191
|
+
* 高防实例删除黑白名单
|
1192
|
+
*
|
1193
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
1194
|
+
*/
|
1195
|
+
deleteBlackWhiteIpList(deleteBlackWhiteIpListRequest) {
|
1196
|
+
const options = {
|
1197
|
+
method: "DELETE",
|
1198
|
+
url: "/v1/{project_id}/aad/external/bwlist",
|
1199
|
+
contentType: "application/json",
|
1200
|
+
queryParams: {},
|
1201
|
+
pathParams: {},
|
1202
|
+
headers: {},
|
1203
|
+
data: {}
|
1204
|
+
};
|
1205
|
+
const localVarHeaderParameter = {};
|
1206
|
+
let body;
|
1207
|
+
if (deleteBlackWhiteIpListRequest !== null && deleteBlackWhiteIpListRequest !== undefined) {
|
1208
|
+
if (deleteBlackWhiteIpListRequest instanceof DeleteBlackWhiteIpListRequest_1.DeleteBlackWhiteIpListRequest) {
|
1209
|
+
body = deleteBlackWhiteIpListRequest.body;
|
1210
|
+
}
|
1211
|
+
else {
|
1212
|
+
body = deleteBlackWhiteIpListRequest['body'];
|
1213
|
+
}
|
1214
|
+
}
|
1215
|
+
if (body === null || body === undefined) {
|
1216
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
|
1217
|
+
}
|
1218
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
1219
|
+
options.data = body !== undefined ? body : {};
|
1220
|
+
options.headers = localVarHeaderParameter;
|
1221
|
+
return options;
|
1222
|
+
},
|
991
1223
|
/**
|
992
1224
|
* 删除策略
|
993
1225
|
*
|
@@ -1384,6 +1616,24 @@ const ParamCreater = function () {
|
|
1384
1616
|
options.headers = localVarHeaderParameter;
|
1385
1617
|
return options;
|
1386
1618
|
},
|
1619
|
+
/**
|
1620
|
+
* 查询高防回源IP段列表
|
1621
|
+
*
|
1622
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
1623
|
+
*/
|
1624
|
+
listSourceIps() {
|
1625
|
+
const options = {
|
1626
|
+
method: "GET",
|
1627
|
+
url: "/v1/{project_id}/aad/external/source-ip",
|
1628
|
+
contentType: "application/json",
|
1629
|
+
queryParams: {},
|
1630
|
+
pathParams: {},
|
1631
|
+
headers: {}
|
1632
|
+
};
|
1633
|
+
const localVarHeaderParameter = {};
|
1634
|
+
options.headers = localVarHeaderParameter;
|
1635
|
+
return options;
|
1636
|
+
},
|
1387
1637
|
/**
|
1388
1638
|
* 查询可绑定的防护对象列表
|
1389
1639
|
*
|
@@ -1429,6 +1679,39 @@ const ParamCreater = function () {
|
|
1429
1679
|
options.headers = localVarHeaderParameter;
|
1430
1680
|
return options;
|
1431
1681
|
},
|
1682
|
+
/**
|
1683
|
+
* 修改域名WEB基础防护开关/CC防护开关
|
1684
|
+
*
|
1685
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
1686
|
+
*/
|
1687
|
+
modifyDomainWebSwitch(modifyDomainWebSwitchRequest) {
|
1688
|
+
const options = {
|
1689
|
+
method: "POST",
|
1690
|
+
url: "/v1/{project_id}/aad/external/domains/switch",
|
1691
|
+
contentType: "application/json",
|
1692
|
+
queryParams: {},
|
1693
|
+
pathParams: {},
|
1694
|
+
headers: {},
|
1695
|
+
data: {}
|
1696
|
+
};
|
1697
|
+
const localVarHeaderParameter = {};
|
1698
|
+
let body;
|
1699
|
+
if (modifyDomainWebSwitchRequest !== null && modifyDomainWebSwitchRequest !== undefined) {
|
1700
|
+
if (modifyDomainWebSwitchRequest instanceof ModifyDomainWebSwitchRequest_1.ModifyDomainWebSwitchRequest) {
|
1701
|
+
body = modifyDomainWebSwitchRequest.body;
|
1702
|
+
}
|
1703
|
+
else {
|
1704
|
+
body = modifyDomainWebSwitchRequest['body'];
|
1705
|
+
}
|
1706
|
+
}
|
1707
|
+
if (body === null || body === undefined) {
|
1708
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
|
1709
|
+
}
|
1710
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
1711
|
+
options.data = body !== undefined ? body : {};
|
1712
|
+
options.headers = localVarHeaderParameter;
|
1713
|
+
return options;
|
1714
|
+
},
|
1432
1715
|
/**
|
1433
1716
|
* 查询告警配置
|
1434
1717
|
*
|