scc-firewall-manager-sdk 1.15.195__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 (58) hide show
  1. scc_firewall_manager_sdk/__init__.py +19 -2
  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 -12
  12. scc_firewall_manager_sdk/api/device_health_aggregations_api.py +19 -19
  13. scc_firewall_manager_sdk/api/device_upgrades_api.py +298 -297
  14. scc_firewall_manager_sdk/api/events_api.py +358 -0
  15. scc_firewall_manager_sdk/api/interface_health_aggregations_api.py +344 -0
  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 +1692 -37
  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/object_management_api.py +17 -0
  23. scc_firewall_manager_sdk/api/remote_access_monitoring_api.py +24 -24
  24. scc_firewall_manager_sdk/api/tenant_management_api.py +21 -18
  25. scc_firewall_manager_sdk/api/users_api.py +30 -30
  26. scc_firewall_manager_sdk/api_client.py +1 -1
  27. scc_firewall_manager_sdk/configuration.py +1 -1
  28. scc_firewall_manager_sdk/models/__init__.py +16 -1
  29. scc_firewall_manager_sdk/models/access_group.py +1 -1
  30. scc_firewall_manager_sdk/models/cdo_token_info.py +3 -1
  31. scc_firewall_manager_sdk/models/cdo_transaction.py +14 -14
  32. scc_firewall_manager_sdk/models/common_api_error.py +3 -3
  33. scc_firewall_manager_sdk/models/compatible_device_dto.py +100 -0
  34. scc_firewall_manager_sdk/models/compatible_version_info_dto.py +112 -0
  35. scc_firewall_manager_sdk/models/completion_status_dto.py +104 -0
  36. scc_firewall_manager_sdk/models/device_license_dto.py +133 -0
  37. scc_firewall_manager_sdk/models/device_license_page.py +102 -0
  38. scc_firewall_manager_sdk/models/{tenant_ftd_compatibility_version.py → device_upgrade_status_dto.py} +14 -18
  39. scc_firewall_manager_sdk/models/enable_cd_fmc_for_tenant_request.py +88 -0
  40. scc_firewall_manager_sdk/models/log_settings.py +1 -1
  41. scc_firewall_manager_sdk/models/metric_aggregation_list_item.py +12 -8
  42. scc_firewall_manager_sdk/models/msp_calculate_compatible_upgrade_versions_input.py +89 -0
  43. scc_firewall_manager_sdk/models/msp_managed_device.py +13 -1
  44. scc_firewall_manager_sdk/models/msp_managed_device_distinct_attribute_values.py +5 -1
  45. scc_firewall_manager_sdk/models/msp_upgrade_ftd_devices_input.py +97 -0
  46. scc_firewall_manager_sdk/models/msp_upgrade_run_dto.py +135 -0
  47. scc_firewall_manager_sdk/models/msp_upgrade_run_dto_page.py +102 -0
  48. scc_firewall_manager_sdk/models/msp_upgrade_runs_attribute_values.py +114 -0
  49. scc_firewall_manager_sdk/models/page.py +94 -0
  50. scc_firewall_manager_sdk/models/smart_account.py +90 -0
  51. scc_firewall_manager_sdk/models/tenant_settings.py +3 -1
  52. scc_firewall_manager_sdk/models/upgrade_compatibility_info_dto.py +107 -0
  53. scc_firewall_manager_sdk/models/upgrade_run_dto.py +14 -4
  54. scc_firewall_manager_sdk/models/upgrade_run_metadata_dto.py +96 -0
  55. {scc_firewall_manager_sdk-1.15.195.dist-info → scc_firewall_manager_sdk-1.15.563.dist-info}/METADATA +1 -1
  56. {scc_firewall_manager_sdk-1.15.195.dist-info → scc_firewall_manager_sdk-1.15.563.dist-info}/RECORD +58 -41
  57. {scc_firewall_manager_sdk-1.15.195.dist-info → scc_firewall_manager_sdk-1.15.563.dist-info}/WHEEL +0 -0
  58. {scc_firewall_manager_sdk-1.15.195.dist-info → scc_firewall_manager_sdk-1.15.563.dist-info}/top_level.txt +0 -0
@@ -28,6 +28,7 @@ from scc_firewall_manager_sdk.models.ftd_versions_response import FtdVersionsRes
28
28
  from scc_firewall_manager_sdk.models.upgrade_asa_device_input import UpgradeAsaDeviceInput
29
29
  from scc_firewall_manager_sdk.models.upgrade_ftd_device_input import UpgradeFtdDeviceInput
30
30
  from scc_firewall_manager_sdk.models.upgrade_ftd_devices_input import UpgradeFtdDevicesInput
31
+ from scc_firewall_manager_sdk.models.upgrade_run_dto import UpgradeRunDto
31
32
  from scc_firewall_manager_sdk.models.upgrade_run_modify_input import UpgradeRunModifyInput
