pulumi-ise 0.2.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. pulumi_ise/__init__.py +458 -0
  2. pulumi_ise/_utilities.py +327 -0
  3. pulumi_ise/config/__init__.py +8 -0
  4. pulumi_ise/config/__init__.pyi +41 -0
  5. pulumi_ise/config/vars.py +57 -0
  6. pulumi_ise/deviceadmin/__init__.py +34 -0
  7. pulumi_ise/deviceadmin/_inputs.py +2517 -0
  8. pulumi_ise/deviceadmin/allowed_protocols_tacacs.py +381 -0
  9. pulumi_ise/deviceadmin/authentication_rule.py +1050 -0
  10. pulumi_ise/deviceadmin/authentication_rule_update_rank.py +271 -0
  11. pulumi_ise/deviceadmin/authorization_exception_rule.py +942 -0
  12. pulumi_ise/deviceadmin/authorization_exception_rule_update_rank.py +271 -0
  13. pulumi_ise/deviceadmin/authorization_global_exception_rule.py +843 -0
  14. pulumi_ise/deviceadmin/authorization_global_exception_rule_update_rank.py +221 -0
  15. pulumi_ise/deviceadmin/authorization_rule.py +942 -0
  16. pulumi_ise/deviceadmin/authorization_rule_update_rank.py +271 -0
  17. pulumi_ise/deviceadmin/condition.py +650 -0
  18. pulumi_ise/deviceadmin/get_allowed_protocols_tacacs.py +174 -0
  19. pulumi_ise/deviceadmin/get_authentication_rule.py +365 -0
  20. pulumi_ise/deviceadmin/get_authorization_exception_rule.py +337 -0
  21. pulumi_ise/deviceadmin/get_authorization_global_exception_rule.py +301 -0
  22. pulumi_ise/deviceadmin/get_authorization_rule.py +337 -0
  23. pulumi_ise/deviceadmin/get_condition.py +245 -0
  24. pulumi_ise/deviceadmin/get_policy_set.py +329 -0
  25. pulumi_ise/deviceadmin/get_tacacs_command_set.py +158 -0
  26. pulumi_ise/deviceadmin/get_tacacs_profile.py +144 -0
  27. pulumi_ise/deviceadmin/get_time_and_date_condition.py +286 -0
  28. pulumi_ise/deviceadmin/outputs.py +3178 -0
  29. pulumi_ise/deviceadmin/policy_set.py +947 -0
  30. pulumi_ise/deviceadmin/policy_set_update_rank.py +221 -0
  31. pulumi_ise/deviceadmin/tacacs_command_set.py +326 -0
  32. pulumi_ise/deviceadmin/tacacs_profile.py +277 -0
  33. pulumi_ise/deviceadmin/time_and_date_condition.py +770 -0
  34. pulumi_ise/identitymanagement/__init__.py +26 -0
  35. pulumi_ise/identitymanagement/_inputs.py +419 -0
  36. pulumi_ise/identitymanagement/active_directory_add_groups.py +483 -0
  37. pulumi_ise/identitymanagement/active_directory_join_domain_with_all_nodes.py +216 -0
  38. pulumi_ise/identitymanagement/active_directory_join_point.py +1676 -0
  39. pulumi_ise/identitymanagement/certificate_authentication_profile.py +525 -0
  40. pulumi_ise/identitymanagement/endpoint.py +1376 -0
  41. pulumi_ise/identitymanagement/endpoint_identity_group.py +327 -0
  42. pulumi_ise/identitymanagement/get_active_directory_groups_by_domain.py +215 -0
  43. pulumi_ise/identitymanagement/get_active_directory_join_point.py +558 -0
  44. pulumi_ise/identitymanagement/get_certificate_authentication_profile.py +202 -0
  45. pulumi_ise/identitymanagement/get_endpoint.py +468 -0
  46. pulumi_ise/identitymanagement/get_endpoint_identity_group.py +160 -0
  47. pulumi_ise/identitymanagement/get_identity_source_sequence.py +172 -0
  48. pulumi_ise/identitymanagement/get_internal_user.py +300 -0
  49. pulumi_ise/identitymanagement/get_user_identity_group.py +146 -0
  50. pulumi_ise/identitymanagement/identity_source_sequence.py +376 -0
  51. pulumi_ise/identitymanagement/internal_user.py +830 -0
  52. pulumi_ise/identitymanagement/outputs.py +491 -0
  53. pulumi_ise/identitymanagement/user_identity_group.py +280 -0
  54. pulumi_ise/network/__init__.py +13 -0
  55. pulumi_ise/network/_inputs.py +94 -0
  56. pulumi_ise/network/device.py +2194 -0
  57. pulumi_ise/network/device_group.py +281 -0
  58. pulumi_ise/network/get_device.py +693 -0
  59. pulumi_ise/network/get_device_group.py +146 -0
  60. pulumi_ise/network/outputs.py +120 -0
  61. pulumi_ise/networkaccess/__init__.py +36 -0
  62. pulumi_ise/networkaccess/_inputs.py +2506 -0
  63. pulumi_ise/networkaccess/allowed_protocols.py +3967 -0
  64. pulumi_ise/networkaccess/authentication_rule.py +1050 -0
  65. pulumi_ise/networkaccess/authentication_rule_update_rank.py +271 -0
  66. pulumi_ise/networkaccess/authorization_exception_rule.py +942 -0
  67. pulumi_ise/networkaccess/authorization_exception_rule_update_rank.py +271 -0
  68. pulumi_ise/networkaccess/authorization_global_exception_rule.py +843 -0
  69. pulumi_ise/networkaccess/authorization_global_exception_rule_update_rank.py +221 -0
  70. pulumi_ise/networkaccess/authorization_profile.py +1682 -0
  71. pulumi_ise/networkaccess/authorization_rule.py +942 -0
  72. pulumi_ise/networkaccess/authorization_rule_update_rank.py +271 -0
  73. pulumi_ise/networkaccess/condition.py +650 -0
  74. pulumi_ise/networkaccess/dictionary.py +331 -0
  75. pulumi_ise/networkaccess/downloadable_acl.py +330 -0
  76. pulumi_ise/networkaccess/get_allowed_protocols.py +1182 -0
  77. pulumi_ise/networkaccess/get_authentication_rule.py +365 -0
  78. pulumi_ise/networkaccess/get_authorization_exception_rule.py +337 -0
  79. pulumi_ise/networkaccess/get_authorization_global_exception_rule.py +301 -0
  80. pulumi_ise/networkaccess/get_authorization_profile.py +567 -0
  81. pulumi_ise/networkaccess/get_authorization_rule.py +337 -0
  82. pulumi_ise/networkaccess/get_condition.py +245 -0
  83. pulumi_ise/networkaccess/get_dictionary.py +160 -0
  84. pulumi_ise/networkaccess/get_downloadable_acl.py +160 -0
  85. pulumi_ise/networkaccess/get_policy_set.py +329 -0
  86. pulumi_ise/networkaccess/get_time_and_date_condition.py +286 -0
  87. pulumi_ise/networkaccess/outputs.py +3193 -0
  88. pulumi_ise/networkaccess/policy_set.py +947 -0
  89. pulumi_ise/networkaccess/policy_set_update_rank.py +221 -0
  90. pulumi_ise/networkaccess/time_and_date_condition.py +770 -0
  91. pulumi_ise/provider.py +209 -0
  92. pulumi_ise/pulumi-plugin.json +5 -0
  93. pulumi_ise/py.typed +0 -0
  94. pulumi_ise/system/__init__.py +13 -0
  95. pulumi_ise/system/_inputs.py +79 -0
  96. pulumi_ise/system/get_license_tier_state.py +113 -0
  97. pulumi_ise/system/get_repository.py +202 -0
  98. pulumi_ise/system/license_tier_state.py +189 -0
  99. pulumi_ise/system/outputs.py +83 -0
  100. pulumi_ise/system/repository.py +478 -0
  101. pulumi_ise/trustsec/__init__.py +21 -0
  102. pulumi_ise/trustsec/egress_matrix_cell.py +429 -0
  103. pulumi_ise/trustsec/egress_matrix_cell_default.py +327 -0
  104. pulumi_ise/trustsec/get_egress_matrix_cell.py +182 -0
  105. pulumi_ise/trustsec/get_egress_matrix_cell_default.py +154 -0
  106. pulumi_ise/trustsec/get_ip_to_sgt_mapping.py +216 -0
  107. pulumi_ise/trustsec/get_ip_to_sgt_mapping_group.py +174 -0
  108. pulumi_ise/trustsec/get_security_group.py +174 -0
  109. pulumi_ise/trustsec/get_security_group_acl.py +174 -0
  110. pulumi_ise/trustsec/get_sxp_domain_filter.py +188 -0
  111. pulumi_ise/trustsec/ip_to_sgt_mapping.py +517 -0
  112. pulumi_ise/trustsec/ip_to_sgt_mapping_group.py +376 -0
  113. pulumi_ise/trustsec/security_group.py +379 -0
  114. pulumi_ise/trustsec/security_group_acl.py +379 -0
  115. pulumi_ise/trustsec/sxp_domain_filter.py +422 -0
  116. pulumi_ise-0.2.0.dist-info/METADATA +64 -0
  117. pulumi_ise-0.2.0.dist-info/RECORD +119 -0
  118. pulumi_ise-0.2.0.dist-info/WHEEL +5 -0
  119. pulumi_ise-0.2.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,329 @@
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
+ 'GetPolicySetResult',
20
+ 'AwaitableGetPolicySetResult',
21
+ 'get_policy_set',
22
+ 'get_policy_set_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetPolicySetResult:
27
+ """
28
+ A collection of values returned by getPolicySet.
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, description=None, id=None, is_proxy=None, name=None, rank=None, service_name=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 description and not isinstance(description, str):
62
+ raise TypeError("Expected argument 'description' to be a str")
63
+ pulumi.set(__self__, "description", description)
64
+ if id and not isinstance(id, str):
65
+ raise TypeError("Expected argument 'id' to be a str")
66
+ pulumi.set(__self__, "id", id)
67
+ if is_proxy and not isinstance(is_proxy, bool):
68
+ raise TypeError("Expected argument 'is_proxy' to be a bool")
69
+ pulumi.set(__self__, "is_proxy", is_proxy)
70
+ if name and not isinstance(name, str):
71
+ raise TypeError("Expected argument 'name' to be a str")
72
+ pulumi.set(__self__, "name", name)
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 service_name and not isinstance(service_name, str):
77
+ raise TypeError("Expected argument 'service_name' to be a str")
78
+ pulumi.set(__self__, "service_name", service_name)
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.GetPolicySetChildrenResult']:
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 policy set is the default one
160
+ """
161
+ return pulumi.get(self, "default")
162
+
163
+ @property
164
+ @pulumi.getter
165
+ def description(self) -> str:
166
+ """
167
+ The description of the policy set
168
+ """
169
+ return pulumi.get(self, "description")
170
+
171
+ @property
172
+ @pulumi.getter
173
+ def id(self) -> str:
174
+ """
175
+ The id of the object
176
+ """
177
+ return pulumi.get(self, "id")
178
+
179
+ @property
180
+ @pulumi.getter(name="isProxy")
181
+ def is_proxy(self) -> bool:
182
+ """
183
+ Flag which indicates if the policy set service is of type 'Proxy Sequence' or 'Allowed Protocols'
184
+ """
185
+ return pulumi.get(self, "is_proxy")
186
+
187
+ @property
188
+ @pulumi.getter
189
+ def name(self) -> str:
190
+ """
191
+ Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
192
+ """
193
+ return pulumi.get(self, "name")
194
+
195
+ @property
196
+ @pulumi.getter
197
+ def rank(self) -> int:
198
+ """
199
+ The rank (priority) in relation to other policy sets. Lower rank is higher priority.
200
+ """
201
+ return pulumi.get(self, "rank")
202
+
203
+ @property
204
+ @pulumi.getter(name="serviceName")
205
+ def service_name(self) -> str:
206
+ """
207
+ Policy set service identifier. 'Allowed Protocols' or 'Server Sequence'.
208
+ """
209
+ return pulumi.get(self, "service_name")
210
+
211
+ @property
212
+ @pulumi.getter
213
+ def state(self) -> str:
214
+ """
215
+ The state that the policy set is in. A disabled policy set cannot be matched.
216
+ """
217
+ return pulumi.get(self, "state")
218
+
219
+
220
+ class AwaitableGetPolicySetResult(GetPolicySetResult):
221
+ # pylint: disable=using-constant-test
222
+ def __await__(self):
223
+ if False:
224
+ yield self
225
+ return GetPolicySetResult(
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
+ description=self.description,
237
+ id=self.id,
238
+ is_proxy=self.is_proxy,
239
+ name=self.name,
240
+ rank=self.rank,
241
+ service_name=self.service_name,
242
+ state=self.state)
243
+
244
+
245
+ def get_policy_set(id: Optional[str] = None,
246
+ name: Optional[str] = None,
247
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPolicySetResult:
248
+ """
249
+ This data source can read the Device Admin Policy Set.
250
+
251
+ ## Example Usage
252
+
253
+ ```python
254
+ import pulumi
255
+ import pulumi_ise as ise
256
+
257
+ example = ise.deviceadmin.get_policy_set(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
258
+ ```
259
+
260
+
261
+ :param str id: The id of the object
262
+ :param str name: Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
263
+ """
264
+ __args__ = dict()
265
+ __args__['id'] = id
266
+ __args__['name'] = name
267
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
268
+ __ret__ = pulumi.runtime.invoke('ise:deviceadmin/getPolicySet:getPolicySet', __args__, opts=opts, typ=GetPolicySetResult).value
269
+
270
+ return AwaitableGetPolicySetResult(
271
+ childrens=pulumi.get(__ret__, 'childrens'),
272
+ condition_attribute_name=pulumi.get(__ret__, 'condition_attribute_name'),
273
+ condition_attribute_value=pulumi.get(__ret__, 'condition_attribute_value'),
274
+ condition_dictionary_name=pulumi.get(__ret__, 'condition_dictionary_name'),
275
+ condition_dictionary_value=pulumi.get(__ret__, 'condition_dictionary_value'),
276
+ condition_id=pulumi.get(__ret__, 'condition_id'),
277
+ condition_is_negate=pulumi.get(__ret__, 'condition_is_negate'),
278
+ condition_operator=pulumi.get(__ret__, 'condition_operator'),
279
+ condition_type=pulumi.get(__ret__, 'condition_type'),
280
+ default=pulumi.get(__ret__, 'default'),
281
+ description=pulumi.get(__ret__, 'description'),
282
+ id=pulumi.get(__ret__, 'id'),
283
+ is_proxy=pulumi.get(__ret__, 'is_proxy'),
284
+ name=pulumi.get(__ret__, 'name'),
285
+ rank=pulumi.get(__ret__, 'rank'),
286
+ service_name=pulumi.get(__ret__, 'service_name'),
287
+ state=pulumi.get(__ret__, 'state'))
288
+ def get_policy_set_output(id: Optional[pulumi.Input[Optional[str]]] = None,
289
+ name: Optional[pulumi.Input[Optional[str]]] = None,
290
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPolicySetResult]:
291
+ """
292
+ This data source can read the Device Admin Policy Set.
293
+
294
+ ## Example Usage
295
+
296
+ ```python
297
+ import pulumi
298
+ import pulumi_ise as ise
299
+
300
+ example = ise.deviceadmin.get_policy_set(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
301
+ ```
302
+
303
+
304
+ :param str id: The id of the object
305
+ :param str name: Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
306
+ """
307
+ __args__ = dict()
308
+ __args__['id'] = id
309
+ __args__['name'] = name
310
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
311
+ __ret__ = pulumi.runtime.invoke_output('ise:deviceadmin/getPolicySet:getPolicySet', __args__, opts=opts, typ=GetPolicySetResult)
312
+ return __ret__.apply(lambda __response__: GetPolicySetResult(
313
+ childrens=pulumi.get(__response__, 'childrens'),
314
+ condition_attribute_name=pulumi.get(__response__, 'condition_attribute_name'),
315
+ condition_attribute_value=pulumi.get(__response__, 'condition_attribute_value'),
316
+ condition_dictionary_name=pulumi.get(__response__, 'condition_dictionary_name'),
317
+ condition_dictionary_value=pulumi.get(__response__, 'condition_dictionary_value'),
318
+ condition_id=pulumi.get(__response__, 'condition_id'),
319
+ condition_is_negate=pulumi.get(__response__, 'condition_is_negate'),
320
+ condition_operator=pulumi.get(__response__, 'condition_operator'),
321
+ condition_type=pulumi.get(__response__, 'condition_type'),
322
+ default=pulumi.get(__response__, 'default'),
323
+ description=pulumi.get(__response__, 'description'),
324
+ id=pulumi.get(__response__, 'id'),
325
+ is_proxy=pulumi.get(__response__, 'is_proxy'),
326
+ name=pulumi.get(__response__, 'name'),
327
+ rank=pulumi.get(__response__, 'rank'),
328
+ service_name=pulumi.get(__response__, 'service_name'),
329
+ state=pulumi.get(__response__, 'state')))
@@ -0,0 +1,158 @@
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
+ 'GetTacacsCommandSetResult',
20
+ 'AwaitableGetTacacsCommandSetResult',
21
+ 'get_tacacs_command_set',
22
+ 'get_tacacs_command_set_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetTacacsCommandSetResult:
27
+ """
28
+ A collection of values returned by getTacacsCommandSet.
29
+ """
30
+ def __init__(__self__, commands=None, description=None, id=None, name=None, permit_unmatched=None):
31
+ if commands and not isinstance(commands, list):
32
+ raise TypeError("Expected argument 'commands' to be a list")
33
+ pulumi.set(__self__, "commands", commands)
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
+ if permit_unmatched and not isinstance(permit_unmatched, bool):
44
+ raise TypeError("Expected argument 'permit_unmatched' to be a bool")
45
+ pulumi.set(__self__, "permit_unmatched", permit_unmatched)
46
+
47
+ @property
48
+ @pulumi.getter
49
+ def commands(self) -> Sequence['outputs.GetTacacsCommandSetCommandResult']:
50
+ return pulumi.get(self, "commands")
51
+
52
+ @property
53
+ @pulumi.getter
54
+ def description(self) -> str:
55
+ """
56
+ Description
57
+ """
58
+ return pulumi.get(self, "description")
59
+
60
+ @property
61
+ @pulumi.getter
62
+ def id(self) -> str:
63
+ """
64
+ The id of the object
65
+ """
66
+ return pulumi.get(self, "id")
67
+
68
+ @property
69
+ @pulumi.getter
70
+ def name(self) -> str:
71
+ """
72
+ The name of the TACACS command set
73
+ """
74
+ return pulumi.get(self, "name")
75
+
76
+ @property
77
+ @pulumi.getter(name="permitUnmatched")
78
+ def permit_unmatched(self) -> bool:
79
+ """
80
+ Permit unmatched commands
81
+ """
82
+ return pulumi.get(self, "permit_unmatched")
83
+
84
+
85
+ class AwaitableGetTacacsCommandSetResult(GetTacacsCommandSetResult):
86
+ # pylint: disable=using-constant-test
87
+ def __await__(self):
88
+ if False:
89
+ yield self
90
+ return GetTacacsCommandSetResult(
91
+ commands=self.commands,
92
+ description=self.description,
93
+ id=self.id,
94
+ name=self.name,
95
+ permit_unmatched=self.permit_unmatched)
96
+
97
+
98
+ def get_tacacs_command_set(id: Optional[str] = None,
99
+ name: Optional[str] = None,
100
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTacacsCommandSetResult:
101
+ """
102
+ This data source can read the TACACS Command Set.
103
+
104
+ ## Example Usage
105
+
106
+ ```python
107
+ import pulumi
108
+ import pulumi_ise as ise
109
+
110
+ example = ise.deviceadmin.get_tacacs_command_set(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
111
+ ```
112
+
113
+
114
+ :param str id: The id of the object
115
+ :param str name: The name of the TACACS command set
116
+ """
117
+ __args__ = dict()
118
+ __args__['id'] = id
119
+ __args__['name'] = name
120
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
121
+ __ret__ = pulumi.runtime.invoke('ise:deviceadmin/getTacacsCommandSet:getTacacsCommandSet', __args__, opts=opts, typ=GetTacacsCommandSetResult).value
122
+
123
+ return AwaitableGetTacacsCommandSetResult(
124
+ commands=pulumi.get(__ret__, 'commands'),
125
+ description=pulumi.get(__ret__, 'description'),
126
+ id=pulumi.get(__ret__, 'id'),
127
+ name=pulumi.get(__ret__, 'name'),
128
+ permit_unmatched=pulumi.get(__ret__, 'permit_unmatched'))
129
+ def get_tacacs_command_set_output(id: Optional[pulumi.Input[Optional[str]]] = None,
130
+ name: Optional[pulumi.Input[Optional[str]]] = None,
131
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTacacsCommandSetResult]:
132
+ """
133
+ This data source can read the TACACS Command Set.
134
+
135
+ ## Example Usage
136
+
137
+ ```python
138
+ import pulumi
139
+ import pulumi_ise as ise
140
+
141
+ example = ise.deviceadmin.get_tacacs_command_set(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
142
+ ```
143
+
144
+
145
+ :param str id: The id of the object
146
+ :param str name: The name of the TACACS command set
147
+ """
148
+ __args__ = dict()
149
+ __args__['id'] = id
150
+ __args__['name'] = name
151
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
152
+ __ret__ = pulumi.runtime.invoke_output('ise:deviceadmin/getTacacsCommandSet:getTacacsCommandSet', __args__, opts=opts, typ=GetTacacsCommandSetResult)
153
+ return __ret__.apply(lambda __response__: GetTacacsCommandSetResult(
154
+ commands=pulumi.get(__response__, 'commands'),
155
+ description=pulumi.get(__response__, 'description'),
156
+ id=pulumi.get(__response__, 'id'),
157
+ name=pulumi.get(__response__, 'name'),
158
+ permit_unmatched=pulumi.get(__response__, 'permit_unmatched')))
@@ -0,0 +1,144 @@
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
+ 'GetTacacsProfileResult',
20
+ 'AwaitableGetTacacsProfileResult',
21
+ 'get_tacacs_profile',
22
+ 'get_tacacs_profile_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetTacacsProfileResult:
27
+ """
28
+ A collection of values returned by getTacacsProfile.
29
+ """
30
+ def __init__(__self__, description=None, id=None, name=None, session_attributes=None):
31
+ if description and not isinstance(description, str):
32
+ raise TypeError("Expected argument 'description' to be a str")
33
+ pulumi.set(__self__, "description", description)
34
+ if id and not isinstance(id, str):
35
+ raise TypeError("Expected argument 'id' to be a str")
36
+ pulumi.set(__self__, "id", id)
37
+ if name and not isinstance(name, str):
38
+ raise TypeError("Expected argument 'name' to be a str")
39
+ pulumi.set(__self__, "name", name)
40
+ if session_attributes and not isinstance(session_attributes, list):
41
+ raise TypeError("Expected argument 'session_attributes' to be a list")
42
+ pulumi.set(__self__, "session_attributes", session_attributes)
43
+
44
+ @property
45
+ @pulumi.getter
46
+ def description(self) -> str:
47
+ """
48
+ Description
49
+ """
50
+ return pulumi.get(self, "description")
51
+
52
+ @property
53
+ @pulumi.getter
54
+ def id(self) -> str:
55
+ """
56
+ The id of the object
57
+ """
58
+ return pulumi.get(self, "id")
59
+
60
+ @property
61
+ @pulumi.getter
62
+ def name(self) -> str:
63
+ """
64
+ The name of the TACACS profile
65
+ """
66
+ return pulumi.get(self, "name")
67
+
68
+ @property
69
+ @pulumi.getter(name="sessionAttributes")
70
+ def session_attributes(self) -> Sequence['outputs.GetTacacsProfileSessionAttributeResult']:
71
+ return pulumi.get(self, "session_attributes")
72
+
73
+
74
+ class AwaitableGetTacacsProfileResult(GetTacacsProfileResult):
75
+ # pylint: disable=using-constant-test
76
+ def __await__(self):
77
+ if False:
78
+ yield self
79
+ return GetTacacsProfileResult(
80
+ description=self.description,
81
+ id=self.id,
82
+ name=self.name,
83
+ session_attributes=self.session_attributes)
84
+
85
+
86
+ def get_tacacs_profile(id: Optional[str] = None,
87
+ name: Optional[str] = None,
88
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTacacsProfileResult:
89
+ """
90
+ This data source can read the TACACS Profile.
91
+
92
+ ## Example Usage
93
+
94
+ ```python
95
+ import pulumi
96
+ import pulumi_ise as ise
97
+
98
+ example = ise.deviceadmin.get_tacacs_profile(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
99
+ ```
100
+
101
+
102
+ :param str id: The id of the object
103
+ :param str name: The name of the TACACS profile
104
+ """
105
+ __args__ = dict()
106
+ __args__['id'] = id
107
+ __args__['name'] = name
108
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
109
+ __ret__ = pulumi.runtime.invoke('ise:deviceadmin/getTacacsProfile:getTacacsProfile', __args__, opts=opts, typ=GetTacacsProfileResult).value
110
+
111
+ return AwaitableGetTacacsProfileResult(
112
+ description=pulumi.get(__ret__, 'description'),
113
+ id=pulumi.get(__ret__, 'id'),
114
+ name=pulumi.get(__ret__, 'name'),
115
+ session_attributes=pulumi.get(__ret__, 'session_attributes'))
116
+ def get_tacacs_profile_output(id: Optional[pulumi.Input[Optional[str]]] = None,
117
+ name: Optional[pulumi.Input[Optional[str]]] = None,
118
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTacacsProfileResult]:
119
+ """
120
+ This data source can read the TACACS Profile.
121
+
122
+ ## Example Usage
123
+
124
+ ```python
125
+ import pulumi
126
+ import pulumi_ise as ise
127
+
128
+ example = ise.deviceadmin.get_tacacs_profile(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
129
+ ```
130
+
131
+
132
+ :param str id: The id of the object
133
+ :param str name: The name of the TACACS profile
134
+ """
135
+ __args__ = dict()
136
+ __args__['id'] = id
137
+ __args__['name'] = name
138
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
139
+ __ret__ = pulumi.runtime.invoke_output('ise:deviceadmin/getTacacsProfile:getTacacsProfile', __args__, opts=opts, typ=GetTacacsProfileResult)
140
+ return __ret__.apply(lambda __response__: GetTacacsProfileResult(
141
+ description=pulumi.get(__response__, 'description'),
142
+ id=pulumi.get(__response__, 'id'),
143
+ name=pulumi.get(__response__, 'name'),
144
+ session_attributes=pulumi.get(__response__, 'session_attributes')))