pulumi-ise 0.2.0__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.
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.0.dist-info/METADATA +64 -0
  117. pulumi_ise-0.2.0.dist-info/RECORD +119 -0
  118. pulumi_ise-0.2.0.dist-info/WHEEL +5 -0
  119. pulumi_ise-0.2.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,337 @@
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
+ 'GetAuthorizationExceptionRuleResult',
20
+ 'AwaitableGetAuthorizationExceptionRuleResult',
21
+ 'get_authorization_exception_rule',
22
+ 'get_authorization_exception_rule_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetAuthorizationExceptionRuleResult:
27
+ """
28
+ A collection of values returned by getAuthorizationExceptionRule.
29
+ """
30
+ def __init__(__self__, childrens=None, command_sets=None, condition_attribute_name=None, condition_attribute_value=None, condition_dictionary_name=None, condition_dictionary_value=None, condition_id=None, condition_is_negate=None, condition_operator=None, condition_type=None, default=None, id=None, name=None, policy_set_id=None, profile=None, rank=None, state=None):
31
+ if childrens and not isinstance(childrens, list):
32
+ raise TypeError("Expected argument 'childrens' to be a list")
33
+ pulumi.set(__self__, "childrens", childrens)
34
+ if command_sets and not isinstance(command_sets, list):
35
+ raise TypeError("Expected argument 'command_sets' to be a list")
36
+ pulumi.set(__self__, "command_sets", command_sets)
37
+ if condition_attribute_name and not isinstance(condition_attribute_name, str):
38
+ raise TypeError("Expected argument 'condition_attribute_name' to be a str")
39
+ pulumi.set(__self__, "condition_attribute_name", condition_attribute_name)
40
+ if condition_attribute_value and not isinstance(condition_attribute_value, str):
41
+ raise TypeError("Expected argument 'condition_attribute_value' to be a str")
42
+ pulumi.set(__self__, "condition_attribute_value", condition_attribute_value)
43
+ if condition_dictionary_name and not isinstance(condition_dictionary_name, str):
44
+ raise TypeError("Expected argument 'condition_dictionary_name' to be a str")
45
+ pulumi.set(__self__, "condition_dictionary_name", condition_dictionary_name)
46
+ if condition_dictionary_value and not isinstance(condition_dictionary_value, str):
47
+ raise TypeError("Expected argument 'condition_dictionary_value' to be a str")
48
+ pulumi.set(__self__, "condition_dictionary_value", condition_dictionary_value)
49
+ if condition_id and not isinstance(condition_id, str):
50
+ raise TypeError("Expected argument 'condition_id' to be a str")
51
+ pulumi.set(__self__, "condition_id", condition_id)
52
+ if condition_is_negate and not isinstance(condition_is_negate, bool):
53
+ raise TypeError("Expected argument 'condition_is_negate' to be a bool")
54
+ pulumi.set(__self__, "condition_is_negate", condition_is_negate)
55
+ if condition_operator and not isinstance(condition_operator, str):
56
+ raise TypeError("Expected argument 'condition_operator' to be a str")
57
+ pulumi.set(__self__, "condition_operator", condition_operator)
58
+ if condition_type and not isinstance(condition_type, str):
59
+ raise TypeError("Expected argument 'condition_type' to be a str")
60
+ pulumi.set(__self__, "condition_type", condition_type)
61
+ if default and not isinstance(default, bool):
62
+ raise TypeError("Expected argument 'default' to be a bool")
63
+ pulumi.set(__self__, "default", default)
64
+ if id and not isinstance(id, str):
65
+ raise TypeError("Expected argument 'id' to be a str")
66
+ pulumi.set(__self__, "id", id)
67
+ if name and not isinstance(name, str):
68
+ raise TypeError("Expected argument 'name' to be a str")
69
+ pulumi.set(__self__, "name", name)
70
+ if policy_set_id and not isinstance(policy_set_id, str):
71
+ raise TypeError("Expected argument 'policy_set_id' to be a str")
72
+ pulumi.set(__self__, "policy_set_id", policy_set_id)
73
+ if profile and not isinstance(profile, str):
74
+ raise TypeError("Expected argument 'profile' to be a str")
75
+ pulumi.set(__self__, "profile", profile)
76
+ if rank and not isinstance(rank, int):
77
+ raise TypeError("Expected argument 'rank' to be a int")
78
+ pulumi.set(__self__, "rank", rank)
79
+ if state and not isinstance(state, str):
80
+ raise TypeError("Expected argument 'state' to be a str")
81
+ pulumi.set(__self__, "state", state)
82
+
83
+ @property
84
+ @pulumi.getter
85
+ def childrens(self) -> Sequence['outputs.GetAuthorizationExceptionRuleChildrenResult']:
86
+ """
87
+ List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`.
88
+ """
89
+ return pulumi.get(self, "childrens")
90
+
91
+ @property
92
+ @pulumi.getter(name="commandSets")
93
+ def command_sets(self) -> Sequence[str]:
94
+ """
95
+ Command sets enforce the specified list of commands that can be executed by a device administrator
96
+ """
97
+ return pulumi.get(self, "command_sets")
98
+
99
+ @property
100
+ @pulumi.getter(name="conditionAttributeName")
101
+ def condition_attribute_name(self) -> str:
102
+ """
103
+ Dictionary attribute name
104
+ """
105
+ return pulumi.get(self, "condition_attribute_name")
106
+
107
+ @property
108
+ @pulumi.getter(name="conditionAttributeValue")
109
+ def condition_attribute_value(self) -> str:
110
+ """
111
+ Attribute value for condition. Value type is specified in dictionary object.
112
+ """
113
+ return pulumi.get(self, "condition_attribute_value")
114
+
115
+ @property
116
+ @pulumi.getter(name="conditionDictionaryName")
117
+ def condition_dictionary_name(self) -> str:
118
+ """
119
+ Dictionary name
120
+ """
121
+ return pulumi.get(self, "condition_dictionary_name")
122
+
123
+ @property
124
+ @pulumi.getter(name="conditionDictionaryValue")
125
+ def condition_dictionary_value(self) -> str:
126
+ """
127
+ Dictionary value
128
+ """
129
+ return pulumi.get(self, "condition_dictionary_value")
130
+
131
+ @property
132
+ @pulumi.getter(name="conditionId")
133
+ def condition_id(self) -> str:
134
+ """
135
+ UUID for condition
136
+ """
137
+ return pulumi.get(self, "condition_id")
138
+
139
+ @property
140
+ @pulumi.getter(name="conditionIsNegate")
141
+ def condition_is_negate(self) -> bool:
142
+ """
143
+ Indicates whereas this condition is in negate mode
144
+ """
145
+ return pulumi.get(self, "condition_is_negate")
146
+
147
+ @property
148
+ @pulumi.getter(name="conditionOperator")
149
+ def condition_operator(self) -> str:
150
+ """
151
+ Equality operator
152
+ """
153
+ return pulumi.get(self, "condition_operator")
154
+
155
+ @property
156
+ @pulumi.getter(name="conditionType")
157
+ def condition_type(self) -> str:
158
+ """
159
+ Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute.
160
+ """
161
+ return pulumi.get(self, "condition_type")
162
+
163
+ @property
164
+ @pulumi.getter
165
+ def default(self) -> bool:
166
+ """
167
+ Indicates if this rule is the default one
168
+ """
169
+ return pulumi.get(self, "default")
170
+
171
+ @property
172
+ @pulumi.getter
173
+ def id(self) -> str:
174
+ """
175
+ The id of the object
176
+ """
177
+ return pulumi.get(self, "id")
178
+
179
+ @property
180
+ @pulumi.getter
181
+ def name(self) -> str:
182
+ """
183
+ Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
184
+ """
185
+ return pulumi.get(self, "name")
186
+
187
+ @property
188
+ @pulumi.getter(name="policySetId")
189
+ def policy_set_id(self) -> str:
190
+ """
191
+ Policy set ID
192
+ """
193
+ return pulumi.get(self, "policy_set_id")
194
+
195
+ @property
196
+ @pulumi.getter
197
+ def profile(self) -> str:
198
+ """
199
+ Device admin profiles control the initial login session of the device administrator
200
+ """
201
+ return pulumi.get(self, "profile")
202
+
203
+ @property
204
+ @pulumi.getter
205
+ def rank(self) -> int:
206
+ """
207
+ The rank (priority) in relation to other rules. Lower rank is higher priority.
208
+ """
209
+ return pulumi.get(self, "rank")
210
+
211
+ @property
212
+ @pulumi.getter
213
+ def state(self) -> str:
214
+ """
215
+ The state that the rule is in. A disabled rule cannot be matched.
216
+ """
217
+ return pulumi.get(self, "state")
218
+
219
+
220
+ class AwaitableGetAuthorizationExceptionRuleResult(GetAuthorizationExceptionRuleResult):
221
+ # pylint: disable=using-constant-test
222
+ def __await__(self):
223
+ if False:
224
+ yield self
225
+ return GetAuthorizationExceptionRuleResult(
226
+ childrens=self.childrens,
227
+ command_sets=self.command_sets,
228
+ condition_attribute_name=self.condition_attribute_name,
229
+ condition_attribute_value=self.condition_attribute_value,
230
+ condition_dictionary_name=self.condition_dictionary_name,
231
+ condition_dictionary_value=self.condition_dictionary_value,
232
+ condition_id=self.condition_id,
233
+ condition_is_negate=self.condition_is_negate,
234
+ condition_operator=self.condition_operator,
235
+ condition_type=self.condition_type,
236
+ default=self.default,
237
+ id=self.id,
238
+ name=self.name,
239
+ policy_set_id=self.policy_set_id,
240
+ profile=self.profile,
241
+ rank=self.rank,
242
+ state=self.state)
243
+
244
+
245
+ def get_authorization_exception_rule(id: Optional[str] = None,
246
+ name: Optional[str] = None,
247
+ policy_set_id: Optional[str] = None,
248
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAuthorizationExceptionRuleResult:
249
+ """
250
+ This data source can read the Device Admin Authorization Exception Rule.
251
+
252
+ ## Example Usage
253
+
254
+ ```python
255
+ import pulumi
256
+ import pulumi_ise as ise
257
+
258
+ example = ise.deviceadmin.get_authorization_exception_rule(id="76d24097-41c4-4558-a4d0-a8c07ac08470",
259
+ policy_set_id="d82952cb-b901-4b09-b363-5ebf39bdbaf9")
260
+ ```
261
+
262
+
263
+ :param str id: The id of the object
264
+ :param str name: Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
265
+ :param str policy_set_id: Policy set ID
266
+ """
267
+ __args__ = dict()
268
+ __args__['id'] = id
269
+ __args__['name'] = name
270
+ __args__['policySetId'] = policy_set_id
271
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
272
+ __ret__ = pulumi.runtime.invoke('ise:deviceadmin/getAuthorizationExceptionRule:getAuthorizationExceptionRule', __args__, opts=opts, typ=GetAuthorizationExceptionRuleResult).value
273
+
274
+ return AwaitableGetAuthorizationExceptionRuleResult(
275
+ childrens=pulumi.get(__ret__, 'childrens'),
276
+ command_sets=pulumi.get(__ret__, 'command_sets'),
277
+ condition_attribute_name=pulumi.get(__ret__, 'condition_attribute_name'),
278
+ condition_attribute_value=pulumi.get(__ret__, 'condition_attribute_value'),
279
+ condition_dictionary_name=pulumi.get(__ret__, 'condition_dictionary_name'),
280
+ condition_dictionary_value=pulumi.get(__ret__, 'condition_dictionary_value'),
281
+ condition_id=pulumi.get(__ret__, 'condition_id'),
282
+ condition_is_negate=pulumi.get(__ret__, 'condition_is_negate'),
283
+ condition_operator=pulumi.get(__ret__, 'condition_operator'),
284
+ condition_type=pulumi.get(__ret__, 'condition_type'),
285
+ default=pulumi.get(__ret__, 'default'),
286
+ id=pulumi.get(__ret__, 'id'),
287
+ name=pulumi.get(__ret__, 'name'),
288
+ policy_set_id=pulumi.get(__ret__, 'policy_set_id'),
289
+ profile=pulumi.get(__ret__, 'profile'),
290
+ rank=pulumi.get(__ret__, 'rank'),
291
+ state=pulumi.get(__ret__, 'state'))
292
+ def get_authorization_exception_rule_output(id: Optional[pulumi.Input[Optional[str]]] = None,
293
+ name: Optional[pulumi.Input[Optional[str]]] = None,
294
+ policy_set_id: Optional[pulumi.Input[str]] = None,
295
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAuthorizationExceptionRuleResult]:
296
+ """
297
+ This data source can read the Device Admin Authorization Exception Rule.
298
+
299
+ ## Example Usage
300
+
301
+ ```python
302
+ import pulumi
303
+ import pulumi_ise as ise
304
+
305
+ example = ise.deviceadmin.get_authorization_exception_rule(id="76d24097-41c4-4558-a4d0-a8c07ac08470",
306
+ policy_set_id="d82952cb-b901-4b09-b363-5ebf39bdbaf9")
307
+ ```
308
+
309
+
310
+ :param str id: The id of the object
311
+ :param str name: Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
312
+ :param str policy_set_id: Policy set ID
313
+ """
314
+ __args__ = dict()
315
+ __args__['id'] = id
316
+ __args__['name'] = name
317
+ __args__['policySetId'] = policy_set_id
318
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
319
+ __ret__ = pulumi.runtime.invoke_output('ise:deviceadmin/getAuthorizationExceptionRule:getAuthorizationExceptionRule', __args__, opts=opts, typ=GetAuthorizationExceptionRuleResult)
320
+ return __ret__.apply(lambda __response__: GetAuthorizationExceptionRuleResult(
321
+ childrens=pulumi.get(__response__, 'childrens'),
322
+ command_sets=pulumi.get(__response__, 'command_sets'),
323
+ condition_attribute_name=pulumi.get(__response__, 'condition_attribute_name'),
324
+ condition_attribute_value=pulumi.get(__response__, 'condition_attribute_value'),
325
+ condition_dictionary_name=pulumi.get(__response__, 'condition_dictionary_name'),
326
+ condition_dictionary_value=pulumi.get(__response__, 'condition_dictionary_value'),
327
+ condition_id=pulumi.get(__response__, 'condition_id'),
328
+ condition_is_negate=pulumi.get(__response__, 'condition_is_negate'),
329
+ condition_operator=pulumi.get(__response__, 'condition_operator'),
330
+ condition_type=pulumi.get(__response__, 'condition_type'),
331
+ default=pulumi.get(__response__, 'default'),
332
+ id=pulumi.get(__response__, 'id'),
333
+ name=pulumi.get(__response__, 'name'),
334
+ policy_set_id=pulumi.get(__response__, 'policy_set_id'),
335
+ profile=pulumi.get(__response__, 'profile'),
336
+ rank=pulumi.get(__response__, 'rank'),
337
+ state=pulumi.get(__response__, 'state')))
@@ -0,0 +1,301 @@
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
+ 'GetAuthorizationGlobalExceptionRuleResult',
20
+ 'AwaitableGetAuthorizationGlobalExceptionRuleResult',
21
+ 'get_authorization_global_exception_rule',
22
+ 'get_authorization_global_exception_rule_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetAuthorizationGlobalExceptionRuleResult:
27
+ """
28
+ A collection of values returned by getAuthorizationGlobalExceptionRule.
29
+ """
30
+ def __init__(__self__, childrens=None, command_sets=None, condition_attribute_name=None, condition_attribute_value=None, condition_dictionary_name=None, condition_dictionary_value=None, condition_id=None, condition_is_negate=None, condition_operator=None, condition_type=None, id=None, name=None, profile=None, rank=None, state=None):
31
+ if childrens and not isinstance(childrens, list):
32
+ raise TypeError("Expected argument 'childrens' to be a list")
33
+ pulumi.set(__self__, "childrens", childrens)
34
+ if command_sets and not isinstance(command_sets, list):
35
+ raise TypeError("Expected argument 'command_sets' to be a list")
36
+ pulumi.set(__self__, "command_sets", command_sets)
37
+ if condition_attribute_name and not isinstance(condition_attribute_name, str):
38
+ raise TypeError("Expected argument 'condition_attribute_name' to be a str")
39
+ pulumi.set(__self__, "condition_attribute_name", condition_attribute_name)
40
+ if condition_attribute_value and not isinstance(condition_attribute_value, str):
41
+ raise TypeError("Expected argument 'condition_attribute_value' to be a str")
42
+ pulumi.set(__self__, "condition_attribute_value", condition_attribute_value)
43
+ if condition_dictionary_name and not isinstance(condition_dictionary_name, str):
44
+ raise TypeError("Expected argument 'condition_dictionary_name' to be a str")
45
+ pulumi.set(__self__, "condition_dictionary_name", condition_dictionary_name)
46
+ if condition_dictionary_value and not isinstance(condition_dictionary_value, str):
47
+ raise TypeError("Expected argument 'condition_dictionary_value' to be a str")
48
+ pulumi.set(__self__, "condition_dictionary_value", condition_dictionary_value)
49
+ if condition_id and not isinstance(condition_id, str):
50
+ raise TypeError("Expected argument 'condition_id' to be a str")
51
+ pulumi.set(__self__, "condition_id", condition_id)
52
+ if condition_is_negate and not isinstance(condition_is_negate, bool):
53
+ raise TypeError("Expected argument 'condition_is_negate' to be a bool")
54
+ pulumi.set(__self__, "condition_is_negate", condition_is_negate)
55
+ if condition_operator and not isinstance(condition_operator, str):
56
+ raise TypeError("Expected argument 'condition_operator' to be a str")
57
+ pulumi.set(__self__, "condition_operator", condition_operator)
58
+ if condition_type and not isinstance(condition_type, str):
59
+ raise TypeError("Expected argument 'condition_type' to be a str")
60
+ pulumi.set(__self__, "condition_type", condition_type)
61
+ if id and not isinstance(id, str):
62
+ raise TypeError("Expected argument 'id' to be a str")
63
+ pulumi.set(__self__, "id", id)
64
+ if name and not isinstance(name, str):
65
+ raise TypeError("Expected argument 'name' to be a str")
66
+ pulumi.set(__self__, "name", name)
67
+ if profile and not isinstance(profile, str):
68
+ raise TypeError("Expected argument 'profile' to be a str")
69
+ pulumi.set(__self__, "profile", profile)
70
+ if rank and not isinstance(rank, int):
71
+ raise TypeError("Expected argument 'rank' to be a int")
72
+ pulumi.set(__self__, "rank", rank)
73
+ if state and not isinstance(state, str):
74
+ raise TypeError("Expected argument 'state' to be a str")
75
+ pulumi.set(__self__, "state", state)
76
+
77
+ @property
78
+ @pulumi.getter
79
+ def childrens(self) -> Sequence['outputs.GetAuthorizationGlobalExceptionRuleChildrenResult']:
80
+ """
81
+ List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`.
82
+ """
83
+ return pulumi.get(self, "childrens")
84
+
85
+ @property
86
+ @pulumi.getter(name="commandSets")
87
+ def command_sets(self) -> Sequence[str]:
88
+ """
89
+ Command sets enforce the specified list of commands that can be executed by a device administrator
90
+ """
91
+ return pulumi.get(self, "command_sets")
92
+
93
+ @property
94
+ @pulumi.getter(name="conditionAttributeName")
95
+ def condition_attribute_name(self) -> str:
96
+ """
97
+ Dictionary attribute name
98
+ """
99
+ return pulumi.get(self, "condition_attribute_name")
100
+
101
+ @property
102
+ @pulumi.getter(name="conditionAttributeValue")
103
+ def condition_attribute_value(self) -> str:
104
+ """
105
+ Attribute value for condition. Value type is specified in dictionary object.
106
+ """
107
+ return pulumi.get(self, "condition_attribute_value")
108
+
109
+ @property
110
+ @pulumi.getter(name="conditionDictionaryName")
111
+ def condition_dictionary_name(self) -> str:
112
+ """
113
+ Dictionary name
114
+ """
115
+ return pulumi.get(self, "condition_dictionary_name")
116
+
117
+ @property
118
+ @pulumi.getter(name="conditionDictionaryValue")
119
+ def condition_dictionary_value(self) -> str:
120
+ """
121
+ Dictionary value
122
+ """
123
+ return pulumi.get(self, "condition_dictionary_value")
124
+
125
+ @property
126
+ @pulumi.getter(name="conditionId")
127
+ def condition_id(self) -> str:
128
+ """
129
+ UUID for condition
130
+ """
131
+ return pulumi.get(self, "condition_id")
132
+
133
+ @property
134
+ @pulumi.getter(name="conditionIsNegate")
135
+ def condition_is_negate(self) -> bool:
136
+ """
137
+ Indicates whereas this condition is in negate mode
138
+ """
139
+ return pulumi.get(self, "condition_is_negate")
140
+
141
+ @property
142
+ @pulumi.getter(name="conditionOperator")
143
+ def condition_operator(self) -> str:
144
+ """
145
+ Equality operator
146
+ """
147
+ return pulumi.get(self, "condition_operator")
148
+
149
+ @property
150
+ @pulumi.getter(name="conditionType")
151
+ def condition_type(self) -> str:
152
+ """
153
+ Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute.
154
+ """
155
+ return pulumi.get(self, "condition_type")
156
+
157
+ @property
158
+ @pulumi.getter
159
+ def id(self) -> str:
160
+ """
161
+ The id of the object
162
+ """
163
+ return pulumi.get(self, "id")
164
+
165
+ @property
166
+ @pulumi.getter
167
+ def name(self) -> str:
168
+ """
169
+ Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
170
+ """
171
+ return pulumi.get(self, "name")
172
+
173
+ @property
174
+ @pulumi.getter
175
+ def profile(self) -> str:
176
+ """
177
+ Device admin profiles control the initial login session of the device administrator
178
+ """
179
+ return pulumi.get(self, "profile")
180
+
181
+ @property
182
+ @pulumi.getter
183
+ def rank(self) -> int:
184
+ """
185
+ The rank (priority) in relation to other rules. Lower rank is higher priority.
186
+ """
187
+ return pulumi.get(self, "rank")
188
+
189
+ @property
190
+ @pulumi.getter
191
+ def state(self) -> str:
192
+ """
193
+ The state that the rule is in. A disabled rule cannot be matched.
194
+ """
195
+ return pulumi.get(self, "state")
196
+
197
+
198
+ class AwaitableGetAuthorizationGlobalExceptionRuleResult(GetAuthorizationGlobalExceptionRuleResult):
199
+ # pylint: disable=using-constant-test
200
+ def __await__(self):
201
+ if False:
202
+ yield self
203
+ return GetAuthorizationGlobalExceptionRuleResult(
204
+ childrens=self.childrens,
205
+ command_sets=self.command_sets,
206
+ condition_attribute_name=self.condition_attribute_name,
207
+ condition_attribute_value=self.condition_attribute_value,
208
+ condition_dictionary_name=self.condition_dictionary_name,
209
+ condition_dictionary_value=self.condition_dictionary_value,
210
+ condition_id=self.condition_id,
211
+ condition_is_negate=self.condition_is_negate,
212
+ condition_operator=self.condition_operator,
213
+ condition_type=self.condition_type,
214
+ id=self.id,
215
+ name=self.name,
216
+ profile=self.profile,
217
+ rank=self.rank,
218
+ state=self.state)
219
+
220
+
221
+ def get_authorization_global_exception_rule(id: Optional[str] = None,
222
+ name: Optional[str] = None,
223
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAuthorizationGlobalExceptionRuleResult:
224
+ """
225
+ This data source can read the Device Admin Authorization Global Exception Rule.
226
+
227
+ ## Example Usage
228
+
229
+ ```python
230
+ import pulumi
231
+ import pulumi_ise as ise
232
+
233
+ example = ise.deviceadmin.get_authorization_global_exception_rule(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
234
+ ```
235
+
236
+
237
+ :param str id: The id of the object
238
+ :param str name: Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
239
+ """
240
+ __args__ = dict()
241
+ __args__['id'] = id
242
+ __args__['name'] = name
243
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
244
+ __ret__ = pulumi.runtime.invoke('ise:deviceadmin/getAuthorizationGlobalExceptionRule:getAuthorizationGlobalExceptionRule', __args__, opts=opts, typ=GetAuthorizationGlobalExceptionRuleResult).value
245
+
246
+ return AwaitableGetAuthorizationGlobalExceptionRuleResult(
247
+ childrens=pulumi.get(__ret__, 'childrens'),
248
+ command_sets=pulumi.get(__ret__, 'command_sets'),
249
+ condition_attribute_name=pulumi.get(__ret__, 'condition_attribute_name'),
250
+ condition_attribute_value=pulumi.get(__ret__, 'condition_attribute_value'),
251
+ condition_dictionary_name=pulumi.get(__ret__, 'condition_dictionary_name'),
252
+ condition_dictionary_value=pulumi.get(__ret__, 'condition_dictionary_value'),
253
+ condition_id=pulumi.get(__ret__, 'condition_id'),
254
+ condition_is_negate=pulumi.get(__ret__, 'condition_is_negate'),
255
+ condition_operator=pulumi.get(__ret__, 'condition_operator'),
256
+ condition_type=pulumi.get(__ret__, 'condition_type'),
257
+ id=pulumi.get(__ret__, 'id'),
258
+ name=pulumi.get(__ret__, 'name'),
259
+ profile=pulumi.get(__ret__, 'profile'),
260
+ rank=pulumi.get(__ret__, 'rank'),
261
+ state=pulumi.get(__ret__, 'state'))
262
+ def get_authorization_global_exception_rule_output(id: Optional[pulumi.Input[Optional[str]]] = None,
263
+ name: Optional[pulumi.Input[Optional[str]]] = None,
264
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAuthorizationGlobalExceptionRuleResult]:
265
+ """
266
+ This data source can read the Device Admin Authorization Global Exception Rule.
267
+
268
+ ## Example Usage
269
+
270
+ ```python
271
+ import pulumi
272
+ import pulumi_ise as ise
273
+
274
+ example = ise.deviceadmin.get_authorization_global_exception_rule(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
275
+ ```
276
+
277
+
278
+ :param str id: The id of the object
279
+ :param str name: Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
280
+ """
281
+ __args__ = dict()
282
+ __args__['id'] = id
283
+ __args__['name'] = name
284
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
285
+ __ret__ = pulumi.runtime.invoke_output('ise:deviceadmin/getAuthorizationGlobalExceptionRule:getAuthorizationGlobalExceptionRule', __args__, opts=opts, typ=GetAuthorizationGlobalExceptionRuleResult)
286
+ return __ret__.apply(lambda __response__: GetAuthorizationGlobalExceptionRuleResult(
287
+ childrens=pulumi.get(__response__, 'childrens'),
288
+ command_sets=pulumi.get(__response__, 'command_sets'),
289
+ condition_attribute_name=pulumi.get(__response__, 'condition_attribute_name'),
290
+ condition_attribute_value=pulumi.get(__response__, 'condition_attribute_value'),
291
+ condition_dictionary_name=pulumi.get(__response__, 'condition_dictionary_name'),
292
+ condition_dictionary_value=pulumi.get(__response__, 'condition_dictionary_value'),
293
+ condition_id=pulumi.get(__response__, 'condition_id'),
294
+ condition_is_negate=pulumi.get(__response__, 'condition_is_negate'),
295
+ condition_operator=pulumi.get(__response__, 'condition_operator'),
296
+ condition_type=pulumi.get(__response__, 'condition_type'),
297
+ id=pulumi.get(__response__, 'id'),
298
+ name=pulumi.get(__response__, 'name'),
299
+ profile=pulumi.get(__response__, 'profile'),
300
+ rank=pulumi.get(__response__, 'rank'),
301
+ state=pulumi.get(__response__, 'state')))