32
33
 
33
34
  from scc_firewall_manager_sdk.api_client import ApiClient, RequestSerialized
@@ -48,6 +49,276 @@ class DeviceUpgradesApi:
48
49
  self.api_client = api_client
49
50
 
50
51
 
52
+ @validate_call
53
+ def delete_device_upgrade_run(
54
+ self,
55
+ uid: Annotated[StrictStr, Field(description="The unique identifier, represented as a UUID, of the FTD Device Upgrade Run in SCC Firewall Manager.")],
56
+ _request_timeout: Union[
57
+ None,
58
+ Annotated[StrictFloat, Field(gt=0)],
59
+ Tuple[
60
+ Annotated[StrictFloat, Field(gt=0)],
61
+ Annotated[StrictFloat, Field(gt=0)]
62
+ ]
63
+ ] = None,
64
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
65
+ _content_type: Optional[StrictStr] = None,
66
+ _headers: Optional[Dict[StrictStr, Any]] = None,
67
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
68
+ ) -> None:
69
+ """Delete Device Upgrade Run
70
+
71
+ Delete a Device Upgrade Run by UID in the SCC Firewall Manager Tenant. Warning: if you delete an upgrade run currently in progress, you may end up allowing multiple upgrades to be triggered on devices.
72
+
73
+ :param uid: The unique identifier, represented as a UUID, of the FTD Device Upgrade Run in SCC Firewall Manager. (required)
74
+ :type uid: str
75
+ :param _request_timeout: timeout setting for this request. If one
76
+ number provided, it will be total request
77
+ timeout. It can also be a pair (tuple) of
78
+ (connection, read) timeouts.
79
+ :type _request_timeout: int, tuple(int, int), optional
80
+ :param _request_auth: set to override the auth_settings for an a single
81
+ request; this effectively ignores the
82
+ authentication in the spec for a single request.
83
+ :type _request_auth: dict, optional
84
+ :param _content_type: force content-type for the request.
85
+ :type _content_type: str, Optional
86
+ :param _headers: set to override the headers for a single
87
+ request; this effectively ignores the headers
88
+ in the spec for a single request.
89
+ :type _headers: dict, optional
90
+ :param _host_index: set to override the host_index for a single
91
+ request; this effectively ignores the host_index
92
+ in the spec for a single request.
93
+ :type _host_index: int, optional
94
+ :return: Returns the result object.
95
+ """ # noqa: E501
96
+
97
+ _param = self._delete_device_upgrade_run_serialize(
98
+ uid=uid,
99
+ _request_auth=_request_auth,
100
+ _content_type=_content_type,
101
+ _headers=_headers,
102
+ _host_index=_host_index
103
+ )
104
+
105
+ _response_types_map: Dict[str, Optional[str]] = {
106
+ '204': None,
107
+ '400': "CommonApiError",
108
+ '401': "AuthenticationError",
109
+ '403': "CommonApiError",
110
+ '500': "CommonApiError",
111
+ }
112
+ response_data = self.api_client.call_api(
113
+ *_param,
114
+ _request_timeout=_request_timeout
115
+ )
116
+ response_data.read()
117
+ return self.api_client.response_deserialize(
118
+ response_data=response_data,
119
+ response_types_map=_response_types_map,
120
+ ).data
121
+
122
+
123
+ @validate_call
124
+ def delete_device_upgrade_run_with_http_info(
125
+ self,
126
+ uid: Annotated[StrictStr, Field(description="The unique identifier, represented as a UUID, of the FTD Device Upgrade Run in SCC Firewall Manager.")],
127
+ _request_timeout: Union[
128
+ None,
129
+ Annotated[StrictFloat, Field(gt=0)],
130
+ Tuple[
131
+ Annotated[StrictFloat, Field(gt=0)],
132
+ Annotated[StrictFloat, Field(gt=0)]
133
+ ]
134
+ ] = None,
135
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
136
+ _content_type: Optional[StrictStr] = None,
137
+ _headers: Optional[Dict[StrictStr, Any]] = None,
138
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
139
+ ) -> ApiResponse[None]:
140
+ """Delete Device Upgrade Run
141
+
142
+ Delete a Device Upgrade Run by UID in the SCC Firewall Manager Tenant. Warning: if you delete an upgrade run currently in progress, you may end up allowing multiple upgrades to be triggered on devices.
143
+
144
+ :param uid: The unique identifier, represented as a UUID, of the FTD Device Upgrade Run in SCC Firewall Manager. (required)
145
+ :type uid: str
146
+ :param _request_timeout: timeout setting for this request. If one
147
+ number provided, it will be total request
148
+ timeout. It can also be a pair (tuple) of
149
+ (connection, read) timeouts.
150
+ :type _request_timeout: int, tuple(int, int), optional
151
+ :param _request_auth: set to override the auth_settings for an a single
152
+ request; this effectively ignores the
153
+ authentication in the spec for a single request.
154
+ :type _request_auth: dict, optional
155
+ :param _content_type: force content-type for the request.
156
+ :type _content_type: str, Optional
157
+ :param _headers: set to override the headers for a single
158
+ request; this effectively ignores the headers
159
+ in the spec for a single request.
160
+ :type _headers: dict, optional
161
+ :param _host_index: set to override the host_index for a single
162
+ request; this effectively ignores the host_index
163
+ in the spec for a single request.
164
+ :type _host_index: int, optional
165
+ :return: Returns the result object.
166
+ """ # noqa: E501
167
+
168
+ _param = self._delete_device_upgrade_run_serialize(
169
+ uid=uid,
170
+ _request_auth=_request_auth,
171
+ _content_type=_content_type,
172
+ _headers=_headers,
173
+ _host_index=_host_index
174
+ )
175
+
176
+ _response_types_map: Dict[str, Optional[str]] = {
177
+ '204': None,
178
+ '400': "CommonApiError",
179
+ '401': "AuthenticationError",
180
+ '403': "CommonApiError",
181
+ '500': "CommonApiError",
182
+ }
183
+ response_data = self.api_client.call_api(
184
+ *_param,
185
+ _request_timeout=_request_timeout
186
+ )
187
+ response_data.read()
188
+ return self.api_client.response_deserialize(
189
+ response_data=response_data,
190
+ response_types_map=_response_types_map,
191
+ )
192
+
193
+
194
+ @validate_call
195
+ def delete_device_upgrade_run_without_preload_content(
196
+ self,
197
+ uid: Annotated[StrictStr, Field(description="The unique identifier, represented as a UUID, of the FTD Device Upgrade Run in SCC Firewall Manager.")],
198
+ _request_timeout: Union[
199
+ None,
200
+ Annotated[StrictFloat, Field(gt=0)],
201
+ Tuple[
202
+ Annotated[StrictFloat, Field(gt=0)],
203
+ Annotated[StrictFloat, Field(gt=0)]
204
+ ]
205
+ ] = None,
206
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
207
+ _content_type: Optional[StrictStr] = None,
208
+ _headers: Optional[Dict[StrictStr, Any]] = None,
209
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
210
+ ) -> RESTResponseType:
211
+ """Delete Device Upgrade Run
212
+
213
+ Delete a Device Upgrade Run by UID in the SCC Firewall Manager Tenant. Warning: if you delete an upgrade run currently in progress, you may end up allowing multiple upgrades to be triggered on devices.
214
+
215
+ :param uid: The unique identifier, represented as a UUID, of the FTD Device Upgrade Run in SCC Firewall Manager. (required)
216
+ :type uid: str
217
+ :param _request_timeout: timeout setting for this request. If one
218
+ number provided, it will be total request
219
+ timeout. It can also be a pair (tuple) of
220
+ (connection, read) timeouts.
221
+ :type _request_timeout: int, tuple(int, int), optional
222
+ :param _request_auth: set to override the auth_settings for an a single
223
+ request; this effectively ignores the
224
+ authentication in the spec for a single request.
225
+ :type _request_auth: dict, optional
226
+ :param _content_type: force content-type for the request.
227
+ :type _content_type: str, Optional
228
+ :param _headers: set to override the headers for a single
229
+ request; this effectively ignores the headers
230
+ in the spec for a single request.
231
+ :type _headers: dict, optional
232
+ :param _host_index: set to override the host_index for a single
233
+ request; this effectively ignores the host_index
234
+ in the spec for a single request.
235
+ :type _host_index: int, optional
236
+ :return: Returns the result object.
237
+ """ # noqa: E501
238
+
239
+ _param = self._delete_device_upgrade_run_serialize(
240
+ uid=uid,
241
+ _request_auth=_request_auth,
242
+ _content_type=_content_type,
243
+ _headers=_headers,
244
+ _host_index=_host_index
245
+ )
246
+
247
+ _response_types_map: Dict[str, Optional[str]] = {
248
+ '204': None,
249
+ '400': "CommonApiError",
250
+ '401': "AuthenticationError",
251
+ '403': "CommonApiError",
252
+ '500': "CommonApiError",
253
+ }
254
+ response_data = self.api_client.call_api(
255
+ *_param,
256
+ _request_timeout=_request_timeout
257
+ )
258
+ return response_data.response
259
+
260
+
261
+ def _delete_device_upgrade_run_serialize(
262
+ self,
263
+ uid,
264
+ _request_auth,
265
+ _content_type,
266
+ _headers,
267
+ _host_index,
268
+ ) -> RequestSerialized:
269
+
270
+ _host = None
271
+
272
+ _collection_formats: Dict[str, str] = {
273
+ }
274
+
275
+ _path_params: Dict[str, str] = {}
276
+ _query_params: List[Tuple[str, str]] = []
277
+ _header_params: Dict[str, Optional[str]] = _headers or {}
278
+ _form_params: List[Tuple[str, str]] = []
279
+ _files: Dict[str, str] = {}
280
+ _body_params: Optional[bytes] = None
281
+
282
+ # process the path parameters
283
+ if uid is not None:
284
+ _path_params['uid'] = uid
285
+ # process the query parameters
286
+ # process the header parameters
287
+ # process the form parameters
288
+ # process the body parameter
289
+
290
+
291
+ # set the HTTP header `Accept`
292
+ _header_params['Accept'] = self.api_client.select_header_accept(
293
+ [
294
+ 'application/json'
295
+ ]
296
+ )
297
+
298
+
299
+ # authentication setting
300
+ _auth_settings: List[str] = [
301
+ 'bearerAuth'
302
+ ]
303
+
304
+ return self.api_client.param_serialize(
305
+ method='DELETE',
306
+ resource_path='/v1/inventory/devices/upgrades/runs/{uid}',
307
+ path_params=_path_params,
308
+ query_params=_query_params,
309
+ header_params=_header_params,
310
+ body=_body_params,
311
+ post_params=_form_params,
312
+ files=_files,
313
+ auth_settings=_auth_settings,
314
+ collection_formats=_collection_formats,
315
+ _host=_host,
316
+ _request_auth=_request_auth
317
+ )
318
+
319
+
320
+
321
+
51
322
  @validate_call
