pulumi-ise 0.1.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 +362 -0
- pulumi_ise/_utilities.py +291 -0
- pulumi_ise/config/__init__.py +8 -0
- pulumi_ise/config/__init__.pyi +36 -0
- pulumi_ise/config/vars.py +52 -0
- pulumi_ise/deviceadmin/__init__.py +29 -0
- pulumi_ise/deviceadmin/_inputs.py +1952 -0
- pulumi_ise/deviceadmin/allowed_protocols_tacacs.py +376 -0
- pulumi_ise/deviceadmin/authentication_rule.py +1045 -0
- pulumi_ise/deviceadmin/authorization_exception_rule.py +937 -0
- pulumi_ise/deviceadmin/authorization_global_exception_rule.py +887 -0
- pulumi_ise/deviceadmin/authorization_rule.py +937 -0
- pulumi_ise/deviceadmin/condition.py +645 -0
- pulumi_ise/deviceadmin/get_allowed_protocols_tacacs.py +161 -0
- pulumi_ise/deviceadmin/get_authentication_rule.py +338 -0
- pulumi_ise/deviceadmin/get_authorization_exception_rule.py +312 -0
- pulumi_ise/deviceadmin/get_authorization_global_exception_rule.py +292 -0
- pulumi_ise/deviceadmin/get_authorization_rule.py +312 -0
- pulumi_ise/deviceadmin/get_condition.py +227 -0
- pulumi_ise/deviceadmin/get_policy_set.py +305 -0
- pulumi_ise/deviceadmin/get_tacacs_command_set.py +146 -0
- pulumi_ise/deviceadmin/get_tacacs_profile.py +133 -0
- pulumi_ise/deviceadmin/get_time_and_date_condition.py +265 -0
- pulumi_ise/deviceadmin/outputs.py +3173 -0
- pulumi_ise/deviceadmin/policy_set.py +942 -0
- pulumi_ise/deviceadmin/tacacs_command_set.py +321 -0
- pulumi_ise/deviceadmin/tacacs_profile.py +272 -0
- pulumi_ise/deviceadmin/time_and_date_condition.py +765 -0
- pulumi_ise/identitymanagement/__init__.py +26 -0
- pulumi_ise/identitymanagement/_inputs.py +313 -0
- pulumi_ise/identitymanagement/active_directory_add_groups.py +478 -0
- pulumi_ise/identitymanagement/active_directory_join_domain_with_all_nodes.py +211 -0
- pulumi_ise/identitymanagement/active_directory_join_point.py +1671 -0
- pulumi_ise/identitymanagement/certificate_authentication_profile.py +520 -0
- pulumi_ise/identitymanagement/endpoint.py +1371 -0
- pulumi_ise/identitymanagement/endpoint_identity_group.py +322 -0
- pulumi_ise/identitymanagement/get_active_directory_groups_by_domain.py +198 -0
- pulumi_ise/identitymanagement/get_active_directory_join_point.py +518 -0
- pulumi_ise/identitymanagement/get_certificate_authentication_profile.py +187 -0
- pulumi_ise/identitymanagement/get_endpoint.py +434 -0
- pulumi_ise/identitymanagement/get_endpoint_identity_group.py +148 -0
- pulumi_ise/identitymanagement/get_identity_source_sequence.py +159 -0
- pulumi_ise/identitymanagement/get_internal_user.py +278 -0
- pulumi_ise/identitymanagement/get_user_identity_group.py +135 -0
- pulumi_ise/identitymanagement/identity_source_sequence.py +371 -0
- pulumi_ise/identitymanagement/internal_user.py +825 -0
- pulumi_ise/identitymanagement/outputs.py +486 -0
- pulumi_ise/identitymanagement/user_identity_group.py +275 -0
- pulumi_ise/network/__init__.py +13 -0
- pulumi_ise/network/_inputs.py +69 -0
- pulumi_ise/network/device.py +2189 -0
- pulumi_ise/network/device_group.py +276 -0
- pulumi_ise/network/get_device.py +643 -0
- pulumi_ise/network/get_device_group.py +135 -0
- pulumi_ise/network/outputs.py +115 -0
- pulumi_ise/networkaccess/__init__.py +31 -0
- pulumi_ise/networkaccess/_inputs.py +1948 -0
- pulumi_ise/networkaccess/allowed_protocols.py +3962 -0
- pulumi_ise/networkaccess/authentication_rule.py +1045 -0
- pulumi_ise/networkaccess/authorization_exception_rule.py +937 -0
- pulumi_ise/networkaccess/authorization_global_exception_rule.py +887 -0
- pulumi_ise/networkaccess/authorization_profile.py +1677 -0
- pulumi_ise/networkaccess/authorization_rule.py +937 -0
- pulumi_ise/networkaccess/condition.py +645 -0
- pulumi_ise/networkaccess/dictionary.py +326 -0
- pulumi_ise/networkaccess/downloadable_acl.py +325 -0
- pulumi_ise/networkaccess/get_allowed_protocols.py +1097 -0
- pulumi_ise/networkaccess/get_authentication_rule.py +338 -0
- pulumi_ise/networkaccess/get_authorization_exception_rule.py +312 -0
- pulumi_ise/networkaccess/get_authorization_global_exception_rule.py +292 -0
- pulumi_ise/networkaccess/get_authorization_profile.py +526 -0
- pulumi_ise/networkaccess/get_authorization_rule.py +312 -0
- pulumi_ise/networkaccess/get_condition.py +227 -0
- pulumi_ise/networkaccess/get_dictionary.py +148 -0
- pulumi_ise/networkaccess/get_downloadable_acl.py +148 -0
- pulumi_ise/networkaccess/get_policy_set.py +305 -0
- pulumi_ise/networkaccess/get_time_and_date_condition.py +265 -0
- pulumi_ise/networkaccess/outputs.py +3188 -0
- pulumi_ise/networkaccess/policy_set.py +942 -0
- pulumi_ise/networkaccess/time_and_date_condition.py +765 -0
- pulumi_ise/provider.py +204 -0
- pulumi_ise/pulumi-plugin.json +4 -0
- pulumi_ise/py.typed +0 -0
- pulumi_ise/system/__init__.py +13 -0
- pulumi_ise/system/_inputs.py +56 -0
- pulumi_ise/system/get_license_tier_state.py +105 -0
- pulumi_ise/system/get_repository.py +187 -0
- pulumi_ise/system/license_tier_state.py +184 -0
- pulumi_ise/system/outputs.py +78 -0
- pulumi_ise/system/repository.py +473 -0
- pulumi_ise/trustsec/__init__.py +17 -0
- pulumi_ise/trustsec/egress_matrix_cell.py +424 -0
- pulumi_ise/trustsec/get_egress_matrix_cell.py +169 -0
- pulumi_ise/trustsec/get_ip_to_sgt_mapping.py +200 -0
- pulumi_ise/trustsec/get_ip_to_sgt_mapping_group.py +161 -0
- pulumi_ise/trustsec/get_security_group.py +161 -0
- pulumi_ise/trustsec/get_security_group_acl.py +161 -0
- pulumi_ise/trustsec/ip_to_sgt_mapping.py +512 -0
- pulumi_ise/trustsec/ip_to_sgt_mapping_group.py +371 -0
- pulumi_ise/trustsec/security_group.py +374 -0
- pulumi_ise/trustsec/security_group_acl.py +374 -0
- pulumi_ise-0.1.0.dist-info/METADATA +63 -0
- pulumi_ise-0.1.0.dist-info/RECORD +105 -0
- pulumi_ise-0.1.0.dist-info/WHEEL +5 -0
- pulumi_ise-0.1.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,161 @@
|
|
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 pulumi
|
8
|
+
import pulumi.runtime
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
+
from .. import _utilities
|
11
|
+
|
12
|
+
__all__ = [
|
13
|
+
'GetAllowedProtocolsTacacsResult',
|
14
|
+
'AwaitableGetAllowedProtocolsTacacsResult',
|
15
|
+
'get_allowed_protocols_tacacs',
|
16
|
+
'get_allowed_protocols_tacacs_output',
|
17
|
+
]
|
18
|
+
|
19
|
+
@pulumi.output_type
|
20
|
+
class GetAllowedProtocolsTacacsResult:
|
21
|
+
"""
|
22
|
+
A collection of values returned by getAllowedProtocolsTacacs.
|
23
|
+
"""
|
24
|
+
def __init__(__self__, allow_chap=None, allow_ms_chap_v1=None, allow_pap_ascii=None, description=None, id=None, name=None):
|
25
|
+
if allow_chap and not isinstance(allow_chap, bool):
|
26
|
+
raise TypeError("Expected argument 'allow_chap' to be a bool")
|
27
|
+
pulumi.set(__self__, "allow_chap", allow_chap)
|
28
|
+
if allow_ms_chap_v1 and not isinstance(allow_ms_chap_v1, bool):
|
29
|
+
raise TypeError("Expected argument 'allow_ms_chap_v1' to be a bool")
|
30
|
+
pulumi.set(__self__, "allow_ms_chap_v1", allow_ms_chap_v1)
|
31
|
+
if allow_pap_ascii and not isinstance(allow_pap_ascii, bool):
|
32
|
+
raise TypeError("Expected argument 'allow_pap_ascii' to be a bool")
|
33
|
+
pulumi.set(__self__, "allow_pap_ascii", allow_pap_ascii)
|
34
|
+
if description and not isinstance(description, str):
|
35
|
+
raise TypeError("Expected argument 'description' to be a str")
|
36
|
+
pulumi.set(__self__, "description", description)
|
37
|
+
if id and not isinstance(id, str):
|
38
|
+
raise TypeError("Expected argument 'id' to be a str")
|
39
|
+
pulumi.set(__self__, "id", id)
|
40
|
+
if name and not isinstance(name, str):
|
41
|
+
raise TypeError("Expected argument 'name' to be a str")
|
42
|
+
pulumi.set(__self__, "name", name)
|
43
|
+
|
44
|
+
@property
|
45
|
+
@pulumi.getter(name="allowChap")
|
46
|
+
def allow_chap(self) -> bool:
|
47
|
+
"""
|
48
|
+
Allow CHAP
|
49
|
+
"""
|
50
|
+
return pulumi.get(self, "allow_chap")
|
51
|
+
|
52
|
+
@property
|
53
|
+
@pulumi.getter(name="allowMsChapV1")
|
54
|
+
def allow_ms_chap_v1(self) -> bool:
|
55
|
+
"""
|
56
|
+
Allow MS CHAP v1
|
57
|
+
"""
|
58
|
+
return pulumi.get(self, "allow_ms_chap_v1")
|
59
|
+
|
60
|
+
@property
|
61
|
+
@pulumi.getter(name="allowPapAscii")
|
62
|
+
def allow_pap_ascii(self) -> bool:
|
63
|
+
"""
|
64
|
+
Allow PAP ASCII
|
65
|
+
"""
|
66
|
+
return pulumi.get(self, "allow_pap_ascii")
|
67
|
+
|
68
|
+
@property
|
69
|
+
@pulumi.getter
|
70
|
+
def description(self) -> str:
|
71
|
+
"""
|
72
|
+
Description
|
73
|
+
"""
|
74
|
+
return pulumi.get(self, "description")
|
75
|
+
|
76
|
+
@property
|
77
|
+
@pulumi.getter
|
78
|
+
def id(self) -> str:
|
79
|
+
"""
|
80
|
+
The id of the object
|
81
|
+
"""
|
82
|
+
return pulumi.get(self, "id")
|
83
|
+
|
84
|
+
@property
|
85
|
+
@pulumi.getter
|
86
|
+
def name(self) -> str:
|
87
|
+
"""
|
88
|
+
The name of the allowed protocols
|
89
|
+
"""
|
90
|
+
return pulumi.get(self, "name")
|
91
|
+
|
92
|
+
|
93
|
+
class AwaitableGetAllowedProtocolsTacacsResult(GetAllowedProtocolsTacacsResult):
|
94
|
+
# pylint: disable=using-constant-test
|
95
|
+
def __await__(self):
|
96
|
+
if False:
|
97
|
+
yield self
|
98
|
+
return GetAllowedProtocolsTacacsResult(
|
99
|
+
allow_chap=self.allow_chap,
|
100
|
+
allow_ms_chap_v1=self.allow_ms_chap_v1,
|
101
|
+
allow_pap_ascii=self.allow_pap_ascii,
|
102
|
+
description=self.description,
|
103
|
+
id=self.id,
|
104
|
+
name=self.name)
|
105
|
+
|
106
|
+
|
107
|
+
def get_allowed_protocols_tacacs(id: Optional[str] = None,
|
108
|
+
name: Optional[str] = None,
|
109
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAllowedProtocolsTacacsResult:
|
110
|
+
"""
|
111
|
+
This data source can read a TACACS allowed protocols policy element.
|
112
|
+
|
113
|
+
## Example Usage
|
114
|
+
|
115
|
+
```python
|
116
|
+
import pulumi
|
117
|
+
import pulumi_ise as ise
|
118
|
+
|
119
|
+
example = ise.deviceadmin.get_allowed_protocols_tacacs(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
|
120
|
+
```
|
121
|
+
|
122
|
+
|
123
|
+
:param str id: The id of the object
|
124
|
+
:param str name: The name of the allowed protocols
|
125
|
+
"""
|
126
|
+
__args__ = dict()
|
127
|
+
__args__['id'] = id
|
128
|
+
__args__['name'] = name
|
129
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
130
|
+
__ret__ = pulumi.runtime.invoke('ise:deviceadmin/getAllowedProtocolsTacacs:getAllowedProtocolsTacacs', __args__, opts=opts, typ=GetAllowedProtocolsTacacsResult).value
|
131
|
+
|
132
|
+
return AwaitableGetAllowedProtocolsTacacsResult(
|
133
|
+
allow_chap=pulumi.get(__ret__, 'allow_chap'),
|
134
|
+
allow_ms_chap_v1=pulumi.get(__ret__, 'allow_ms_chap_v1'),
|
135
|
+
allow_pap_ascii=pulumi.get(__ret__, 'allow_pap_ascii'),
|
136
|
+
description=pulumi.get(__ret__, 'description'),
|
137
|
+
id=pulumi.get(__ret__, 'id'),
|
138
|
+
name=pulumi.get(__ret__, 'name'))
|
139
|
+
|
140
|
+
|
141
|
+
@_utilities.lift_output_func(get_allowed_protocols_tacacs)
|
142
|
+
def get_allowed_protocols_tacacs_output(id: Optional[pulumi.Input[Optional[str]]] = None,
|
143
|
+
name: Optional[pulumi.Input[Optional[str]]] = None,
|
144
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAllowedProtocolsTacacsResult]:
|
145
|
+
"""
|
146
|
+
This data source can read a TACACS allowed protocols policy element.
|
147
|
+
|
148
|
+
## Example Usage
|
149
|
+
|
150
|
+
```python
|
151
|
+
import pulumi
|
152
|
+
import pulumi_ise as ise
|
153
|
+
|
154
|
+
example = ise.deviceadmin.get_allowed_protocols_tacacs(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
|
155
|
+
```
|
156
|
+
|
157
|
+
|
158
|
+
:param str id: The id of the object
|
159
|
+
:param str name: The name of the allowed protocols
|
160
|
+
"""
|
161
|
+
...
|
@@ -0,0 +1,338 @@
|
|
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 pulumi
|
8
|
+
import pulumi.runtime
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
+
from .. import _utilities
|
11
|
+
from . import outputs
|
12
|
+
|
13
|
+
__all__ = [
|
14
|
+
'GetAuthenticationRuleResult',
|
15
|
+
'AwaitableGetAuthenticationRuleResult',
|
16
|
+
'get_authentication_rule',
|
17
|
+
'get_authentication_rule_output',
|
18
|
+
]
|
19
|
+
|
20
|
+
@pulumi.output_type
|
21
|
+
class GetAuthenticationRuleResult:
|
22
|
+
"""
|
23
|
+
A collection of values returned by getAuthenticationRule.
|
24
|
+
"""
|
25
|
+
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, identity_source_name=None, if_auth_fail=None, if_process_fail=None, if_user_not_found=None, name=None, policy_set_id=None, rank=None, state=None):
|
26
|
+
if childrens and not isinstance(childrens, list):
|
27
|
+
raise TypeError("Expected argument 'childrens' to be a list")
|
28
|
+
pulumi.set(__self__, "childrens", childrens)
|
29
|
+
if condition_attribute_name and not isinstance(condition_attribute_name, str):
|
30
|
+
raise TypeError("Expected argument 'condition_attribute_name' to be a str")
|
31
|
+
pulumi.set(__self__, "condition_attribute_name", condition_attribute_name)
|
32
|
+
if condition_attribute_value and not isinstance(condition_attribute_value, str):
|
33
|
+
raise TypeError("Expected argument 'condition_attribute_value' to be a str")
|
34
|
+
pulumi.set(__self__, "condition_attribute_value", condition_attribute_value)
|
35
|
+
if condition_dictionary_name and not isinstance(condition_dictionary_name, str):
|
36
|
+
raise TypeError("Expected argument 'condition_dictionary_name' to be a str")
|
37
|
+
pulumi.set(__self__, "condition_dictionary_name", condition_dictionary_name)
|
38
|
+
if condition_dictionary_value and not isinstance(condition_dictionary_value, str):
|
39
|
+
raise TypeError("Expected argument 'condition_dictionary_value' to be a str")
|
40
|
+
pulumi.set(__self__, "condition_dictionary_value", condition_dictionary_value)
|
41
|
+
if condition_id and not isinstance(condition_id, str):
|
42
|
+
raise TypeError("Expected argument 'condition_id' to be a str")
|
43
|
+
pulumi.set(__self__, "condition_id", condition_id)
|
44
|
+
if condition_is_negate and not isinstance(condition_is_negate, bool):
|
45
|
+
raise TypeError("Expected argument 'condition_is_negate' to be a bool")
|
46
|
+
pulumi.set(__self__, "condition_is_negate", condition_is_negate)
|
47
|
+
if condition_operator and not isinstance(condition_operator, str):
|
48
|
+
raise TypeError("Expected argument 'condition_operator' to be a str")
|
49
|
+
pulumi.set(__self__, "condition_operator", condition_operator)
|
50
|
+
if condition_type and not isinstance(condition_type, str):
|
51
|
+
raise TypeError("Expected argument 'condition_type' to be a str")
|
52
|
+
pulumi.set(__self__, "condition_type", condition_type)
|
53
|
+
if default and not isinstance(default, bool):
|
54
|
+
raise TypeError("Expected argument 'default' to be a bool")
|
55
|
+
pulumi.set(__self__, "default", default)
|
56
|
+
if id and not isinstance(id, str):
|
57
|
+
raise TypeError("Expected argument 'id' to be a str")
|
58
|
+
pulumi.set(__self__, "id", id)
|
59
|
+
if identity_source_name and not isinstance(identity_source_name, str):
|
60
|
+
raise TypeError("Expected argument 'identity_source_name' to be a str")
|
61
|
+
pulumi.set(__self__, "identity_source_name", identity_source_name)
|
62
|
+
if if_auth_fail and not isinstance(if_auth_fail, str):
|
63
|
+
raise TypeError("Expected argument 'if_auth_fail' to be a str")
|
64
|
+
pulumi.set(__self__, "if_auth_fail", if_auth_fail)
|
65
|
+
if if_process_fail and not isinstance(if_process_fail, str):
|
66
|
+
raise TypeError("Expected argument 'if_process_fail' to be a str")
|
67
|
+
pulumi.set(__self__, "if_process_fail", if_process_fail)
|
68
|
+
if if_user_not_found and not isinstance(if_user_not_found, str):
|
69
|
+
raise TypeError("Expected argument 'if_user_not_found' to be a str")
|
70
|
+
pulumi.set(__self__, "if_user_not_found", if_user_not_found)
|
71
|
+
if name and not isinstance(name, str):
|
72
|
+
raise TypeError("Expected argument 'name' to be a str")
|
73
|
+
pulumi.set(__self__, "name", name)
|
74
|
+
if policy_set_id and not isinstance(policy_set_id, str):
|
75
|
+
raise TypeError("Expected argument 'policy_set_id' to be a str")
|
76
|
+
pulumi.set(__self__, "policy_set_id", policy_set_id)
|
77
|
+
if rank and not isinstance(rank, int):
|
78
|
+
raise TypeError("Expected argument 'rank' to be a int")
|
79
|
+
pulumi.set(__self__, "rank", rank)
|
80
|
+
if state and not isinstance(state, str):
|
81
|
+
raise TypeError("Expected argument 'state' to be a str")
|
82
|
+
pulumi.set(__self__, "state", state)
|
83
|
+
|
84
|
+
@property
|
85
|
+
@pulumi.getter
|
86
|
+
def childrens(self) -> Sequence['outputs.GetAuthenticationRuleChildrenResult']:
|
87
|
+
"""
|
88
|
+
List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`.
|
89
|
+
"""
|
90
|
+
return pulumi.get(self, "childrens")
|
91
|
+
|
92
|
+
@property
|
93
|
+
@pulumi.getter(name="conditionAttributeName")
|
94
|
+
def condition_attribute_name(self) -> str:
|
95
|
+
"""
|
96
|
+
Dictionary attribute name
|
97
|
+
"""
|
98
|
+
return pulumi.get(self, "condition_attribute_name")
|
99
|
+
|
100
|
+
@property
|
101
|
+
@pulumi.getter(name="conditionAttributeValue")
|
102
|
+
def condition_attribute_value(self) -> str:
|
103
|
+
"""
|
104
|
+
Attribute value for condition. Value type is specified in dictionary object.
|
105
|
+
"""
|
106
|
+
return pulumi.get(self, "condition_attribute_value")
|
107
|
+
|
108
|
+
@property
|
109
|
+
@pulumi.getter(name="conditionDictionaryName")
|
110
|
+
def condition_dictionary_name(self) -> str:
|
111
|
+
"""
|
112
|
+
Dictionary name
|
113
|
+
"""
|
114
|
+
return pulumi.get(self, "condition_dictionary_name")
|
115
|
+
|
116
|
+
@property
|
117
|
+
@pulumi.getter(name="conditionDictionaryValue")
|
118
|
+
def condition_dictionary_value(self) -> str:
|
119
|
+
"""
|
120
|
+
Dictionary value
|
121
|
+
"""
|
122
|
+
return pulumi.get(self, "condition_dictionary_value")
|
123
|
+
|
124
|
+
@property
|
125
|
+
@pulumi.getter(name="conditionId")
|
126
|
+
def condition_id(self) -> str:
|
127
|
+
"""
|
128
|
+
UUID for condition
|
129
|
+
"""
|
130
|
+
return pulumi.get(self, "condition_id")
|
131
|
+
|
132
|
+
@property
|
133
|
+
@pulumi.getter(name="conditionIsNegate")
|
134
|
+
def condition_is_negate(self) -> bool:
|
135
|
+
"""
|
136
|
+
Indicates whereas this condition is in negate mode
|
137
|
+
"""
|
138
|
+
return pulumi.get(self, "condition_is_negate")
|
139
|
+
|
140
|
+
@property
|
141
|
+
@pulumi.getter(name="conditionOperator")
|
142
|
+
def condition_operator(self) -> str:
|
143
|
+
"""
|
144
|
+
Equality operator
|
145
|
+
"""
|
146
|
+
return pulumi.get(self, "condition_operator")
|
147
|
+
|
148
|
+
@property
|
149
|
+
@pulumi.getter(name="conditionType")
|
150
|
+
def condition_type(self) -> str:
|
151
|
+
"""
|
152
|
+
Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute.
|
153
|
+
"""
|
154
|
+
return pulumi.get(self, "condition_type")
|
155
|
+
|
156
|
+
@property
|
157
|
+
@pulumi.getter
|
158
|
+
def default(self) -> bool:
|
159
|
+
"""
|
160
|
+
Indicates if this rule is the default one
|
161
|
+
"""
|
162
|
+
return pulumi.get(self, "default")
|
163
|
+
|
164
|
+
@property
|
165
|
+
@pulumi.getter
|
166
|
+
def id(self) -> str:
|
167
|
+
"""
|
168
|
+
The id of the object
|
169
|
+
"""
|
170
|
+
return pulumi.get(self, "id")
|
171
|
+
|
172
|
+
@property
|
173
|
+
@pulumi.getter(name="identitySourceName")
|
174
|
+
def identity_source_name(self) -> str:
|
175
|
+
"""
|
176
|
+
Identity source name from the identity stores
|
177
|
+
"""
|
178
|
+
return pulumi.get(self, "identity_source_name")
|
179
|
+
|
180
|
+
@property
|
181
|
+
@pulumi.getter(name="ifAuthFail")
|
182
|
+
def if_auth_fail(self) -> str:
|
183
|
+
"""
|
184
|
+
Action to perform when authentication fails such as Bad credentials, disabled user and so on
|
185
|
+
"""
|
186
|
+
return pulumi.get(self, "if_auth_fail")
|
187
|
+
|
188
|
+
@property
|
189
|
+
@pulumi.getter(name="ifProcessFail")
|
190
|
+
def if_process_fail(self) -> str:
|
191
|
+
"""
|
192
|
+
Action to perform when ISE is unable to access the identity database
|
193
|
+
"""
|
194
|
+
return pulumi.get(self, "if_process_fail")
|
195
|
+
|
196
|
+
@property
|
197
|
+
@pulumi.getter(name="ifUserNotFound")
|
198
|
+
def if_user_not_found(self) -> str:
|
199
|
+
"""
|
200
|
+
Action to perform when user is not found in any of identity stores
|
201
|
+
"""
|
202
|
+
return pulumi.get(self, "if_user_not_found")
|
203
|
+
|
204
|
+
@property
|
205
|
+
@pulumi.getter
|
206
|
+
def name(self) -> str:
|
207
|
+
"""
|
208
|
+
Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
|
209
|
+
"""
|
210
|
+
return pulumi.get(self, "name")
|
211
|
+
|
212
|
+
@property
|
213
|
+
@pulumi.getter(name="policySetId")
|
214
|
+
def policy_set_id(self) -> str:
|
215
|
+
"""
|
216
|
+
Policy set ID
|
217
|
+
"""
|
218
|
+
return pulumi.get(self, "policy_set_id")
|
219
|
+
|
220
|
+
@property
|
221
|
+
@pulumi.getter
|
222
|
+
def rank(self) -> int:
|
223
|
+
"""
|
224
|
+
The rank (priority) in relation to other rules. Lower rank is higher priority.
|
225
|
+
"""
|
226
|
+
return pulumi.get(self, "rank")
|
227
|
+
|
228
|
+
@property
|
229
|
+
@pulumi.getter
|
230
|
+
def state(self) -> str:
|
231
|
+
"""
|
232
|
+
The state that the rule is in. A disabled rule cannot be matched.
|
233
|
+
"""
|
234
|
+
return pulumi.get(self, "state")
|
235
|
+
|
236
|
+
|
237
|
+
class AwaitableGetAuthenticationRuleResult(GetAuthenticationRuleResult):
|
238
|
+
# pylint: disable=using-constant-test
|
239
|
+
def __await__(self):
|
240
|
+
if False:
|
241
|
+
yield self
|
242
|
+
return GetAuthenticationRuleResult(
|
243
|
+
childrens=self.childrens,
|
244
|
+
condition_attribute_name=self.condition_attribute_name,
|
245
|
+
condition_attribute_value=self.condition_attribute_value,
|
246
|
+
condition_dictionary_name=self.condition_dictionary_name,
|
247
|
+
condition_dictionary_value=self.condition_dictionary_value,
|
248
|
+
condition_id=self.condition_id,
|
249
|
+
condition_is_negate=self.condition_is_negate,
|
250
|
+
condition_operator=self.condition_operator,
|
251
|
+
condition_type=self.condition_type,
|
252
|
+
default=self.default,
|
253
|
+
id=self.id,
|
254
|
+
identity_source_name=self.identity_source_name,
|
255
|
+
if_auth_fail=self.if_auth_fail,
|
256
|
+
if_process_fail=self.if_process_fail,
|
257
|
+
if_user_not_found=self.if_user_not_found,
|
258
|
+
name=self.name,
|
259
|
+
policy_set_id=self.policy_set_id,
|
260
|
+
rank=self.rank,
|
261
|
+
state=self.state)
|
262
|
+
|
263
|
+
|
264
|
+
def get_authentication_rule(id: Optional[str] = None,
|
265
|
+
name: Optional[str] = None,
|
266
|
+
policy_set_id: Optional[str] = None,
|
267
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAuthenticationRuleResult:
|
268
|
+
"""
|
269
|
+
This data source can read the Device Admin Authentication Rule.
|
270
|
+
|
271
|
+
## Example Usage
|
272
|
+
|
273
|
+
```python
|
274
|
+
import pulumi
|
275
|
+
import pulumi_ise as ise
|
276
|
+
|
277
|
+
example = ise.deviceadmin.get_authentication_rule(id="76d24097-41c4-4558-a4d0-a8c07ac08470",
|
278
|
+
policy_set_id="d82952cb-b901-4b09-b363-5ebf39bdbaf9")
|
279
|
+
```
|
280
|
+
|
281
|
+
|
282
|
+
:param str id: The id of the object
|
283
|
+
:param str name: Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
|
284
|
+
:param str policy_set_id: Policy set ID
|
285
|
+
"""
|
286
|
+
__args__ = dict()
|
287
|
+
__args__['id'] = id
|
288
|
+
__args__['name'] = name
|
289
|
+
__args__['policySetId'] = policy_set_id
|
290
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
291
|
+
__ret__ = pulumi.runtime.invoke('ise:deviceadmin/getAuthenticationRule:getAuthenticationRule', __args__, opts=opts, typ=GetAuthenticationRuleResult).value
|
292
|
+
|
293
|
+
return AwaitableGetAuthenticationRuleResult(
|
294
|
+
childrens=pulumi.get(__ret__, 'childrens'),
|
295
|
+
condition_attribute_name=pulumi.get(__ret__, 'condition_attribute_name'),
|
296
|
+
condition_attribute_value=pulumi.get(__ret__, 'condition_attribute_value'),
|
297
|
+
condition_dictionary_name=pulumi.get(__ret__, 'condition_dictionary_name'),
|
298
|
+
condition_dictionary_value=pulumi.get(__ret__, 'condition_dictionary_value'),
|
299
|
+
condition_id=pulumi.get(__ret__, 'condition_id'),
|
300
|
+
condition_is_negate=pulumi.get(__ret__, 'condition_is_negate'),
|
301
|
+
condition_operator=pulumi.get(__ret__, 'condition_operator'),
|
302
|
+
condition_type=pulumi.get(__ret__, 'condition_type'),
|
303
|
+
default=pulumi.get(__ret__, 'default'),
|
304
|
+
id=pulumi.get(__ret__, 'id'),
|
305
|
+
identity_source_name=pulumi.get(__ret__, 'identity_source_name'),
|
306
|
+
if_auth_fail=pulumi.get(__ret__, 'if_auth_fail'),
|
307
|
+
if_process_fail=pulumi.get(__ret__, 'if_process_fail'),
|
308
|
+
if_user_not_found=pulumi.get(__ret__, 'if_user_not_found'),
|
309
|
+
name=pulumi.get(__ret__, 'name'),
|
310
|
+
policy_set_id=pulumi.get(__ret__, 'policy_set_id'),
|
311
|
+
rank=pulumi.get(__ret__, 'rank'),
|
312
|
+
state=pulumi.get(__ret__, 'state'))
|
313
|
+
|
314
|
+
|
315
|
+
@_utilities.lift_output_func(get_authentication_rule)
|
316
|
+
def get_authentication_rule_output(id: Optional[pulumi.Input[Optional[str]]] = None,
|
317
|
+
name: Optional[pulumi.Input[Optional[str]]] = None,
|
318
|
+
policy_set_id: Optional[pulumi.Input[str]] = None,
|
319
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAuthenticationRuleResult]:
|
320
|
+
"""
|
321
|
+
This data source can read the Device Admin Authentication Rule.
|
322
|
+
|
323
|
+
## Example Usage
|
324
|
+
|
325
|
+
```python
|
326
|
+
import pulumi
|
327
|
+
import pulumi_ise as ise
|
328
|
+
|
329
|
+
example = ise.deviceadmin.get_authentication_rule(id="76d24097-41c4-4558-a4d0-a8c07ac08470",
|
330
|
+
policy_set_id="d82952cb-b901-4b09-b363-5ebf39bdbaf9")
|
331
|
+
```
|
332
|
+
|
333
|
+
|
334
|
+
:param str id: The id of the object
|
335
|
+
:param str name: Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
|
336
|
+
:param str policy_set_id: Policy set ID
|
337
|
+
"""
|
338
|
+
...
|