scc-firewall-manager-sdk 1.15.308__py3-none-any.whl → 1.15.309__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.308"
18
+ __version__ = "1.15.309"
19
19
 
20
20
  # import apis into sdk package
21
21
  from scc_firewall_manager_sdk.api.ai_assistant_api import AIAssistantApi
@@ -150,6 +150,7 @@ from scc_firewall_manager_sdk.models.domain_settings import DomainSettings
150
150
  from scc_firewall_manager_sdk.models.duo_admin_panel_create_or_update_input import DuoAdminPanelCreateOrUpdateInput
151
151
  from scc_firewall_manager_sdk.models.duplex_type import DuplexType
152
152
  from scc_firewall_manager_sdk.models.duplicate_group_dto import DuplicateGroupDto
153
+ from scc_firewall_manager_sdk.models.enable_cd_fmc_for_tenant_request import EnableCdFmcForTenantRequest
153
154
  from scc_firewall_manager_sdk.models.entity import Entity
154
155
  from scc_firewall_manager_sdk.models.entity_type import EntityType
155
156
  from scc_firewall_manager_sdk.models.ether_channel_interface_create_input import EtherChannelInterfaceCreateInput
@@ -22,6 +22,7 @@ from typing import Optional
22
22
  from typing_extensions import Annotated
23
23
  from scc_firewall_manager_sdk.models.api_token_info import ApiTokenInfo
24
24
  from scc_firewall_manager_sdk.models.cdo_transaction import CdoTransaction
25
+ from scc_firewall_manager_sdk.models.enable_cd_fmc_for_tenant_request import EnableCdFmcForTenantRequest
25
26
  from scc_firewall_manager_sdk.models.msp_add_tenant_input import MspAddTenantInput
26
27
  from scc_firewall_manager_sdk.models.msp_create_tenant_input import MspCreateTenantInput
27
28
  from scc_firewall_manager_sdk.models.msp_managed_tenant import MspManagedTenant
