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,947 @@
|
|
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__ = ['PolicySetArgs', 'PolicySet']
|
20
|
+
|
21
|
+
@pulumi.input_type
|
22
|
+
class PolicySetArgs:
|
23
|
+
def __init__(__self__, *,
|
24
|
+
service_name: pulumi.Input[str],
|
25
|
+
childrens: Optional[pulumi.Input[Sequence[pulumi.Input['PolicySetChildrenArgs']]]] = None,
|
26
|
+
condition_attribute_name: Optional[pulumi.Input[str]] = None,
|
27
|
+
condition_attribute_value: Optional[pulumi.Input[str]] = None,
|
28
|
+
condition_dictionary_name: Optional[pulumi.Input[str]] = None,
|
29
|
+
condition_dictionary_value: Optional[pulumi.Input[str]] = None,
|
30
|
+
condition_id: Optional[pulumi.Input[str]] = None,
|
31
|
+
condition_is_negate: Optional[pulumi.Input[bool]] = None,
|
32
|
+
condition_operator: Optional[pulumi.Input[str]] = None,
|
33
|
+
condition_type: Optional[pulumi.Input[str]] = None,
|
34
|
+
default: Optional[pulumi.Input[bool]] = None,
|
35
|
+
description: Optional[pulumi.Input[str]] = None,
|
36
|
+
is_proxy: Optional[pulumi.Input[bool]] = None,
|
37
|
+
name: Optional[pulumi.Input[str]] = None,
|
38
|
+
rank: Optional[pulumi.Input[int]] = None,
|
39
|
+
state: Optional[pulumi.Input[str]] = None):
|
40
|
+
"""
|
41
|
+
The set of arguments for constructing a PolicySet resource.
|
42
|
+
:param pulumi.Input[str] service_name: Policy set service identifier. 'Allowed Protocols' or 'Server Sequence'.
|
43
|
+
:param pulumi.Input[Sequence[pulumi.Input['PolicySetChildrenArgs']]] childrens: List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`.
|
44
|
+
:param pulumi.Input[str] condition_attribute_name: Dictionary attribute name
|
45
|
+
:param pulumi.Input[str] condition_attribute_value: Attribute value for condition. Value type is specified in dictionary object.
|
46
|
+
:param pulumi.Input[str] condition_dictionary_name: Dictionary name
|
47
|
+
:param pulumi.Input[str] condition_dictionary_value: Dictionary value
|
48
|
+
:param pulumi.Input[str] condition_id: UUID for condition
|
49
|
+
:param pulumi.Input[bool] condition_is_negate: Indicates whereas this condition is in negate mode
|
50
|
+
:param pulumi.Input[str] condition_operator: Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`,
|
51
|
+
`ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`,
|
52
|
+
`notEquals`, `notIn`, `notStartsWith`, `startsWith`
|
53
|
+
:param pulumi.Input[str] condition_type: Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that
|
54
|
+
additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`,
|
55
|
+
`ConditionOrBlock`, `ConditionReference`
|
56
|
+
:param pulumi.Input[bool] default: Indicates if this policy set is the default one
|
57
|
+
:param pulumi.Input[str] description: The description of the policy set
|
58
|
+
:param pulumi.Input[bool] is_proxy: Flag which indicates if the policy set service is of type 'Proxy Sequence' or 'Allowed Protocols'
|
59
|
+
:param pulumi.Input[str] name: Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
|
60
|
+
:param pulumi.Input[int] rank: The rank (priority) in relation to other policy sets. Lower rank is higher priority.
|
61
|
+
:param pulumi.Input[str] state: The state that the policy set is in. A disabled policy set cannot be matched. - Choices: `disabled`, `enabled`,
|
62
|
+
`monitor`
|
63
|
+
"""
|
64
|
+
pulumi.set(__self__, "service_name", service_name)
|
65
|
+
if childrens is not None:
|
66
|
+
pulumi.set(__self__, "childrens", childrens)
|
67
|
+
if condition_attribute_name is not None:
|
68
|
+
pulumi.set(__self__, "condition_attribute_name", condition_attribute_name)
|
69
|
+
if condition_attribute_value is not None:
|
70
|
+
pulumi.set(__self__, "condition_attribute_value", condition_attribute_value)
|
71
|
+
if condition_dictionary_name is not None:
|
72
|
+
pulumi.set(__self__, "condition_dictionary_name", condition_dictionary_name)
|
73
|
+
if condition_dictionary_value is not None:
|
74
|
+
pulumi.set(__self__, "condition_dictionary_value", condition_dictionary_value)
|
75
|
+
if condition_id is not None:
|
76
|
+
pulumi.set(__self__, "condition_id", condition_id)
|
77
|
+
if condition_is_negate is not None:
|
78
|
+
pulumi.set(__self__, "condition_is_negate", condition_is_negate)
|
79
|
+
if condition_operator is not None:
|
80
|
+
pulumi.set(__self__, "condition_operator", condition_operator)
|
81
|
+
if condition_type is not None:
|
82
|
+
pulumi.set(__self__, "condition_type", condition_type)
|
83
|
+
if default is not None:
|
84
|
+
pulumi.set(__self__, "default", default)
|
85
|
+
if description is not None:
|
86
|
+
pulumi.set(__self__, "description", description)
|
87
|
+
if is_proxy is not None:
|
88
|
+
pulumi.set(__self__, "is_proxy", is_proxy)
|
89
|
+
if name is not None:
|
90
|
+
pulumi.set(__self__, "name", name)
|
91
|
+
if rank is not None:
|
92
|
+
pulumi.set(__self__, "rank", rank)
|
93
|
+
if state is not None:
|
94
|
+
pulumi.set(__self__, "state", state)
|
95
|
+
|
96
|
+
@property
|
97
|
+
@pulumi.getter(name="serviceName")
|
98
|
+
def service_name(self) -> pulumi.Input[str]:
|
99
|
+
"""
|
100
|
+
Policy set service identifier. 'Allowed Protocols' or 'Server Sequence'.
|
101
|
+
"""
|
102
|
+
return pulumi.get(self, "service_name")
|
103
|
+
|
104
|
+
@service_name.setter
|
105
|
+
def service_name(self, value: pulumi.Input[str]):
|
106
|
+
pulumi.set(self, "service_name", value)
|
107
|
+
|
108
|
+
@property
|
109
|
+
@pulumi.getter
|
110
|
+
def childrens(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PolicySetChildrenArgs']]]]:
|
111
|
+
"""
|
112
|
+
List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`.
|
113
|
+
"""
|
114
|
+
return pulumi.get(self, "childrens")
|
115
|
+
|
116
|
+
@childrens.setter
|
117
|
+
def childrens(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['PolicySetChildrenArgs']]]]):
|
118
|
+
pulumi.set(self, "childrens", value)
|
119
|
+
|
120
|
+
@property
|
121
|
+
@pulumi.getter(name="conditionAttributeName")
|
122
|
+
def condition_attribute_name(self) -> Optional[pulumi.Input[str]]:
|
123
|
+
"""
|
124
|
+
Dictionary attribute name
|
125
|
+
"""
|
126
|
+
return pulumi.get(self, "condition_attribute_name")
|
127
|
+
|
128
|
+
@condition_attribute_name.setter
|
129
|
+
def condition_attribute_name(self, value: Optional[pulumi.Input[str]]):
|
130
|
+
pulumi.set(self, "condition_attribute_name", value)
|
131
|
+
|
132
|
+
@property
|
133
|
+
@pulumi.getter(name="conditionAttributeValue")
|
134
|
+
def condition_attribute_value(self) -> Optional[pulumi.Input[str]]:
|
135
|
+
"""
|
136
|
+
Attribute value for condition. Value type is specified in dictionary object.
|
137
|
+
"""
|
138
|
+
return pulumi.get(self, "condition_attribute_value")
|
139
|
+
|
140
|
+
@condition_attribute_value.setter
|
141
|
+
def condition_attribute_value(self, value: Optional[pulumi.Input[str]]):
|
142
|
+
pulumi.set(self, "condition_attribute_value", value)
|
143
|
+
|
144
|
+
@property
|
145
|
+
@pulumi.getter(name="conditionDictionaryName")
|
146
|
+
def condition_dictionary_name(self) -> Optional[pulumi.Input[str]]:
|
147
|
+
"""
|
148
|
+
Dictionary name
|
149
|
+
"""
|
150
|
+
return pulumi.get(self, "condition_dictionary_name")
|
151
|
+
|
152
|
+
@condition_dictionary_name.setter
|
153
|
+
def condition_dictionary_name(self, value: Optional[pulumi.Input[str]]):
|
154
|
+
pulumi.set(self, "condition_dictionary_name", value)
|
155
|
+
|
156
|
+
@property
|
157
|
+
@pulumi.getter(name="conditionDictionaryValue")
|
158
|
+
def condition_dictionary_value(self) -> Optional[pulumi.Input[str]]:
|
159
|
+
"""
|
160
|
+
Dictionary value
|
161
|
+
"""
|
162
|
+
return pulumi.get(self, "condition_dictionary_value")
|
163
|
+
|
164
|
+
@condition_dictionary_value.setter
|
165
|
+
def condition_dictionary_value(self, value: Optional[pulumi.Input[str]]):
|
166
|
+
pulumi.set(self, "condition_dictionary_value", value)
|
167
|
+
|
168
|
+
@property
|
169
|
+
@pulumi.getter(name="conditionId")
|
170
|
+
def condition_id(self) -> Optional[pulumi.Input[str]]:
|
171
|
+
"""
|
172
|
+
UUID for condition
|
173
|
+
"""
|
174
|
+
return pulumi.get(self, "condition_id")
|
175
|
+
|
176
|
+
@condition_id.setter
|
177
|
+
def condition_id(self, value: Optional[pulumi.Input[str]]):
|
178
|
+
pulumi.set(self, "condition_id", value)
|
179
|
+
|
180
|
+
@property
|
181
|
+
@pulumi.getter(name="conditionIsNegate")
|
182
|
+
def condition_is_negate(self) -> Optional[pulumi.Input[bool]]:
|
183
|
+
"""
|
184
|
+
Indicates whereas this condition is in negate mode
|
185
|
+
"""
|
186
|
+
return pulumi.get(self, "condition_is_negate")
|
187
|
+
|
188
|
+
@condition_is_negate.setter
|
189
|
+
def condition_is_negate(self, value: Optional[pulumi.Input[bool]]):
|
190
|
+
pulumi.set(self, "condition_is_negate", value)
|
191
|
+
|
192
|
+
@property
|
193
|
+
@pulumi.getter(name="conditionOperator")
|
194
|
+
def condition_operator(self) -> Optional[pulumi.Input[str]]:
|
195
|
+
"""
|
196
|
+
Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`,
|
197
|
+
`ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`,
|
198
|
+
`notEquals`, `notIn`, `notStartsWith`, `startsWith`
|
199
|
+
"""
|
200
|
+
return pulumi.get(self, "condition_operator")
|
201
|
+
|
202
|
+
@condition_operator.setter
|
203
|
+
def condition_operator(self, value: Optional[pulumi.Input[str]]):
|
204
|
+
pulumi.set(self, "condition_operator", value)
|
205
|
+
|
206
|
+
@property
|
207
|
+
@pulumi.getter(name="conditionType")
|
208
|
+
def condition_type(self) -> Optional[pulumi.Input[str]]:
|
209
|
+
"""
|
210
|
+
Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that
|
211
|
+
additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`,
|
212
|
+
`ConditionOrBlock`, `ConditionReference`
|
213
|
+
"""
|
214
|
+
return pulumi.get(self, "condition_type")
|
215
|
+
|
216
|
+
@condition_type.setter
|
217
|
+
def condition_type(self, value: Optional[pulumi.Input[str]]):
|
218
|
+
pulumi.set(self, "condition_type", value)
|
219
|
+
|
220
|
+
@property
|
221
|
+
@pulumi.getter
|
222
|
+
def default(self) -> Optional[pulumi.Input[bool]]:
|
223
|
+
"""
|
224
|
+
Indicates if this policy set is the default one
|
225
|
+
"""
|
226
|
+
return pulumi.get(self, "default")
|
227
|
+
|
228
|
+
@default.setter
|
229
|
+
def default(self, value: Optional[pulumi.Input[bool]]):
|
230
|
+
pulumi.set(self, "default", value)
|
231
|
+
|
232
|
+
@property
|
233
|
+
@pulumi.getter
|
234
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
235
|
+
"""
|
236
|
+
The description of the policy set
|
237
|
+
"""
|
238
|
+
return pulumi.get(self, "description")
|
239
|
+
|
240
|
+
@description.setter
|
241
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
242
|
+
pulumi.set(self, "description", value)
|
243
|
+
|
244
|
+
@property
|
245
|
+
@pulumi.getter(name="isProxy")
|
246
|
+
def is_proxy(self) -> Optional[pulumi.Input[bool]]:
|
247
|
+
"""
|
248
|
+
Flag which indicates if the policy set service is of type 'Proxy Sequence' or 'Allowed Protocols'
|
249
|
+
"""
|
250
|
+
return pulumi.get(self, "is_proxy")
|
251
|
+
|
252
|
+
@is_proxy.setter
|
253
|
+
def is_proxy(self, value: Optional[pulumi.Input[bool]]):
|
254
|
+
pulumi.set(self, "is_proxy", value)
|
255
|
+
|
256
|
+
@property
|
257
|
+
@pulumi.getter
|
258
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
259
|
+
"""
|
260
|
+
Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
|
261
|
+
"""
|
262
|
+
return pulumi.get(self, "name")
|
263
|
+
|
264
|
+
@name.setter
|
265
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
266
|
+
pulumi.set(self, "name", value)
|
267
|
+
|
268
|
+
@property
|
269
|
+
@pulumi.getter
|
270
|
+
def rank(self) -> Optional[pulumi.Input[int]]:
|
271
|
+
"""
|
272
|
+
The rank (priority) in relation to other policy sets. Lower rank is higher priority.
|
273
|
+
"""
|
274
|
+
return pulumi.get(self, "rank")
|
275
|
+
|
276
|
+
@rank.setter
|
277
|
+
def rank(self, value: Optional[pulumi.Input[int]]):
|
278
|
+
pulumi.set(self, "rank", value)
|
279
|
+
|
280
|
+
@property
|
281
|
+
@pulumi.getter
|
282
|
+
def state(self) -> Optional[pulumi.Input[str]]:
|
283
|
+
"""
|
284
|
+
The state that the policy set is in. A disabled policy set cannot be matched. - Choices: `disabled`, `enabled`,
|
285
|
+
`monitor`
|
286
|
+
"""
|
287
|
+
return pulumi.get(self, "state")
|
288
|
+
|
289
|
+
@state.setter
|
290
|
+
def state(self, value: Optional[pulumi.Input[str]]):
|
291
|
+
pulumi.set(self, "state", value)
|
292
|
+
|
293
|
+
|
294
|
+
@pulumi.input_type
|
295
|
+
class _PolicySetState:
|
296
|
+
def __init__(__self__, *,
|
297
|
+
childrens: Optional[pulumi.Input[Sequence[pulumi.Input['PolicySetChildrenArgs']]]] = None,
|
298
|
+
condition_attribute_name: Optional[pulumi.Input[str]] = None,
|
299
|
+
condition_attribute_value: Optional[pulumi.Input[str]] = None,
|
300
|
+
condition_dictionary_name: Optional[pulumi.Input[str]] = None,
|
301
|
+
condition_dictionary_value: Optional[pulumi.Input[str]] = None,
|
302
|
+
condition_id: Optional[pulumi.Input[str]] = None,
|
303
|
+
condition_is_negate: Optional[pulumi.Input[bool]] = None,
|
304
|
+
condition_operator: Optional[pulumi.Input[str]] = None,
|
305
|
+
condition_type: Optional[pulumi.Input[str]] = None,
|
306
|
+
default: Optional[pulumi.Input[bool]] = None,
|
307
|
+
description: Optional[pulumi.Input[str]] = None,
|
308
|
+
is_proxy: Optional[pulumi.Input[bool]] = None,
|
309
|
+
name: Optional[pulumi.Input[str]] = None,
|
310
|
+
rank: Optional[pulumi.Input[int]] = None,
|
311
|
+
service_name: Optional[pulumi.Input[str]] = None,
|
312
|
+
state: Optional[pulumi.Input[str]] = None):
|
313
|
+
"""
|
314
|
+
Input properties used for looking up and filtering PolicySet resources.
|
315
|
+
:param pulumi.Input[Sequence[pulumi.Input['PolicySetChildrenArgs']]] childrens: List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`.
|
316
|
+
:param pulumi.Input[str] condition_attribute_name: Dictionary attribute name
|
317
|
+
:param pulumi.Input[str] condition_attribute_value: Attribute value for condition. Value type is specified in dictionary object.
|
318
|
+
:param pulumi.Input[str] condition_dictionary_name: Dictionary name
|
319
|
+
:param pulumi.Input[str] condition_dictionary_value: Dictionary value
|
320
|
+
:param pulumi.Input[str] condition_id: UUID for condition
|
321
|
+
:param pulumi.Input[bool] condition_is_negate: Indicates whereas this condition is in negate mode
|
322
|
+
:param pulumi.Input[str] condition_operator: Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`,
|
323
|
+
`ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`,
|
324
|
+
`notEquals`, `notIn`, `notStartsWith`, `startsWith`
|
325
|
+
:param pulumi.Input[str] condition_type: Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that
|
326
|
+
additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`,
|
327
|
+
`ConditionOrBlock`, `ConditionReference`
|
328
|
+
:param pulumi.Input[bool] default: Indicates if this policy set is the default one
|
329
|
+
:param pulumi.Input[str] description: The description of the policy set
|
330
|
+
:param pulumi.Input[bool] is_proxy: Flag which indicates if the policy set service is of type 'Proxy Sequence' or 'Allowed Protocols'
|
331
|
+
:param pulumi.Input[str] name: Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
|
332
|
+
:param pulumi.Input[int] rank: The rank (priority) in relation to other policy sets. Lower rank is higher priority.
|
333
|
+
:param pulumi.Input[str] service_name: Policy set service identifier. 'Allowed Protocols' or 'Server Sequence'.
|
334
|
+
:param pulumi.Input[str] state: The state that the policy set is in. A disabled policy set cannot be matched. - Choices: `disabled`, `enabled`,
|
335
|
+
`monitor`
|
336
|
+
"""
|
337
|
+
if childrens is not None:
|
338
|
+
pulumi.set(__self__, "childrens", childrens)
|
339
|
+
if condition_attribute_name is not None:
|
340
|
+
pulumi.set(__self__, "condition_attribute_name", condition_attribute_name)
|
341
|
+
if condition_attribute_value is not None:
|
342
|
+
pulumi.set(__self__, "condition_attribute_value", condition_attribute_value)
|
343
|
+
if condition_dictionary_name is not None:
|
344
|
+
pulumi.set(__self__, "condition_dictionary_name", condition_dictionary_name)
|
345
|
+
if condition_dictionary_value is not None:
|
346
|
+
pulumi.set(__self__, "condition_dictionary_value", condition_dictionary_value)
|
347
|
+
if condition_id is not None:
|
348
|
+
pulumi.set(__self__, "condition_id", condition_id)
|
349
|
+
if condition_is_negate is not None:
|
350
|
+
pulumi.set(__self__, "condition_is_negate", condition_is_negate)
|
351
|
+
if condition_operator is not None:
|
352
|
+
pulumi.set(__self__, "condition_operator", condition_operator)
|
353
|
+
if condition_type is not None:
|
354
|
+
pulumi.set(__self__, "condition_type", condition_type)
|
355
|
+
if default is not None:
|
356
|
+
pulumi.set(__self__, "default", default)
|
357
|
+
if description is not None:
|
358
|
+
pulumi.set(__self__, "description", description)
|
359
|
+
if is_proxy is not None:
|
360
|
+
pulumi.set(__self__, "is_proxy", is_proxy)
|
361
|
+
if name is not None:
|
362
|
+
pulumi.set(__self__, "name", name)
|
363
|
+
if rank is not None:
|
364
|
+
pulumi.set(__self__, "rank", rank)
|
365
|
+
if service_name is not None:
|
366
|
+
pulumi.set(__self__, "service_name", service_name)
|
367
|
+
if state is not None:
|
368
|
+
pulumi.set(__self__, "state", state)
|
369
|
+
|
370
|
+
@property
|
371
|
+
@pulumi.getter
|
372
|
+
def childrens(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PolicySetChildrenArgs']]]]:
|
373
|
+
"""
|
374
|
+
List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`.
|
375
|
+
"""
|
376
|
+
return pulumi.get(self, "childrens")
|
377
|
+
|
378
|
+
@childrens.setter
|
379
|
+
def childrens(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['PolicySetChildrenArgs']]]]):
|
380
|
+
pulumi.set(self, "childrens", value)
|
381
|
+
|
382
|
+
@property
|
383
|
+
@pulumi.getter(name="conditionAttributeName")
|
384
|
+
def condition_attribute_name(self) -> Optional[pulumi.Input[str]]:
|
385
|
+
"""
|
386
|
+
Dictionary attribute name
|
387
|
+
"""
|
388
|
+
return pulumi.get(self, "condition_attribute_name")
|
389
|
+
|
390
|
+
@condition_attribute_name.setter
|
391
|
+
def condition_attribute_name(self, value: Optional[pulumi.Input[str]]):
|
392
|
+
pulumi.set(self, "condition_attribute_name", value)
|
393
|
+
|
394
|
+
@property
|
395
|
+
@pulumi.getter(name="conditionAttributeValue")
|
396
|
+
def condition_attribute_value(self) -> Optional[pulumi.Input[str]]:
|
397
|
+
"""
|
398
|
+
Attribute value for condition. Value type is specified in dictionary object.
|
399
|
+
"""
|
400
|
+
return pulumi.get(self, "condition_attribute_value")
|
401
|
+
|
402
|
+
@condition_attribute_value.setter
|
403
|
+
def condition_attribute_value(self, value: Optional[pulumi.Input[str]]):
|
404
|
+
pulumi.set(self, "condition_attribute_value", value)
|
405
|
+
|
406
|
+
@property
|
407
|
+
@pulumi.getter(name="conditionDictionaryName")
|
408
|
+
def condition_dictionary_name(self) -> Optional[pulumi.Input[str]]:
|
409
|
+
"""
|
410
|
+
Dictionary name
|
411
|
+
"""
|
412
|
+
return pulumi.get(self, "condition_dictionary_name")
|
413
|
+
|
414
|
+
@condition_dictionary_name.setter
|
415
|
+
def condition_dictionary_name(self, value: Optional[pulumi.Input[str]]):
|
416
|
+
pulumi.set(self, "condition_dictionary_name", value)
|
417
|
+
|
418
|
+
@property
|
419
|
+
@pulumi.getter(name="conditionDictionaryValue")
|
420
|
+
def condition_dictionary_value(self) -> Optional[pulumi.Input[str]]:
|
421
|
+
"""
|
422
|
+
Dictionary value
|
423
|
+
"""
|
424
|
+
return pulumi.get(self, "condition_dictionary_value")
|
425
|
+
|
426
|
+
@condition_dictionary_value.setter
|
427
|
+
def condition_dictionary_value(self, value: Optional[pulumi.Input[str]]):
|
428
|
+
pulumi.set(self, "condition_dictionary_value", value)
|
429
|
+
|
430
|
+
@property
|
431
|
+
@pulumi.getter(name="conditionId")
|
432
|
+
def condition_id(self) -> Optional[pulumi.Input[str]]:
|
433
|
+
"""
|
434
|
+
UUID for condition
|
435
|
+
"""
|
436
|
+
return pulumi.get(self, "condition_id")
|
437
|
+
|
438
|
+
@condition_id.setter
|
439
|
+
def condition_id(self, value: Optional[pulumi.Input[str]]):
|
440
|
+
pulumi.set(self, "condition_id", value)
|
441
|
+
|
442
|
+
@property
|
443
|
+
@pulumi.getter(name="conditionIsNegate")
|
444
|
+
def condition_is_negate(self) -> Optional[pulumi.Input[bool]]:
|
445
|
+
"""
|
446
|
+
Indicates whereas this condition is in negate mode
|
447
|
+
"""
|
448
|
+
return pulumi.get(self, "condition_is_negate")
|
449
|
+
|
450
|
+
@condition_is_negate.setter
|
451
|
+
def condition_is_negate(self, value: Optional[pulumi.Input[bool]]):
|
452
|
+
pulumi.set(self, "condition_is_negate", value)
|
453
|
+
|
454
|
+
@property
|
455
|
+
@pulumi.getter(name="conditionOperator")
|
456
|
+
def condition_operator(self) -> Optional[pulumi.Input[str]]:
|
457
|
+
"""
|
458
|
+
Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`,
|
459
|
+
`ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`,
|
460
|
+
`notEquals`, `notIn`, `notStartsWith`, `startsWith`
|
461
|
+
"""
|
462
|
+
return pulumi.get(self, "condition_operator")
|
463
|
+
|
464
|
+
@condition_operator.setter
|
465
|
+
def condition_operator(self, value: Optional[pulumi.Input[str]]):
|
466
|
+
pulumi.set(self, "condition_operator", value)
|
467
|
+
|
468
|
+
@property
|
469
|
+
@pulumi.getter(name="conditionType")
|
470
|
+
def condition_type(self) -> Optional[pulumi.Input[str]]:
|
471
|
+
"""
|
472
|
+
Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that
|
473
|
+
additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`,
|
474
|
+
`ConditionOrBlock`, `ConditionReference`
|
475
|
+
"""
|
476
|
+
return pulumi.get(self, "condition_type")
|
477
|
+
|
478
|
+
@condition_type.setter
|
479
|
+
def condition_type(self, value: Optional[pulumi.Input[str]]):
|
480
|
+
pulumi.set(self, "condition_type", value)
|
481
|
+
|
482
|
+
@property
|
483
|
+
@pulumi.getter
|
484
|
+
def default(self) -> Optional[pulumi.Input[bool]]:
|
485
|
+
"""
|
486
|
+
Indicates if this policy set is the default one
|
487
|
+
"""
|
488
|
+
return pulumi.get(self, "default")
|
489
|
+
|
490
|
+
@default.setter
|
491
|
+
def default(self, value: Optional[pulumi.Input[bool]]):
|
492
|
+
pulumi.set(self, "default", value)
|
493
|
+
|
494
|
+
@property
|
495
|
+
@pulumi.getter
|
496
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
497
|
+
"""
|
498
|
+
The description of the policy set
|
499
|
+
"""
|
500
|
+
return pulumi.get(self, "description")
|
501
|
+
|
502
|
+
@description.setter
|
503
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
504
|
+
pulumi.set(self, "description", value)
|
505
|
+
|
506
|
+
@property
|
507
|
+
@pulumi.getter(name="isProxy")
|
508
|
+
def is_proxy(self) -> Optional[pulumi.Input[bool]]:
|
509
|
+
"""
|
510
|
+
Flag which indicates if the policy set service is of type 'Proxy Sequence' or 'Allowed Protocols'
|
511
|
+
"""
|
512
|
+
return pulumi.get(self, "is_proxy")
|
513
|
+
|
514
|
+
@is_proxy.setter
|
515
|
+
def is_proxy(self, value: Optional[pulumi.Input[bool]]):
|
516
|
+
pulumi.set(self, "is_proxy", value)
|
517
|
+
|
518
|
+
@property
|
519
|
+
@pulumi.getter
|
520
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
521
|
+
"""
|
522
|
+
Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
|
523
|
+
"""
|
524
|
+
return pulumi.get(self, "name")
|
525
|
+
|
526
|
+
@name.setter
|
527
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
528
|
+
pulumi.set(self, "name", value)
|
529
|
+
|
530
|
+
@property
|
531
|
+
@pulumi.getter
|
532
|
+
def rank(self) -> Optional[pulumi.Input[int]]:
|
533
|
+
"""
|
534
|
+
The rank (priority) in relation to other policy sets. Lower rank is higher priority.
|
535
|
+
"""
|
536
|
+
return pulumi.get(self, "rank")
|
537
|
+
|
538
|
+
@rank.setter
|
539
|
+
def rank(self, value: Optional[pulumi.Input[int]]):
|
540
|
+
pulumi.set(self, "rank", value)
|
541
|
+
|
542
|
+
@property
|
543
|
+
@pulumi.getter(name="serviceName")
|
544
|
+
def service_name(self) -> Optional[pulumi.Input[str]]:
|
545
|
+
"""
|
546
|
+
Policy set service identifier. 'Allowed Protocols' or 'Server Sequence'.
|
547
|
+
"""
|
548
|
+
return pulumi.get(self, "service_name")
|
549
|
+
|
550
|
+
@service_name.setter
|
551
|
+
def service_name(self, value: Optional[pulumi.Input[str]]):
|
552
|
+
pulumi.set(self, "service_name", value)
|
553
|
+
|
554
|
+
@property
|
555
|
+
@pulumi.getter
|
556
|
+
def state(self) -> Optional[pulumi.Input[str]]:
|
557
|
+
"""
|
558
|
+
The state that the policy set is in. A disabled policy set cannot be matched. - Choices: `disabled`, `enabled`,
|
559
|
+
`monitor`
|
560
|
+
"""
|
561
|
+
return pulumi.get(self, "state")
|
562
|
+
|
563
|
+
@state.setter
|
564
|
+
def state(self, value: Optional[pulumi.Input[str]]):
|
565
|
+
pulumi.set(self, "state", value)
|
566
|
+
|
567
|
+
|
568
|
+
class PolicySet(pulumi.CustomResource):
|
569
|
+
@overload
|
570
|
+
def __init__(__self__,
|
571
|
+
resource_name: str,
|
572
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
573
|
+
childrens: Optional[pulumi.Input[Sequence[pulumi.Input[Union['PolicySetChildrenArgs', 'PolicySetChildrenArgsDict']]]]] = None,
|
574
|
+
condition_attribute_name: Optional[pulumi.Input[str]] = None,
|
575
|
+
condition_attribute_value: Optional[pulumi.Input[str]] = None,
|
576
|
+
condition_dictionary_name: Optional[pulumi.Input[str]] = None,
|
577
|
+
condition_dictionary_value: Optional[pulumi.Input[str]] = None,
|
578
|
+
condition_id: Optional[pulumi.Input[str]] = None,
|
579
|
+
condition_is_negate: Optional[pulumi.Input[bool]] = None,
|
580
|
+
condition_operator: Optional[pulumi.Input[str]] = None,
|
581
|
+
condition_type: Optional[pulumi.Input[str]] = None,
|
582
|
+
default: Optional[pulumi.Input[bool]] = None,
|
583
|
+
description: Optional[pulumi.Input[str]] = None,
|
584
|
+
is_proxy: Optional[pulumi.Input[bool]] = None,
|
585
|
+
name: Optional[pulumi.Input[str]] = None,
|
586
|
+
rank: Optional[pulumi.Input[int]] = None,
|
587
|
+
service_name: Optional[pulumi.Input[str]] = None,
|
588
|
+
state: Optional[pulumi.Input[str]] = None,
|
589
|
+
__props__=None):
|
590
|
+
"""
|
591
|
+
This resource can manage a Device Admin Policy Set.
|
592
|
+
|
593
|
+
## Example Usage
|
594
|
+
|
595
|
+
```python
|
596
|
+
import pulumi
|
597
|
+
import pulumi_ise as ise
|
598
|
+
|
599
|
+
example = ise.deviceadmin.PolicySet("example",
|
600
|
+
name="PolicySet1",
|
601
|
+
description="My description",
|
602
|
+
is_proxy=False,
|
603
|
+
rank=0,
|
604
|
+
service_name="Default Device Admin",
|
605
|
+
state="enabled",
|
606
|
+
condition_type="ConditionAttributes",
|
607
|
+
condition_is_negate=False,
|
608
|
+
condition_attribute_name="Location",
|
609
|
+
condition_attribute_value="All Locations",
|
610
|
+
condition_dictionary_name="DEVICE",
|
611
|
+
condition_operator="equals")
|
612
|
+
```
|
613
|
+
|
614
|
+
## Import
|
615
|
+
|
616
|
+
```sh
|
617
|
+
$ pulumi import ise:deviceadmin/policySet:PolicySet example "76d24097-41c4-4558-a4d0-a8c07ac08470"
|
618
|
+
```
|
619
|
+
|
620
|
+
:param str resource_name: The name of the resource.
|
621
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
622
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['PolicySetChildrenArgs', 'PolicySetChildrenArgsDict']]]] childrens: List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`.
|
623
|
+
:param pulumi.Input[str] condition_attribute_name: Dictionary attribute name
|
624
|
+
:param pulumi.Input[str] condition_attribute_value: Attribute value for condition. Value type is specified in dictionary object.
|
625
|
+
:param pulumi.Input[str] condition_dictionary_name: Dictionary name
|
626
|
+
:param pulumi.Input[str] condition_dictionary_value: Dictionary value
|
627
|
+
:param pulumi.Input[str] condition_id: UUID for condition
|
628
|
+
:param pulumi.Input[bool] condition_is_negate: Indicates whereas this condition is in negate mode
|
629
|
+
:param pulumi.Input[str] condition_operator: Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`,
|
630
|
+
`ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`,
|
631
|
+
`notEquals`, `notIn`, `notStartsWith`, `startsWith`
|
632
|
+
:param pulumi.Input[str] condition_type: Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that
|
633
|
+
additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`,
|
634
|
+
`ConditionOrBlock`, `ConditionReference`
|
635
|
+
:param pulumi.Input[bool] default: Indicates if this policy set is the default one
|
636
|
+
:param pulumi.Input[str] description: The description of the policy set
|
637
|
+
:param pulumi.Input[bool] is_proxy: Flag which indicates if the policy set service is of type 'Proxy Sequence' or 'Allowed Protocols'
|
638
|
+
:param pulumi.Input[str] name: Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
|
639
|
+
:param pulumi.Input[int] rank: The rank (priority) in relation to other policy sets. Lower rank is higher priority.
|
640
|
+
:param pulumi.Input[str] service_name: Policy set service identifier. 'Allowed Protocols' or 'Server Sequence'.
|
641
|
+
:param pulumi.Input[str] state: The state that the policy set is in. A disabled policy set cannot be matched. - Choices: `disabled`, `enabled`,
|
642
|
+
`monitor`
|
643
|
+
"""
|
644
|
+
...
|
645
|
+
@overload
|
646
|
+
def __init__(__self__,
|
647
|
+
resource_name: str,
|
648
|
+
args: PolicySetArgs,
|
649
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
650
|
+
"""
|
651
|
+
This resource can manage a Device Admin Policy Set.
|
652
|
+
|
653
|
+
## Example Usage
|
654
|
+
|
655
|
+
```python
|
656
|
+
import pulumi
|
657
|
+
import pulumi_ise as ise
|
658
|
+
|
659
|
+
example = ise.deviceadmin.PolicySet("example",
|
660
|
+
name="PolicySet1",
|
661
|
+
description="My description",
|
662
|
+
is_proxy=False,
|
663
|
+
rank=0,
|
664
|
+
service_name="Default Device Admin",
|
665
|
+
state="enabled",
|
666
|
+
condition_type="ConditionAttributes",
|
667
|
+
condition_is_negate=False,
|
668
|
+
condition_attribute_name="Location",
|
669
|
+
condition_attribute_value="All Locations",
|
670
|
+
condition_dictionary_name="DEVICE",
|
671
|
+
condition_operator="equals")
|
672
|
+
```
|
673
|
+
|
674
|
+
## Import
|
675
|
+
|
676
|
+
```sh
|
677
|
+
$ pulumi import ise:deviceadmin/policySet:PolicySet example "76d24097-41c4-4558-a4d0-a8c07ac08470"
|
678
|
+
```
|
679
|
+
|
680
|
+
:param str resource_name: The name of the resource.
|
681
|
+
:param PolicySetArgs args: The arguments to use to populate this resource's properties.
|
682
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
683
|
+
"""
|
684
|
+
...
|
685
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
686
|
+
resource_args, opts = _utilities.get_resource_args_opts(PolicySetArgs, pulumi.ResourceOptions, *args, **kwargs)
|
687
|
+
if resource_args is not None:
|
688
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
689
|
+
else:
|
690
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
691
|
+
|
692
|
+
def _internal_init(__self__,
|
693
|
+
resource_name: str,
|
694
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
695
|
+
childrens: Optional[pulumi.Input[Sequence[pulumi.Input[Union['PolicySetChildrenArgs', 'PolicySetChildrenArgsDict']]]]] = None,
|
696
|
+
condition_attribute_name: Optional[pulumi.Input[str]] = None,
|
697
|
+
condition_attribute_value: Optional[pulumi.Input[str]] = None,
|
698
|
+
condition_dictionary_name: Optional[pulumi.Input[str]] = None,
|
699
|
+
condition_dictionary_value: Optional[pulumi.Input[str]] = None,
|
700
|
+
condition_id: Optional[pulumi.Input[str]] = None,
|
701
|
+
condition_is_negate: Optional[pulumi.Input[bool]] = None,
|
702
|
+
condition_operator: Optional[pulumi.Input[str]] = None,
|
703
|
+
condition_type: Optional[pulumi.Input[str]] = None,
|
704
|
+
default: Optional[pulumi.Input[bool]] = None,
|
705
|
+
description: Optional[pulumi.Input[str]] = None,
|
706
|
+
is_proxy: Optional[pulumi.Input[bool]] = None,
|
707
|
+
name: Optional[pulumi.Input[str]] = None,
|
708
|
+
rank: Optional[pulumi.Input[int]] = None,
|
709
|
+
service_name: Optional[pulumi.Input[str]] = None,
|
710
|
+
state: Optional[pulumi.Input[str]] = None,
|
711
|
+
__props__=None):
|
712
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
713
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
714
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
715
|
+
if opts.id is None:
|
716
|
+
if __props__ is not None:
|
717
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
718
|
+
__props__ = PolicySetArgs.__new__(PolicySetArgs)
|
719
|
+
|
720
|
+
__props__.__dict__["childrens"] = childrens
|
721
|
+
__props__.__dict__["condition_attribute_name"] = condition_attribute_name
|
722
|
+
__props__.__dict__["condition_attribute_value"] = condition_attribute_value
|
723
|
+
__props__.__dict__["condition_dictionary_name"] = condition_dictionary_name
|
724
|
+
__props__.__dict__["condition_dictionary_value"] = condition_dictionary_value
|
725
|
+
__props__.__dict__["condition_id"] = condition_id
|
726
|
+
__props__.__dict__["condition_is_negate"] = condition_is_negate
|
727
|
+
__props__.__dict__["condition_operator"] = condition_operator
|
728
|
+
__props__.__dict__["condition_type"] = condition_type
|
729
|
+
__props__.__dict__["default"] = default
|
730
|
+
__props__.__dict__["description"] = description
|
731
|
+
__props__.__dict__["is_proxy"] = is_proxy
|
732
|
+
__props__.__dict__["name"] = name
|
733
|
+
__props__.__dict__["rank"] = rank
|
734
|
+
if service_name is None and not opts.urn:
|
735
|
+
raise TypeError("Missing required property 'service_name'")
|
736
|
+
__props__.__dict__["service_name"] = service_name
|
737
|
+
__props__.__dict__["state"] = state
|
738
|
+
super(PolicySet, __self__).__init__(
|
739
|
+
'ise:deviceadmin/policySet:PolicySet',
|
740
|
+
resource_name,
|
741
|
+
__props__,
|
742
|
+
opts)
|
743
|
+
|
744
|
+
@staticmethod
|
745
|
+
def get(resource_name: str,
|
746
|
+
id: pulumi.Input[str],
|
747
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
748
|
+
childrens: Optional[pulumi.Input[Sequence[pulumi.Input[Union['PolicySetChildrenArgs', 'PolicySetChildrenArgsDict']]]]] = None,
|
749
|
+
condition_attribute_name: Optional[pulumi.Input[str]] = None,
|
750
|
+
condition_attribute_value: Optional[pulumi.Input[str]] = None,
|
751
|
+
condition_dictionary_name: Optional[pulumi.Input[str]] = None,
|
752
|
+
condition_dictionary_value: Optional[pulumi.Input[str]] = None,
|
753
|
+
condition_id: Optional[pulumi.Input[str]] = None,
|
754
|
+
condition_is_negate: Optional[pulumi.Input[bool]] = None,
|
755
|
+
condition_operator: Optional[pulumi.Input[str]] = None,
|
756
|
+
condition_type: Optional[pulumi.Input[str]] = None,
|
757
|
+
default: Optional[pulumi.Input[bool]] = None,
|
758
|
+
description: Optional[pulumi.Input[str]] = None,
|
759
|
+
is_proxy: Optional[pulumi.Input[bool]] = None,
|
760
|
+
name: Optional[pulumi.Input[str]] = None,
|
761
|
+
rank: Optional[pulumi.Input[int]] = None,
|
762
|
+
service_name: Optional[pulumi.Input[str]] = None,
|
763
|
+
state: Optional[pulumi.Input[str]] = None) -> 'PolicySet':
|
764
|
+
"""
|
765
|
+
Get an existing PolicySet resource's state with the given name, id, and optional extra
|
766
|
+
properties used to qualify the lookup.
|
767
|
+
|
768
|
+
:param str resource_name: The unique name of the resulting resource.
|
769
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
770
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
771
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['PolicySetChildrenArgs', 'PolicySetChildrenArgsDict']]]] childrens: List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`.
|
772
|
+
:param pulumi.Input[str] condition_attribute_name: Dictionary attribute name
|
773
|
+
:param pulumi.Input[str] condition_attribute_value: Attribute value for condition. Value type is specified in dictionary object.
|
774
|
+
:param pulumi.Input[str] condition_dictionary_name: Dictionary name
|
775
|
+
:param pulumi.Input[str] condition_dictionary_value: Dictionary value
|
776
|
+
:param pulumi.Input[str] condition_id: UUID for condition
|
777
|
+
:param pulumi.Input[bool] condition_is_negate: Indicates whereas this condition is in negate mode
|
778
|
+
:param pulumi.Input[str] condition_operator: Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`,
|
779
|
+
`ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`,
|
780
|
+
`notEquals`, `notIn`, `notStartsWith`, `startsWith`
|
781
|
+
:param pulumi.Input[str] condition_type: Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that
|
782
|
+
additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`,
|
783
|
+
`ConditionOrBlock`, `ConditionReference`
|
784
|
+
:param pulumi.Input[bool] default: Indicates if this policy set is the default one
|
785
|
+
:param pulumi.Input[str] description: The description of the policy set
|
786
|
+
:param pulumi.Input[bool] is_proxy: Flag which indicates if the policy set service is of type 'Proxy Sequence' or 'Allowed Protocols'
|
787
|
+
:param pulumi.Input[str] name: Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
|
788
|
+
:param pulumi.Input[int] rank: The rank (priority) in relation to other policy sets. Lower rank is higher priority.
|
789
|
+
:param pulumi.Input[str] service_name: Policy set service identifier. 'Allowed Protocols' or 'Server Sequence'.
|
790
|
+
:param pulumi.Input[str] state: The state that the policy set is in. A disabled policy set cannot be matched. - Choices: `disabled`, `enabled`,
|
791
|
+
`monitor`
|
792
|
+
"""
|
793
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
794
|
+
|
795
|
+
__props__ = _PolicySetState.__new__(_PolicySetState)
|
796
|
+
|
797
|
+
__props__.__dict__["childrens"] = childrens
|
798
|
+
__props__.__dict__["condition_attribute_name"] = condition_attribute_name
|
799
|
+
__props__.__dict__["condition_attribute_value"] = condition_attribute_value
|
800
|
+
__props__.__dict__["condition_dictionary_name"] = condition_dictionary_name
|
801
|
+
__props__.__dict__["condition_dictionary_value"] = condition_dictionary_value
|
802
|
+
__props__.__dict__["condition_id"] = condition_id
|
803
|
+
__props__.__dict__["condition_is_negate"] = condition_is_negate
|
804
|
+
__props__.__dict__["condition_operator"] = condition_operator
|
805
|
+
__props__.__dict__["condition_type"] = condition_type
|
806
|
+
__props__.__dict__["default"] = default
|
807
|
+
__props__.__dict__["description"] = description
|
808
|
+
__props__.__dict__["is_proxy"] = is_proxy
|
809
|
+
__props__.__dict__["name"] = name
|
810
|
+
__props__.__dict__["rank"] = rank
|
811
|
+
__props__.__dict__["service_name"] = service_name
|
812
|
+
__props__.__dict__["state"] = state
|
813
|
+
return PolicySet(resource_name, opts=opts, __props__=__props__)
|
814
|
+
|
815
|
+
@property
|
816
|
+
@pulumi.getter
|
817
|
+
def childrens(self) -> pulumi.Output[Optional[Sequence['outputs.PolicySetChildren']]]:
|
818
|
+
"""
|
819
|
+
List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`.
|
820
|
+
"""
|
821
|
+
return pulumi.get(self, "childrens")
|
822
|
+
|
823
|
+
@property
|
824
|
+
@pulumi.getter(name="conditionAttributeName")
|
825
|
+
def condition_attribute_name(self) -> pulumi.Output[Optional[str]]:
|
826
|
+
"""
|
827
|
+
Dictionary attribute name
|
828
|
+
"""
|
829
|
+
return pulumi.get(self, "condition_attribute_name")
|
830
|
+
|
831
|
+
@property
|
832
|
+
@pulumi.getter(name="conditionAttributeValue")
|
833
|
+
def condition_attribute_value(self) -> pulumi.Output[Optional[str]]:
|
834
|
+
"""
|
835
|
+
Attribute value for condition. Value type is specified in dictionary object.
|
836
|
+
"""
|
837
|
+
return pulumi.get(self, "condition_attribute_value")
|
838
|
+
|
839
|
+
@property
|
840
|
+
@pulumi.getter(name="conditionDictionaryName")
|
841
|
+
def condition_dictionary_name(self) -> pulumi.Output[Optional[str]]:
|
842
|
+
"""
|
843
|
+
Dictionary name
|
844
|
+
"""
|
845
|
+
return pulumi.get(self, "condition_dictionary_name")
|
846
|
+
|
847
|
+
@property
|
848
|
+
@pulumi.getter(name="conditionDictionaryValue")
|
849
|
+
def condition_dictionary_value(self) -> pulumi.Output[Optional[str]]:
|
850
|
+
"""
|
851
|
+
Dictionary value
|
852
|
+
"""
|
853
|
+
return pulumi.get(self, "condition_dictionary_value")
|
854
|
+
|
855
|
+
@property
|
856
|
+
@pulumi.getter(name="conditionId")
|
857
|
+
def condition_id(self) -> pulumi.Output[Optional[str]]:
|
858
|
+
"""
|
859
|
+
UUID for condition
|
860
|
+
"""
|
861
|
+
return pulumi.get(self, "condition_id")
|
862
|
+
|
863
|
+
@property
|
864
|
+
@pulumi.getter(name="conditionIsNegate")
|
865
|
+
def condition_is_negate(self) -> pulumi.Output[Optional[bool]]:
|
866
|
+
"""
|
867
|
+
Indicates whereas this condition is in negate mode
|
868
|
+
"""
|
869
|
+
return pulumi.get(self, "condition_is_negate")
|
870
|
+
|
871
|
+
@property
|
872
|
+
@pulumi.getter(name="conditionOperator")
|
873
|
+
def condition_operator(self) -> pulumi.Output[Optional[str]]:
|
874
|
+
"""
|
875
|
+
Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`,
|
876
|
+
`ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`,
|
877
|
+
`notEquals`, `notIn`, `notStartsWith`, `startsWith`
|
878
|
+
"""
|
879
|
+
return pulumi.get(self, "condition_operator")
|
880
|
+
|
881
|
+
@property
|
882
|
+
@pulumi.getter(name="conditionType")
|
883
|
+
def condition_type(self) -> pulumi.Output[Optional[str]]:
|
884
|
+
"""
|
885
|
+
Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that
|
886
|
+
additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`,
|
887
|
+
`ConditionOrBlock`, `ConditionReference`
|
888
|
+
"""
|
889
|
+
return pulumi.get(self, "condition_type")
|
890
|
+
|
891
|
+
@property
|
892
|
+
@pulumi.getter
|
893
|
+
def default(self) -> pulumi.Output[Optional[bool]]:
|
894
|
+
"""
|
895
|
+
Indicates if this policy set is the default one
|
896
|
+
"""
|
897
|
+
return pulumi.get(self, "default")
|
898
|
+
|
899
|
+
@property
|
900
|
+
@pulumi.getter
|
901
|
+
def description(self) -> pulumi.Output[Optional[str]]:
|
902
|
+
"""
|
903
|
+
The description of the policy set
|
904
|
+
"""
|
905
|
+
return pulumi.get(self, "description")
|
906
|
+
|
907
|
+
@property
|
908
|
+
@pulumi.getter(name="isProxy")
|
909
|
+
def is_proxy(self) -> pulumi.Output[Optional[bool]]:
|
910
|
+
"""
|
911
|
+
Flag which indicates if the policy set service is of type 'Proxy Sequence' or 'Allowed Protocols'
|
912
|
+
"""
|
913
|
+
return pulumi.get(self, "is_proxy")
|
914
|
+
|
915
|
+
@property
|
916
|
+
@pulumi.getter
|
917
|
+
def name(self) -> pulumi.Output[str]:
|
918
|
+
"""
|
919
|
+
Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
|
920
|
+
"""
|
921
|
+
return pulumi.get(self, "name")
|
922
|
+
|
923
|
+
@property
|
924
|
+
@pulumi.getter
|
925
|
+
def rank(self) -> pulumi.Output[Optional[int]]:
|
926
|
+
"""
|
927
|
+
The rank (priority) in relation to other policy sets. Lower rank is higher priority.
|
928
|
+
"""
|
929
|
+
return pulumi.get(self, "rank")
|
930
|
+
|
931
|
+
@property
|
932
|
+
@pulumi.getter(name="serviceName")
|
933
|
+
def service_name(self) -> pulumi.Output[str]:
|
934
|
+
"""
|
935
|
+
Policy set service identifier. 'Allowed Protocols' or 'Server Sequence'.
|
936
|
+
"""
|
937
|
+
return pulumi.get(self, "service_name")
|
938
|
+
|
939
|
+
@property
|
940
|
+
@pulumi.getter
|
941
|
+
def state(self) -> pulumi.Output[Optional[str]]:
|
942
|
+
"""
|
943
|
+
The state that the policy set is in. A disabled policy set cannot be matched. - Choices: `disabled`, `enabled`,
|
944
|
+
`monitor`
|
945
|
+
"""
|
946
|
+
return pulumi.get(self, "state")
|
947
|
+
|