pulumi-ise 0.2.0a1736833585__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- 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.0a1736833585.dist-info/METADATA +64 -0
- pulumi_ise-0.2.0a1736833585.dist-info/RECORD +119 -0
- pulumi_ise-0.2.0a1736833585.dist-info/WHEEL +5 -0
- pulumi_ise-0.2.0a1736833585.dist-info/top_level.txt +1 -0
@@ -0,0 +1,525 @@
|
|
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
|
+
|
17
|
+
__all__ = ['CertificateAuthenticationProfileArgs', 'CertificateAuthenticationProfile']
|
18
|
+
|
19
|
+
@pulumi.input_type
|
20
|
+
class CertificateAuthenticationProfileArgs:
|
21
|
+
def __init__(__self__, *,
|
22
|
+
allowed_as_user_name: Optional[pulumi.Input[bool]] = None,
|
23
|
+
certificate_attribute_name: Optional[pulumi.Input[str]] = None,
|
24
|
+
description: Optional[pulumi.Input[str]] = None,
|
25
|
+
external_identity_store_name: Optional[pulumi.Input[str]] = None,
|
26
|
+
match_mode: Optional[pulumi.Input[str]] = None,
|
27
|
+
name: Optional[pulumi.Input[str]] = None,
|
28
|
+
username_from: Optional[pulumi.Input[str]] = None):
|
29
|
+
"""
|
30
|
+
The set of arguments for constructing a CertificateAuthenticationProfile resource.
|
31
|
+
:param pulumi.Input[bool] allowed_as_user_name: Allow as username - Default value: `false`
|
32
|
+
:param pulumi.Input[str] certificate_attribute_name: Attribute name of the Certificate Profile - used only when CERTIFICATE is chosen in `username_from`. - Choices:
|
33
|
+
`SUBJECT_COMMON_NAME`, `SUBJECT_ALTERNATIVE_NAME`, `SUBJECT_SERIAL_NUMBER`, `SUBJECT`,
|
34
|
+
`SUBJECT_ALTERNATIVE_NAME_OTHER_NAME`, `SUBJECT_ALTERNATIVE_NAME_EMAIL`, `SUBJECT_ALTERNATIVE_NAME_DNS` - Default value:
|
35
|
+
`SUBJECT_COMMON_NAME`
|
36
|
+
:param pulumi.Input[str] description: Description
|
37
|
+
:param pulumi.Input[str] external_identity_store_name: Referred IDStore name for the Certificate Profile or `[not applicable]` in case no identity store is chosen - Default
|
38
|
+
value: `[not applicable]`
|
39
|
+
:param pulumi.Input[str] match_mode: Match mode of the Certificate Profile. Allowed values: NEVER, RESOLVE_IDENTITY_AMBIGUITY, BINARY_COMPARISON - Choices:
|
40
|
+
`NEVER`, `RESOLVE_IDENTITY_AMBIGUITY`, `BINARY_COMPARISON` - Default value: `NEVER`
|
41
|
+
:param pulumi.Input[str] name: The name of the certificate profile
|
42
|
+
:param pulumi.Input[str] username_from: The attribute in the certificate where the user name should be taken from. Allowed values: `CERTIFICATE` (for a specific
|
43
|
+
attribute as defined in certificateAttributeName), `UPN` (for using any Subject or Alternative Name Attributes in the
|
44
|
+
Certificate - an option only in AD) - Choices: `CERTIFICATE`, `UPN` - Default value: `CERTIFICATE`
|
45
|
+
"""
|
46
|
+
if allowed_as_user_name is not None:
|
47
|
+
pulumi.set(__self__, "allowed_as_user_name", allowed_as_user_name)
|
48
|
+
if certificate_attribute_name is not None:
|
49
|
+
pulumi.set(__self__, "certificate_attribute_name", certificate_attribute_name)
|
50
|
+
if description is not None:
|
51
|
+
pulumi.set(__self__, "description", description)
|
52
|
+
if external_identity_store_name is not None:
|
53
|
+
pulumi.set(__self__, "external_identity_store_name", external_identity_store_name)
|
54
|
+
if match_mode is not None:
|
55
|
+
pulumi.set(__self__, "match_mode", match_mode)
|
56
|
+
if name is not None:
|
57
|
+
pulumi.set(__self__, "name", name)
|
58
|
+
if username_from is not None:
|
59
|
+
pulumi.set(__self__, "username_from", username_from)
|
60
|
+
|
61
|
+
@property
|
62
|
+
@pulumi.getter(name="allowedAsUserName")
|
63
|
+
def allowed_as_user_name(self) -> Optional[pulumi.Input[bool]]:
|
64
|
+
"""
|
65
|
+
Allow as username - Default value: `false`
|
66
|
+
"""
|
67
|
+
return pulumi.get(self, "allowed_as_user_name")
|
68
|
+
|
69
|
+
@allowed_as_user_name.setter
|
70
|
+
def allowed_as_user_name(self, value: Optional[pulumi.Input[bool]]):
|
71
|
+
pulumi.set(self, "allowed_as_user_name", value)
|
72
|
+
|
73
|
+
@property
|
74
|
+
@pulumi.getter(name="certificateAttributeName")
|
75
|
+
def certificate_attribute_name(self) -> Optional[pulumi.Input[str]]:
|
76
|
+
"""
|
77
|
+
Attribute name of the Certificate Profile - used only when CERTIFICATE is chosen in `username_from`. - Choices:
|
78
|
+
`SUBJECT_COMMON_NAME`, `SUBJECT_ALTERNATIVE_NAME`, `SUBJECT_SERIAL_NUMBER`, `SUBJECT`,
|
79
|
+
`SUBJECT_ALTERNATIVE_NAME_OTHER_NAME`, `SUBJECT_ALTERNATIVE_NAME_EMAIL`, `SUBJECT_ALTERNATIVE_NAME_DNS` - Default value:
|
80
|
+
`SUBJECT_COMMON_NAME`
|
81
|
+
"""
|
82
|
+
return pulumi.get(self, "certificate_attribute_name")
|
83
|
+
|
84
|
+
@certificate_attribute_name.setter
|
85
|
+
def certificate_attribute_name(self, value: Optional[pulumi.Input[str]]):
|
86
|
+
pulumi.set(self, "certificate_attribute_name", value)
|
87
|
+
|
88
|
+
@property
|
89
|
+
@pulumi.getter
|
90
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
91
|
+
"""
|
92
|
+
Description
|
93
|
+
"""
|
94
|
+
return pulumi.get(self, "description")
|
95
|
+
|
96
|
+
@description.setter
|
97
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
98
|
+
pulumi.set(self, "description", value)
|
99
|
+
|
100
|
+
@property
|
101
|
+
@pulumi.getter(name="externalIdentityStoreName")
|
102
|
+
def external_identity_store_name(self) -> Optional[pulumi.Input[str]]:
|
103
|
+
"""
|
104
|
+
Referred IDStore name for the Certificate Profile or `[not applicable]` in case no identity store is chosen - Default
|
105
|
+
value: `[not applicable]`
|
106
|
+
"""
|
107
|
+
return pulumi.get(self, "external_identity_store_name")
|
108
|
+
|
109
|
+
@external_identity_store_name.setter
|
110
|
+
def external_identity_store_name(self, value: Optional[pulumi.Input[str]]):
|
111
|
+
pulumi.set(self, "external_identity_store_name", value)
|
112
|
+
|
113
|
+
@property
|
114
|
+
@pulumi.getter(name="matchMode")
|
115
|
+
def match_mode(self) -> Optional[pulumi.Input[str]]:
|
116
|
+
"""
|
117
|
+
Match mode of the Certificate Profile. Allowed values: NEVER, RESOLVE_IDENTITY_AMBIGUITY, BINARY_COMPARISON - Choices:
|
118
|
+
`NEVER`, `RESOLVE_IDENTITY_AMBIGUITY`, `BINARY_COMPARISON` - Default value: `NEVER`
|
119
|
+
"""
|
120
|
+
return pulumi.get(self, "match_mode")
|
121
|
+
|
122
|
+
@match_mode.setter
|
123
|
+
def match_mode(self, value: Optional[pulumi.Input[str]]):
|
124
|
+
pulumi.set(self, "match_mode", value)
|
125
|
+
|
126
|
+
@property
|
127
|
+
@pulumi.getter
|
128
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
129
|
+
"""
|
130
|
+
The name of the certificate profile
|
131
|
+
"""
|
132
|
+
return pulumi.get(self, "name")
|
133
|
+
|
134
|
+
@name.setter
|
135
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
136
|
+
pulumi.set(self, "name", value)
|
137
|
+
|
138
|
+
@property
|
139
|
+
@pulumi.getter(name="usernameFrom")
|
140
|
+
def username_from(self) -> Optional[pulumi.Input[str]]:
|
141
|
+
"""
|
142
|
+
The attribute in the certificate where the user name should be taken from. Allowed values: `CERTIFICATE` (for a specific
|
143
|
+
attribute as defined in certificateAttributeName), `UPN` (for using any Subject or Alternative Name Attributes in the
|
144
|
+
Certificate - an option only in AD) - Choices: `CERTIFICATE`, `UPN` - Default value: `CERTIFICATE`
|
145
|
+
"""
|
146
|
+
return pulumi.get(self, "username_from")
|
147
|
+
|
148
|
+
@username_from.setter
|
149
|
+
def username_from(self, value: Optional[pulumi.Input[str]]):
|
150
|
+
pulumi.set(self, "username_from", value)
|
151
|
+
|
152
|
+
|
153
|
+
@pulumi.input_type
|
154
|
+
class _CertificateAuthenticationProfileState:
|
155
|
+
def __init__(__self__, *,
|
156
|
+
allowed_as_user_name: Optional[pulumi.Input[bool]] = None,
|
157
|
+
certificate_attribute_name: Optional[pulumi.Input[str]] = None,
|
158
|
+
description: Optional[pulumi.Input[str]] = None,
|
159
|
+
external_identity_store_name: Optional[pulumi.Input[str]] = None,
|
160
|
+
match_mode: Optional[pulumi.Input[str]] = None,
|
161
|
+
name: Optional[pulumi.Input[str]] = None,
|
162
|
+
username_from: Optional[pulumi.Input[str]] = None):
|
163
|
+
"""
|
164
|
+
Input properties used for looking up and filtering CertificateAuthenticationProfile resources.
|
165
|
+
:param pulumi.Input[bool] allowed_as_user_name: Allow as username - Default value: `false`
|
166
|
+
:param pulumi.Input[str] certificate_attribute_name: Attribute name of the Certificate Profile - used only when CERTIFICATE is chosen in `username_from`. - Choices:
|
167
|
+
`SUBJECT_COMMON_NAME`, `SUBJECT_ALTERNATIVE_NAME`, `SUBJECT_SERIAL_NUMBER`, `SUBJECT`,
|
168
|
+
`SUBJECT_ALTERNATIVE_NAME_OTHER_NAME`, `SUBJECT_ALTERNATIVE_NAME_EMAIL`, `SUBJECT_ALTERNATIVE_NAME_DNS` - Default value:
|
169
|
+
`SUBJECT_COMMON_NAME`
|
170
|
+
:param pulumi.Input[str] description: Description
|
171
|
+
:param pulumi.Input[str] external_identity_store_name: Referred IDStore name for the Certificate Profile or `[not applicable]` in case no identity store is chosen - Default
|
172
|
+
value: `[not applicable]`
|
173
|
+
:param pulumi.Input[str] match_mode: Match mode of the Certificate Profile. Allowed values: NEVER, RESOLVE_IDENTITY_AMBIGUITY, BINARY_COMPARISON - Choices:
|
174
|
+
`NEVER`, `RESOLVE_IDENTITY_AMBIGUITY`, `BINARY_COMPARISON` - Default value: `NEVER`
|
175
|
+
:param pulumi.Input[str] name: The name of the certificate profile
|
176
|
+
:param pulumi.Input[str] username_from: The attribute in the certificate where the user name should be taken from. Allowed values: `CERTIFICATE` (for a specific
|
177
|
+
attribute as defined in certificateAttributeName), `UPN` (for using any Subject or Alternative Name Attributes in the
|
178
|
+
Certificate - an option only in AD) - Choices: `CERTIFICATE`, `UPN` - Default value: `CERTIFICATE`
|
179
|
+
"""
|
180
|
+
if allowed_as_user_name is not None:
|
181
|
+
pulumi.set(__self__, "allowed_as_user_name", allowed_as_user_name)
|
182
|
+
if certificate_attribute_name is not None:
|
183
|
+
pulumi.set(__self__, "certificate_attribute_name", certificate_attribute_name)
|
184
|
+
if description is not None:
|
185
|
+
pulumi.set(__self__, "description", description)
|
186
|
+
if external_identity_store_name is not None:
|
187
|
+
pulumi.set(__self__, "external_identity_store_name", external_identity_store_name)
|
188
|
+
if match_mode is not None:
|
189
|
+
pulumi.set(__self__, "match_mode", match_mode)
|
190
|
+
if name is not None:
|
191
|
+
pulumi.set(__self__, "name", name)
|
192
|
+
if username_from is not None:
|
193
|
+
pulumi.set(__self__, "username_from", username_from)
|
194
|
+
|
195
|
+
@property
|
196
|
+
@pulumi.getter(name="allowedAsUserName")
|
197
|
+
def allowed_as_user_name(self) -> Optional[pulumi.Input[bool]]:
|
198
|
+
"""
|
199
|
+
Allow as username - Default value: `false`
|
200
|
+
"""
|
201
|
+
return pulumi.get(self, "allowed_as_user_name")
|
202
|
+
|
203
|
+
@allowed_as_user_name.setter
|
204
|
+
def allowed_as_user_name(self, value: Optional[pulumi.Input[bool]]):
|
205
|
+
pulumi.set(self, "allowed_as_user_name", value)
|
206
|
+
|
207
|
+
@property
|
208
|
+
@pulumi.getter(name="certificateAttributeName")
|
209
|
+
def certificate_attribute_name(self) -> Optional[pulumi.Input[str]]:
|
210
|
+
"""
|
211
|
+
Attribute name of the Certificate Profile - used only when CERTIFICATE is chosen in `username_from`. - Choices:
|
212
|
+
`SUBJECT_COMMON_NAME`, `SUBJECT_ALTERNATIVE_NAME`, `SUBJECT_SERIAL_NUMBER`, `SUBJECT`,
|
213
|
+
`SUBJECT_ALTERNATIVE_NAME_OTHER_NAME`, `SUBJECT_ALTERNATIVE_NAME_EMAIL`, `SUBJECT_ALTERNATIVE_NAME_DNS` - Default value:
|
214
|
+
`SUBJECT_COMMON_NAME`
|
215
|
+
"""
|
216
|
+
return pulumi.get(self, "certificate_attribute_name")
|
217
|
+
|
218
|
+
@certificate_attribute_name.setter
|
219
|
+
def certificate_attribute_name(self, value: Optional[pulumi.Input[str]]):
|
220
|
+
pulumi.set(self, "certificate_attribute_name", value)
|
221
|
+
|
222
|
+
@property
|
223
|
+
@pulumi.getter
|
224
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
225
|
+
"""
|
226
|
+
Description
|
227
|
+
"""
|
228
|
+
return pulumi.get(self, "description")
|
229
|
+
|
230
|
+
@description.setter
|
231
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
232
|
+
pulumi.set(self, "description", value)
|
233
|
+
|
234
|
+
@property
|
235
|
+
@pulumi.getter(name="externalIdentityStoreName")
|
236
|
+
def external_identity_store_name(self) -> Optional[pulumi.Input[str]]:
|
237
|
+
"""
|
238
|
+
Referred IDStore name for the Certificate Profile or `[not applicable]` in case no identity store is chosen - Default
|
239
|
+
value: `[not applicable]`
|
240
|
+
"""
|
241
|
+
return pulumi.get(self, "external_identity_store_name")
|
242
|
+
|
243
|
+
@external_identity_store_name.setter
|
244
|
+
def external_identity_store_name(self, value: Optional[pulumi.Input[str]]):
|
245
|
+
pulumi.set(self, "external_identity_store_name", value)
|
246
|
+
|
247
|
+
@property
|
248
|
+
@pulumi.getter(name="matchMode")
|
249
|
+
def match_mode(self) -> Optional[pulumi.Input[str]]:
|
250
|
+
"""
|
251
|
+
Match mode of the Certificate Profile. Allowed values: NEVER, RESOLVE_IDENTITY_AMBIGUITY, BINARY_COMPARISON - Choices:
|
252
|
+
`NEVER`, `RESOLVE_IDENTITY_AMBIGUITY`, `BINARY_COMPARISON` - Default value: `NEVER`
|
253
|
+
"""
|
254
|
+
return pulumi.get(self, "match_mode")
|
255
|
+
|
256
|
+
@match_mode.setter
|
257
|
+
def match_mode(self, value: Optional[pulumi.Input[str]]):
|
258
|
+
pulumi.set(self, "match_mode", value)
|
259
|
+
|
260
|
+
@property
|
261
|
+
@pulumi.getter
|
262
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
263
|
+
"""
|
264
|
+
The name of the certificate profile
|
265
|
+
"""
|
266
|
+
return pulumi.get(self, "name")
|
267
|
+
|
268
|
+
@name.setter
|
269
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
270
|
+
pulumi.set(self, "name", value)
|
271
|
+
|
272
|
+
@property
|
273
|
+
@pulumi.getter(name="usernameFrom")
|
274
|
+
def username_from(self) -> Optional[pulumi.Input[str]]:
|
275
|
+
"""
|
276
|
+
The attribute in the certificate where the user name should be taken from. Allowed values: `CERTIFICATE` (for a specific
|
277
|
+
attribute as defined in certificateAttributeName), `UPN` (for using any Subject or Alternative Name Attributes in the
|
278
|
+
Certificate - an option only in AD) - Choices: `CERTIFICATE`, `UPN` - Default value: `CERTIFICATE`
|
279
|
+
"""
|
280
|
+
return pulumi.get(self, "username_from")
|
281
|
+
|
282
|
+
@username_from.setter
|
283
|
+
def username_from(self, value: Optional[pulumi.Input[str]]):
|
284
|
+
pulumi.set(self, "username_from", value)
|
285
|
+
|
286
|
+
|
287
|
+
class CertificateAuthenticationProfile(pulumi.CustomResource):
|
288
|
+
@overload
|
289
|
+
def __init__(__self__,
|
290
|
+
resource_name: str,
|
291
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
292
|
+
allowed_as_user_name: Optional[pulumi.Input[bool]] = None,
|
293
|
+
certificate_attribute_name: Optional[pulumi.Input[str]] = None,
|
294
|
+
description: Optional[pulumi.Input[str]] = None,
|
295
|
+
external_identity_store_name: Optional[pulumi.Input[str]] = None,
|
296
|
+
match_mode: Optional[pulumi.Input[str]] = None,
|
297
|
+
name: Optional[pulumi.Input[str]] = None,
|
298
|
+
username_from: Optional[pulumi.Input[str]] = None,
|
299
|
+
__props__=None):
|
300
|
+
"""
|
301
|
+
This resource can manage a Certificate Authentication Profile.
|
302
|
+
|
303
|
+
## Example Usage
|
304
|
+
|
305
|
+
```python
|
306
|
+
import pulumi
|
307
|
+
import pulumi_ise as ise
|
308
|
+
|
309
|
+
example = ise.identitymanagement.CertificateAuthenticationProfile("example",
|
310
|
+
name="CertProf1",
|
311
|
+
description="My cert profile",
|
312
|
+
allowed_as_user_name=False,
|
313
|
+
external_identity_store_name="[not applicable]",
|
314
|
+
certificate_attribute_name="SUBJECT_COMMON_NAME",
|
315
|
+
match_mode="NEVER",
|
316
|
+
username_from="CERTIFICATE")
|
317
|
+
```
|
318
|
+
|
319
|
+
## Import
|
320
|
+
|
321
|
+
```sh
|
322
|
+
$ pulumi import ise:identitymanagement/certificateAuthenticationProfile:CertificateAuthenticationProfile example "76d24097-41c4-4558-a4d0-a8c07ac08470"
|
323
|
+
```
|
324
|
+
|
325
|
+
:param str resource_name: The name of the resource.
|
326
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
327
|
+
:param pulumi.Input[bool] allowed_as_user_name: Allow as username - Default value: `false`
|
328
|
+
:param pulumi.Input[str] certificate_attribute_name: Attribute name of the Certificate Profile - used only when CERTIFICATE is chosen in `username_from`. - Choices:
|
329
|
+
`SUBJECT_COMMON_NAME`, `SUBJECT_ALTERNATIVE_NAME`, `SUBJECT_SERIAL_NUMBER`, `SUBJECT`,
|
330
|
+
`SUBJECT_ALTERNATIVE_NAME_OTHER_NAME`, `SUBJECT_ALTERNATIVE_NAME_EMAIL`, `SUBJECT_ALTERNATIVE_NAME_DNS` - Default value:
|
331
|
+
`SUBJECT_COMMON_NAME`
|
332
|
+
:param pulumi.Input[str] description: Description
|
333
|
+
:param pulumi.Input[str] external_identity_store_name: Referred IDStore name for the Certificate Profile or `[not applicable]` in case no identity store is chosen - Default
|
334
|
+
value: `[not applicable]`
|
335
|
+
:param pulumi.Input[str] match_mode: Match mode of the Certificate Profile. Allowed values: NEVER, RESOLVE_IDENTITY_AMBIGUITY, BINARY_COMPARISON - Choices:
|
336
|
+
`NEVER`, `RESOLVE_IDENTITY_AMBIGUITY`, `BINARY_COMPARISON` - Default value: `NEVER`
|
337
|
+
:param pulumi.Input[str] name: The name of the certificate profile
|
338
|
+
:param pulumi.Input[str] username_from: The attribute in the certificate where the user name should be taken from. Allowed values: `CERTIFICATE` (for a specific
|
339
|
+
attribute as defined in certificateAttributeName), `UPN` (for using any Subject or Alternative Name Attributes in the
|
340
|
+
Certificate - an option only in AD) - Choices: `CERTIFICATE`, `UPN` - Default value: `CERTIFICATE`
|
341
|
+
"""
|
342
|
+
...
|
343
|
+
@overload
|
344
|
+
def __init__(__self__,
|
345
|
+
resource_name: str,
|
346
|
+
args: Optional[CertificateAuthenticationProfileArgs] = None,
|
347
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
348
|
+
"""
|
349
|
+
This resource can manage a Certificate Authentication Profile.
|
350
|
+
|
351
|
+
## Example Usage
|
352
|
+
|
353
|
+
```python
|
354
|
+
import pulumi
|
355
|
+
import pulumi_ise as ise
|
356
|
+
|
357
|
+
example = ise.identitymanagement.CertificateAuthenticationProfile("example",
|
358
|
+
name="CertProf1",
|
359
|
+
description="My cert profile",
|
360
|
+
allowed_as_user_name=False,
|
361
|
+
external_identity_store_name="[not applicable]",
|
362
|
+
certificate_attribute_name="SUBJECT_COMMON_NAME",
|
363
|
+
match_mode="NEVER",
|
364
|
+
username_from="CERTIFICATE")
|
365
|
+
```
|
366
|
+
|
367
|
+
## Import
|
368
|
+
|
369
|
+
```sh
|
370
|
+
$ pulumi import ise:identitymanagement/certificateAuthenticationProfile:CertificateAuthenticationProfile example "76d24097-41c4-4558-a4d0-a8c07ac08470"
|
371
|
+
```
|
372
|
+
|
373
|
+
:param str resource_name: The name of the resource.
|
374
|
+
:param CertificateAuthenticationProfileArgs args: The arguments to use to populate this resource's properties.
|
375
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
376
|
+
"""
|
377
|
+
...
|
378
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
379
|
+
resource_args, opts = _utilities.get_resource_args_opts(CertificateAuthenticationProfileArgs, pulumi.ResourceOptions, *args, **kwargs)
|
380
|
+
if resource_args is not None:
|
381
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
382
|
+
else:
|
383
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
384
|
+
|
385
|
+
def _internal_init(__self__,
|
386
|
+
resource_name: str,
|
387
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
388
|
+
allowed_as_user_name: Optional[pulumi.Input[bool]] = None,
|
389
|
+
certificate_attribute_name: Optional[pulumi.Input[str]] = None,
|
390
|
+
description: Optional[pulumi.Input[str]] = None,
|
391
|
+
external_identity_store_name: Optional[pulumi.Input[str]] = None,
|
392
|
+
match_mode: Optional[pulumi.Input[str]] = None,
|
393
|
+
name: Optional[pulumi.Input[str]] = None,
|
394
|
+
username_from: Optional[pulumi.Input[str]] = None,
|
395
|
+
__props__=None):
|
396
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
397
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
398
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
399
|
+
if opts.id is None:
|
400
|
+
if __props__ is not None:
|
401
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
402
|
+
__props__ = CertificateAuthenticationProfileArgs.__new__(CertificateAuthenticationProfileArgs)
|
403
|
+
|
404
|
+
__props__.__dict__["allowed_as_user_name"] = allowed_as_user_name
|
405
|
+
__props__.__dict__["certificate_attribute_name"] = certificate_attribute_name
|
406
|
+
__props__.__dict__["description"] = description
|
407
|
+
__props__.__dict__["external_identity_store_name"] = external_identity_store_name
|
408
|
+
__props__.__dict__["match_mode"] = match_mode
|
409
|
+
__props__.__dict__["name"] = name
|
410
|
+
__props__.__dict__["username_from"] = username_from
|
411
|
+
super(CertificateAuthenticationProfile, __self__).__init__(
|
412
|
+
'ise:identitymanagement/certificateAuthenticationProfile:CertificateAuthenticationProfile',
|
413
|
+
resource_name,
|
414
|
+
__props__,
|
415
|
+
opts)
|
416
|
+
|
417
|
+
@staticmethod
|
418
|
+
def get(resource_name: str,
|
419
|
+
id: pulumi.Input[str],
|
420
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
421
|
+
allowed_as_user_name: Optional[pulumi.Input[bool]] = None,
|
422
|
+
certificate_attribute_name: Optional[pulumi.Input[str]] = None,
|
423
|
+
description: Optional[pulumi.Input[str]] = None,
|
424
|
+
external_identity_store_name: Optional[pulumi.Input[str]] = None,
|
425
|
+
match_mode: Optional[pulumi.Input[str]] = None,
|
426
|
+
name: Optional[pulumi.Input[str]] = None,
|
427
|
+
username_from: Optional[pulumi.Input[str]] = None) -> 'CertificateAuthenticationProfile':
|
428
|
+
"""
|
429
|
+
Get an existing CertificateAuthenticationProfile resource's state with the given name, id, and optional extra
|
430
|
+
properties used to qualify the lookup.
|
431
|
+
|
432
|
+
:param str resource_name: The unique name of the resulting resource.
|
433
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
434
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
435
|
+
:param pulumi.Input[bool] allowed_as_user_name: Allow as username - Default value: `false`
|
436
|
+
:param pulumi.Input[str] certificate_attribute_name: Attribute name of the Certificate Profile - used only when CERTIFICATE is chosen in `username_from`. - Choices:
|
437
|
+
`SUBJECT_COMMON_NAME`, `SUBJECT_ALTERNATIVE_NAME`, `SUBJECT_SERIAL_NUMBER`, `SUBJECT`,
|
438
|
+
`SUBJECT_ALTERNATIVE_NAME_OTHER_NAME`, `SUBJECT_ALTERNATIVE_NAME_EMAIL`, `SUBJECT_ALTERNATIVE_NAME_DNS` - Default value:
|
439
|
+
`SUBJECT_COMMON_NAME`
|
440
|
+
:param pulumi.Input[str] description: Description
|
441
|
+
:param pulumi.Input[str] external_identity_store_name: Referred IDStore name for the Certificate Profile or `[not applicable]` in case no identity store is chosen - Default
|
442
|
+
value: `[not applicable]`
|
443
|
+
:param pulumi.Input[str] match_mode: Match mode of the Certificate Profile. Allowed values: NEVER, RESOLVE_IDENTITY_AMBIGUITY, BINARY_COMPARISON - Choices:
|
444
|
+
`NEVER`, `RESOLVE_IDENTITY_AMBIGUITY`, `BINARY_COMPARISON` - Default value: `NEVER`
|
445
|
+
:param pulumi.Input[str] name: The name of the certificate profile
|
446
|
+
:param pulumi.Input[str] username_from: The attribute in the certificate where the user name should be taken from. Allowed values: `CERTIFICATE` (for a specific
|
447
|
+
attribute as defined in certificateAttributeName), `UPN` (for using any Subject or Alternative Name Attributes in the
|
448
|
+
Certificate - an option only in AD) - Choices: `CERTIFICATE`, `UPN` - Default value: `CERTIFICATE`
|
449
|
+
"""
|
450
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
451
|
+
|
452
|
+
__props__ = _CertificateAuthenticationProfileState.__new__(_CertificateAuthenticationProfileState)
|
453
|
+
|
454
|
+
__props__.__dict__["allowed_as_user_name"] = allowed_as_user_name
|
455
|
+
__props__.__dict__["certificate_attribute_name"] = certificate_attribute_name
|
456
|
+
__props__.__dict__["description"] = description
|
457
|
+
__props__.__dict__["external_identity_store_name"] = external_identity_store_name
|
458
|
+
__props__.__dict__["match_mode"] = match_mode
|
459
|
+
__props__.__dict__["name"] = name
|
460
|
+
__props__.__dict__["username_from"] = username_from
|
461
|
+
return CertificateAuthenticationProfile(resource_name, opts=opts, __props__=__props__)
|
462
|
+
|
463
|
+
@property
|
464
|
+
@pulumi.getter(name="allowedAsUserName")
|
465
|
+
def allowed_as_user_name(self) -> pulumi.Output[bool]:
|
466
|
+
"""
|
467
|
+
Allow as username - Default value: `false`
|
468
|
+
"""
|
469
|
+
return pulumi.get(self, "allowed_as_user_name")
|
470
|
+
|
471
|
+
@property
|
472
|
+
@pulumi.getter(name="certificateAttributeName")
|
473
|
+
def certificate_attribute_name(self) -> pulumi.Output[str]:
|
474
|
+
"""
|
475
|
+
Attribute name of the Certificate Profile - used only when CERTIFICATE is chosen in `username_from`. - Choices:
|
476
|
+
`SUBJECT_COMMON_NAME`, `SUBJECT_ALTERNATIVE_NAME`, `SUBJECT_SERIAL_NUMBER`, `SUBJECT`,
|
477
|
+
`SUBJECT_ALTERNATIVE_NAME_OTHER_NAME`, `SUBJECT_ALTERNATIVE_NAME_EMAIL`, `SUBJECT_ALTERNATIVE_NAME_DNS` - Default value:
|
478
|
+
`SUBJECT_COMMON_NAME`
|
479
|
+
"""
|
480
|
+
return pulumi.get(self, "certificate_attribute_name")
|
481
|
+
|
482
|
+
@property
|
483
|
+
@pulumi.getter
|
484
|
+
def description(self) -> pulumi.Output[Optional[str]]:
|
485
|
+
"""
|
486
|
+
Description
|
487
|
+
"""
|
488
|
+
return pulumi.get(self, "description")
|
489
|
+
|
490
|
+
@property
|
491
|
+
@pulumi.getter(name="externalIdentityStoreName")
|
492
|
+
def external_identity_store_name(self) -> pulumi.Output[str]:
|
493
|
+
"""
|
494
|
+
Referred IDStore name for the Certificate Profile or `[not applicable]` in case no identity store is chosen - Default
|
495
|
+
value: `[not applicable]`
|
496
|
+
"""
|
497
|
+
return pulumi.get(self, "external_identity_store_name")
|
498
|
+
|
499
|
+
@property
|
500
|
+
@pulumi.getter(name="matchMode")
|
501
|
+
def match_mode(self) -> pulumi.Output[str]:
|
502
|
+
"""
|
503
|
+
Match mode of the Certificate Profile. Allowed values: NEVER, RESOLVE_IDENTITY_AMBIGUITY, BINARY_COMPARISON - Choices:
|
504
|
+
`NEVER`, `RESOLVE_IDENTITY_AMBIGUITY`, `BINARY_COMPARISON` - Default value: `NEVER`
|
505
|
+
"""
|
506
|
+
return pulumi.get(self, "match_mode")
|
507
|
+
|
508
|
+
@property
|
509
|
+
@pulumi.getter
|
510
|
+
def name(self) -> pulumi.Output[str]:
|
511
|
+
"""
|
512
|
+
The name of the certificate profile
|
513
|
+
"""
|
514
|
+
return pulumi.get(self, "name")
|
515
|
+
|
516
|
+
@property
|
517
|
+
@pulumi.getter(name="usernameFrom")
|
518
|
+
def username_from(self) -> pulumi.Output[str]:
|
519
|
+
"""
|
520
|
+
The attribute in the certificate where the user name should be taken from. Allowed values: `CERTIFICATE` (for a specific
|
521
|
+
attribute as defined in certificateAttributeName), `UPN` (for using any Subject or Alternative Name Attributes in the
|
522
|
+
Certificate - an option only in AD) - Choices: `CERTIFICATE`, `UPN` - Default value: `CERTIFICATE`
|
523
|
+
"""
|
524
|
+
return pulumi.get(self, "username_from")
|
525
|
+
|