@@ -2020,6 +2021,7 @@ class MSPTenantManagementApi:
2020
2021
  def provision_cd_fmc_for_tenant_in_msp_portal(
2021
2022
  self,
2022
2023
  tenant_uid: Annotated[StrictStr, Field(description="Unique identifier of the tenant that cdFMC provisioning will be enabled for.")],
2024
+ enable_cd_fmc_for_tenant_request: Optional[EnableCdFmcForTenantRequest] = None,
2023
2025
  _request_timeout: Union[
2024
2026
  None,
2025
2027
  Annotated[StrictFloat, Field(gt=0)],
@@ -2039,6 +2041,8 @@ class MSPTenantManagementApi:
2039
2041
 
2040
2042
  :param tenant_uid: Unique identifier of the tenant that cdFMC provisioning will be enabled for. (required)
2041
2043
  :type tenant_uid: str
2044
+ :param enable_cd_fmc_for_tenant_request:
2045
+ :type enable_cd_fmc_for_tenant_request: EnableCdFmcForTenantRequest
2042
2046
  :param _request_timeout: timeout setting for this request. If one
2043
2047
  number provided, it will be total request
2044
2048
  timeout. It can also be a pair (tuple) of
@@ -2063,6 +2067,7 @@ class MSPTenantManagementApi:
2063
2067
 
2064
2068
  _param = self._provision_cd_fmc_for_tenant_in_msp_portal_serialize(
2065
2069
  tenant_uid=tenant_uid,
2070
+ enable_cd_fmc_for_tenant_request=enable_cd_fmc_for_tenant_request,
2066
2071
  _request_auth=_request_auth,
2067
2072
  _content_type=_content_type,
2068
2073
  _headers=_headers,
@@ -2088,6 +2093,7 @@ class MSPTenantManagementApi:
2088
2093
  def provision_cd_fmc_for_tenant_in_msp_portal_with_http_info(
2089
2094
  self,
2090
2095
  tenant_uid: Annotated[StrictStr, Field(description="Unique identifier of the tenant that cdFMC provisioning will be enabled for.")],
2096
+ enable_cd_fmc_for_tenant_request: Optional[EnableCdFmcForTenantRequest] = None,
2091
2097
  _request_timeout: Union[
2092
2098
  None,
2093
2099
  Annotated[StrictFloat, Field(gt=0)],
@@ -2107,6 +2113,8 @@ class MSPTenantManagementApi:
2107
2113
 
2108
2114
  :param tenant_uid: Unique identifier of the tenant that cdFMC provisioning will be enabled for. (required)
2109
2115
  :type tenant_uid: str
2116
+ :param enable_cd_fmc_for_tenant_request:
2117
+ :type enable_cd_fmc_for_tenant_request: EnableCdFmcForTenantRequest
2110
2118
  :param _request_timeout: timeout setting for this request. If one
2111
2119
  number provided, it will be total request
2112
2120
  timeout. It can also be a pair (tuple) of
@@ -2131,6 +2139,7 @@ class MSPTenantManagementApi:
2131
2139
 
2132
2140
  _param = self._provision_cd_fmc_for_tenant_in_msp_portal_serialize(
2133
2141
  tenant_uid=tenant_uid,
2142
+ enable_cd_fmc_for_tenant_request=enable_cd_fmc_for_tenant_request,
2134
2143
  _request_auth=_request_auth,
2135
2144
  _content_type=_content_type,
2136
2145
  _headers=_headers,
@@ -2156,6 +2165,7 @@ class MSPTenantManagementApi:
2156
2165
  def provision_cd_fmc_for_tenant_in_msp_portal_without_preload_content(
2157
2166
  self,
2158
2167
  tenant_uid: Annotated[StrictStr, Field(description="Unique identifier of the tenant that cdFMC provisioning will be enabled for.")],
2168
+ enable_cd_fmc_for_tenant_request: Optional[EnableCdFmcForTenantRequest] = None,
2159
2169
  _request_timeout: Union[
2160
2170
  None,
2161
2171
  Annotated[StrictFloat, Field(gt=0)],
@@ -2175,6 +2185,8 @@ class MSPTenantManagementApi:
2175
2185
 
2176
2186
  :param tenant_uid: Unique identifier of the tenant that cdFMC provisioning will be enabled for. (required)
2177
2187
  :type tenant_uid: str
2188
+ :param enable_cd_fmc_for_tenant_request:
2189
+ :type enable_cd_fmc_for_tenant_request: EnableCdFmcForTenantRequest
2178
2190
  :param _request_timeout: timeout setting for this request. If one
2179
2191
  number provided, it will be total request
2180
2192
  timeout. It can also be a pair (tuple) of
@@ -2199,6 +2211,7 @@ class MSPTenantManagementApi:
2199
2211
 
2200
2212
  _param = self._provision_cd_fmc_for_tenant_in_msp_portal_serialize(
2201
2213
  tenant_uid=tenant_uid,
2214
+ enable_cd_fmc_for_tenant_request=enable_cd_fmc_for_tenant_request,
2202
2215
  _request_auth=_request_auth,
2203
2216
  _content_type=_content_type,
2204
2217
  _headers=_headers,
@@ -2219,6 +2232,7 @@ class MSPTenantManagementApi:
2219
2232
  def _provision_cd_fmc_for_tenant_in_msp_portal_serialize(
2220
2233
  self,
2221
2234
  tenant_uid,
2235
+ enable_cd_fmc_for_tenant_request,
2222
2236
  _request_auth,
2223
2237
  _content_type,
2224
2238
  _headers,
@@ -2244,6 +2258,8 @@ class MSPTenantManagementApi:
2244
2258
  # process the header parameters
2245
2259
  # process the form parameters
2246
2260
  # process the body parameter
2261
+ if enable_cd_fmc_for_tenant_request is not None:
2262
+ _body_params = enable_cd_fmc_for_tenant_request
2247
2263
 
2248
2264
 
2249
2265
  # set the HTTP header `Accept`
@@ -2253,6 +2269,19 @@ class MSPTenantManagementApi:
2253
2269
  ]
2254
2270
  )
2255
2271
 
2272
+ # set the HTTP header `Content-Type`
2273
+ if _content_type:
2274
+ _header_params['Content-Type'] = _content_type
2275
+ else:
2276
+ _default_content_type = (
2277
+ self.api_client.select_header_content_type(
2278
+ [
2279
+ 'application/json'
2280
+ ]
2281
+ )
2282
+ )
2283
+ if _default_content_type is not None:
2284
+ _header_params['Content-Type'] = _default_content_type
2256
2285
 
2257
2286
  # authentication setting
2258
2287
  _auth_settings: List[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.308/python'
91
+ self.user_agent = 'OpenAPI-Generator/1.15.309/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.308".\
383
+ "SDK Package Version: 1.15.309".\
384
384
  format(env=sys.platform, pyversion=sys.version)
385
385
 
386
386
  def get_host_settings(self):
@@ -107,6 +107,7 @@ from scc_firewall_manager_sdk.models.domain_settings import DomainSettings
107
107
  from scc_firewall_manager_sdk.models.duo_admin_panel_create_or_update_input import DuoAdminPanelCreateOrUpdateInput
108
108
  from scc_firewall_manager_sdk.models.duplex_type import DuplexType
109
109
  from scc_firewall_manager_sdk.models.duplicate_group_dto import DuplicateGroupDto
110
+ from scc_firewall_manager_sdk.models.enable_cd_fmc_for_tenant_request import EnableCdFmcForTenantRequest
110
111
  from scc_firewall_manager_sdk.models.entity import Entity
111
112
  from scc_firewall_manager_sdk.models.entity_type import EntityType
112
113
  from scc_firewall_manager_sdk.models.ether_channel_interface_create_input import EtherChannelInterfaceCreateInput
@@ -0,0 +1,88 @@
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
22
+ from typing import Any, ClassVar, Dict, List
23
+ from typing import Optional, Set
24
+ from typing_extensions import Self
25
+
26
+ class EnableCdFmcForTenantRequest(BaseModel):
27
+ """
28
+ EnableCdFmcForTenantRequest
29
+ """ # noqa: E501
30
+ dedicated_cd_fmc_instance: StrictBool = Field(alias="dedicatedCdFmcInstance")
31
+ __properties: ClassVar[List[str]] = ["dedicatedCdFmcInstance"]
32
+
33
+ model_config = ConfigDict(
34
+ populate_by_name=True,
35
+ validate_assignment=True,
36
+ protected_namespaces=(),
37
+ )
38
+
39
+
40
+ def to_str(self) -> str:
41
+ """Returns the string representation of the model using alias"""
42
+ return pprint.pformat(self.model_dump(by_alias=True))
43
+
44
+ def to_json(self) -> str:
45
+ """Returns the JSON representation of the model using alias"""
46
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
47
+ return json.dumps(self.to_dict())
48
+
49
+ @classmethod
50
+ def from_json(cls, json_str: str) -> Optional[Self]:
51
+ """Create an instance of EnableCdFmcForTenantRequest from a JSON string"""
52
+ return cls.from_dict(json.loads(json_str))
53
+
54
+ def to_dict(self) -> Dict[str, Any]:
55
+ """Return the dictionary representation of the model using alias.
56
+
57
+ This has the following differences from calling pydantic's
58
+ `self.model_dump(by_alias=True)`:
59
+
60
+ * `None` is only added to the output dict for nullable fields that
61
+ were set at model initialization. Other fields with value `None`
62
+ are ignored.
63
+ """
64
+ excluded_fields: Set[str] = set([
65
+ ])
66
+
67
+ _dict = self.model_dump(
68
+ by_alias=True,
69
+ exclude=excluded_fields,
70
+ exclude_none=True,
71
+ )
72
+ return _dict
73
+
74
+ @classmethod
75
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
76
+ """Create an instance of EnableCdFmcForTenantRequest from a dict"""
77
+ if obj is None:
78
+ return None
79
+
80
+ if not isinstance(obj, dict):
81
+ return cls.model_validate(obj)
82
+
83
+ _obj = cls.model_validate({
84
+ "dedicatedCdFmcInstance": obj.get("dedicatedCdFmcInstance")
85
+ })
86
+ return _obj
87
+
88
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: scc-firewall-manager-sdk
3
- Version: 1.15.308
3
+ Version: 1.15.309
4
4
  Summary: Cisco Security Cloud Control Firewall Manager API
5
5
  Home-page:
6
6
  Author: Cisco Security Cloud Control TAC
@@ -1,7 +1,7 @@
1
- scc_firewall_manager_sdk/__init__.py,sha256=KMJBelmm1oif4HEEGC38fKGaik2Xcox51b_Oh1NLS1s,23591
2
- scc_firewall_manager_sdk/api_client.py,sha256=HJyhd-ZFFZTLE7rlzCUdhDFJBN3MEIUlpktrmfJzUdQ,25921
1
+ scc_firewall_manager_sdk/__init__.py,sha256=oOBHulRxK7T0RirLbT9frrkTYwnbuMactNrT4AIwWg0,23696
2
+ scc_firewall_manager_sdk/api_client.py,sha256=OgCmwGUqlySDU6GrZOcRbGOY17t4KsfHxakAVyKn38U,25921
3
3
  scc_firewall_manager_sdk/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
4
- scc_firewall_manager_sdk/configuration.py,sha256=y9KQMBPzrSbGGshi5b9mIJB5L7WrX6EXxt0ee0Lhz_s,15993
4
+ scc_firewall_manager_sdk/configuration.py,sha256=jskNtWg4EURohLGP_jd6T9DzuCbE8yzzI4jXvZawSZI,15993
5
5
  scc_firewall_manager_sdk/exceptions.py,sha256=u5-7l5MRjP-aS2pNudBzqSw9OI4xVsIvUjw4WCA8LEk,6039
6
6
  scc_firewall_manager_sdk/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  scc_firewall_manager_sdk/rest.py,sha256=cSeilvAB5y-V_10IdXcZ0kOyv5dYW8jeWVhrD6kUDa0,9309
@@ -25,7 +25,7 @@ scc_firewall_manager_sdk/api/inventory_api.py,sha256=EJqDZzqBE4w_klxuo84rSYmrmbi
25
25
  scc_firewall_manager_sdk/api/meta_api.py,sha256=0T4mIpkOc0FyDIvEN5qhRQbKN4CzOM00_sRVY2oG59U,29963
26
26
  scc_firewall_manager_sdk/api/msp_device_upgrades_api.py,sha256=4aM0if2FEPAjwkSos46ge9IXJYZTajKEKmwHZyrH4vQ,83128
27
27
  scc_firewall_manager_sdk/api/msp_inventory_api.py,sha256=eLYqsv_7YNxQGLQLqEnWfSFPIJ8nWnuJQkZfxtGapxM,185473
28
- scc_firewall_manager_sdk/api/msp_tenant_management_api.py,sha256=u1Ljk5-A3JnMGyfGNVVyc1L2ll6I1m43hrLflbqvT5M,108920
28
+ scc_firewall_manager_sdk/api/msp_tenant_management_api.py,sha256=OE4LcSCFrAoJ-eeDoFO8aGzqfvoWb3QIQZ73X_5rdH4,110542
29
29
  scc_firewall_manager_sdk/api/msp_user_management_api.py,sha256=MPy-WAv52ziuUcrK_Tq_q38PN1pbpgfL5fdqzYP81S8,54797
30
30
  scc_firewall_manager_sdk/api/object_management_api.py,sha256=iA6PLnBbdWqEQms2qCD5xmj4J2_OIxUgnMvo1Yj1PFI,153196
31
31
  scc_firewall_manager_sdk/api/remote_access_monitoring_api.py,sha256=1uuvntEP_a5bSCIWNuvr7VcLM8pBiRqkvcb77JeHz8Q,86274
@@ -33,7 +33,7 @@ scc_firewall_manager_sdk/api/search_api.py,sha256=PonVl7RieSVsbCCVQOdqIA7vx2NCH5
33
33
  scc_firewall_manager_sdk/api/tenant_management_api.py,sha256=3PWPuirkaUck1VZex3w4Cg3qO05GF0f7xeiptaAc5zE,55069
34
34
  scc_firewall_manager_sdk/api/transactions_api.py,sha256=fz0Ko2bAXFpz0SM8psceOlcxq0gXnrnuTEhaX1E0QzA,23402
35
35
  scc_firewall_manager_sdk/api/users_api.py,sha256=MKuyXmxWLSqPBkfA7rUGZ1EO1Ox-Oge7QhhgzSFAVu8,191609
36
- scc_firewall_manager_sdk/models/__init__.py,sha256=GTULTJYmJZngHM7zdZzsN5dMmADm82prH5COJQec1n8,20853
36
+ scc_firewall_manager_sdk/models/__init__.py,sha256=EJrLv9-ouEiPPH5gvD03ByUnHhaoAsSVmXxg7XaJKGE,20958
37
37
  scc_firewall_manager_sdk/models/access_group.py,sha256=9FlXrDT5xhtk-uWuwgMmM-qAGiKZrpfnkphZuogGsHo,4583
38
38
  scc_firewall_manager_sdk/models/access_group_create_input.py,sha256=7tgCifqvqbwS2bZvS_PQdIV_ra_jiEbupJhyaHcG8ys,3930
39
39
  scc_firewall_manager_sdk/models/access_group_page.py,sha256=imWa0te5qmTpXfuE8W8YM3SG01MIn4ewbA-_N8kPKHk,3725
@@ -126,6 +126,7 @@ scc_firewall_manager_sdk/models/domain_settings.py,sha256=QqPTLHlNLd-PDoVqviIrU0
126
126
  scc_firewall_manager_sdk/models/duo_admin_panel_create_or_update_input.py,sha256=nmgFCqcA0LFkeFbmB3DE3qceQEClbundpnAYtCkcE8k,3828
127
127
  scc_firewall_manager_sdk/models/duplex_type.py,sha256=0LgOrgbIkCfW9FqD3Llb3htTbXgJz_pW0Q97PRNR0oI,820
128
128
  scc_firewall_manager_sdk/models/duplicate_group_dto.py,sha256=f1GJAHsWOJgUVtmlHZNDZzHKzOdfCLqqqv9DyxXWvZU,2960
129
+ scc_firewall_manager_sdk/models/enable_cd_fmc_for_tenant_request.py,sha256=uuu4L1jgtzXQQanCn0IkbsE-8NgPTHLgXn7L8YN3B_s,2715
129
130
  scc_firewall_manager_sdk/models/entity.py,sha256=p3wEYzEEHQIIK9wUIEFPA3N_i-YWi9a31n065QE6wBY,3443
130
131
  scc_firewall_manager_sdk/models/entity_type.py,sha256=NC11uNuD3IAgxcrMSDkxf1t1ImnFOP41XG1QqfqVJ4c,1450
131
132
  scc_firewall_manager_sdk/models/ether_channel_interface_create_input.py,sha256=8eqDG4OQLkQN83gYX_HQkK6KDUQbqz8P6QsBMyplzvA,6906
@@ -283,7 +284,7 @@ scc_firewall_manager_sdk/models/vlan_interface_create_input.py,sha256=AKUqPJw5ku
283
284
  scc_firewall_manager_sdk/models/vlan_interface_patch_input.py,sha256=srEFTyQykscNrWsbp8KGEzbmHC07_AU3DXjJ-7Be4zc,6054
284
285
  scc_firewall_manager_sdk/models/ztp_onboarding_input.py,sha256=HAgBTdocZeHGDZP_-9NyRtzP9E7BReGtiOmn4S3J-_g,5326
285
286
  scc_firewall_manager_sdk/models/ztp_onboarding_template_configuration.py,sha256=f9Z62yGFvz4QAQ07Z4bjfHLw2bRg46ccwoLuQ8q30TE,4808
286
- scc_firewall_manager_sdk-1.15.308.dist-info/METADATA,sha256=ePlhkEGumfcp5Syr_ZS5LeFPVRE1BT3u5Mh46kGCTj8,596
287
- scc_firewall_manager_sdk-1.15.308.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
288
- scc_firewall_manager_sdk-1.15.308.dist-info/top_level.txt,sha256=_g9WfFWGagKs6ULdfhEt8e7RXknpcp9_jA9ubIL4U3I,25
289
- scc_firewall_manager_sdk-1.15.308.dist-info/RECORD,,
287
+ scc_firewall_manager_sdk-1.15.309.dist-info/METADATA,sha256=FkJoYrv-iLeeQ_RAZcBN7f45hdS6VK0LNyCDOhXsnUI,596
288
+ scc_firewall_manager_sdk-1.15.309.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
289
+ scc_firewall_manager_sdk-1.15.309.dist-info/top_level.txt,sha256=_g9WfFWGagKs6ULdfhEt8e7RXknpcp9_jA9ubIL4U3I,25
290
+ scc_firewall_manager_sdk-1.15.309.dist-info/RECORD,,