pulumi-ise 0.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. pulumi_ise/__init__.py +362 -0
  2. pulumi_ise/_utilities.py +291 -0
  3. pulumi_ise/config/__init__.py +8 -0
  4. pulumi_ise/config/__init__.pyi +36 -0
  5. pulumi_ise/config/vars.py +52 -0
  6. pulumi_ise/deviceadmin/__init__.py +29 -0
  7. pulumi_ise/deviceadmin/_inputs.py +1952 -0
  8. pulumi_ise/deviceadmin/allowed_protocols_tacacs.py +376 -0
  9. pulumi_ise/deviceadmin/authentication_rule.py +1045 -0
  10. pulumi_ise/deviceadmin/authorization_exception_rule.py +937 -0
  11. pulumi_ise/deviceadmin/authorization_global_exception_rule.py +887 -0
  12. pulumi_ise/deviceadmin/authorization_rule.py +937 -0
  13. pulumi_ise/deviceadmin/condition.py +645 -0
  14. pulumi_ise/deviceadmin/get_allowed_protocols_tacacs.py +161 -0
  15. pulumi_ise/deviceadmin/get_authentication_rule.py +338 -0
  16. pulumi_ise/deviceadmin/get_authorization_exception_rule.py +312 -0
  17. pulumi_ise/deviceadmin/get_authorization_global_exception_rule.py +292 -0
  18. pulumi_ise/deviceadmin/get_authorization_rule.py +312 -0
  19. pulumi_ise/deviceadmin/get_condition.py +227 -0
  20. pulumi_ise/deviceadmin/get_policy_set.py +305 -0
  21. pulumi_ise/deviceadmin/get_tacacs_command_set.py +146 -0
  22. pulumi_ise/deviceadmin/get_tacacs_profile.py +133 -0
  23. pulumi_ise/deviceadmin/get_time_and_date_condition.py +265 -0
  24. pulumi_ise/deviceadmin/outputs.py +3173 -0
  25. pulumi_ise/deviceadmin/policy_set.py +942 -0
  26. pulumi_ise/deviceadmin/tacacs_command_set.py +321 -0
  27. pulumi_ise/deviceadmin/tacacs_profile.py +272 -0
  28. pulumi_ise/deviceadmin/time_and_date_condition.py +765 -0
  29. pulumi_ise/identitymanagement/__init__.py +26 -0
  30. pulumi_ise/identitymanagement/_inputs.py +313 -0
  31. pulumi_ise/identitymanagement/active_directory_add_groups.py +478 -0
  32. pulumi_ise/identitymanagement/active_directory_join_domain_with_all_nodes.py +211 -0
  33. pulumi_ise/identitymanagement/active_directory_join_point.py +1671 -0
  34. pulumi_ise/identitymanagement/certificate_authentication_profile.py +520 -0
  35. pulumi_ise/identitymanagement/endpoint.py +1371 -0
  36. pulumi_ise/identitymanagement/endpoint_identity_group.py +322 -0
  37. pulumi_ise/identitymanagement/get_active_directory_groups_by_domain.py +198 -0
  38. pulumi_ise/identitymanagement/get_active_directory_join_point.py +518 -0
  39. pulumi_ise/identitymanagement/get_certificate_authentication_profile.py +187 -0
  40. pulumi_ise/identitymanagement/get_endpoint.py +434 -0
  41. pulumi_ise/identitymanagement/get_endpoint_identity_group.py +148 -0
  42. pulumi_ise/identitymanagement/get_identity_source_sequence.py +159 -0
  43. pulumi_ise/identitymanagement/get_internal_user.py +278 -0
  44. pulumi_ise/identitymanagement/get_user_identity_group.py +135 -0
  45. pulumi_ise/identitymanagement/identity_source_sequence.py +371 -0
  46. pulumi_ise/identitymanagement/internal_user.py +825 -0
  47. pulumi_ise/identitymanagement/outputs.py +486 -0
  48. pulumi_ise/identitymanagement/user_identity_group.py +275 -0
  49. pulumi_ise/network/__init__.py +13 -0
  50. pulumi_ise/network/_inputs.py +69 -0
  51. pulumi_ise/network/device.py +2189 -0
  52. pulumi_ise/network/device_group.py +276 -0
  53. pulumi_ise/network/get_device.py +643 -0
  54. pulumi_ise/network/get_device_group.py +135 -0
  55. pulumi_ise/network/outputs.py +115 -0
  56. pulumi_ise/networkaccess/__init__.py +31 -0
  57. pulumi_ise/networkaccess/_inputs.py +1948 -0
  58. pulumi_ise/networkaccess/allowed_protocols.py +3962 -0
  59. pulumi_ise/networkaccess/authentication_rule.py +1045 -0
  60. pulumi_ise/networkaccess/authorization_exception_rule.py +937 -0
  61. pulumi_ise/networkaccess/authorization_global_exception_rule.py +887 -0
  62. pulumi_ise/networkaccess/authorization_profile.py +1677 -0
  63. pulumi_ise/networkaccess/authorization_rule.py +937 -0
  64. pulumi_ise/networkaccess/condition.py +645 -0
  65. pulumi_ise/networkaccess/dictionary.py +326 -0
  66. pulumi_ise/networkaccess/downloadable_acl.py +325 -0
  67. pulumi_ise/networkaccess/get_allowed_protocols.py +1097 -0
  68. pulumi_ise/networkaccess/get_authentication_rule.py +338 -0
  69. pulumi_ise/networkaccess/get_authorization_exception_rule.py +312 -0
  70. pulumi_ise/networkaccess/get_authorization_global_exception_rule.py +292 -0
  71. pulumi_ise/networkaccess/get_authorization_profile.py +526 -0
  72. pulumi_ise/networkaccess/get_authorization_rule.py +312 -0
  73. pulumi_ise/networkaccess/get_condition.py +227 -0
  74. pulumi_ise/networkaccess/get_dictionary.py +148 -0
  75. pulumi_ise/networkaccess/get_downloadable_acl.py +148 -0
  76. pulumi_ise/networkaccess/get_policy_set.py +305 -0
  77. pulumi_ise/networkaccess/get_time_and_date_condition.py +265 -0
  78. pulumi_ise/networkaccess/outputs.py +3188 -0
  79. pulumi_ise/networkaccess/policy_set.py +942 -0
  80. pulumi_ise/networkaccess/time_and_date_condition.py +765 -0
  81. pulumi_ise/provider.py +204 -0
  82. pulumi_ise/pulumi-plugin.json +4 -0
  83. pulumi_ise/py.typed +0 -0
  84. pulumi_ise/system/__init__.py +13 -0
  85. pulumi_ise/system/_inputs.py +56 -0
  86. pulumi_ise/system/get_license_tier_state.py +105 -0
  87. pulumi_ise/system/get_repository.py +187 -0
  88. pulumi_ise/system/license_tier_state.py +184 -0
  89. pulumi_ise/system/outputs.py +78 -0
  90. pulumi_ise/system/repository.py +473 -0
  91. pulumi_ise/trustsec/__init__.py +17 -0
  92. pulumi_ise/trustsec/egress_matrix_cell.py +424 -0
  93. pulumi_ise/trustsec/get_egress_matrix_cell.py +169 -0
  94. pulumi_ise/trustsec/get_ip_to_sgt_mapping.py +200 -0
  95. pulumi_ise/trustsec/get_ip_to_sgt_mapping_group.py +161 -0
  96. pulumi_ise/trustsec/get_security_group.py +161 -0
  97. pulumi_ise/trustsec/get_security_group_acl.py +161 -0
  98. pulumi_ise/trustsec/ip_to_sgt_mapping.py +512 -0
  99. pulumi_ise/trustsec/ip_to_sgt_mapping_group.py +371 -0
  100. pulumi_ise/trustsec/security_group.py +374 -0
  101. pulumi_ise/trustsec/security_group_acl.py +374 -0
  102. pulumi_ise-0.1.0.dist-info/METADATA +63 -0
  103. pulumi_ise-0.1.0.dist-info/RECORD +105 -0
  104. pulumi_ise-0.1.0.dist-info/WHEEL +5 -0
  105. pulumi_ise-0.1.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,520 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import pulumi