52
323
  def get_asa_upgrade_versions(
53
324
  self,
@@ -913,7 +1184,7 @@ class DeviceUpgradesApi:
913
1184
  _content_type: Optional[StrictStr] = None,
914
1185
  _headers: Optional[Dict[StrictStr, Any]] = None,
915
1186
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
916
- ) -> FtdUpgradeRunDtoPage:
1187
+ ) -> UpgradeRunDto:
917
1188
  """Get Device Upgrade Run
918
1189
 
919
1190
  Get a Device Upgrade Run by UID in the SCC Firewall Manager Tenant. Each upgrade run represents a group of devices being upgraded, or staged for upgrades, together.
@@ -951,7 +1222,7 @@ class DeviceUpgradesApi:
951
1222
  )
952
1223
 
953
1224
  _response_types_map: Dict[str, Optional[str]] = {
954
- '200': "FtdUpgradeRunDtoPage",
1225
+ '200': "UpgradeRunDto",
955
1226
  '400': "CommonApiError",
956
1227
  '401': "AuthenticationError",
957
1228
  '403': "CommonApiError",
@@ -985,7 +1256,7 @@ class DeviceUpgradesApi:
985
1256
  _content_type: Optional[StrictStr] = None,
986
1257
  _headers: Optional[Dict[StrictStr, Any]] = None,
987
1258
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
988
- ) -> ApiResponse[FtdUpgradeRunDtoPage]:
1259
+ ) -> ApiResponse[UpgradeRunDto]:
989
1260
  """Get Device Upgrade Run
