@alicloud/cloudfw20171207 6.4.0 → 7.0.1

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.
Files changed (68) hide show
  1. package/dist/client.d.ts +34 -2
  2. package/dist/client.js +121 -4
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/ClearLogStoreStorageRequest.d.ts +18 -0
  5. package/dist/models/ClearLogStoreStorageRequest.js +58 -0
  6. package/dist/models/ClearLogStoreStorageRequest.js.map +1 -0
  7. package/dist/models/DescribeBatchSlsDispatchStatusResponseBody.d.ts +76 -0
  8. package/dist/models/DescribeBatchSlsDispatchStatusResponseBody.js +68 -1
  9. package/dist/models/DescribeBatchSlsDispatchStatusResponseBody.js.map +1 -1
  10. package/dist/models/DescribeLogStoreInfoResponseBody.d.ts +78 -0
  11. package/dist/models/DescribeLogStoreInfoResponseBody.js +49 -1
  12. package/dist/models/DescribeLogStoreInfoResponseBody.js.map +1 -1
  13. package/dist/models/DescribeRegionResourceTypeAutoEnableRequest.d.ts +18 -0
  14. package/dist/models/DescribeRegionResourceTypeAutoEnableRequest.js +58 -0
  15. package/dist/models/DescribeRegionResourceTypeAutoEnableRequest.js.map +1 -0
  16. package/dist/models/DescribeRegionResourceTypeAutoEnableResponse.d.ts +19 -0
  17. package/dist/models/DescribeRegionResourceTypeAutoEnableResponse.js +69 -0
  18. package/dist/models/DescribeRegionResourceTypeAutoEnableResponse.js.map +1 -0
  19. package/dist/models/DescribeRegionResourceTypeAutoEnableResponseBody.d.ts +26 -0
  20. package/dist/models/DescribeRegionResourceTypeAutoEnableResponseBody.js +63 -0
  21. package/dist/models/DescribeRegionResourceTypeAutoEnableResponseBody.js.map +1 -0
  22. package/dist/models/ModifyResourceTypeAutoEnableRequest.d.ts +5 -0
  23. package/dist/models/ModifyResourceTypeAutoEnableRequest.js +2 -0
  24. package/dist/models/ModifyResourceTypeAutoEnableRequest.js.map +1 -1
  25. package/dist/models/ModifySlsDispatchStatusRequest.d.ts +5 -0
  26. package/dist/models/ModifySlsDispatchStatusRequest.js +2 -0
  27. package/dist/models/ModifySlsDispatchStatusRequest.js.map +1 -1
  28. package/dist/models/ModifyUserSlsLogStorageTimeRequest.d.ts +10 -0
  29. package/dist/models/ModifyUserSlsLogStorageTimeRequest.js +4 -0
  30. package/dist/models/ModifyUserSlsLogStorageTimeRequest.js.map +1 -1
  31. package/dist/models/ModifyVpcFirewallAclEngineModeRequest.d.ts +3 -0
  32. package/dist/models/ModifyVpcFirewallAclEngineModeRequest.js.map +1 -1
  33. package/dist/models/PutDisableFwSwitchRequest.d.ts +10 -0
  34. package/dist/models/PutDisableFwSwitchRequest.js +4 -0
  35. package/dist/models/PutDisableFwSwitchRequest.js.map +1 -1
  36. package/dist/models/PutEnableFwSwitchRequest.d.ts +10 -0
  37. package/dist/models/PutEnableFwSwitchRequest.js +4 -0
  38. package/dist/models/PutEnableFwSwitchRequest.js.map +1 -1
  39. package/dist/models/SetAutoProtectNewAssetsRequest.d.ts +31 -0
  40. package/dist/models/SetAutoProtectNewAssetsRequest.js +62 -0
  41. package/dist/models/SetAutoProtectNewAssetsRequest.js.map +1 -0
  42. package/dist/models/SetAutoProtectNewAssetsResponse.d.ts +19 -0
  43. package/dist/models/SetAutoProtectNewAssetsResponse.js +69 -0
  44. package/dist/models/SetAutoProtectNewAssetsResponse.js.map +1 -0
  45. package/dist/models/SetAutoProtectNewAssetsResponseBody.d.ts +23 -0
  46. package/dist/models/SetAutoProtectNewAssetsResponseBody.js +60 -0
  47. package/dist/models/SetAutoProtectNewAssetsResponseBody.js.map +1 -0
  48. package/dist/models/model.d.ts +10 -0
  49. package/dist/models/model.js +47 -26
  50. package/dist/models/model.js.map +1 -1
  51. package/package.json +1 -1
  52. package/src/client.ts +138 -4
  53. package/src/models/ClearLogStoreStorageRequest.ts +31 -0
  54. package/src/models/DescribeBatchSlsDispatchStatusResponseBody.ts +125 -0
  55. package/src/models/DescribeLogStoreInfoResponseBody.ts +117 -0
  56. package/src/models/DescribeRegionResourceTypeAutoEnableRequest.ts +31 -0
  57. package/src/models/DescribeRegionResourceTypeAutoEnableResponse.ts +40 -0
  58. package/src/models/DescribeRegionResourceTypeAutoEnableResponseBody.ts +40 -0
  59. package/src/models/ModifyResourceTypeAutoEnableRequest.ts +7 -0
  60. package/src/models/ModifySlsDispatchStatusRequest.ts +7 -0
  61. package/src/models/ModifyUserSlsLogStorageTimeRequest.ts +14 -0
  62. package/src/models/ModifyVpcFirewallAclEngineModeRequest.ts +3 -0
  63. package/src/models/PutDisableFwSwitchRequest.ts +14 -0
  64. package/src/models/PutEnableFwSwitchRequest.ts +14 -0
  65. package/src/models/SetAutoProtectNewAssetsRequest.ts +48 -0
  66. package/src/models/SetAutoProtectNewAssetsResponse.ts +40 -0
  67. package/src/models/SetAutoProtectNewAssetsResponseBody.ts +38 -0
  68. package/src/models/model.ts +10 -0
