pulumi-azuread 5.48.0a1706744699__py3-none-any.whl → 6.8.0a1766208344__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.
Potentially problematic release.
This version of pulumi-azuread might be problematic. Click here for more details.
- pulumi_azuread/__init__.py +48 -1
- pulumi_azuread/_inputs.py +3803 -919
- pulumi_azuread/_utilities.py +52 -12
- pulumi_azuread/access_package.py +84 -78
- pulumi_azuread/access_package_assignment_policy.py +202 -196
- pulumi_azuread/access_package_catalog.py +82 -76
- pulumi_azuread/access_package_catalog_role_assignment.py +73 -67
- pulumi_azuread/access_package_resource_catalog_association.py +73 -67
- pulumi_azuread/access_package_resource_package_association.py +79 -73
- pulumi_azuread/administrative_unit.py +120 -100
- pulumi_azuread/administrative_unit_member.py +66 -50
- pulumi_azuread/administrative_unit_role_member.py +75 -69
- pulumi_azuread/app_role_assignment.py +164 -264
- pulumi_azuread/application.py +766 -692
- pulumi_azuread/application_api_access.py +84 -80
- pulumi_azuread/application_app_role.py +120 -116
- pulumi_azuread/application_certificate.py +349 -211
- pulumi_azuread/application_fallback_public_client.py +50 -44
- pulumi_azuread/application_federated_identity_credential.py +142 -197
- pulumi_azuread/application_from_template.py +90 -84
- pulumi_azuread/application_identifier_uri.py +56 -52
- pulumi_azuread/application_known_clients.py +50 -44
- pulumi_azuread/application_optional_claims.py +87 -81
- pulumi_azuread/application_owner.py +76 -42
- pulumi_azuread/application_password.py +159 -205
- pulumi_azuread/application_permission_scope.py +160 -156
- pulumi_azuread/application_pre_authorized.py +120 -236
- pulumi_azuread/application_redirect_uris.py +75 -69
- pulumi_azuread/application_registration.py +315 -309
- pulumi_azuread/authentication_strength_policy.py +73 -67
- pulumi_azuread/claims_mapping_policy.py +48 -42
- pulumi_azuread/conditional_access_policy.py +248 -232
- pulumi_azuread/config/__init__.py +2 -1
- pulumi_azuread/config/__init__.pyi +23 -17
- pulumi_azuread/config/vars.py +47 -37
- pulumi_azuread/custom_directory_role.py +128 -122
- pulumi_azuread/directory_role.py +60 -54
- pulumi_azuread/directory_role_assignment.py +194 -181
- pulumi_azuread/directory_role_eligibility_schedule_request.py +86 -80
- pulumi_azuread/directory_role_member.py +54 -48
- pulumi_azuread/get_access_package.py +45 -31
- pulumi_azuread/get_access_package_catalog.py +40 -27
- pulumi_azuread/get_access_package_catalog_role.py +39 -25
- pulumi_azuread/get_administrative_unit.py +42 -27
- pulumi_azuread/get_application.py +135 -94
- pulumi_azuread/get_application_published_app_ids.py +42 -47
- pulumi_azuread/get_application_template.py +49 -33
- pulumi_azuread/get_client_config.py +24 -15
- pulumi_azuread/get_directory_object.py +32 -21
- pulumi_azuread/get_directory_role_templates.py +20 -12
- pulumi_azuread/get_directory_roles.py +23 -14
- pulumi_azuread/get_domains.py +65 -46
- pulumi_azuread/get_group.py +147 -88
- pulumi_azuread/get_group_role_management_policy.py +178 -0
- pulumi_azuread/get_groups.py +71 -51
- pulumi_azuread/get_named_location.py +47 -22
- pulumi_azuread/get_service_principal.py +108 -90
- pulumi_azuread/get_service_principals.py +60 -64
- pulumi_azuread/get_user.py +186 -118
- pulumi_azuread/get_users.py +96 -53
- pulumi_azuread/group.py +622 -464
- pulumi_azuread/group_member.py +56 -50
- pulumi_azuread/group_role_management_policy.py +544 -0
- pulumi_azuread/group_without_members.py +1610 -0
- pulumi_azuread/invitation.py +126 -120
- pulumi_azuread/named_location.py +90 -76
- pulumi_azuread/outputs.py +2844 -1308
- pulumi_azuread/privileged_access_group_assignment_schedule.py +695 -0
- pulumi_azuread/privileged_access_group_eligibility_schedule.py +695 -0
- pulumi_azuread/provider.py +292 -246
- pulumi_azuread/pulumi-plugin.json +2 -1
- pulumi_azuread/service_principal.py +400 -461
- pulumi_azuread/service_principal_certificate.py +230 -145
- pulumi_azuread/service_principal_claims_mapping_policy_assignment.py +53 -47
- pulumi_azuread/service_principal_delegated_permission_grant.py +146 -140
- pulumi_azuread/service_principal_password.py +156 -141
- pulumi_azuread/service_principal_token_signing_certificate.py +119 -124
- pulumi_azuread/synchronization_job.py +105 -111
- pulumi_azuread/synchronization_job_provision_on_demand.py +396 -0
- pulumi_azuread/synchronization_secret.py +64 -70
- pulumi_azuread/user.py +776 -730
- pulumi_azuread/user_flow_attribute.py +76 -70
- {pulumi_azuread-5.48.0a1706744699.dist-info → pulumi_azuread-6.8.0a1766208344.dist-info}/METADATA +21 -20
- pulumi_azuread-6.8.0a1766208344.dist-info/RECORD +87 -0
- {pulumi_azuread-5.48.0a1706744699.dist-info → pulumi_azuread-6.8.0a1766208344.dist-info}/WHEEL +1 -1
- pulumi_azuread-5.48.0a1706744699.dist-info/RECORD +0 -81
- {pulumi_azuread-5.48.0a1706744699.dist-info → pulumi_azuread-6.8.0a1766208344.dist-info}/top_level.txt +0 -0
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
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
|
|
10
15
|
from . import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = ['AuthenticationStrengthPolicyArgs', 'AuthenticationStrengthPolicy']
|
|
@@ -14,68 +19,68 @@ __all__ = ['AuthenticationStrengthPolicyArgs', 'AuthenticationStrengthPolicy']
|
|
|
14
19
|
@pulumi.input_type
|
|
15
20
|
class AuthenticationStrengthPolicyArgs:
|
|
16
21
|
def __init__(__self__, *,
|
|
17
|
-
allowed_combinations: pulumi.Input[Sequence[pulumi.Input[str]]],
|
|
18
|
-
display_name: pulumi.Input[str],
|
|
19
|
-
description: Optional[pulumi.Input[str]] = None):
|
|
22
|
+
allowed_combinations: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]],
|
|
23
|
+
display_name: pulumi.Input[_builtins.str],
|
|
24
|
+
description: Optional[pulumi.Input[_builtins.str]] = None):
|
|
20
25
|
"""
|
|
21
26
|
The set of arguments for constructing a AuthenticationStrengthPolicy resource.
|
|
22
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_combinations: List of allowed authentication methods for this authentication strength policy.
|
|
23
|
-
:param pulumi.Input[str] display_name: The friendly name for this authentication strength policy.
|
|
24
|
-
:param pulumi.Input[str] description: The description for this authentication strength policy.
|
|
27
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] allowed_combinations: List of allowed authentication methods for this authentication strength policy.
|
|
28
|
+
:param pulumi.Input[_builtins.str] display_name: The friendly name for this authentication strength policy.
|
|
29
|
+
:param pulumi.Input[_builtins.str] description: The description for this authentication strength policy.
|
|
25
30
|
"""
|
|
26
31
|
pulumi.set(__self__, "allowed_combinations", allowed_combinations)
|
|
27
32
|
pulumi.set(__self__, "display_name", display_name)
|
|
28
33
|
if description is not None:
|
|
29
34
|
pulumi.set(__self__, "description", description)
|
|
30
35
|
|
|
31
|
-
@property
|
|
36
|
+
@_builtins.property
|
|
32
37
|
@pulumi.getter(name="allowedCombinations")
|
|
33
|
-
def allowed_combinations(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
|
38
|
+
def allowed_combinations(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
|
|
34
39
|
"""
|
|
35
40
|
List of allowed authentication methods for this authentication strength policy.
|
|
36
41
|
"""
|
|
37
42
|
return pulumi.get(self, "allowed_combinations")
|
|
38
43
|
|
|
39
44
|
@allowed_combinations.setter
|
|
40
|
-
def allowed_combinations(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
|
|
45
|
+
def allowed_combinations(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
|
|
41
46
|
pulumi.set(self, "allowed_combinations", value)
|
|
42
47
|
|
|
43
|
-
@property
|
|
48
|
+
@_builtins.property
|
|
44
49
|
@pulumi.getter(name="displayName")
|
|
45
|
-
def display_name(self) -> pulumi.Input[str]:
|
|
50
|
+
def display_name(self) -> pulumi.Input[_builtins.str]:
|
|
46
51
|
"""
|
|
47
52
|
The friendly name for this authentication strength policy.
|
|
48
53
|
"""
|
|
49
54
|
return pulumi.get(self, "display_name")
|
|
50
55
|
|
|
51
56
|
@display_name.setter
|
|
52
|
-
def display_name(self, value: pulumi.Input[str]):
|
|
57
|
+
def display_name(self, value: pulumi.Input[_builtins.str]):
|
|
53
58
|
pulumi.set(self, "display_name", value)
|
|
54
59
|
|
|
55
|
-
@property
|
|
60
|
+
@_builtins.property
|
|
56
61
|
@pulumi.getter
|
|
57
|
-
def description(self) -> Optional[pulumi.Input[str]]:
|
|
62
|
+
def description(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
58
63
|
"""
|
|
59
64
|
The description for this authentication strength policy.
|
|
60
65
|
"""
|
|
61
66
|
return pulumi.get(self, "description")
|
|
62
67
|
|
|
63
68
|
@description.setter
|
|
64
|
-
def description(self, value: Optional[pulumi.Input[str]]):
|
|
69
|
+
def description(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
65
70
|
pulumi.set(self, "description", value)
|
|
66
71
|
|
|
67
72
|
|
|
68
73
|
@pulumi.input_type
|
|
69
74
|
class _AuthenticationStrengthPolicyState:
|
|
70
75
|
def __init__(__self__, *,
|
|
71
|
-
allowed_combinations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
72
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
73
|
-
display_name: Optional[pulumi.Input[str]] = None):
|
|
76
|
+
allowed_combinations: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
77
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
78
|
+
display_name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
74
79
|
"""
|
|
75
80
|
Input properties used for looking up and filtering AuthenticationStrengthPolicy resources.
|
|
76
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_combinations: List of allowed authentication methods for this authentication strength policy.
|
|
77
|
-
:param pulumi.Input[str] description: The description for this authentication strength policy.
|
|
78
|
-
:param pulumi.Input[str] display_name: The friendly name for this authentication strength policy.
|
|
81
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] allowed_combinations: List of allowed authentication methods for this authentication strength policy.
|
|
82
|
+
:param pulumi.Input[_builtins.str] description: The description for this authentication strength policy.
|
|
83
|
+
:param pulumi.Input[_builtins.str] display_name: The friendly name for this authentication strength policy.
|
|
79
84
|
"""
|
|
80
85
|
if allowed_combinations is not None:
|
|
81
86
|
pulumi.set(__self__, "allowed_combinations", allowed_combinations)
|
|
@@ -84,51 +89,52 @@ class _AuthenticationStrengthPolicyState:
|
|
|
84
89
|
if display_name is not None:
|
|
85
90
|
pulumi.set(__self__, "display_name", display_name)
|
|
86
91
|
|
|
87
|
-
@property
|
|
92
|
+
@_builtins.property
|
|
88
93
|
@pulumi.getter(name="allowedCombinations")
|
|
89
|
-
def allowed_combinations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
94
|
+
def allowed_combinations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
90
95
|
"""
|
|
91
96
|
List of allowed authentication methods for this authentication strength policy.
|
|
92
97
|
"""
|
|
93
98
|
return pulumi.get(self, "allowed_combinations")
|
|
94
99
|
|
|
95
100
|
@allowed_combinations.setter
|
|
96
|
-
def allowed_combinations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
101
|
+
def allowed_combinations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
97
102
|
pulumi.set(self, "allowed_combinations", value)
|
|
98
103
|
|
|
99
|
-
@property
|
|
104
|
+
@_builtins.property
|
|
100
105
|
@pulumi.getter
|
|
101
|
-
def description(self) -> Optional[pulumi.Input[str]]:
|
|
106
|
+
def description(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
102
107
|
"""
|
|
103
108
|
The description for this authentication strength policy.
|
|
104
109
|
"""
|
|
105
110
|
return pulumi.get(self, "description")
|
|
106
111
|
|
|
107
112
|
@description.setter
|
|
108
|
-
def description(self, value: Optional[pulumi.Input[str]]):
|
|
113
|
+
def description(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
109
114
|
pulumi.set(self, "description", value)
|
|
110
115
|
|
|
111
|
-
@property
|
|
116
|
+
@_builtins.property
|
|
112
117
|
@pulumi.getter(name="displayName")
|
|
113
|
-
def display_name(self) -> Optional[pulumi.Input[str]]:
|
|
118
|
+
def display_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
114
119
|
"""
|
|
115
120
|
The friendly name for this authentication strength policy.
|
|
116
121
|
"""
|
|
117
122
|
return pulumi.get(self, "display_name")
|
|
118
123
|
|
|
119
124
|
@display_name.setter
|
|
120
|
-
def display_name(self, value: Optional[pulumi.Input[str]]):
|
|
125
|
+
def display_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
121
126
|
pulumi.set(self, "display_name", value)
|
|
122
127
|
|
|
123
128
|
|
|
129
|
+
@pulumi.type_token("azuread:index/authenticationStrengthPolicy:AuthenticationStrengthPolicy")
|
|
124
130
|
class AuthenticationStrengthPolicy(pulumi.CustomResource):
|
|
125
131
|
@overload
|
|
126
132
|
def __init__(__self__,
|
|
127
133
|
resource_name: str,
|
|
128
134
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
129
|
-
allowed_combinations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
130
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
131
|
-
display_name: Optional[pulumi.Input[str]] = None,
|
|
135
|
+
allowed_combinations: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
136
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
137
|
+
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
132
138
|
__props__=None):
|
|
133
139
|
"""
|
|
134
140
|
Manages a Authentication Strength Policy within Azure Active Directory.
|
|
@@ -148,13 +154,15 @@ class AuthenticationStrengthPolicy(pulumi.CustomResource):
|
|
|
148
154
|
import pulumi_azuread as azuread
|
|
149
155
|
|
|
150
156
|
example = azuread.AuthenticationStrengthPolicy("example",
|
|
157
|
+
display_name="Example Authentication Strength Policy",
|
|
158
|
+
description="Policy for demo purposes",
|
|
151
159
|
allowed_combinations=[
|
|
152
160
|
"fido2",
|
|
153
161
|
"password",
|
|
154
|
-
]
|
|
155
|
-
description="Policy for demo purposes",
|
|
156
|
-
display_name="Example Authentication Strength Policy")
|
|
162
|
+
])
|
|
157
163
|
example2 = azuread.AuthenticationStrengthPolicy("example2",
|
|
164
|
+
display_name="Example Authentication Strength Policy",
|
|
165
|
+
description="Policy for demo purposes with all possible combinations",
|
|
158
166
|
allowed_combinations=[
|
|
159
167
|
"fido2",
|
|
160
168
|
"password",
|
|
@@ -177,9 +185,7 @@ class AuthenticationStrengthPolicy(pulumi.CustomResource):
|
|
|
177
185
|
"windowsHelloForBusiness",
|
|
178
186
|
"x509CertificateMultiFactor",
|
|
179
187
|
"x509CertificateSingleFactor",
|
|
180
|
-
]
|
|
181
|
-
description="Policy for demo purposes with all possible combinations",
|
|
182
|
-
display_name="Example Authentication Strength Policy")
|
|
188
|
+
])
|
|
183
189
|
```
|
|
184
190
|
|
|
185
191
|
## Import
|
|
@@ -187,14 +193,14 @@ class AuthenticationStrengthPolicy(pulumi.CustomResource):
|
|
|
187
193
|
Authentication Strength Policies can be imported using the `id`, e.g.
|
|
188
194
|
|
|
189
195
|
```sh
|
|
190
|
-
|
|
196
|
+
$ pulumi import azuread:index/authenticationStrengthPolicy:AuthenticationStrengthPolicy my_policy /policies/authenticationStrengthPolicies/00000000-0000-0000-0000-000000000000
|
|
191
197
|
```
|
|
192
198
|
|
|
193
199
|
:param str resource_name: The name of the resource.
|
|
194
200
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
195
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_combinations: List of allowed authentication methods for this authentication strength policy.
|
|
196
|
-
:param pulumi.Input[str] description: The description for this authentication strength policy.
|
|
197
|
-
:param pulumi.Input[str] display_name: The friendly name for this authentication strength policy.
|
|
201
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] allowed_combinations: List of allowed authentication methods for this authentication strength policy.
|
|
202
|
+
:param pulumi.Input[_builtins.str] description: The description for this authentication strength policy.
|
|
203
|
+
:param pulumi.Input[_builtins.str] display_name: The friendly name for this authentication strength policy.
|
|
198
204
|
"""
|
|
199
205
|
...
|
|
200
206
|
@overload
|
|
@@ -220,13 +226,15 @@ class AuthenticationStrengthPolicy(pulumi.CustomResource):
|
|
|
220
226
|
import pulumi_azuread as azuread
|
|
221
227
|
|
|
222
228
|
example = azuread.AuthenticationStrengthPolicy("example",
|
|
229
|
+
display_name="Example Authentication Strength Policy",
|
|
230
|
+
description="Policy for demo purposes",
|
|
223
231
|
allowed_combinations=[
|
|
224
232
|
"fido2",
|
|
225
233
|
"password",
|
|
226
|
-
]
|
|
227
|
-
description="Policy for demo purposes",
|
|
228
|
-
display_name="Example Authentication Strength Policy")
|
|
234
|
+
])
|
|
229
235
|
example2 = azuread.AuthenticationStrengthPolicy("example2",
|
|
236
|
+
display_name="Example Authentication Strength Policy",
|
|
237
|
+
description="Policy for demo purposes with all possible combinations",
|
|
230
238
|
allowed_combinations=[
|
|
231
239
|
"fido2",
|
|
232
240
|
"password",
|
|
@@ -249,9 +257,7 @@ class AuthenticationStrengthPolicy(pulumi.CustomResource):
|
|
|
249
257
|
"windowsHelloForBusiness",
|
|
250
258
|
"x509CertificateMultiFactor",
|
|
251
259
|
"x509CertificateSingleFactor",
|
|
252
|
-
]
|
|
253
|
-
description="Policy for demo purposes with all possible combinations",
|
|
254
|
-
display_name="Example Authentication Strength Policy")
|
|
260
|
+
])
|
|
255
261
|
```
|
|
256
262
|
|
|
257
263
|
## Import
|
|
@@ -259,7 +265,7 @@ class AuthenticationStrengthPolicy(pulumi.CustomResource):
|
|
|
259
265
|
Authentication Strength Policies can be imported using the `id`, e.g.
|
|
260
266
|
|
|
261
267
|
```sh
|
|
262
|
-
|
|
268
|
+
$ pulumi import azuread:index/authenticationStrengthPolicy:AuthenticationStrengthPolicy my_policy /policies/authenticationStrengthPolicies/00000000-0000-0000-0000-000000000000
|
|
263
269
|
```
|
|
264
270
|
|
|
265
271
|
:param str resource_name: The name of the resource.
|
|
@@ -277,9 +283,9 @@ class AuthenticationStrengthPolicy(pulumi.CustomResource):
|
|
|
277
283
|
def _internal_init(__self__,
|
|
278
284
|
resource_name: str,
|
|
279
285
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
280
|
-
allowed_combinations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
281
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
282
|
-
display_name: Optional[pulumi.Input[str]] = None,
|
|
286
|
+
allowed_combinations: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
287
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
288
|
+
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
283
289
|
__props__=None):
|
|
284
290
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
285
291
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -306,9 +312,9 @@ class AuthenticationStrengthPolicy(pulumi.CustomResource):
|
|
|
306
312
|
def get(resource_name: str,
|
|
307
313
|
id: pulumi.Input[str],
|
|
308
314
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
309
|
-
allowed_combinations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
310
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
311
|
-
display_name: Optional[pulumi.Input[str]] = None) -> 'AuthenticationStrengthPolicy':
|
|
315
|
+
allowed_combinations: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
316
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
317
|
+
display_name: Optional[pulumi.Input[_builtins.str]] = None) -> 'AuthenticationStrengthPolicy':
|
|
312
318
|
"""
|
|
313
319
|
Get an existing AuthenticationStrengthPolicy resource's state with the given name, id, and optional extra
|
|
314
320
|
properties used to qualify the lookup.
|
|
@@ -316,9 +322,9 @@ class AuthenticationStrengthPolicy(pulumi.CustomResource):
|
|
|
316
322
|
:param str resource_name: The unique name of the resulting resource.
|
|
317
323
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
318
324
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
319
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_combinations: List of allowed authentication methods for this authentication strength policy.
|
|
320
|
-
:param pulumi.Input[str] description: The description for this authentication strength policy.
|
|
321
|
-
:param pulumi.Input[str] display_name: The friendly name for this authentication strength policy.
|
|
325
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] allowed_combinations: List of allowed authentication methods for this authentication strength policy.
|
|
326
|
+
:param pulumi.Input[_builtins.str] description: The description for this authentication strength policy.
|
|
327
|
+
:param pulumi.Input[_builtins.str] display_name: The friendly name for this authentication strength policy.
|
|
322
328
|
"""
|
|
323
329
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
324
330
|
|
|
@@ -329,25 +335,25 @@ class AuthenticationStrengthPolicy(pulumi.CustomResource):
|
|
|
329
335
|
__props__.__dict__["display_name"] = display_name
|
|
330
336
|
return AuthenticationStrengthPolicy(resource_name, opts=opts, __props__=__props__)
|
|
331
337
|
|
|
332
|
-
@property
|
|
338
|
+
@_builtins.property
|
|
333
339
|
@pulumi.getter(name="allowedCombinations")
|
|
334
|
-
def allowed_combinations(self) -> pulumi.Output[Sequence[str]]:
|
|
340
|
+
def allowed_combinations(self) -> pulumi.Output[Sequence[_builtins.str]]:
|
|
335
341
|
"""
|
|
336
342
|
List of allowed authentication methods for this authentication strength policy.
|
|
337
343
|
"""
|
|
338
344
|
return pulumi.get(self, "allowed_combinations")
|
|
339
345
|
|
|
340
|
-
@property
|
|
346
|
+
@_builtins.property
|
|
341
347
|
@pulumi.getter
|
|
342
|
-
def description(self) -> pulumi.Output[Optional[str]]:
|
|
348
|
+
def description(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
343
349
|
"""
|
|
344
350
|
The description for this authentication strength policy.
|
|
345
351
|
"""
|
|
346
352
|
return pulumi.get(self, "description")
|
|
347
353
|
|
|
348
|
-
@property
|
|
354
|
+
@_builtins.property
|
|
349
355
|
@pulumi.getter(name="displayName")
|
|
350
|
-
def display_name(self) -> pulumi.Output[str]:
|
|
356
|
+
def display_name(self) -> pulumi.Output[_builtins.str]:
|
|
351
357
|
"""
|
|
352
358
|
The friendly name for this authentication strength policy.
|
|
353
359
|
"""
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
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
|
|
10
15
|
from . import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = ['ClaimsMappingPolicyArgs', 'ClaimsMappingPolicy']
|
|
@@ -14,88 +19,89 @@ __all__ = ['ClaimsMappingPolicyArgs', 'ClaimsMappingPolicy']
|
|
|
14
19
|
@pulumi.input_type
|
|
15
20
|
class ClaimsMappingPolicyArgs:
|
|
16
21
|
def __init__(__self__, *,
|
|
17
|
-
definitions: pulumi.Input[Sequence[pulumi.Input[str]]],
|
|
18
|
-
display_name: pulumi.Input[str]):
|
|
22
|
+
definitions: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]],
|
|
23
|
+
display_name: pulumi.Input[_builtins.str]):
|
|
19
24
|
"""
|
|
20
25
|
The set of arguments for constructing a ClaimsMappingPolicy resource.
|
|
21
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] definitions: The claims mapping policy. This is a JSON formatted string, for which the `jsonencode()` function can be used.
|
|
22
|
-
:param pulumi.Input[str] display_name: The display name for this Claims Mapping Policy.
|
|
26
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] definitions: The claims mapping policy. This is a JSON formatted string, for which the `jsonencode()` function can be used.
|
|
27
|
+
:param pulumi.Input[_builtins.str] display_name: The display name for this Claims Mapping Policy.
|
|
23
28
|
"""
|
|
24
29
|
pulumi.set(__self__, "definitions", definitions)
|
|
25
30
|
pulumi.set(__self__, "display_name", display_name)
|
|
26
31
|
|
|
27
|
-
@property
|
|
32
|
+
@_builtins.property
|
|
28
33
|
@pulumi.getter
|
|
29
|
-
def definitions(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
|
34
|
+
def definitions(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
|
|
30
35
|
"""
|
|
31
36
|
The claims mapping policy. This is a JSON formatted string, for which the `jsonencode()` function can be used.
|
|
32
37
|
"""
|
|
33
38
|
return pulumi.get(self, "definitions")
|
|
34
39
|
|
|
35
40
|
@definitions.setter
|
|
36
|
-
def definitions(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
|
|
41
|
+
def definitions(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
|
|
37
42
|
pulumi.set(self, "definitions", value)
|
|
38
43
|
|
|
39
|
-
@property
|
|
44
|
+
@_builtins.property
|
|
40
45
|
@pulumi.getter(name="displayName")
|
|
41
|
-
def display_name(self) -> pulumi.Input[str]:
|
|
46
|
+
def display_name(self) -> pulumi.Input[_builtins.str]:
|
|
42
47
|
"""
|
|
43
48
|
The display name for this Claims Mapping Policy.
|
|
44
49
|
"""
|
|
45
50
|
return pulumi.get(self, "display_name")
|
|
46
51
|
|
|
47
52
|
@display_name.setter
|
|
48
|
-
def display_name(self, value: pulumi.Input[str]):
|
|
53
|
+
def display_name(self, value: pulumi.Input[_builtins.str]):
|
|
49
54
|
pulumi.set(self, "display_name", value)
|
|
50
55
|
|
|
51
56
|
|
|
52
57
|
@pulumi.input_type
|
|
53
58
|
class _ClaimsMappingPolicyState:
|
|
54
59
|
def __init__(__self__, *,
|
|
55
|
-
definitions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
56
|
-
display_name: Optional[pulumi.Input[str]] = None):
|
|
60
|
+
definitions: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
61
|
+
display_name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
57
62
|
"""
|
|
58
63
|
Input properties used for looking up and filtering ClaimsMappingPolicy resources.
|
|
59
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] definitions: The claims mapping policy. This is a JSON formatted string, for which the `jsonencode()` function can be used.
|
|
60
|
-
:param pulumi.Input[str] display_name: The display name for this Claims Mapping Policy.
|
|
64
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] definitions: The claims mapping policy. This is a JSON formatted string, for which the `jsonencode()` function can be used.
|
|
65
|
+
:param pulumi.Input[_builtins.str] display_name: The display name for this Claims Mapping Policy.
|
|
61
66
|
"""
|
|
62
67
|
if definitions is not None:
|
|
63
68
|
pulumi.set(__self__, "definitions", definitions)
|
|
64
69
|
if display_name is not None:
|
|
65
70
|
pulumi.set(__self__, "display_name", display_name)
|
|
66
71
|
|
|
67
|
-
@property
|
|
72
|
+
@_builtins.property
|
|
68
73
|
@pulumi.getter
|
|
69
|
-
def definitions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
74
|
+
def definitions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
70
75
|
"""
|
|
71
76
|
The claims mapping policy. This is a JSON formatted string, for which the `jsonencode()` function can be used.
|
|
72
77
|
"""
|
|
73
78
|
return pulumi.get(self, "definitions")
|
|
74
79
|
|
|
75
80
|
@definitions.setter
|
|
76
|
-
def definitions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
81
|
+
def definitions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
77
82
|
pulumi.set(self, "definitions", value)
|
|
78
83
|
|
|
79
|
-
@property
|
|
84
|
+
@_builtins.property
|
|
80
85
|
@pulumi.getter(name="displayName")
|
|
81
|
-
def display_name(self) -> Optional[pulumi.Input[str]]:
|
|
86
|
+
def display_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
82
87
|
"""
|
|
83
88
|
The display name for this Claims Mapping Policy.
|
|
84
89
|
"""
|
|
85
90
|
return pulumi.get(self, "display_name")
|
|
86
91
|
|
|
87
92
|
@display_name.setter
|
|
88
|
-
def display_name(self, value: Optional[pulumi.Input[str]]):
|
|
93
|
+
def display_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
89
94
|
pulumi.set(self, "display_name", value)
|
|
90
95
|
|
|
91
96
|
|
|
97
|
+
@pulumi.type_token("azuread:index/claimsMappingPolicy:ClaimsMappingPolicy")
|
|
92
98
|
class ClaimsMappingPolicy(pulumi.CustomResource):
|
|
93
99
|
@overload
|
|
94
100
|
def __init__(__self__,
|
|
95
101
|
resource_name: str,
|
|
96
102
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
97
|
-
definitions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
98
|
-
display_name: Optional[pulumi.Input[str]] = None,
|
|
103
|
+
definitions: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
104
|
+
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
99
105
|
__props__=None):
|
|
100
106
|
"""
|
|
101
107
|
Manages a Claims Mapping Policy within Azure Active Directory.
|
|
@@ -115,7 +121,7 @@ class ClaimsMappingPolicy(pulumi.CustomResource):
|
|
|
115
121
|
import json
|
|
116
122
|
import pulumi_azuread as azuread
|
|
117
123
|
|
|
118
|
-
my_policy = azuread.ClaimsMappingPolicy("
|
|
124
|
+
my_policy = azuread.ClaimsMappingPolicy("my_policy",
|
|
119
125
|
definitions=[json.dumps({
|
|
120
126
|
"ClaimsMappingPolicy": {
|
|
121
127
|
"ClaimsSchema": [
|
|
@@ -141,16 +147,16 @@ class ClaimsMappingPolicy(pulumi.CustomResource):
|
|
|
141
147
|
|
|
142
148
|
## Import
|
|
143
149
|
|
|
144
|
-
Claims Mapping
|
|
150
|
+
Claims Mapping Policies can be imported using the `id`, e.g.
|
|
145
151
|
|
|
146
152
|
```sh
|
|
147
|
-
|
|
153
|
+
$ pulumi import azuread:index/claimsMappingPolicy:ClaimsMappingPolicy my_policy /policies/claimsMappingPolicies/00000000-0000-0000-0000-000000000000
|
|
148
154
|
```
|
|
149
155
|
|
|
150
156
|
:param str resource_name: The name of the resource.
|
|
151
157
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
152
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] definitions: The claims mapping policy. This is a JSON formatted string, for which the `jsonencode()` function can be used.
|
|
153
|
-
:param pulumi.Input[str] display_name: The display name for this Claims Mapping Policy.
|
|
158
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] definitions: The claims mapping policy. This is a JSON formatted string, for which the `jsonencode()` function can be used.
|
|
159
|
+
:param pulumi.Input[_builtins.str] display_name: The display name for this Claims Mapping Policy.
|
|
154
160
|
"""
|
|
155
161
|
...
|
|
156
162
|
@overload
|
|
@@ -176,7 +182,7 @@ class ClaimsMappingPolicy(pulumi.CustomResource):
|
|
|
176
182
|
import json
|
|
177
183
|
import pulumi_azuread as azuread
|
|
178
184
|
|
|
179
|
-
my_policy = azuread.ClaimsMappingPolicy("
|
|
185
|
+
my_policy = azuread.ClaimsMappingPolicy("my_policy",
|
|
180
186
|
definitions=[json.dumps({
|
|
181
187
|
"ClaimsMappingPolicy": {
|
|
182
188
|
"ClaimsSchema": [
|
|
@@ -202,10 +208,10 @@ class ClaimsMappingPolicy(pulumi.CustomResource):
|
|
|
202
208
|
|
|
203
209
|
## Import
|
|
204
210
|
|
|
205
|
-
Claims Mapping
|
|
211
|
+
Claims Mapping Policies can be imported using the `id`, e.g.
|
|
206
212
|
|
|
207
213
|
```sh
|
|
208
|
-
|
|
214
|
+
$ pulumi import azuread:index/claimsMappingPolicy:ClaimsMappingPolicy my_policy /policies/claimsMappingPolicies/00000000-0000-0000-0000-000000000000
|
|
209
215
|
```
|
|
210
216
|
|
|
211
217
|
:param str resource_name: The name of the resource.
|
|
@@ -223,8 +229,8 @@ class ClaimsMappingPolicy(pulumi.CustomResource):
|
|
|
223
229
|
def _internal_init(__self__,
|
|
224
230
|
resource_name: str,
|
|
225
231
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
226
|
-
definitions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
227
|
-
display_name: Optional[pulumi.Input[str]] = None,
|
|
232
|
+
definitions: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
233
|
+
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
228
234
|
__props__=None):
|
|
229
235
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
230
236
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -250,8 +256,8 @@ class ClaimsMappingPolicy(pulumi.CustomResource):
|
|
|
250
256
|
def get(resource_name: str,
|
|
251
257
|
id: pulumi.Input[str],
|
|
252
258
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
253
|
-
definitions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
254
|
-
display_name: Optional[pulumi.Input[str]] = None) -> 'ClaimsMappingPolicy':
|
|
259
|
+
definitions: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
260
|
+
display_name: Optional[pulumi.Input[_builtins.str]] = None) -> 'ClaimsMappingPolicy':
|
|
255
261
|
"""
|
|
256
262
|
Get an existing ClaimsMappingPolicy resource's state with the given name, id, and optional extra
|
|
257
263
|
properties used to qualify the lookup.
|
|
@@ -259,8 +265,8 @@ class ClaimsMappingPolicy(pulumi.CustomResource):
|
|
|
259
265
|
:param str resource_name: The unique name of the resulting resource.
|
|
260
266
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
261
267
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
262
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] definitions: The claims mapping policy. This is a JSON formatted string, for which the `jsonencode()` function can be used.
|
|
263
|
-
:param pulumi.Input[str] display_name: The display name for this Claims Mapping Policy.
|
|
268
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] definitions: The claims mapping policy. This is a JSON formatted string, for which the `jsonencode()` function can be used.
|
|
269
|
+
:param pulumi.Input[_builtins.str] display_name: The display name for this Claims Mapping Policy.
|
|
264
270
|
"""
|
|
265
271
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
266
272
|
|
|
@@ -270,17 +276,17 @@ class ClaimsMappingPolicy(pulumi.CustomResource):
|
|
|
270
276
|
__props__.__dict__["display_name"] = display_name
|
|
271
277
|
return ClaimsMappingPolicy(resource_name, opts=opts, __props__=__props__)
|
|
272
278
|
|
|
273
|
-
@property
|
|
279
|
+
@_builtins.property
|
|
274
280
|
@pulumi.getter
|
|
275
|
-
def definitions(self) -> pulumi.Output[Sequence[str]]:
|
|
281
|
+
def definitions(self) -> pulumi.Output[Sequence[_builtins.str]]:
|
|
276
282
|
"""
|
|
277
283
|
The claims mapping policy. This is a JSON formatted string, for which the `jsonencode()` function can be used.
|
|
278
284
|
"""
|
|
279
285
|
return pulumi.get(self, "definitions")
|
|
280
286
|
|
|
281
|
-
@property
|
|
287
|
+
@_builtins.property
|
|
282
288
|
@pulumi.getter(name="displayName")
|
|
283
|
-
def display_name(self) -> pulumi.Output[str]:
|
|
289
|
+
def display_name(self) -> pulumi.Output[_builtins.str]:
|
|
284
290
|
"""
|
|
285
291
|
The display name for this Claims Mapping Policy.
|
|
286
292
|
"""
|