hyperstack 1.43.0a0__py3-none-any.whl → 1.46.1a0__py3-none-any.whl

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 (47) hide show
  1. hyperstack/__init__.py +7 -2
  2. hyperstack/api/__init__.py +2 -1
  3. hyperstack/api/alive_api.py +10 -10
  4. hyperstack/api/api_key_api.py +7 -7
  5. hyperstack/api/auth_api.py +69 -69
  6. hyperstack/api/beta_access_api.py +50 -50
  7. hyperstack/api/billing_api.py +1659 -1659
  8. hyperstack/api/calculate_api.py +7 -7
  9. hyperstack/api/callbacks_api.py +21 -21
  10. hyperstack/api/cluster_events_api.py +7 -7
  11. hyperstack/api/clusters_api.py +669 -370
  12. hyperstack/api/compliance_api.py +21 -21
  13. hyperstack/api/credit_api.py +7 -7
  14. hyperstack/api/customer_contract_api.py +139 -139
  15. hyperstack/api/dashboard_api.py +7 -7
  16. hyperstack/api/deployment_api.py +7 -7
  17. hyperstack/api/environment_api.py +107 -107
  18. hyperstack/api/{admin_api.py → fip_exclusions_api.py} +44 -28
  19. hyperstack/api/firewall_attachment_api.py +7 -7
  20. hyperstack/api/firewalls_api.py +145 -145
  21. hyperstack/api/floating_ip_api.py +14 -14
  22. hyperstack/api/image_api.py +14 -14
  23. hyperstack/api/payment_api.py +102 -102
  24. hyperstack/api/profile_api.py +56 -56
  25. hyperstack/api/snapshot_events_api.py +7 -7
  26. hyperstack/api/snapshots_api.py +167 -167
  27. hyperstack/api/stock_api.py +7 -7
  28. hyperstack/api/template_api.py +76 -76
  29. hyperstack/api/user_api.py +76 -76
  30. hyperstack/api/user_detail_choice_api.py +10 -10
  31. hyperstack/api/virtual_machine_api.py +799 -782
  32. hyperstack/api/virtual_machine_events_api.py +7 -7
  33. hyperstack/api/vnc_url_api.py +53 -53
  34. hyperstack/api/volume_api.py +77 -77
  35. hyperstack/api/volume_attachment_api.py +21 -21
  36. hyperstack/api/vouchers_api.py +326 -0
  37. hyperstack/api_client.py +1 -1
  38. hyperstack/configuration.py +1 -1
  39. hyperstack/models/__init__.py +4 -0
  40. hyperstack/models/delete_cluster_nodes_fields.py +87 -0
  41. hyperstack/models/redeem_voucher_payload.py +87 -0
  42. hyperstack/models/voucher.py +91 -0
  43. hyperstack/models/voucher_redeem_response_schema.py +95 -0
  44. {hyperstack-1.43.0a0.dist-info → hyperstack-1.46.1a0.dist-info}/METADATA +1 -1
  45. {hyperstack-1.43.0a0.dist-info → hyperstack-1.46.1a0.dist-info}/RECORD +47 -42
  46. {hyperstack-1.43.0a0.dist-info → hyperstack-1.46.1a0.dist-info}/WHEEL +0 -0
  47. {hyperstack-1.43.0a0.dist-info → hyperstack-1.46.1a0.dist-info}/top_level.txt +0 -0
@@ -46,7 +46,7 @@ class FirewallsApi:
46
46
 
47
47
 
48
48
  @validate_call
