scc-firewall-manager-sdk 1.15.287__py3-none-any.whl → 1.15.563__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 (50) hide show
  1. scc_firewall_manager_sdk/__init__.py +9 -1
  2. scc_firewall_manager_sdk/api/__init__.py +2 -0
  3. scc_firewall_manager_sdk/api/ai_assistant_api.py +12 -12
  4. scc_firewall_manager_sdk/api/asa_access_groups_api.py +12 -12
  5. scc_firewall_manager_sdk/api/asa_access_rules_api.py +12 -12
  6. scc_firewall_manager_sdk/api/asa_interfaces_api.py +72 -72
  7. scc_firewall_manager_sdk/api/audit_logs_api.py +12 -12
  8. scc_firewall_manager_sdk/api/change_requests_api.py +12 -12
  9. scc_firewall_manager_sdk/api/changelogs_api.py +12 -12
  10. scc_firewall_manager_sdk/api/command_line_interface_api.py +24 -24
  11. scc_firewall_manager_sdk/api/connectors_api.py +12 -313
  12. scc_firewall_manager_sdk/api/device_health_aggregations_api.py +6 -6
  13. scc_firewall_manager_sdk/api/device_upgrades_api.py +15 -15
  14. scc_firewall_manager_sdk/api/events_api.py +358 -0
  15. scc_firewall_manager_sdk/api/interface_health_aggregations_api.py +6 -6
  16. scc_firewall_manager_sdk/api/inventory_api.py +48 -48
  17. scc_firewall_manager_sdk/api/licensing_api.py +626 -0
  18. scc_firewall_manager_sdk/api/msp_device_upgrades_api.py +53 -24
  19. scc_firewall_manager_sdk/api/msp_inventory_api.py +48 -48
  20. scc_firewall_manager_sdk/api/msp_tenant_management_api.py +41 -12
  21. scc_firewall_manager_sdk/api/msp_user_management_api.py +24 -24
  22. scc_firewall_manager_sdk/api/remote_access_monitoring_api.py +24 -24
  23. scc_firewall_manager_sdk/api/tenant_management_api.py +21 -18
  24. scc_firewall_manager_sdk/api/users_api.py +30 -30
  25. scc_firewall_manager_sdk/api_client.py +1 -1
  26. scc_firewall_manager_sdk/configuration.py +1 -1
  27. scc_firewall_manager_sdk/models/__init__.py +6 -0
  28. scc_firewall_manager_sdk/models/access_group.py +1 -1
  29. scc_firewall_manager_sdk/models/cdo_transaction.py +12 -12
  30. scc_firewall_manager_sdk/models/common_api_error.py +3 -3
  31. scc_firewall_manager_sdk/models/completion_status_dto.py +104 -0
  32. scc_firewall_manager_sdk/models/device_license_dto.py +133 -0
  33. scc_firewall_manager_sdk/models/device_license_page.py +102 -0
  34. scc_firewall_manager_sdk/models/device_upgrade_status_dto.py +13 -7
  35. scc_firewall_manager_sdk/models/enable_cd_fmc_for_tenant_request.py +88 -0
  36. scc_firewall_manager_sdk/models/log_settings.py +1 -1
  37. scc_firewall_manager_sdk/models/msp_calculate_compatible_upgrade_versions_input.py +1 -1
  38. scc_firewall_manager_sdk/models/msp_managed_device.py +7 -1
  39. scc_firewall_manager_sdk/models/msp_managed_device_distinct_attribute_values.py +5 -1
  40. scc_firewall_manager_sdk/models/msp_upgrade_ftd_devices_input.py +97 -0
  41. scc_firewall_manager_sdk/models/msp_upgrade_run_dto.py +9 -9
  42. scc_firewall_manager_sdk/models/msp_upgrade_runs_attribute_values.py +18 -3
  43. scc_firewall_manager_sdk/models/smart_account.py +90 -0
  44. scc_firewall_manager_sdk/models/tenant_settings.py +3 -1
  45. scc_firewall_manager_sdk/models/upgrade_run_dto.py +1 -1
  46. scc_firewall_manager_sdk/models/upgrade_run_metadata_dto.py +1 -1
  47. {scc_firewall_manager_sdk-1.15.287.dist-info → scc_firewall_manager_sdk-1.15.563.dist-info}/METADATA +1 -1
  48. {scc_firewall_manager_sdk-1.15.287.dist-info → scc_firewall_manager_sdk-1.15.563.dist-info}/RECORD +50 -42
  49. {scc_firewall_manager_sdk-1.15.287.dist-info → scc_firewall_manager_sdk-1.15.563.dist-info}/WHEEL +0 -0
  50. {scc_firewall_manager_sdk-1.15.287.dist-info → scc_firewall_manager_sdk-1.15.563.dist-info}/top_level.txt +0 -0
@@ -2329,8 +2329,8 @@ class UsersApi:
2329
2329
  @validate_call