@@ -8,6 +8,11 @@ export class ModifyResourceTypeAutoEnableRequest extends $dara.Model {
8
8
  * zh
9
9
  */
10
10
  lang?: string;
11
+ /**
12
+ * @example
13
+ * cn-shanghai
14
+ */
15
+ regionNo?: string;
11
16
  /**
12
17
  * @example
13
18
  * {"SlbEIP":true,"GaEIP":false,"EcsIPv6":true,"NatPublicIP":true,"SlbIPv6":false,"BastionHostIngressIP":false,"EIP":true,"NatEIP":true,"SlbPublicIP":true,"EcsEIP":true,"EniEIP":true,"HAVIP":true,"NlbEIP":true,"NlbIPv6":false,"EniEIPv6":false,"EcsPublicIP":true,"AlbIPv6":true,"BastionHostIP":false,"BastionHostEgressIP":true,"GaEIPV6":false,"AlbEIP":false}
@@ -16,6 +21,7 @@ export class ModifyResourceTypeAutoEnableRequest extends $dara.Model {
16
21
  static names(): { [key: string]: string } {
17
22
  return {
18
23
  lang: 'Lang',
24
+ regionNo: 'RegionNo',
19
25
  resourceTypeAutoEnable: 'ResourceTypeAutoEnable',
20
26
  };
21
27
  }
@@ -23,6 +29,7 @@ export class ModifyResourceTypeAutoEnableRequest extends $dara.Model {
23
29
  static types(): { [key: string]: any } {
24
30
  return {
25
31
  lang: 'string',
32
+ regionNo: 'string',
26
33
  resourceTypeAutoEnable: 'string',
27
34
  };
28
35
  }
@@ -23,12 +23,18 @@ export class ModifySlsDispatchStatusRequest extends $dara.Model {
23
23
  * cn-shanghai
24
24
  */
25
25
  newRegionId?: string;
26
+ /**
27
+ * @example
28
+ * cn
29
+ */
30
+ site?: string;
26
31
  static names(): { [key: string]: string } {
27
32
  return {
28
33
  dispatchValue: 'DispatchValue',
29
34
  enableStatus: 'EnableStatus',
30
35
  filterKeys: 'FilterKeys',
31
36
  newRegionId: 'NewRegionId',
37
+ site: 'Site',
32
38
  };
33
39
  }
34
40
 
@@ -38,6 +44,7 @@ export class ModifySlsDispatchStatusRequest extends $dara.Model {
38
44
  enableStatus: 'boolean',
39
45
  filterKeys: 'string',
40
46
  newRegionId: 'string',
47
+ site: 'string',
41
48
  };
42
49
  }