8
+ import pulumi.runtime
9
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
10
+ from .. import _utilities
11
+
12
+ __all__ = ['CertificateAuthenticationProfileArgs', 'CertificateAuthenticationProfile']
13
+
14
+ @pulumi.input_type
15
+ class CertificateAuthenticationProfileArgs:
16
+ def __init__(__self__, *,
17
+ allowed_as_user_name: Optional[pulumi.Input[bool]] = None,
18
+ certificate_attribute_name: Optional[pulumi.Input[str]] = None,
19
+ description: Optional[pulumi.Input[str]] = None,
20
+ external_identity_store_name: Optional[pulumi.Input[str]] = None,
21
+ match_mode: Optional[pulumi.Input[str]] = None,
22
+ name: Optional[pulumi.Input[str]] = None,
23
+ username_from: Optional[pulumi.Input[str]] = None):
24
+ """
25
+ The set of arguments for constructing a CertificateAuthenticationProfile resource.
26
+ :param pulumi.Input[bool] allowed_as_user_name: Allow as username - Default value: `false`
27
+ :param pulumi.Input[str] certificate_attribute_name: Attribute name of the Certificate Profile - used only when CERTIFICATE is chosen in `username_from`. - Choices:
28
+ `SUBJECT_COMMON_NAME`, `SUBJECT_ALTERNATIVE_NAME`, `SUBJECT_SERIAL_NUMBER`, `SUBJECT`,
29
+ `SUBJECT_ALTERNATIVE_NAME_OTHER_NAME`, `SUBJECT_ALTERNATIVE_NAME_EMAIL`, `SUBJECT_ALTERNATIVE_NAME_DNS` - Default value:
30
+ `SUBJECT_COMMON_NAME`
31
+ :param pulumi.Input[str] description: Description
32
+ :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
33
+ value: `[not applicable]`
34
+ :param pulumi.Input[str] match_mode: Match mode of the Certificate Profile. Allowed values: NEVER, RESOLVE_IDENTITY_AMBIGUITY, BINARY_COMPARISON - Choices:
35
+ `NEVER`, `RESOLVE_IDENTITY_AMBIGUITY`, `BINARY_COMPARISON` - Default value: `NEVER`
36
+ :param pulumi.Input[str] name: The name of the certificate profile
37
+ :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
38
+ attribute as defined in certificateAttributeName), `UPN` (for using any Subject or Alternative Name Attributes in the
39
+ Certificate - an option only in AD) - Choices: `CERTIFICATE`, `UPN` - Default value: `CERTIFICATE`
40
+ """
41
+ if allowed_as_user_name is not None:
42
+ pulumi.set(__self__, "allowed_as_user_name", allowed_as_user_name)
43
+ if certificate_attribute_name is not None:
44
+ pulumi.set(__self__, "certificate_attribute_name", certificate_attribute_name)
45
+ if description is not None:
46
+ pulumi.set(__self__, "description", description)
47
+ if external_identity_store_name is not None:
48
+ pulumi.set(__self__, "external_identity_store_name", external_identity_store_name)
49
+ if match_mode is not None:
50
+ pulumi.set(__self__, "match_mode", match_mode)
51
+ if name is not None:
52
+ pulumi.set(__self__, "name", name)
53
+ if username_from is not None:
54
+ pulumi.set(__self__, "username_from", username_from)
55
+
56
+ @property
57
+ @pulumi.getter(name="allowedAsUserName")
58
+ def allowed_as_user_name(self) -> Optional[pulumi.Input[bool]]:
59
+ """
60
+ Allow as username - Default value: `false`
61
+ """
62
+ return pulumi.get(self, "allowed_as_user_name")
63
+
64
+ @allowed_as_user_name.setter
65
+ def allowed_as_user_name(self, value: Optional[pulumi.Input[bool]]):
66
+ pulumi.set(self, "allowed_as_user_name", value)
67
+
68
+ @property
69
+ @pulumi.getter(name="certificateAttributeName")
70
+ def certificate_attribute_name(self) -> Optional[pulumi.Input[str]]:
71
+ """
72
+ Attribute name of the Certificate Profile - used only when CERTIFICATE is chosen in `username_from`. - Choices:
73
+ `SUBJECT_COMMON_NAME`, `SUBJECT_ALTERNATIVE_NAME`, `SUBJECT_SERIAL_NUMBER`, `SUBJECT`,
74
+ `SUBJECT_ALTERNATIVE_NAME_OTHER_NAME`, `SUBJECT_ALTERNATIVE_NAME_EMAIL`, `SUBJECT_ALTERNATIVE_NAME_DNS` - Default value:
75
+ `SUBJECT_COMMON_NAME`
76
+ """
77
+ return pulumi.get(self, "certificate_attribute_name")
78
+
79
+ @certificate_attribute_name.setter
80
+ def certificate_attribute_name(self, value: Optional[pulumi.Input[str]]):
81
+ pulumi.set(self, "certificate_attribute_name", value)
82
+
83
+ @property
84
+ @pulumi.getter
85
+ def description(self) -> Optional[pulumi.Input[str]]:
86
+ """
87
+ Description
88
+ """
89
+ return pulumi.get(self, "description")
90
+
91
+ @description.setter
92
+ def description(self, value: Optional[pulumi.Input[str]]):
93
+ pulumi.set(self, "description", value)
94
+
95
+ @property
96
+ @pulumi.getter(name="externalIdentityStoreName")
97
+ def external_identity_store_name(self) -> Optional[pulumi.Input[str]]:
98
+ """
99
+ Referred IDStore name for the Certificate Profile or `[not applicable]` in case no identity store is chosen - Default
100
+ value: `[not applicable]`
101
+ """
102
+ return pulumi.get(self, "external_identity_store_name")
103
+
104
+ @external_identity_store_name.setter
105
+ def external_identity_store_name(self, value: Optional[pulumi.Input[str]]):
106
+ pulumi.set(self, "external_identity_store_name", value)
107
+
108
+ @property
109
+ @pulumi.getter(name="matchMode")
110
+ def match_mode(self) -> Optional[pulumi.Input[str]]:
111
+ """
112
+ Match mode of the Certificate Profile. Allowed values: NEVER, RESOLVE_IDENTITY_AMBIGUITY, BINARY_COMPARISON - Choices:
113
+ `NEVER`, `RESOLVE_IDENTITY_AMBIGUITY`, `BINARY_COMPARISON` - Default value: `NEVER`
114
+ """
115
+ return pulumi.get(self, "match_mode")
116
+
117
+ @match_mode.setter
118
+ def match_mode(self, value: Optional[pulumi.Input[str]]):
119
+ pulumi.set(self, "match_mode", value)
120
+
121
+ @property
122
+ @pulumi.getter
123
+ def name(self) -> Optional[pulumi.Input[str]]:
124
+ """
125
+ The name of the certificate profile
126
+ """
127
+ return pulumi.get(self, "name")
128
+
129
+ @name.setter
130
+ def name(self, value: Optional[pulumi.Input[str]]):
131
+ pulumi.set(self, "name", value)
132
+
133
+ @property
134
+ @pulumi.getter(name="usernameFrom")
135
+ def username_from(self) -> Optional[pulumi.Input[str]]:
136
+ """
137
+ The attribute in the certificate where the user name should be taken from. Allowed values: `CERTIFICATE` (for a specific
138
+ attribute as defined in certificateAttributeName), `UPN` (for using any Subject or Alternative Name Attributes in the
139
+ Certificate - an option only in AD) - Choices: `CERTIFICATE`, `UPN` - Default value: `CERTIFICATE`
140
+ """
141
+ return pulumi.get(self, "username_from")
142
+
143
+ @username_from.setter
144
+ def username_from(self, value: Optional[pulumi.Input[str]]):
145
+ pulumi.set(self, "username_from", value)
146
+
147
+
148
+ @pulumi.input_type
149
+ class _CertificateAuthenticationProfileState:
150
+ def __init__(__self__, *,
151
+ allowed_as_user_name: Optional[pulumi.Input[bool]] = None,
152
+ certificate_attribute_name: Optional[pulumi.Input[str]] = None,
153
+ description: Optional[pulumi.Input[str]] = None,
154
+ external_identity_store_name: Optional[pulumi.Input[str]] = None,
155
+ match_mode: Optional[pulumi.Input[str]] = None,
156
+ name: Optional[pulumi.Input[str]] = None,
157
+ username_from: Optional[pulumi.Input[str]] = None):
158
+ """
159
+ Input properties used for looking up and filtering CertificateAuthenticationProfile resources.
160
+ :param pulumi.Input[bool] allowed_as_user_name: Allow as username - Default value: `false`
161
+ :param pulumi.Input[str] certificate_attribute_name: Attribute name of the Certificate Profile - used only when CERTIFICATE is chosen in `username_from`. - Choices:
162
+ `SUBJECT_COMMON_NAME`, `SUBJECT_ALTERNATIVE_NAME`, `SUBJECT_SERIAL_NUMBER`, `SUBJECT`,
163
+ `SUBJECT_ALTERNATIVE_NAME_OTHER_NAME`, `SUBJECT_ALTERNATIVE_NAME_EMAIL`, `SUBJECT_ALTERNATIVE_NAME_DNS` - Default value:
164
+ `SUBJECT_COMMON_NAME`
165
+ :param pulumi.Input[str] description: Description
166
+ :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
167
+ value: `[not applicable]`
168
+ :param pulumi.Input[str] match_mode: Match mode of the Certificate Profile. Allowed values: NEVER, RESOLVE_IDENTITY_AMBIGUITY, BINARY_COMPARISON - Choices:
169
+ `NEVER`, `RESOLVE_IDENTITY_AMBIGUITY`, `BINARY_COMPARISON` - Default value: `NEVER`
170
+ :param pulumi.Input[str] name: The name of the certificate profile
171
+ :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
172
+ attribute as defined in certificateAttributeName), `UPN` (for using any Subject or Alternative Name Attributes in the
173
+ Certificate - an option only in AD) - Choices: `CERTIFICATE`, `UPN` - Default value: `CERTIFICATE`
174
+ """
175
+ if allowed_as_user_name is not None:
176
+ pulumi.set(__self__, "allowed_as_user_name", allowed_as_user_name)
177
+ if certificate_attribute_name is not None:
178
+ pulumi.set(__self__, "certificate_attribute_name", certificate_attribute_name)
179
+ if description is not None:
180
+ pulumi.set(__self__, "description", description)
181
+ if external_identity_store_name is not None:
182
+ pulumi.set(__self__, "external_identity_store_name", external_identity_store_name)
183
+ if match_mode is not None:
184
+ pulumi.set(__self__, "match_mode", match_mode)
185
+ if name is not None:
186
+ pulumi.set(__self__, "name", name)
187
+ if username_from is not None:
188
+ pulumi.set(__self__, "username_from", username_from)
189
+
190
+ @property
191
+ @pulumi.getter(name="allowedAsUserName")
192
+ def allowed_as_user_name(self) -> Optional[pulumi.Input[bool]]:
193
+ """
194
+ Allow as username - Default value: `false`
195
+ """
196
+ return pulumi.get(self, "allowed_as_user_name")
197
+
198
+ @allowed_as_user_name.setter
199
+ def allowed_as_user_name(self, value: Optional[pulumi.Input[bool]]):
200
+ pulumi.set(self, "allowed_as_user_name", value)
201
+
202
+ @property
203
+ @pulumi.getter(name="certificateAttributeName")
204
+ def certificate_attribute_name(self) -> Optional[pulumi.Input[str]]:
205
+ """
206
+ Attribute name of the Certificate Profile - used only when CERTIFICATE is chosen in `username_from`. - Choices:
207
+ `SUBJECT_COMMON_NAME`, `SUBJECT_ALTERNATIVE_NAME`, `SUBJECT_SERIAL_NUMBER`, `SUBJECT`,
208
+ `SUBJECT_ALTERNATIVE_NAME_OTHER_NAME`, `SUBJECT_ALTERNATIVE_NAME_EMAIL`, `SUBJECT_ALTERNATIVE_NAME_DNS` - Default value:
209
+ `SUBJECT_COMMON_NAME`
210
+ """
211
+ return pulumi.get(self, "certificate_attribute_name")
212
+
213
+ @certificate_attribute_name.setter
214
+ def certificate_attribute_name(self, value: Optional[pulumi.Input[str]]):
215
+ pulumi.set(self, "certificate_attribute_name", value)
216
+
217
+ @property
218
+ @pulumi.getter
219
+ def description(self) -> Optional[pulumi.Input[str]]:
220
+ """
221
+ Description
222
+ """
223
+ return pulumi.get(self, "description")
224
+
225
+ @description.setter
226
+ def description(self, value: Optional[pulumi.Input[str]]):
227
+ pulumi.set(self, "description", value)
228
+
229
+ @property
230
+ @pulumi.getter(name="externalIdentityStoreName")
231
+ def external_identity_store_name(self) -> Optional[pulumi.Input[str]]:
232
+ """
233
+ Referred IDStore name for the Certificate Profile or `[not applicable]` in case no identity store is chosen - Default
234
+ value: `[not applicable]`
235
+ """
236
+ return pulumi.get(self, "external_identity_store_name")
237
+
238
+ @external_identity_store_name.setter
239
+ def external_identity_store_name(self, value: Optional[pulumi.Input[str]]):
240
+ pulumi.set(self, "external_identity_store_name", value)
241
+
242
+ @property
243
+ @pulumi.getter(name="matchMode")
244
+ def match_mode(self) -> Optional[pulumi.Input[str]]:
245
+ """
246
+ Match mode of the Certificate Profile. Allowed values: NEVER, RESOLVE_IDENTITY_AMBIGUITY, BINARY_COMPARISON - Choices:
247
+ `NEVER`, `RESOLVE_IDENTITY_AMBIGUITY`, `BINARY_COMPARISON` - Default value: `NEVER`
248
+ """
249
+ return pulumi.get(self, "match_mode")
250
+
251
+ @match_mode.setter
252
+ def match_mode(self, value: Optional[pulumi.Input[str]]):
253
+ pulumi.set(self, "match_mode", value)
254
+
255
+ @property
256
+ @pulumi.getter
257
+ def name(self) -> Optional[pulumi.Input[str]]:
258
+ """
259
+ The name of the certificate profile
260
+ """
261
+ return pulumi.get(self, "name")
262
+
263
+ @name.setter
264
+ def name(self, value: Optional[pulumi.Input[str]]):
265
+ pulumi.set(self, "name", value)
266
+
267
+ @property
268
+ @pulumi.getter(name="usernameFrom")
269
+ def username_from(self) -> Optional[pulumi.Input[str]]:
270
+ """
271
+ The attribute in the certificate where the user name should be taken from. Allowed values: `CERTIFICATE` (for a specific
272
+ attribute as defined in certificateAttributeName), `UPN` (for using any Subject or Alternative Name Attributes in the
273
+ Certificate - an option only in AD) - Choices: `CERTIFICATE`, `UPN` - Default value: `CERTIFICATE`
274
+ """
275
+ return pulumi.get(self, "username_from")
276
+
277
+ @username_from.setter
278
+ def username_from(self, value: Optional[pulumi.Input[str]]):
279
+ pulumi.set(self, "username_from", value)
280
+
281
+
282
+ class CertificateAuthenticationProfile(pulumi.CustomResource):
283
+ @overload
284
+ def __init__(__self__,
285
+ resource_name: str,
286
+ opts: Optional[pulumi.ResourceOptions] = None,
287
+ allowed_as_user_name: Optional[pulumi.Input[bool]] = None,
288
+ certificate_attribute_name: Optional[pulumi.Input[str]] = None,
289
+ description: Optional[pulumi.Input[str]] = None,
290
+ external_identity_store_name: Optional[pulumi.Input[str]] = None,
291
+ match_mode: Optional[pulumi.Input[str]] = None,
292
+ name: Optional[pulumi.Input[str]] = None,
293
+ username_from: Optional[pulumi.Input[str]] = None,
294
+ __props__=None):
295
+ """
296
+ This resource can manage a Certificate Authentication Profile.
297
+
298
+ ## Example Usage
299
+
300
+ ```python
301
+ import pulumi
302
+ import pulumi_ise as ise
303
+
304
+ example = ise.identitymanagement.CertificateAuthenticationProfile("example",
305
+ name="CertProf1",
306
+ description="My cert profile",
307
+ allowed_as_user_name=False,
308
+ external_identity_store_name="[not applicable]",
309
+ certificate_attribute_name="SUBJECT_COMMON_NAME",
310
+ match_mode="NEVER",
311
+ username_from="CERTIFICATE")
312
+ ```
313
+
314
+ ## Import
315
+
316
+ ```sh
317
+ $ pulumi import ise:identitymanagement/certificateAuthenticationProfile:CertificateAuthenticationProfile example "76d24097-41c4-4558-a4d0-a8c07ac08470"
318
+ ```
319
+
320
+ :param str resource_name: The name of the resource.
321
+ :param pulumi.ResourceOptions opts: Options for the resource.
322
+ :param pulumi.Input[bool] allowed_as_user_name: Allow as username - Default value: `false`
323
+ :param pulumi.Input[str] certificate_attribute_name: Attribute name of the Certificate Profile - used only when CERTIFICATE is chosen in `username_from`. - Choices:
324
+ `SUBJECT_COMMON_NAME`, `SUBJECT_ALTERNATIVE_NAME`, `SUBJECT_SERIAL_NUMBER`, `SUBJECT`,
325
+ `SUBJECT_ALTERNATIVE_NAME_OTHER_NAME`, `SUBJECT_ALTERNATIVE_NAME_EMAIL`, `SUBJECT_ALTERNATIVE_NAME_DNS` - Default value:
326
+ `SUBJECT_COMMON_NAME`
327
+ :param pulumi.Input[str] description: Description
328
+ :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
329
+ value: `[not applicable]`
330
+ :param pulumi.Input[str] match_mode: Match mode of the Certificate Profile. Allowed values: NEVER, RESOLVE_IDENTITY_AMBIGUITY, BINARY_COMPARISON - Choices:
331
+ `NEVER`, `RESOLVE_IDENTITY_AMBIGUITY`, `BINARY_COMPARISON` - Default value: `NEVER`
332
+ :param pulumi.Input[str] name: The name of the certificate profile
333
+ :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
334
+ attribute as defined in certificateAttributeName), `UPN` (for using any Subject or Alternative Name Attributes in the
335
+ Certificate - an option only in AD) - Choices: `CERTIFICATE`, `UPN` - Default value: `CERTIFICATE`
336
+ """
337
+ ...
338
+ @overload
339
+ def __init__(__self__,
340
+ resource_name: str,
341
+ args: Optional[CertificateAuthenticationProfileArgs] = None,
342
+ opts: Optional[pulumi.ResourceOptions] = None):
343
+ """
344
+ This resource can manage a Certificate Authentication Profile.
345
+
346
+ ## Example Usage
347
+
348
+ ```python
349
+ import pulumi
350
+ import pulumi_ise as ise
351
+
352
+ example = ise.identitymanagement.CertificateAuthenticationProfile("example",
353
+ name="CertProf1",
354
+ description="My cert profile",
355
+ allowed_as_user_name=False,
356
+ external_identity_store_name="[not applicable]",
357
+ certificate_attribute_name="SUBJECT_COMMON_NAME",
358
+ match_mode="NEVER",
359
+ username_from="CERTIFICATE")
360
+ ```
361
+
362
+ ## Import
363
+
364
+ ```sh
365
+ $ pulumi import ise:identitymanagement/certificateAuthenticationProfile:CertificateAuthenticationProfile example "76d24097-41c4-4558-a4d0-a8c07ac08470"
366
+ ```
367
+
368
+ :param str resource_name: The name of the resource.
369
+ :param CertificateAuthenticationProfileArgs args: The arguments to use to populate this resource's properties.
370
+ :param pulumi.ResourceOptions opts: Options for the resource.
371
+ """
372
+ ...
373
+ def __init__(__self__, resource_name: str, *args, **kwargs):
374
+ resource_args, opts = _utilities.get_resource_args_opts(CertificateAuthenticationProfileArgs, pulumi.ResourceOptions, *args, **kwargs)
375
+ if resource_args is not None:
376
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
377
+ else:
378
+ __self__._internal_init(resource_name, *args, **kwargs)
379
+
380
+ def _internal_init(__self__,
381
+ resource_name: str,
382
+ opts: Optional[pulumi.ResourceOptions] = None,
383
+ allowed_as_user_name: Optional[pulumi.Input[bool]] = None,
384
+ certificate_attribute_name: Optional[pulumi.Input[str]] = None,
385
+ description: Optional[pulumi.Input[str]] = None,
386
+ external_identity_store_name: Optional[pulumi.Input[str]] = None,
387
+ match_mode: Optional[pulumi.Input[str]] = None,
388
+ name: Optional[pulumi.Input[str]] = None,
389
+ username_from: Optional[pulumi.Input[str]] = None,
390
+ __props__=None):
391
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
392
+ if not isinstance(opts, pulumi.ResourceOptions):
393
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
394
+ if opts.id is None:
395
+ if __props__ is not None:
396
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
397
+ __props__ = CertificateAuthenticationProfileArgs.__new__(CertificateAuthenticationProfileArgs)
398
+
399
+ __props__.__dict__["allowed_as_user_name"] = allowed_as_user_name
400
+ __props__.__dict__["certificate_attribute_name"] = certificate_attribute_name
401
+ __props__.__dict__["description"] = description
402
+ __props__.__dict__["external_identity_store_name"] = external_identity_store_name
403
+ __props__.__dict__["match_mode"] = match_mode
404
+ __props__.__dict__["name"] = name
405
+ __props__.__dict__["username_from"] = username_from
406
+ super(CertificateAuthenticationProfile, __self__).__init__(
407
+ 'ise:identitymanagement/certificateAuthenticationProfile:CertificateAuthenticationProfile',
408
+ resource_name,
409
+ __props__,
410
+ opts)
411
+
412
+ @staticmethod
413
+ def get(resource_name: str,
414
+ id: pulumi.Input[str],
415
+ opts: Optional[pulumi.ResourceOptions] = None,
416
+ allowed_as_user_name: Optional[pulumi.Input[bool]] = None,
417
+ certificate_attribute_name: Optional[pulumi.Input[str]] = None,
418
+ description: Optional[pulumi.Input[str]] = None,
419
+ external_identity_store_name: Optional[pulumi.Input[str]] = None,
420
+ match_mode: Optional[pulumi.Input[str]] = None,
421
+ name: Optional[pulumi.Input[str]] = None,
422
+ username_from: Optional[pulumi.Input[str]] = None) -> 'CertificateAuthenticationProfile':
423
+ """
424
+ Get an existing CertificateAuthenticationProfile resource's state with the given name, id, and optional extra
425
+ properties used to qualify the lookup.
426
+
427
+ :param str resource_name: The unique name of the resulting resource.
428
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
429
+ :param pulumi.ResourceOptions opts: Options for the resource.
430
+ :param pulumi.Input[bool] allowed_as_user_name: Allow as username - Default value: `false`
431
+ :param pulumi.Input[str] certificate_attribute_name: Attribute name of the Certificate Profile - used only when CERTIFICATE is chosen in `username_from`. - Choices:
432
+ `SUBJECT_COMMON_NAME`, `SUBJECT_ALTERNATIVE_NAME`, `SUBJECT_SERIAL_NUMBER`, `SUBJECT`,
433
+ `SUBJECT_ALTERNATIVE_NAME_OTHER_NAME`, `SUBJECT_ALTERNATIVE_NAME_EMAIL`, `SUBJECT_ALTERNATIVE_NAME_DNS` - Default value:
434
+ `SUBJECT_COMMON_NAME`
435
+ :param pulumi.Input[str] description: Description
436
+ :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
437
+ value: `[not applicable]`
438
+ :param pulumi.Input[str] match_mode: Match mode of the Certificate Profile. Allowed values: NEVER, RESOLVE_IDENTITY_AMBIGUITY, BINARY_COMPARISON - Choices:
439
+ `NEVER`, `RESOLVE_IDENTITY_AMBIGUITY`, `BINARY_COMPARISON` - Default value: `NEVER`
440
+ :param pulumi.Input[str] name: The name of the certificate profile
441
+ :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
442
+ attribute as defined in certificateAttributeName), `UPN` (for using any Subject or Alternative Name Attributes in the
443
+ Certificate - an option only in AD) - Choices: `CERTIFICATE`, `UPN` - Default value: `CERTIFICATE`
444
+ """
445
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
446
+
447
+ __props__ = _CertificateAuthenticationProfileState.__new__(_CertificateAuthenticationProfileState)
448
+
449
+ __props__.__dict__["allowed_as_user_name"] = allowed_as_user_name
450
+ __props__.__dict__["certificate_attribute_name"] = certificate_attribute_name
451
+ __props__.__dict__["description"] = description
452
+ __props__.__dict__["external_identity_store_name"] = external_identity_store_name
453
+ __props__.__dict__["match_mode"] = match_mode
454
+ __props__.__dict__["name"] = name
455
+ __props__.__dict__["username_from"] = username_from
456
+ return CertificateAuthenticationProfile(resource_name, opts=opts, __props__=__props__)
457
+
458
+ @property
459
+ @pulumi.getter(name="allowedAsUserName")
460
+ def allowed_as_user_name(self) -> pulumi.Output[bool]:
461
+ """
462
+ Allow as username - Default value: `false`
463
+ """
464
+ return pulumi.get(self, "allowed_as_user_name")
465
+
466
+ @property
467
+ @pulumi.getter(name="certificateAttributeName")
468
+ def certificate_attribute_name(self) -> pulumi.Output[str]:
469
+ """
470
+ Attribute name of the Certificate Profile - used only when CERTIFICATE is chosen in `username_from`. - Choices:
471
+ `SUBJECT_COMMON_NAME`, `SUBJECT_ALTERNATIVE_NAME`, `SUBJECT_SERIAL_NUMBER`, `SUBJECT`,
472
+ `SUBJECT_ALTERNATIVE_NAME_OTHER_NAME`, `SUBJECT_ALTERNATIVE_NAME_EMAIL`, `SUBJECT_ALTERNATIVE_NAME_DNS` - Default value:
473
+ `SUBJECT_COMMON_NAME`
474
+ """
475
+ return pulumi.get(self, "certificate_attribute_name")
476
+
477
+ @property
478
+ @pulumi.getter
479
+ def description(self) -> pulumi.Output[Optional[str]]:
480
+ """
481
+ Description
482
+ """
483
+ return pulumi.get(self, "description")
484
+
485
+ @property
486
+ @pulumi.getter(name="externalIdentityStoreName")
487
+ def external_identity_store_name(self) -> pulumi.Output[str]:
488
+ """
489
+ Referred IDStore name for the Certificate Profile or `[not applicable]` in case no identity store is chosen - Default
490
+ value: `[not applicable]`
491
+ """
492
+ return pulumi.get(self, "external_identity_store_name")
493
+
494
+ @property
495
+ @pulumi.getter(name="matchMode")
496
+ def match_mode(self) -> pulumi.Output[str]:
497
+ """
498
+ Match mode of the Certificate Profile. Allowed values: NEVER, RESOLVE_IDENTITY_AMBIGUITY, BINARY_COMPARISON - Choices:
499
+ `NEVER`, `RESOLVE_IDENTITY_AMBIGUITY`, `BINARY_COMPARISON` - Default value: `NEVER`
500
+ """
501
+ return pulumi.get(self, "match_mode")
502
+
503
+ @property
504
+ @pulumi.getter
505
+ def name(self) -> pulumi.Output[str]:
506
+ """
507
+ The name of the certificate profile
508
+ """
509
+ return pulumi.get(self, "name")
510
+
511
+ @property
512
+ @pulumi.getter(name="usernameFrom")
513
+ def username_from(self) -> pulumi.Output[str]:
514
+ """
515
+ The attribute in the certificate where the user name should be taken from. Allowed values: `CERTIFICATE` (for a specific
516
+ attribute as defined in certificateAttributeName), `UPN` (for using any Subject or Alternative Name Attributes in the
517
+ Certificate - an option only in AD) - Choices: `CERTIFICATE`, `UPN` - Default value: `CERTIFICATE`
518
+ """
519
+ return pulumi.get(self, "username_from")
520
+