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
pulumi_azuread/directory_role.py
CHANGED
|
@@ -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__ = ['DirectoryRoleArgs', 'DirectoryRole']
|
|
@@ -14,12 +19,12 @@ __all__ = ['DirectoryRoleArgs', 'DirectoryRole']
|
|
|
14
19
|
@pulumi.input_type
|
|
15
20
|
class DirectoryRoleArgs:
|
|
16
21
|
def __init__(__self__, *,
|
|
17
|
-
display_name: Optional[pulumi.Input[str]] = None,
|
|
18
|
-
template_id: Optional[pulumi.Input[str]] = None):
|
|
22
|
+
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
23
|
+
template_id: Optional[pulumi.Input[_builtins.str]] = None):
|
|
19
24
|
"""
|
|
20
25
|
The set of arguments for constructing a DirectoryRole resource.
|
|
21
|
-
:param pulumi.Input[str] display_name: The display name of the directory role to activate. Changing this forces a new resource to be created.
|
|
22
|
-
:param pulumi.Input[str] template_id: The object ID of the role template from which to activate the directory role. Changing this forces a new resource to be created.
|
|
26
|
+
:param pulumi.Input[_builtins.str] display_name: The display name of the directory role to activate. Changing this forces a new resource to be created.
|
|
27
|
+
:param pulumi.Input[_builtins.str] template_id: The object ID of the role template from which to activate the directory role. Changing this forces a new resource to be created.
|
|
23
28
|
|
|
24
29
|
> Either `display_name` or `template_id` must be specified.
|
|
25
30
|
"""
|
|
@@ -28,21 +33,21 @@ class DirectoryRoleArgs:
|
|
|
28
33
|
if template_id is not None:
|
|
29
34
|
pulumi.set(__self__, "template_id", template_id)
|
|
30
35
|
|
|
31
|
-
@property
|
|
36
|
+
@_builtins.property
|
|
32
37
|
@pulumi.getter(name="displayName")
|
|
33
|
-
def display_name(self) -> Optional[pulumi.Input[str]]:
|
|
38
|
+
def display_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
34
39
|
"""
|
|
35
40
|
The display name of the directory role to activate. Changing this forces a new resource to be created.
|
|
36
41
|
"""
|
|
37
42
|
return pulumi.get(self, "display_name")
|
|
38
43
|
|
|
39
44
|
@display_name.setter
|
|
40
|
-
def display_name(self, value: Optional[pulumi.Input[str]]):
|
|
45
|
+
def display_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
41
46
|
pulumi.set(self, "display_name", value)
|
|
42
47
|
|
|
43
|
-
@property
|
|
48
|
+
@_builtins.property
|
|
44
49
|
@pulumi.getter(name="templateId")
|
|
45
|
-
def template_id(self) -> Optional[pulumi.Input[str]]:
|
|
50
|
+
def template_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
46
51
|
"""
|
|
47
52
|
The object ID of the role template from which to activate the directory role. Changing this forces a new resource to be created.
|
|
48
53
|
|
|
@@ -51,23 +56,23 @@ class DirectoryRoleArgs:
|
|
|
51
56
|
return pulumi.get(self, "template_id")
|
|
52
57
|
|
|
53
58
|
@template_id.setter
|
|
54
|
-
def template_id(self, value: Optional[pulumi.Input[str]]):
|
|
59
|
+
def template_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
55
60
|
pulumi.set(self, "template_id", value)
|
|
56
61
|
|
|
57
62
|
|
|
58
63
|
@pulumi.input_type
|
|
59
64
|
class _DirectoryRoleState:
|
|
60
65
|
def __init__(__self__, *,
|
|
61
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
62
|
-
display_name: Optional[pulumi.Input[str]] = None,
|
|
63
|
-
object_id: Optional[pulumi.Input[str]] = None,
|
|
64
|
-
template_id: Optional[pulumi.Input[str]] = None):
|
|
66
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
67
|
+
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
68
|
+
object_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
69
|
+
template_id: Optional[pulumi.Input[_builtins.str]] = None):
|
|
65
70
|
"""
|
|
66
71
|
Input properties used for looking up and filtering DirectoryRole resources.
|
|
67
|
-
:param pulumi.Input[str] description: The description of the directory role.
|
|
68
|
-
:param pulumi.Input[str] display_name: The display name of the directory role to activate. Changing this forces a new resource to be created.
|
|
69
|
-
:param pulumi.Input[str] object_id: The object ID of the directory role.
|
|
70
|
-
:param pulumi.Input[str] template_id: The object ID of the role template from which to activate the directory role. Changing this forces a new resource to be created.
|
|
72
|
+
:param pulumi.Input[_builtins.str] description: The description of the directory role.
|
|
73
|
+
:param pulumi.Input[_builtins.str] display_name: The display name of the directory role to activate. Changing this forces a new resource to be created.
|
|
74
|
+
:param pulumi.Input[_builtins.str] object_id: The object ID of the directory role.
|
|
75
|
+
:param pulumi.Input[_builtins.str] template_id: The object ID of the role template from which to activate the directory role. Changing this forces a new resource to be created.
|
|
71
76
|
|
|
72
77
|
> Either `display_name` or `template_id` must be specified.
|
|
73
78
|
"""
|
|
@@ -80,45 +85,45 @@ class _DirectoryRoleState:
|
|
|
80
85
|
if template_id is not None:
|
|
81
86
|
pulumi.set(__self__, "template_id", template_id)
|
|
82
87
|
|
|
83
|
-
@property
|
|
88
|
+
@_builtins.property
|
|
84
89
|
@pulumi.getter
|
|
85
|
-
def description(self) -> Optional[pulumi.Input[str]]:
|
|
90
|
+
def description(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
86
91
|
"""
|
|
87
92
|
The description of the directory role.
|
|
88
93
|
"""
|
|
89
94
|
return pulumi.get(self, "description")
|
|
90
95
|
|
|
91
96
|
@description.setter
|
|
92
|
-
def description(self, value: Optional[pulumi.Input[str]]):
|
|
97
|
+
def description(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
93
98
|
pulumi.set(self, "description", value)
|
|
94
99
|
|
|
95
|
-
@property
|
|
100
|
+
@_builtins.property
|
|
96
101
|
@pulumi.getter(name="displayName")
|
|
97
|
-
def display_name(self) -> Optional[pulumi.Input[str]]:
|
|
102
|
+
def display_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
98
103
|
"""
|
|
99
104
|
The display name of the directory role to activate. Changing this forces a new resource to be created.
|
|
100
105
|
"""
|
|
101
106
|
return pulumi.get(self, "display_name")
|
|
102
107
|
|
|
103
108
|
@display_name.setter
|
|
104
|
-
def display_name(self, value: Optional[pulumi.Input[str]]):
|
|
109
|
+
def display_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
105
110
|
pulumi.set(self, "display_name", value)
|
|
106
111
|
|
|
107
|
-
@property
|
|
112
|
+
@_builtins.property
|
|
108
113
|
@pulumi.getter(name="objectId")
|
|
109
|
-
def object_id(self) -> Optional[pulumi.Input[str]]:
|
|
114
|
+
def object_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
110
115
|
"""
|
|
111
116
|
The object ID of the directory role.
|
|
112
117
|
"""
|
|
113
118
|
return pulumi.get(self, "object_id")
|
|
114
119
|
|
|
115
120
|
@object_id.setter
|
|
116
|
-
def object_id(self, value: Optional[pulumi.Input[str]]):
|
|
121
|
+
def object_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
117
122
|
pulumi.set(self, "object_id", value)
|
|
118
123
|
|
|
119
|
-
@property
|
|
124
|
+
@_builtins.property
|
|
120
125
|
@pulumi.getter(name="templateId")
|
|
121
|
-
def template_id(self) -> Optional[pulumi.Input[str]]:
|
|
126
|
+
def template_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
122
127
|
"""
|
|
123
128
|
The object ID of the role template from which to activate the directory role. Changing this forces a new resource to be created.
|
|
124
129
|
|
|
@@ -127,17 +132,18 @@ class _DirectoryRoleState:
|
|
|
127
132
|
return pulumi.get(self, "template_id")
|
|
128
133
|
|
|
129
134
|
@template_id.setter
|
|
130
|
-
def template_id(self, value: Optional[pulumi.Input[str]]):
|
|
135
|
+
def template_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
131
136
|
pulumi.set(self, "template_id", value)
|
|
132
137
|
|
|
133
138
|
|
|
139
|
+
@pulumi.type_token("azuread:index/directoryRole:DirectoryRole")
|
|
134
140
|
class DirectoryRole(pulumi.CustomResource):
|
|
135
141
|
@overload
|
|
136
142
|
def __init__(__self__,
|
|
137
143
|
resource_name: str,
|
|
138
144
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
139
|
-
display_name: Optional[pulumi.Input[str]] = None,
|
|
140
|
-
template_id: Optional[pulumi.Input[str]] = None,
|
|
145
|
+
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
146
|
+
template_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
141
147
|
__props__=None):
|
|
142
148
|
"""
|
|
143
149
|
Manages a Directory Role within Azure Active Directory. Directory Roles are also known as Administrator Roles.
|
|
@@ -180,8 +186,8 @@ class DirectoryRole(pulumi.CustomResource):
|
|
|
180
186
|
|
|
181
187
|
:param str resource_name: The name of the resource.
|
|
182
188
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
183
|
-
:param pulumi.Input[str] display_name: The display name of the directory role to activate. Changing this forces a new resource to be created.
|
|
184
|
-
:param pulumi.Input[str] template_id: The object ID of the role template from which to activate the directory role. Changing this forces a new resource to be created.
|
|
189
|
+
:param pulumi.Input[_builtins.str] display_name: The display name of the directory role to activate. Changing this forces a new resource to be created.
|
|
190
|
+
:param pulumi.Input[_builtins.str] template_id: The object ID of the role template from which to activate the directory role. Changing this forces a new resource to be created.
|
|
185
191
|
|
|
186
192
|
> Either `display_name` or `template_id` must be specified.
|
|
187
193
|
"""
|
|
@@ -245,8 +251,8 @@ class DirectoryRole(pulumi.CustomResource):
|
|
|
245
251
|
def _internal_init(__self__,
|
|
246
252
|
resource_name: str,
|
|
247
253
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
248
|
-
display_name: Optional[pulumi.Input[str]] = None,
|
|
249
|
-
template_id: Optional[pulumi.Input[str]] = None,
|
|
254
|
+
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
255
|
+
template_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
250
256
|
__props__=None):
|
|
251
257
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
252
258
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -270,10 +276,10 @@ class DirectoryRole(pulumi.CustomResource):
|
|
|
270
276
|
def get(resource_name: str,
|
|
271
277
|
id: pulumi.Input[str],
|
|
272
278
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
273
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
274
|
-
display_name: Optional[pulumi.Input[str]] = None,
|
|
275
|
-
object_id: Optional[pulumi.Input[str]] = None,
|
|
276
|
-
template_id: Optional[pulumi.Input[str]] = None) -> 'DirectoryRole':
|
|
279
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
280
|
+
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
281
|
+
object_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
282
|
+
template_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'DirectoryRole':
|
|
277
283
|
"""
|
|
278
284
|
Get an existing DirectoryRole resource's state with the given name, id, and optional extra
|
|
279
285
|
properties used to qualify the lookup.
|
|
@@ -281,10 +287,10 @@ class DirectoryRole(pulumi.CustomResource):
|
|
|
281
287
|
:param str resource_name: The unique name of the resulting resource.
|
|
282
288
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
283
289
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
284
|
-
:param pulumi.Input[str] description: The description of the directory role.
|
|
285
|
-
:param pulumi.Input[str] display_name: The display name of the directory role to activate. Changing this forces a new resource to be created.
|
|
286
|
-
:param pulumi.Input[str] object_id: The object ID of the directory role.
|
|
287
|
-
:param pulumi.Input[str] template_id: The object ID of the role template from which to activate the directory role. Changing this forces a new resource to be created.
|
|
290
|
+
:param pulumi.Input[_builtins.str] description: The description of the directory role.
|
|
291
|
+
:param pulumi.Input[_builtins.str] display_name: The display name of the directory role to activate. Changing this forces a new resource to be created.
|
|
292
|
+
:param pulumi.Input[_builtins.str] object_id: The object ID of the directory role.
|
|
293
|
+
:param pulumi.Input[_builtins.str] template_id: The object ID of the role template from which to activate the directory role. Changing this forces a new resource to be created.
|
|
288
294
|
|
|
289
295
|
> Either `display_name` or `template_id` must be specified.
|
|
290
296
|
"""
|
|
@@ -298,33 +304,33 @@ class DirectoryRole(pulumi.CustomResource):
|
|
|
298
304
|
__props__.__dict__["template_id"] = template_id
|
|
299
305
|
return DirectoryRole(resource_name, opts=opts, __props__=__props__)
|
|
300
306
|
|
|
301
|
-
@property
|
|
307
|
+
@_builtins.property
|
|
302
308
|
@pulumi.getter
|
|
303
|
-
def description(self) -> pulumi.Output[str]:
|
|
309
|
+
def description(self) -> pulumi.Output[_builtins.str]:
|
|
304
310
|
"""
|
|
305
311
|
The description of the directory role.
|
|
306
312
|
"""
|
|
307
313
|
return pulumi.get(self, "description")
|
|
308
314
|
|
|
309
|
-
@property
|
|
315
|
+
@_builtins.property
|
|
310
316
|
@pulumi.getter(name="displayName")
|
|
311
|
-
def display_name(self) -> pulumi.Output[str]:
|
|
317
|
+
def display_name(self) -> pulumi.Output[_builtins.str]:
|
|
312
318
|
"""
|
|
313
319
|
The display name of the directory role to activate. Changing this forces a new resource to be created.
|
|
314
320
|
"""
|
|
315
321
|
return pulumi.get(self, "display_name")
|
|
316
322
|
|
|
317
|
-
@property
|
|
323
|
+
@_builtins.property
|
|
318
324
|
@pulumi.getter(name="objectId")
|
|
319
|
-
def object_id(self) -> pulumi.Output[str]:
|
|
325
|
+
def object_id(self) -> pulumi.Output[_builtins.str]:
|
|
320
326
|
"""
|
|
321
327
|
The object ID of the directory role.
|
|
322
328
|
"""
|
|
323
329
|
return pulumi.get(self, "object_id")
|
|
324
330
|
|
|
325
|
-
@property
|
|
331
|
+
@_builtins.property
|
|
326
332
|
@pulumi.getter(name="templateId")
|
|
327
|
-
def template_id(self) -> pulumi.Output[str]:
|
|
333
|
+
def template_id(self) -> pulumi.Output[_builtins.str]:
|
|
328
334
|
"""
|
|
329
335
|
The object ID of the role template from which to activate the directory role. Changing this forces a new resource to be created.
|
|
330
336
|
|