43
50
 
@@ -11,6 +11,16 @@ export class ModifyUserSlsLogStorageTimeRequest extends $dara.Model {
11
11
  * vipcloudfw-cn-uqm3fz****
12
12
  */
13
13
  instanceId?: string;
14
+ /**
15
+ * @example
16
+ * 1
17
+ */
18
+ logVersion?: number;
19
+ /**
20
+ * @example
21
+ * ap-southeast-1
22
+ */
23
+ slsRegionId?: string;
14
24
  /**
15
25
  * @remarks
16
26
  * This parameter is required.
@@ -22,6 +32,8 @@ export class ModifyUserSlsLogStorageTimeRequest extends $dara.Model {
22
32
  static names(): { [key: string]: string } {
23
33
  return {
24
34
  instanceId: 'InstanceId',
35
+ logVersion: 'LogVersion',
36
+ slsRegionId: 'SlsRegionId',
25
37
  storageTime: 'StorageTime',
26
38
  };
27
39
  }
@@ -29,6 +41,8 @@ export class ModifyUserSlsLogStorageTimeRequest extends $dara.Model {
29
41
  static types(): { [key: string]: any } {
30
42
  return {
31
43
  instanceId: 'string',
44
+ logVersion: 'number',
45
+ slsRegionId: 'string',
32
46
  storageTime: 'number',
33
47
  };
34
48
  }
@@ -9,6 +9,9 @@ export class ModifyVpcFirewallAclEngineModeRequest extends $dara.Model {
9
9
  */
10
10
  memberUid?: string;
11
11
  /**
12
+ * @remarks
13
+ * This parameter is required.
14
+ *
12
15
  * @example
13
16
  * 0
14
17
  */
@@ -3,6 +3,11 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class PutDisableFwSwitchRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 4
9
+ */
10
+ ipVersion?: string;
6
11
  /**
7
12
  * @remarks
8
13
  * The IP addresses.
@@ -24,6 +29,11 @@ export class PutDisableFwSwitchRequest extends $dara.Model {
24
29
  * zh
25
30
  */
26
31
  lang?: string;
32
+ /**
33
+ * @example
34
+ * 1234
35
+ */
36
+ memberUid?: string;
27
37
  /**
28
38
  * @remarks
29
39
  * The regions.
@@ -56,8 +66,10 @@ export class PutDisableFwSwitchRequest extends $dara.Model {
56
66
  sourceIp?: string;
57
67
  static names(): { [key: string]: string } {
58
68
  return {
69
+ ipVersion: 'IpVersion',
59
70
  ipaddrList: 'IpaddrList',
60
71
  lang: 'Lang',
72
+ memberUid: 'MemberUid',
61
73
  regionList: 'RegionList',
62
74
  resourceTypeList: 'ResourceTypeList',
63
75
  sourceIp: 'SourceIp',
@@ -66,8 +78,10 @@ export class PutDisableFwSwitchRequest extends $dara.Model {
66
78
 
67
79
  static types(): { [key: string]: any } {
68
80
  return {
81
+ ipVersion: 'string',
69
82
  ipaddrList: { 'type': 'array', 'itemType': 'string' },
70
83
  lang: 'string',
84
+ memberUid: 'string',
71
85
  regionList: { 'type': 'array', 'itemType': 'string' },
72
86
  resourceTypeList: { 'type': 'array', 'itemType': 'string' },
73
87
  sourceIp: 'string',
@@ -3,6 +3,11 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class PutEnableFwSwitchRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 4
9
+ */
10
+ ipVersion?: string;
6
11
  /**
7
12
  * @remarks
8
13
  * The IP addresses.
@@ -24,6 +29,11 @@ export class PutEnableFwSwitchRequest extends $dara.Model {
24
29
  * zh
25
30
  */
26
31
  lang?: string;
32
+ /**
33
+ * @example
34
+ * 1234
35
+ */
36
+ memberUid?: string;
27
37
  /**
28
38
  * @remarks
29
39
  * The regions.
@@ -70,8 +80,10 @@ export class PutEnableFwSwitchRequest extends $dara.Model {
70
80
  sourceIp?: string;
71
81
  static names(): { [key: string]: string } {
72
82
  return {
83
+ ipVersion: 'IpVersion',
73
84
  ipaddrList: 'IpaddrList',
74
85
  lang: 'Lang',
86
+ memberUid: 'MemberUid',
75
87
  regionList: 'RegionList',
76
88
  resourceTypeList: 'ResourceTypeList',
77
89
  sourceIp: 'SourceIp',
@@ -80,8 +92,10 @@ export class PutEnableFwSwitchRequest extends $dara.Model {
80
92
 
81
93
  static types(): { [key: string]: any } {
82
94
  return {
95
+ ipVersion: 'string',
83
96
  ipaddrList: { 'type': 'array', 'itemType': 'string' },
84
97
  lang: 'string',
98
+ memberUid: 'string',
85
99
  regionList: { 'type': 'array', 'itemType': 'string' },
86
100
  resourceTypeList: { 'type': 'array', 'itemType': 'string' },
87
101
  sourceIp: 'string',
@@ -0,0 +1,48 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class SetAutoProtectNewAssetsRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * true
12
+ */
13
+ autoProtect?: boolean;
14
+ /**
15
+ * @example
16
+ * zh
17
+ */
18
+ lang?: string;
19
+ /**
20
+ * @example
21
+ * 60.182.79.XXX
22
+ */
23
+ sourceIp?: string;
24
+ static names(): { [key: string]: string } {
25
+ return {
26
+ autoProtect: 'AutoProtect',
27
+ lang: 'Lang',
28
+ sourceIp: 'SourceIp',
29
+ };
30
+ }
31
+
32
+ static types(): { [key: string]: any } {
33
+ return {
34
+ autoProtect: 'boolean',
35
+ lang: 'string',
36
+ sourceIp: 'string',
37
+ };
38
+ }
39
+
40
+ validate() {
41
+ super.validate();
42
+ }
43
+
44
+ constructor(map?: { [key: string]: any }) {
45
+ super(map);
46
+ }
47
+ }
48
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { SetAutoProtectNewAssetsResponseBody } from "./SetAutoProtectNewAssetsResponseBody";
4
+
5
+
6
+ export class SetAutoProtectNewAssetsResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: SetAutoProtectNewAssetsResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: SetAutoProtectNewAssetsResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,38 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class SetAutoProtectNewAssetsResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * api_server
9
+ */
10
+ module?: string;
11
+ /**
12
+ * @example
13
+ * F0F82705-CFC7-5F83-86C8-A063892F****
14
+ */
15
+ requestId?: string;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ module: 'Module',
19
+ requestId: 'RequestId',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ module: 'string',
26
+ requestId: 'string',
27
+ };
28
+ }
29
+
30
+ validate() {
31
+ super.validate();
32
+ }
33
+
34
+ constructor(map?: { [key: string]: any }) {
35
+ super(map);
36
+ }
37
+ }
38
+
@@ -36,6 +36,8 @@ export { DescribeAssetStatisticResponseBodyGeneralInstanceSpecStatisticCfwTotalG
36
36
  export { DescribeAssetStatisticResponseBodyGeneralInstanceSpecStatistic } from './DescribeAssetStatisticResponseBody';
37
37
  export { DescribeAssetStatisticResponseBodyResourceSpecStatistic } from './DescribeAssetStatisticResponseBody';
38
38
  export { DescribeAttackAppCategoryResponseBodyAppCategories } from './DescribeAttackAppCategoryResponseBody';
39
+ export { DescribeBatchSlsDispatchStatusResponseBodyInfoListItemList } from './DescribeBatchSlsDispatchStatusResponseBody';
40
+ export { DescribeBatchSlsDispatchStatusResponseBodyInfoList } from './DescribeBatchSlsDispatchStatusResponseBody';
39
41
  export { DescribeBatchSlsDispatchStatusResponseBodyItemList } from './DescribeBatchSlsDispatchStatusResponseBody';
40
42
  export { DescribeCfwRiskLevelSummaryResponseBodyRiskList } from './DescribeCfwRiskLevelSummaryResponseBody';
41
43
  export { DescribeConfiguredDestinationIPResponseBodyDestinations } from './DescribeConfiguredDestinationIpresponseBody';
@@ -85,6 +87,7 @@ export { DescribeLocationInfoResponseBodyCnList } from './DescribeLocationInfoRe
85
87
  export { DescribeLocationInfoResponseBodyCnProvinceListCities } from './DescribeLocationInfoResponseBody';
86
88
  export { DescribeLocationInfoResponseBodyCnProvinceList } from './DescribeLocationInfoResponseBody';
87
89
  export { DescribeLocationInfoResponseBodyOverseasList } from './DescribeLocationInfoResponseBody';
90
+ export { DescribeLogStoreInfoResponseBodyInfoList } from './DescribeLogStoreInfoResponseBody';
88
91
  export { DescribeNatFirewallAclGroupListResponseBodyNatFirewalls } from './DescribeNatFirewallAclGroupListResponseBody';
89
92
  export { DescribeNatFirewallControlPolicyResponseBodyPolicys } from './DescribeNatFirewallControlPolicyResponseBody';
90
93
  export { DescribeNatFirewallDropTrafficTrendResponseBodyDataList } from './DescribeNatFirewallDropTrafficTrendResponseBody';
@@ -269,6 +272,7 @@ export { BatchCopyVpcFirewallControlPolicyResponse } from './BatchCopyVpcFirewal
269
272
  export { BatchDeleteVpcFirewallControlPolicyRequest } from './BatchDeleteVpcFirewallControlPolicyRequest';
270
273
  export { BatchDeleteVpcFirewallControlPolicyResponseBody } from './BatchDeleteVpcFirewallControlPolicyResponseBody';
271
274
  export { BatchDeleteVpcFirewallControlPolicyResponse } from './BatchDeleteVpcFirewallControlPolicyResponse';
275
+ export { ClearLogStoreStorageRequest } from './ClearLogStoreStorageRequest';
272
276
  export { ClearLogStoreStorageResponseBody } from './ClearLogStoreStorageResponseBody';
273
277
  export { ClearLogStoreStorageResponse } from './ClearLogStoreStorageResponse';
274
278
  export { CreateAckClusterConnectorRequest } from './CreateAckClusterConnectorRequest';
@@ -702,6 +706,9 @@ export { DescribePrivateDnsStatisticsResponse } from './DescribePrivateDnsStatis
702
706
  export { DescribeRegionInfoRequest } from './DescribeRegionInfoRequest';
703
707
  export { DescribeRegionInfoResponseBody } from './DescribeRegionInfoResponseBody';
704
708
  export { DescribeRegionInfoResponse } from './DescribeRegionInfoResponse';
709
+ export { DescribeRegionResourceTypeAutoEnableRequest } from './DescribeRegionResourceTypeAutoEnableRequest';
710
+ export { DescribeRegionResourceTypeAutoEnableResponseBody } from './DescribeRegionResourceTypeAutoEnableResponseBody';
711
+ export { DescribeRegionResourceTypeAutoEnableResponse } from './DescribeRegionResourceTypeAutoEnableResponse';
705
712
  export { DescribeResourceTypeAutoEnableRequest } from './DescribeResourceTypeAutoEnableRequest';
706
713
  export { DescribeResourceTypeAutoEnableResponseBody } from './DescribeResourceTypeAutoEnableResponseBody';
707
714
  export { DescribeResourceTypeAutoEnableResponse } from './DescribeResourceTypeAutoEnableResponse';
@@ -1020,6 +1027,9 @@ export { ResetRuleHitCountResponse } from './ResetRuleHitCountResponse';
1020
1027
  export { ResetVpcFirewallRuleHitCountRequest } from './ResetVpcFirewallRuleHitCountRequest';
1021
1028
  export { ResetVpcFirewallRuleHitCountResponseBody } from './ResetVpcFirewallRuleHitCountResponseBody';
1022
1029
  export { ResetVpcFirewallRuleHitCountResponse } from './ResetVpcFirewallRuleHitCountResponse';
1030
+ export { SetAutoProtectNewAssetsRequest } from './SetAutoProtectNewAssetsRequest';
1031
+ export { SetAutoProtectNewAssetsResponseBody } from './SetAutoProtectNewAssetsResponseBody';
1032
+ export { SetAutoProtectNewAssetsResponse } from './SetAutoProtectNewAssetsResponse';
1023
1033
  export { SwitchSecurityProxyRequest } from './SwitchSecurityProxyRequest';
1024
1034
  export { SwitchSecurityProxyResponseBody } from './SwitchSecurityProxyResponseBody';
1025
1035
  export { SwitchSecurityProxyResponse } from './SwitchSecurityProxyResponse';