2330
2330
  def get_active_directory_groups(
2331
2331
  self,
2332
- limit: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="The number of results to retrieve.")] = None,
2333
- offset: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="The offset of the results retrieved. The Security Cloud Control API uses the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.")] = None,
2332
+ limit: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="Number of results to retrieve.")] = None,
2333
+ offset: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="Offset of the results retrieved. The Security Cloud Control APIs use the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.")] = None,
2334
2334
  q: Annotated[Optional[StrictStr], Field(description="The query to execute. Use the Lucene Query Syntax to construct your query.")] = None,
2335
2335
  _request_timeout: Union[
2336
2336
  None,
@@ -2349,9 +2349,9 @@ class UsersApi:
2349
2349
 
2350
2350
  Get a list of active directory groups associated with the Security Cloud Control tenant.
2351
2351
 
2352
- :param limit: The number of results to retrieve.
2352
+ :param limit: Number of results to retrieve.
2353
2353
  :type limit: str
2354
- :param offset: The offset of the results retrieved. The Security Cloud Control API uses the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.
2354
+ :param offset: Offset of the results retrieved. The Security Cloud Control APIs use the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.
2355
2355
  :type offset: str
2356
2356
  :param q: The query to execute. Use the Lucene Query Syntax to construct your query.
2357
2357
  :type q: str
@@ -2408,8 +2408,8 @@ class UsersApi:
2408
2408
  @validate_call
2409
2409
  def get_active_directory_groups_with_http_info(
2410
2410
  self,
2411
- limit: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="The number of results to retrieve.")] = None,
2412
- offset: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="The offset of the results retrieved. The Security Cloud Control API uses the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.")] = None,
2411
+ limit: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="Number of results to retrieve.")] = None,
2412
+ offset: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="Offset of the results retrieved. The Security Cloud Control APIs use the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.")] = None,
2413
2413
  q: Annotated[Optional[StrictStr], Field(description="The query to execute. Use the Lucene Query Syntax to construct your query.")] = None,
2414
2414
  _request_timeout: Union[
2415
2415
  None,
@@ -2428,9 +2428,9 @@ class UsersApi:
2428
2428
 
2429
2429
  Get a list of active directory groups associated with the Security Cloud Control tenant.
2430
2430
 
2431
- :param limit: The number of results to retrieve.
2431
+ :param limit: Number of results to retrieve.
2432
2432
  :type limit: str
2433
- :param offset: The offset of the results retrieved. The Security Cloud Control API uses the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.
2433
+ :param offset: Offset of the results retrieved. The Security Cloud Control APIs use the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.
2434
2434
  :type offset: str
2435
2435
  :param q: The query to execute. Use the Lucene Query Syntax to construct your query.
2436
2436
  :type q: str
@@ -2487,8 +2487,8 @@ class UsersApi:
2487
2487
  @validate_call
2488
2488
  def get_active_directory_groups_without_preload_content(
2489
2489
  self,
2490
- limit: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="The number of results to retrieve.")] = None,
2491
- offset: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="The offset of the results retrieved. The Security Cloud Control API uses the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.")] = None,
2490
+ limit: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="Number of results to retrieve.")] = None,
2491
+ offset: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="Offset of the results retrieved. The Security Cloud Control APIs use the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.")] = None,
2492
2492
  q: Annotated[Optional[StrictStr], Field(description="The query to execute. Use the Lucene Query Syntax to construct your query.")] = None,
2493
2493
  _request_timeout: Union[
2494
2494
  None,
@@ -2507,9 +2507,9 @@ class UsersApi:
2507
2507
 
2508
2508
  Get a list of active directory groups associated with the Security Cloud Control tenant.
2509
2509
 
2510
- :param limit: The number of results to retrieve.
2510
+ :param limit: Number of results to retrieve.
2511
2511
  :type limit: str
2512
- :param offset: The offset of the results retrieved. The Security Cloud Control API uses the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.
2512
+ :param offset: Offset of the results retrieved. The Security Cloud Control APIs use the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.
2513
2513
  :type offset: str
2514
2514
  :param q: The query to execute. Use the Lucene Query Syntax to construct your query.
2515
2515
  :type q: str
@@ -2635,8 +2635,8 @@ class UsersApi:
2635
2635
  @validate_call
2636
2636
  def get_api_only_users(
2637
2637
  self,
2638
- limit: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="The number of results to retrieve.")] = None,
2639
- offset: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="The offset of the results retrieved. The Security Cloud Control API uses the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.")] = None,
2638
+ limit: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="Number of results to retrieve.")] = None,
2639
+ offset: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="Offset of the results retrieved. The Security Cloud Control APIs use the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.")] = None,
2640
2640
  q: Annotated[Optional[StrictStr], Field(description="The query to execute. Use the Lucene Query Syntax to construct your query.")] = None,
