@alicloud/cloudfw20171207 6.3.0 → 7.0.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.
Files changed (101) hide show
  1. package/dist/client.d.ts +79 -2
  2. package/dist/client.js +331 -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/DescribeVpcFirewallDomainListRequest.d.ts +74 -0
  23. package/dist/models/DescribeVpcFirewallDomainListRequest.js +78 -0
  24. package/dist/models/DescribeVpcFirewallDomainListRequest.js.map +1 -0
  25. package/dist/models/DescribeVpcFirewallDomainListResponse.d.ts +19 -0
  26. package/dist/models/DescribeVpcFirewallDomainListResponse.js +69 -0
  27. package/dist/models/DescribeVpcFirewallDomainListResponse.js.map +1 -0
  28. package/dist/models/DescribeVpcFirewallDomainListResponseBody.d.ts +82 -0
  29. package/dist/models/DescribeVpcFirewallDomainListResponseBody.js +105 -0
  30. package/dist/models/DescribeVpcFirewallDomainListResponseBody.js.map +1 -0
  31. package/dist/models/DescribeVpcFirewallDomainRelationListRequest.d.ts +75 -0
  32. package/dist/models/DescribeVpcFirewallDomainRelationListRequest.js +83 -0
  33. package/dist/models/DescribeVpcFirewallDomainRelationListRequest.js.map +1 -0
  34. package/dist/models/DescribeVpcFirewallDomainRelationListResponse.d.ts +19 -0
  35. package/dist/models/DescribeVpcFirewallDomainRelationListResponse.js +69 -0
  36. package/dist/models/DescribeVpcFirewallDomainRelationListResponse.js.map +1 -0
  37. package/dist/models/DescribeVpcFirewallDomainRelationListResponseBody.d.ts +149 -0
  38. package/dist/models/DescribeVpcFirewallDomainRelationListResponseBody.js +144 -0
  39. package/dist/models/DescribeVpcFirewallDomainRelationListResponseBody.js.map +1 -0
  40. package/dist/models/DescribeVpcFirewallTrafficAssetListRequest.d.ts +74 -0
  41. package/dist/models/DescribeVpcFirewallTrafficAssetListRequest.js +78 -0
  42. package/dist/models/DescribeVpcFirewallTrafficAssetListRequest.js.map +1 -0
  43. package/dist/models/DescribeVpcFirewallTrafficAssetListResponse.d.ts +19 -0
  44. package/dist/models/DescribeVpcFirewallTrafficAssetListResponse.js +69 -0
  45. package/dist/models/DescribeVpcFirewallTrafficAssetListResponse.js.map +1 -0
  46. package/dist/models/DescribeVpcFirewallTrafficAssetListResponseBody.d.ts +66 -0
  47. package/dist/models/DescribeVpcFirewallTrafficAssetListResponseBody.js +94 -0
  48. package/dist/models/DescribeVpcFirewallTrafficAssetListResponseBody.js.map +1 -0
  49. package/dist/models/ModifyResourceTypeAutoEnableRequest.d.ts +1 -0
  50. package/dist/models/ModifyResourceTypeAutoEnableRequest.js +2 -0
  51. package/dist/models/ModifyResourceTypeAutoEnableRequest.js.map +1 -1
  52. package/dist/models/ModifySlsDispatchStatusRequest.d.ts +5 -0
  53. package/dist/models/ModifySlsDispatchStatusRequest.js +2 -0
  54. package/dist/models/ModifySlsDispatchStatusRequest.js.map +1 -1
  55. package/dist/models/ModifyUserSlsLogStorageTimeRequest.d.ts +10 -0
  56. package/dist/models/ModifyUserSlsLogStorageTimeRequest.js +4 -0
  57. package/dist/models/ModifyUserSlsLogStorageTimeRequest.js.map +1 -1
  58. package/dist/models/PutDisableFwSwitchRequest.d.ts +10 -0
  59. package/dist/models/PutDisableFwSwitchRequest.js +4 -0
  60. package/dist/models/PutDisableFwSwitchRequest.js.map +1 -1
  61. package/dist/models/PutEnableFwSwitchRequest.d.ts +10 -0
  62. package/dist/models/PutEnableFwSwitchRequest.js +4 -0
  63. package/dist/models/PutEnableFwSwitchRequest.js.map +1 -1
  64. package/dist/models/SetAutoProtectNewAssetsRequest.d.ts +31 -0
  65. package/dist/models/SetAutoProtectNewAssetsRequest.js +62 -0
  66. package/dist/models/SetAutoProtectNewAssetsRequest.js.map +1 -0
  67. package/dist/models/SetAutoProtectNewAssetsResponse.d.ts +19 -0
  68. package/dist/models/SetAutoProtectNewAssetsResponse.js +69 -0
  69. package/dist/models/SetAutoProtectNewAssetsResponse.js.map +1 -0
  70. package/dist/models/SetAutoProtectNewAssetsResponseBody.d.ts +23 -0
  71. package/dist/models/SetAutoProtectNewAssetsResponseBody.js +60 -0
  72. package/dist/models/SetAutoProtectNewAssetsResponseBody.js.map +1 -0
  73. package/dist/models/model.d.ts +23 -0
  74. package/dist/models/model.js +73 -26
  75. package/dist/models/model.js.map +1 -1
  76. package/package.json +1 -1
  77. package/src/client.ts +388 -4
  78. package/src/models/ClearLogStoreStorageRequest.ts +31 -0
  79. package/src/models/DescribeBatchSlsDispatchStatusResponseBody.ts +125 -0
  80. package/src/models/DescribeLogStoreInfoResponseBody.ts +117 -0
  81. package/src/models/DescribeRegionResourceTypeAutoEnableRequest.ts +31 -0
  82. package/src/models/DescribeRegionResourceTypeAutoEnableResponse.ts +40 -0
  83. package/src/models/DescribeRegionResourceTypeAutoEnableResponseBody.ts +40 -0
  84. package/src/models/DescribeVpcFirewallDomainListRequest.ts +107 -0
  85. package/src/models/DescribeVpcFirewallDomainListResponse.ts +40 -0
  86. package/src/models/DescribeVpcFirewallDomainListResponseBody.ts +133 -0
  87. package/src/models/DescribeVpcFirewallDomainRelationListRequest.ts +113 -0
  88. package/src/models/DescribeVpcFirewallDomainRelationListResponse.ts +40 -0
  89. package/src/models/DescribeVpcFirewallDomainRelationListResponseBody.ts +230 -0
  90. package/src/models/DescribeVpcFirewallTrafficAssetListRequest.ts +107 -0
  91. package/src/models/DescribeVpcFirewallTrafficAssetListResponse.ts +40 -0
  92. package/src/models/DescribeVpcFirewallTrafficAssetListResponseBody.ts +106 -0
  93. package/src/models/ModifyResourceTypeAutoEnableRequest.ts +3 -0
  94. package/src/models/ModifySlsDispatchStatusRequest.ts +7 -0
  95. package/src/models/ModifyUserSlsLogStorageTimeRequest.ts +14 -0
  96. package/src/models/PutDisableFwSwitchRequest.ts +14 -0
  97. package/src/models/PutEnableFwSwitchRequest.ts +14 -0
  98. package/src/models/SetAutoProtectNewAssetsRequest.ts +48 -0
  99. package/src/models/SetAutoProtectNewAssetsResponse.ts +40 -0
  100. package/src/models/SetAutoProtectNewAssetsResponseBody.ts +38 -0
  101. package/src/models/model.ts +23 -0
