pulumi-ise 0.2.0a1736833585__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (119) hide show
  1. pulumi_ise/__init__.py +458 -0
  2. pulumi_ise/_utilities.py +327 -0
  3. pulumi_ise/config/__init__.py +8 -0
  4. pulumi_ise/config/__init__.pyi +41 -0
  5. pulumi_ise/config/vars.py +57 -0
  6. pulumi_ise/deviceadmin/__init__.py +34 -0
  7. pulumi_ise/deviceadmin/_inputs.py +2517 -0
  8. pulumi_ise/deviceadmin/allowed_protocols_tacacs.py +381 -0
  9. pulumi_ise/deviceadmin/authentication_rule.py +1050 -0
  10. pulumi_ise/deviceadmin/authentication_rule_update_rank.py +271 -0
  11. pulumi_ise/deviceadmin/authorization_exception_rule.py +942 -0
  12. pulumi_ise/deviceadmin/authorization_exception_rule_update_rank.py +271 -0
  13. pulumi_ise/deviceadmin/authorization_global_exception_rule.py +843 -0
  14. pulumi_ise/deviceadmin/authorization_global_exception_rule_update_rank.py +221 -0
  15. pulumi_ise/deviceadmin/authorization_rule.py +942 -0
  16. pulumi_ise/deviceadmin/authorization_rule_update_rank.py +271 -0
  17. pulumi_ise/deviceadmin/condition.py +650 -0
  18. pulumi_ise/deviceadmin/get_allowed_protocols_tacacs.py +174 -0
  19. pulumi_ise/deviceadmin/get_authentication_rule.py +365 -0
  20. pulumi_ise/deviceadmin/get_authorization_exception_rule.py +337 -0
  21. pulumi_ise/deviceadmin/get_authorization_global_exception_rule.py +301 -0
  22. pulumi_ise/deviceadmin/get_authorization_rule.py +337 -0
  23. pulumi_ise/deviceadmin/get_condition.py +245 -0
  24. pulumi_ise/deviceadmin/get_policy_set.py +329 -0
  25. pulumi_ise/deviceadmin/get_tacacs_command_set.py +158 -0
  26. pulumi_ise/deviceadmin/get_tacacs_profile.py +144 -0
  27. pulumi_ise/deviceadmin/get_time_and_date_condition.py +286 -0
  28. pulumi_ise/deviceadmin/outputs.py +3178 -0
  29. pulumi_ise/deviceadmin/policy_set.py +947 -0
  30. pulumi_ise/deviceadmin/policy_set_update_rank.py +221 -0
  31. pulumi_ise/deviceadmin/tacacs_command_set.py +326 -0
  32. pulumi_ise/deviceadmin/tacacs_profile.py +277 -0
  33. pulumi_ise/deviceadmin/time_and_date_condition.py +770 -0
  34. pulumi_ise/identitymanagement/__init__.py +26 -0
  35. pulumi_ise/identitymanagement/_inputs.py +419 -0
  36. pulumi_ise/identitymanagement/active_directory_add_groups.py +483 -0
  37. pulumi_ise/identitymanagement/active_directory_join_domain_with_all_nodes.py +216 -0
  38. pulumi_ise/identitymanagement/active_directory_join_point.py +1676 -0
  39. pulumi_ise/identitymanagement/certificate_authentication_profile.py +525 -0
  40. pulumi_ise/identitymanagement/endpoint.py +1376 -0
  41. pulumi_ise/identitymanagement/endpoint_identity_group.py +327 -0
  42. pulumi_ise/identitymanagement/get_active_directory_groups_by_domain.py +215 -0
  43. pulumi_ise/identitymanagement/get_active_directory_join_point.py +558 -0
  44. pulumi_ise/identitymanagement/get_certificate_authentication_profile.py +202 -0
  45. pulumi_ise/identitymanagement/get_endpoint.py +468 -0
  46. pulumi_ise/identitymanagement/get_endpoint_identity_group.py +160 -0
  47. pulumi_ise/identitymanagement/get_identity_source_sequence.py +172 -0
  48. pulumi_ise/identitymanagement/get_internal_user.py +300 -0
  49. pulumi_ise/identitymanagement/get_user_identity_group.py +146 -0
  50. pulumi_ise/identitymanagement/identity_source_sequence.py +376 -0
  51. pulumi_ise/identitymanagement/internal_user.py +830 -0
  52. pulumi_ise/identitymanagement/outputs.py +491 -0
  53. pulumi_ise/identitymanagement/user_identity_group.py +280 -0
  54. pulumi_ise/network/__init__.py +13 -0
  55. pulumi_ise/network/_inputs.py +94 -0
  56. pulumi_ise/network/device.py +2194 -0
  57. pulumi_ise/network/device_group.py +281 -0
  58. pulumi_ise/network/get_device.py +693 -0
  59. pulumi_ise/network/get_device_group.py +146 -0
  60. pulumi_ise/network/outputs.py +120 -0
  61. pulumi_ise/networkaccess/__init__.py +36 -0
  62. pulumi_ise/networkaccess/_inputs.py +2506 -0
  63. pulumi_ise/networkaccess/allowed_protocols.py +3967 -0
  64. pulumi_ise/networkaccess/authentication_rule.py +1050 -0
  65. pulumi_ise/networkaccess/authentication_rule_update_rank.py +271 -0
  66. pulumi_ise/networkaccess/authorization_exception_rule.py +942 -0
  67. pulumi_ise/networkaccess/authorization_exception_rule_update_rank.py +271 -0
  68. pulumi_ise/networkaccess/authorization_global_exception_rule.py +843 -0
  69. pulumi_ise/networkaccess/authorization_global_exception_rule_update_rank.py +221 -0
  70. pulumi_ise/networkaccess/authorization_profile.py +1682 -0
  71. pulumi_ise/networkaccess/authorization_rule.py +942 -0
  72. pulumi_ise/networkaccess/authorization_rule_update_rank.py +271 -0
  73. pulumi_ise/networkaccess/condition.py +650 -0
  74. pulumi_ise/networkaccess/dictionary.py +331 -0
  75. pulumi_ise/networkaccess/downloadable_acl.py +330 -0
  76. pulumi_ise/networkaccess/get_allowed_protocols.py +1182 -0
  77. pulumi_ise/networkaccess/get_authentication_rule.py +365 -0
  78. pulumi_ise/networkaccess/get_authorization_exception_rule.py +337 -0
  79. pulumi_ise/networkaccess/get_authorization_global_exception_rule.py +301 -0
  80. pulumi_ise/networkaccess/get_authorization_profile.py +567 -0
  81. pulumi_ise/networkaccess/get_authorization_rule.py +337 -0
  82. pulumi_ise/networkaccess/get_condition.py +245 -0
  83. pulumi_ise/networkaccess/get_dictionary.py +160 -0
  84. pulumi_ise/networkaccess/get_downloadable_acl.py +160 -0
  85. pulumi_ise/networkaccess/get_policy_set.py +329 -0
  86. pulumi_ise/networkaccess/get_time_and_date_condition.py +286 -0
  87. pulumi_ise/networkaccess/outputs.py +3193 -0
  88. pulumi_ise/networkaccess/policy_set.py +947 -0
  89. pulumi_ise/networkaccess/policy_set_update_rank.py +221 -0
  90. pulumi_ise/networkaccess/time_and_date_condition.py +770 -0
  91. pulumi_ise/provider.py +209 -0
  92. pulumi_ise/pulumi-plugin.json +5 -0
  93. pulumi_ise/py.typed +0 -0
  94. pulumi_ise/system/__init__.py +13 -0
  95. pulumi_ise/system/_inputs.py +79 -0
  96. pulumi_ise/system/get_license_tier_state.py +113 -0
  97. pulumi_ise/system/get_repository.py +202 -0
  98. pulumi_ise/system/license_tier_state.py +189 -0
  99. pulumi_ise/system/outputs.py +83 -0
  100. pulumi_ise/system/repository.py +478 -0
  101. pulumi_ise/trustsec/__init__.py +21 -0
  102. pulumi_ise/trustsec/egress_matrix_cell.py +429 -0
  103. pulumi_ise/trustsec/egress_matrix_cell_default.py +327 -0
  104. pulumi_ise/trustsec/get_egress_matrix_cell.py +182 -0
  105. pulumi_ise/trustsec/get_egress_matrix_cell_default.py +154 -0
  106. pulumi_ise/trustsec/get_ip_to_sgt_mapping.py +216 -0
  107. pulumi_ise/trustsec/get_ip_to_sgt_mapping_group.py +174 -0
  108. pulumi_ise/trustsec/get_security_group.py +174 -0
  109. pulumi_ise/trustsec/get_security_group_acl.py +174 -0
  110. pulumi_ise/trustsec/get_sxp_domain_filter.py +188 -0
  111. pulumi_ise/trustsec/ip_to_sgt_mapping.py +517 -0
  112. pulumi_ise/trustsec/ip_to_sgt_mapping_group.py +376 -0
  113. pulumi_ise/trustsec/security_group.py +379 -0
  114. pulumi_ise/trustsec/security_group_acl.py +379 -0
  115. pulumi_ise/trustsec/sxp_domain_filter.py +422 -0
  116. pulumi_ise-0.2.0a1736833585.dist-info/METADATA +64 -0
  117. pulumi_ise-0.2.0a1736833585.dist-info/RECORD +119 -0
  118. pulumi_ise-0.2.0a1736833585.dist-info/WHEEL +5 -0
  119. pulumi_ise-0.2.0a1736833585.dist-info/top_level.txt +1 -0
