ignos-internal-api-client 20240925.0.10440__py3-none-any.whl → 20250905.0.12525__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.
- ignos/internal/api/client/__init__.py +9 -3
- ignos/internal/api/client/_client.py +2 -2
- ignos/internal/api/client/_configuration.py +1 -2
- ignos/internal/api/client/_patch.py +7 -6
- ignos/internal/api/client/_utils/__init__.py +6 -0
- ignos/internal/api/client/{_serialization.py → _utils/serialization.py} +70 -155
- ignos/internal/api/client/_version.py +1 -1
- ignos/internal/api/client/aio/__init__.py +9 -3
- ignos/internal/api/client/aio/_client.py +2 -2
- ignos/internal/api/client/aio/_configuration.py +1 -2
- ignos/internal/api/client/aio/_patch.py +7 -6
- ignos/internal/api/client/aio/operations/__init__.py +21 -15
- ignos/internal/api/client/aio/operations/_operations.py +191 -181
- ignos/internal/api/client/aio/operations/_patch.py +7 -6
- ignos/internal/api/client/models/__init__.py +58 -47
- ignos/internal/api/client/models/_models.py +68 -11
- ignos/internal/api/client/models/_patch.py +7 -6
- ignos/internal/api/client/operations/__init__.py +21 -15
- ignos/internal/api/client/operations/_operations.py +191 -174
- ignos/internal/api/client/operations/_patch.py +7 -6
- ignos_internal_api_client-20250905.0.12525.dist-info/METADATA +17 -0
- ignos_internal_api_client-20250905.0.12525.dist-info/RECORD +29 -0
- {ignos_internal_api_client-20240925.0.10440.dist-info → ignos_internal_api_client-20250905.0.12525.dist-info}/WHEEL +1 -1
- ignos_internal_api_client-20240925.0.10440.dist-info/METADATA +0 -13
- ignos_internal_api_client-20240925.0.10440.dist-info/RECORD +0 -28
- {ignos_internal_api_client-20240925.0.10440.dist-info → ignos_internal_api_client-20250905.0.12525.dist-info}/top_level.txt +0 -0
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
3
|
-
#
|
|
4
|
-
#
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# --------------------------------------------------------------------------
|
|
3
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
|
+
# Licensed under the MIT License. See License.txt in the project root for license information.
|
|
5
|
+
# --------------------------------------------------------------------------
|
|
5
6
|
"""Customize generated code here.
|
|
6
7
|
|
|
7
8
|
Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize
|
|
8
9
|
"""
|
|
9
|
-
from typing import List
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
|
|
12
|
+
__all__: list[str] = [] # Add all objects you want publicly available to users at this package level
|
|
12
13
|
|
|
13
14
|
|
|
14
15
|
def patch_sdk():
|
|
@@ -5,55 +5,66 @@
|
|
|
5
5
|
# Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
# --------------------------------------------------------------------------
|
|
8
|
+
# pylint: disable=wrong-import-position
|
|
8
9
|
|
|
9
|
-
from
|
|
10
|
-
from ._models import AppDto
|
|
11
|
-
from ._models import AzureRegionDto
|
|
12
|
-
from ._models import CdfClusterDto
|
|
13
|
-
from ._models import CdfConfigDto
|
|
14
|
-
from ._models import CdfDetailsDto
|
|
15
|
-
from ._models import ComponentSettingsDto
|
|
16
|
-
from ._models import ContactPersonDto
|
|
17
|
-
from ._models import ContactPersonRequest
|
|
18
|
-
from ._models import CountryDto
|
|
19
|
-
from ._models import CreateApp
|
|
20
|
-
from ._models import CreateCdfCluster
|
|
21
|
-
from ._models import CreateIgnosCustomer
|
|
22
|
-
from ._models import CreatePowerRegion
|
|
23
|
-
from ._models import CreateTenantRequest
|
|
24
|
-
from ._models import CustomerAppDto
|
|
25
|
-
from ._models import DataSyncOrchestrationConfig
|
|
26
|
-
from ._models import DataSyncOrchestrationInstance
|
|
27
|
-
from ._models import DataSyncOrchestrationTriggerResponse
|
|
28
|
-
from ._models import ErpSyncErrorDto
|
|
29
|
-
from ._models import ErpSyncErrorMessage
|
|
30
|
-
from ._models import IgnosCustomerDto
|
|
31
|
-
from ._models import InitFactoryTemplateFerroAmpRequest
|
|
32
|
-
from ._models import InitFactoryTemplateRequest
|
|
33
|
-
from ._models import InitFerroAmpRequest
|
|
34
|
-
from ._models import PowerRegionDto
|
|
35
|
-
from ._models import RewindInstance
|
|
36
|
-
from ._models import SaveComponentSettingsRequest
|
|
37
|
-
from ._models import StartFullSync
|
|
38
|
-
from ._models import SyncSingleWorkOrder
|
|
39
|
-
from ._models import TenantDetailDto
|
|
40
|
-
from ._models import TenantDto
|
|
41
|
-
from ._models import TenantIntegrationCredentialTypeDto
|
|
42
|
-
from ._models import TenantKeyDto
|
|
43
|
-
from ._models import TerminateInstance
|
|
44
|
-
from ._models import UpdateAppRequest
|
|
45
|
-
from ._models import UpdateCdfClusterRequest
|
|
46
|
-
from ._models import UpdateCustomerRequest
|
|
47
|
-
from ._models import UpdateTenantCdfConfigRequest
|
|
48
|
-
from ._models import UpdateTenantRequest
|
|
49
|
-
from ._models import UserDetailsDto
|
|
10
|
+
from typing import TYPE_CHECKING
|
|
50
11
|
|
|
51
|
-
|
|
52
|
-
from .
|
|
53
|
-
|
|
54
|
-
|
|
12
|
+
if TYPE_CHECKING:
|
|
13
|
+
from ._patch import * # pylint: disable=unused-wildcard-import
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
from ._models import ( # type: ignore
|
|
17
|
+
AddIntegrationCredentialTypeRequest,
|
|
18
|
+
AppDto,
|
|
19
|
+
AzureRegionDto,
|
|
20
|
+
CdfClusterDto,
|
|
21
|
+
CdfConfigDto,
|
|
22
|
+
CdfDetailsDto,
|
|
23
|
+
ComponentSettingsDto,
|
|
24
|
+
ContactPersonDto,
|
|
25
|
+
ContactPersonRequest,
|
|
26
|
+
CountryDto,
|
|
27
|
+
CreateApp,
|
|
28
|
+
CreateCdfCluster,
|
|
29
|
+
CreateIgnosCustomer,
|
|
30
|
+
CreatePowerRegion,
|
|
31
|
+
CreateTenantRequest,
|
|
32
|
+
CustomerAppDto,
|
|
33
|
+
DataSyncOrchestrationConfig,
|
|
34
|
+
DataSyncOrchestrationInstance,
|
|
35
|
+
DataSyncOrchestrationTriggerResponse,
|
|
36
|
+
ErpSyncErrorDto,
|
|
37
|
+
ErpSyncErrorMessage,
|
|
38
|
+
IgnosCustomerDto,
|
|
39
|
+
InitFactoryTemplateFerroAmpRequest,
|
|
40
|
+
InitFactoryTemplateRequest,
|
|
41
|
+
InitFerroAmpRequest,
|
|
42
|
+
PowerRegionDto,
|
|
43
|
+
RewindInstance,
|
|
44
|
+
SaveComponentSettingsRequest,
|
|
45
|
+
StartFullSync,
|
|
46
|
+
SyncSingleWorkOrder,
|
|
47
|
+
TenantDetailDto,
|
|
48
|
+
TenantDto,
|
|
49
|
+
TenantIntegrationCredentialTypeDto,
|
|
50
|
+
TenantKeyDto,
|
|
51
|
+
TerminateInstance,
|
|
52
|
+
UpdateAppRequest,
|
|
53
|
+
UpdateCdfClusterRequest,
|
|
54
|
+
UpdateCustomerRequest,
|
|
55
|
+
UpdateTenantCdfConfigRequest,
|
|
56
|
+
UpdateTenantRequest,
|
|
57
|
+
UserDetailsDto,
|
|
58
|
+
)
|
|
59
|
+
|
|
60
|
+
from ._enums import ( # type: ignore
|
|
61
|
+
CredentialTypeDto,
|
|
62
|
+
CustomerStatusDto,
|
|
63
|
+
TenantEnvironment,
|
|
64
|
+
TenantInfrastructureStatus,
|
|
65
|
+
)
|
|
55
66
|
from ._patch import __all__ as _patch_all
|
|
56
|
-
from ._patch import *
|
|
67
|
+
from ._patch import *
|
|
57
68
|
from ._patch import patch_sdk as _patch_sdk
|
|
58
69
|
|
|
59
70
|
__all__ = [
|
|
@@ -103,5 +114,5 @@ __all__ = [
|
|
|
103
114
|
"TenantEnvironment",
|
|
104
115
|
"TenantInfrastructureStatus",
|
|
105
116
|
]
|
|
106
|
-
__all__.extend([p for p in _patch_all if p not in __all__])
|
|
117
|
+
__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore
|
|
107
118
|
_patch_sdk()
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
# coding=utf-8
|
|
2
1
|
# pylint: disable=too-many-lines
|
|
2
|
+
# coding=utf-8
|
|
3
3
|
# --------------------------------------------------------------------------
|
|
4
4
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5
5
|
# Licensed under the MIT License. See License.txt in the project root for license information.
|
|
@@ -8,12 +8,11 @@
|
|
|
8
8
|
# --------------------------------------------------------------------------
|
|
9
9
|
|
|
10
10
|
import datetime
|
|
11
|
-
from typing import Any,
|
|
11
|
+
from typing import Any, Optional, TYPE_CHECKING, Union
|
|
12
12
|
|
|
13
|
-
from .. import _serialization
|
|
13
|
+
from .._utils import serialization as _serialization
|
|
14
14
|
|
|
15
15
|
if TYPE_CHECKING:
|
|
16
|
-
# pylint: disable=unused-import,ungrouped-imports
|
|
17
16
|
from .. import models as _models
|
|
18
17
|
|
|
19
18
|
|
|
@@ -305,6 +304,8 @@ class CdfDetailsDto(_serialization.Model):
|
|
|
305
304
|
:vartype token_url: str
|
|
306
305
|
:ivar customer_managed_cdf: Required.
|
|
307
306
|
:vartype customer_managed_cdf: bool
|
|
307
|
+
:ivar cognite_functions_in_customer_cdf_project: Required.
|
|
308
|
+
:vartype cognite_functions_in_customer_cdf_project: bool
|
|
308
309
|
"""
|
|
309
310
|
|
|
310
311
|
_validation = {
|
|
@@ -314,6 +315,7 @@ class CdfDetailsDto(_serialization.Model):
|
|
|
314
315
|
"token_scopes": {"required": True, "min_length": 1},
|
|
315
316
|
"token_url": {"required": True, "min_length": 1},
|
|
316
317
|
"customer_managed_cdf": {"required": True},
|
|
318
|
+
"cognite_functions_in_customer_cdf_project": {"required": True},
|
|
317
319
|
}
|
|
318
320
|
|
|
319
321
|
_attribute_map = {
|
|
@@ -324,6 +326,7 @@ class CdfDetailsDto(_serialization.Model):
|
|
|
324
326
|
"token_scopes": {"key": "tokenScopes", "type": "str"},
|
|
325
327
|
"token_url": {"key": "tokenUrl", "type": "str"},
|
|
326
328
|
"customer_managed_cdf": {"key": "customerManagedCdf", "type": "bool"},
|
|
329
|
+
"cognite_functions_in_customer_cdf_project": {"key": "cogniteFunctionsInCustomerCdfProject", "type": "bool"},
|
|
327
330
|
}
|
|
328
331
|
|
|
329
332
|
def __init__(
|
|
@@ -335,6 +338,7 @@ class CdfDetailsDto(_serialization.Model):
|
|
|
335
338
|
token_scopes: str,
|
|
336
339
|
token_url: str,
|
|
337
340
|
customer_managed_cdf: bool,
|
|
341
|
+
cognite_functions_in_customer_cdf_project: bool,
|
|
338
342
|
client_id: Optional[str] = None,
|
|
339
343
|
**kwargs: Any
|
|
340
344
|
) -> None:
|
|
@@ -353,6 +357,8 @@ class CdfDetailsDto(_serialization.Model):
|
|
|
353
357
|
:paramtype token_url: str
|
|
354
358
|
:keyword customer_managed_cdf: Required.
|
|
355
359
|
:paramtype customer_managed_cdf: bool
|
|
360
|
+
:keyword cognite_functions_in_customer_cdf_project: Required.
|
|
361
|
+
:paramtype cognite_functions_in_customer_cdf_project: bool
|
|
356
362
|
"""
|
|
357
363
|
super().__init__(**kwargs)
|
|
358
364
|
self.project = project
|
|
@@ -362,6 +368,7 @@ class CdfDetailsDto(_serialization.Model):
|
|
|
362
368
|
self.token_scopes = token_scopes
|
|
363
369
|
self.token_url = token_url
|
|
364
370
|
self.customer_managed_cdf = customer_managed_cdf
|
|
371
|
+
self.cognite_functions_in_customer_cdf_project = cognite_functions_in_customer_cdf_project
|
|
365
372
|
|
|
366
373
|
|
|
367
374
|
class ComponentSettingsDto(_serialization.Model):
|
|
@@ -385,7 +392,7 @@ class ComponentSettingsDto(_serialization.Model):
|
|
|
385
392
|
"disabled_fields": {"key": "disabledFields", "type": "[str]"},
|
|
386
393
|
}
|
|
387
394
|
|
|
388
|
-
def __init__(self, *, component_id: str, disabled_fields:
|
|
395
|
+
def __init__(self, *, component_id: str, disabled_fields: list[str], **kwargs: Any) -> None:
|
|
389
396
|
"""
|
|
390
397
|
:keyword component_id: Required.
|
|
391
398
|
:paramtype component_id: str
|
|
@@ -615,7 +622,7 @@ class CreateCdfCluster(_serialization.Model):
|
|
|
615
622
|
self.scope = scope
|
|
616
623
|
|
|
617
624
|
|
|
618
|
-
class CreateIgnosCustomer(_serialization.Model):
|
|
625
|
+
class CreateIgnosCustomer(_serialization.Model):
|
|
619
626
|
"""CreateIgnosCustomer.
|
|
620
627
|
|
|
621
628
|
All required parameters must be populated in order to send to server.
|
|
@@ -802,12 +809,16 @@ class CreateTenantRequest(_serialization.Model):
|
|
|
802
809
|
:vartype contact_person: ~ignos.internal.api.client.models.ContactPersonRequest
|
|
803
810
|
:ivar environment: Required. Known values are: "Prod", "QA", "Test", and "Dev".
|
|
804
811
|
:vartype environment: str or ~ignos.internal.api.client.models.TenantEnvironment
|
|
812
|
+
:ivar cdf_entra_id:
|
|
813
|
+
:vartype cdf_entra_id: str
|
|
805
814
|
:ivar cdf_tenant:
|
|
806
815
|
:vartype cdf_tenant: str
|
|
807
816
|
:ivar cdf_cluster_id:
|
|
808
817
|
:vartype cdf_cluster_id: str
|
|
809
818
|
:ivar collaboration_company_id_to_migrate:
|
|
810
819
|
:vartype collaboration_company_id_to_migrate: str
|
|
820
|
+
:ivar cognite_functions_in_customer_cdf_project:
|
|
821
|
+
:vartype cognite_functions_in_customer_cdf_project: bool
|
|
811
822
|
"""
|
|
812
823
|
|
|
813
824
|
_validation = {
|
|
@@ -820,9 +831,11 @@ class CreateTenantRequest(_serialization.Model):
|
|
|
820
831
|
"azure_region_id": {"key": "azureRegionId", "type": "str"},
|
|
821
832
|
"contact_person": {"key": "contactPerson", "type": "ContactPersonRequest"},
|
|
822
833
|
"environment": {"key": "environment", "type": "str"},
|
|
834
|
+
"cdf_entra_id": {"key": "cdfEntraId", "type": "str"},
|
|
823
835
|
"cdf_tenant": {"key": "cdfTenant", "type": "str"},
|
|
824
836
|
"cdf_cluster_id": {"key": "cdfClusterId", "type": "str"},
|
|
825
837
|
"collaboration_company_id_to_migrate": {"key": "collaborationCompanyIdToMigrate", "type": "str"},
|
|
838
|
+
"cognite_functions_in_customer_cdf_project": {"key": "cogniteFunctionsInCustomerCdfProject", "type": "bool"},
|
|
826
839
|
}
|
|
827
840
|
|
|
828
841
|
def __init__(
|
|
@@ -832,9 +845,11 @@ class CreateTenantRequest(_serialization.Model):
|
|
|
832
845
|
environment: Union[str, "_models.TenantEnvironment"],
|
|
833
846
|
description: Optional[str] = None,
|
|
834
847
|
contact_person: Optional["_models.ContactPersonRequest"] = None,
|
|
848
|
+
cdf_entra_id: Optional[str] = None,
|
|
835
849
|
cdf_tenant: Optional[str] = None,
|
|
836
850
|
cdf_cluster_id: Optional[str] = None,
|
|
837
851
|
collaboration_company_id_to_migrate: Optional[str] = None,
|
|
852
|
+
cognite_functions_in_customer_cdf_project: Optional[bool] = None,
|
|
838
853
|
**kwargs: Any
|
|
839
854
|
) -> None:
|
|
840
855
|
"""
|
|
@@ -846,21 +861,27 @@ class CreateTenantRequest(_serialization.Model):
|
|
|
846
861
|
:paramtype contact_person: ~ignos.internal.api.client.models.ContactPersonRequest
|
|
847
862
|
:keyword environment: Required. Known values are: "Prod", "QA", "Test", and "Dev".
|
|
848
863
|
:paramtype environment: str or ~ignos.internal.api.client.models.TenantEnvironment
|
|
864
|
+
:keyword cdf_entra_id:
|
|
865
|
+
:paramtype cdf_entra_id: str
|
|
849
866
|
:keyword cdf_tenant:
|
|
850
867
|
:paramtype cdf_tenant: str
|
|
851
868
|
:keyword cdf_cluster_id:
|
|
852
869
|
:paramtype cdf_cluster_id: str
|
|
853
870
|
:keyword collaboration_company_id_to_migrate:
|
|
854
871
|
:paramtype collaboration_company_id_to_migrate: str
|
|
872
|
+
:keyword cognite_functions_in_customer_cdf_project:
|
|
873
|
+
:paramtype cognite_functions_in_customer_cdf_project: bool
|
|
855
874
|
"""
|
|
856
875
|
super().__init__(**kwargs)
|
|
857
876
|
self.description = description
|
|
858
877
|
self.azure_region_id = azure_region_id
|
|
859
878
|
self.contact_person = contact_person
|
|
860
879
|
self.environment = environment
|
|
880
|
+
self.cdf_entra_id = cdf_entra_id
|
|
861
881
|
self.cdf_tenant = cdf_tenant
|
|
862
882
|
self.cdf_cluster_id = cdf_cluster_id
|
|
863
883
|
self.collaboration_company_id_to_migrate = collaboration_company_id_to_migrate
|
|
884
|
+
self.cognite_functions_in_customer_cdf_project = cognite_functions_in_customer_cdf_project
|
|
864
885
|
|
|
865
886
|
|
|
866
887
|
class CustomerAppDto(_serialization.Model):
|
|
@@ -1215,7 +1236,7 @@ class ErpSyncErrorMessage(_serialization.Model):
|
|
|
1215
1236
|
self.stack_trace = stack_trace
|
|
1216
1237
|
|
|
1217
1238
|
|
|
1218
|
-
class IgnosCustomerDto(_serialization.Model):
|
|
1239
|
+
class IgnosCustomerDto(_serialization.Model):
|
|
1219
1240
|
"""IgnosCustomerDto.
|
|
1220
1241
|
|
|
1221
1242
|
All required parameters must be populated in order to send to server.
|
|
@@ -1563,7 +1584,7 @@ class SaveComponentSettingsRequest(_serialization.Model):
|
|
|
1563
1584
|
"disabled_fields": {"key": "disabledFields", "type": "[str]"},
|
|
1564
1585
|
}
|
|
1565
1586
|
|
|
1566
|
-
def __init__(self, *, disabled_fields:
|
|
1587
|
+
def __init__(self, *, disabled_fields: list[str], **kwargs: Any) -> None:
|
|
1567
1588
|
"""
|
|
1568
1589
|
:keyword disabled_fields: Required.
|
|
1569
1590
|
:paramtype disabled_fields: list[str]
|
|
@@ -1703,7 +1724,7 @@ class TenantDetailDto(_serialization.Model):
|
|
|
1703
1724
|
self,
|
|
1704
1725
|
*,
|
|
1705
1726
|
tenant_id: str,
|
|
1706
|
-
apps:
|
|
1727
|
+
apps: list["_models.CustomerAppDto"],
|
|
1707
1728
|
cdf: Optional["_models.CdfDetailsDto"] = None,
|
|
1708
1729
|
**kwargs: Any
|
|
1709
1730
|
) -> None:
|
|
@@ -1721,7 +1742,7 @@ class TenantDetailDto(_serialization.Model):
|
|
|
1721
1742
|
self.cdf = cdf
|
|
1722
1743
|
|
|
1723
1744
|
|
|
1724
|
-
class TenantDto(_serialization.Model):
|
|
1745
|
+
class TenantDto(_serialization.Model):
|
|
1725
1746
|
"""TenantDto.
|
|
1726
1747
|
|
|
1727
1748
|
All required parameters must be populated in order to send to server.
|
|
@@ -1777,6 +1798,8 @@ class TenantDto(_serialization.Model): # pylint: disable=too-many-instance-attr
|
|
|
1777
1798
|
:vartype tenant_key: str
|
|
1778
1799
|
:ivar customer_managed_cdf: Required.
|
|
1779
1800
|
:vartype customer_managed_cdf: bool
|
|
1801
|
+
:ivar cognite_functions_in_customer_cdf_project: Required.
|
|
1802
|
+
:vartype cognite_functions_in_customer_cdf_project: bool
|
|
1780
1803
|
"""
|
|
1781
1804
|
|
|
1782
1805
|
_validation = {
|
|
@@ -1795,6 +1818,7 @@ class TenantDto(_serialization.Model): # pylint: disable=too-many-instance-attr
|
|
|
1795
1818
|
"status": {"required": True},
|
|
1796
1819
|
"infrastructure_status": {"required": True},
|
|
1797
1820
|
"customer_managed_cdf": {"required": True},
|
|
1821
|
+
"cognite_functions_in_customer_cdf_project": {"required": True},
|
|
1798
1822
|
}
|
|
1799
1823
|
|
|
1800
1824
|
_attribute_map = {
|
|
@@ -1823,6 +1847,7 @@ class TenantDto(_serialization.Model): # pylint: disable=too-many-instance-attr
|
|
|
1823
1847
|
"cdf_tenant_client_id": {"key": "cdfTenantClientId", "type": "str"},
|
|
1824
1848
|
"tenant_key": {"key": "tenantKey", "type": "str"},
|
|
1825
1849
|
"customer_managed_cdf": {"key": "customerManagedCdf", "type": "bool"},
|
|
1850
|
+
"cognite_functions_in_customer_cdf_project": {"key": "cogniteFunctionsInCustomerCdfProject", "type": "bool"},
|
|
1826
1851
|
}
|
|
1827
1852
|
|
|
1828
1853
|
def __init__( # pylint: disable=too-many-locals
|
|
@@ -1843,6 +1868,7 @@ class TenantDto(_serialization.Model): # pylint: disable=too-many-instance-attr
|
|
|
1843
1868
|
status: int,
|
|
1844
1869
|
infrastructure_status: Union[int, "_models.TenantInfrastructureStatus"],
|
|
1845
1870
|
customer_managed_cdf: bool,
|
|
1871
|
+
cognite_functions_in_customer_cdf_project: bool,
|
|
1846
1872
|
description: Optional[str] = None,
|
|
1847
1873
|
cosmos_database: Optional[str] = None,
|
|
1848
1874
|
contact_person: Optional["_models.ContactPersonDto"] = None,
|
|
@@ -1907,6 +1933,8 @@ class TenantDto(_serialization.Model): # pylint: disable=too-many-instance-attr
|
|
|
1907
1933
|
:paramtype tenant_key: str
|
|
1908
1934
|
:keyword customer_managed_cdf: Required.
|
|
1909
1935
|
:paramtype customer_managed_cdf: bool
|
|
1936
|
+
:keyword cognite_functions_in_customer_cdf_project: Required.
|
|
1937
|
+
:paramtype cognite_functions_in_customer_cdf_project: bool
|
|
1910
1938
|
"""
|
|
1911
1939
|
super().__init__(**kwargs)
|
|
1912
1940
|
self.tenant_id = tenant_id
|
|
@@ -1934,6 +1962,7 @@ class TenantDto(_serialization.Model): # pylint: disable=too-many-instance-attr
|
|
|
1934
1962
|
self.cdf_tenant_client_id = cdf_tenant_client_id
|
|
1935
1963
|
self.tenant_key = tenant_key
|
|
1936
1964
|
self.customer_managed_cdf = customer_managed_cdf
|
|
1965
|
+
self.cognite_functions_in_customer_cdf_project = cognite_functions_in_customer_cdf_project
|
|
1937
1966
|
|
|
1938
1967
|
|
|
1939
1968
|
class TenantIntegrationCredentialTypeDto(_serialization.Model):
|
|
@@ -2293,14 +2322,26 @@ class UpdateTenantRequest(_serialization.Model):
|
|
|
2293
2322
|
:vartype description: str
|
|
2294
2323
|
:ivar contact_person:
|
|
2295
2324
|
:vartype contact_person: ~ignos.internal.api.client.models.ContactPersonRequest
|
|
2325
|
+
:ivar cdf_entra_id:
|
|
2326
|
+
:vartype cdf_entra_id: str
|
|
2296
2327
|
:ivar cdf_tenant:
|
|
2297
2328
|
:vartype cdf_tenant: str
|
|
2329
|
+
:ivar cdf_cluster_id:
|
|
2330
|
+
:vartype cdf_cluster_id: str
|
|
2331
|
+
:ivar unset_cdf_cluster_id_please_fix_some_time:
|
|
2332
|
+
:vartype unset_cdf_cluster_id_please_fix_some_time: bool
|
|
2333
|
+
:ivar cognite_functions_in_customer_cdf_project:
|
|
2334
|
+
:vartype cognite_functions_in_customer_cdf_project: bool
|
|
2298
2335
|
"""
|
|
2299
2336
|
|
|
2300
2337
|
_attribute_map = {
|
|
2301
2338
|
"description": {"key": "description", "type": "str"},
|
|
2302
2339
|
"contact_person": {"key": "contactPerson", "type": "ContactPersonRequest"},
|
|
2340
|
+
"cdf_entra_id": {"key": "cdfEntraId", "type": "str"},
|
|
2303
2341
|
"cdf_tenant": {"key": "cdfTenant", "type": "str"},
|
|
2342
|
+
"cdf_cluster_id": {"key": "cdfClusterId", "type": "str"},
|
|
2343
|
+
"unset_cdf_cluster_id_please_fix_some_time": {"key": "unsetCdfClusterId_PleaseFixSomeTime", "type": "bool"},
|
|
2344
|
+
"cognite_functions_in_customer_cdf_project": {"key": "cogniteFunctionsInCustomerCdfProject", "type": "bool"},
|
|
2304
2345
|
}
|
|
2305
2346
|
|
|
2306
2347
|
def __init__(
|
|
@@ -2308,7 +2349,11 @@ class UpdateTenantRequest(_serialization.Model):
|
|
|
2308
2349
|
*,
|
|
2309
2350
|
description: Optional[str] = None,
|
|
2310
2351
|
contact_person: Optional["_models.ContactPersonRequest"] = None,
|
|
2352
|
+
cdf_entra_id: Optional[str] = None,
|
|
2311
2353
|
cdf_tenant: Optional[str] = None,
|
|
2354
|
+
cdf_cluster_id: Optional[str] = None,
|
|
2355
|
+
unset_cdf_cluster_id_please_fix_some_time: Optional[bool] = None,
|
|
2356
|
+
cognite_functions_in_customer_cdf_project: Optional[bool] = None,
|
|
2312
2357
|
**kwargs: Any
|
|
2313
2358
|
) -> None:
|
|
2314
2359
|
"""
|
|
@@ -2316,13 +2361,25 @@ class UpdateTenantRequest(_serialization.Model):
|
|
|
2316
2361
|
:paramtype description: str
|
|
2317
2362
|
:keyword contact_person:
|
|
2318
2363
|
:paramtype contact_person: ~ignos.internal.api.client.models.ContactPersonRequest
|
|
2364
|
+
:keyword cdf_entra_id:
|
|
2365
|
+
:paramtype cdf_entra_id: str
|
|
2319
2366
|
:keyword cdf_tenant:
|
|
2320
2367
|
:paramtype cdf_tenant: str
|
|
2368
|
+
:keyword cdf_cluster_id:
|
|
2369
|
+
:paramtype cdf_cluster_id: str
|
|
2370
|
+
:keyword unset_cdf_cluster_id_please_fix_some_time:
|
|
2371
|
+
:paramtype unset_cdf_cluster_id_please_fix_some_time: bool
|
|
2372
|
+
:keyword cognite_functions_in_customer_cdf_project:
|
|
2373
|
+
:paramtype cognite_functions_in_customer_cdf_project: bool
|
|
2321
2374
|
"""
|
|
2322
2375
|
super().__init__(**kwargs)
|
|
2323
2376
|
self.description = description
|
|
2324
2377
|
self.contact_person = contact_person
|
|
2378
|
+
self.cdf_entra_id = cdf_entra_id
|
|
2325
2379
|
self.cdf_tenant = cdf_tenant
|
|
2380
|
+
self.cdf_cluster_id = cdf_cluster_id
|
|
2381
|
+
self.unset_cdf_cluster_id_please_fix_some_time = unset_cdf_cluster_id_please_fix_some_time
|
|
2382
|
+
self.cognite_functions_in_customer_cdf_project = cognite_functions_in_customer_cdf_project
|
|
2326
2383
|
|
|
2327
2384
|
|
|
2328
2385
|
class UserDetailsDto(_serialization.Model):
|
|
@@ -2357,7 +2414,7 @@ class UserDetailsDto(_serialization.Model):
|
|
|
2357
2414
|
id: Optional[str] = None, # pylint: disable=redefined-builtin
|
|
2358
2415
|
full_name: Optional[str] = None,
|
|
2359
2416
|
upn: Optional[str] = None,
|
|
2360
|
-
roles: Optional[
|
|
2417
|
+
roles: Optional[list[str]] = None,
|
|
2361
2418
|
given_name: Optional[str] = None,
|
|
2362
2419
|
sur_name: Optional[str] = None,
|
|
2363
2420
|
**kwargs: Any
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
3
|
-
#
|
|
4
|
-
#
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# --------------------------------------------------------------------------
|
|
3
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
|
+
# Licensed under the MIT License. See License.txt in the project root for license information.
|
|
5
|
+
# --------------------------------------------------------------------------
|
|
5
6
|
"""Customize generated code here.
|
|
6
7
|
|
|
7
8
|
Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize
|
|
8
9
|
"""
|
|
9
|
-
from typing import List
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
|
|
12
|
+
__all__: list[str] = [] # Add all objects you want publicly available to users at this package level
|
|
12
13
|
|
|
13
14
|
|
|
14
15
|
def patch_sdk():
|
|
@@ -5,23 +5,29 @@
|
|
|
5
5
|
# Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
# --------------------------------------------------------------------------
|
|
8
|
+
# pylint: disable=wrong-import-position
|
|
8
9
|
|
|
9
|
-
from
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
from .
|
|
13
|
-
|
|
14
|
-
from ._operations import
|
|
15
|
-
from ._operations import
|
|
16
|
-
from ._operations import
|
|
17
|
-
from ._operations import
|
|
18
|
-
from ._operations import
|
|
19
|
-
from ._operations import
|
|
20
|
-
from ._operations import
|
|
21
|
-
from ._operations import
|
|
10
|
+
from typing import TYPE_CHECKING
|
|
11
|
+
|
|
12
|
+
if TYPE_CHECKING:
|
|
13
|
+
from ._patch import * # pylint: disable=unused-wildcard-import
|
|
14
|
+
|
|
15
|
+
from ._operations import AppsOperations # type: ignore
|
|
16
|
+
from ._operations import AzureRegionsOperations # type: ignore
|
|
17
|
+
from ._operations import CdfClustersOperations # type: ignore
|
|
18
|
+
from ._operations import CountriesOperations # type: ignore
|
|
19
|
+
from ._operations import CustomersOperations # type: ignore
|
|
20
|
+
from ._operations import DatabasesOperations # type: ignore
|
|
21
|
+
from ._operations import ErpSyncOperations # type: ignore
|
|
22
|
+
from ._operations import PowerOperations # type: ignore
|
|
23
|
+
from ._operations import PresentationOperations # type: ignore
|
|
24
|
+
from ._operations import SustainabilitySetupOperations # type: ignore
|
|
25
|
+
from ._operations import TenantCredentialsOperations # type: ignore
|
|
26
|
+
from ._operations import TenantsOperations # type: ignore
|
|
27
|
+
from ._operations import UserOperations # type: ignore
|
|
22
28
|
|
|
23
29
|
from ._patch import __all__ as _patch_all
|
|
24
|
-
from ._patch import *
|
|
30
|
+
from ._patch import *
|
|
25
31
|
from ._patch import patch_sdk as _patch_sdk
|
|
26
32
|
|
|
27
33
|
__all__ = [
|
|
@@ -39,5 +45,5 @@ __all__ = [
|
|
|
39
45
|
"TenantsOperations",
|
|
40
46
|
"UserOperations",
|
|
41
47
|
]
|
|
42
|
-
__all__.extend([p for p in _patch_all if p not in __all__])
|
|
48
|
+
__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore
|
|
43
49
|
_patch_sdk()
|