@@ -2,7 +2,96 @@
2
2
  import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
+ export class DescribeLogStoreInfoResponseBodyInfoList extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * xxx-logstore
9
+ */
10
+ logStoreName?: string;
11
+ /**
12
+ * @example
13
+ * 4
14
+ */
15
+ maxSplitShard?: number;
16
+ /**
17
+ * @example
18
+ * cloudfirewall-project-14151892848****-cn-hangzhou
19
+ */
20
+ projectName?: string;
21
+ /**
22
+ * @example
23
+ * 50000000
24
+ */
25
+ quota?: number;
26
+ /**
27
+ * @example
28
+ * cn-qingdao
29
+ */
30
+ regionId?: string;
31
+ /**
32
+ * @example
33
+ * 2
34
+ */
35
+ shard?: number;
36
+ /**
37
+ * @example
38
+ * cn
39
+ */
40
+ site?: string;
41
+ /**
42
+ * @example
43
+ * 180
44
+ */
45
+ ttl?: number;
46
+ /**
47
+ * @example
48
+ * 21852955752
49
+ */
50
+ used?: number;
51
+ static names(): { [key: string]: string } {
52
+ return {
53
+ logStoreName: 'LogStoreName',
54
+ maxSplitShard: 'MaxSplitShard',
55
+ projectName: 'ProjectName',
56
+ quota: 'Quota',
57
+ regionId: 'RegionId',
58
+ shard: 'Shard',
59
+ site: 'Site',
60
+ ttl: 'Ttl',
61
+ used: 'Used',
62
+ };
63
+ }
64
+
65
+ static types(): { [key: string]: any } {
66
+ return {
67
+ logStoreName: 'string',
68
+ maxSplitShard: 'number',
69
+ projectName: 'string',
70
+ quota: 'number',
71
+ regionId: 'string',
72
+ shard: 'number',
73
+ site: 'string',
74
+ ttl: 'number',
75
+ used: 'number',
76
+ };
77
+ }
78
+
79
+ validate() {
80
+ super.validate();
81
+ }
82
+
83
+ constructor(map?: { [key: string]: any }) {
84
+ super(map);
85
+ }
86
+ }
87
+
5
88
  export class DescribeLogStoreInfoResponseBody extends $dara.Model {
89
+ infoList?: DescribeLogStoreInfoResponseBodyInfoList[];
90
+ /**
91
+ * @example
92
+ * 2
93
+ */
94
+ logModifyQuota?: number;
6
95
  /**
7
96
  * @remarks
8
97
  * The name of the SLS LogStore in the log service.
@@ -11,6 +100,11 @@ export class DescribeLogStoreInfoResponseBody extends $dara.Model {
11
100
  * xxx-logstore
12
101
  */
13
102
  logStoreName?: string;
103
+ /**
104
+ * @example
105
+ * 2
106
+ */
107
+ logVersion?: number;
14
108
  /**
15
109
  * @remarks
16
110
  * The Project name of the log service.
@@ -43,6 +137,16 @@ export class DescribeLogStoreInfoResponseBody extends $dara.Model {
43
137
  * C6C3B72B********E95FB0A161
44
138
  */
45
139
  requestId?: string;
140
+ /**
141
+ * @example
142
+ * 用户进行日志修改所产生的任务id。
143
+ */
144
+ taskId?: string;
145
+ /**
146
+ * @example
147
+ * 50000000
148
+ */
149
+ totalQuota?: number;
46
150
  /**
47
151
  * @remarks
48
152
  * Log storage duration. Unit: days.
@@ -63,11 +167,16 @@ export class DescribeLogStoreInfoResponseBody extends $dara.Model {
63
167
  used?: number;
64
168
  static names(): { [key: string]: string } {
65
169
  return {
170
+ infoList: 'InfoList',
171
+ logModifyQuota: 'LogModifyQuota',
66
172
  logStoreName: 'LogStoreName',
173
+ logVersion: 'LogVersion',
67
174
  projectName: 'ProjectName',
68
175
  quota: 'Quota',
69
176
  regionId: 'RegionId',
70
177
  requestId: 'RequestId',
178
+ taskId: 'TaskId',
179
+ totalQuota: 'TotalQuota',
71
180
  ttl: 'Ttl',
72
181
  used: 'Used',
73
182
  };
@@ -75,17 +184,25 @@ export class DescribeLogStoreInfoResponseBody extends $dara.Model {
75
184
 
76
185
  static types(): { [key: string]: any } {
77
186
  return {
187
+ infoList: { 'type': 'array', 'itemType': DescribeLogStoreInfoResponseBodyInfoList },
188
+ logModifyQuota: 'number',
78
189
  logStoreName: 'string',
190
+ logVersion: 'number',
79
191
  projectName: 'string',
80
192
  quota: 'number',
81
193
  regionId: 'string',
82
194
  requestId: 'string',
195
+ taskId: 'string',
196
+ totalQuota: 'number',
83
197
  ttl: 'number',
84
198
  used: 'number',
85
199
  };
86
200
  }
87
201
 
88
202
  validate() {
203
+ if(Array.isArray(this.infoList)) {
204
+ $dara.Model.validateArray(this.infoList);
205
+ }
89
206
  super.validate();
90
207
  }
91
208
 
@@ -0,0 +1,31 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeRegionResourceTypeAutoEnableRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * zh
9
+ */
10
+ lang?: string;
11
+ static names(): { [key: string]: string } {
12
+ return {
13
+ lang: 'Lang',
14
+ };
15
+ }
16
+
17
+ static types(): { [key: string]: any } {
18
+ return {
19
+ lang: 'string',
20
+ };
21
+ }
22
+
23
+ validate() {
24
+ super.validate();
25
+ }
26
+
27
+ constructor(map?: { [key: string]: any }) {
28
+ super(map);
29
+ }
30
+ }
31
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribeRegionResourceTypeAutoEnableResponseBody } from "./DescribeRegionResourceTypeAutoEnableResponseBody";
4
+
5
+
6
+ export class DescribeRegionResourceTypeAutoEnableResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribeRegionResourceTypeAutoEnableResponseBody;
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: DescribeRegionResourceTypeAutoEnableResponseBody,
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,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeRegionResourceTypeAutoEnableResponseBody extends $dara.Model {
6
+ regionResourceAutoEnable?: { [key: string]: {[key: string]: any} };
7
+ /**
8
+ * @remarks
9
+ * Id of the request
10
+ *
11
+ * @example
12
+ * B2841452-CB8D-4F7D-B247-38E1CF7334F8
13
+ */
14
+ requestId?: string;
15
+ static names(): { [key: string]: string } {
16
+ return {
17
+ regionResourceAutoEnable: 'RegionResourceAutoEnable',
18
+ requestId: 'RequestId',
19
+ };
20
+ }
21
+
22
+ static types(): { [key: string]: any } {
23
+ return {
24
+ regionResourceAutoEnable: { 'type': 'map', 'keyType': 'string', 'valueType': '{[key: string]: any}' },
25
+ requestId: 'string',
26
+ };
27
+ }
28
+
29
+ validate() {
30
+ if(this.regionResourceAutoEnable) {
31
+ $dara.Model.validateMap(this.regionResourceAutoEnable);
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,107 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeVpcFirewallDomainListRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 1
9
+ */
10
+ currentPage?: string;
11
+ /**
12
+ * @example
13
+ * www.example.com
14
+ */
15
+ domain?: string;
16
+ /**
17
+ * @remarks
18
+ * This parameter is required.
19
+ *
20
+ * @example
21
+ * 1656750960
22
+ */
23
+ endTime?: string;
24
+ /**
25
+ * @example
26
+ * true
27
+ */
28
+ isAITraffic?: string;
29
+ /**
30
+ * @example
31
+ * zh
32
+ */
33
+ lang?: string;
34
+ /**
35
+ * @example
36
+ * SessionCount
37
+ */
38
+ order?: string;
39
+ /**
40
+ * @example
41
+ * 10
42
+ */
43
+ pageSize?: string;
44
+ /**
45
+ * @example
46
+ * desc
47
+ */
48
+ sort?: string;
49
+ /**
50
+ * @example
51
+ * 47.92.x.x
52
+ */
53
+ srcIP?: string;
54
+ /**
55
+ * @example
56
+ * vpc-t4nlt09olhpazpoeg****
57
+ */
58
+ srcVpcId?: string;
59
+ /**
60
+ * @remarks
61
+ * This parameter is required.
62
+ *
63
+ * @example
64
+ * 1656664560
65
+ */
66
+ startTime?: string;
67
+ static names(): { [key: string]: string } {
68
+ return {
69
+ currentPage: 'CurrentPage',
70
+ domain: 'Domain',
71
+ endTime: 'EndTime',
72
+ isAITraffic: 'IsAITraffic',
73
+ lang: 'Lang',
74
+ order: 'Order',
75
+ pageSize: 'PageSize',
76
+ sort: 'Sort',
77
+ srcIP: 'SrcIP',
78
+ srcVpcId: 'SrcVpcId',
79
+ startTime: 'StartTime',
80
+ };
81
+ }
82
+
83
+ static types(): { [key: string]: any } {
84
+ return {
85
+ currentPage: 'string',
86
+ domain: 'string',
87
+ endTime: 'string',
88
+ isAITraffic: 'string',
89
+ lang: 'string',
90
+ order: 'string',
91
+ pageSize: 'string',
92
+ sort: 'string',
93
+ srcIP: 'string',
94
+ srcVpcId: 'string',
95
+ startTime: 'string',
96
+ };
97
+ }
98
+
99
+ validate() {
100
+ super.validate();
101
+ }
102
+
103
+ constructor(map?: { [key: string]: any }) {
104
+ super(map);
105
+ }
106
+ }
107
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribeVpcFirewallDomainListResponseBody } from "./DescribeVpcFirewallDomainListResponseBody";
4
+
5
+
6
+ export class DescribeVpcFirewallDomainListResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribeVpcFirewallDomainListResponseBody;
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: DescribeVpcFirewallDomainListResponseBody,
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,133 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeVpcFirewallDomainListResponseBodyDataList extends $dara.Model {
6
+ applicationNameList?: string[];
7
+ /**
8
+ * @example
9
+ * Google
10
+ */
11
+ business?: string;
12
+ /**
13
+ * @example
14
+ * www.a.com
15
+ */
16
+ domain?: string;
17
+ /**
18
+ * @example
19
+ * Google
20
+ */
21
+ groupName?: string;
22
+ /**
23
+ * @example
24
+ * 3214
25
+ */
26
+ requestBytes?: number;
27
+ /**
28
+ * @example
29
+ * 4582
30
+ */
31
+ responseBytes?: number;
32
+ /**
33
+ * @example
34
+ * 12
35
+ */
36
+ sessionCount?: number;
37
+ /**
38
+ * @example
39
+ * 2
40
+ */
41
+ srcIpCount?: number;
42
+ /**
43
+ * @example
44
+ * 1
45
+ */
46
+ srcVpcCount?: number;
47
+ /**
48
+ * @example
49
+ * 8111126106
50
+ */
51
+ totalBytes?: number;
52
+ static names(): { [key: string]: string } {
53
+ return {
54
+ applicationNameList: 'ApplicationNameList',
55
+ business: 'Business',
56
+ domain: 'Domain',
57
+ groupName: 'GroupName',
58
+ requestBytes: 'RequestBytes',
59
+ responseBytes: 'ResponseBytes',
60
+ sessionCount: 'SessionCount',
61
+ srcIpCount: 'SrcIpCount',
62
+ srcVpcCount: 'SrcVpcCount',
63
+ totalBytes: 'TotalBytes',
64
+ };
65
+ }
66
+
67
+ static types(): { [key: string]: any } {
68
+ return {
69
+ applicationNameList: { 'type': 'array', 'itemType': 'string' },
70
+ business: 'string',
71
+ domain: 'string',
72
+ groupName: 'string',
73
+ requestBytes: 'number',
74
+ responseBytes: 'number',
75
+ sessionCount: 'number',
76
+ srcIpCount: 'number',
77
+ srcVpcCount: 'number',
78
+ totalBytes: 'number',
79
+ };
80
+ }
81
+
82
+ validate() {
83
+ if(Array.isArray(this.applicationNameList)) {
84
+ $dara.Model.validateArray(this.applicationNameList);
85
+ }
86
+ super.validate();
87
+ }
88
+
89
+ constructor(map?: { [key: string]: any }) {
90
+ super(map);
91
+ }
92
+ }
93
+
94
+ export class DescribeVpcFirewallDomainListResponseBody extends $dara.Model {
95
+ dataList?: DescribeVpcFirewallDomainListResponseBodyDataList[];
96
+ /**
97
+ * @example
98
+ * 133173B9-8010-5DF5-8B93-********
99
+ */
100
+ requestId?: string;
101
+ /**
102
+ * @example
103
+ * 132
104
+ */
105
+ totalCount?: number;
106
+ static names(): { [key: string]: string } {
107
+ return {
108
+ dataList: 'DataList',
109
+ requestId: 'RequestId',
110
+ totalCount: 'TotalCount',
111
+ };
112
+ }
113
+
114
+ static types(): { [key: string]: any } {
115
+ return {
116
+ dataList: { 'type': 'array', 'itemType': DescribeVpcFirewallDomainListResponseBodyDataList },
117
+ requestId: 'string',
118
+ totalCount: 'number',
119
+ };
120
+ }
121
+
122
+ validate() {
123
+ if(Array.isArray(this.dataList)) {
124
+ $dara.Model.validateArray(this.dataList);
125
+ }
126
+ super.validate();
127
+ }
128
+
129
+ constructor(map?: { [key: string]: any }) {
130
+ super(map);
131
+ }
132
+ }
133
+
@@ -0,0 +1,113 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeVpcFirewallDomainRelationListRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 1
9
+ */
10
+ currentPage?: string;
11
+ domainList?: string[];
12
+ /**
13
+ * @example
14
+ * 34.136.111.XXX
15
+ */
16
+ dstIP?: string;
17
+ /**
18
+ * @example
19
+ * vpc-bp10w5nb30r4jzfyc****
20
+ */
21
+ dstVpcId?: string;
22
+ /**
23
+ * @remarks
24
+ * This parameter is required.
25
+ *
26
+ * @example
27
+ * 1656750960
28
+ */
29
+ endTime?: string;
30
+ /**
31
+ * @example
32
+ * zh
33
+ */
34
+ lang?: string;
35
+ /**
36
+ * @example
37
+ * desc
38
+ */
39
+ order?: string;
40
+ /**
41
+ * @example
42
+ * 10
43
+ */
44
+ pageSize?: string;
45
+ /**
46
+ * @example
47
+ * TotalBytes
48
+ */
49
+ sort?: string;
50
+ /**
51
+ * @example
52
+ * 47.92.x.x
53
+ */
54
+ srcIP?: string;
55
+ /**
56
+ * @example
57
+ * vpc-t4nlt09olhpazpoeg****
58
+ */
59
+ srcVpcId?: string;
60
+ /**
61
+ * @remarks
62
+ * This parameter is required.
63
+ *
64
+ * @example
65
+ * 1656664560
66
+ */
67
+ startTime?: string;
68
+ static names(): { [key: string]: string } {
69
+ return {
70
+ currentPage: 'CurrentPage',
71
+ domainList: 'DomainList',
72
+ dstIP: 'DstIP',
73
+ dstVpcId: 'DstVpcId',
74
+ endTime: 'EndTime',
75
+ lang: 'Lang',
76
+ order: 'Order',
77
+ pageSize: 'PageSize',
78
+ sort: 'Sort',
79
+ srcIP: 'SrcIP',
80
+ srcVpcId: 'SrcVpcId',
81
+ startTime: 'StartTime',
82
+ };
83
+ }
84
+
85
+ static types(): { [key: string]: any } {
86
+ return {
87
+ currentPage: 'string',
88
+ domainList: { 'type': 'array', 'itemType': 'string' },
89
+ dstIP: 'string',
90
+ dstVpcId: 'string',
91
+ endTime: 'string',
92
+ lang: 'string',
93
+ order: 'string',
94
+ pageSize: 'string',
95
+ sort: 'string',
96
+ srcIP: 'string',
97
+ srcVpcId: 'string',
98
+ startTime: 'string',
99
+ };
100
+ }
101
+
102
+ validate() {
103
+ if(Array.isArray(this.domainList)) {
104
+ $dara.Model.validateArray(this.domainList);
105
+ }
106
+ super.validate();
107
+ }
108
+
109
+ constructor(map?: { [key: string]: any }) {
110
+ super(map);
111
+ }
112
+ }
113
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribeVpcFirewallDomainRelationListResponseBody } from "./DescribeVpcFirewallDomainRelationListResponseBody";
4
+
5
+
6
+ export class DescribeVpcFirewallDomainRelationListResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribeVpcFirewallDomainRelationListResponseBody;
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: DescribeVpcFirewallDomainRelationListResponseBody,
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
+