@@ -0,0 +1,160 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+
17
+ __all__ = [
18
+ 'GetEndpointIdentityGroupResult',
19
+ 'AwaitableGetEndpointIdentityGroupResult',
20
+ 'get_endpoint_identity_group',
21
+ 'get_endpoint_identity_group_output',
22
+ ]
23
+
24
+ @pulumi.output_type
25
+ class GetEndpointIdentityGroupResult:
26
+ """
27
+ A collection of values returned by getEndpointIdentityGroup.
28
+ """
29
+ def __init__(__self__, description=None, id=None, name=None, parent_endpoint_identity_group_id=None, system_defined=None):
30
+ if description and not isinstance(description, str):
31
+ raise TypeError("Expected argument 'description' to be a str")
32
+ pulumi.set(__self__, "description", description)
33
+ if id and not isinstance(id, str):
34
+ raise TypeError("Expected argument 'id' to be a str")
35
+ pulumi.set(__self__, "id", id)
36
+ if name and not isinstance(name, str):
37
+ raise TypeError("Expected argument 'name' to be a str")
38
+ pulumi.set(__self__, "name", name)
39
+ if parent_endpoint_identity_group_id and not isinstance(parent_endpoint_identity_group_id, str):
40
+ raise TypeError("Expected argument 'parent_endpoint_identity_group_id' to be a str")
41
+ pulumi.set(__self__, "parent_endpoint_identity_group_id", parent_endpoint_identity_group_id)
42
+ if system_defined and not isinstance(system_defined, bool):
43
+ raise TypeError("Expected argument 'system_defined' to be a bool")
44
+ pulumi.set(__self__, "system_defined", system_defined)
45
+
46
+ @property
47
+ @pulumi.getter
48
+ def description(self) -> str:
49
+ """
50
+ Description
51
+ """
52
+ return pulumi.get(self, "description")
53
+
54
+ @property
55
+ @pulumi.getter
56
+ def id(self) -> str:
57
+ """
58
+ The id of the object
59
+ """
60
+ return pulumi.get(self, "id")
61
+
62
+ @property
63
+ @pulumi.getter
64
+ def name(self) -> str:
65
+ """
66
+ The name of the endpoint identity group
67
+ """
68
+ return pulumi.get(self, "name")
69
+
70
+ @property
71
+ @pulumi.getter(name="parentEndpointIdentityGroupId")
72
+ def parent_endpoint_identity_group_id(self) -> str:
73
+ """
74
+ Parent endpoint identity group ID
75
+ """
76
+ return pulumi.get(self, "parent_endpoint_identity_group_id")
77
+
78
+ @property
79
+ @pulumi.getter(name="systemDefined")
80
+ def system_defined(self) -> bool:
81
+ """
82
+ System defined endpoint identity group
83
+ """
84
+ return pulumi.get(self, "system_defined")
85
+
86
+
87
+ class AwaitableGetEndpointIdentityGroupResult(GetEndpointIdentityGroupResult):
88
+ # pylint: disable=using-constant-test
89
+ def __await__(self):
90
+ if False:
91
+ yield self
92
+ return GetEndpointIdentityGroupResult(
93
+ description=self.description,
94
+ id=self.id,
95
+ name=self.name,
96
+ parent_endpoint_identity_group_id=self.parent_endpoint_identity_group_id,
97
+ system_defined=self.system_defined)
98
+
99
+
100
+ def get_endpoint_identity_group(id: Optional[str] = None,
101
+ name: Optional[str] = None,
102
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetEndpointIdentityGroupResult:
103
+ """
104
+ This data source can read the Endpoint Identity Group.
105
+
106
+ ## Example Usage
107
+
108
+ ```python
109
+ import pulumi
110
+ import pulumi_ise as ise
111
+
112
+ example = ise.identitymanagement.get_endpoint_identity_group(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
113
+ ```
114
+
115
+
116
+ :param str id: The id of the object
117
+ :param str name: The name of the endpoint identity group
118
+ """
119
+ __args__ = dict()
120
+ __args__['id'] = id
121
+ __args__['name'] = name
122
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
123
+ __ret__ = pulumi.runtime.invoke('ise:identitymanagement/getEndpointIdentityGroup:getEndpointIdentityGroup', __args__, opts=opts, typ=GetEndpointIdentityGroupResult).value
124
+
125
+ return AwaitableGetEndpointIdentityGroupResult(
126
+ description=pulumi.get(__ret__, 'description'),
127
+ id=pulumi.get(__ret__, 'id'),
128
+ name=pulumi.get(__ret__, 'name'),
129
+ parent_endpoint_identity_group_id=pulumi.get(__ret__, 'parent_endpoint_identity_group_id'),
130
+ system_defined=pulumi.get(__ret__, 'system_defined'))
131
+ def get_endpoint_identity_group_output(id: Optional[pulumi.Input[Optional[str]]] = None,
132
+ name: Optional[pulumi.Input[Optional[str]]] = None,
133
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetEndpointIdentityGroupResult]:
134
+ """
135
+ This data source can read the Endpoint Identity Group.
136
+
137
+ ## Example Usage
138
+
139
+ ```python
140
+ import pulumi
141
+ import pulumi_ise as ise
142
+
143
+ example = ise.identitymanagement.get_endpoint_identity_group(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
144
+ ```
145
+
146
+
147
+ :param str id: The id of the object
148
+ :param str name: The name of the endpoint identity group
149
+ """
150
+ __args__ = dict()
151
+ __args__['id'] = id
152
+ __args__['name'] = name
153
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
154
+ __ret__ = pulumi.runtime.invoke_output('ise:identitymanagement/getEndpointIdentityGroup:getEndpointIdentityGroup', __args__, opts=opts, typ=GetEndpointIdentityGroupResult)
155
+ return __ret__.apply(lambda __response__: GetEndpointIdentityGroupResult(
156
+ description=pulumi.get(__response__, 'description'),
157
+ id=pulumi.get(__response__, 'id'),
158
+ name=pulumi.get(__response__, 'name'),
159
+ parent_endpoint_identity_group_id=pulumi.get(__response__, 'parent_endpoint_identity_group_id'),
160
+ system_defined=pulumi.get(__response__, 'system_defined')))
@@ -0,0 +1,172 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+ from . import outputs
17
+
18
+ __all__ = [
19
+ 'GetIdentitySourceSequenceResult',
20
+ 'AwaitableGetIdentitySourceSequenceResult',
21
+ 'get_identity_source_sequence',
22
+ 'get_identity_source_sequence_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetIdentitySourceSequenceResult:
27
+ """
28
+ A collection of values returned by getIdentitySourceSequence.
29
+ """
30
+ def __init__(__self__, break_on_store_fail=None, certificate_authentication_profile=None, description=None, id=None, identity_sources=None, name=None):
31
+ if break_on_store_fail and not isinstance(break_on_store_fail, bool):
32
+ raise TypeError("Expected argument 'break_on_store_fail' to be a bool")
33
+ pulumi.set(__self__, "break_on_store_fail", break_on_store_fail)
34
+ if certificate_authentication_profile and not isinstance(certificate_authentication_profile, str):
35
+ raise TypeError("Expected argument 'certificate_authentication_profile' to be a str")
36
+ pulumi.set(__self__, "certificate_authentication_profile", certificate_authentication_profile)
37
+ if description and not isinstance(description, str):
38
+ raise TypeError("Expected argument 'description' to be a str")
39
+ pulumi.set(__self__, "description", description)
40
+ if id and not isinstance(id, str):
41
+ raise TypeError("Expected argument 'id' to be a str")
42
+ pulumi.set(__self__, "id", id)
43
+ if identity_sources and not isinstance(identity_sources, list):
44
+ raise TypeError("Expected argument 'identity_sources' to be a list")
45
+ pulumi.set(__self__, "identity_sources", identity_sources)
46
+ if name and not isinstance(name, str):
47
+ raise TypeError("Expected argument 'name' to be a str")
48
+ pulumi.set(__self__, "name", name)
49
+
50
+ @property
51
+ @pulumi.getter(name="breakOnStoreFail")
52
+ def break_on_store_fail(self) -> bool:
53
+ """
54
+ Do not access other stores in the sequence if a selected identity store cannot be accessed for authentication
55
+ """
56
+ return pulumi.get(self, "break_on_store_fail")
57
+
58
+ @property
59
+ @pulumi.getter(name="certificateAuthenticationProfile")
60
+ def certificate_authentication_profile(self) -> str:
61
+ """
62
+ Certificate Authentication Profile, empty if doesn't exist
63
+ """
64
+ return pulumi.get(self, "certificate_authentication_profile")
65
+
66
+ @property
67
+ @pulumi.getter
68
+ def description(self) -> str:
69
+ """
70
+ Description
71
+ """
72
+ return pulumi.get(self, "description")
73
+
74
+ @property
75
+ @pulumi.getter
76
+ def id(self) -> str:
77
+ """
78
+ The id of the object
79
+ """
80
+ return pulumi.get(self, "id")
81
+
82
+ @property
83
+ @pulumi.getter(name="identitySources")
84
+ def identity_sources(self) -> Sequence['outputs.GetIdentitySourceSequenceIdentitySourceResult']:
85
+ return pulumi.get(self, "identity_sources")
86
+
87
+ @property
88
+ @pulumi.getter
89
+ def name(self) -> str:
90
+ """
91
+ The name of the identity source sequence
92
+ """
93
+ return pulumi.get(self, "name")
94
+
95
+
96
+ class AwaitableGetIdentitySourceSequenceResult(GetIdentitySourceSequenceResult):
97
+ # pylint: disable=using-constant-test
98
+ def __await__(self):
99
+ if False:
100
+ yield self
101
+ return GetIdentitySourceSequenceResult(
102
+ break_on_store_fail=self.break_on_store_fail,
103
+ certificate_authentication_profile=self.certificate_authentication_profile,
104
+ description=self.description,
105
+ id=self.id,
106
+ identity_sources=self.identity_sources,
107
+ name=self.name)
108
+
109
+
110
+ def get_identity_source_sequence(id: Optional[str] = None,
111
+ name: Optional[str] = None,
112
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetIdentitySourceSequenceResult:
113
+ """
114
+ This data source can read the Identity Source Sequence.
115
+
116
+ ## Example Usage
117
+
118
+ ```python
119
+ import pulumi
120
+ import pulumi_ise as ise
121
+
122
+ example = ise.identitymanagement.get_identity_source_sequence(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
123
+ ```
124
+
125
+
126
+ :param str id: The id of the object
127
+ :param str name: The name of the identity source sequence
128
+ """
129
+ __args__ = dict()
130
+ __args__['id'] = id
131
+ __args__['name'] = name
132
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
133
+ __ret__ = pulumi.runtime.invoke('ise:identitymanagement/getIdentitySourceSequence:getIdentitySourceSequence', __args__, opts=opts, typ=GetIdentitySourceSequenceResult).value
134
+
135
+ return AwaitableGetIdentitySourceSequenceResult(
136
+ break_on_store_fail=pulumi.get(__ret__, 'break_on_store_fail'),
137
+ certificate_authentication_profile=pulumi.get(__ret__, 'certificate_authentication_profile'),
138
+ description=pulumi.get(__ret__, 'description'),
139
+ id=pulumi.get(__ret__, 'id'),
140
+ identity_sources=pulumi.get(__ret__, 'identity_sources'),
141
+ name=pulumi.get(__ret__, 'name'))
142
+ def get_identity_source_sequence_output(id: Optional[pulumi.Input[Optional[str]]] = None,
143
+ name: Optional[pulumi.Input[Optional[str]]] = None,
144
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetIdentitySourceSequenceResult]:
145
+ """
146
+ This data source can read the Identity Source Sequence.
147
+
148
+ ## Example Usage
149
+
150
+ ```python
151
+ import pulumi
152
+ import pulumi_ise as ise
153
+
154
+ example = ise.identitymanagement.get_identity_source_sequence(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
155
+ ```
156
+
157
+
158
+ :param str id: The id of the object
159
+ :param str name: The name of the identity source sequence
160
+ """
161
+ __args__ = dict()
162
+ __args__['id'] = id
163
+ __args__['name'] = name
164
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
165
+ __ret__ = pulumi.runtime.invoke_output('ise:identitymanagement/getIdentitySourceSequence:getIdentitySourceSequence', __args__, opts=opts, typ=GetIdentitySourceSequenceResult)
166
+ return __ret__.apply(lambda __response__: GetIdentitySourceSequenceResult(
167
+ break_on_store_fail=pulumi.get(__response__, 'break_on_store_fail'),
168
+ certificate_authentication_profile=pulumi.get(__response__, 'certificate_authentication_profile'),
169
+ description=pulumi.get(__response__, 'description'),
170
+ id=pulumi.get(__response__, 'id'),
171
+ identity_sources=pulumi.get(__response__, 'identity_sources'),
172
+ name=pulumi.get(__response__, 'name')))
@@ -0,0 +1,300 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+
17
+ __all__ = [
18
+ 'GetInternalUserResult',
19
+ 'AwaitableGetInternalUserResult',
20
+ 'get_internal_user',
21
+ 'get_internal_user_output',
22
+ ]
23
+
24
+ @pulumi.output_type
25
+ class GetInternalUserResult:
26
+ """
27
+ A collection of values returned by getInternalUser.
28
+ """
29
+ def __init__(__self__, account_name_alias=None, change_password=None, custom_attributes=None, description=None, email=None, enable_password=None, enabled=None, first_name=None, id=None, identity_groups=None, last_name=None, name=None, password=None, password_id_store=None, password_never_expires=None):
30
+ if account_name_alias and not isinstance(account_name_alias, str):
31
+ raise TypeError("Expected argument 'account_name_alias' to be a str")
32
+ pulumi.set(__self__, "account_name_alias", account_name_alias)
33
+ if change_password and not isinstance(change_password, bool):
34
+ raise TypeError("Expected argument 'change_password' to be a bool")
35
+ pulumi.set(__self__, "change_password", change_password)
36
+ if custom_attributes and not isinstance(custom_attributes, str):
37
+ raise TypeError("Expected argument 'custom_attributes' to be a str")
38
+ pulumi.set(__self__, "custom_attributes", custom_attributes)
39
+ if description and not isinstance(description, str):
40
+ raise TypeError("Expected argument 'description' to be a str")
41
+ pulumi.set(__self__, "description", description)
42
+ if email and not isinstance(email, str):
43
+ raise TypeError("Expected argument 'email' to be a str")
44
+ pulumi.set(__self__, "email", email)
45
+ if enable_password and not isinstance(enable_password, str):
46
+ raise TypeError("Expected argument 'enable_password' to be a str")
47
+ pulumi.set(__self__, "enable_password", enable_password)
48
+ if enabled and not isinstance(enabled, bool):
49
+ raise TypeError("Expected argument 'enabled' to be a bool")
50
+ pulumi.set(__self__, "enabled", enabled)
51
+ if first_name and not isinstance(first_name, str):
52
+ raise TypeError("Expected argument 'first_name' to be a str")
53
+ pulumi.set(__self__, "first_name", first_name)
54
+ if id and not isinstance(id, str):
55
+ raise TypeError("Expected argument 'id' to be a str")
56
+ pulumi.set(__self__, "id", id)
57
+ if identity_groups and not isinstance(identity_groups, str):
58
+ raise TypeError("Expected argument 'identity_groups' to be a str")
59
+ pulumi.set(__self__, "identity_groups", identity_groups)
60
+ if last_name and not isinstance(last_name, str):
61
+ raise TypeError("Expected argument 'last_name' to be a str")
62
+ pulumi.set(__self__, "last_name", last_name)
63
+ if name and not isinstance(name, str):
64
+ raise TypeError("Expected argument 'name' to be a str")
65
+ pulumi.set(__self__, "name", name)
66
+ if password and not isinstance(password, str):
67
+ raise TypeError("Expected argument 'password' to be a str")
68
+ pulumi.set(__self__, "password", password)
69
+ if password_id_store and not isinstance(password_id_store, str):
70
+ raise TypeError("Expected argument 'password_id_store' to be a str")
71
+ pulumi.set(__self__, "password_id_store", password_id_store)
72
+ if password_never_expires and not isinstance(password_never_expires, bool):
73
+ raise TypeError("Expected argument 'password_never_expires' to be a bool")
74
+ pulumi.set(__self__, "password_never_expires", password_never_expires)
75
+
76
+ @property
77
+ @pulumi.getter(name="accountNameAlias")
78
+ def account_name_alias(self) -> str:
79
+ """
80
+ The Account Name Alias will be used to send email notifications about password expiration. This field is only supported from ISE 3.2.
81
+ """
82
+ return pulumi.get(self, "account_name_alias")
83
+
84
+ @property
85
+ @pulumi.getter(name="changePassword")
86
+ def change_password(self) -> bool:
87
+ """
88
+ Requires the user to change the password
89
+ """
90
+ return pulumi.get(self, "change_password")
91
+
92
+ @property
93
+ @pulumi.getter(name="customAttributes")
94
+ def custom_attributes(self) -> str:
95
+ """
96
+ Key value map
97
+ """
98
+ return pulumi.get(self, "custom_attributes")
99
+
100
+ @property
101
+ @pulumi.getter
102
+ def description(self) -> str:
103
+ """
104
+ Description
105
+ """
106
+ return pulumi.get(self, "description")
107
+
108
+ @property
109
+ @pulumi.getter
110
+ def email(self) -> str:
111
+ """
112
+ Email address
113
+ """
114
+ return pulumi.get(self, "email")
115
+
116
+ @property
117
+ @pulumi.getter(name="enablePassword")
118
+ def enable_password(self) -> str:
119
+ """
120
+ This field is added in ISE 2.0 to support TACACS+
121
+ """
122
+ return pulumi.get(self, "enable_password")
123
+
124
+ @property
125
+ @pulumi.getter
126
+ def enabled(self) -> bool:
127
+ """
128
+ Whether the user is enabled/disabled
129
+ """
130
+ return pulumi.get(self, "enabled")
131
+
132
+ @property
133
+ @pulumi.getter(name="firstName")
134
+ def first_name(self) -> str:
135
+ """
136
+ First name of the internal user
137
+ """
138
+ return pulumi.get(self, "first_name")
139
+
140
+ @property
141
+ @pulumi.getter
142
+ def id(self) -> str:
143
+ """
144
+ The id of the object
145
+ """
146
+ return pulumi.get(self, "id")
147
+
148
+ @property
149
+ @pulumi.getter(name="identityGroups")
150
+ def identity_groups(self) -> str:
151
+ """
152
+ Comma separated list of identity group IDs.
153
+ """
154
+ return pulumi.get(self, "identity_groups")
155
+
156
+ @property
157
+ @pulumi.getter(name="lastName")
158
+ def last_name(self) -> str:
159
+ """
160
+ Last name of the internal user
161
+ """
162
+ return pulumi.get(self, "last_name")
163
+
164
+ @property
165
+ @pulumi.getter
166
+ def name(self) -> str:
167
+ """
168
+ The name of the internal user
169
+ """
170
+ return pulumi.get(self, "name")
171
+
172
+ @property
173
+ @pulumi.getter
174
+ def password(self) -> str:
175
+ """
176
+ The password of the internal user
177
+ """
178
+ return pulumi.get(self, "password")
179
+
180
+ @property
181
+ @pulumi.getter(name="passwordIdStore")
182
+ def password_id_store(self) -> str:
183
+ """
184
+ The ID store where the internal user's password is kept
185
+ """
186
+ return pulumi.get(self, "password_id_store")
187
+
188
+ @property
189
+ @pulumi.getter(name="passwordNeverExpires")
190
+ def password_never_expires(self) -> bool:
191
+ """
192
+ Set to `true` to indicate the user password never expires. This will not apply to Users who are also ISE Admins. This field is only supported from ISE 3.2.
193
+ """
194
+ return pulumi.get(self, "password_never_expires")
195
+
196
+
197
+ class AwaitableGetInternalUserResult(GetInternalUserResult):
198
+ # pylint: disable=using-constant-test
199
+ def __await__(self):
200
+ if False:
201
+ yield self
202
+ return GetInternalUserResult(
203
+ account_name_alias=self.account_name_alias,
204
+ change_password=self.change_password,
205
+ custom_attributes=self.custom_attributes,
206
+ description=self.description,
207
+ email=self.email,
208
+ enable_password=self.enable_password,
209
+ enabled=self.enabled,
210
+ first_name=self.first_name,
211
+ id=self.id,
212
+ identity_groups=self.identity_groups,
213
+ last_name=self.last_name,
214
+ name=self.name,
215
+ password=self.password,
216
+ password_id_store=self.password_id_store,
217
+ password_never_expires=self.password_never_expires)
218
+
219
+
220
+ def get_internal_user(id: Optional[str] = None,
221
+ name: Optional[str] = None,
222
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetInternalUserResult:
223
+ """
224
+ This data source can read the Internal User.
225
+
226
+ ## Example Usage
227
+
228
+ ```python
229
+ import pulumi
230
+ import pulumi_ise as ise
231
+
232
+ example = ise.identitymanagement.get_internal_user(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
233
+ ```
234
+
235
+
236
+ :param str id: The id of the object
237
+ :param str name: The name of the internal user
238
+ """
239
+ __args__ = dict()
240
+ __args__['id'] = id
241
+ __args__['name'] = name
242
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
243
+ __ret__ = pulumi.runtime.invoke('ise:identitymanagement/getInternalUser:getInternalUser', __args__, opts=opts, typ=GetInternalUserResult).value
244
+
245
+ return AwaitableGetInternalUserResult(
246
+ account_name_alias=pulumi.get(__ret__, 'account_name_alias'),
247
+ change_password=pulumi.get(__ret__, 'change_password'),
248
+ custom_attributes=pulumi.get(__ret__, 'custom_attributes'),
249
+ description=pulumi.get(__ret__, 'description'),
250
+ email=pulumi.get(__ret__, 'email'),
251
+ enable_password=pulumi.get(__ret__, 'enable_password'),
252
+ enabled=pulumi.get(__ret__, 'enabled'),
253
+ first_name=pulumi.get(__ret__, 'first_name'),
254
+ id=pulumi.get(__ret__, 'id'),
255
+ identity_groups=pulumi.get(__ret__, 'identity_groups'),
256
+ last_name=pulumi.get(__ret__, 'last_name'),
257
+ name=pulumi.get(__ret__, 'name'),
258
+ password=pulumi.get(__ret__, 'password'),
259
+ password_id_store=pulumi.get(__ret__, 'password_id_store'),
260
+ password_never_expires=pulumi.get(__ret__, 'password_never_expires'))
261
+ def get_internal_user_output(id: Optional[pulumi.Input[Optional[str]]] = None,
262
+ name: Optional[pulumi.Input[Optional[str]]] = None,
263
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetInternalUserResult]:
264
+ """
265
+ This data source can read the Internal User.
266
+
267
+ ## Example Usage
268
+
269
+ ```python
270
+ import pulumi
271
+ import pulumi_ise as ise
272
+
273
+ example = ise.identitymanagement.get_internal_user(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
274
+ ```
275
+
276
+
277
+ :param str id: The id of the object
278
+ :param str name: The name of the internal user
279
+ """
280
+ __args__ = dict()
281
+ __args__['id'] = id
282
+ __args__['name'] = name
283
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
284
+ __ret__ = pulumi.runtime.invoke_output('ise:identitymanagement/getInternalUser:getInternalUser', __args__, opts=opts, typ=GetInternalUserResult)
285
+ return __ret__.apply(lambda __response__: GetInternalUserResult(
286
+ account_name_alias=pulumi.get(__response__, 'account_name_alias'),
287
+ change_password=pulumi.get(__response__, 'change_password'),
288
+ custom_attributes=pulumi.get(__response__, 'custom_attributes'),
289
+ description=pulumi.get(__response__, 'description'),
290
+ email=pulumi.get(__response__, 'email'),
291
+ enable_password=pulumi.get(__response__, 'enable_password'),
292
+ enabled=pulumi.get(__response__, 'enabled'),
293
+ first_name=pulumi.get(__response__, 'first_name'),
294
+ id=pulumi.get(__response__, 'id'),
295
+ identity_groups=pulumi.get(__response__, 'identity_groups'),
296
+ last_name=pulumi.get(__response__, 'last_name'),
297
+ name=pulumi.get(__response__, 'name'),
298
+ password=pulumi.get(__response__, 'password'),
299
+ password_id_store=pulumi.get(__response__, 'password_id_store'),
300
+ password_never_expires=pulumi.get(__response__, 'password_never_expires')))