2641
2641
  _request_timeout: Union[
2642
2642
  None,
@@ -2655,9 +2655,9 @@ class UsersApi:
2655
2655
 
2656
2656
  Get a list of API-only users associated with the Security Cloud Control Firewall Manager tenant.
2657
2657
 
2658
- :param limit: The number of results to retrieve.
2658
+ :param limit: Number of results to retrieve.
2659
2659
  :type limit: str
2660
- :param offset: The offset of the results retrieved. The Security Cloud Control API uses the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.
2660
+ :param offset: Offset of the results retrieved. The Security Cloud Control APIs use the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.
2661
2661
  :type offset: str
2662
2662
  :param q: The query to execute. Use the Lucene Query Syntax to construct your query.
2663
2663
  :type q: str
@@ -2714,8 +2714,8 @@ class UsersApi:
2714
2714
  @validate_call
2715
2715
  def get_api_only_users_with_http_info(
2716
2716
  self,
2717
- limit: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="The number of results to retrieve.")] = None,
2718
- offset: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="The offset of the results retrieved. The Security Cloud Control API uses the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.")] = None,
2717
+ limit: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="Number of results to retrieve.")] = None,
2718
+ offset: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="Offset of the results retrieved. The Security Cloud Control APIs use the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.")] = None,
2719
2719
  q: Annotated[Optional[StrictStr], Field(description="The query to execute. Use the Lucene Query Syntax to construct your query.")] = None,
2720
2720
  _request_timeout: Union[
2721
2721
  None,
@@ -2734,9 +2734,9 @@ class UsersApi:
2734
2734
 
2735
2735
  Get a list of API-only users associated with the Security Cloud Control Firewall Manager tenant.
2736
2736
 
2737
- :param limit: The number of results to retrieve.
2737
+ :param limit: Number of results to retrieve.
2738
2738
  :type limit: str
2739
- :param offset: The offset of the results retrieved. The Security Cloud Control API uses the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.
2739
+ :param offset: Offset of the results retrieved. The Security Cloud Control APIs use the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.
2740
2740
  :type offset: str
2741
2741
  :param q: The query to execute. Use the Lucene Query Syntax to construct your query.
2742
2742
  :type q: str
@@ -2793,8 +2793,8 @@ class UsersApi:
2793
2793
  @validate_call
2794
2794
  def get_api_only_users_without_preload_content(
2795
2795
  self,
2796
- limit: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="The number of results to retrieve.")] = None,
2797
- offset: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="The offset of the results retrieved. The Security Cloud Control API uses the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.")] = None,
2796
+ limit: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="Number of results to retrieve.")] = None,
2797
+ offset: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="Offset of the results retrieved. The Security Cloud Control APIs use the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.")] = None,
2798
2798
  q: Annotated[Optional[StrictStr], Field(description="The query to execute. Use the Lucene Query Syntax to construct your query.")] = None,
2799
2799
  _request_timeout: Union[
2800
2800
  None,
@@ -2813,9 +2813,9 @@ class UsersApi:
2813
2813
 
2814
2814
  Get a list of API-only users associated with the Security Cloud Control Firewall Manager tenant.
2815
2815
 
2816
- :param limit: The number of results to retrieve.
2816
+ :param limit: Number of results to retrieve.
2817
2817
  :type limit: str
2818
- :param offset: The offset of the results retrieved. The Security Cloud Control API uses the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.
2818
+ :param offset: Offset of the results retrieved. The Security Cloud Control APIs use the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.
2819
2819
  :type offset: str
2820
2820
  :param q: The query to execute. Use the Lucene Query Syntax to construct your query.
2821
2821
  :type q: str
@@ -3464,7 +3464,7 @@ class UsersApi:
3464
3464
  def get_users(
3465
3465
  self,
3466
3466
  limit: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="The number of results to retrieve.")] = None,
3467
- offset: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="The offset of the results retrieved. The Security Cloud Control API uses the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.")] = None,
3467
+ offset: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="Offset of the results retrieved. The Security Cloud Control APIs use the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.")] = None,
3468
3468
  q: Annotated[Optional[StrictStr], Field(description="The query to execute. Use the Lucene Query Syntax to construct your query.")] = None,
3469
3469
  _request_timeout: Union[
3470
3470
  None,
@@ -3485,7 +3485,7 @@ class UsersApi:
3485
3485
 
3486
3486
  :param limit: The number of results to retrieve.
3487
3487
  :type limit: str
3488
- :param offset: The offset of the results retrieved. The Security Cloud Control API uses the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.
3488
+ :param offset: Offset of the results retrieved. The Security Cloud Control APIs use the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.
3489
3489
  :type offset: str
3490
3490
  :param q: The query to execute. Use the Lucene Query Syntax to construct your query.
3491
3491
  :type q: str
@@ -3543,7 +3543,7 @@ class UsersApi:
3543
3543
  def get_users_with_http_info(
3544
3544
  self,
3545
3545
  limit: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="The number of results to retrieve.")] = None,
3546
- offset: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="The offset of the results retrieved. The Security Cloud Control API uses the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.")] = None,
3546
+ offset: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="Offset of the results retrieved. The Security Cloud Control APIs use the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.")] = None,
3547
3547
  q: Annotated[Optional[StrictStr], Field(description="The query to execute. Use the Lucene Query Syntax to construct your query.")] = None,
