scc-firewall-manager-sdk 1.15.223__py3-none-any.whl → 1.15.225__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.

Potentially problematic release.


This version of scc-firewall-manager-sdk might be problematic. Click here for more details.

@@ -15,7 +15,7 @@
15
15
  """ # noqa: E501
16
16
 
17
17
 
18
- __version__ = "1.15.223"
18
+ __version__ = "1.15.225"
19
19
 
20
20
  # import apis into sdk package
21
21
  from scc_firewall_manager_sdk.api.ai_assistant_api import AIAssistantApi
@@ -142,6 +142,7 @@ from scc_firewall_manager_sdk.models.device_metadata import DeviceMetadata
142
142
  from scc_firewall_manager_sdk.models.device_page import DevicePage
143
143
  from scc_firewall_manager_sdk.models.device_patch_input import DevicePatchInput
144
144
  from scc_firewall_manager_sdk.models.device_role import DeviceRole
145
+ from scc_firewall_manager_sdk.models.device_upgrade_status_dto import DeviceUpgradeStatusDto
145
146
  from scc_firewall_manager_sdk.models.devices_patch_input import DevicesPatchInput
146
147
  from scc_firewall_manager_sdk.models.disk_health_metrics import DiskHealthMetrics
147
148
  from scc_firewall_manager_sdk.models.domain_settings import DomainSettings
@@ -230,6 +231,8 @@ from scc_firewall_manager_sdk.models.msp_managed_template_distinct_attribute_val
230
231
  from scc_firewall_manager_sdk.models.msp_managed_templates_page import MspManagedTemplatesPage
231
232
  from scc_firewall_manager_sdk.models.msp_managed_tenant import MspManagedTenant
232
233
  from scc_firewall_manager_sdk.models.msp_managed_tenant_page import MspManagedTenantPage
234
+ from scc_firewall_manager_sdk.models.msp_upgrade_run_dto import MspUpgradeRunDto
235
+ from scc_firewall_manager_sdk.models.msp_upgrade_run_dto_page import MspUpgradeRunDtoPage
233
236
  from scc_firewall_manager_sdk.models.network import Network
234
237
  from scc_firewall_manager_sdk.models.network_object_content import NetworkObjectContent
235
238
  from scc_firewall_manager_sdk.models.os import OS
@@ -288,6 +291,7 @@ from scc_firewall_manager_sdk.models.upgrade_compatibility_info_dto import Upgra
288
291
  from scc_firewall_manager_sdk.models.upgrade_ftd_device_input import UpgradeFtdDeviceInput
289
292
  from scc_firewall_manager_sdk.models.upgrade_ftd_devices_input import UpgradeFtdDevicesInput
290
293
  from scc_firewall_manager_sdk.models.upgrade_run_dto import UpgradeRunDto
294
+ from scc_firewall_manager_sdk.models.upgrade_run_metadata_dto import UpgradeRunMetadataDto
291
295
  from scc_firewall_manager_sdk.models.upgrade_run_modify_input import UpgradeRunModifyInput
292
296
  from scc_firewall_manager_sdk.models.url_object_content import UrlObjectContent
293
297
  from scc_firewall_manager_sdk.models.user import User
@@ -49,6 +49,276 @@ class DeviceUpgradesApi:
49
49
  self.api_client = api_client
50
50
 
51
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
+
52
322
  @validate_call
53
323
  def get_asa_upgrade_versions(
54
324
  self,
@@ -1499,6 +1769,7 @@ class DeviceUpgradesApi:
1499
1769
  def modify_device_upgrade_run(
1500
1770
  self,
1501
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.")],
1772
+ upgrade_run_modify_input: UpgradeRunModifyInput,
1502
1773
  _request_timeout: Union[
1503
1774
  None,
1504
1775
  Annotated[StrictFloat, Field(gt=0)],
@@ -1511,13 +1782,15 @@ class DeviceUpgradesApi:
1511
1782
  _content_type: Optional[StrictStr] = None,
1512
1783
  _headers: Optional[Dict[StrictStr, Any]] = None,
1513
1784
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1514
- ) -> None:
1515
- """Delete Device Upgrade Run
1785
+ ) -> FtdUpgradeRunDtoPage:
1786
+ """Modify Device Upgrade Run
1516
1787
 
1517
- 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.
1788
+ Modify 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.
1518
1789
 
1519
1790
  :param upgrade_run_uid: The unique identifier, represented as a UUID, of the FTD Device Upgrade Run in SCC Firewall Manager. (required)
1520
1791
  :type upgrade_run_uid: str
1792
+ :param upgrade_run_modify_input: (required)
1793
+ :type upgrade_run_modify_input: UpgradeRunModifyInput
1521
1794
  :param _request_timeout: timeout setting for this request. If one
1522
1795
  number provided, it will be total request
1523
1796
  timeout. It can also be a pair (tuple) of
@@ -1541,279 +1814,6 @@ class DeviceUpgradesApi:
1541
1814
  """ # noqa: E501
