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,650 @@
|
|
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
|
+
from ._inputs import *
|
18
|
+
|
19
|
+
__all__ = ['ConditionArgs', 'Condition']
|
20
|
+
|
21
|
+
@pulumi.input_type
|
22
|
+
class ConditionArgs:
|
23
|
+
def __init__(__self__, *,
|
24
|
+
condition_type: pulumi.Input[str],
|
25
|
+
attribute_name: Optional[pulumi.Input[str]] = None,
|
26
|
+
attribute_value: Optional[pulumi.Input[str]] = None,
|
27
|
+
childrens: Optional[pulumi.Input[Sequence[pulumi.Input['ConditionChildrenArgs']]]] = None,
|
28
|
+
description: Optional[pulumi.Input[str]] = None,
|
29
|
+
dictionary_name: Optional[pulumi.Input[str]] = None,
|
30
|
+
dictionary_value: Optional[pulumi.Input[str]] = None,
|
31
|
+
is_negate: Optional[pulumi.Input[bool]] = None,
|
32
|
+
name: Optional[pulumi.Input[str]] = None,
|
33
|
+
operator: Optional[pulumi.Input[str]] = None):
|
34
|
+
"""
|
35
|
+
The set of arguments for constructing a Condition resource.
|
36
|
+
:param pulumi.Input[str] condition_type: Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that
|
37
|
+
additional conditions are present under the children attribute. - Choices: `LibraryConditionAndBlock`,
|
38
|
+
`LibraryConditionAttributes`, `LibraryConditionOrBlock`
|
39
|
+
:param pulumi.Input[str] attribute_name: Dictionary attribute name
|
40
|
+
:param pulumi.Input[str] attribute_value: Attribute value for condition. Value type is specified in dictionary object.
|
41
|
+
:param pulumi.Input[Sequence[pulumi.Input['ConditionChildrenArgs']]] childrens: List of child conditions. `condition_type` must be one of `LibraryConditionAndBlock` or `LibraryConditionOrBlock`.
|
42
|
+
:param pulumi.Input[str] description: Condition description
|
43
|
+
:param pulumi.Input[str] dictionary_name: Dictionary name
|
44
|
+
:param pulumi.Input[str] dictionary_value: Dictionary value
|
45
|
+
:param pulumi.Input[bool] is_negate: Indicates whereas this condition is in negate mode
|
46
|
+
:param pulumi.Input[str] name: Condition name
|
47
|
+
:param pulumi.Input[str] operator: Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`,
|
48
|
+
`ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`,
|
49
|
+
`notEquals`, `notIn`, `notStartsWith`, `startsWith`
|
50
|
+
"""
|
51
|
+
pulumi.set(__self__, "condition_type", condition_type)
|
52
|
+
if attribute_name is not None:
|
53
|
+
pulumi.set(__self__, "attribute_name", attribute_name)
|
54
|
+
if attribute_value is not None:
|
55
|
+
pulumi.set(__self__, "attribute_value", attribute_value)
|
56
|
+
if childrens is not None:
|
57
|
+
pulumi.set(__self__, "childrens", childrens)
|
58
|
+
if description is not None:
|
59
|
+
pulumi.set(__self__, "description", description)
|
60
|
+
if dictionary_name is not None:
|
61
|
+
pulumi.set(__self__, "dictionary_name", dictionary_name)
|
62
|
+
if dictionary_value is not None:
|
63
|
+
pulumi.set(__self__, "dictionary_value", dictionary_value)
|
64
|
+
if is_negate is not None:
|
65
|
+
pulumi.set(__self__, "is_negate", is_negate)
|
66
|
+
if name is not None:
|
67
|
+
pulumi.set(__self__, "name", name)
|
68
|
+
if operator is not None:
|
69
|
+
pulumi.set(__self__, "operator", operator)
|
70
|
+
|
71
|
+
@property
|
72
|
+
@pulumi.getter(name="conditionType")
|
73
|
+
def condition_type(self) -> pulumi.Input[str]:
|
74
|
+
"""
|
75
|
+
Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that
|
76
|
+
additional conditions are present under the children attribute. - Choices: `LibraryConditionAndBlock`,
|
77
|
+
`LibraryConditionAttributes`, `LibraryConditionOrBlock`
|
78
|
+
"""
|
79
|
+
return pulumi.get(self, "condition_type")
|
80
|
+
|
81
|
+
@condition_type.setter
|
82
|
+
def condition_type(self, value: pulumi.Input[str]):
|
83
|
+
pulumi.set(self, "condition_type", value)
|
84
|
+
|
85
|
+
@property
|
86
|
+
@pulumi.getter(name="attributeName")
|
87
|
+
def attribute_name(self) -> Optional[pulumi.Input[str]]:
|
88
|
+
"""
|
89
|
+
Dictionary attribute name
|
90
|
+
"""
|
91
|
+
return pulumi.get(self, "attribute_name")
|
92
|
+
|
93
|
+
@attribute_name.setter
|
94
|
+
def attribute_name(self, value: Optional[pulumi.Input[str]]):
|
95
|
+
pulumi.set(self, "attribute_name", value)
|
96
|
+
|
97
|
+
@property
|
98
|
+
@pulumi.getter(name="attributeValue")
|
99
|
+
def attribute_value(self) -> Optional[pulumi.Input[str]]:
|
100
|
+
"""
|
101
|
+
Attribute value for condition. Value type is specified in dictionary object.
|
102
|
+
"""
|
103
|
+
return pulumi.get(self, "attribute_value")
|
104
|
+
|
105
|
+
@attribute_value.setter
|
106
|
+
def attribute_value(self, value: Optional[pulumi.Input[str]]):
|
107
|
+
pulumi.set(self, "attribute_value", value)
|
108
|
+
|
109
|
+
@property
|
110
|
+
@pulumi.getter
|
111
|
+
def childrens(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ConditionChildrenArgs']]]]:
|
112
|
+
"""
|
113
|
+
List of child conditions. `condition_type` must be one of `LibraryConditionAndBlock` or `LibraryConditionOrBlock`.
|
114
|
+
"""
|
115
|
+
return pulumi.get(self, "childrens")
|
116
|
+
|
117
|
+
@childrens.setter
|
118
|
+
def childrens(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ConditionChildrenArgs']]]]):
|
119
|
+
pulumi.set(self, "childrens", value)
|
120
|
+
|
121
|
+
@property
|
122
|
+
@pulumi.getter
|
123
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
124
|
+
"""
|
125
|
+
Condition description
|
126
|
+
"""
|
127
|
+
return pulumi.get(self, "description")
|
128
|
+
|
129
|
+
@description.setter
|
130
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
131
|
+
pulumi.set(self, "description", value)
|
132
|
+
|
133
|
+
@property
|
134
|
+
@pulumi.getter(name="dictionaryName")
|
135
|
+
def dictionary_name(self) -> Optional[pulumi.Input[str]]:
|
136
|
+
"""
|
137
|
+
Dictionary name
|
138
|
+
"""
|
139
|
+
return pulumi.get(self, "dictionary_name")
|
140
|
+
|
141
|
+
@dictionary_name.setter
|
142
|
+
def dictionary_name(self, value: Optional[pulumi.Input[str]]):
|
143
|
+
pulumi.set(self, "dictionary_name", value)
|
144
|
+
|
145
|
+
@property
|
146
|
+
@pulumi.getter(name="dictionaryValue")
|
147
|
+
def dictionary_value(self) -> Optional[pulumi.Input[str]]:
|
148
|
+
"""
|
149
|
+
Dictionary value
|
150
|
+
"""
|
151
|
+
return pulumi.get(self, "dictionary_value")
|
152
|
+
|
153
|
+
@dictionary_value.setter
|
154
|
+
def dictionary_value(self, value: Optional[pulumi.Input[str]]):
|
155
|
+
pulumi.set(self, "dictionary_value", value)
|
156
|
+
|
157
|
+
@property
|
158
|
+
@pulumi.getter(name="isNegate")
|
159
|
+
def is_negate(self) -> Optional[pulumi.Input[bool]]:
|
160
|
+
"""
|
161
|
+
Indicates whereas this condition is in negate mode
|
162
|
+
"""
|
163
|
+
return pulumi.get(self, "is_negate")
|
164
|
+
|
165
|
+
@is_negate.setter
|
166
|
+
def is_negate(self, value: Optional[pulumi.Input[bool]]):
|
167
|
+
pulumi.set(self, "is_negate", value)
|
168
|
+
|
169
|
+
@property
|
170
|
+
@pulumi.getter
|
171
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
172
|
+
"""
|
173
|
+
Condition name
|
174
|
+
"""
|
175
|
+
return pulumi.get(self, "name")
|
176
|
+
|
177
|
+
@name.setter
|
178
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
179
|
+
pulumi.set(self, "name", value)
|
180
|
+
|
181
|
+
@property
|
182
|
+
@pulumi.getter
|
183
|
+
def operator(self) -> Optional[pulumi.Input[str]]:
|
184
|
+
"""
|
185
|
+
Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`,
|
186
|
+
`ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`,
|
187
|
+
`notEquals`, `notIn`, `notStartsWith`, `startsWith`
|
188
|
+
"""
|
189
|
+
return pulumi.get(self, "operator")
|
190
|
+
|
191
|
+
@operator.setter
|
192
|
+
def operator(self, value: Optional[pulumi.Input[str]]):
|
193
|
+
pulumi.set(self, "operator", value)
|
194
|
+
|
195
|
+
|
196
|
+
@pulumi.input_type
|
197
|
+
class _ConditionState:
|
198
|
+
def __init__(__self__, *,
|
199
|
+
attribute_name: Optional[pulumi.Input[str]] = None,
|
200
|
+
attribute_value: Optional[pulumi.Input[str]] = None,
|
201
|
+
childrens: Optional[pulumi.Input[Sequence[pulumi.Input['ConditionChildrenArgs']]]] = None,
|
202
|
+
condition_type: Optional[pulumi.Input[str]] = None,
|
203
|
+
description: Optional[pulumi.Input[str]] = None,
|
204
|
+
dictionary_name: Optional[pulumi.Input[str]] = None,
|
205
|
+
dictionary_value: Optional[pulumi.Input[str]] = None,
|
206
|
+
is_negate: Optional[pulumi.Input[bool]] = None,
|
207
|
+
name: Optional[pulumi.Input[str]] = None,
|
208
|
+
operator: Optional[pulumi.Input[str]] = None):
|
209
|
+
"""
|
210
|
+
Input properties used for looking up and filtering Condition resources.
|
211
|
+
:param pulumi.Input[str] attribute_name: Dictionary attribute name
|
212
|
+
:param pulumi.Input[str] attribute_value: Attribute value for condition. Value type is specified in dictionary object.
|
213
|
+
:param pulumi.Input[Sequence[pulumi.Input['ConditionChildrenArgs']]] childrens: List of child conditions. `condition_type` must be one of `LibraryConditionAndBlock` or `LibraryConditionOrBlock`.
|
214
|
+
:param pulumi.Input[str] condition_type: Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that
|
215
|
+
additional conditions are present under the children attribute. - Choices: `LibraryConditionAndBlock`,
|
216
|
+
`LibraryConditionAttributes`, `LibraryConditionOrBlock`
|
217
|
+
:param pulumi.Input[str] description: Condition description
|
218
|
+
:param pulumi.Input[str] dictionary_name: Dictionary name
|
219
|
+
:param pulumi.Input[str] dictionary_value: Dictionary value
|
220
|
+
:param pulumi.Input[bool] is_negate: Indicates whereas this condition is in negate mode
|
221
|
+
:param pulumi.Input[str] name: Condition name
|
222
|
+
:param pulumi.Input[str] operator: Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`,
|
223
|
+
`ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`,
|
224
|
+
`notEquals`, `notIn`, `notStartsWith`, `startsWith`
|
225
|
+
"""
|
226
|
+
if attribute_name is not None:
|
227
|
+
pulumi.set(__self__, "attribute_name", attribute_name)
|
228
|
+
if attribute_value is not None:
|
229
|
+
pulumi.set(__self__, "attribute_value", attribute_value)
|
230
|
+
if childrens is not None:
|
231
|
+
pulumi.set(__self__, "childrens", childrens)
|
232
|
+
if condition_type is not None:
|
233
|
+
pulumi.set(__self__, "condition_type", condition_type)
|
234
|
+
if description is not None:
|
235
|
+
pulumi.set(__self__, "description", description)
|
236
|
+
if dictionary_name is not None:
|
237
|
+
pulumi.set(__self__, "dictionary_name", dictionary_name)
|
238
|
+
if dictionary_value is not None:
|
239
|
+
pulumi.set(__self__, "dictionary_value", dictionary_value)
|
240
|
+
if is_negate is not None:
|
241
|
+
pulumi.set(__self__, "is_negate", is_negate)
|
242
|
+
if name is not None:
|
243
|
+
pulumi.set(__self__, "name", name)
|
244
|
+
if operator is not None:
|
245
|
+
pulumi.set(__self__, "operator", operator)
|
246
|
+
|
247
|
+
@property
|
248
|
+
@pulumi.getter(name="attributeName")
|
249
|
+
def attribute_name(self) -> Optional[pulumi.Input[str]]:
|
250
|
+
"""
|
251
|
+
Dictionary attribute name
|
252
|
+
"""
|
253
|
+
return pulumi.get(self, "attribute_name")
|
254
|
+
|
255
|
+
@attribute_name.setter
|
256
|
+
def attribute_name(self, value: Optional[pulumi.Input[str]]):
|
257
|
+
pulumi.set(self, "attribute_name", value)
|
258
|
+
|
259
|
+
@property
|
260
|
+
@pulumi.getter(name="attributeValue")
|
261
|
+
def attribute_value(self) -> Optional[pulumi.Input[str]]:
|
262
|
+
"""
|
263
|
+
Attribute value for condition. Value type is specified in dictionary object.
|
264
|
+
"""
|
265
|
+
return pulumi.get(self, "attribute_value")
|
266
|
+
|
267
|
+
@attribute_value.setter
|
268
|
+
def attribute_value(self, value: Optional[pulumi.Input[str]]):
|
269
|
+
pulumi.set(self, "attribute_value", value)
|
270
|
+
|
271
|
+
@property
|
272
|
+
@pulumi.getter
|
273
|
+
def childrens(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ConditionChildrenArgs']]]]:
|
274
|
+
"""
|
275
|
+
List of child conditions. `condition_type` must be one of `LibraryConditionAndBlock` or `LibraryConditionOrBlock`.
|
276
|
+
"""
|
277
|
+
return pulumi.get(self, "childrens")
|
278
|
+
|
279
|
+
@childrens.setter
|
280
|
+
def childrens(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ConditionChildrenArgs']]]]):
|
281
|
+
pulumi.set(self, "childrens", value)
|
282
|
+
|
283
|
+
@property
|
284
|
+
@pulumi.getter(name="conditionType")
|
285
|
+
def condition_type(self) -> Optional[pulumi.Input[str]]:
|
286
|
+
"""
|
287
|
+
Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that
|
288
|
+
additional conditions are present under the children attribute. - Choices: `LibraryConditionAndBlock`,
|
289
|
+
`LibraryConditionAttributes`, `LibraryConditionOrBlock`
|
290
|
+
"""
|
291
|
+
return pulumi.get(self, "condition_type")
|
292
|
+
|
293
|
+
@condition_type.setter
|
294
|
+
def condition_type(self, value: Optional[pulumi.Input[str]]):
|
295
|
+
pulumi.set(self, "condition_type", value)
|
296
|
+
|
297
|
+
@property
|
298
|
+
@pulumi.getter
|
299
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
300
|
+
"""
|
301
|
+
Condition description
|
302
|
+
"""
|
303
|
+
return pulumi.get(self, "description")
|
304
|
+
|
305
|
+
@description.setter
|
306
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
307
|
+
pulumi.set(self, "description", value)
|
308
|
+
|
309
|
+
@property
|
310
|
+
@pulumi.getter(name="dictionaryName")
|
311
|
+
def dictionary_name(self) -> Optional[pulumi.Input[str]]:
|
312
|
+
"""
|
313
|
+
Dictionary name
|
314
|
+
"""
|
315
|
+
return pulumi.get(self, "dictionary_name")
|
316
|
+
|
317
|
+
@dictionary_name.setter
|
318
|
+
def dictionary_name(self, value: Optional[pulumi.Input[str]]):
|
319
|
+
pulumi.set(self, "dictionary_name", value)
|
320
|
+
|
321
|
+
@property
|
322
|
+
@pulumi.getter(name="dictionaryValue")
|
323
|
+
def dictionary_value(self) -> Optional[pulumi.Input[str]]:
|
324
|
+
"""
|
325
|
+
Dictionary value
|
326
|
+
"""
|
327
|
+
return pulumi.get(self, "dictionary_value")
|
328
|
+
|
329
|
+
@dictionary_value.setter
|
330
|
+
def dictionary_value(self, value: Optional[pulumi.Input[str]]):
|
331
|
+
pulumi.set(self, "dictionary_value", value)
|
332
|
+
|
333
|
+
@property
|
334
|
+
@pulumi.getter(name="isNegate")
|
335
|
+
def is_negate(self) -> Optional[pulumi.Input[bool]]:
|
336
|
+
"""
|
337
|
+
Indicates whereas this condition is in negate mode
|
338
|
+
"""
|
339
|
+
return pulumi.get(self, "is_negate")
|
340
|
+
|
341
|
+
@is_negate.setter
|
342
|
+
def is_negate(self, value: Optional[pulumi.Input[bool]]):
|
343
|
+
pulumi.set(self, "is_negate", value)
|
344
|
+
|
345
|
+
@property
|
346
|
+
@pulumi.getter
|
347
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
348
|
+
"""
|
349
|
+
Condition name
|
350
|
+
"""
|
351
|
+
return pulumi.get(self, "name")
|
352
|
+
|
353
|
+
@name.setter
|
354
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
355
|
+
pulumi.set(self, "name", value)
|
356
|
+
|
357
|
+
@property
|
358
|
+
@pulumi.getter
|
359
|
+
def operator(self) -> Optional[pulumi.Input[str]]:
|
360
|
+
"""
|
361
|
+
Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`,
|
362
|
+
`ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`,
|
363
|
+
`notEquals`, `notIn`, `notStartsWith`, `startsWith`
|
364
|
+
"""
|
365
|
+
return pulumi.get(self, "operator")
|
366
|
+
|
367
|
+
@operator.setter
|
368
|
+
def operator(self, value: Optional[pulumi.Input[str]]):
|
369
|
+
pulumi.set(self, "operator", value)
|
370
|
+
|
371
|
+
|
372
|
+
class Condition(pulumi.CustomResource):
|
373
|
+
@overload
|
374
|
+
def __init__(__self__,
|
375
|
+
resource_name: str,
|
376
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
377
|
+
attribute_name: Optional[pulumi.Input[str]] = None,
|
378
|
+
attribute_value: Optional[pulumi.Input[str]] = None,
|
379
|
+
childrens: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ConditionChildrenArgs', 'ConditionChildrenArgsDict']]]]] = None,
|
380
|
+
condition_type: Optional[pulumi.Input[str]] = None,
|
381
|
+
description: Optional[pulumi.Input[str]] = None,
|
382
|
+
dictionary_name: Optional[pulumi.Input[str]] = None,
|
383
|
+
dictionary_value: Optional[pulumi.Input[str]] = None,
|
384
|
+
is_negate: Optional[pulumi.Input[bool]] = None,
|
385
|
+
name: Optional[pulumi.Input[str]] = None,
|
386
|
+
operator: Optional[pulumi.Input[str]] = None,
|
387
|
+
__props__=None):
|
388
|
+
"""
|
389
|
+
This resource can manage a Device Admin Condition.
|
390
|
+
|
391
|
+
## Example Usage
|
392
|
+
|
393
|
+
```python
|
394
|
+
import pulumi
|
395
|
+
import pulumi_ise as ise
|
396
|
+
|
397
|
+
example = ise.deviceadmin.Condition("example",
|
398
|
+
name="Cond1",
|
399
|
+
description="My description",
|
400
|
+
condition_type="LibraryConditionAttributes",
|
401
|
+
is_negate=False,
|
402
|
+
attribute_name="User",
|
403
|
+
attribute_value="User1",
|
404
|
+
dictionary_name="TACACS",
|
405
|
+
operator="equals")
|
406
|
+
```
|
407
|
+
|
408
|
+
## Import
|
409
|
+
|
410
|
+
```sh
|
411
|
+
$ pulumi import ise:deviceadmin/condition:Condition example "76d24097-41c4-4558-a4d0-a8c07ac08470"
|
412
|
+
```
|
413
|
+
|
414
|
+
:param str resource_name: The name of the resource.
|
415
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
416
|
+
:param pulumi.Input[str] attribute_name: Dictionary attribute name
|
417
|
+
:param pulumi.Input[str] attribute_value: Attribute value for condition. Value type is specified in dictionary object.
|
418
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ConditionChildrenArgs', 'ConditionChildrenArgsDict']]]] childrens: List of child conditions. `condition_type` must be one of `LibraryConditionAndBlock` or `LibraryConditionOrBlock`.
|
419
|
+
:param pulumi.Input[str] condition_type: Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that
|
420
|
+
additional conditions are present under the children attribute. - Choices: `LibraryConditionAndBlock`,
|
421
|
+
`LibraryConditionAttributes`, `LibraryConditionOrBlock`
|
422
|
+
:param pulumi.Input[str] description: Condition description
|
423
|
+
:param pulumi.Input[str] dictionary_name: Dictionary name
|
424
|
+
:param pulumi.Input[str] dictionary_value: Dictionary value
|
425
|
+
:param pulumi.Input[bool] is_negate: Indicates whereas this condition is in negate mode
|
426
|
+
:param pulumi.Input[str] name: Condition name
|
427
|
+
:param pulumi.Input[str] operator: Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`,
|
428
|
+
`ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`,
|
429
|
+
`notEquals`, `notIn`, `notStartsWith`, `startsWith`
|
430
|
+
"""
|
431
|
+
...
|
432
|
+
@overload
|
433
|
+
def __init__(__self__,
|
434
|
+
resource_name: str,
|
435
|
+
args: ConditionArgs,
|
436
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
437
|
+
"""
|
438
|
+
This resource can manage a Device Admin Condition.
|
439
|
+
|
440
|
+
## Example Usage
|
441
|
+
|
442
|
+
```python
|
443
|
+
import pulumi
|
444
|
+
import pulumi_ise as ise
|
445
|
+
|
446
|
+
example = ise.deviceadmin.Condition("example",
|
447
|
+
name="Cond1",
|
448
|
+
description="My description",
|
449
|
+
condition_type="LibraryConditionAttributes",
|
450
|
+
is_negate=False,
|
451
|
+
attribute_name="User",
|
452
|
+
attribute_value="User1",
|
453
|
+
dictionary_name="TACACS",
|
454
|
+
operator="equals")
|
455
|
+
```
|
456
|
+
|
457
|
+
## Import
|
458
|
+
|
459
|
+
```sh
|
460
|
+
$ pulumi import ise:deviceadmin/condition:Condition example "76d24097-41c4-4558-a4d0-a8c07ac08470"
|
461
|
+
```
|
462
|
+
|
463
|
+
:param str resource_name: The name of the resource.
|
464
|
+
:param ConditionArgs args: The arguments to use to populate this resource's properties.
|
465
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
466
|
+
"""
|
467
|
+
...
|
468
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
469
|
+
resource_args, opts = _utilities.get_resource_args_opts(ConditionArgs, pulumi.ResourceOptions, *args, **kwargs)
|
470
|
+
if resource_args is not None:
|
471
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
472
|
+
else:
|
473
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
474
|
+
|
475
|
+
def _internal_init(__self__,
|
476
|
+
resource_name: str,
|
477
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
478
|
+
attribute_name: Optional[pulumi.Input[str]] = None,
|
479
|
+
attribute_value: Optional[pulumi.Input[str]] = None,
|
480
|
+
childrens: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ConditionChildrenArgs', 'ConditionChildrenArgsDict']]]]] = None,
|
481
|
+
condition_type: Optional[pulumi.Input[str]] = None,
|
482
|
+
description: Optional[pulumi.Input[str]] = None,
|
483
|
+
dictionary_name: Optional[pulumi.Input[str]] = None,
|
484
|
+
dictionary_value: Optional[pulumi.Input[str]] = None,
|
485
|
+
is_negate: Optional[pulumi.Input[bool]] = None,
|
486
|
+
name: Optional[pulumi.Input[str]] = None,
|
487
|
+
operator: Optional[pulumi.Input[str]] = None,
|
488
|
+
__props__=None):
|
489
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
490
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
491
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
492
|
+
if opts.id is None:
|
493
|
+
if __props__ is not None:
|
494
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
495
|
+
__props__ = ConditionArgs.__new__(ConditionArgs)
|
496
|
+
|
497
|
+
__props__.__dict__["attribute_name"] = attribute_name
|
498
|
+
__props__.__dict__["attribute_value"] = attribute_value
|
499
|
+
__props__.__dict__["childrens"] = childrens
|
500
|
+
if condition_type is None and not opts.urn:
|
501
|
+
raise TypeError("Missing required property 'condition_type'")
|
502
|
+
__props__.__dict__["condition_type"] = condition_type
|
503
|
+
__props__.__dict__["description"] = description
|
504
|
+
__props__.__dict__["dictionary_name"] = dictionary_name
|
505
|
+
__props__.__dict__["dictionary_value"] = dictionary_value
|
506
|
+
__props__.__dict__["is_negate"] = is_negate
|
507
|
+
__props__.__dict__["name"] = name
|
508
|
+
__props__.__dict__["operator"] = operator
|
509
|
+
super(Condition, __self__).__init__(
|
510
|
+
'ise:deviceadmin/condition:Condition',
|
511
|
+
resource_name,
|
512
|
+
__props__,
|
513
|
+
opts)
|
514
|
+
|
515
|
+
@staticmethod
|
516
|
+
def get(resource_name: str,
|
517
|
+
id: pulumi.Input[str],
|
518
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
519
|
+
attribute_name: Optional[pulumi.Input[str]] = None,
|
520
|
+
attribute_value: Optional[pulumi.Input[str]] = None,
|
521
|
+
childrens: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ConditionChildrenArgs', 'ConditionChildrenArgsDict']]]]] = None,
|
522
|
+
condition_type: Optional[pulumi.Input[str]] = None,
|
523
|
+
description: Optional[pulumi.Input[str]] = None,
|
524
|
+
dictionary_name: Optional[pulumi.Input[str]] = None,
|
525
|
+
dictionary_value: Optional[pulumi.Input[str]] = None,
|
526
|
+
is_negate: Optional[pulumi.Input[bool]] = None,
|
527
|
+
name: Optional[pulumi.Input[str]] = None,
|
528
|
+
operator: Optional[pulumi.Input[str]] = None) -> 'Condition':
|
529
|
+
"""
|
530
|
+
Get an existing Condition resource's state with the given name, id, and optional extra
|
531
|
+
properties used to qualify the lookup.
|
532
|
+
|
533
|
+
:param str resource_name: The unique name of the resulting resource.
|
534
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
535
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
536
|
+
:param pulumi.Input[str] attribute_name: Dictionary attribute name
|
537
|
+
:param pulumi.Input[str] attribute_value: Attribute value for condition. Value type is specified in dictionary object.
|
538
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ConditionChildrenArgs', 'ConditionChildrenArgsDict']]]] childrens: List of child conditions. `condition_type` must be one of `LibraryConditionAndBlock` or `LibraryConditionOrBlock`.
|
539
|
+
:param pulumi.Input[str] condition_type: Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that
|
540
|
+
additional conditions are present under the children attribute. - Choices: `LibraryConditionAndBlock`,
|
541
|
+
`LibraryConditionAttributes`, `LibraryConditionOrBlock`
|
542
|
+
:param pulumi.Input[str] description: Condition description
|
543
|
+
:param pulumi.Input[str] dictionary_name: Dictionary name
|
544
|
+
:param pulumi.Input[str] dictionary_value: Dictionary value
|
545
|
+
:param pulumi.Input[bool] is_negate: Indicates whereas this condition is in negate mode
|
546
|
+
:param pulumi.Input[str] name: Condition name
|
547
|
+
:param pulumi.Input[str] operator: Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`,
|
548
|
+
`ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`,
|
549
|
+
`notEquals`, `notIn`, `notStartsWith`, `startsWith`
|
550
|
+
"""
|
551
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
552
|
+
|
553
|
+
__props__ = _ConditionState.__new__(_ConditionState)
|
554
|
+
|
555
|
+
__props__.__dict__["attribute_name"] = attribute_name
|
556
|
+
__props__.__dict__["attribute_value"] = attribute_value
|
557
|
+
__props__.__dict__["childrens"] = childrens
|
558
|
+
__props__.__dict__["condition_type"] = condition_type
|
559
|
+
__props__.__dict__["description"] = description
|
560
|
+
__props__.__dict__["dictionary_name"] = dictionary_name
|
561
|
+
__props__.__dict__["dictionary_value"] = dictionary_value
|
562
|
+
__props__.__dict__["is_negate"] = is_negate
|
563
|
+
__props__.__dict__["name"] = name
|
564
|
+
__props__.__dict__["operator"] = operator
|
565
|
+
return Condition(resource_name, opts=opts, __props__=__props__)
|
566
|
+
|
567
|
+
@property
|
568
|
+
@pulumi.getter(name="attributeName")
|
569
|
+
def attribute_name(self) -> pulumi.Output[Optional[str]]:
|
570
|
+
"""
|
571
|
+
Dictionary attribute name
|
572
|
+
"""
|
573
|
+
return pulumi.get(self, "attribute_name")
|
574
|
+
|
575
|
+
@property
|
576
|
+
@pulumi.getter(name="attributeValue")
|
577
|
+
def attribute_value(self) -> pulumi.Output[Optional[str]]:
|
578
|
+
"""
|
579
|
+
Attribute value for condition. Value type is specified in dictionary object.
|
580
|
+
"""
|
581
|
+
return pulumi.get(self, "attribute_value")
|
582
|
+
|
583
|
+
@property
|
584
|
+
@pulumi.getter
|
585
|
+
def childrens(self) -> pulumi.Output[Optional[Sequence['outputs.ConditionChildren']]]:
|
586
|
+
"""
|
587
|
+
List of child conditions. `condition_type` must be one of `LibraryConditionAndBlock` or `LibraryConditionOrBlock`.
|
588
|
+
"""
|
589
|
+
return pulumi.get(self, "childrens")
|
590
|
+
|
591
|
+
@property
|
592
|
+
@pulumi.getter(name="conditionType")
|
593
|
+
def condition_type(self) -> pulumi.Output[str]:
|
594
|
+
"""
|
595
|
+
Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that
|
596
|
+
additional conditions are present under the children attribute. - Choices: `LibraryConditionAndBlock`,
|
597
|
+
`LibraryConditionAttributes`, `LibraryConditionOrBlock`
|
598
|
+
"""
|
599
|
+
return pulumi.get(self, "condition_type")
|
600
|
+
|
601
|
+
@property
|
602
|
+
@pulumi.getter
|
603
|
+
def description(self) -> pulumi.Output[Optional[str]]:
|
604
|
+
"""
|
605
|
+
Condition description
|
606
|
+
"""
|
607
|
+
return pulumi.get(self, "description")
|
608
|
+
|
609
|
+
@property
|
610
|
+
@pulumi.getter(name="dictionaryName")
|
611
|
+
def dictionary_name(self) -> pulumi.Output[Optional[str]]:
|
612
|
+
"""
|
613
|
+
Dictionary name
|
614
|
+
"""
|
615
|
+
return pulumi.get(self, "dictionary_name")
|
616
|
+
|
617
|
+
@property
|
618
|
+
@pulumi.getter(name="dictionaryValue")
|
619
|
+
def dictionary_value(self) -> pulumi.Output[Optional[str]]:
|
620
|
+
"""
|
621
|
+
Dictionary value
|
622
|
+
"""
|
623
|
+
return pulumi.get(self, "dictionary_value")
|
624
|
+
|
625
|
+
@property
|
626
|
+
@pulumi.getter(name="isNegate")
|
627
|
+
def is_negate(self) -> pulumi.Output[Optional[bool]]:
|
628
|
+
"""
|
629
|
+
Indicates whereas this condition is in negate mode
|
630
|
+
"""
|
631
|
+
return pulumi.get(self, "is_negate")
|
632
|
+
|
633
|
+
@property
|
634
|
+
@pulumi.getter
|
635
|
+
def name(self) -> pulumi.Output[str]:
|
636
|
+
"""
|
637
|
+
Condition name
|
638
|
+
"""
|
639
|
+
return pulumi.get(self, "name")
|
640
|
+
|
641
|
+
@property
|
642
|
+
@pulumi.getter
|
643
|
+
def operator(self) -> pulumi.Output[Optional[str]]:
|
644
|
+
"""
|
645
|
+
Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`,
|
646
|
+
`ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`,
|
647
|
+
`notEquals`, `notIn`, `notStartsWith`, `startsWith`
|
648
|
+
"""
|
649
|
+
return pulumi.get(self, "operator")
|
650
|
+
|