3548
3548
  _request_timeout: Union[
3549
3549
  None,
@@ -3564,7 +3564,7 @@ class UsersApi:
3564
3564
 
3565
3565
  :param limit: The number of results to retrieve.
3566
3566
  :type limit: str
3567
- :param offset: The offset of the results retrieved. The Security Cloud Control API uses the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.
3567
+ :param offset: Offset of the results retrieved. The Security Cloud Control APIs use the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.
3568
3568
  :type offset: str
3569
3569
  :param q: The query to execute. Use the Lucene Query Syntax to construct your query.
3570
3570
  :type q: str
@@ -3622,7 +3622,7 @@ class UsersApi:
3622
3622
  def get_users_without_preload_content(
3623
3623
  self,
3624
3624
  limit: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="The number of results to retrieve.")] = None,
3625
- offset: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="The offset of the results retrieved. The Security Cloud Control API uses the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.")] = None,
3625
+ offset: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="Offset of the results retrieved. The Security Cloud Control APIs use the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.")] = None,
3626
3626
  q: Annotated[Optional[StrictStr], Field(description="The query to execute. Use the Lucene Query Syntax to construct your query.")] = None,
3627
3627
  _request_timeout: Union[
3628
3628
  None,
@@ -3643,7 +3643,7 @@ class UsersApi:
3643
3643
 
3644
3644
  :param limit: The number of results to retrieve.
3645
3645
  :type limit: str
3646
- :param offset: The offset of the results retrieved. The Security Cloud Control API uses the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.
3646
+ :param offset: Offset of the results retrieved. The Security Cloud Control APIs use the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.
3647
3647
  :type offset: str
3648
3648
  :param q: The query to execute. Use the Lucene Query Syntax to construct your query.
3649
3649
  :type q: str
@@ -88,7 +88,7 @@ class ApiClient:
88
88
  self.default_headers[header_name] = header_value
89
89
  self.cookie = cookie
90
90
  # Set default User-Agent.
91
- self.user_agent = 'OpenAPI-Generator/1.15.287/python'
91
+ self.user_agent = 'OpenAPI-Generator/1.15.563/python'
92
92
  self.client_side_validation = configuration.client_side_validation
93
93
 
94
94
  def __enter__(self):
@@ -380,7 +380,7 @@ class Configuration:
380
380
  "OS: {env}\n"\
381
381
  "Python Version: {pyversion}\n"\
382
382
  "Version of the API: 1.15.0\n"\
383
- "SDK Package Version: 1.15.287".\
383
+ "SDK Package Version: 1.15.563".\
384
384
  format(env=sys.platform, pyversion=sys.version)
385
385
 
386
386
  def get_host_settings(self):
@@ -76,6 +76,7 @@ from scc_firewall_manager_sdk.models.command_response import CommandResponse
76
76
  from scc_firewall_manager_sdk.models.common_api_error import CommonApiError
77
77
  from scc_firewall_manager_sdk.models.compatible_device_dto import CompatibleDeviceDto
78
78
  from scc_firewall_manager_sdk.models.compatible_version_info_dto import CompatibleVersionInfoDto
79
+ from scc_firewall_manager_sdk.models.completion_status_dto import CompletionStatusDto
79
80
  from scc_firewall_manager_sdk.models.config_state import ConfigState
80
81
  from scc_firewall_manager_sdk.models.conflict_detection_interval import ConflictDetectionInterval
81
82
  from scc_firewall_manager_sdk.models.conflict_detection_state import ConflictDetectionState
@@ -94,6 +95,8 @@ from scc_firewall_manager_sdk.models.device_end_of_life_device_info import Devic
94
95
  from scc_firewall_manager_sdk.models.device_end_of_life_recommendation import DeviceEndOfLifeRecommendation
95
96
  from scc_firewall_manager_sdk.models.device_end_of_life_report import DeviceEndOfLifeReport
96
97
  from scc_firewall_manager_sdk.models.device_gateway_api_request import DeviceGatewayApiRequest
98
+ from scc_firewall_manager_sdk.models.device_license_dto import DeviceLicenseDto
99
+ from scc_firewall_manager_sdk.models.device_license_page import DeviceLicensePage
97
100
  from scc_firewall_manager_sdk.models.device_maintenance_window import DeviceMaintenanceWindow
98
101
  from scc_firewall_manager_sdk.models.device_manager_patch_input import DeviceManagerPatchInput
99
102
  from scc_firewall_manager_sdk.models.device_metadata import DeviceMetadata
@@ -107,6 +110,7 @@ from scc_firewall_manager_sdk.models.domain_settings import DomainSettings
107
110
  from scc_firewall_manager_sdk.models.duo_admin_panel_create_or_update_input import DuoAdminPanelCreateOrUpdateInput
108
111
  from scc_firewall_manager_sdk.models.duplex_type import DuplexType
109
112
  from scc_firewall_manager_sdk.models.duplicate_group_dto import DuplicateGroupDto
113
+ from scc_firewall_manager_sdk.models.enable_cd_fmc_for_tenant_request import EnableCdFmcForTenantRequest
110
114
  from scc_firewall_manager_sdk.models.entity import Entity
111
115
  from scc_firewall_manager_sdk.models.entity_type import EntityType
112
116
  from scc_firewall_manager_sdk.models.ether_channel_interface_create_input import EtherChannelInterfaceCreateInput
@@ -189,6 +193,7 @@ from scc_firewall_manager_sdk.models.msp_managed_template_distinct_attribute_val
189
193
  from scc_firewall_manager_sdk.models.msp_managed_templates_page import MspManagedTemplatesPage
190
194
  from scc_firewall_manager_sdk.models.msp_managed_tenant import MspManagedTenant
191
195
  from scc_firewall_manager_sdk.models.msp_managed_tenant_page import MspManagedTenantPage
196
+ from scc_firewall_manager_sdk.models.msp_upgrade_ftd_devices_input import MspUpgradeFtdDevicesInput
192
197
  from scc_firewall_manager_sdk.models.msp_upgrade_run_dto import MspUpgradeRunDto
193
198
  from scc_firewall_manager_sdk.models.msp_upgrade_run_dto_page import MspUpgradeRunDtoPage
194
199
  from scc_firewall_manager_sdk.models.msp_upgrade_runs_attribute_values import MspUpgradeRunsAttributeValues
@@ -223,6 +228,7 @@ from scc_firewall_manager_sdk.models.service_object_content import ServiceObject
223
228
  from scc_firewall_manager_sdk.models.service_object_value_content import ServiceObjectValueContent
224
229
  from scc_firewall_manager_sdk.models.shared_object_value import SharedObjectValue
225
230
  from scc_firewall_manager_sdk.models.single_content import SingleContent
231
+ from scc_firewall_manager_sdk.models.smart_account import SmartAccount
226
232
  from scc_firewall_manager_sdk.models.source_destination_ports_value import SourceDestinationPortsValue
227
233
  from scc_firewall_manager_sdk.models.source_dynamic_object_content import SourceDynamicObjectContent
228
234
  from scc_firewall_manager_sdk.models.source_network_content import SourceNetworkContent
@@ -34,7 +34,7 @@ class AccessGroup(BaseModel):
34
34
  is_shared: Optional[StrictBool] = Field(default=None, description="The flag that identifies if access group is shared.", alias="isShared")
35
35
  name: StrictStr = Field(description="The name of Access Group. Access Group names are unique in Security Cloud Control.")
36
36
  resources: Optional[List[Dict[str, Any]]] = Field(default=None, description="The set of of interface and direction pairs or global resource.")
37
- shared_access_group_uid: StrictStr = Field(description="The unique identifier, represented as a UUID, of the shared access group manager associated with the Access Group.", alias="sharedAccessGroupUid")
37
+ shared_access_group_uid: Optional[StrictStr] = Field(default=None, description="The unique identifier, represented as a UUID, of the shared access group manager associated with the Access Group.", alias="sharedAccessGroupUid")
38
38
  uid: StrictStr = Field(description="The unique identifier, represented as a UUID, of Access Group in Security Cloud Control.")
39
39
  updated_date: Optional[datetime] = Field(default=None, description="The time (in UTC) at which Access Group was updated, represented using the RFC-3339 standard.", alias="updatedDate")
40
40
  __properties: ClassVar[List[str]] = ["appliedTo", "createdDate", "entityUid", "isShared", "name", "resources", "sharedAccessGroupUid", "uid", "updatedDate"]
@@ -29,18 +29,18 @@ class CdoTransaction(BaseModel):
29
29
  CdoTransaction
30
30
  """ # noqa: E501
31
31
  cancellable: Optional[StrictBool] = None
32
- cdo_transaction_status: Optional[StrictStr] = Field(default=None, description="The status of the transaction", alias="cdoTransactionStatus")
33
- entity_uid: Optional[StrictStr] = Field(default=None, description="The unique identifier of the entity that the transaction is triggered on. This can be empty, for a transaction that is not tied to an entity, such as transactions which refresh RA VPN sessions.", alias="entityUid")
34
- entity_url: Optional[StrictStr] = Field(default=None, description="A URL to access the entity that the transaction is triggered on. This can also be empty", alias="entityUrl")
35
- error_details: Optional[Dict[str, StrictStr]] = Field(default=None, description="Transaction error details, if any", alias="errorDetails")
36
- error_message: Optional[StrictStr] = Field(default=None, description="Transaction error message, if any", alias="errorMessage")
37
- last_updated_time: Optional[datetime] = Field(default=None, description="The time (UTC; represented using the RFC-3339 standard) at which the transaction status was last updated", alias="lastUpdatedTime")
38
- submission_time: Optional[datetime] = Field(default=None, description="The time (UTC; represented using the RFC-3339 standard) at which the transaction was triggered", alias="submissionTime")
39
- tenant_uid: Optional[StrictStr] = Field(default=None, description="The unique identifier of the tenant that the transaction triggered on.", alias="tenantUid")
40
- transaction_details: Optional[Dict[str, StrictStr]] = Field(default=None, description="Transaction details, if any", alias="transactionDetails")
41
- transaction_polling_url: Optional[StrictStr] = Field(default=None, description="The URL to poll to track the progress of the transaction.", alias="transactionPollingUrl")
42
- transaction_type: Optional[StrictStr] = Field(default=None, description="the type of the transaction", alias="transactionType")
43
- transaction_uid: Optional[StrictStr] = Field(default=None, description="The unique identifier of the transaction triggered.", alias="transactionUid")
32
+ cdo_transaction_status: Optional[StrictStr] = Field(default=None, description="Status of the transaction.", alias="cdoTransactionStatus")
33
+ entity_uid: Optional[StrictStr] = Field(default=None, description="Unique identifier of the entity that the transaction is triggered on. This can be empty, for a transaction that is not tied to an entity, such as transactions which refresh RA VPN sessions.", alias="entityUid")
34
+ entity_url: Optional[StrictStr] = Field(default=None, description="URL to access the entity that the transaction is triggered on. This can be empty, for a transaction that is not tied to an entity, such as transactions which refresh RA VPN sessions.", alias="entityUrl")
35
+ error_details: Optional[Dict[str, StrictStr]] = Field(default=None, description="Transaction error details, if any.", alias="errorDetails")
36
+ error_message: Optional[StrictStr] = Field(default=None, description="Transaction error message, if any.", alias="errorMessage")
37
+ last_updated_time: Optional[datetime] = Field(default=None, description="Time (UTC; represented using the RFC-3339 standard) at which the transaction status was last updated.", alias="lastUpdatedTime")
38
+ submission_time: Optional[datetime] = Field(default=None, description="Time (UTC; represented using the RFC-3339 standard) at which the transaction was triggered.", alias="submissionTime")
39
+ tenant_uid: Optional[StrictStr] = Field(default=None, description="Unique identifier of the tenant that the transaction was triggered on.", alias="tenantUid")
40
+ transaction_details: Optional[Dict[str, StrictStr]] = Field(default=None, description="Transaction details, if any.", alias="transactionDetails")
41
+ transaction_polling_url: Optional[StrictStr] = Field(default=None, description="Polling URL to track the progress of the transaction.", alias="transactionPollingUrl")
42
+ transaction_type: Optional[StrictStr] = Field(default=None, description="Type of the transaction.", alias="transactionType")
43
+ transaction_uid: Optional[StrictStr] = Field(default=None, description="Unique identifier of the transaction triggered.", alias="transactionUid")
44
44
  __properties: ClassVar[List[str]] = ["cancellable", "cdoTransactionStatus", "entityUid", "entityUrl", "errorDetails", "errorMessage", "lastUpdatedTime", "submissionTime", "tenantUid", "transactionDetails", "transactionPollingUrl", "transactionType", "transactionUid"]
45
45
 
46
46
  @field_validator('cdo_transaction_status')
@@ -27,9 +27,9 @@ class CommonApiError(BaseModel):
27
27
  """
28
28
  CommonApiError
29
29
  """ # noqa: E501
30
- details: Optional[Dict[str, Dict[str, Any]]] = Field(default=None, description="Additional details, if any, on the error")
31
- error_code: Optional[StrictStr] = Field(default=None, description="A unique code that describes the error.", alias="errorCode")
32
- error_msg: Optional[StrictStr] = Field(default=None, description="A human-readable error description in English.", alias="errorMsg")
30
+ details: Optional[Dict[str, Dict[str, Any]]] = Field(default=None, description="Additional details, if any, about the error.")
31
+ error_code: Optional[StrictStr] = Field(default=None, description="Unique code that describes the error.", alias="errorCode")
32
+ error_msg: Optional[StrictStr] = Field(default=None, description="Human-readable error description in English.", alias="errorMsg")
33
33
  __properties: ClassVar[List[str]] = ["details", "errorCode", "errorMsg"]
34
34
 
35
35
  @field_validator('error_code')
@@ -0,0 +1,104 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Cisco Security Cloud Control Firewall Manager API
5
+
6
+ Use the documentation to explore the endpoints Security Cloud Control Firewall Manager has to offer
7
+
8
+ The version of the OpenAPI document: 1.15.0
9
+ Contact: cdo.tac@cisco.com
10
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
11
+
12
+ Do not edit the class manually.
13
+ """ # noqa: E501
14
+
15
+
16
+ from __future__ import annotations
17
+ import pprint
18
+ import re # noqa: F401
19
+ import json
20
+
21
+ from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr, field_validator
22
+ from typing import Any, ClassVar, Dict, List, Optional, Union
23
+ from typing import Optional, Set
24
+ from typing_extensions import Self
25
+
26
+ class CompletionStatusDto(BaseModel):
27
+ """
28
+ CompletionStatusDto
29
+ """ # noqa: E501
30
+ message: Optional[StrictStr] = Field(default=None, description="A message, indicating current progress, returned from the device.")
31
+ name: Optional[StrictStr] = Field(default=None, description="The name of the device. Note: this will be the name of the node on the cdFMC if the device is part of an HA pair or cluster.")
32
+ node_type: Optional[StrictStr] = Field(default=None, description="(HA Pairs and clusters only) The node type of the device.", alias="nodeType")
33
+ percentage_complete: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The percentage completion of the current task being performed", alias="percentageComplete")
34
+ __properties: ClassVar[List[str]] = ["message", "name", "nodeType", "percentageComplete"]
35
+
36
+ @field_validator('node_type')
37
+ def node_type_validate_enum(cls, value):
38
+ """Validates the enum"""
39
+ if value is None:
40
+ return value
41
+
42
+ if value not in set(['HA_PRIMARY', 'HA_SECONDARY', 'CLUSTER_CONTROL', 'CLUSTER_DATA']):
43
+ raise ValueError("must be one of enum values ('HA_PRIMARY', 'HA_SECONDARY', 'CLUSTER_CONTROL', 'CLUSTER_DATA')")
44
+ return value
45
+
46
+ model_config = ConfigDict(
47
+ populate_by_name=True,
48
+ validate_assignment=True,
49
+ protected_namespaces=(),
50
+ )
51
+
52
+
53
+ def to_str(self) -> str:
54
+ """Returns the string representation of the model using alias"""
55
+ return pprint.pformat(self.model_dump(by_alias=True))
56
+
57
+ def to_json(self) -> str:
58
+ """Returns the JSON representation of the model using alias"""
59
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
60
+ return json.dumps(self.to_dict())
61
+
62
+ @classmethod
63
+ def from_json(cls, json_str: str) -> Optional[Self]:
64
+ """Create an instance of CompletionStatusDto from a JSON string"""
65
+ return cls.from_dict(json.loads(json_str))
66
+
67
+ def to_dict(self) -> Dict[str, Any]:
68
+ """Return the dictionary representation of the model using alias.
69
+
70
+ This has the following differences from calling pydantic's
71
+ `self.model_dump(by_alias=True)`:
72
+
73
+ * `None` is only added to the output dict for nullable fields that
74
+ were set at model initialization. Other fields with value `None`
75
+ are ignored.
76
+ """
77
+ excluded_fields: Set[str] = set([
78
+ ])
79
+
80
+ _dict = self.model_dump(
81
+ by_alias=True,
82
+ exclude=excluded_fields,
83
+ exclude_none=True,
84
+ )
85
+ return _dict
86
+
87
+ @classmethod
88
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
89
+ """Create an instance of CompletionStatusDto from a dict"""
90
+ if obj is None:
91
+ return None
92
+
93
+ if not isinstance(obj, dict):
94
+ return cls.model_validate(obj)
95
+
96
+ _obj = cls.model_validate({
97
+ "message": obj.get("message"),
98
+ "name": obj.get("name"),
99
+ "nodeType": obj.get("nodeType"),
100
+ "percentageComplete": obj.get("percentageComplete")
101
+ })
102
+ return _obj
103
+
104
+
@@ -0,0 +1,133 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Cisco Security Cloud Control Firewall Manager API
5
+
6
+ Use the documentation to explore the endpoints Security Cloud Control Firewall Manager has to offer
7
+
8
+ The version of the OpenAPI document: 1.15.0
9
+ Contact: cdo.tac@cisco.com
10
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
11
+
12
+ Do not edit the class manually.
13
+ """ # noqa: E501
14
+
15
+
16
+ from __future__ import annotations
17
+ import pprint
18
+ import re # noqa: F401
19
+ import json
20
+
21
+ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator
22
+ from typing import Any, ClassVar, Dict, List, Optional
23
+ from scc_firewall_manager_sdk.models.entity_type import EntityType
24
+ from scc_firewall_manager_sdk.models.smart_account import SmartAccount
25
+ from typing import Optional, Set
26
+ from typing_extensions import Self
27
+
28
+ class DeviceLicenseDto(BaseModel):
29
+ """
30
+ DeviceLicenseDto
31
+ """ # noqa: E501
32
+ compliance_status: Optional[StrictStr] = Field(default=None, description="Indicates whether the license used on the device is currently compliant with Smart Licensing restrictions.", alias="complianceStatus")
33
+ device_type: Optional[EntityType] = Field(default=None, alias="deviceType")
34
+ is_evaluation_license_expired: Optional[StrictBool] = Field(default=None, description="Indicates if the evaluation license has expired. This field is only relevant if the license status is EVALUATION.", alias="isEvaluationLicenseExpired")
35
+ is_export_control_features_allowed: Optional[StrictBool] = Field(default=None, description="Indicates if the license enables the device to offer export-controlled functionality. If this is set to false, Cisco software features that are subject to national security, foreign policy, and anti-terrorism laws and regulations are disabled.", alias="isExportControlFeaturesAllowed")
36
+ license_status: Optional[StrictStr] = Field(default=None, description="The license status of the device.", alias="licenseStatus")
37
+ licenses: Optional[List[StrictStr]] = Field(default=None, description="The list of licenses enabled on the device.")
38
+ model_number: Optional[StrictStr] = Field(default=None, description="The hardware, or virtualized hardware platform, that the device is running on (ASA-only). This field can be missing in the case of a partially onboarded device.", alias="modelNumber")
39
+ name: Optional[StrictStr] = Field(default=None, description="The name of the device in CDO. Device names are unique in Security Cloud Control.")
40
+ serial: Optional[StrictStr] = Field(default=None, description="The serial number of the device.")
41
+ smart_account: Optional[SmartAccount] = Field(default=None, alias="smartAccount")
42
+ uid: Optional[StrictStr] = Field(default=None, description="The unique identifier, represented as a UUID, of the device in Security Cloud Control.")
43
+ __properties: ClassVar[List[str]] = ["complianceStatus", "deviceType", "isEvaluationLicenseExpired", "isExportControlFeaturesAllowed", "licenseStatus", "licenses", "modelNumber", "name", "serial", "smartAccount", "uid"]
44
+
45
+ @field_validator('compliance_status')
46
+ def compliance_status_validate_enum(cls, value):
47
+ """Validates the enum"""
48
+ if value is None:
49
+ return value
50
+
51
+ if value not in set(['IN_COMPLIANCE', 'OUT_OF_COMPLIANCE']):
52
+ raise ValueError("must be one of enum values ('IN_COMPLIANCE', 'OUT_OF_COMPLIANCE')")
53
+ return value
54
+
55
+ @field_validator('license_status')
56
+ def license_status_validate_enum(cls, value):
57
+ """Validates the enum"""
58
+ if value is None:
59
+ return value
60
+
61
+ if value not in set(['LICENSED', 'UNLICENSED', 'EVALUATION']):
62
+ raise ValueError("must be one of enum values ('LICENSED', 'UNLICENSED', 'EVALUATION')")
63
+ return value
64
+
65
+ model_config = ConfigDict(
66
+ populate_by_name=True,
67
+ validate_assignment=True,
68
+ protected_namespaces=(),
69
+ )
70
+
71
+
72
+ def to_str(self) -> str:
73
+ """Returns the string representation of the model using alias"""
74
+ return pprint.pformat(self.model_dump(by_alias=True))
75
+
76
+ def to_json(self) -> str:
77
+ """Returns the JSON representation of the model using alias"""
78
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
79
+ return json.dumps(self.to_dict())
80
+
81
+ @classmethod
82
+ def from_json(cls, json_str: str) -> Optional[Self]:
83
+ """Create an instance of DeviceLicenseDto from a JSON string"""
84
+ return cls.from_dict(json.loads(json_str))
85
+
86
+ def to_dict(self) -> Dict[str, Any]:
87
+ """Return the dictionary representation of the model using alias.
88
+
89
+ This has the following differences from calling pydantic's
90
+ `self.model_dump(by_alias=True)`:
91
+
92
+ * `None` is only added to the output dict for nullable fields that
93
+ were set at model initialization. Other fields with value `None`
94
+ are ignored.
95
+ """
96
+ excluded_fields: Set[str] = set([
97
+ ])
98
+
99
+ _dict = self.model_dump(
100
+ by_alias=True,
101
+ exclude=excluded_fields,
102
+ exclude_none=True,
103
+ )
104
+ # override the default output from pydantic by calling `to_dict()` of smart_account
105
+ if self.smart_account:
106
+ _dict['smartAccount'] = self.smart_account.to_dict()
107
+ return _dict
108
+
109
+ @classmethod
110
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
111
+ """Create an instance of DeviceLicenseDto from a dict"""
112
+ if obj is None:
113
+ return None
114
+
115
+ if not isinstance(obj, dict):
116
+ return cls.model_validate(obj)
117
+
118
+ _obj = cls.model_validate({
119
+ "complianceStatus": obj.get("complianceStatus"),
120
+ "deviceType": obj.get("deviceType"),
121
+ "isEvaluationLicenseExpired": obj.get("isEvaluationLicenseExpired"),
122
+ "isExportControlFeaturesAllowed": obj.get("isExportControlFeaturesAllowed"),
123
+ "licenseStatus": obj.get("licenseStatus"),
124
+ "licenses": obj.get("licenses"),
125
+ "modelNumber": obj.get("modelNumber"),
126
+ "name": obj.get("name"),
127
+ "serial": obj.get("serial"),
128
+ "smartAccount": SmartAccount.from_dict(obj["smartAccount"]) if obj.get("smartAccount") is not None else None,
129
+ "uid": obj.get("uid")
130
+ })
131
+ return _obj
132
+
133
+