49
- def add_firewall_rule_to_an_existing_firewall(
49
+ def add_rule_to_firewall(
50
50
  self,
51
51
  firewall_id: StrictInt,
52
52
  payload: CreateFirewallRulePayload,
@@ -93,7 +93,7 @@ class FirewallsApi:
93
93
  :return: Returns the result object.
94
94
  """ # noqa: E501
95
95
 
96
- _param = self._add_firewall_rule_to_an_existing_firewall_serialize(
96
+ _param = self._add_rule_to_firewall_serialize(
97
97
  firewall_id=firewall_id,
98
98
  payload=payload,
99
99
  _request_auth=_request_auth,
@@ -121,7 +121,7 @@ class FirewallsApi:
121
121
 
122
122
 
123
123
  @validate_call
124
- def add_firewall_rule_to_an_existing_firewall_with_http_info(
124
+ def add_rule_to_firewall_with_http_info(
125
125
  self,
126
126
  firewall_id: StrictInt,
127
127
  payload: CreateFirewallRulePayload,
@@ -168,7 +168,7 @@ class FirewallsApi:
168
168
  :return: Returns the result object.
169
169
  """ # noqa: E501
170
170
 
171
- _param = self._add_firewall_rule_to_an_existing_firewall_serialize(
171
+ _param = self._add_rule_to_firewall_serialize(
172
172
  firewall_id=firewall_id,
173
173
  payload=payload,
174
174
  _request_auth=_request_auth,
@@ -196,7 +196,7 @@ class FirewallsApi:
196
196
 
197
197
 
198
198
  @validate_call
199
- def add_firewall_rule_to_an_existing_firewall_without_preload_content(
199
+ def add_rule_to_firewall_without_preload_content(
200
200
  self,
201
201
  firewall_id: StrictInt,
202
202
  payload: CreateFirewallRulePayload,
@@ -243,7 +243,7 @@ class FirewallsApi:
243
243
  :return: Returns the result object.
244
244
  """ # noqa: E501
245
245
 
246
- _param = self._add_firewall_rule_to_an_existing_firewall_serialize(
246
+ _param = self._add_rule_to_firewall_serialize(
247
247
  firewall_id=firewall_id,
248
248
  payload=payload,
249
249
  _request_auth=_request_auth,
@@ -266,7 +266,7 @@ class FirewallsApi:
266
266
  return response_data.response
267
267
 
268
268
 
269
- def _add_firewall_rule_to_an_existing_firewall_serialize(
269
+ def _add_rule_to_firewall_serialize(
270
270
  self,
271
271
  firewall_id,
272
272
  payload,
@@ -347,7 +347,7 @@ class FirewallsApi:
347
347
 
348
348
 
349
349
  @validate_call
350
- def create_a_new_firewall(
350
+ def create_firewall(
351
351
  self,
352
352
  payload: CreateFirewallPayload,
353
353
  _request_timeout: Union[
@@ -391,7 +391,7 @@ class FirewallsApi:
391
391
  :return: Returns the result object.
392
392
  """ # noqa: E501
393
393
 
394
- _param = self._create_a_new_firewall_serialize(
394
+ _param = self._create_firewall_serialize(
395
395
  payload=payload,
396
396
  _request_auth=_request_auth,
397
397
  _content_type=_content_type,
@@ -420,7 +420,7 @@ class FirewallsApi:
420
420
 
421
421
 
422
422
  @validate_call
423
- def create_a_new_firewall_with_http_info(
423
+ def create_firewall_with_http_info(
424
424
  self,
425
425
  payload: CreateFirewallPayload,
426
426
  _request_timeout: Union[
@@ -464,7 +464,7 @@ class FirewallsApi:
464
464
  :return: Returns the result object.
465
465
  """ # noqa: E501
466
466
 
467
- _param = self._create_a_new_firewall_serialize(
467
+ _param = self._create_firewall_serialize(
468
468
  payload=payload,
469
469
  _request_auth=_request_auth,
470
470
  _content_type=_content_type,
@@ -493,7 +493,7 @@ class FirewallsApi:
493
493
 
494
494
 
495
495
  @validate_call
496
- def create_a_new_firewall_without_preload_content(
496
+ def create_firewall_without_preload_content(
497
497
  self,
498
498
  payload: CreateFirewallPayload,
499
499
  _request_timeout: Union[
@@ -537,7 +537,7 @@ class FirewallsApi:
537
537
  :return: Returns the result object.
538
538
  """ # noqa: E501
539
539
 
540
- _param = self._create_a_new_firewall_serialize(
540
+ _param = self._create_firewall_serialize(
541
541
  payload=payload,
542
542
  _request_auth=_request_auth,
543
543
  _content_type=_content_type,
@@ -561,7 +561,7 @@ class FirewallsApi:
561
561
  return response_data.response
562
562
 
563
563
 
564
- def _create_a_new_firewall_serialize(
564
+ def _create_firewall_serialize(
565
565
  self,
566
566
  payload,
567
567
  _request_auth,
@@ -918,7 +918,7 @@ class FirewallsApi:
918
918
 
919
919
 
920
920
  @validate_call
921
- def delete_firewall_rules_from_firewall(
921
+ def delete_rule_from_firewall(
922
922
  self,
923
923
  firewall_id: StrictInt,
924
924
  firewall_rule_id: StrictInt,
@@ -965,7 +965,7 @@ class FirewallsApi:
965
965
  :return: Returns the result object.
966
966
  """ # noqa: E501
967
967
 
968
- _param = self._delete_firewall_rules_from_firewall_serialize(
968
+ _param = self._delete_rule_from_firewall_serialize(
969
969
  firewall_id=firewall_id,
970
970
  firewall_rule_id=firewall_rule_id,
971
971
  _request_auth=_request_auth,
@@ -995,7 +995,7 @@ class FirewallsApi:
995
995
 
996
996
 
997
997
  @validate_call
998
- def delete_firewall_rules_from_firewall_with_http_info(
998
+ def delete_rule_from_firewall_with_http_info(
999
999
  self,
1000
1000
  firewall_id: StrictInt,
1001
1001
  firewall_rule_id: StrictInt,
@@ -1042,7 +1042,7 @@ class FirewallsApi:
1042
1042
  :return: Returns the result object.
1043
1043
  """ # noqa: E501
1044
1044
 
1045
- _param = self._delete_firewall_rules_from_firewall_serialize(
1045
+ _param = self._delete_rule_from_firewall_serialize(
1046
1046
  firewall_id=firewall_id,
1047
1047
  firewall_rule_id=firewall_rule_id,
1048
1048
  _request_auth=_request_auth,
@@ -1072,7 +1072,7 @@ class FirewallsApi:
1072
1072
 
1073
1073
 
1074
1074
  @validate_call
1075
- def delete_firewall_rules_from_firewall_without_preload_content(
1075
+ def delete_rule_from_firewall_without_preload_content(
1076
1076
  self,
1077
1077
  firewall_id: StrictInt,
1078
1078
  firewall_rule_id: StrictInt,
@@ -1119,7 +1119,7 @@ class FirewallsApi:
1119
1119
  :return: Returns the result object.
1120
1120
  """ # noqa: E501
1121
1121
 
1122
- _param = self._delete_firewall_rules_from_firewall_serialize(
1122
+ _param = self._delete_rule_from_firewall_serialize(
1123
1123
  firewall_id=firewall_id,
1124
1124
  firewall_rule_id=firewall_rule_id,
1125
1125
  _request_auth=_request_auth,
@@ -1144,7 +1144,7 @@ class FirewallsApi:
1144
1144
  return response_data.response
1145
1145
 
1146
1146
 
1147
- def _delete_firewall_rules_from_firewall_serialize(
1147
+ def _delete_rule_from_firewall_serialize(
1148
1148
  self,
1149
1149
  firewall_id,
1150
1150
  firewall_rule_id,
@@ -1212,12 +1212,9 @@ class FirewallsApi:
1212
1212
 
1213
1213
 
1214
1214
  @validate_call
1215
- def list_existing_firewalls(
1215
+ def get_firewall(
1216
1216
  self,
1217
- page: Optional[StrictInt] = None,
1218
- page_size: Optional[StrictInt] = None,
1219
- search: Optional[StrictStr] = None,
1220
- environment: Annotated[Optional[StrictStr], Field(description="Filter Environment ID or Name")] = None,
1217
+ id: StrictInt,
1221
1218
  _request_timeout: Union[
1222
1219
  None,
1223
1220
  Annotated[StrictFloat, Field(gt=0)],
@@ -1230,19 +1227,13 @@ class FirewallsApi:
1230
1227
  _content_type: Optional[StrictStr] = None,
1231
1228
  _headers: Optional[Dict[StrictStr, Any]] = None,
1232
1229
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1233
- ) -> FirewallsListResponse:
1234
- """List firewalls
1230
+ ) -> FirewallDetailResponse:
1231
+ """Retrieve firewall details
1235
1232
 
1236
- Retrieves a list of existing firewalls and their details, including the security rules they contain and information about the virtual machines to which they are attached. For more information about the firewalls features offered by Infrahub, [**click here**](https://docs...cloud/docs/network-security/security-groups).
1233
+ Retrieves the details of an existing firewall, including the security rules it contains and information about the virtual machines to which it is attached.
1237
1234
 
1238
- :param page:
1239
- :type page: int
1240
- :param page_size:
1241
- :type page_size: int
1242
- :param search:
1243
- :type search: str
1244
- :param environment: Filter Environment ID or Name
1245
- :type environment: str
1235
+ :param id: (required)
1236
+ :type id: int
1246
1237
  :param _request_timeout: timeout setting for this request. If one
1247
1238
  number provided, it will be total request
1248
1239
  timeout. It can also be a pair (tuple) of
@@ -1265,11 +1256,8 @@ class FirewallsApi:
1265
1256
  :return: Returns the result object.
1266
1257
  """ # noqa: E501
1267
1258
 
1268
- _param = self._list_existing_firewalls_serialize(
1269
- page=page,
1270
- page_size=page_size,
1271
- search=search,
1272
- environment=environment,
1259
+ _param = self._get_firewall_serialize(
1260
+ id=id,
1273
1261
  _request_auth=_request_auth,
1274
1262
  _content_type=_content_type,
1275
1263
  _headers=_headers,
@@ -1277,10 +1265,11 @@ class FirewallsApi:
1277
1265
  )
1278
1266
 
1279
1267
  _response_types_map: Dict[str, Optional[str]] = {
1280
- '200': "FirewallsListResponse",
1268
+ '200': "FirewallDetailResponse",
1281
1269
  '400': "ErrorResponseModel",
1282
1270
  '401': "ErrorResponseModel",
1283
1271
  '403': "ErrorResponseModel",
1272
+ '404': "ErrorResponseModel",
1284
1273
  '500': None,
1285
1274
  }
1286
1275
  response_data = self.api_client.call_api(
@@ -1295,12 +1284,9 @@ class FirewallsApi:
1295
1284
 
1296
1285
 
1297
1286
  @validate_call
1298
- def list_existing_firewalls_with_http_info(
1287
+ def get_firewall_with_http_info(
1299
1288
  self,
1300
- page: Optional[StrictInt] = None,
1301
- page_size: Optional[StrictInt] = None,
1302
- search: Optional[StrictStr] = None,
1303
- environment: Annotated[Optional[StrictStr], Field(description="Filter Environment ID or Name")] = None,
1289
+ id: StrictInt,
1304
1290
  _request_timeout: Union[
1305
1291
  None,
1306
1292
  Annotated[StrictFloat, Field(gt=0)],
@@ -1313,19 +1299,13 @@ class FirewallsApi:
1313
1299
  _content_type: Optional[StrictStr] = None,
1314
1300
  _headers: Optional[Dict[StrictStr, Any]] = None,
1315
1301
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1316
- ) -> ApiResponse[FirewallsListResponse]:
1317
- """List firewalls
1302
+ ) -> ApiResponse[FirewallDetailResponse]:
1303
+ """Retrieve firewall details
1318
1304
 
1319
- Retrieves a list of existing firewalls and their details, including the security rules they contain and information about the virtual machines to which they are attached. For more information about the firewalls features offered by Infrahub, [**click here**](https://docs...cloud/docs/network-security/security-groups).
1305
+ Retrieves the details of an existing firewall, including the security rules it contains and information about the virtual machines to which it is attached.
1320
1306
 
1321
- :param page:
1322
- :type page: int
1323
- :param page_size:
1324
- :type page_size: int
1325
- :param search:
1326
- :type search: str
1327
- :param environment: Filter Environment ID or Name
1328
- :type environment: str
1307
+ :param id: (required)
1308
+ :type id: int
1329
1309
  :param _request_timeout: timeout setting for this request. If one
1330
1310
  number provided, it will be total request
1331
1311
  timeout. It can also be a pair (tuple) of
@@ -1348,11 +1328,8 @@ class FirewallsApi:
1348
1328
  :return: Returns the result object.
1349
1329
  """ # noqa: E501
1350
1330
 
1351
- _param = self._list_existing_firewalls_serialize(
1352
- page=page,
1353
- page_size=page_size,
1354
- search=search,
1355
- environment=environment,
1331
+ _param = self._get_firewall_serialize(
1332
+ id=id,
1356
1333
  _request_auth=_request_auth,
1357
1334
  _content_type=_content_type,
1358
1335
  _headers=_headers,
@@ -1360,10 +1337,11 @@ class FirewallsApi:
1360
1337
  )
1361
1338
 
1362
1339
  _response_types_map: Dict[str, Optional[str]] = {
1363
- '200': "FirewallsListResponse",
1340
+ '200': "FirewallDetailResponse",
1364
1341
  '400': "ErrorResponseModel",
1365
1342
  '401': "ErrorResponseModel",
1366
1343
  '403': "ErrorResponseModel",
1344
+ '404': "ErrorResponseModel",
1367
1345
  '500': None,
1368
1346
  }
1369
1347
  response_data = self.api_client.call_api(
@@ -1378,12 +1356,9 @@ class FirewallsApi:
1378
1356
 
1379
1357
 
1380
1358
  @validate_call
1381
- def list_existing_firewalls_without_preload_content(
1359
+ def get_firewall_without_preload_content(
1382
1360
  self,
1383
- page: Optional[StrictInt] = None,
1384
- page_size: Optional[StrictInt] = None,
1385
- search: Optional[StrictStr] = None,
1386
- environment: Annotated[Optional[StrictStr], Field(description="Filter Environment ID or Name")] = None,
1361
+ id: StrictInt,
1387
1362
  _request_timeout: Union[
1388
1363
  None,
1389
1364
  Annotated[StrictFloat, Field(gt=0)],
@@ -1397,18 +1372,12 @@ class FirewallsApi:
1397
1372
  _headers: Optional[Dict[StrictStr, Any]] = None,
1398
1373
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1399
1374
  ) -> RESTResponseType:
1400
- """List firewalls
1375
+ """Retrieve firewall details
1401
1376
 
1402
- Retrieves a list of existing firewalls and their details, including the security rules they contain and information about the virtual machines to which they are attached. For more information about the firewalls features offered by Infrahub, [**click here**](https://docs...cloud/docs/network-security/security-groups).
1377
+ Retrieves the details of an existing firewall, including the security rules it contains and information about the virtual machines to which it is attached.
1403
1378
 
1404
- :param page:
1405
- :type page: int
1406
- :param page_size:
1407
- :type page_size: int
1408
- :param search:
1409
- :type search: str
1410
- :param environment: Filter Environment ID or Name
1411
- :type environment: str
1379
+ :param id: (required)
1380
+ :type id: int
1412
1381
  :param _request_timeout: timeout setting for this request. If one
1413
1382
  number provided, it will be total request
1414
1383
  timeout. It can also be a pair (tuple) of
@@ -1431,11 +1400,8 @@ class FirewallsApi:
1431
1400
  :return: Returns the result object.
1432
1401
  """ # noqa: E501
1433
1402
 
1434
- _param = self._list_existing_firewalls_serialize(
1435
- page=page,
1436
- page_size=page_size,
1437
- search=search,
1438
- environment=environment,
1403
+ _param = self._get_firewall_serialize(
1404
+ id=id,
1439
1405
  _request_auth=_request_auth,
1440
1406
  _content_type=_content_type,
1441
1407
  _headers=_headers,
@@ -1443,10 +1409,11 @@ class FirewallsApi:
1443
1409
  )
1444
1410
 
1445
1411
  _response_types_map: Dict[str, Optional[str]] = {
1446
- '200': "FirewallsListResponse",
1412
+ '200': "FirewallDetailResponse",
1447
1413
  '400': "ErrorResponseModel",
1448
1414
  '401': "ErrorResponseModel",
1449
1415
  '403': "ErrorResponseModel",
1416
+ '404': "ErrorResponseModel",
1450
1417
  '500': None,
1451
1418
  }
1452
1419
  response_data = self.api_client.call_api(
@@ -1456,12 +1423,9 @@ class FirewallsApi:
1456
1423
  return response_data.response
1457
1424
 
1458
1425
 
1459
- def _list_existing_firewalls_serialize(
1426
+ def _get_firewall_serialize(
1460
1427
  self,
1461
- page,
1462
- page_size,
1463
- search,
1464
- environment,
1428
+ id,
1465
1429
  _request_auth,
1466
1430
  _content_type,
1467
1431
  _headers,
@@ -1483,23 +1447,9 @@ class FirewallsApi:
1483
1447
  _body_params: Optional[bytes] = None
1484
1448
 
1485
1449
  # process the path parameters
1450
+ if id is not None:
1451
+ _path_params['id'] = id
1486
1452
  # process the query parameters
1487
- if page is not None:
1488
-
1489
- _query_params.append(('page', page))
1490
-
1491
- if page_size is not None:
1492
-
1493
- _query_params.append(('pageSize', page_size))
1494
-
1495
- if search is not None:
1496
-
1497
- _query_params.append(('search', search))
1498
-
1499
- if environment is not None:
1500
-
1501
- _query_params.append(('environment', environment))
1502
-
1503
1453
  # process the header parameters
1504
1454
  # process the form parameters
1505
1455
  # process the body parameter
@@ -1521,7 +1471,7 @@ class FirewallsApi:
1521
1471
 
1522
1472
  return self.api_client.param_serialize(
1523
1473
  method='GET',
1524
- resource_path='/core/firewalls',
1474
+ resource_path='/core/firewalls/{id}',
1525
1475
  path_params=_path_params,
1526
1476
  query_params=_query_params,
1527
1477
  header_params=_header_params,
@@ -1538,9 +1488,12 @@ class FirewallsApi:
1538
1488
 
1539
1489
 
1540
1490
  @validate_call
1541
- def retrieve_the_details_of_an_existing_firewall(
1491
+ def list_existing_firewalls(
1542
1492
  self,
1543
- id: StrictInt,
1493
+ page: Optional[StrictInt] = None,
1494
+ page_size: Optional[StrictInt] = None,
1495
+ search: Optional[StrictStr] = None,
1496
+ environment: Annotated[Optional[StrictStr], Field(description="Filter Environment ID or Name")] = None,
1544
1497
  _request_timeout: Union[
1545
1498
  None,
1546
1499
  Annotated[StrictFloat, Field(gt=0)],
@@ -1553,13 +1506,19 @@ class FirewallsApi:
1553
1506
  _content_type: Optional[StrictStr] = None,
1554
1507
  _headers: Optional[Dict[StrictStr, Any]] = None,
1555
1508
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1556
- ) -> FirewallDetailResponse:
1557
- """Retrieve firewall details
1509
+ ) -> FirewallsListResponse:
1510
+ """List firewalls
1558
1511
 
1559
- Retrieves the details of an existing firewall, including the security rules it contains and information about the virtual machines to which it is attached.
1512
+ Retrieves a list of existing firewalls and their details, including the security rules they contain and information about the virtual machines to which they are attached. For more information about the firewalls features offered by Infrahub, [**click here**](https://docs...cloud/docs/network-security/security-groups).
1560
1513
 
1561
- :param id: (required)
1562
- :type id: int
1514
+ :param page:
1515
+ :type page: int
1516
+ :param page_size:
1517
+ :type page_size: int
1518
+ :param search:
1519
+ :type search: str
1520
+ :param environment: Filter Environment ID or Name
1521
+ :type environment: str
1563
1522
  :param _request_timeout: timeout setting for this request. If one
1564
1523
  number provided, it will be total request
1565
1524
  timeout. It can also be a pair (tuple) of
@@ -1582,8 +1541,11 @@ class FirewallsApi:
1582
1541
  :return: Returns the result object.
1583
1542
  """ # noqa: E501
1584
1543
 
1585
- _param = self._retrieve_the_details_of_an_existing_firewall_serialize(
1586
- id=id,
1544
+ _param = self._list_existing_firewalls_serialize(
1545
+ page=page,
1546
+ page_size=page_size,
1547
+ search=search,
1548
+ environment=environment,
1587
1549
  _request_auth=_request_auth,
1588
1550
  _content_type=_content_type,
1589
1551
  _headers=_headers,
@@ -1591,11 +1553,10 @@ class FirewallsApi:
1591
1553
  )
1592
1554
 
1593
1555
  _response_types_map: Dict[str, Optional[str]] = {
1594
- '200': "FirewallDetailResponse",
1556
+ '200': "FirewallsListResponse",
1595
1557
  '400': "ErrorResponseModel",
1596
1558
  '401': "ErrorResponseModel",
1597
1559
  '403': "ErrorResponseModel",
1598
- '404': "ErrorResponseModel",
1599
1560
  '500': None,
1600
1561
  }
1601
1562
  response_data = self.api_client.call_api(
@@ -1610,9 +1571,12 @@ class FirewallsApi:
1610
1571
 
1611
1572
 
1612
1573
  @validate_call
1613
- def retrieve_the_details_of_an_existing_firewall_with_http_info(
1574
+ def list_existing_firewalls_with_http_info(
1614
1575
  self,
1615
- id: StrictInt,
1576
+ page: Optional[StrictInt] = None,
1577
+ page_size: Optional[StrictInt] = None,
1578
+ search: Optional[StrictStr] = None,
1579
+ environment: Annotated[Optional[StrictStr], Field(description="Filter Environment ID or Name")] = None,
1616
1580
  _request_timeout: Union[
1617
1581
  None,
1618
1582
  Annotated[StrictFloat, Field(gt=0)],
@@ -1625,13 +1589,19 @@ class FirewallsApi:
1625
1589
  _content_type: Optional[StrictStr] = None,
1626
1590
  _headers: Optional[Dict[StrictStr, Any]] = None,
1627
1591
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1628
- ) -> ApiResponse[FirewallDetailResponse]:
1629
- """Retrieve firewall details
1592
+ ) -> ApiResponse[FirewallsListResponse]:
1593
+ """List firewalls
1630
1594
 
1631
- Retrieves the details of an existing firewall, including the security rules it contains and information about the virtual machines to which it is attached.
1595
+ Retrieves a list of existing firewalls and their details, including the security rules they contain and information about the virtual machines to which they are attached. For more information about the firewalls features offered by Infrahub, [**click here**](https://docs...cloud/docs/network-security/security-groups).
1632
1596
 
1633
- :param id: (required)
1634
- :type id: int
1597
+ :param page:
1598
+ :type page: int
1599
+ :param page_size:
1600
+ :type page_size: int
1601
+ :param search:
1602
+ :type search: str
1603
+ :param environment: Filter Environment ID or Name
1604
+ :type environment: str
1635
1605
  :param _request_timeout: timeout setting for this request. If one
1636
1606
  number provided, it will be total request
1637
1607
  timeout. It can also be a pair (tuple) of
@@ -1654,8 +1624,11 @@ class FirewallsApi:
1654
1624
  :return: Returns the result object.
1655
1625
  """ # noqa: E501
1656
1626
 
1657
- _param = self._retrieve_the_details_of_an_existing_firewall_serialize(
1658
- id=id,
1627
+ _param = self._list_existing_firewalls_serialize(
1628
+ page=page,
1629
+ page_size=page_size,
1630
+ search=search,
1631
+ environment=environment,
1659
1632
  _request_auth=_request_auth,
1660
1633
  _content_type=_content_type,
1661
1634
  _headers=_headers,
@@ -1663,11 +1636,10 @@ class FirewallsApi:
1663
1636
  )
1664
1637
 
1665
1638
  _response_types_map: Dict[str, Optional[str]] = {
1666
- '200': "FirewallDetailResponse",
1639
+ '200': "FirewallsListResponse",
1667
1640
  '400': "ErrorResponseModel",
1668
1641
  '401': "ErrorResponseModel",
1669
1642
  '403': "ErrorResponseModel",
1670
- '404': "ErrorResponseModel",
1671
1643
  '500': None,
1672
1644
  }
1673
1645
  response_data = self.api_client.call_api(
@@ -1682,9 +1654,12 @@ class FirewallsApi:
1682
1654
 
1683
1655
 
1684
1656
  @validate_call
1685
- def retrieve_the_details_of_an_existing_firewall_without_preload_content(
1657
+ def list_existing_firewalls_without_preload_content(
1686
1658
  self,
1687
- id: StrictInt,
1659
+ page: Optional[StrictInt] = None,
1660
+ page_size: Optional[StrictInt] = None,
1661
+ search: Optional[StrictStr] = None,
1662
+ environment: Annotated[Optional[StrictStr], Field(description="Filter Environment ID or Name")] = None,
1688
1663
  _request_timeout: Union[
1689
1664
  None,
1690
1665
  Annotated[StrictFloat, Field(gt=0)],
@@ -1698,12 +1673,18 @@ class FirewallsApi:
1698
1673
  _headers: Optional[Dict[StrictStr, Any]] = None,
1699
1674
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1700
1675
  ) -> RESTResponseType:
1701
- """Retrieve firewall details
1676
+ """List firewalls
1702
1677
 
1703
- Retrieves the details of an existing firewall, including the security rules it contains and information about the virtual machines to which it is attached.
1678
+ Retrieves a list of existing firewalls and their details, including the security rules they contain and information about the virtual machines to which they are attached. For more information about the firewalls features offered by Infrahub, [**click here**](https://docs...cloud/docs/network-security/security-groups).
1704
1679
 
1705
- :param id: (required)
1706
- :type id: int
1680
+ :param page:
1681
+ :type page: int
1682
+ :param page_size:
1683
+ :type page_size: int
1684
+ :param search:
1685
+ :type search: str
1686
+ :param environment: Filter Environment ID or Name
1687
+ :type environment: str
1707
1688
  :param _request_timeout: timeout setting for this request. If one
1708
1689
  number provided, it will be total request
1709
1690
  timeout. It can also be a pair (tuple) of
@@ -1726,8 +1707,11 @@ class FirewallsApi:
1726
1707
  :return: Returns the result object.
1727
1708
  """ # noqa: E501
1728
1709
 
1729
- _param = self._retrieve_the_details_of_an_existing_firewall_serialize(
1730
- id=id,
1710
+ _param = self._list_existing_firewalls_serialize(
1711
+ page=page,
1712
+ page_size=page_size,
1713
+ search=search,
1714
+ environment=environment,
1731
1715
  _request_auth=_request_auth,
1732
1716
  _content_type=_content_type,
1733
1717
  _headers=_headers,
@@ -1735,11 +1719,10 @@ class FirewallsApi:
1735
1719
  )
1736
1720
 
1737
1721
  _response_types_map: Dict[str, Optional[str]] = {
1738
- '200': "FirewallDetailResponse",
1722
+ '200': "FirewallsListResponse",
1739
1723
  '400': "ErrorResponseModel",
1740
1724
  '401': "ErrorResponseModel",
1741
1725
  '403': "ErrorResponseModel",
1742
- '404': "ErrorResponseModel",
1743
1726
  '500': None,
1744
1727
  }
1745
1728
  response_data = self.api_client.call_api(
@@ -1749,9 +1732,12 @@ class FirewallsApi:
1749
1732
  return response_data.response
1750
1733
 
1751
1734
 
1752
- def _retrieve_the_details_of_an_existing_firewall_serialize(
1735
+ def _list_existing_firewalls_serialize(
1753
1736
  self,
1754
- id,
1737
+ page,
1738
+ page_size,
1739
+ search,
1740
+ environment,
1755
1741
  _request_auth,
1756
1742
  _content_type,
1757
1743
  _headers,
@@ -1773,9 +1759,23 @@ class FirewallsApi:
1773
1759
  _body_params: Optional[bytes] = None
1774
1760
 
1775
1761
  # process the path parameters
1776
- if id is not None:
1777
- _path_params['id'] = id
1778
1762
  # process the query parameters
1763
+ if page is not None:
1764
+
1765
+ _query_params.append(('page', page))
1766
+
1767
+ if page_size is not None:
1768
+
1769
+ _query_params.append(('pageSize', page_size))
1770
+
1771
+ if search is not None:
1772
+
1773
+ _query_params.append(('search', search))
1774
+
1775
+ if environment is not None:
1776
+
1777
+ _query_params.append(('environment', environment))
1778
+
1779
1779
  # process the header parameters
1780
1780
  # process the form parameters
1781
1781
  # process the body parameter
@@ -1797,7 +1797,7 @@ class FirewallsApi:
1797
1797
 
1798
1798
  return self.api_client.param_serialize(
1799
1799
  method='GET',
1800
- resource_path='/core/firewalls/{id}',
1800
+ resource_path='/core/firewalls',
1801
1801
  path_params=_path_params,
1802
1802
  query_params=_query_params,
1803
1803
  header_params=_header_params,