990
1261
 
991
1262
  Get a Device Upgrade Run by UID in the SCC Firewall Manager Tenant. Each upgrade run represents a group of devices being upgraded, or staged for upgrades, together.
@@ -1023,7 +1294,7 @@ class DeviceUpgradesApi:
1023
1294
  )
1024
1295
 
1025
1296
  _response_types_map: Dict[str, Optional[str]] = {
1026
- '200': "FtdUpgradeRunDtoPage",
1297
+ '200': "UpgradeRunDto",
1027
1298
  '400': "CommonApiError",
1028
1299
  '401': "AuthenticationError",
1029
1300
  '403': "CommonApiError",
@@ -1095,7 +1366,7 @@ class DeviceUpgradesApi:
1095
1366
  )
1096
1367
 
1097
1368
  _response_types_map: Dict[str, Optional[str]] = {
1098
- '200': "FtdUpgradeRunDtoPage",
1369
+ '200': "UpgradeRunDto",
1099
1370
  '400': "CommonApiError",
1100
1371
  '401': "AuthenticationError",
1101
1372
  '403': "CommonApiError",
@@ -1173,8 +1444,8 @@ class DeviceUpgradesApi:
1173
1444
  @validate_call
1174
1445
  def get_device_upgrade_runs(
1175
1446
  self,
1176
- limit: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="The number of results to retrieve.")] = None,
1177
- 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,
1447
+ limit: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="Number of results to retrieve.")] = None,
1448
+ 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,
1178
1449
  q: Annotated[Optional[StrictStr], Field(description="The query to execute. Use the Lucene Query Syntax to construct your query.")] = None,
1179
1450
  sort: Annotated[Optional[List[StrictStr]], Field(description="The fields to sort results by.")] = None,
