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/group_member.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__ = ['GroupMemberArgs', 'GroupMember']
|
|
@@ -14,88 +19,89 @@ __all__ = ['GroupMemberArgs', 'GroupMember']
|
|
|
14
19
|
@pulumi.input_type
|
|
15
20
|
class GroupMemberArgs:
|
|
16
21
|
def __init__(__self__, *,
|
|
17
|
-
group_object_id: pulumi.Input[str],
|
|
18
|
-
member_object_id: pulumi.Input[str]):
|
|
22
|
+
group_object_id: pulumi.Input[_builtins.str],
|
|
23
|
+
member_object_id: pulumi.Input[_builtins.str]):
|
|
19
24
|
"""
|
|
20
25
|
The set of arguments for constructing a GroupMember resource.
|
|
21
|
-
:param pulumi.Input[str] group_object_id: The object ID of the group you want to add the member to. Changing this forces a new resource to be created.
|
|
22
|
-
:param pulumi.Input[str] member_object_id: The object ID of the principal you want to add as a member to the group. Supported object types are Users, Groups or Service Principals. Changing this forces a new resource to be created.
|
|
26
|
+
:param pulumi.Input[_builtins.str] group_object_id: The object ID of the group you want to add the member to. Changing this forces a new resource to be created.
|
|
27
|
+
:param pulumi.Input[_builtins.str] member_object_id: The object ID of the principal you want to add as a member to the group. Supported object types are Users, Groups or Service Principals. Changing this forces a new resource to be created.
|
|
23
28
|
"""
|
|
24
29
|
pulumi.set(__self__, "group_object_id", group_object_id)
|
|
25
30
|
pulumi.set(__self__, "member_object_id", member_object_id)
|
|
26
31
|
|
|
27
|
-
@property
|
|
32
|
+
@_builtins.property
|
|
28
33
|
@pulumi.getter(name="groupObjectId")
|
|
29
|
-
def group_object_id(self) -> pulumi.Input[str]:
|
|
34
|
+
def group_object_id(self) -> pulumi.Input[_builtins.str]:
|
|
30
35
|
"""
|
|
31
36
|
The object ID of the group you want to add the member to. Changing this forces a new resource to be created.
|
|
32
37
|
"""
|
|
33
38
|
return pulumi.get(self, "group_object_id")
|
|
34
39
|
|
|
35
40
|
@group_object_id.setter
|
|
36
|
-
def group_object_id(self, value: pulumi.Input[str]):
|
|
41
|
+
def group_object_id(self, value: pulumi.Input[_builtins.str]):
|
|
37
42
|
pulumi.set(self, "group_object_id", value)
|
|
38
43
|
|
|
39
|
-
@property
|
|
44
|
+
@_builtins.property
|
|
40
45
|
@pulumi.getter(name="memberObjectId")
|
|
41
|
-
def member_object_id(self) -> pulumi.Input[str]:
|
|
46
|
+
def member_object_id(self) -> pulumi.Input[_builtins.str]:
|
|
42
47
|
"""
|
|
43
48
|
The object ID of the principal you want to add as a member to the group. Supported object types are Users, Groups or Service Principals. Changing this forces a new resource to be created.
|
|
44
49
|
"""
|
|
45
50
|
return pulumi.get(self, "member_object_id")
|
|
46
51
|
|
|
47
52
|
@member_object_id.setter
|
|
48
|
-
def member_object_id(self, value: pulumi.Input[str]):
|
|
53
|
+
def member_object_id(self, value: pulumi.Input[_builtins.str]):
|
|
49
54
|
pulumi.set(self, "member_object_id", value)
|
|
50
55
|
|
|
51
56
|
|
|
52
57
|
@pulumi.input_type
|
|
53
58
|
class _GroupMemberState:
|
|
54
59
|
def __init__(__self__, *,
|
|
55
|
-
group_object_id: Optional[pulumi.Input[str]] = None,
|
|
56
|
-
member_object_id: Optional[pulumi.Input[str]] = None):
|
|
60
|
+
group_object_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
61
|
+
member_object_id: Optional[pulumi.Input[_builtins.str]] = None):
|
|
57
62
|
"""
|
|
58
63
|
Input properties used for looking up and filtering GroupMember resources.
|
|
59
|
-
:param pulumi.Input[str] group_object_id: The object ID of the group you want to add the member to. Changing this forces a new resource to be created.
|
|
60
|
-
:param pulumi.Input[str] member_object_id: The object ID of the principal you want to add as a member to the group. Supported object types are Users, Groups or Service Principals. Changing this forces a new resource to be created.
|
|
64
|
+
:param pulumi.Input[_builtins.str] group_object_id: The object ID of the group you want to add the member to. Changing this forces a new resource to be created.
|
|
65
|
+
:param pulumi.Input[_builtins.str] member_object_id: The object ID of the principal you want to add as a member to the group. Supported object types are Users, Groups or Service Principals. Changing this forces a new resource to be created.
|
|
61
66
|
"""
|
|
62
67
|
if group_object_id is not None:
|
|
63
68
|
pulumi.set(__self__, "group_object_id", group_object_id)
|
|
64
69
|
if member_object_id is not None:
|
|
65
70
|
pulumi.set(__self__, "member_object_id", member_object_id)
|
|
66
71
|
|
|
67
|
-
@property
|
|
72
|
+
@_builtins.property
|
|
68
73
|
@pulumi.getter(name="groupObjectId")
|
|
69
|
-
def group_object_id(self) -> Optional[pulumi.Input[str]]:
|
|
74
|
+
def group_object_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
70
75
|
"""
|
|
71
76
|
The object ID of the group you want to add the member to. Changing this forces a new resource to be created.
|
|
72
77
|
"""
|
|
73
78
|
return pulumi.get(self, "group_object_id")
|
|
74
79
|
|
|
75
80
|
@group_object_id.setter
|
|
76
|
-
def group_object_id(self, value: Optional[pulumi.Input[str]]):
|
|
81
|
+
def group_object_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
77
82
|
pulumi.set(self, "group_object_id", value)
|
|
78
83
|
|
|
79
|
-
@property
|
|
84
|
+
@_builtins.property
|
|
80
85
|
@pulumi.getter(name="memberObjectId")
|
|
81
|
-
def member_object_id(self) -> Optional[pulumi.Input[str]]:
|
|
86
|
+
def member_object_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
82
87
|
"""
|
|
83
88
|
The object ID of the principal you want to add as a member to the group. Supported object types are Users, Groups or Service Principals. Changing this forces a new resource to be created.
|
|
84
89
|
"""
|
|
85
90
|
return pulumi.get(self, "member_object_id")
|
|
86
91
|
|
|
87
92
|
@member_object_id.setter
|
|
88
|
-
def member_object_id(self, value: Optional[pulumi.Input[str]]):
|
|
93
|
+
def member_object_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
89
94
|
pulumi.set(self, "member_object_id", value)
|
|
90
95
|
|
|
91
96
|
|
|
97
|
+
@pulumi.type_token("azuread:index/groupMember:GroupMember")
|
|
92
98
|
class GroupMember(pulumi.CustomResource):
|
|
93
99
|
@overload
|
|
94
100
|
def __init__(__self__,
|
|
95
101
|
resource_name: str,
|
|
96
102
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
97
|
-
group_object_id: Optional[pulumi.Input[str]] = None,
|
|
98
|
-
member_object_id: Optional[pulumi.Input[str]] = None,
|
|
103
|
+
group_object_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
104
|
+
member_object_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
99
105
|
__props__=None):
|
|
100
106
|
"""
|
|
101
107
|
Manages a single group membership within Azure Active Directory.
|
|
@@ -118,13 +124,13 @@ class GroupMember(pulumi.CustomResource):
|
|
|
118
124
|
import pulumi
|
|
119
125
|
import pulumi_azuread as azuread
|
|
120
126
|
|
|
121
|
-
|
|
122
|
-
example_group = azuread.Group("
|
|
127
|
+
example = azuread.get_user(user_principal_name="jdoe@example.com")
|
|
128
|
+
example_group = azuread.Group("example",
|
|
123
129
|
display_name="my_group",
|
|
124
130
|
security_enabled=True)
|
|
125
|
-
example_group_member = azuread.GroupMember("
|
|
126
|
-
group_object_id=example_group.
|
|
127
|
-
member_object_id=
|
|
131
|
+
example_group_member = azuread.GroupMember("example",
|
|
132
|
+
group_object_id=example_group.object_id,
|
|
133
|
+
member_object_id=example.object_id)
|
|
128
134
|
```
|
|
129
135
|
|
|
130
136
|
## Import
|
|
@@ -132,15 +138,15 @@ class GroupMember(pulumi.CustomResource):
|
|
|
132
138
|
Group members can be imported using the object ID of the group and the object ID of the member, e.g.
|
|
133
139
|
|
|
134
140
|
```sh
|
|
135
|
-
|
|
141
|
+
$ pulumi import azuread:index/groupMember:GroupMember example 00000000-0000-0000-0000-000000000000/member/11111111-1111-1111-1111-111111111111
|
|
136
142
|
```
|
|
137
143
|
|
|
138
|
-
|
|
144
|
+
-> This ID format is unique to Terraform and is composed of the Azure AD Group Object ID and the target Member Object ID in the format `{GroupObjectID}/member/{MemberObjectID}`.
|
|
139
145
|
|
|
140
146
|
:param str resource_name: The name of the resource.
|
|
141
147
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
142
|
-
:param pulumi.Input[str] group_object_id: The object ID of the group you want to add the member to. Changing this forces a new resource to be created.
|
|
143
|
-
:param pulumi.Input[str] member_object_id: The object ID of the principal you want to add as a member to the group. Supported object types are Users, Groups or Service Principals. Changing this forces a new resource to be created.
|
|
148
|
+
:param pulumi.Input[_builtins.str] group_object_id: The object ID of the group you want to add the member to. Changing this forces a new resource to be created.
|
|
149
|
+
:param pulumi.Input[_builtins.str] member_object_id: The object ID of the principal you want to add as a member to the group. Supported object types are Users, Groups or Service Principals. Changing this forces a new resource to be created.
|
|
144
150
|
"""
|
|
145
151
|
...
|
|
146
152
|
@overload
|
|
@@ -169,13 +175,13 @@ class GroupMember(pulumi.CustomResource):
|
|
|
169
175
|
import pulumi
|
|
170
176
|
import pulumi_azuread as azuread
|
|
171
177
|
|
|
172
|
-
|
|
173
|
-
example_group = azuread.Group("
|
|
178
|
+
example = azuread.get_user(user_principal_name="jdoe@example.com")
|
|
179
|
+
example_group = azuread.Group("example",
|
|
174
180
|
display_name="my_group",
|
|
175
181
|
security_enabled=True)
|
|
176
|
-
example_group_member = azuread.GroupMember("
|
|
177
|
-
group_object_id=example_group.
|
|
178
|
-
member_object_id=
|
|
182
|
+
example_group_member = azuread.GroupMember("example",
|
|
183
|
+
group_object_id=example_group.object_id,
|
|
184
|
+
member_object_id=example.object_id)
|
|
179
185
|
```
|
|
180
186
|
|
|
181
187
|
## Import
|
|
@@ -183,10 +189,10 @@ class GroupMember(pulumi.CustomResource):
|
|
|
183
189
|
Group members can be imported using the object ID of the group and the object ID of the member, e.g.
|
|
184
190
|
|
|
185
191
|
```sh
|
|
186
|
-
|
|
192
|
+
$ pulumi import azuread:index/groupMember:GroupMember example 00000000-0000-0000-0000-000000000000/member/11111111-1111-1111-1111-111111111111
|
|
187
193
|
```
|
|
188
194
|
|
|
189
|
-
|
|
195
|
+
-> This ID format is unique to Terraform and is composed of the Azure AD Group Object ID and the target Member Object ID in the format `{GroupObjectID}/member/{MemberObjectID}`.
|
|
190
196
|
|
|
191
197
|
:param str resource_name: The name of the resource.
|
|
192
198
|
:param GroupMemberArgs args: The arguments to use to populate this resource's properties.
|
|
@@ -203,8 +209,8 @@ class GroupMember(pulumi.CustomResource):
|
|
|
203
209
|
def _internal_init(__self__,
|
|
204
210
|
resource_name: str,
|
|
205
211
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
206
|
-
group_object_id: Optional[pulumi.Input[str]] = None,
|
|
207
|
-
member_object_id: Optional[pulumi.Input[str]] = None,
|
|
212
|
+
group_object_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
213
|
+
member_object_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
208
214
|
__props__=None):
|
|
209
215
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
210
216
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -230,8 +236,8 @@ class GroupMember(pulumi.CustomResource):
|
|
|
230
236
|
def get(resource_name: str,
|
|
231
237
|
id: pulumi.Input[str],
|
|
232
238
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
233
|
-
group_object_id: Optional[pulumi.Input[str]] = None,
|
|
234
|
-
member_object_id: Optional[pulumi.Input[str]] = None) -> 'GroupMember':
|
|
239
|
+
group_object_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
240
|
+
member_object_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'GroupMember':
|
|
235
241
|
"""
|
|
236
242
|
Get an existing GroupMember resource's state with the given name, id, and optional extra
|
|
237
243
|
properties used to qualify the lookup.
|
|
@@ -239,8 +245,8 @@ class GroupMember(pulumi.CustomResource):
|
|
|
239
245
|
:param str resource_name: The unique name of the resulting resource.
|
|
240
246
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
241
247
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
242
|
-
:param pulumi.Input[str] group_object_id: The object ID of the group you want to add the member to. Changing this forces a new resource to be created.
|
|
243
|
-
:param pulumi.Input[str] member_object_id: The object ID of the principal you want to add as a member to the group. Supported object types are Users, Groups or Service Principals. Changing this forces a new resource to be created.
|
|
248
|
+
:param pulumi.Input[_builtins.str] group_object_id: The object ID of the group you want to add the member to. Changing this forces a new resource to be created.
|
|
249
|
+
:param pulumi.Input[_builtins.str] member_object_id: The object ID of the principal you want to add as a member to the group. Supported object types are Users, Groups or Service Principals. Changing this forces a new resource to be created.
|
|
244
250
|
"""
|
|
245
251
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
246
252
|
|
|
@@ -250,17 +256,17 @@ class GroupMember(pulumi.CustomResource):
|
|
|
250
256
|
__props__.__dict__["member_object_id"] = member_object_id
|
|
251
257
|
return GroupMember(resource_name, opts=opts, __props__=__props__)
|
|
252
258
|
|
|
253
|
-
@property
|
|
259
|
+
@_builtins.property
|
|
254
260
|
@pulumi.getter(name="groupObjectId")
|
|
255
|
-
def group_object_id(self) -> pulumi.Output[str]:
|
|
261
|
+
def group_object_id(self) -> pulumi.Output[_builtins.str]:
|
|
256
262
|
"""
|
|
257
263
|
The object ID of the group you want to add the member to. Changing this forces a new resource to be created.
|
|
258
264
|
"""
|
|
259
265
|
return pulumi.get(self, "group_object_id")
|
|
260
266
|
|
|
261
|
-
@property
|
|
267
|
+
@_builtins.property
|
|
262
268
|
@pulumi.getter(name="memberObjectId")
|
|
263
|
-
def member_object_id(self) -> pulumi.Output[str]:
|
|
269
|
+
def member_object_id(self) -> pulumi.Output[_builtins.str]:
|
|
264
270
|
"""
|
|
265
271
|
The object ID of the principal you want to add as a member to the group. Supported object types are Users, Groups or Service Principals. Changing this forces a new resource to be created.
|
|
266
272
|
"""
|