1542
1815
 
1543
1816
  _param = self._modify_device_upgrade_run_serialize(
1544
- upgrade_run_uid=upgrade_run_uid,
1545
- _request_auth=_request_auth,
1546
- _content_type=_content_type,
1547
- _headers=_headers,
1548
- _host_index=_host_index
1549
- )
1550
-
1551
- _response_types_map: Dict[str, Optional[str]] = {
1552
- '204': None,
1553
- '400': "CommonApiError",
1554
- '401': "AuthenticationError",
1555
- '403': "CommonApiError",
1556
- '500': "CommonApiError",
1557
- }
1558
- response_data = self.api_client.call_api(
1559
- *_param,
1560
- _request_timeout=_request_timeout
1561
- )
1562
- response_data.read()
1563
- return self.api_client.response_deserialize(
1564
- response_data=response_data,
1565
- response_types_map=_response_types_map,
1566
- ).data
1567
-
1568
-
1569
- @validate_call
1570
- def modify_device_upgrade_run_with_http_info(
1571
- self,
1572
- upgrade_run_uid: Annotated[StrictStr, Field(description="The unique identifier, represented as a UUID, of the FTD Device Upgrade Run in SCC Firewall Manager.")],
1573
- _request_timeout: Union[
1574
- None,
1575
- Annotated[StrictFloat, Field(gt=0)],
1576
- Tuple[
1577
- Annotated[StrictFloat, Field(gt=0)],
1578
- Annotated[StrictFloat, Field(gt=0)]
1579
- ]
1580
- ] = None,
1581
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
1582
- _content_type: Optional[StrictStr] = None,
1583
- _headers: Optional[Dict[StrictStr, Any]] = None,
1584
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1585
- ) -> ApiResponse[None]:
1586
- """Delete Device Upgrade Run
1587
-
1588
- 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.
1589
-
1590
- :param upgrade_run_uid: The unique identifier, represented as a UUID, of the FTD Device Upgrade Run in SCC Firewall Manager. (required)
1591
- :type upgrade_run_uid: str
1592
- :param _request_timeout: timeout setting for this request. If one
1593
- number provided, it will be total request
1594
- timeout. It can also be a pair (tuple) of
1595
- (connection, read) timeouts.
1596
- :type _request_timeout: int, tuple(int, int), optional
1597
- :param _request_auth: set to override the auth_settings for an a single
1598
- request; this effectively ignores the
1599
- authentication in the spec for a single request.
1600
- :type _request_auth: dict, optional
1601
- :param _content_type: force content-type for the request.
1602
- :type _content_type: str, Optional
1603
- :param _headers: set to override the headers for a single
1604
- request; this effectively ignores the headers
1605
- in the spec for a single request.
1606
- :type _headers: dict, optional
1607
- :param _host_index: set to override the host_index for a single
1608
- request; this effectively ignores the host_index
1609
- in the spec for a single request.
1610
- :type _host_index: int, optional
1611
- :return: Returns the result object.
1612
- """ # noqa: E501
1613
-
1614
- _param = self._modify_device_upgrade_run_serialize(
1615
- upgrade_run_uid=upgrade_run_uid,
1616
- _request_auth=_request_auth,
1617
- _content_type=_content_type,
1618
- _headers=_headers,
1619
- _host_index=_host_index
1620
- )
1621
-
1622
- _response_types_map: Dict[str, Optional[str]] = {
1623
- '204': None,
1624
- '400': "CommonApiError",
1625
- '401': "AuthenticationError",
1626
- '403': "CommonApiError",
1627
- '500': "CommonApiError",
1628
- }
1629
- response_data = self.api_client.call_api(
1630
- *_param,
1631
- _request_timeout=_request_timeout
1632
- )
1633
- response_data.read()
1634
- return self.api_client.response_deserialize(
1635
- response_data=response_data,
1636
- response_types_map=_response_types_map,
1637
- )
1638
-
1639
-
1640
- @validate_call
1641
- def modify_device_upgrade_run_without_preload_content(
1642
- self,
1643
- upgrade_run_uid: Annotated[StrictStr, Field(description="The unique identifier, represented as a UUID, of the FTD Device Upgrade Run in SCC Firewall Manager.")],
1644
- _request_timeout: Union[
1645
- None,
1646
- Annotated[StrictFloat, Field(gt=0)],
1647
- Tuple[
1648
- Annotated[StrictFloat, Field(gt=0)],
1649
- Annotated[StrictFloat, Field(gt=0)]
1650
- ]
1651
- ] = None,
1652
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
1653
- _content_type: Optional[StrictStr] = None,
1654
- _headers: Optional[Dict[StrictStr, Any]] = None,
1655
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1656
- ) -> RESTResponseType:
1657
- """Delete Device Upgrade Run
1658
-
1659
- 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.
1660
-
1661
- :param upgrade_run_uid: The unique identifier, represented as a UUID, of the FTD Device Upgrade Run in SCC Firewall Manager. (required)
1662
- :type upgrade_run_uid: str
1663
- :param _request_timeout: timeout setting for this request. If one
1664
- number provided, it will be total request
1665
- timeout. It can also be a pair (tuple) of
1666
- (connection, read) timeouts.
1667
- :type _request_timeout: int, tuple(int, int), optional
1668
- :param _request_auth: set to override the auth_settings for an a single
1669
- request; this effectively ignores the
1670
- authentication in the spec for a single request.
1671
- :type _request_auth: dict, optional
1672
- :param _content_type: force content-type for the request.
1673
- :type _content_type: str, Optional
1674
- :param _headers: set to override the headers for a single
1675
- request; this effectively ignores the headers
1676
- in the spec for a single request.
1677
- :type _headers: dict, optional
1678
- :param _host_index: set to override the host_index for a single
1679
- request; this effectively ignores the host_index
1680
- in the spec for a single request.
1681
- :type _host_index: int, optional
1682
- :return: Returns the result object.
1683
- """ # noqa: E501
1684
-
1685
- _param = self._modify_device_upgrade_run_serialize(
1686
- upgrade_run_uid=upgrade_run_uid,
1687
- _request_auth=_request_auth,
1688
- _content_type=_content_type,
1689
- _headers=_headers,
1690
- _host_index=_host_index
1691
- )
1692
-
1693
- _response_types_map: Dict[str, Optional[str]] = {
1694
- '204': None,
1695
- '400': "CommonApiError",
1696
- '401': "AuthenticationError",
1697
- '403': "CommonApiError",
1698
- '500': "CommonApiError",
1699
- }
1700
- response_data = self.api_client.call_api(
1701
- *_param,
1702
- _request_timeout=_request_timeout
1703
- )
1704
- return response_data.response
1705
-
1706
-
1707
- def _modify_device_upgrade_run_serialize(
1708
- self,
1709
- upgrade_run_uid,
1710
- _request_auth,
1711
- _content_type,
1712
- _headers,
1713
- _host_index,
1714
- ) -> RequestSerialized:
1715
-
1716
- _host = None
1717
-
1718
- _collection_formats: Dict[str, str] = {
1719
- }
1720
-
1721
- _path_params: Dict[str, str] = {}
1722
- _query_params: List[Tuple[str, str]] = []
1723
- _header_params: Dict[str, Optional[str]] = _headers or {}
1724
- _form_params: List[Tuple[str, str]] = []
1725
- _files: Dict[str, str] = {}
1726
- _body_params: Optional[bytes] = None
1727
-
1728
- # process the path parameters
1729
- if upgrade_run_uid is not None:
1730
- _path_params['upgradeRunUid'] = upgrade_run_uid
1731
- # process the query parameters
1732
- # process the header parameters
1733
- # process the form parameters
1734
- # process the body parameter
1735
-
1736
-
1737
- # set the HTTP header `Accept`
1738
- _header_params['Accept'] = self.api_client.select_header_accept(
1739
- [
1740
- 'application/json'
1741
- ]
1742
- )
1743
-
1744
-
1745
- # authentication setting
1746
- _auth_settings: List[str] = [
1747
- 'bearerAuth'
1748
- ]
1749
-
1750
- return self.api_client.param_serialize(
1751
- method='DELETE',
1752
- resource_path='/v1/inventory/devices/upgrades/runs/{upgradeRunUid}',
1753
- path_params=_path_params,
1754
- query_params=_query_params,
1755
- header_params=_header_params,
1756
- body=_body_params,
1757
- post_params=_form_params,
1758
- files=_files,
1759
- auth_settings=_auth_settings,
1760
- collection_formats=_collection_formats,
1761
- _host=_host,
1762
- _request_auth=_request_auth
1763
- )
1764
-
1765
-
1766
-
1767
-
1768
- @validate_call
1769
- def modify_device_upgrade_run1(
1770
- self,
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.")],
1772
- upgrade_run_modify_input: UpgradeRunModifyInput,
1773
- _request_timeout: Union[
1774
- None,
1775
- Annotated[StrictFloat, Field(gt=0)],
1776
- Tuple[
1777
- Annotated[StrictFloat, Field(gt=0)],
1778
- Annotated[StrictFloat, Field(gt=0)]
1779
- ]
1780
- ] = None,
1781
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
1782
- _content_type: Optional[StrictStr] = None,
1783
- _headers: Optional[Dict[StrictStr, Any]] = None,
1784
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1785
- ) -> FtdUpgradeRunDtoPage:
1786
- """Modify Device Upgrade Run
1787
-
1788
- Modify 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.
1789
-
1790
- :param upgrade_run_uid: The unique identifier, represented as a UUID, of the FTD Device Upgrade Run in SCC Firewall Manager. (required)
1791
- :type upgrade_run_uid: str
1792
- :param upgrade_run_modify_input: (required)
1793
- :type upgrade_run_modify_input: UpgradeRunModifyInput
1794
- :param _request_timeout: timeout setting for this request. If one
1795
- number provided, it will be total request
1796
- timeout. It can also be a pair (tuple) of
1797
- (connection, read) timeouts.
1798
- :type _request_timeout: int, tuple(int, int), optional
1799
- :param _request_auth: set to override the auth_settings for an a single
1800
- request; this effectively ignores the
1801
- authentication in the spec for a single request.
1802
- :type _request_auth: dict, optional
1803
- :param _content_type: force content-type for the request.
1804
- :type _content_type: str, Optional
1805
- :param _headers: set to override the headers for a single
1806
- request; this effectively ignores the headers
1807
- in the spec for a single request.
1808
- :type _headers: dict, optional
1809
- :param _host_index: set to override the host_index for a single
1810
- request; this effectively ignores the host_index
1811
- in the spec for a single request.
1812
- :type _host_index: int, optional
1813
- :return: Returns the result object.
1814
- """ # noqa: E501
1815
-
1816
- _param = self._modify_device_upgrade_run1_serialize(
1817
1817
  upgrade_run_uid=upgrade_run_uid,
1818
1818
  upgrade_run_modify_input=upgrade_run_modify_input,
1819
1819
  _request_auth=_request_auth,
@@ -1842,7 +1842,7 @@ class DeviceUpgradesApi:
1842
1842
 
1843
1843
 
1844
1844
  @validate_call
1845
- def modify_device_upgrade_run1_with_http_info(
1845
+ def modify_device_upgrade_run_with_http_info(
1846
1846
  self,
1847
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.")],
1848
1848
  upgrade_run_modify_input: UpgradeRunModifyInput,
@@ -1889,7 +1889,7 @@ class DeviceUpgradesApi:
1889
1889
  :return: Returns the result object.
1890
1890
  """ # noqa: E501
1891
1891
 
1892
- _param = self._modify_device_upgrade_run1_serialize(
1892
+ _param = self._modify_device_upgrade_run_serialize(
1893
1893
  upgrade_run_uid=upgrade_run_uid,
1894
1894
  upgrade_run_modify_input=upgrade_run_modify_input,
1895
1895
  _request_auth=_request_auth,
@@ -1918,7 +1918,7 @@ class DeviceUpgradesApi:
1918
1918
 
1919
1919
 
1920
1920
  @validate_call
1921
- def modify_device_upgrade_run1_without_preload_content(
1921
+ def modify_device_upgrade_run_without_preload_content(
1922
1922
  self,
1923
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.")],
1924
1924
  upgrade_run_modify_input: UpgradeRunModifyInput,
@@ -1965,7 +1965,7 @@ class DeviceUpgradesApi:
1965
1965
  :return: Returns the result object.
1966
1966
  """ # noqa: E501
1967
1967
 
1968
- _param = self._modify_device_upgrade_run1_serialize(
1968
+ _param = self._modify_device_upgrade_run_serialize(
1969
1969
  upgrade_run_uid=upgrade_run_uid,
1970
1970
  upgrade_run_modify_input=upgrade_run_modify_input,
1971
1971
  _request_auth=_request_auth,
@@ -1989,7 +1989,7 @@ class DeviceUpgradesApi:
1989
1989
  return response_data.response
1990
1990
 
1991
1991
 
1992
- def _modify_device_upgrade_run1_serialize(
1992
+ def _modify_device_upgrade_run_serialize(
1993
1993
  self,
1994
1994
  upgrade_run_uid,
1995
1995
  upgrade_run_modify_input,