1180
1451
  _request_timeout: Union[
@@ -1192,11 +1463,11 @@ class DeviceUpgradesApi:
1192
1463
  ) -> FtdUpgradeRunDtoPage:
1193
1464
  """Get Device Upgrade Runs
1194
1465
 
1195
- Get a list of FTD device upgrade runs in the SCC Firewall Manager Tenant. Each upgrade run represents a group of devices being upgraded, or staged for upgrades, together.
1466
+ Get a list of device upgrade runs in the SCC Firewall Manager Tenant. Each upgrade run represents a group of devices being upgraded, or staged for upgrades, together.
1196
1467
 
1197
- :param limit: The number of results to retrieve.
1468
+ :param limit: Number of results to retrieve.
1198
1469
  :type limit: str
1199
- :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.
1470
+ :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.
1200
1471
  :type offset: str
1201
1472
  :param q: The query to execute. Use the Lucene Query Syntax to construct your query.
1202
1473
  :type q: str
@@ -1256,8 +1527,8 @@ class DeviceUpgradesApi:
1256
1527
  @validate_call
1257
1528
  def get_device_upgrade_runs_with_http_info(
1258
1529
  self,
1259
- limit: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="The number of results to retrieve.")] = None,
1260
- 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,
1530
+ limit: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="Number of results to retrieve.")] = None,
1531
+ 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,
1261
1532
  q: Annotated[Optional[StrictStr], Field(description="The query to execute. Use the Lucene Query Syntax to construct your query.")] = None,
1262
1533
  sort: Annotated[Optional[List[StrictStr]], Field(description="The fields to sort results by.")] = None,
1263
1534
  _request_timeout: Union[
@@ -1275,11 +1546,11 @@ class DeviceUpgradesApi:
1275
1546
  ) -> ApiResponse[FtdUpgradeRunDtoPage]:
1276
1547
  """Get Device Upgrade Runs
1277
1548
 
1278
- Get a list of FTD device upgrade runs in the SCC Firewall Manager Tenant. Each upgrade run represents a group of devices being upgraded, or staged for upgrades, together.
1549
+ Get a list of device upgrade runs in the SCC Firewall Manager Tenant. Each upgrade run represents a group of devices being upgraded, or staged for upgrades, together.
1279
1550
 
1280
- :param limit: The number of results to retrieve.
1551
+ :param limit: Number of results to retrieve.
1281
1552
  :type limit: str
1282
- :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.
1553
+ :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.
1283
1554
  :type offset: str
1284
1555
  :param q: The query to execute. Use the Lucene Query Syntax to construct your query.
1285
1556
  :type q: str
@@ -1339,8 +1610,8 @@ class DeviceUpgradesApi:
1339
1610
  @validate_call
1340
1611
  def get_device_upgrade_runs_without_preload_content(
1341
1612
  self,
1342
- limit: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="The number of results to retrieve.")] = None,
1343
- 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,
1613
+ limit: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="Number of results to retrieve.")] = None,
1614
+ 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,
1344
1615
  q: Annotated[Optional[StrictStr], Field(description="The query to execute. Use the Lucene Query Syntax to construct your query.")] = None,
1345
1616
  sort: Annotated[Optional[List[StrictStr]], Field(description="The fields to sort results by.")] = None,
1346
1617
  _request_timeout: Union[
@@ -1358,11 +1629,11 @@ class DeviceUpgradesApi:
1358
1629
  ) -> RESTResponseType:
1359
1630
  """Get Device Upgrade Runs
1360
1631
 
1361
- Get a list of FTD device upgrade runs in the SCC Firewall Manager Tenant. Each upgrade run represents a group of devices being upgraded, or staged for upgrades, together.
1632
+ Get a list of device upgrade runs in the SCC Firewall Manager Tenant. Each upgrade run represents a group of devices being upgraded, or staged for upgrades, together.
1362
1633
 
1363
- :param limit: The number of results to retrieve.
1634
+ :param limit: Number of results to retrieve.
1364
1635
  :type limit: str
1365
- :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.
1636
+ :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.
1366
1637
  :type offset: str
1367
1638
  :param q: The query to execute. Use the Lucene Query Syntax to construct your query.
1368
1639
  :type q: str
@@ -1498,277 +1769,7 @@ class DeviceUpgradesApi:
1498
1769
  def modify_device_upgrade_run(
1499
1770
  self,
1500
1771
  upgrade_run_uid: Annotated[StrictStr, Field(description="The unique identifier, represented as a UUID, of the FTD Device Upgrade Run in SCC Firewall Manager.")],
1501
- _request_timeout: Union[
1502
- None,
1503
- Annotated[StrictFloat, Field(gt=0)],
1504
- Tuple[
1505
- Annotated[StrictFloat, Field(gt=0)],
1506
- Annotated[StrictFloat, Field(gt=0)]
1507
- ]
1508
- ] = None,
1509
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
1510
- _content_type: Optional[StrictStr] = None,
1511
- _headers: Optional[Dict[StrictStr, Any]] = None,
1512
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1513
- ) -> None:
1514
- """Delete Device Upgrade Run
1515
-
1516
- Delete a Device Upgrade Run by UID in the SCC Firewall Manager Tenant. Warning: if you delete an upgrade run currently in progress, you may end up allowing multiple upgrades to be triggered on devices.
1517
-
1518
- :param upgrade_run_uid: The unique identifier, represented as a UUID, of the FTD Device Upgrade Run in SCC Firewall Manager. (required)
1519
- :type upgrade_run_uid: str
1520
- :param _request_timeout: timeout setting for this request. If one
1521
- number provided, it will be total request
1522
- timeout. It can also be a pair (tuple) of
1523
- (connection, read) timeouts.
1524
- :type _request_timeout: int, tuple(int, int), optional
1525
- :param _request_auth: set to override the auth_settings for an a single
1526
- request; this effectively ignores the
1527
- authentication in the spec for a single request.
1528
- :type _request_auth: dict, optional
1529
- :param _content_type: force content-type for the request.
1530
- :type _content_type: str, Optional
1531
- :param _headers: set to override the headers for a single
1532
- request; this effectively ignores the headers
1533
- in the spec for a single request.
1534
- :type _headers: dict, optional
1535
- :param _host_index: set to override the host_index for a single
1536
- request; this effectively ignores the host_index
1537
- in the spec for a single request.
1538
- :type _host_index: int, optional
1539
- :return: Returns the result object.
1540
- """ # noqa: E501
1541
-
1542
- _param = self._modify_device_upgrade_run_serialize(
1543
- upgrade_run_uid=upgrade_run_uid,
1544
- _request_auth=_request_auth,
1545
- _content_type=_content_type,
1546
- _headers=_headers,
1547
- _host_index=_host_index
1548
- )
1549
-
1550
- _response_types_map: Dict[str, Optional[str]] = {
1551
- '204': None,
1552
- '400': "CommonApiError",
1553
- '401': "AuthenticationError",
1554
- '403': "CommonApiError",
1555
- '500': "CommonApiError",
1556
- }
1557
- response_data = self.api_client.call_api(
1558
- *_param,
1559
- _request_timeout=_request_timeout
1560
- )
1561
- response_data.read()
1562
- return self.api_client.response_deserialize(
1563
- response_data=response_data,
1564
- response_types_map=_response_types_map,
1565
- ).data
1566
-
1567
-
1568
- @validate_call
1569
- def modify_device_upgrade_run_with_http_info(
1570
- self,
1571
- upgrade_run_uid: Annotated[StrictStr, Field(description="The unique identifier, represented as a UUID, of the FTD Device Upgrade Run in SCC Firewall Manager.")],
1572
- _request_timeout: Union[
1573
- None,
1574
- Annotated[StrictFloat, Field(gt=0)],
1575
- Tuple[
1576
- Annotated[StrictFloat, Field(gt=0)],
1577
- Annotated[StrictFloat, Field(gt=0)]
1578
- ]
1579
- ] = None,
1580
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
1581
- _content_type: Optional[StrictStr] = None,
1582
- _headers: Optional[Dict[StrictStr, Any]] = None,
1583
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1584
- ) -> ApiResponse[None]:
1585
- """Delete Device Upgrade Run
1586
-
1587
- Delete a Device Upgrade Run by UID in the SCC Firewall Manager Tenant. Warning: if you delete an upgrade run currently in progress, you may end up allowing multiple upgrades to be triggered on devices.
1588
-
1589
- :param upgrade_run_uid: The unique identifier, represented as a UUID, of the FTD Device Upgrade Run in SCC Firewall Manager. (required)
1590
- :type upgrade_run_uid: str
1591
- :param _request_timeout: timeout setting for this request. If one
1592
- number provided, it will be total request
1593
- timeout. It can also be a pair (tuple) of
1594
- (connection, read) timeouts.
1595
- :type _request_timeout: int, tuple(int, int), optional
1596
- :param _request_auth: set to override the auth_settings for an a single
1597
- request; this effectively ignores the
1598
- authentication in the spec for a single request.
1599
- :type _request_auth: dict, optional
1600
- :param _content_type: force content-type for the request.
1601
- :type _content_type: str, Optional
1602
- :param _headers: set to override the headers for a single
1603
- request; this effectively ignores the headers
1604
- in the spec for a single request.
1605
- :type _headers: dict, optional
1606
- :param _host_index: set to override the host_index for a single
1607
- request; this effectively ignores the host_index
1608
- in the spec for a single request.
1609
- :type _host_index: int, optional
1610
- :return: Returns the result object.
1611
- """ # noqa: E501
1612
-
1613
- _param = self._modify_device_upgrade_run_serialize(
1614
- upgrade_run_uid=upgrade_run_uid,
1615
- _request_auth=_request_auth,
1616
- _content_type=_content_type,
1617
- _headers=_headers,
1618
- _host_index=_host_index
1619
- )
1620
-
1621
- _response_types_map: Dict[str, Optional[str]] = {
1622
- '204': None,
1623
- '400': "CommonApiError",
1624
- '401': "AuthenticationError",
1625
- '403': "CommonApiError",
1626
- '500': "CommonApiError",
1627
- }
1628
- response_data = self.api_client.call_api(
1629
- *_param,
1630
- _request_timeout=_request_timeout
1631
- )
1632
- response_data.read()
1633
- return self.api_client.response_deserialize(
1634
- response_data=response_data,
1635
- response_types_map=_response_types_map,
1636
- )
1637
-
1638
-
1639
- @validate_call
1640
- def modify_device_upgrade_run_without_preload_content(
1641
- self,
1642
- upgrade_run_uid: Annotated[StrictStr, Field(description="The unique identifier, represented as a UUID, of the FTD Device Upgrade Run in SCC Firewall Manager.")],
1643
- _request_timeout: Union[
1644
- None,
1645
- Annotated[StrictFloat, Field(gt=0)],
1646
- Tuple[
1647
- Annotated[StrictFloat, Field(gt=0)],
1648
- Annotated[StrictFloat, Field(gt=0)]
1649
- ]
1650
- ] = None,
1651
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
1652
- _content_type: Optional[StrictStr] = None,
1653
- _headers: Optional[Dict[StrictStr, Any]] = None,
1654
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1655
- ) -> RESTResponseType:
1656
- """Delete Device Upgrade Run
1657
-
1658
- Delete a Device Upgrade Run by UID in the SCC Firewall Manager Tenant. Warning: if you delete an upgrade run currently in progress, you may end up allowing multiple upgrades to be triggered on devices.
1659
-
1660
- :param upgrade_run_uid: The unique identifier, represented as a UUID, of the FTD Device Upgrade Run in SCC Firewall Manager. (required)
1661
- :type upgrade_run_uid: str
1662
- :param _request_timeout: timeout setting for this request. If one
1663
- number provided, it will be total request
1664
- timeout. It can also be a pair (tuple) of
1665
- (connection, read) timeouts.
1666
- :type _request_timeout: int, tuple(int, int), optional
1667
- :param _request_auth: set to override the auth_settings for an a single
1668
- request; this effectively ignores the
1669
- authentication in the spec for a single request.
1670
- :type _request_auth: dict, optional
1671
- :param _content_type: force content-type for the request.
1672
- :type _content_type: str, Optional
1673
- :param _headers: set to override the headers for a single
1674
- request; this effectively ignores the headers
1675
- in the spec for a single request.
1676
- :type _headers: dict, optional
1677
- :param _host_index: set to override the host_index for a single
1678
- request; this effectively ignores the host_index
1679
- in the spec for a single request.
1680
- :type _host_index: int, optional
1681
- :return: Returns the result object.
1682
- """ # noqa: E501
1683
-
1684
- _param = self._modify_device_upgrade_run_serialize(
1685
- upgrade_run_uid=upgrade_run_uid,
1686
- _request_auth=_request_auth,
1687
- _content_type=_content_type,
1688
- _headers=_headers,
1689
- _host_index=_host_index
1690
- )
1691
-
1692
- _response_types_map: Dict[str, Optional[str]] = {
1693
- '204': None,
1694
- '400': "CommonApiError",
1695
- '401': "AuthenticationError",
1696
- '403': "CommonApiError",
1697
- '500': "CommonApiError",
1698
- }
1699
- response_data = self.api_client.call_api(
1700
- *_param,
1701
- _request_timeout=_request_timeout
1702
- )
1703
- return response_data.response
1704
-
1705
-
1706
- def _modify_device_upgrade_run_serialize(
1707
- self,
1708
- upgrade_run_uid,
1709
- _request_auth,
1710
- _content_type,
1711
- _headers,
1712
- _host_index,
1713
- ) -> RequestSerialized:
1714
-
1715
- _host = None
1716
-
1717
- _collection_formats: Dict[str, str] = {
1718
- }
1719
-
1720
- _path_params: Dict[str, str] = {}
1721
- _query_params: List[Tuple[str, str]] = []
1722
- _header_params: Dict[str, Optional[str]] = _headers or {}
1723
- _form_params: List[Tuple[str, str]] = []
1724
- _files: Dict[str, str] = {}
1725
- _body_params: Optional[bytes] = None
1726
-
1727
- # process the path parameters
1728
- if upgrade_run_uid is not None:
1729
- _path_params['upgradeRunUid'] = upgrade_run_uid
1730
- # process the query parameters
1731
- # process the header parameters
1732
- # process the form parameters
1733
- # process the body parameter
1734
-
1735
-
1736
- # set the HTTP header `Accept`
1737
- _header_params['Accept'] = self.api_client.select_header_accept(
1738
- [
1739
- 'application/json'
1740
- ]
1741
- )
1742
-
1743
-
1744
- # authentication setting
1745
- _auth_settings: List[str] = [
1746
- 'bearerAuth'
1747
- ]
1748
-
1749
- return self.api_client.param_serialize(
1750
- method='DELETE',
1751
- resource_path='/v1/inventory/devices/upgrades/runs/{upgradeRunUid}',
1752
- path_params=_path_params,
1753
- query_params=_query_params,
1754
- header_params=_header_params,
1755
- body=_body_params,
1756
- post_params=_form_params,
1757
- files=_files,
1758
- auth_settings=_auth_settings,
1759
- collection_formats=_collection_formats,
1760
- _host=_host,
1761
- _request_auth=_request_auth
1762
- )
1763
-
1764
-
1765
-
1766
-
1767
- @validate_call
1768
- def modify_device_upgrade_run1(
1769
- self,
1770
- upgrade_run_uid: Annotated[StrictStr, Field(description="The unique identifier, represented as a UUID, of the FTD Device Upgrade Run in SCC Firewall Manager.")],
1771
- upgrade_run_modify_input: UpgradeRunModifyInput,
1772
+ upgrade_run_modify_input: UpgradeRunModifyInput,
1772
1773
  _request_timeout: Union[
1773
1774
  None,
1774
1775
  Annotated[StrictFloat, Field(gt=0)],
@@ -1812,7 +1813,7 @@ class DeviceUpgradesApi:
1812
1813
  :return: Returns the result object.
1813
1814
  """ # noqa: E501
