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,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
+ 'GetAuthorizationRuleResult',
20
+ 'AwaitableGetAuthorizationRuleResult',
21
+ 'get_authorization_rule',
22
+ 'get_authorization_rule_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetAuthorizationRuleResult:
27
+ """
28
+ A collection of values returned by getAuthorizationRule.
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.GetAuthorizationRuleChildrenResult']:
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 AwaitableGetAuthorizationRuleResult(GetAuthorizationRuleResult):
221
+ # pylint: disable=using-constant-test
222
+ def __await__(self):
223
+ if False:
224
+ yield self
225
+ return GetAuthorizationRuleResult(
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_rule(id: Optional[str] = None,
246
+ name: Optional[str] = None,
247
+ policy_set_id: Optional[str] = None,
248
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAuthorizationRuleResult:
249
+ """
250
+ This data source can read the Device Admin Authorization Rule.
251
+
252
+ ## Example Usage
253
+
254
+ ```python
255
+ import pulumi
256
+ import pulumi_ise as ise
257
+
258
+ example = ise.deviceadmin.get_authorization_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/getAuthorizationRule:getAuthorizationRule', __args__, opts=opts, typ=GetAuthorizationRuleResult).value
273
+
274
+ return AwaitableGetAuthorizationRuleResult(
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_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[GetAuthorizationRuleResult]:
296
+ """
297
+ This data source can read the Device Admin Authorization Rule.
298
+
299
+ ## Example Usage
300
+
301
+ ```python
302
+ import pulumi
303
+ import pulumi_ise as ise
304
+
305
+ example = ise.deviceadmin.get_authorization_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/getAuthorizationRule:getAuthorizationRule', __args__, opts=opts, typ=GetAuthorizationRuleResult)
320
+ return __ret__.apply(lambda __response__: GetAuthorizationRuleResult(
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,245 @@
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
+ 'GetConditionResult',
20
+ 'AwaitableGetConditionResult',
21
+ 'get_condition',
22
+ 'get_condition_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetConditionResult:
27
+ """
28
+ A collection of values returned by getCondition.
29
+ """
30
+ def __init__(__self__, attribute_name=None, attribute_value=None, childrens=None, condition_type=None, description=None, dictionary_name=None, dictionary_value=None, id=None, is_negate=None, name=None, operator=None):
31
+ if attribute_name and not isinstance(attribute_name, str):
32
+ raise TypeError("Expected argument 'attribute_name' to be a str")
33
+ pulumi.set(__self__, "attribute_name", attribute_name)
34
+ if attribute_value and not isinstance(attribute_value, str):
35
+ raise TypeError("Expected argument 'attribute_value' to be a str")
36
+ pulumi.set(__self__, "attribute_value", attribute_value)
37
+ if childrens and not isinstance(childrens, list):
38
+ raise TypeError("Expected argument 'childrens' to be a list")
39
+ pulumi.set(__self__, "childrens", childrens)
40
+ if condition_type and not isinstance(condition_type, str):
41
+ raise TypeError("Expected argument 'condition_type' to be a str")
42
+ pulumi.set(__self__, "condition_type", condition_type)
43
+ if description and not isinstance(description, str):
44
+ raise TypeError("Expected argument 'description' to be a str")
45
+ pulumi.set(__self__, "description", description)
46
+ if dictionary_name and not isinstance(dictionary_name, str):
47
+ raise TypeError("Expected argument 'dictionary_name' to be a str")
48
+ pulumi.set(__self__, "dictionary_name", dictionary_name)
49
+ if dictionary_value and not isinstance(dictionary_value, str):
50
+ raise TypeError("Expected argument 'dictionary_value' to be a str")
51
+ pulumi.set(__self__, "dictionary_value", dictionary_value)
52
+ if id and not isinstance(id, str):
53
+ raise TypeError("Expected argument 'id' to be a str")
54
+ pulumi.set(__self__, "id", id)
55
+ if is_negate and not isinstance(is_negate, bool):
56
+ raise TypeError("Expected argument 'is_negate' to be a bool")
57
+ pulumi.set(__self__, "is_negate", is_negate)
58
+ if name and not isinstance(name, str):
59
+ raise TypeError("Expected argument 'name' to be a str")
60
+ pulumi.set(__self__, "name", name)
61
+ if operator and not isinstance(operator, str):
62
+ raise TypeError("Expected argument 'operator' to be a str")
63
+ pulumi.set(__self__, "operator", operator)
64
+
65
+ @property
66
+ @pulumi.getter(name="attributeName")
67
+ def attribute_name(self) -> str:
68
+ """
69
+ Dictionary attribute name
70
+ """
71
+ return pulumi.get(self, "attribute_name")
72
+
73
+ @property
74
+ @pulumi.getter(name="attributeValue")
75
+ def attribute_value(self) -> str:
76
+ """
77
+ Attribute value for condition. Value type is specified in dictionary object.
78
+ """
79
+ return pulumi.get(self, "attribute_value")
80
+
81
+ @property
82
+ @pulumi.getter
83
+ def childrens(self) -> Sequence['outputs.GetConditionChildrenResult']:
84
+ """
85
+ List of child conditions. `condition_type` must be one of `LibraryConditionAndBlock` or `LibraryConditionOrBlock`.
86
+ """
87
+ return pulumi.get(self, "childrens")
88
+
89
+ @property
90
+ @pulumi.getter(name="conditionType")
91
+ def condition_type(self) -> str:
92
+ """
93
+ Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute.
94
+ """
95
+ return pulumi.get(self, "condition_type")
96
+
97
+ @property
98
+ @pulumi.getter
99
+ def description(self) -> str:
100
+ """
101
+ Condition description
102
+ """
103
+ return pulumi.get(self, "description")
104
+
105
+ @property
106
+ @pulumi.getter(name="dictionaryName")
107
+ def dictionary_name(self) -> str:
108
+ """
109
+ Dictionary name
110
+ """
111
+ return pulumi.get(self, "dictionary_name")
112
+
113
+ @property
114
+ @pulumi.getter(name="dictionaryValue")
115
+ def dictionary_value(self) -> str:
116
+ """
117
+ Dictionary value
118
+ """
119
+ return pulumi.get(self, "dictionary_value")
120
+
121
+ @property
122
+ @pulumi.getter
123
+ def id(self) -> str:
124
+ """
125
+ The id of the object
126
+ """
127
+ return pulumi.get(self, "id")
128
+
129
+ @property
130
+ @pulumi.getter(name="isNegate")
131
+ def is_negate(self) -> bool:
132
+ """
133
+ Indicates whereas this condition is in negate mode
134
+ """
135
+ return pulumi.get(self, "is_negate")
136
+
137
+ @property
138
+ @pulumi.getter
139
+ def name(self) -> str:
140
+ """
141
+ Condition name
142
+ """
143
+ return pulumi.get(self, "name")
144
+
145
+ @property
146
+ @pulumi.getter
147
+ def operator(self) -> str:
148
+ """
149
+ Equality operator
150
+ """
151
+ return pulumi.get(self, "operator")
152
+
153
+
154
+ class AwaitableGetConditionResult(GetConditionResult):
155
+ # pylint: disable=using-constant-test
156
+ def __await__(self):
157
+ if False:
158
+ yield self
159
+ return GetConditionResult(
160
+ attribute_name=self.attribute_name,
161
+ attribute_value=self.attribute_value,
162
+ childrens=self.childrens,
163
+ condition_type=self.condition_type,
164
+ description=self.description,
165
+ dictionary_name=self.dictionary_name,
166
+ dictionary_value=self.dictionary_value,
167
+ id=self.id,
168
+ is_negate=self.is_negate,
169
+ name=self.name,
170
+ operator=self.operator)
171
+
172
+
173
+ def get_condition(id: Optional[str] = None,
174
+ name: Optional[str] = None,
175
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetConditionResult:
176
+ """
177
+ This data source can read the Device Admin Condition.
178
+
179
+ ## Example Usage
180
+
181
+ ```python
182
+ import pulumi
183
+ import pulumi_ise as ise
184
+
185
+ example = ise.deviceadmin.get_condition(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
186
+ ```
187
+
188
+
189
+ :param str id: The id of the object
190
+ :param str name: Condition name
191
+ """
192
+ __args__ = dict()
193
+ __args__['id'] = id
194
+ __args__['name'] = name
195
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
196
+ __ret__ = pulumi.runtime.invoke('ise:deviceadmin/getCondition:getCondition', __args__, opts=opts, typ=GetConditionResult).value
197
+
198
+ return AwaitableGetConditionResult(
199
+ attribute_name=pulumi.get(__ret__, 'attribute_name'),
200
+ attribute_value=pulumi.get(__ret__, 'attribute_value'),
201
+ childrens=pulumi.get(__ret__, 'childrens'),
202
+ condition_type=pulumi.get(__ret__, 'condition_type'),
203
+ description=pulumi.get(__ret__, 'description'),
204
+ dictionary_name=pulumi.get(__ret__, 'dictionary_name'),
205
+ dictionary_value=pulumi.get(__ret__, 'dictionary_value'),
206
+ id=pulumi.get(__ret__, 'id'),
207
+ is_negate=pulumi.get(__ret__, 'is_negate'),
208
+ name=pulumi.get(__ret__, 'name'),
209
+ operator=pulumi.get(__ret__, 'operator'))
210
+ def get_condition_output(id: Optional[pulumi.Input[Optional[str]]] = None,
211
+ name: Optional[pulumi.Input[Optional[str]]] = None,
212
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetConditionResult]:
213
+ """
214
+ This data source can read the Device Admin Condition.
215
+
216
+ ## Example Usage
217
+
218
+ ```python
219
+ import pulumi
220
+ import pulumi_ise as ise
221
+
222
+ example = ise.deviceadmin.get_condition(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
223
+ ```
224
+
225
+
226
+ :param str id: The id of the object
227
+ :param str name: Condition name
228
+ """
229
+ __args__ = dict()
230
+ __args__['id'] = id
231
+ __args__['name'] = name
232
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
233
+ __ret__ = pulumi.runtime.invoke_output('ise:deviceadmin/getCondition:getCondition', __args__, opts=opts, typ=GetConditionResult)
234
+ return __ret__.apply(lambda __response__: GetConditionResult(
235
+ attribute_name=pulumi.get(__response__, 'attribute_name'),
236
+ attribute_value=pulumi.get(__response__, 'attribute_value'),
237
+ childrens=pulumi.get(__response__, 'childrens'),
238
+ condition_type=pulumi.get(__response__, 'condition_type'),
239
+ description=pulumi.get(__response__, 'description'),
240
+ dictionary_name=pulumi.get(__response__, 'dictionary_name'),
241
+ dictionary_value=pulumi.get(__response__, 'dictionary_value'),
242
+ id=pulumi.get(__response__, 'id'),
243
+ is_negate=pulumi.get(__response__, 'is_negate'),
244
+ name=pulumi.get(__response__, 'name'),
245
+ operator=pulumi.get(__response__, 'operator')))