ignos-internal-api-client 20240617.0.9575__py3-none-any.whl → 20240813.0.9983__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/_client.py +8 -1
- ignos/internal/api/client/_serialization.py +2 -0
- ignos/internal/api/client/_version.py +1 -1
- ignos/internal/api/client/aio/_client.py +9 -1
- ignos/internal/api/client/aio/operations/__init__.py +2 -0
- ignos/internal/api/client/aio/operations/_operations.py +263 -108
- ignos/internal/api/client/models/__init__.py +6 -0
- ignos/internal/api/client/models/_enums.py +9 -0
- ignos/internal/api/client/models/_models.py +146 -0
- ignos/internal/api/client/operations/__init__.py +2 -0
- ignos/internal/api/client/operations/_operations.py +320 -108
- {ignos_internal_api_client-20240617.0.9575.dist-info → ignos_internal_api_client-20240813.0.9983.dist-info}/METADATA +2 -1
- ignos_internal_api_client-20240813.0.9983.dist-info/RECORD +28 -0
- {ignos_internal_api_client-20240617.0.9575.dist-info → ignos_internal_api_client-20240813.0.9983.dist-info}/WHEEL +1 -1
- ignos_internal_api_client-20240617.0.9575.dist-info/RECORD +0 -28
- {ignos_internal_api_client-20240617.0.9575.dist-info → ignos_internal_api_client-20240813.0.9983.dist-info}/top_level.txt +0 -0
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
# --------------------------------------------------------------------------
|
|
8
8
|
|
|
9
|
+
from ._models import AddIntegrationCredentialTypeRequest
|
|
9
10
|
from ._models import AppDto
|
|
10
11
|
from ._models import AzureRegionDto
|
|
11
12
|
from ._models import CdfClusterDto
|
|
@@ -37,6 +38,7 @@ from ._models import StartFullSync
|
|
|
37
38
|
from ._models import SyncSingleWorkOrder
|
|
38
39
|
from ._models import TenantDetailDto
|
|
39
40
|
from ._models import TenantDto
|
|
41
|
+
from ._models import TenantIntegrationCredentialTypeDto
|
|
40
42
|
from ._models import TenantKeyDto
|
|
41
43
|
from ._models import TerminateInstance
|
|
42
44
|
from ._models import UpdateAppRequest
|
|
@@ -46,6 +48,7 @@ from ._models import UpdateTenantCdfConfigRequest
|
|
|
46
48
|
from ._models import UpdateTenantRequest
|
|
47
49
|
from ._models import UserDetailsDto
|
|
48
50
|
|
|
51
|
+
from ._enums import CredentialTypeDto
|
|
49
52
|
from ._enums import CustomerStatusDto
|
|
50
53
|
from ._enums import TenantEnvironment
|
|
51
54
|
from ._enums import TenantInfrastructureStatus
|
|
@@ -54,6 +57,7 @@ from ._patch import * # pylint: disable=unused-wildcard-import
|
|
|
54
57
|
from ._patch import patch_sdk as _patch_sdk
|
|
55
58
|
|
|
56
59
|
__all__ = [
|
|
60
|
+
"AddIntegrationCredentialTypeRequest",
|
|
57
61
|
"AppDto",
|
|
58
62
|
"AzureRegionDto",
|
|
59
63
|
"CdfClusterDto",
|
|
@@ -85,6 +89,7 @@ __all__ = [
|
|
|
85
89
|
"SyncSingleWorkOrder",
|
|
86
90
|
"TenantDetailDto",
|
|
87
91
|
"TenantDto",
|
|
92
|
+
"TenantIntegrationCredentialTypeDto",
|
|
88
93
|
"TenantKeyDto",
|
|
89
94
|
"TerminateInstance",
|
|
90
95
|
"UpdateAppRequest",
|
|
@@ -93,6 +98,7 @@ __all__ = [
|
|
|
93
98
|
"UpdateTenantCdfConfigRequest",
|
|
94
99
|
"UpdateTenantRequest",
|
|
95
100
|
"UserDetailsDto",
|
|
101
|
+
"CredentialTypeDto",
|
|
96
102
|
"CustomerStatusDto",
|
|
97
103
|
"TenantEnvironment",
|
|
98
104
|
"TenantInfrastructureStatus",
|
|
@@ -10,6 +10,15 @@ from enum import Enum
|
|
|
10
10
|
from azure.core import CaseInsensitiveEnumMeta
|
|
11
11
|
|
|
12
12
|
|
|
13
|
+
class CredentialTypeDto(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
|
14
|
+
"""CredentialTypeDto."""
|
|
15
|
+
|
|
16
|
+
CLIENT_ID_CLIENT_SECRET = "ClientIdClientSecret"
|
|
17
|
+
CLIENT_SECRET = "ClientSecret"
|
|
18
|
+
O_AUTH = "OAuth"
|
|
19
|
+
CONNECTION_STRING = "ConnectionString"
|
|
20
|
+
|
|
21
|
+
|
|
13
22
|
class CustomerStatusDto(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
|
14
23
|
"""CustomerStatusDto."""
|
|
15
24
|
|
|
@@ -17,6 +17,76 @@ if TYPE_CHECKING:
|
|
|
17
17
|
from .. import models as _models
|
|
18
18
|
|
|
19
19
|
|
|
20
|
+
class AddIntegrationCredentialTypeRequest(_serialization.Model):
|
|
21
|
+
"""AddIntegrationCredentialTypeRequest.
|
|
22
|
+
|
|
23
|
+
All required parameters must be populated in order to send to server.
|
|
24
|
+
|
|
25
|
+
:ivar name: Required.
|
|
26
|
+
:vartype name: str
|
|
27
|
+
:ivar type: Required. Known values are: "ClientIdClientSecret", "ClientSecret", "OAuth", and
|
|
28
|
+
"ConnectionString".
|
|
29
|
+
:vartype type: str or ~ignos.internal.api.client.models.CredentialTypeDto
|
|
30
|
+
:ivar connection_string_name:
|
|
31
|
+
:vartype connection_string_name: str
|
|
32
|
+
:ivar client_secret_name:
|
|
33
|
+
:vartype client_secret_name: str
|
|
34
|
+
:ivar client_id_name:
|
|
35
|
+
:vartype client_id_name: str
|
|
36
|
+
:ivar prefix_with_tenant_id: Required.
|
|
37
|
+
:vartype prefix_with_tenant_id: bool
|
|
38
|
+
"""
|
|
39
|
+
|
|
40
|
+
_validation = {
|
|
41
|
+
"name": {"required": True, "min_length": 1},
|
|
42
|
+
"type": {"required": True},
|
|
43
|
+
"prefix_with_tenant_id": {"required": True},
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
_attribute_map = {
|
|
47
|
+
"name": {"key": "name", "type": "str"},
|
|
48
|
+
"type": {"key": "type", "type": "str"},
|
|
49
|
+
"connection_string_name": {"key": "connectionStringName", "type": "str"},
|
|
50
|
+
"client_secret_name": {"key": "clientSecretName", "type": "str"},
|
|
51
|
+
"client_id_name": {"key": "clientIdName", "type": "str"},
|
|
52
|
+
"prefix_with_tenant_id": {"key": "prefixWithTenantId", "type": "bool"},
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
def __init__(
|
|
56
|
+
self,
|
|
57
|
+
*,
|
|
58
|
+
name: str,
|
|
59
|
+
type: Union[str, "_models.CredentialTypeDto"],
|
|
60
|
+
prefix_with_tenant_id: bool,
|
|
61
|
+
connection_string_name: Optional[str] = None,
|
|
62
|
+
client_secret_name: Optional[str] = None,
|
|
63
|
+
client_id_name: Optional[str] = None,
|
|
64
|
+
**kwargs: Any
|
|
65
|
+
) -> None:
|
|
66
|
+
"""
|
|
67
|
+
:keyword name: Required.
|
|
68
|
+
:paramtype name: str
|
|
69
|
+
:keyword type: Required. Known values are: "ClientIdClientSecret", "ClientSecret", "OAuth", and
|
|
70
|
+
"ConnectionString".
|
|
71
|
+
:paramtype type: str or ~ignos.internal.api.client.models.CredentialTypeDto
|
|
72
|
+
:keyword connection_string_name:
|
|
73
|
+
:paramtype connection_string_name: str
|
|
74
|
+
:keyword client_secret_name:
|
|
75
|
+
:paramtype client_secret_name: str
|
|
76
|
+
:keyword client_id_name:
|
|
77
|
+
:paramtype client_id_name: str
|
|
78
|
+
:keyword prefix_with_tenant_id: Required.
|
|
79
|
+
:paramtype prefix_with_tenant_id: bool
|
|
80
|
+
"""
|
|
81
|
+
super().__init__(**kwargs)
|
|
82
|
+
self.name = name
|
|
83
|
+
self.type = type
|
|
84
|
+
self.connection_string_name = connection_string_name
|
|
85
|
+
self.client_secret_name = client_secret_name
|
|
86
|
+
self.client_id_name = client_id_name
|
|
87
|
+
self.prefix_with_tenant_id = prefix_with_tenant_id
|
|
88
|
+
|
|
89
|
+
|
|
20
90
|
class AppDto(_serialization.Model):
|
|
21
91
|
"""AppDto.
|
|
22
92
|
|
|
@@ -1866,6 +1936,82 @@ class TenantDto(_serialization.Model): # pylint: disable=too-many-instance-attr
|
|
|
1866
1936
|
self.customer_managed_cdf = customer_managed_cdf
|
|
1867
1937
|
|
|
1868
1938
|
|
|
1939
|
+
class TenantIntegrationCredentialTypeDto(_serialization.Model):
|
|
1940
|
+
"""TenantIntegrationCredentialTypeDto.
|
|
1941
|
+
|
|
1942
|
+
All required parameters must be populated in order to send to server.
|
|
1943
|
+
|
|
1944
|
+
:ivar id: Required.
|
|
1945
|
+
:vartype id: str
|
|
1946
|
+
:ivar name: Required.
|
|
1947
|
+
:vartype name: str
|
|
1948
|
+
:ivar type: Known values are: "ClientIdClientSecret", "ClientSecret", "OAuth", and
|
|
1949
|
+
"ConnectionString".
|
|
1950
|
+
:vartype type: str or ~ignos.internal.api.client.models.CredentialTypeDto
|
|
1951
|
+
:ivar connection_string_name:
|
|
1952
|
+
:vartype connection_string_name: str
|
|
1953
|
+
:ivar client_id_name:
|
|
1954
|
+
:vartype client_id_name: str
|
|
1955
|
+
:ivar client_secret_name:
|
|
1956
|
+
:vartype client_secret_name: str
|
|
1957
|
+
:ivar prefix_with_tenant_id:
|
|
1958
|
+
:vartype prefix_with_tenant_id: bool
|
|
1959
|
+
"""
|
|
1960
|
+
|
|
1961
|
+
_validation = {
|
|
1962
|
+
"id": {"required": True, "min_length": 1},
|
|
1963
|
+
"name": {"required": True, "min_length": 1},
|
|
1964
|
+
}
|
|
1965
|
+
|
|
1966
|
+
_attribute_map = {
|
|
1967
|
+
"id": {"key": "id", "type": "str"},
|
|
1968
|
+
"name": {"key": "name", "type": "str"},
|
|
1969
|
+
"type": {"key": "type", "type": "str"},
|
|
1970
|
+
"connection_string_name": {"key": "connectionStringName", "type": "str"},
|
|
1971
|
+
"client_id_name": {"key": "clientIdName", "type": "str"},
|
|
1972
|
+
"client_secret_name": {"key": "clientSecretName", "type": "str"},
|
|
1973
|
+
"prefix_with_tenant_id": {"key": "prefixWithTenantId", "type": "bool"},
|
|
1974
|
+
}
|
|
1975
|
+
|
|
1976
|
+
def __init__(
|
|
1977
|
+
self,
|
|
1978
|
+
*,
|
|
1979
|
+
id: str, # pylint: disable=redefined-builtin
|
|
1980
|
+
name: str,
|
|
1981
|
+
type: Optional[Union[str, "_models.CredentialTypeDto"]] = None,
|
|
1982
|
+
connection_string_name: Optional[str] = None,
|
|
1983
|
+
client_id_name: Optional[str] = None,
|
|
1984
|
+
client_secret_name: Optional[str] = None,
|
|
1985
|
+
prefix_with_tenant_id: Optional[bool] = None,
|
|
1986
|
+
**kwargs: Any
|
|
1987
|
+
) -> None:
|
|
1988
|
+
"""
|
|
1989
|
+
:keyword id: Required.
|
|
1990
|
+
:paramtype id: str
|
|
1991
|
+
:keyword name: Required.
|
|
1992
|
+
:paramtype name: str
|
|
1993
|
+
:keyword type: Known values are: "ClientIdClientSecret", "ClientSecret", "OAuth", and
|
|
1994
|
+
"ConnectionString".
|
|
1995
|
+
:paramtype type: str or ~ignos.internal.api.client.models.CredentialTypeDto
|
|
1996
|
+
:keyword connection_string_name:
|
|
1997
|
+
:paramtype connection_string_name: str
|
|
1998
|
+
:keyword client_id_name:
|
|
1999
|
+
:paramtype client_id_name: str
|
|
2000
|
+
:keyword client_secret_name:
|
|
2001
|
+
:paramtype client_secret_name: str
|
|
2002
|
+
:keyword prefix_with_tenant_id:
|
|
2003
|
+
:paramtype prefix_with_tenant_id: bool
|
|
2004
|
+
"""
|
|
2005
|
+
super().__init__(**kwargs)
|
|
2006
|
+
self.id = id
|
|
2007
|
+
self.name = name
|
|
2008
|
+
self.type = type
|
|
2009
|
+
self.connection_string_name = connection_string_name
|
|
2010
|
+
self.client_id_name = client_id_name
|
|
2011
|
+
self.client_secret_name = client_secret_name
|
|
2012
|
+
self.prefix_with_tenant_id = prefix_with_tenant_id
|
|
2013
|
+
|
|
2014
|
+
|
|
1869
2015
|
class TenantKeyDto(_serialization.Model):
|
|
1870
2016
|
"""TenantKeyDto.
|
|
1871
2017
|
|
|
@@ -16,6 +16,7 @@ from ._operations import ErpSyncOperations
|
|
|
16
16
|
from ._operations import PowerOperations
|
|
17
17
|
from ._operations import PresentationOperations
|
|
18
18
|
from ._operations import SustainabilitySetupOperations
|
|
19
|
+
from ._operations import TenantCredentialsOperations
|
|
19
20
|
from ._operations import TenantsOperations
|
|
20
21
|
from ._operations import UserOperations
|
|
21
22
|
|
|
@@ -34,6 +35,7 @@ __all__ = [
|
|
|
34
35
|
"PowerOperations",
|
|
35
36
|
"PresentationOperations",
|
|
36
37
|
"SustainabilitySetupOperations",
|
|
38
|
+
"TenantCredentialsOperations",
|
|
37
39
|
"TenantsOperations",
|
|
38
40
|
"UserOperations",
|
|
39
41
|
]
|