1814
1815
 
1815
- _param = self._modify_device_upgrade_run1_serialize(
1816
+ _param = self._modify_device_upgrade_run_serialize(
1816
1817
  upgrade_run_uid=upgrade_run_uid,
1817
1818
  upgrade_run_modify_input=upgrade_run_modify_input,
1818
1819
  _request_auth=_request_auth,
@@ -1841,7 +1842,7 @@ class DeviceUpgradesApi:
1841
1842
 
1842
1843
 
1843
1844
  @validate_call
1844
- def modify_device_upgrade_run1_with_http_info(
1845
+ def modify_device_upgrade_run_with_http_info(
1845
1846
  self,
1846
1847
  upgrade_run_uid: Annotated[StrictStr, Field(description="The unique identifier, represented as a UUID, of the FTD Device Upgrade Run in SCC Firewall Manager.")],
1847
1848
  upgrade_run_modify_input: UpgradeRunModifyInput,
@@ -1888,7 +1889,7 @@ class DeviceUpgradesApi:
1888
1889
  :return: Returns the result object.
1889
1890
  """ # noqa: E501
1890
1891
 
1891
- _param = self._modify_device_upgrade_run1_serialize(
1892
+ _param = self._modify_device_upgrade_run_serialize(
1892
1893
  upgrade_run_uid=upgrade_run_uid,
1893
1894
  upgrade_run_modify_input=upgrade_run_modify_input,
1894
1895
  _request_auth=_request_auth,
@@ -1917,7 +1918,7 @@ class DeviceUpgradesApi:
1917
1918
 
1918
1919
 
1919
1920
  @validate_call
1920
- def modify_device_upgrade_run1_without_preload_content(
1921
+ def modify_device_upgrade_run_without_preload_content(
1921
1922
  self,
1922
1923
  upgrade_run_uid: Annotated[StrictStr, Field(description="The unique identifier, represented as a UUID, of the FTD Device Upgrade Run in SCC Firewall Manager.")],
1923
1924
  upgrade_run_modify_input: UpgradeRunModifyInput,
@@ -1964,7 +1965,7 @@ class DeviceUpgradesApi:
1964
1965
  :return: Returns the result object.
1965
1966
  """ # noqa: E501
1966
1967
 
1967
- _param = self._modify_device_upgrade_run1_serialize(
1968
+ _param = self._modify_device_upgrade_run_serialize(
1968
1969
  upgrade_run_uid=upgrade_run_uid,
1969
1970
  upgrade_run_modify_input=upgrade_run_modify_input,
1970
1971
  _request_auth=_request_auth,
@@ -1988,7 +1989,7 @@ class DeviceUpgradesApi:
1988
1989
  return response_data.response
1989
1990
 
1990
1991
 
1991
- def _modify_device_upgrade_run1_serialize(
1992
+ def _modify_device_upgrade_run_serialize(
1992
1993
  self,
1993
1994
  upgrade_run_uid,
1994
1995
  upgrade_run_modify_input,