ignos-internal-api-client 20240208.0.8403__tar.gz → 20240617.0.9574__tar.gz
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.
- {ignos-internal-api-client-20240208.0.8403 → ignos_internal_api_client-20240617.0.9574}/PKG-INFO +3 -3
- {ignos-internal-api-client-20240208.0.8403 → ignos_internal_api_client-20240617.0.9574}/ignos/internal/api/client/_serialization.py +2 -2
- {ignos-internal-api-client-20240208.0.8403 → ignos_internal_api_client-20240617.0.9574}/ignos/internal/api/client/_version.py +1 -1
- {ignos-internal-api-client-20240208.0.8403 → ignos_internal_api_client-20240617.0.9574}/ignos/internal/api/client/aio/operations/_operations.py +89 -40
- {ignos-internal-api-client-20240208.0.8403 → ignos_internal_api_client-20240617.0.9574}/ignos/internal/api/client/models/_models.py +82 -48
- {ignos-internal-api-client-20240208.0.8403 → ignos_internal_api_client-20240617.0.9574}/ignos/internal/api/client/operations/_operations.py +95 -40
- {ignos-internal-api-client-20240208.0.8403 → ignos_internal_api_client-20240617.0.9574}/ignos_internal_api_client.egg-info/PKG-INFO +3 -3
- ignos_internal_api_client-20240617.0.9574/ignos_internal_api_client.egg-info/requires.txt +2 -0
- {ignos-internal-api-client-20240208.0.8403 → ignos_internal_api_client-20240617.0.9574}/setup.py +3 -3
- ignos-internal-api-client-20240208.0.8403/ignos_internal_api_client.egg-info/requires.txt +0 -2
- {ignos-internal-api-client-20240208.0.8403 → ignos_internal_api_client-20240617.0.9574}/ignos/__init__.py +0 -0
- {ignos-internal-api-client-20240208.0.8403 → ignos_internal_api_client-20240617.0.9574}/ignos/internal/__init__.py +0 -0
- {ignos-internal-api-client-20240208.0.8403 → ignos_internal_api_client-20240617.0.9574}/ignos/internal/api/__init__.py +0 -0
- {ignos-internal-api-client-20240208.0.8403 → ignos_internal_api_client-20240617.0.9574}/ignos/internal/api/client/__init__.py +0 -0
- {ignos-internal-api-client-20240208.0.8403 → ignos_internal_api_client-20240617.0.9574}/ignos/internal/api/client/_client.py +0 -0
- {ignos-internal-api-client-20240208.0.8403 → ignos_internal_api_client-20240617.0.9574}/ignos/internal/api/client/_configuration.py +0 -0
- {ignos-internal-api-client-20240208.0.8403 → ignos_internal_api_client-20240617.0.9574}/ignos/internal/api/client/_patch.py +0 -0
- {ignos-internal-api-client-20240208.0.8403 → ignos_internal_api_client-20240617.0.9574}/ignos/internal/api/client/aio/__init__.py +0 -0
- {ignos-internal-api-client-20240208.0.8403 → ignos_internal_api_client-20240617.0.9574}/ignos/internal/api/client/aio/_client.py +0 -0
- {ignos-internal-api-client-20240208.0.8403 → ignos_internal_api_client-20240617.0.9574}/ignos/internal/api/client/aio/_configuration.py +0 -0
- {ignos-internal-api-client-20240208.0.8403 → ignos_internal_api_client-20240617.0.9574}/ignos/internal/api/client/aio/_patch.py +0 -0
- {ignos-internal-api-client-20240208.0.8403 → ignos_internal_api_client-20240617.0.9574}/ignos/internal/api/client/aio/operations/__init__.py +0 -0
- {ignos-internal-api-client-20240208.0.8403 → ignos_internal_api_client-20240617.0.9574}/ignos/internal/api/client/aio/operations/_patch.py +0 -0
- {ignos-internal-api-client-20240208.0.8403 → ignos_internal_api_client-20240617.0.9574}/ignos/internal/api/client/models/__init__.py +0 -0
- {ignos-internal-api-client-20240208.0.8403 → ignos_internal_api_client-20240617.0.9574}/ignos/internal/api/client/models/_enums.py +0 -0
- {ignos-internal-api-client-20240208.0.8403 → ignos_internal_api_client-20240617.0.9574}/ignos/internal/api/client/models/_patch.py +0 -0
- {ignos-internal-api-client-20240208.0.8403 → ignos_internal_api_client-20240617.0.9574}/ignos/internal/api/client/operations/__init__.py +0 -0
- {ignos-internal-api-client-20240208.0.8403 → ignos_internal_api_client-20240617.0.9574}/ignos/internal/api/client/operations/_patch.py +0 -0
- {ignos-internal-api-client-20240208.0.8403 → ignos_internal_api_client-20240617.0.9574}/ignos/internal/api/client/py.typed +0 -0
- {ignos-internal-api-client-20240208.0.8403 → ignos_internal_api_client-20240617.0.9574}/ignos_internal_api_client.egg-info/SOURCES.txt +0 -0
- {ignos-internal-api-client-20240208.0.8403 → ignos_internal_api_client-20240617.0.9574}/ignos_internal_api_client.egg-info/dependency_links.txt +0 -0
- {ignos-internal-api-client-20240208.0.8403 → ignos_internal_api_client-20240617.0.9574}/ignos_internal_api_client.egg-info/top_level.txt +0 -0
- {ignos-internal-api-client-20240208.0.8403 → ignos_internal_api_client-20240617.0.9574}/setup.cfg +0 -0
{ignos-internal-api-client-20240208.0.8403 → ignos_internal_api_client-20240617.0.9574}/PKG-INFO
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ignos-internal-api-client
|
|
3
|
-
Version:
|
|
3
|
+
Version: 20240617.0.9574
|
|
4
4
|
Summary: ignos-internal-api-client
|
|
5
5
|
Home-page:
|
|
6
6
|
Author-email:
|
|
7
7
|
Keywords: azure,azure sdk
|
|
8
|
-
Requires-Dist: isodate
|
|
9
|
-
Requires-Dist: azure-core
|
|
8
|
+
Requires-Dist: isodate>=0.6.1
|
|
9
|
+
Requires-Dist: azure-core>=1.30.0
|
|
10
10
|
|
|
11
11
|
IgnosInternalApi.
|
|
12
12
|
|
|
@@ -1441,7 +1441,7 @@ class Deserializer(object):
|
|
|
1441
1441
|
elif isinstance(response, type) and issubclass(response, Enum):
|
|
1442
1442
|
return self.deserialize_enum(data, response)
|
|
1443
1443
|
|
|
1444
|
-
if data is None:
|
|
1444
|
+
if data is None or data is CoreNull:
|
|
1445
1445
|
return data
|
|
1446
1446
|
try:
|
|
1447
1447
|
attributes = response._attribute_map # type: ignore
|
|
@@ -1514,7 +1514,7 @@ class Deserializer(object):
|
|
|
1514
1514
|
return target, target
|
|
1515
1515
|
|
|
1516
1516
|
try:
|
|
1517
|
-
target = target._classify(data, self.dependencies)
|
|
1517
|
+
target = target._classify(data, self.dependencies) # type: ignore
|
|
1518
1518
|
except AttributeError:
|
|
1519
1519
|
pass # Target is not a Model, no classify
|
|
1520
1520
|
return target, target.__class__.__name__ # type: ignore
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
# --------------------------------------------------------------------------
|
|
9
9
|
import datetime
|
|
10
10
|
from io import IOBase
|
|
11
|
-
|
|
11
|
+
import sys
|
|
12
|
+
from typing import Any, Callable, Dict, IO, List, Optional, Type, TypeVar, Union, overload
|
|
12
13
|
|
|
13
14
|
from azure.core.exceptions import (
|
|
14
15
|
ClientAuthenticationError,
|
|
@@ -46,6 +47,7 @@ from ...operations._operations import (
|
|
|
46
47
|
build_customers_update_cdf_config_request,
|
|
47
48
|
build_customers_update_customer_request,
|
|
48
49
|
build_customers_update_tenant_request,
|
|
50
|
+
build_customers_update_tenants_request,
|
|
49
51
|
build_databases_update_databases_request,
|
|
50
52
|
build_erp_sync_delete_erp_sync_error_request,
|
|
51
53
|
build_erp_sync_get_stack_trace_request,
|
|
@@ -66,6 +68,10 @@ from ...operations._operations import (
|
|
|
66
68
|
build_user_get_user_request,
|
|
67
69
|
)
|
|
68
70
|
|
|
71
|
+
if sys.version_info >= (3, 9):
|
|
72
|
+
from collections.abc import MutableMapping
|
|
73
|
+
else:
|
|
74
|
+
from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
|
|
69
75
|
T = TypeVar("T")
|
|
70
76
|
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
|
|
71
77
|
|
|
@@ -99,7 +105,7 @@ class AppsOperations:
|
|
|
99
105
|
:rtype: list[~ignos.internal.api.client.models.AppDto]
|
|
100
106
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
101
107
|
"""
|
|
102
|
-
error_map = {
|
|
108
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
103
109
|
401: ClientAuthenticationError,
|
|
104
110
|
404: ResourceNotFoundError,
|
|
105
111
|
409: ResourceExistsError,
|
|
@@ -189,7 +195,7 @@ class AppsOperations:
|
|
|
189
195
|
:rtype: ~ignos.internal.api.client.models.AppDto
|
|
190
196
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
191
197
|
"""
|
|
192
|
-
error_map = {
|
|
198
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
193
199
|
401: ClientAuthenticationError,
|
|
194
200
|
404: ResourceNotFoundError,
|
|
195
201
|
409: ResourceExistsError,
|
|
@@ -305,7 +311,7 @@ class AppsOperations:
|
|
|
305
311
|
:rtype: ~ignos.internal.api.client.models.AppDto
|
|
306
312
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
307
313
|
"""
|
|
308
|
-
error_map = {
|
|
314
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
309
315
|
401: ClientAuthenticationError,
|
|
310
316
|
404: ResourceNotFoundError,
|
|
311
317
|
409: ResourceExistsError,
|
|
@@ -388,7 +394,7 @@ class AzureRegionsOperations:
|
|
|
388
394
|
:rtype: list[~ignos.internal.api.client.models.AzureRegionDto]
|
|
389
395
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
390
396
|
"""
|
|
391
|
-
error_map = {
|
|
397
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
392
398
|
401: ClientAuthenticationError,
|
|
393
399
|
404: ResourceNotFoundError,
|
|
394
400
|
409: ResourceExistsError,
|
|
@@ -455,7 +461,7 @@ class CdfClustersOperations:
|
|
|
455
461
|
:rtype: list[~ignos.internal.api.client.models.CdfClusterDto]
|
|
456
462
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
457
463
|
"""
|
|
458
|
-
error_map = {
|
|
464
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
459
465
|
401: ClientAuthenticationError,
|
|
460
466
|
404: ResourceNotFoundError,
|
|
461
467
|
409: ResourceExistsError,
|
|
@@ -539,7 +545,7 @@ class CdfClustersOperations:
|
|
|
539
545
|
:rtype: ~ignos.internal.api.client.models.CdfClusterDto
|
|
540
546
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
541
547
|
"""
|
|
542
|
-
error_map = {
|
|
548
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
543
549
|
401: ClientAuthenticationError,
|
|
544
550
|
404: ResourceNotFoundError,
|
|
545
551
|
409: ResourceExistsError,
|
|
@@ -650,7 +656,7 @@ class CdfClustersOperations:
|
|
|
650
656
|
:rtype: ~ignos.internal.api.client.models.CdfClusterDto
|
|
651
657
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
652
658
|
"""
|
|
653
|
-
error_map = {
|
|
659
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
654
660
|
401: ClientAuthenticationError,
|
|
655
661
|
404: ResourceNotFoundError,
|
|
656
662
|
409: ResourceExistsError,
|
|
@@ -733,7 +739,7 @@ class CountriesOperations:
|
|
|
733
739
|
:rtype: list[~ignos.internal.api.client.models.CountryDto]
|
|
734
740
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
735
741
|
"""
|
|
736
|
-
error_map = {
|
|
742
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
737
743
|
401: ClientAuthenticationError,
|
|
738
744
|
404: ResourceNotFoundError,
|
|
739
745
|
409: ResourceExistsError,
|
|
@@ -802,7 +808,7 @@ class CustomersOperations:
|
|
|
802
808
|
:rtype: list[~ignos.internal.api.client.models.IgnosCustomerDto]
|
|
803
809
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
804
810
|
"""
|
|
805
|
-
error_map = {
|
|
811
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
806
812
|
401: ClientAuthenticationError,
|
|
807
813
|
404: ResourceNotFoundError,
|
|
808
814
|
409: ResourceExistsError,
|
|
@@ -896,7 +902,7 @@ class CustomersOperations:
|
|
|
896
902
|
:rtype: ~ignos.internal.api.client.models.IgnosCustomerDto
|
|
897
903
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
898
904
|
"""
|
|
899
|
-
error_map = {
|
|
905
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
900
906
|
401: ClientAuthenticationError,
|
|
901
907
|
404: ResourceNotFoundError,
|
|
902
908
|
409: ResourceExistsError,
|
|
@@ -962,7 +968,7 @@ class CustomersOperations:
|
|
|
962
968
|
:rtype: ~ignos.internal.api.client.models.IgnosCustomerDto
|
|
963
969
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
964
970
|
"""
|
|
965
|
-
error_map = {
|
|
971
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
966
972
|
401: ClientAuthenticationError,
|
|
967
973
|
404: ResourceNotFoundError,
|
|
968
974
|
409: ResourceExistsError,
|
|
@@ -1064,7 +1070,7 @@ class CustomersOperations:
|
|
|
1064
1070
|
:rtype: ~ignos.internal.api.client.models.IgnosCustomerDto
|
|
1065
1071
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
1066
1072
|
"""
|
|
1067
|
-
error_map = {
|
|
1073
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
1068
1074
|
401: ClientAuthenticationError,
|
|
1069
1075
|
404: ResourceNotFoundError,
|
|
1070
1076
|
409: ResourceExistsError,
|
|
@@ -1131,7 +1137,7 @@ class CustomersOperations:
|
|
|
1131
1137
|
:rtype: list[~ignos.internal.api.client.models.TenantDto]
|
|
1132
1138
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
1133
1139
|
"""
|
|
1134
|
-
error_map = {
|
|
1140
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
1135
1141
|
401: ClientAuthenticationError,
|
|
1136
1142
|
404: ResourceNotFoundError,
|
|
1137
1143
|
409: ResourceExistsError,
|
|
@@ -1233,7 +1239,7 @@ class CustomersOperations:
|
|
|
1233
1239
|
:rtype: ~ignos.internal.api.client.models.TenantDto
|
|
1234
1240
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
1235
1241
|
"""
|
|
1236
|
-
error_map = {
|
|
1242
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
1237
1243
|
401: ClientAuthenticationError,
|
|
1238
1244
|
404: ResourceNotFoundError,
|
|
1239
1245
|
409: ResourceExistsError,
|
|
@@ -1367,7 +1373,7 @@ class CustomersOperations:
|
|
|
1367
1373
|
:rtype: ~ignos.internal.api.client.models.TenantDto
|
|
1368
1374
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
1369
1375
|
"""
|
|
1370
|
-
error_map = {
|
|
1376
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
1371
1377
|
401: ClientAuthenticationError,
|
|
1372
1378
|
404: ResourceNotFoundError,
|
|
1373
1379
|
409: ResourceExistsError,
|
|
@@ -1437,7 +1443,7 @@ class CustomersOperations:
|
|
|
1437
1443
|
:rtype: ~ignos.internal.api.client.models.CdfConfigDto
|
|
1438
1444
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
1439
1445
|
"""
|
|
1440
|
-
error_map = {
|
|
1446
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
1441
1447
|
401: ClientAuthenticationError,
|
|
1442
1448
|
404: ResourceNotFoundError,
|
|
1443
1449
|
409: ResourceExistsError,
|
|
@@ -1558,7 +1564,7 @@ class CustomersOperations:
|
|
|
1558
1564
|
:rtype: ~ignos.internal.api.client.models.CdfConfigDto
|
|
1559
1565
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
1560
1566
|
"""
|
|
1561
|
-
error_map = {
|
|
1567
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
1562
1568
|
401: ClientAuthenticationError,
|
|
1563
1569
|
404: ResourceNotFoundError,
|
|
1564
1570
|
409: ResourceExistsError,
|
|
@@ -1626,7 +1632,7 @@ class CustomersOperations:
|
|
|
1626
1632
|
:rtype: list[~ignos.internal.api.client.models.CustomerAppDto]
|
|
1627
1633
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
1628
1634
|
"""
|
|
1629
|
-
error_map = {
|
|
1635
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
1630
1636
|
401: ClientAuthenticationError,
|
|
1631
1637
|
404: ResourceNotFoundError,
|
|
1632
1638
|
409: ResourceExistsError,
|
|
@@ -1682,7 +1688,7 @@ class CustomersOperations:
|
|
|
1682
1688
|
:rtype: None
|
|
1683
1689
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
1684
1690
|
"""
|
|
1685
|
-
error_map = {
|
|
1691
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
1686
1692
|
401: ClientAuthenticationError,
|
|
1687
1693
|
404: ResourceNotFoundError,
|
|
1688
1694
|
409: ResourceExistsError,
|
|
@@ -1735,7 +1741,7 @@ class CustomersOperations:
|
|
|
1735
1741
|
:rtype: None
|
|
1736
1742
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
1737
1743
|
"""
|
|
1738
|
-
error_map = {
|
|
1744
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
1739
1745
|
401: ClientAuthenticationError,
|
|
1740
1746
|
404: ResourceNotFoundError,
|
|
1741
1747
|
409: ResourceExistsError,
|
|
@@ -1780,7 +1786,7 @@ class CustomersOperations:
|
|
|
1780
1786
|
:rtype: list[~ignos.internal.api.client.models.TenantKeyDto]
|
|
1781
1787
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
1782
1788
|
"""
|
|
1783
|
-
error_map = {
|
|
1789
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
1784
1790
|
401: ClientAuthenticationError,
|
|
1785
1791
|
404: ResourceNotFoundError,
|
|
1786
1792
|
409: ResourceExistsError,
|
|
@@ -1819,6 +1825,49 @@ class CustomersOperations:
|
|
|
1819
1825
|
|
|
1820
1826
|
return deserialized # type: ignore
|
|
1821
1827
|
|
|
1828
|
+
@distributed_trace_async
|
|
1829
|
+
async def update_tenants(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements
|
|
1830
|
+
"""update_tenants.
|
|
1831
|
+
|
|
1832
|
+
:return: None
|
|
1833
|
+
:rtype: None
|
|
1834
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
1835
|
+
"""
|
|
1836
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
1837
|
+
401: ClientAuthenticationError,
|
|
1838
|
+
404: ResourceNotFoundError,
|
|
1839
|
+
409: ResourceExistsError,
|
|
1840
|
+
304: ResourceNotModifiedError,
|
|
1841
|
+
}
|
|
1842
|
+
error_map.update(kwargs.pop("error_map", {}) or {})
|
|
1843
|
+
|
|
1844
|
+
_headers = kwargs.pop("headers", {}) or {}
|
|
1845
|
+
_params = kwargs.pop("params", {}) or {}
|
|
1846
|
+
|
|
1847
|
+
cls: ClsType[None] = kwargs.pop("cls", None)
|
|
1848
|
+
|
|
1849
|
+
_request = build_customers_update_tenants_request(
|
|
1850
|
+
headers=_headers,
|
|
1851
|
+
params=_params,
|
|
1852
|
+
)
|
|
1853
|
+
_request.url = self._client.format_url(_request.url)
|
|
1854
|
+
|
|
1855
|
+
_stream = False
|
|
1856
|
+
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
|
1857
|
+
_request, stream=_stream, **kwargs
|
|
1858
|
+
)
|
|
1859
|
+
|
|
1860
|
+
response = pipeline_response.http_response
|
|
1861
|
+
|
|
1862
|
+
if response.status_code not in [204]:
|
|
1863
|
+
if _stream:
|
|
1864
|
+
await response.read() # Load the body in memory and close the socket
|
|
1865
|
+
map_error(status_code=response.status_code, response=response, error_map=error_map)
|
|
1866
|
+
raise HttpResponseError(response=response)
|
|
1867
|
+
|
|
1868
|
+
if cls:
|
|
1869
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
|
1870
|
+
|
|
1822
1871
|
|
|
1823
1872
|
class DatabasesOperations:
|
|
1824
1873
|
"""
|
|
@@ -1847,7 +1896,7 @@ class DatabasesOperations:
|
|
|
1847
1896
|
:rtype: None
|
|
1848
1897
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
1849
1898
|
"""
|
|
1850
|
-
error_map = {
|
|
1899
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
1851
1900
|
401: ClientAuthenticationError,
|
|
1852
1901
|
404: ResourceNotFoundError,
|
|
1853
1902
|
409: ResourceExistsError,
|
|
@@ -1912,7 +1961,7 @@ class ErpSyncOperations:
|
|
|
1912
1961
|
:rtype: list[~ignos.internal.api.client.models.ErpSyncErrorDto]
|
|
1913
1962
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
1914
1963
|
"""
|
|
1915
|
-
error_map = {
|
|
1964
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
1916
1965
|
401: ClientAuthenticationError,
|
|
1917
1966
|
404: ResourceNotFoundError,
|
|
1918
1967
|
409: ResourceExistsError,
|
|
@@ -1964,7 +2013,7 @@ class ErpSyncOperations:
|
|
|
1964
2013
|
:rtype: ~ignos.internal.api.client.models.ErpSyncErrorMessage
|
|
1965
2014
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
1966
2015
|
"""
|
|
1967
|
-
error_map = {
|
|
2016
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
1968
2017
|
401: ClientAuthenticationError,
|
|
1969
2018
|
404: ResourceNotFoundError,
|
|
1970
2019
|
409: ResourceExistsError,
|
|
@@ -2021,7 +2070,7 @@ class ErpSyncOperations:
|
|
|
2021
2070
|
:rtype: None
|
|
2022
2071
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
2023
2072
|
"""
|
|
2024
|
-
error_map = {
|
|
2073
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
2025
2074
|
401: ClientAuthenticationError,
|
|
2026
2075
|
404: ResourceNotFoundError,
|
|
2027
2076
|
409: ResourceExistsError,
|
|
@@ -2115,7 +2164,7 @@ class ErpSyncOperations:
|
|
|
2115
2164
|
:rtype: ~ignos.internal.api.client.models.DataSyncOrchestrationTriggerResponse
|
|
2116
2165
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
2117
2166
|
"""
|
|
2118
|
-
error_map = {
|
|
2167
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
2119
2168
|
401: ClientAuthenticationError,
|
|
2120
2169
|
404: ResourceNotFoundError,
|
|
2121
2170
|
409: ResourceExistsError,
|
|
@@ -2226,7 +2275,7 @@ class ErpSyncOperations:
|
|
|
2226
2275
|
:rtype: None
|
|
2227
2276
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
2228
2277
|
"""
|
|
2229
|
-
error_map = {
|
|
2278
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
2230
2279
|
401: ClientAuthenticationError,
|
|
2231
2280
|
404: ResourceNotFoundError,
|
|
2232
2281
|
409: ResourceExistsError,
|
|
@@ -2301,7 +2350,7 @@ class ErpSyncOperations:
|
|
|
2301
2350
|
:rtype: list[~ignos.internal.api.client.models.DataSyncOrchestrationInstance]
|
|
2302
2351
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
2303
2352
|
"""
|
|
2304
|
-
error_map = {
|
|
2353
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
2305
2354
|
401: ClientAuthenticationError,
|
|
2306
2355
|
404: ResourceNotFoundError,
|
|
2307
2356
|
409: ResourceExistsError,
|
|
@@ -2400,7 +2449,7 @@ class ErpSyncOperations:
|
|
|
2400
2449
|
:rtype: None
|
|
2401
2450
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
2402
2451
|
"""
|
|
2403
|
-
error_map = {
|
|
2452
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
2404
2453
|
401: ClientAuthenticationError,
|
|
2405
2454
|
404: ResourceNotFoundError,
|
|
2406
2455
|
409: ResourceExistsError,
|
|
@@ -2507,7 +2556,7 @@ class ErpSyncOperations:
|
|
|
2507
2556
|
:rtype: None
|
|
2508
2557
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
2509
2558
|
"""
|
|
2510
|
-
error_map = {
|
|
2559
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
2511
2560
|
401: ClientAuthenticationError,
|
|
2512
2561
|
404: ResourceNotFoundError,
|
|
2513
2562
|
409: ResourceExistsError,
|
|
@@ -2590,7 +2639,7 @@ class PowerOperations:
|
|
|
2590
2639
|
:rtype: list[~ignos.internal.api.client.models.PowerRegionDto]
|
|
2591
2640
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
2592
2641
|
"""
|
|
2593
|
-
error_map = {
|
|
2642
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
2594
2643
|
401: ClientAuthenticationError,
|
|
2595
2644
|
404: ResourceNotFoundError,
|
|
2596
2645
|
409: ResourceExistsError,
|
|
@@ -2675,7 +2724,7 @@ class PowerOperations:
|
|
|
2675
2724
|
:rtype: ~ignos.internal.api.client.models.PowerRegionDto
|
|
2676
2725
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
2677
2726
|
"""
|
|
2678
|
-
error_map = {
|
|
2727
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
2679
2728
|
401: ClientAuthenticationError,
|
|
2680
2729
|
404: ResourceNotFoundError,
|
|
2681
2730
|
409: ResourceExistsError,
|
|
@@ -2765,7 +2814,7 @@ class PresentationOperations:
|
|
|
2765
2814
|
:rtype: None
|
|
2766
2815
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
2767
2816
|
"""
|
|
2768
|
-
error_map = {
|
|
2817
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
2769
2818
|
401: ClientAuthenticationError,
|
|
2770
2819
|
404: ResourceNotFoundError,
|
|
2771
2820
|
409: ResourceExistsError,
|
|
@@ -2886,7 +2935,7 @@ class PresentationOperations:
|
|
|
2886
2935
|
:rtype: ~ignos.internal.api.client.models.ComponentSettingsDto
|
|
2887
2936
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
2888
2937
|
"""
|
|
2889
|
-
error_map = {
|
|
2938
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
2890
2939
|
401: ClientAuthenticationError,
|
|
2891
2940
|
404: ResourceNotFoundError,
|
|
2892
2941
|
409: ResourceExistsError,
|
|
@@ -3036,7 +3085,7 @@ class SustainabilitySetupOperations:
|
|
|
3036
3085
|
:rtype: None
|
|
3037
3086
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
3038
3087
|
"""
|
|
3039
|
-
error_map = {
|
|
3088
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
3040
3089
|
401: ClientAuthenticationError,
|
|
3041
3090
|
404: ResourceNotFoundError,
|
|
3042
3091
|
409: ResourceExistsError,
|
|
@@ -3162,7 +3211,7 @@ class SustainabilitySetupOperations:
|
|
|
3162
3211
|
:rtype: None
|
|
3163
3212
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
3164
3213
|
"""
|
|
3165
|
-
error_map = {
|
|
3214
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
3166
3215
|
401: ClientAuthenticationError,
|
|
3167
3216
|
404: ResourceNotFoundError,
|
|
3168
3217
|
409: ResourceExistsError,
|
|
@@ -3288,7 +3337,7 @@ class SustainabilitySetupOperations:
|
|
|
3288
3337
|
:rtype: None
|
|
3289
3338
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
3290
3339
|
"""
|
|
3291
|
-
error_map = {
|
|
3340
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
3292
3341
|
401: ClientAuthenticationError,
|
|
3293
3342
|
404: ResourceNotFoundError,
|
|
3294
3343
|
409: ResourceExistsError,
|
|
@@ -3376,7 +3425,7 @@ class TenantsOperations:
|
|
|
3376
3425
|
:rtype: list[~ignos.internal.api.client.models.TenantDetailDto]
|
|
3377
3426
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
3378
3427
|
"""
|
|
3379
|
-
error_map = {
|
|
3428
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
3380
3429
|
401: ClientAuthenticationError,
|
|
3381
3430
|
404: ResourceNotFoundError,
|
|
3382
3431
|
409: ResourceExistsError,
|
|
@@ -3445,7 +3494,7 @@ class UserOperations:
|
|
|
3445
3494
|
:rtype: ~ignos.internal.api.client.models.UserDetailsDto
|
|
3446
3495
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
3447
3496
|
"""
|
|
3448
|
-
error_map = {
|
|
3497
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
3449
3498
|
401: ClientAuthenticationError,
|
|
3450
3499
|
404: ResourceNotFoundError,
|
|
3451
3500
|
409: ResourceExistsError,
|
|
@@ -297,24 +297,29 @@ class CdfDetailsDto(_serialization.Model):
|
|
|
297
297
|
class ComponentSettingsDto(_serialization.Model):
|
|
298
298
|
"""ComponentSettingsDto.
|
|
299
299
|
|
|
300
|
-
|
|
300
|
+
All required parameters must be populated in order to send to server.
|
|
301
|
+
|
|
302
|
+
:ivar component_id: Required.
|
|
301
303
|
:vartype component_id: str
|
|
302
|
-
:ivar disabled_fields:
|
|
304
|
+
:ivar disabled_fields: Required.
|
|
303
305
|
:vartype disabled_fields: list[str]
|
|
304
306
|
"""
|
|
305
307
|
|
|
308
|
+
_validation = {
|
|
309
|
+
"component_id": {"required": True},
|
|
310
|
+
"disabled_fields": {"required": True},
|
|
311
|
+
}
|
|
312
|
+
|
|
306
313
|
_attribute_map = {
|
|
307
314
|
"component_id": {"key": "componentId", "type": "str"},
|
|
308
315
|
"disabled_fields": {"key": "disabledFields", "type": "[str]"},
|
|
309
316
|
}
|
|
310
317
|
|
|
311
|
-
def __init__(
|
|
312
|
-
self, *, component_id: Optional[str] = None, disabled_fields: Optional[List[str]] = None, **kwargs: Any
|
|
313
|
-
) -> None:
|
|
318
|
+
def __init__(self, *, component_id: str, disabled_fields: List[str], **kwargs: Any) -> None:
|
|
314
319
|
"""
|
|
315
|
-
:keyword component_id:
|
|
320
|
+
:keyword component_id: Required.
|
|
316
321
|
:paramtype component_id: str
|
|
317
|
-
:keyword disabled_fields:
|
|
322
|
+
:keyword disabled_fields: Required.
|
|
318
323
|
:paramtype disabled_fields: list[str]
|
|
319
324
|
"""
|
|
320
325
|
super().__init__(**kwargs)
|
|
@@ -914,22 +919,32 @@ class DataSyncOrchestrationConfig(_serialization.Model):
|
|
|
914
919
|
class DataSyncOrchestrationInstance(_serialization.Model):
|
|
915
920
|
"""DataSyncOrchestrationInstance.
|
|
916
921
|
|
|
917
|
-
|
|
922
|
+
All required parameters must be populated in order to send to server.
|
|
923
|
+
|
|
924
|
+
:ivar name: Required.
|
|
918
925
|
:vartype name: str
|
|
919
|
-
:ivar instance_id:
|
|
926
|
+
:ivar instance_id: Required.
|
|
920
927
|
:vartype instance_id: str
|
|
921
|
-
:ivar runtime_status:
|
|
928
|
+
:ivar runtime_status: Required.
|
|
922
929
|
:vartype runtime_status: str
|
|
923
930
|
:ivar input:
|
|
924
931
|
:vartype input: ~ignos.internal.api.client.models.DataSyncOrchestrationConfig
|
|
925
932
|
:ivar output: Anything.
|
|
926
933
|
:vartype output: any
|
|
927
|
-
:ivar created_time:
|
|
934
|
+
:ivar created_time: Required.
|
|
928
935
|
:vartype created_time: ~datetime.datetime
|
|
929
|
-
:ivar last_updated_time:
|
|
936
|
+
:ivar last_updated_time: Required.
|
|
930
937
|
:vartype last_updated_time: ~datetime.datetime
|
|
931
938
|
"""
|
|
932
939
|
|
|
940
|
+
_validation = {
|
|
941
|
+
"name": {"required": True},
|
|
942
|
+
"instance_id": {"required": True},
|
|
943
|
+
"runtime_status": {"required": True},
|
|
944
|
+
"created_time": {"required": True},
|
|
945
|
+
"last_updated_time": {"required": True},
|
|
946
|
+
}
|
|
947
|
+
|
|
933
948
|
_attribute_map = {
|
|
934
949
|
"name": {"key": "name", "type": "str"},
|
|
935
950
|
"instance_id": {"key": "instanceId", "type": "str"},
|
|
@@ -943,29 +958,29 @@ class DataSyncOrchestrationInstance(_serialization.Model):
|
|
|
943
958
|
def __init__(
|
|
944
959
|
self,
|
|
945
960
|
*,
|
|
946
|
-
name:
|
|
947
|
-
instance_id:
|
|
948
|
-
runtime_status:
|
|
961
|
+
name: str,
|
|
962
|
+
instance_id: str,
|
|
963
|
+
runtime_status: str,
|
|
964
|
+
created_time: datetime.datetime,
|
|
965
|
+
last_updated_time: datetime.datetime,
|
|
949
966
|
input: Optional["_models.DataSyncOrchestrationConfig"] = None,
|
|
950
967
|
output: Optional[Any] = None,
|
|
951
|
-
created_time: Optional[datetime.datetime] = None,
|
|
952
|
-
last_updated_time: Optional[datetime.datetime] = None,
|
|
953
968
|
**kwargs: Any
|
|
954
969
|
) -> None:
|
|
955
970
|
"""
|
|
956
|
-
:keyword name:
|
|
971
|
+
:keyword name: Required.
|
|
957
972
|
:paramtype name: str
|
|
958
|
-
:keyword instance_id:
|
|
973
|
+
:keyword instance_id: Required.
|
|
959
974
|
:paramtype instance_id: str
|
|
960
|
-
:keyword runtime_status:
|
|
975
|
+
:keyword runtime_status: Required.
|
|
961
976
|
:paramtype runtime_status: str
|
|
962
977
|
:keyword input:
|
|
963
978
|
:paramtype input: ~ignos.internal.api.client.models.DataSyncOrchestrationConfig
|
|
964
979
|
:keyword output: Anything.
|
|
965
980
|
:paramtype output: any
|
|
966
|
-
:keyword created_time:
|
|
981
|
+
:keyword created_time: Required.
|
|
967
982
|
:paramtype created_time: ~datetime.datetime
|
|
968
|
-
:keyword last_updated_time:
|
|
983
|
+
:keyword last_updated_time: Required.
|
|
969
984
|
:paramtype last_updated_time: ~datetime.datetime
|
|
970
985
|
"""
|
|
971
986
|
super().__init__(**kwargs)
|
|
@@ -1034,22 +1049,34 @@ class DataSyncOrchestrationTriggerResponse(_serialization.Model):
|
|
|
1034
1049
|
class ErpSyncErrorDto(_serialization.Model):
|
|
1035
1050
|
"""ErpSyncErrorDto.
|
|
1036
1051
|
|
|
1037
|
-
|
|
1052
|
+
All required parameters must be populated in order to send to server.
|
|
1053
|
+
|
|
1054
|
+
:ivar entity: Required.
|
|
1038
1055
|
:vartype entity: str
|
|
1039
|
-
:ivar id:
|
|
1056
|
+
:ivar id: Required.
|
|
1040
1057
|
:vartype id: str
|
|
1041
|
-
:ivar company_id:
|
|
1058
|
+
:ivar company_id: Required.
|
|
1042
1059
|
:vartype company_id: str
|
|
1043
|
-
:ivar retry_attempts:
|
|
1060
|
+
:ivar retry_attempts: Required.
|
|
1044
1061
|
:vartype retry_attempts: int
|
|
1045
|
-
:ivar row_key:
|
|
1062
|
+
:ivar row_key: Required.
|
|
1046
1063
|
:vartype row_key: str
|
|
1047
|
-
:ivar partition_key:
|
|
1064
|
+
:ivar partition_key: Required.
|
|
1048
1065
|
:vartype partition_key: str
|
|
1049
|
-
:ivar timestamp:
|
|
1066
|
+
:ivar timestamp: Required.
|
|
1050
1067
|
:vartype timestamp: ~datetime.datetime
|
|
1051
1068
|
"""
|
|
1052
1069
|
|
|
1070
|
+
_validation = {
|
|
1071
|
+
"entity": {"required": True},
|
|
1072
|
+
"id": {"required": True},
|
|
1073
|
+
"company_id": {"required": True},
|
|
1074
|
+
"retry_attempts": {"required": True},
|
|
1075
|
+
"row_key": {"required": True},
|
|
1076
|
+
"partition_key": {"required": True},
|
|
1077
|
+
"timestamp": {"required": True},
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1053
1080
|
_attribute_map = {
|
|
1054
1081
|
"entity": {"key": "entity", "type": "str"},
|
|
1055
1082
|
"id": {"key": "id", "type": "str"},
|
|
@@ -1063,29 +1090,29 @@ class ErpSyncErrorDto(_serialization.Model):
|
|
|
1063
1090
|
def __init__(
|
|
1064
1091
|
self,
|
|
1065
1092
|
*,
|
|
1066
|
-
entity:
|
|
1067
|
-
id:
|
|
1068
|
-
company_id:
|
|
1069
|
-
retry_attempts:
|
|
1070
|
-
row_key:
|
|
1071
|
-
partition_key:
|
|
1072
|
-
timestamp:
|
|
1093
|
+
entity: str,
|
|
1094
|
+
id: str, # pylint: disable=redefined-builtin
|
|
1095
|
+
company_id: str,
|
|
1096
|
+
retry_attempts: int,
|
|
1097
|
+
row_key: str,
|
|
1098
|
+
partition_key: str,
|
|
1099
|
+
timestamp: datetime.datetime,
|
|
1073
1100
|
**kwargs: Any
|
|
1074
1101
|
) -> None:
|
|
1075
1102
|
"""
|
|
1076
|
-
:keyword entity:
|
|
1103
|
+
:keyword entity: Required.
|
|
1077
1104
|
:paramtype entity: str
|
|
1078
|
-
:keyword id:
|
|
1105
|
+
:keyword id: Required.
|
|
1079
1106
|
:paramtype id: str
|
|
1080
|
-
:keyword company_id:
|
|
1107
|
+
:keyword company_id: Required.
|
|
1081
1108
|
:paramtype company_id: str
|
|
1082
|
-
:keyword retry_attempts:
|
|
1109
|
+
:keyword retry_attempts: Required.
|
|
1083
1110
|
:paramtype retry_attempts: int
|
|
1084
|
-
:keyword row_key:
|
|
1111
|
+
:keyword row_key: Required.
|
|
1085
1112
|
:paramtype row_key: str
|
|
1086
|
-
:keyword partition_key:
|
|
1113
|
+
:keyword partition_key: Required.
|
|
1087
1114
|
:paramtype partition_key: str
|
|
1088
|
-
:keyword timestamp:
|
|
1115
|
+
:keyword timestamp: Required.
|
|
1089
1116
|
:paramtype timestamp: ~datetime.datetime
|
|
1090
1117
|
"""
|
|
1091
1118
|
super().__init__(**kwargs)
|
|
@@ -1548,22 +1575,29 @@ class StartFullSync(_serialization.Model):
|
|
|
1548
1575
|
class SyncSingleWorkOrder(_serialization.Model):
|
|
1549
1576
|
"""SyncSingleWorkOrder.
|
|
1550
1577
|
|
|
1551
|
-
|
|
1578
|
+
All required parameters must be populated in order to send to server.
|
|
1579
|
+
|
|
1580
|
+
:ivar company_id: Required.
|
|
1552
1581
|
:vartype company_id: str
|
|
1553
|
-
:ivar work_order_id:
|
|
1582
|
+
:ivar work_order_id: Required.
|
|
1554
1583
|
:vartype work_order_id: str
|
|
1555
1584
|
"""
|
|
1556
1585
|
|
|
1586
|
+
_validation = {
|
|
1587
|
+
"company_id": {"required": True},
|
|
1588
|
+
"work_order_id": {"required": True},
|
|
1589
|
+
}
|
|
1590
|
+
|
|
1557
1591
|
_attribute_map = {
|
|
1558
1592
|
"company_id": {"key": "companyId", "type": "str"},
|
|
1559
1593
|
"work_order_id": {"key": "workOrderId", "type": "str"},
|
|
1560
1594
|
}
|
|
1561
1595
|
|
|
1562
|
-
def __init__(self, *, company_id:
|
|
1596
|
+
def __init__(self, *, company_id: str, work_order_id: str, **kwargs: Any) -> None:
|
|
1563
1597
|
"""
|
|
1564
|
-
:keyword company_id:
|
|
1598
|
+
:keyword company_id: Required.
|
|
1565
1599
|
:paramtype company_id: str
|
|
1566
|
-
:keyword work_order_id:
|
|
1600
|
+
:keyword work_order_id: Required.
|
|
1567
1601
|
:paramtype work_order_id: str
|
|
1568
1602
|
"""
|
|
1569
1603
|
super().__init__(**kwargs)
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
# --------------------------------------------------------------------------
|
|
9
9
|
import datetime
|
|
10
10
|
from io import IOBase
|
|
11
|
-
|
|
11
|
+
import sys
|
|
12
|
+
from typing import Any, Callable, Dict, IO, List, Optional, Type, TypeVar, Union, overload
|
|
12
13
|
|
|
13
14
|
from azure.core.exceptions import (
|
|
14
15
|
ClientAuthenticationError,
|
|
@@ -26,6 +27,10 @@ from azure.core.utils import case_insensitive_dict
|
|
|
26
27
|
from .. import models as _models
|
|
27
28
|
from .._serialization import Serializer
|
|
28
29
|
|
|
30
|
+
if sys.version_info >= (3, 9):
|
|
31
|
+
from collections.abc import MutableMapping
|
|
32
|
+
else:
|
|
33
|
+
from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
|
|
29
34
|
T = TypeVar("T")
|
|
30
35
|
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
|
|
31
36
|
|
|
@@ -413,6 +418,13 @@ def build_customers_list_tenant_keys_request(**kwargs: Any) -> HttpRequest:
|
|
|
413
418
|
return HttpRequest(method="GET", url=_url, headers=_headers, **kwargs)
|
|
414
419
|
|
|
415
420
|
|
|
421
|
+
def build_customers_update_tenants_request(**kwargs: Any) -> HttpRequest:
|
|
422
|
+
# Construct URL
|
|
423
|
+
_url = "/customers/updatetenants"
|
|
424
|
+
|
|
425
|
+
return HttpRequest(method="POST", url=_url, **kwargs)
|
|
426
|
+
|
|
427
|
+
|
|
416
428
|
def build_databases_update_databases_request(**kwargs: Any) -> HttpRequest:
|
|
417
429
|
# Construct URL
|
|
418
430
|
_url = "/databases"
|
|
@@ -809,7 +821,7 @@ class AppsOperations:
|
|
|
809
821
|
:rtype: list[~ignos.internal.api.client.models.AppDto]
|
|
810
822
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
811
823
|
"""
|
|
812
|
-
error_map = {
|
|
824
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
813
825
|
401: ClientAuthenticationError,
|
|
814
826
|
404: ResourceNotFoundError,
|
|
815
827
|
409: ResourceExistsError,
|
|
@@ -897,7 +909,7 @@ class AppsOperations:
|
|
|
897
909
|
:rtype: ~ignos.internal.api.client.models.AppDto
|
|
898
910
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
899
911
|
"""
|
|
900
|
-
error_map = {
|
|
912
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
901
913
|
401: ClientAuthenticationError,
|
|
902
914
|
404: ResourceNotFoundError,
|
|
903
915
|
409: ResourceExistsError,
|
|
@@ -1013,7 +1025,7 @@ class AppsOperations:
|
|
|
1013
1025
|
:rtype: ~ignos.internal.api.client.models.AppDto
|
|
1014
1026
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
1015
1027
|
"""
|
|
1016
|
-
error_map = {
|
|
1028
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
1017
1029
|
401: ClientAuthenticationError,
|
|
1018
1030
|
404: ResourceNotFoundError,
|
|
1019
1031
|
409: ResourceExistsError,
|
|
@@ -1096,7 +1108,7 @@ class AzureRegionsOperations:
|
|
|
1096
1108
|
:rtype: list[~ignos.internal.api.client.models.AzureRegionDto]
|
|
1097
1109
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
1098
1110
|
"""
|
|
1099
|
-
error_map = {
|
|
1111
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
1100
1112
|
401: ClientAuthenticationError,
|
|
1101
1113
|
404: ResourceNotFoundError,
|
|
1102
1114
|
409: ResourceExistsError,
|
|
@@ -1163,7 +1175,7 @@ class CdfClustersOperations:
|
|
|
1163
1175
|
:rtype: list[~ignos.internal.api.client.models.CdfClusterDto]
|
|
1164
1176
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
1165
1177
|
"""
|
|
1166
|
-
error_map = {
|
|
1178
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
1167
1179
|
401: ClientAuthenticationError,
|
|
1168
1180
|
404: ResourceNotFoundError,
|
|
1169
1181
|
409: ResourceExistsError,
|
|
@@ -1247,7 +1259,7 @@ class CdfClustersOperations:
|
|
|
1247
1259
|
:rtype: ~ignos.internal.api.client.models.CdfClusterDto
|
|
1248
1260
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
1249
1261
|
"""
|
|
1250
|
-
error_map = {
|
|
1262
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
1251
1263
|
401: ClientAuthenticationError,
|
|
1252
1264
|
404: ResourceNotFoundError,
|
|
1253
1265
|
409: ResourceExistsError,
|
|
@@ -1358,7 +1370,7 @@ class CdfClustersOperations:
|
|
|
1358
1370
|
:rtype: ~ignos.internal.api.client.models.CdfClusterDto
|
|
1359
1371
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
1360
1372
|
"""
|
|
1361
|
-
error_map = {
|
|
1373
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
1362
1374
|
401: ClientAuthenticationError,
|
|
1363
1375
|
404: ResourceNotFoundError,
|
|
1364
1376
|
409: ResourceExistsError,
|
|
@@ -1441,7 +1453,7 @@ class CountriesOperations:
|
|
|
1441
1453
|
:rtype: list[~ignos.internal.api.client.models.CountryDto]
|
|
1442
1454
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
1443
1455
|
"""
|
|
1444
|
-
error_map = {
|
|
1456
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
1445
1457
|
401: ClientAuthenticationError,
|
|
1446
1458
|
404: ResourceNotFoundError,
|
|
1447
1459
|
409: ResourceExistsError,
|
|
@@ -1510,7 +1522,7 @@ class CustomersOperations:
|
|
|
1510
1522
|
:rtype: list[~ignos.internal.api.client.models.IgnosCustomerDto]
|
|
1511
1523
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
1512
1524
|
"""
|
|
1513
|
-
error_map = {
|
|
1525
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
1514
1526
|
401: ClientAuthenticationError,
|
|
1515
1527
|
404: ResourceNotFoundError,
|
|
1516
1528
|
409: ResourceExistsError,
|
|
@@ -1604,7 +1616,7 @@ class CustomersOperations:
|
|
|
1604
1616
|
:rtype: ~ignos.internal.api.client.models.IgnosCustomerDto
|
|
1605
1617
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
1606
1618
|
"""
|
|
1607
|
-
error_map = {
|
|
1619
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
1608
1620
|
401: ClientAuthenticationError,
|
|
1609
1621
|
404: ResourceNotFoundError,
|
|
1610
1622
|
409: ResourceExistsError,
|
|
@@ -1670,7 +1682,7 @@ class CustomersOperations:
|
|
|
1670
1682
|
:rtype: ~ignos.internal.api.client.models.IgnosCustomerDto
|
|
1671
1683
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
1672
1684
|
"""
|
|
1673
|
-
error_map = {
|
|
1685
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
1674
1686
|
401: ClientAuthenticationError,
|
|
1675
1687
|
404: ResourceNotFoundError,
|
|
1676
1688
|
409: ResourceExistsError,
|
|
@@ -1772,7 +1784,7 @@ class CustomersOperations:
|
|
|
1772
1784
|
:rtype: ~ignos.internal.api.client.models.IgnosCustomerDto
|
|
1773
1785
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
1774
1786
|
"""
|
|
1775
|
-
error_map = {
|
|
1787
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
1776
1788
|
401: ClientAuthenticationError,
|
|
1777
1789
|
404: ResourceNotFoundError,
|
|
1778
1790
|
409: ResourceExistsError,
|
|
@@ -1839,7 +1851,7 @@ class CustomersOperations:
|
|
|
1839
1851
|
:rtype: list[~ignos.internal.api.client.models.TenantDto]
|
|
1840
1852
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
1841
1853
|
"""
|
|
1842
|
-
error_map = {
|
|
1854
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
1843
1855
|
401: ClientAuthenticationError,
|
|
1844
1856
|
404: ResourceNotFoundError,
|
|
1845
1857
|
409: ResourceExistsError,
|
|
@@ -1941,7 +1953,7 @@ class CustomersOperations:
|
|
|
1941
1953
|
:rtype: ~ignos.internal.api.client.models.TenantDto
|
|
1942
1954
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
1943
1955
|
"""
|
|
1944
|
-
error_map = {
|
|
1956
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
1945
1957
|
401: ClientAuthenticationError,
|
|
1946
1958
|
404: ResourceNotFoundError,
|
|
1947
1959
|
409: ResourceExistsError,
|
|
@@ -2075,7 +2087,7 @@ class CustomersOperations:
|
|
|
2075
2087
|
:rtype: ~ignos.internal.api.client.models.TenantDto
|
|
2076
2088
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
2077
2089
|
"""
|
|
2078
|
-
error_map = {
|
|
2090
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
2079
2091
|
401: ClientAuthenticationError,
|
|
2080
2092
|
404: ResourceNotFoundError,
|
|
2081
2093
|
409: ResourceExistsError,
|
|
@@ -2145,7 +2157,7 @@ class CustomersOperations:
|
|
|
2145
2157
|
:rtype: ~ignos.internal.api.client.models.CdfConfigDto
|
|
2146
2158
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
2147
2159
|
"""
|
|
2148
|
-
error_map = {
|
|
2160
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
2149
2161
|
401: ClientAuthenticationError,
|
|
2150
2162
|
404: ResourceNotFoundError,
|
|
2151
2163
|
409: ResourceExistsError,
|
|
@@ -2266,7 +2278,7 @@ class CustomersOperations:
|
|
|
2266
2278
|
:rtype: ~ignos.internal.api.client.models.CdfConfigDto
|
|
2267
2279
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
2268
2280
|
"""
|
|
2269
|
-
error_map = {
|
|
2281
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
2270
2282
|
401: ClientAuthenticationError,
|
|
2271
2283
|
404: ResourceNotFoundError,
|
|
2272
2284
|
409: ResourceExistsError,
|
|
@@ -2334,7 +2346,7 @@ class CustomersOperations:
|
|
|
2334
2346
|
:rtype: list[~ignos.internal.api.client.models.CustomerAppDto]
|
|
2335
2347
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
2336
2348
|
"""
|
|
2337
|
-
error_map = {
|
|
2349
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
2338
2350
|
401: ClientAuthenticationError,
|
|
2339
2351
|
404: ResourceNotFoundError,
|
|
2340
2352
|
409: ResourceExistsError,
|
|
@@ -2390,7 +2402,7 @@ class CustomersOperations:
|
|
|
2390
2402
|
:rtype: None
|
|
2391
2403
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
2392
2404
|
"""
|
|
2393
|
-
error_map = {
|
|
2405
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
2394
2406
|
401: ClientAuthenticationError,
|
|
2395
2407
|
404: ResourceNotFoundError,
|
|
2396
2408
|
409: ResourceExistsError,
|
|
@@ -2443,7 +2455,7 @@ class CustomersOperations:
|
|
|
2443
2455
|
:rtype: None
|
|
2444
2456
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
2445
2457
|
"""
|
|
2446
|
-
error_map = {
|
|
2458
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
2447
2459
|
401: ClientAuthenticationError,
|
|
2448
2460
|
404: ResourceNotFoundError,
|
|
2449
2461
|
409: ResourceExistsError,
|
|
@@ -2488,7 +2500,7 @@ class CustomersOperations:
|
|
|
2488
2500
|
:rtype: list[~ignos.internal.api.client.models.TenantKeyDto]
|
|
2489
2501
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
2490
2502
|
"""
|
|
2491
|
-
error_map = {
|
|
2503
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
2492
2504
|
401: ClientAuthenticationError,
|
|
2493
2505
|
404: ResourceNotFoundError,
|
|
2494
2506
|
409: ResourceExistsError,
|
|
@@ -2527,6 +2539,49 @@ class CustomersOperations:
|
|
|
2527
2539
|
|
|
2528
2540
|
return deserialized # type: ignore
|
|
2529
2541
|
|
|
2542
|
+
@distributed_trace
|
|
2543
|
+
def update_tenants(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return-statements
|
|
2544
|
+
"""update_tenants.
|
|
2545
|
+
|
|
2546
|
+
:return: None
|
|
2547
|
+
:rtype: None
|
|
2548
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
2549
|
+
"""
|
|
2550
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
2551
|
+
401: ClientAuthenticationError,
|
|
2552
|
+
404: ResourceNotFoundError,
|
|
2553
|
+
409: ResourceExistsError,
|
|
2554
|
+
304: ResourceNotModifiedError,
|
|
2555
|
+
}
|
|
2556
|
+
error_map.update(kwargs.pop("error_map", {}) or {})
|
|
2557
|
+
|
|
2558
|
+
_headers = kwargs.pop("headers", {}) or {}
|
|
2559
|
+
_params = kwargs.pop("params", {}) or {}
|
|
2560
|
+
|
|
2561
|
+
cls: ClsType[None] = kwargs.pop("cls", None)
|
|
2562
|
+
|
|
2563
|
+
_request = build_customers_update_tenants_request(
|
|
2564
|
+
headers=_headers,
|
|
2565
|
+
params=_params,
|
|
2566
|
+
)
|
|
2567
|
+
_request.url = self._client.format_url(_request.url)
|
|
2568
|
+
|
|
2569
|
+
_stream = False
|
|
2570
|
+
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
|
2571
|
+
_request, stream=_stream, **kwargs
|
|
2572
|
+
)
|
|
2573
|
+
|
|
2574
|
+
response = pipeline_response.http_response
|
|
2575
|
+
|
|
2576
|
+
if response.status_code not in [204]:
|
|
2577
|
+
if _stream:
|
|
2578
|
+
response.read() # Load the body in memory and close the socket
|
|
2579
|
+
map_error(status_code=response.status_code, response=response, error_map=error_map)
|
|
2580
|
+
raise HttpResponseError(response=response)
|
|
2581
|
+
|
|
2582
|
+
if cls:
|
|
2583
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
|
2584
|
+
|
|
2530
2585
|
|
|
2531
2586
|
class DatabasesOperations:
|
|
2532
2587
|
"""
|
|
@@ -2555,7 +2610,7 @@ class DatabasesOperations:
|
|
|
2555
2610
|
:rtype: None
|
|
2556
2611
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
2557
2612
|
"""
|
|
2558
|
-
error_map = {
|
|
2613
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
2559
2614
|
401: ClientAuthenticationError,
|
|
2560
2615
|
404: ResourceNotFoundError,
|
|
2561
2616
|
409: ResourceExistsError,
|
|
@@ -2620,7 +2675,7 @@ class ErpSyncOperations:
|
|
|
2620
2675
|
:rtype: list[~ignos.internal.api.client.models.ErpSyncErrorDto]
|
|
2621
2676
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
2622
2677
|
"""
|
|
2623
|
-
error_map = {
|
|
2678
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
2624
2679
|
401: ClientAuthenticationError,
|
|
2625
2680
|
404: ResourceNotFoundError,
|
|
2626
2681
|
409: ResourceExistsError,
|
|
@@ -2672,7 +2727,7 @@ class ErpSyncOperations:
|
|
|
2672
2727
|
:rtype: ~ignos.internal.api.client.models.ErpSyncErrorMessage
|
|
2673
2728
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
2674
2729
|
"""
|
|
2675
|
-
error_map = {
|
|
2730
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
2676
2731
|
401: ClientAuthenticationError,
|
|
2677
2732
|
404: ResourceNotFoundError,
|
|
2678
2733
|
409: ResourceExistsError,
|
|
@@ -2729,7 +2784,7 @@ class ErpSyncOperations:
|
|
|
2729
2784
|
:rtype: None
|
|
2730
2785
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
2731
2786
|
"""
|
|
2732
|
-
error_map = {
|
|
2787
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
2733
2788
|
401: ClientAuthenticationError,
|
|
2734
2789
|
404: ResourceNotFoundError,
|
|
2735
2790
|
409: ResourceExistsError,
|
|
@@ -2823,7 +2878,7 @@ class ErpSyncOperations:
|
|
|
2823
2878
|
:rtype: ~ignos.internal.api.client.models.DataSyncOrchestrationTriggerResponse
|
|
2824
2879
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
2825
2880
|
"""
|
|
2826
|
-
error_map = {
|
|
2881
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
2827
2882
|
401: ClientAuthenticationError,
|
|
2828
2883
|
404: ResourceNotFoundError,
|
|
2829
2884
|
409: ResourceExistsError,
|
|
@@ -2934,7 +2989,7 @@ class ErpSyncOperations:
|
|
|
2934
2989
|
:rtype: None
|
|
2935
2990
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
2936
2991
|
"""
|
|
2937
|
-
error_map = {
|
|
2992
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
2938
2993
|
401: ClientAuthenticationError,
|
|
2939
2994
|
404: ResourceNotFoundError,
|
|
2940
2995
|
409: ResourceExistsError,
|
|
@@ -3009,7 +3064,7 @@ class ErpSyncOperations:
|
|
|
3009
3064
|
:rtype: list[~ignos.internal.api.client.models.DataSyncOrchestrationInstance]
|
|
3010
3065
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
3011
3066
|
"""
|
|
3012
|
-
error_map = {
|
|
3067
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
3013
3068
|
401: ClientAuthenticationError,
|
|
3014
3069
|
404: ResourceNotFoundError,
|
|
3015
3070
|
409: ResourceExistsError,
|
|
@@ -3108,7 +3163,7 @@ class ErpSyncOperations:
|
|
|
3108
3163
|
:rtype: None
|
|
3109
3164
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
3110
3165
|
"""
|
|
3111
|
-
error_map = {
|
|
3166
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
3112
3167
|
401: ClientAuthenticationError,
|
|
3113
3168
|
404: ResourceNotFoundError,
|
|
3114
3169
|
409: ResourceExistsError,
|
|
@@ -3215,7 +3270,7 @@ class ErpSyncOperations:
|
|
|
3215
3270
|
:rtype: None
|
|
3216
3271
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
3217
3272
|
"""
|
|
3218
|
-
error_map = {
|
|
3273
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
3219
3274
|
401: ClientAuthenticationError,
|
|
3220
3275
|
404: ResourceNotFoundError,
|
|
3221
3276
|
409: ResourceExistsError,
|
|
@@ -3298,7 +3353,7 @@ class PowerOperations:
|
|
|
3298
3353
|
:rtype: list[~ignos.internal.api.client.models.PowerRegionDto]
|
|
3299
3354
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
3300
3355
|
"""
|
|
3301
|
-
error_map = {
|
|
3356
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
3302
3357
|
401: ClientAuthenticationError,
|
|
3303
3358
|
404: ResourceNotFoundError,
|
|
3304
3359
|
409: ResourceExistsError,
|
|
@@ -3383,7 +3438,7 @@ class PowerOperations:
|
|
|
3383
3438
|
:rtype: ~ignos.internal.api.client.models.PowerRegionDto
|
|
3384
3439
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
3385
3440
|
"""
|
|
3386
|
-
error_map = {
|
|
3441
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
3387
3442
|
401: ClientAuthenticationError,
|
|
3388
3443
|
404: ResourceNotFoundError,
|
|
3389
3444
|
409: ResourceExistsError,
|
|
@@ -3473,7 +3528,7 @@ class PresentationOperations:
|
|
|
3473
3528
|
:rtype: None
|
|
3474
3529
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
3475
3530
|
"""
|
|
3476
|
-
error_map = {
|
|
3531
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
3477
3532
|
401: ClientAuthenticationError,
|
|
3478
3533
|
404: ResourceNotFoundError,
|
|
3479
3534
|
409: ResourceExistsError,
|
|
@@ -3594,7 +3649,7 @@ class PresentationOperations:
|
|
|
3594
3649
|
:rtype: ~ignos.internal.api.client.models.ComponentSettingsDto
|
|
3595
3650
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
3596
3651
|
"""
|
|
3597
|
-
error_map = {
|
|
3652
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
3598
3653
|
401: ClientAuthenticationError,
|
|
3599
3654
|
404: ResourceNotFoundError,
|
|
3600
3655
|
409: ResourceExistsError,
|
|
@@ -3744,7 +3799,7 @@ class SustainabilitySetupOperations:
|
|
|
3744
3799
|
:rtype: None
|
|
3745
3800
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
3746
3801
|
"""
|
|
3747
|
-
error_map = {
|
|
3802
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
3748
3803
|
401: ClientAuthenticationError,
|
|
3749
3804
|
404: ResourceNotFoundError,
|
|
3750
3805
|
409: ResourceExistsError,
|
|
@@ -3870,7 +3925,7 @@ class SustainabilitySetupOperations:
|
|
|
3870
3925
|
:rtype: None
|
|
3871
3926
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
3872
3927
|
"""
|
|
3873
|
-
error_map = {
|
|
3928
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
3874
3929
|
401: ClientAuthenticationError,
|
|
3875
3930
|
404: ResourceNotFoundError,
|
|
3876
3931
|
409: ResourceExistsError,
|
|
@@ -3996,7 +4051,7 @@ class SustainabilitySetupOperations:
|
|
|
3996
4051
|
:rtype: None
|
|
3997
4052
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
3998
4053
|
"""
|
|
3999
|
-
error_map = {
|
|
4054
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
4000
4055
|
401: ClientAuthenticationError,
|
|
4001
4056
|
404: ResourceNotFoundError,
|
|
4002
4057
|
409: ResourceExistsError,
|
|
@@ -4084,7 +4139,7 @@ class TenantsOperations:
|
|
|
4084
4139
|
:rtype: list[~ignos.internal.api.client.models.TenantDetailDto]
|
|
4085
4140
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
4086
4141
|
"""
|
|
4087
|
-
error_map = {
|
|
4142
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
4088
4143
|
401: ClientAuthenticationError,
|
|
4089
4144
|
404: ResourceNotFoundError,
|
|
4090
4145
|
409: ResourceExistsError,
|
|
@@ -4153,7 +4208,7 @@ class UserOperations:
|
|
|
4153
4208
|
:rtype: ~ignos.internal.api.client.models.UserDetailsDto
|
|
4154
4209
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
4155
4210
|
"""
|
|
4156
|
-
error_map = {
|
|
4211
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
|
4157
4212
|
401: ClientAuthenticationError,
|
|
4158
4213
|
404: ResourceNotFoundError,
|
|
4159
4214
|
409: ResourceExistsError,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ignos-internal-api-client
|
|
3
|
-
Version:
|
|
3
|
+
Version: 20240617.0.9574
|
|
4
4
|
Summary: ignos-internal-api-client
|
|
5
5
|
Home-page:
|
|
6
6
|
Author-email:
|
|
7
7
|
Keywords: azure,azure sdk
|
|
8
|
-
Requires-Dist: isodate
|
|
9
|
-
Requires-Dist: azure-core
|
|
8
|
+
Requires-Dist: isodate>=0.6.1
|
|
9
|
+
Requires-Dist: azure-core>=1.30.0
|
|
10
10
|
|
|
11
11
|
IgnosInternalApi.
|
|
12
12
|
|
{ignos-internal-api-client-20240208.0.8403 → ignos_internal_api_client-20240617.0.9574}/setup.py
RENAMED
|
@@ -10,7 +10,7 @@ from setuptools import setup, find_packages
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
PACKAGE_NAME = "ignos-internal-api-client"
|
|
13
|
-
version = "
|
|
13
|
+
version = "20240617.0.9574"
|
|
14
14
|
setup(
|
|
15
15
|
name=PACKAGE_NAME,
|
|
16
16
|
version=version,
|
|
@@ -21,8 +21,8 @@ setup(
|
|
|
21
21
|
packages=find_packages(),
|
|
22
22
|
include_package_data=True,
|
|
23
23
|
install_requires=[
|
|
24
|
-
"isodate
|
|
25
|
-
"azure-core
|
|
24
|
+
"isodate>=0.6.1",
|
|
25
|
+
"azure-core>=1.30.0",
|
|
26
26
|
],
|
|
27
27
|
long_description="""\
|
|
28
28
|
IgnosInternalApi.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ignos-internal-api-client-20240208.0.8403 → ignos_internal_api_client-20240617.0.9574}/setup.cfg
RENAMED
|
File without changes
|