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.
- pulumi_ise/__init__.py +458 -0
- pulumi_ise/_utilities.py +327 -0
- pulumi_ise/config/__init__.py +8 -0
- pulumi_ise/config/__init__.pyi +41 -0
- pulumi_ise/config/vars.py +57 -0
- pulumi_ise/deviceadmin/__init__.py +34 -0
- pulumi_ise/deviceadmin/_inputs.py +2517 -0
- pulumi_ise/deviceadmin/allowed_protocols_tacacs.py +381 -0
- pulumi_ise/deviceadmin/authentication_rule.py +1050 -0
- pulumi_ise/deviceadmin/authentication_rule_update_rank.py +271 -0
- pulumi_ise/deviceadmin/authorization_exception_rule.py +942 -0
- pulumi_ise/deviceadmin/authorization_exception_rule_update_rank.py +271 -0
- pulumi_ise/deviceadmin/authorization_global_exception_rule.py +843 -0
- pulumi_ise/deviceadmin/authorization_global_exception_rule_update_rank.py +221 -0
- pulumi_ise/deviceadmin/authorization_rule.py +942 -0
- pulumi_ise/deviceadmin/authorization_rule_update_rank.py +271 -0
- pulumi_ise/deviceadmin/condition.py +650 -0
- pulumi_ise/deviceadmin/get_allowed_protocols_tacacs.py +174 -0
- pulumi_ise/deviceadmin/get_authentication_rule.py +365 -0
- pulumi_ise/deviceadmin/get_authorization_exception_rule.py +337 -0
- pulumi_ise/deviceadmin/get_authorization_global_exception_rule.py +301 -0
- pulumi_ise/deviceadmin/get_authorization_rule.py +337 -0
- pulumi_ise/deviceadmin/get_condition.py +245 -0
- pulumi_ise/deviceadmin/get_policy_set.py +329 -0
- pulumi_ise/deviceadmin/get_tacacs_command_set.py +158 -0
- pulumi_ise/deviceadmin/get_tacacs_profile.py +144 -0
- pulumi_ise/deviceadmin/get_time_and_date_condition.py +286 -0
- pulumi_ise/deviceadmin/outputs.py +3178 -0
- pulumi_ise/deviceadmin/policy_set.py +947 -0
- pulumi_ise/deviceadmin/policy_set_update_rank.py +221 -0
- pulumi_ise/deviceadmin/tacacs_command_set.py +326 -0
- pulumi_ise/deviceadmin/tacacs_profile.py +277 -0
- pulumi_ise/deviceadmin/time_and_date_condition.py +770 -0
- pulumi_ise/identitymanagement/__init__.py +26 -0
- pulumi_ise/identitymanagement/_inputs.py +419 -0
- pulumi_ise/identitymanagement/active_directory_add_groups.py +483 -0
- pulumi_ise/identitymanagement/active_directory_join_domain_with_all_nodes.py +216 -0
- pulumi_ise/identitymanagement/active_directory_join_point.py +1676 -0
- pulumi_ise/identitymanagement/certificate_authentication_profile.py +525 -0
- pulumi_ise/identitymanagement/endpoint.py +1376 -0
- pulumi_ise/identitymanagement/endpoint_identity_group.py +327 -0
- pulumi_ise/identitymanagement/get_active_directory_groups_by_domain.py +215 -0
- pulumi_ise/identitymanagement/get_active_directory_join_point.py +558 -0
- pulumi_ise/identitymanagement/get_certificate_authentication_profile.py +202 -0
- pulumi_ise/identitymanagement/get_endpoint.py +468 -0
- pulumi_ise/identitymanagement/get_endpoint_identity_group.py +160 -0
- pulumi_ise/identitymanagement/get_identity_source_sequence.py +172 -0
- pulumi_ise/identitymanagement/get_internal_user.py +300 -0
- pulumi_ise/identitymanagement/get_user_identity_group.py +146 -0
- pulumi_ise/identitymanagement/identity_source_sequence.py +376 -0
- pulumi_ise/identitymanagement/internal_user.py +830 -0
- pulumi_ise/identitymanagement/outputs.py +491 -0
- pulumi_ise/identitymanagement/user_identity_group.py +280 -0
- pulumi_ise/network/__init__.py +13 -0
- pulumi_ise/network/_inputs.py +94 -0
- pulumi_ise/network/device.py +2194 -0
- pulumi_ise/network/device_group.py +281 -0
- pulumi_ise/network/get_device.py +693 -0
- pulumi_ise/network/get_device_group.py +146 -0
- pulumi_ise/network/outputs.py +120 -0
- pulumi_ise/networkaccess/__init__.py +36 -0
- pulumi_ise/networkaccess/_inputs.py +2506 -0
- pulumi_ise/networkaccess/allowed_protocols.py +3967 -0
- pulumi_ise/networkaccess/authentication_rule.py +1050 -0
- pulumi_ise/networkaccess/authentication_rule_update_rank.py +271 -0
- pulumi_ise/networkaccess/authorization_exception_rule.py +942 -0
- pulumi_ise/networkaccess/authorization_exception_rule_update_rank.py +271 -0
- pulumi_ise/networkaccess/authorization_global_exception_rule.py +843 -0
- pulumi_ise/networkaccess/authorization_global_exception_rule_update_rank.py +221 -0
- pulumi_ise/networkaccess/authorization_profile.py +1682 -0
- pulumi_ise/networkaccess/authorization_rule.py +942 -0
- pulumi_ise/networkaccess/authorization_rule_update_rank.py +271 -0
- pulumi_ise/networkaccess/condition.py +650 -0
- pulumi_ise/networkaccess/dictionary.py +331 -0
- pulumi_ise/networkaccess/downloadable_acl.py +330 -0
- pulumi_ise/networkaccess/get_allowed_protocols.py +1182 -0
- pulumi_ise/networkaccess/get_authentication_rule.py +365 -0
- pulumi_ise/networkaccess/get_authorization_exception_rule.py +337 -0
- pulumi_ise/networkaccess/get_authorization_global_exception_rule.py +301 -0
- pulumi_ise/networkaccess/get_authorization_profile.py +567 -0
- pulumi_ise/networkaccess/get_authorization_rule.py +337 -0
- pulumi_ise/networkaccess/get_condition.py +245 -0
- pulumi_ise/networkaccess/get_dictionary.py +160 -0
- pulumi_ise/networkaccess/get_downloadable_acl.py +160 -0
- pulumi_ise/networkaccess/get_policy_set.py +329 -0
- pulumi_ise/networkaccess/get_time_and_date_condition.py +286 -0
- pulumi_ise/networkaccess/outputs.py +3193 -0
- pulumi_ise/networkaccess/policy_set.py +947 -0
- pulumi_ise/networkaccess/policy_set_update_rank.py +221 -0
- pulumi_ise/networkaccess/time_and_date_condition.py +770 -0
- pulumi_ise/provider.py +209 -0
- pulumi_ise/pulumi-plugin.json +5 -0
- pulumi_ise/py.typed +0 -0
- pulumi_ise/system/__init__.py +13 -0
- pulumi_ise/system/_inputs.py +79 -0
- pulumi_ise/system/get_license_tier_state.py +113 -0
- pulumi_ise/system/get_repository.py +202 -0
- pulumi_ise/system/license_tier_state.py +189 -0
- pulumi_ise/system/outputs.py +83 -0
- pulumi_ise/system/repository.py +478 -0
- pulumi_ise/trustsec/__init__.py +21 -0
- pulumi_ise/trustsec/egress_matrix_cell.py +429 -0
- pulumi_ise/trustsec/egress_matrix_cell_default.py +327 -0
- pulumi_ise/trustsec/get_egress_matrix_cell.py +182 -0
- pulumi_ise/trustsec/get_egress_matrix_cell_default.py +154 -0
- pulumi_ise/trustsec/get_ip_to_sgt_mapping.py +216 -0
- pulumi_ise/trustsec/get_ip_to_sgt_mapping_group.py +174 -0
- pulumi_ise/trustsec/get_security_group.py +174 -0
- pulumi_ise/trustsec/get_security_group_acl.py +174 -0
- pulumi_ise/trustsec/get_sxp_domain_filter.py +188 -0
- pulumi_ise/trustsec/ip_to_sgt_mapping.py +517 -0
- pulumi_ise/trustsec/ip_to_sgt_mapping_group.py +376 -0
- pulumi_ise/trustsec/security_group.py +379 -0
- pulumi_ise/trustsec/security_group_acl.py +379 -0
- pulumi_ise/trustsec/sxp_domain_filter.py +422 -0
- pulumi_ise-0.2.0.dist-info/METADATA +64 -0
- pulumi_ise-0.2.0.dist-info/RECORD +119 -0
- pulumi_ise-0.2.0.dist-info/WHEEL +5 -0
- 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, 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, profiles=None, rank=None, security_group=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 condition_attribute_name and not isinstance(condition_attribute_name, str):
|
35
|
+
raise TypeError("Expected argument 'condition_attribute_name' to be a str")
|
36
|
+
pulumi.set(__self__, "condition_attribute_name", condition_attribute_name)
|
37
|
+
if condition_attribute_value and not isinstance(condition_attribute_value, str):
|
38
|
+
raise TypeError("Expected argument 'condition_attribute_value' to be a str")
|
39
|
+
pulumi.set(__self__, "condition_attribute_value", condition_attribute_value)
|
40
|
+
if condition_dictionary_name and not isinstance(condition_dictionary_name, str):
|
41
|
+
raise TypeError("Expected argument 'condition_dictionary_name' to be a str")
|
42
|
+
pulumi.set(__self__, "condition_dictionary_name", condition_dictionary_name)
|
43
|
+
if condition_dictionary_value and not isinstance(condition_dictionary_value, str):
|
44
|
+
raise TypeError("Expected argument 'condition_dictionary_value' to be a str")
|
45
|
+
pulumi.set(__self__, "condition_dictionary_value", condition_dictionary_value)
|
46
|
+
if condition_id and not isinstance(condition_id, str):
|
47
|
+
raise TypeError("Expected argument 'condition_id' to be a str")
|
48
|
+
pulumi.set(__self__, "condition_id", condition_id)
|
49
|
+
if condition_is_negate and not isinstance(condition_is_negate, bool):
|
50
|
+
raise TypeError("Expected argument 'condition_is_negate' to be a bool")
|
51
|
+
pulumi.set(__self__, "condition_is_negate", condition_is_negate)
|
52
|
+
if condition_operator and not isinstance(condition_operator, str):
|
53
|
+
raise TypeError("Expected argument 'condition_operator' to be a str")
|
54
|
+
pulumi.set(__self__, "condition_operator", condition_operator)
|
55
|
+
if condition_type and not isinstance(condition_type, str):
|
56
|
+
raise TypeError("Expected argument 'condition_type' to be a str")
|
57
|
+
pulumi.set(__self__, "condition_type", condition_type)
|
58
|
+
if default and not isinstance(default, bool):
|
59
|
+
raise TypeError("Expected argument 'default' to be a bool")
|
60
|
+
pulumi.set(__self__, "default", default)
|
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 policy_set_id and not isinstance(policy_set_id, str):
|
68
|
+
raise TypeError("Expected argument 'policy_set_id' to be a str")
|
69
|
+
pulumi.set(__self__, "policy_set_id", policy_set_id)
|
70
|
+
if profiles and not isinstance(profiles, list):
|
71
|
+
raise TypeError("Expected argument 'profiles' to be a list")
|
72
|
+
pulumi.set(__self__, "profiles", profiles)
|
73
|
+
if rank and not isinstance(rank, int):
|
74
|
+
raise TypeError("Expected argument 'rank' to be a int")
|
75
|
+
pulumi.set(__self__, "rank", rank)
|
76
|
+
if security_group and not isinstance(security_group, str):
|
77
|
+
raise TypeError("Expected argument 'security_group' to be a str")
|
78
|
+
pulumi.set(__self__, "security_group", security_group)
|
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="conditionAttributeName")
|
93
|
+
def condition_attribute_name(self) -> str:
|
94
|
+
"""
|
95
|
+
Dictionary attribute name
|
96
|
+
"""
|
97
|
+
return pulumi.get(self, "condition_attribute_name")
|
98
|
+
|
99
|
+
@property
|
100
|
+
@pulumi.getter(name="conditionAttributeValue")
|
101
|
+
def condition_attribute_value(self) -> str:
|
102
|
+
"""
|
103
|
+
Attribute value for condition. Value type is specified in dictionary object.
|
104
|
+
"""
|
105
|
+
return pulumi.get(self, "condition_attribute_value")
|
106
|
+
|
107
|
+
@property
|
108
|
+
@pulumi.getter(name="conditionDictionaryName")
|
109
|
+
def condition_dictionary_name(self) -> str:
|
110
|
+
"""
|
111
|
+
Dictionary name
|
112
|
+
"""
|
113
|
+
return pulumi.get(self, "condition_dictionary_name")
|
114
|
+
|
115
|
+
@property
|
116
|
+
@pulumi.getter(name="conditionDictionaryValue")
|
117
|
+
def condition_dictionary_value(self) -> str:
|
118
|
+
"""
|
119
|
+
Dictionary value
|
120
|
+
"""
|
121
|
+
return pulumi.get(self, "condition_dictionary_value")
|
122
|
+
|
123
|
+
@property
|
124
|
+
@pulumi.getter(name="conditionId")
|
125
|
+
def condition_id(self) -> str:
|
126
|
+
"""
|
127
|
+
UUID for condition
|
128
|
+
"""
|
129
|
+
return pulumi.get(self, "condition_id")
|
130
|
+
|
131
|
+
@property
|
132
|
+
@pulumi.getter(name="conditionIsNegate")
|
133
|
+
def condition_is_negate(self) -> bool:
|
134
|
+
"""
|
135
|
+
Indicates whereas this condition is in negate mode
|
136
|
+
"""
|
137
|
+
return pulumi.get(self, "condition_is_negate")
|
138
|
+
|
139
|
+
@property
|
140
|
+
@pulumi.getter(name="conditionOperator")
|
141
|
+
def condition_operator(self) -> str:
|
142
|
+
"""
|
143
|
+
Equality operator
|
144
|
+
"""
|
145
|
+
return pulumi.get(self, "condition_operator")
|
146
|
+
|
147
|
+
@property
|
148
|
+
@pulumi.getter(name="conditionType")
|
149
|
+
def condition_type(self) -> str:
|
150
|
+
"""
|
151
|
+
Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute.
|
152
|
+
"""
|
153
|
+
return pulumi.get(self, "condition_type")
|
154
|
+
|
155
|
+
@property
|
156
|
+
@pulumi.getter
|
157
|
+
def default(self) -> bool:
|
158
|
+
"""
|
159
|
+
Indicates if this rule is the default one
|
160
|
+
"""
|
161
|
+
return pulumi.get(self, "default")
|
162
|
+
|
163
|
+
@property
|
164
|
+
@pulumi.getter
|
165
|
+
def id(self) -> str:
|
166
|
+
"""
|
167
|
+
The id of the object
|
168
|
+
"""
|
169
|
+
return pulumi.get(self, "id")
|
170
|
+
|
171
|
+
@property
|
172
|
+
@pulumi.getter
|
173
|
+
def name(self) -> str:
|
174
|
+
"""
|
175
|
+
Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
|
176
|
+
"""
|
177
|
+
return pulumi.get(self, "name")
|
178
|
+
|
179
|
+
@property
|
180
|
+
@pulumi.getter(name="policySetId")
|
181
|
+
def policy_set_id(self) -> str:
|
182
|
+
"""
|
183
|
+
Policy set ID
|
184
|
+
"""
|
185
|
+
return pulumi.get(self, "policy_set_id")
|
186
|
+
|
187
|
+
@property
|
188
|
+
@pulumi.getter
|
189
|
+
def profiles(self) -> Sequence[str]:
|
190
|
+
"""
|
191
|
+
The authorization profile(s)
|
192
|
+
"""
|
193
|
+
return pulumi.get(self, "profiles")
|
194
|
+
|
195
|
+
@property
|
196
|
+
@pulumi.getter
|
197
|
+
def rank(self) -> int:
|
198
|
+
"""
|
199
|
+
The rank (priority) in relation to other rules. Lower rank is higher priority.
|
200
|
+
"""
|
201
|
+
return pulumi.get(self, "rank")
|
202
|
+
|
203
|
+
@property
|
204
|
+
@pulumi.getter(name="securityGroup")
|
205
|
+
def security_group(self) -> str:
|
206
|
+
"""
|
207
|
+
Security group used in authorization policies
|
208
|
+
"""
|
209
|
+
return pulumi.get(self, "security_group")
|
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
|
+
condition_attribute_name=self.condition_attribute_name,
|
228
|
+
condition_attribute_value=self.condition_attribute_value,
|
229
|
+
condition_dictionary_name=self.condition_dictionary_name,
|
230
|
+
condition_dictionary_value=self.condition_dictionary_value,
|
231
|
+
condition_id=self.condition_id,
|
232
|
+
condition_is_negate=self.condition_is_negate,
|
233
|
+
condition_operator=self.condition_operator,
|
234
|
+
condition_type=self.condition_type,
|
235
|
+
default=self.default,
|
236
|
+
id=self.id,
|
237
|
+
name=self.name,
|
238
|
+
policy_set_id=self.policy_set_id,
|
239
|
+
profiles=self.profiles,
|
240
|
+
rank=self.rank,
|
241
|
+
security_group=self.security_group,
|
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 Network Access Authorization Exception Rule.
|
251
|
+
|
252
|
+
## Example Usage
|
253
|
+
|
254
|
+
```python
|
255
|
+
import pulumi
|
256
|
+
import pulumi_ise as ise
|
257
|
+
|
258
|
+
example = ise.networkaccess.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:networkaccess/getAuthorizationExceptionRule:getAuthorizationExceptionRule', __args__, opts=opts, typ=GetAuthorizationExceptionRuleResult).value
|
273
|
+
|
274
|
+
return AwaitableGetAuthorizationExceptionRuleResult(
|
275
|
+
childrens=pulumi.get(__ret__, 'childrens'),
|
276
|
+
condition_attribute_name=pulumi.get(__ret__, 'condition_attribute_name'),
|
277
|
+
condition_attribute_value=pulumi.get(__ret__, 'condition_attribute_value'),
|
278
|
+
condition_dictionary_name=pulumi.get(__ret__, 'condition_dictionary_name'),
|
279
|
+
condition_dictionary_value=pulumi.get(__ret__, 'condition_dictionary_value'),
|
280
|
+
condition_id=pulumi.get(__ret__, 'condition_id'),
|
281
|
+
condition_is_negate=pulumi.get(__ret__, 'condition_is_negate'),
|
282
|
+
condition_operator=pulumi.get(__ret__, 'condition_operator'),
|
283
|
+
condition_type=pulumi.get(__ret__, 'condition_type'),
|
284
|
+
default=pulumi.get(__ret__, 'default'),
|
285
|
+
id=pulumi.get(__ret__, 'id'),
|
286
|
+
name=pulumi.get(__ret__, 'name'),
|
287
|
+
policy_set_id=pulumi.get(__ret__, 'policy_set_id'),
|
288
|
+
profiles=pulumi.get(__ret__, 'profiles'),
|
289
|
+
rank=pulumi.get(__ret__, 'rank'),
|
290
|
+
security_group=pulumi.get(__ret__, 'security_group'),
|
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 Network Access Authorization Exception Rule.
|
298
|
+
|
299
|
+
## Example Usage
|
300
|
+
|
301
|
+
```python
|
302
|
+
import pulumi
|
303
|
+
import pulumi_ise as ise
|
304
|
+
|
305
|
+
example = ise.networkaccess.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:networkaccess/getAuthorizationExceptionRule:getAuthorizationExceptionRule', __args__, opts=opts, typ=GetAuthorizationExceptionRuleResult)
|
320
|
+
return __ret__.apply(lambda __response__: GetAuthorizationExceptionRuleResult(
|
321
|
+
childrens=pulumi.get(__response__, 'childrens'),
|
322
|
+
condition_attribute_name=pulumi.get(__response__, 'condition_attribute_name'),
|
323
|
+
condition_attribute_value=pulumi.get(__response__, 'condition_attribute_value'),
|
324
|
+
condition_dictionary_name=pulumi.get(__response__, 'condition_dictionary_name'),
|
325
|
+
condition_dictionary_value=pulumi.get(__response__, 'condition_dictionary_value'),
|
326
|
+
condition_id=pulumi.get(__response__, 'condition_id'),
|
327
|
+
condition_is_negate=pulumi.get(__response__, 'condition_is_negate'),
|
328
|
+
condition_operator=pulumi.get(__response__, 'condition_operator'),
|
329
|
+
condition_type=pulumi.get(__response__, 'condition_type'),
|
330
|
+
default=pulumi.get(__response__, 'default'),
|
331
|
+
id=pulumi.get(__response__, 'id'),
|
332
|
+
name=pulumi.get(__response__, 'name'),
|
333
|
+
policy_set_id=pulumi.get(__response__, 'policy_set_id'),
|
334
|
+
profiles=pulumi.get(__response__, 'profiles'),
|
335
|
+
rank=pulumi.get(__response__, 'rank'),
|
336
|
+
security_group=pulumi.get(__response__, 'security_group'),
|
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, 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, profiles=None, rank=None, security_group=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 condition_attribute_name and not isinstance(condition_attribute_name, str):
|
35
|
+
raise TypeError("Expected argument 'condition_attribute_name' to be a str")
|
36
|
+
pulumi.set(__self__, "condition_attribute_name", condition_attribute_name)
|
37
|
+
if condition_attribute_value and not isinstance(condition_attribute_value, str):
|
38
|
+
raise TypeError("Expected argument 'condition_attribute_value' to be a str")
|
39
|
+
pulumi.set(__self__, "condition_attribute_value", condition_attribute_value)
|
40
|
+
if condition_dictionary_name and not isinstance(condition_dictionary_name, str):
|
41
|
+
raise TypeError("Expected argument 'condition_dictionary_name' to be a str")
|
42
|
+
pulumi.set(__self__, "condition_dictionary_name", condition_dictionary_name)
|
43
|
+
if condition_dictionary_value and not isinstance(condition_dictionary_value, str):
|
44
|
+
raise TypeError("Expected argument 'condition_dictionary_value' to be a str")
|
45
|
+
pulumi.set(__self__, "condition_dictionary_value", condition_dictionary_value)
|
46
|
+
if condition_id and not isinstance(condition_id, str):
|
47
|
+
raise TypeError("Expected argument 'condition_id' to be a str")
|
48
|
+
pulumi.set(__self__, "condition_id", condition_id)
|
49
|
+
if condition_is_negate and not isinstance(condition_is_negate, bool):
|
50
|
+
raise TypeError("Expected argument 'condition_is_negate' to be a bool")
|
51
|
+
pulumi.set(__self__, "condition_is_negate", condition_is_negate)
|
52
|
+
if condition_operator and not isinstance(condition_operator, str):
|
53
|
+
raise TypeError("Expected argument 'condition_operator' to be a str")
|
54
|
+
pulumi.set(__self__, "condition_operator", condition_operator)
|
55
|
+
if condition_type and not isinstance(condition_type, str):
|
56
|
+
raise TypeError("Expected argument 'condition_type' to be a str")
|
57
|
+
pulumi.set(__self__, "condition_type", condition_type)
|
58
|
+
if id and not isinstance(id, str):
|
59
|
+
raise TypeError("Expected argument 'id' to be a str")
|
60
|
+
pulumi.set(__self__, "id", id)
|
61
|
+
if name and not isinstance(name, str):
|
62
|
+
raise TypeError("Expected argument 'name' to be a str")
|
63
|
+
pulumi.set(__self__, "name", name)
|
64
|
+
if profiles and not isinstance(profiles, list):
|
65
|
+
raise TypeError("Expected argument 'profiles' to be a list")
|
66
|
+
pulumi.set(__self__, "profiles", profiles)
|
67
|
+
if rank and not isinstance(rank, int):
|
68
|
+
raise TypeError("Expected argument 'rank' to be a int")
|
69
|
+
pulumi.set(__self__, "rank", rank)
|
70
|
+
if security_group and not isinstance(security_group, str):
|
71
|
+
raise TypeError("Expected argument 'security_group' to be a str")
|
72
|
+
pulumi.set(__self__, "security_group", security_group)
|
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="conditionAttributeName")
|
87
|
+
def condition_attribute_name(self) -> str:
|
88
|
+
"""
|
89
|
+
Dictionary attribute name
|
90
|
+
"""
|
91
|
+
return pulumi.get(self, "condition_attribute_name")
|
92
|
+
|
93
|
+
@property
|
94
|
+
@pulumi.getter(name="conditionAttributeValue")
|
95
|
+
def condition_attribute_value(self) -> str:
|
96
|
+
"""
|
97
|
+
Attribute value for condition. Value type is specified in dictionary object.
|
98
|
+
"""
|
99
|
+
return pulumi.get(self, "condition_attribute_value")
|
100
|
+
|
101
|
+
@property
|
102
|
+
@pulumi.getter(name="conditionDictionaryName")
|
103
|
+
def condition_dictionary_name(self) -> str:
|
104
|
+
"""
|
105
|
+
Dictionary name
|
106
|
+
"""
|
107
|
+
return pulumi.get(self, "condition_dictionary_name")
|
108
|
+
|
109
|
+
@property
|
110
|
+
@pulumi.getter(name="conditionDictionaryValue")
|
111
|
+
def condition_dictionary_value(self) -> str:
|
112
|
+
"""
|
113
|
+
Dictionary value
|
114
|
+
"""
|
115
|
+
return pulumi.get(self, "condition_dictionary_value")
|
116
|
+
|
117
|
+
@property
|
118
|
+
@pulumi.getter(name="conditionId")
|
119
|
+
def condition_id(self) -> str:
|
120
|
+
"""
|
121
|
+
UUID for condition
|
122
|
+
"""
|
123
|
+
return pulumi.get(self, "condition_id")
|
124
|
+
|
125
|
+
@property
|
126
|
+
@pulumi.getter(name="conditionIsNegate")
|
127
|
+
def condition_is_negate(self) -> bool:
|
128
|
+
"""
|
129
|
+
Indicates whereas this condition is in negate mode
|
130
|
+
"""
|
131
|
+
return pulumi.get(self, "condition_is_negate")
|
132
|
+
|
133
|
+
@property
|
134
|
+
@pulumi.getter(name="conditionOperator")
|
135
|
+
def condition_operator(self) -> str:
|
136
|
+
"""
|
137
|
+
Equality operator
|
138
|
+
"""
|
139
|
+
return pulumi.get(self, "condition_operator")
|
140
|
+
|
141
|
+
@property
|
142
|
+
@pulumi.getter(name="conditionType")
|
143
|
+
def condition_type(self) -> str:
|
144
|
+
"""
|
145
|
+
Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute.
|
146
|
+
"""
|
147
|
+
return pulumi.get(self, "condition_type")
|
148
|
+
|
149
|
+
@property
|
150
|
+
@pulumi.getter
|
151
|
+
def id(self) -> str:
|
152
|
+
"""
|
153
|
+
The id of the object
|
154
|
+
"""
|
155
|
+
return pulumi.get(self, "id")
|
156
|
+
|
157
|
+
@property
|
158
|
+
@pulumi.getter
|
159
|
+
def name(self) -> str:
|
160
|
+
"""
|
161
|
+
Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
|
162
|
+
"""
|
163
|
+
return pulumi.get(self, "name")
|
164
|
+
|
165
|
+
@property
|
166
|
+
@pulumi.getter
|
167
|
+
def profiles(self) -> Sequence[str]:
|
168
|
+
"""
|
169
|
+
The authorization profile(s)
|
170
|
+
"""
|
171
|
+
return pulumi.get(self, "profiles")
|
172
|
+
|
173
|
+
@property
|
174
|
+
@pulumi.getter
|
175
|
+
def rank(self) -> int:
|
176
|
+
"""
|
177
|
+
The rank (priority) in relation to other rules. Lower rank is higher priority.
|
178
|
+
"""
|
179
|
+
return pulumi.get(self, "rank")
|
180
|
+
|
181
|
+
@property
|
182
|
+
@pulumi.getter(name="securityGroup")
|
183
|
+
def security_group(self) -> str:
|
184
|
+
"""
|
185
|
+
Security group used in authorization policies
|
186
|
+
"""
|
187
|
+
return pulumi.get(self, "security_group")
|
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
|
+
condition_attribute_name=self.condition_attribute_name,
|
206
|
+
condition_attribute_value=self.condition_attribute_value,
|
207
|
+
condition_dictionary_name=self.condition_dictionary_name,
|
208
|
+
condition_dictionary_value=self.condition_dictionary_value,
|
209
|
+
condition_id=self.condition_id,
|
210
|
+
condition_is_negate=self.condition_is_negate,
|
211
|
+
condition_operator=self.condition_operator,
|
212
|
+
condition_type=self.condition_type,
|
213
|
+
id=self.id,
|
214
|
+
name=self.name,
|
215
|
+
profiles=self.profiles,
|
216
|
+
rank=self.rank,
|
217
|
+
security_group=self.security_group,
|
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 Network Access Authorization Global Exception Rule.
|
226
|
+
|
227
|
+
## Example Usage
|
228
|
+
|
229
|
+
```python
|
230
|
+
import pulumi
|
231
|
+
import pulumi_ise as ise
|
232
|
+
|
233
|
+
example = ise.networkaccess.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:networkaccess/getAuthorizationGlobalExceptionRule:getAuthorizationGlobalExceptionRule', __args__, opts=opts, typ=GetAuthorizationGlobalExceptionRuleResult).value
|
245
|
+
|
246
|
+
return AwaitableGetAuthorizationGlobalExceptionRuleResult(
|
247
|
+
childrens=pulumi.get(__ret__, 'childrens'),
|
248
|
+
condition_attribute_name=pulumi.get(__ret__, 'condition_attribute_name'),
|
249
|
+
condition_attribute_value=pulumi.get(__ret__, 'condition_attribute_value'),
|
250
|
+
condition_dictionary_name=pulumi.get(__ret__, 'condition_dictionary_name'),
|
251
|
+
condition_dictionary_value=pulumi.get(__ret__, 'condition_dictionary_value'),
|
252
|
+
condition_id=pulumi.get(__ret__, 'condition_id'),
|
253
|
+
condition_is_negate=pulumi.get(__ret__, 'condition_is_negate'),
|
254
|
+
condition_operator=pulumi.get(__ret__, 'condition_operator'),
|
255
|
+
condition_type=pulumi.get(__ret__, 'condition_type'),
|
256
|
+
id=pulumi.get(__ret__, 'id'),
|
257
|
+
name=pulumi.get(__ret__, 'name'),
|
258
|
+
profiles=pulumi.get(__ret__, 'profiles'),
|
259
|
+
rank=pulumi.get(__ret__, 'rank'),
|
260
|
+
security_group=pulumi.get(__ret__, 'security_group'),
|
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 Network Access Authorization Global Exception Rule.
|
267
|
+
|
268
|
+
## Example Usage
|
269
|
+
|
270
|
+
```python
|
271
|
+
import pulumi
|
272
|
+
import pulumi_ise as ise
|
273
|
+
|
274
|
+
example = ise.networkaccess.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:networkaccess/getAuthorizationGlobalExceptionRule:getAuthorizationGlobalExceptionRule', __args__, opts=opts, typ=GetAuthorizationGlobalExceptionRuleResult)
|
286
|
+
return __ret__.apply(lambda __response__: GetAuthorizationGlobalExceptionRuleResult(
|
287
|
+
childrens=pulumi.get(__response__, 'childrens'),
|
288
|
+
condition_attribute_name=pulumi.get(__response__, 'condition_attribute_name'),
|
289
|
+
condition_attribute_value=pulumi.get(__response__, 'condition_attribute_value'),
|
290
|
+
condition_dictionary_name=pulumi.get(__response__, 'condition_dictionary_name'),
|
291
|
+
condition_dictionary_value=pulumi.get(__response__, 'condition_dictionary_value'),
|
292
|
+
condition_id=pulumi.get(__response__, 'condition_id'),
|
293
|
+
condition_is_negate=pulumi.get(__response__, 'condition_is_negate'),
|
294
|
+
condition_operator=pulumi.get(__response__, 'condition_operator'),
|
295
|
+
condition_type=pulumi.get(__response__, 'condition_type'),
|
296
|
+
id=pulumi.get(__response__, 'id'),
|
297
|
+
name=pulumi.get(__response__, 'name'),
|
298
|
+
profiles=pulumi.get(__response__, 'profiles'),
|
299
|
+
rank=pulumi.get(__response__, 'rank'),
|
300
|
+
security_group=pulumi.get(__response__, 'security_group'),
|
301
|
+
state=pulumi.get(__response__, 'state')))
|