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/get_group.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
|
from . import outputs
|
|
12
17
|
|
|
@@ -22,7 +27,7 @@ class GetGroupResult:
|
|
|
22
27
|
"""
|
|
23
28
|
A collection of values returned by getGroup.
|
|
24
29
|
"""
|
|
25
|
-
def __init__(__self__, assignable_to_role=None, auto_subscribe_new_members=None, behaviors=None, description=None, display_name=None, dynamic_memberships=None, external_senders_allowed=None, hide_from_address_lists=None, hide_from_outlook_clients=None, id=None, mail=None, mail_enabled=None, mail_nickname=None, members=None, object_id=None, onpremises_domain_name=None, onpremises_group_type=None, onpremises_netbios_name=None, onpremises_sam_account_name=None, onpremises_security_identifier=None, onpremises_sync_enabled=None, owners=None, preferred_language=None, provisioning_options=None, proxy_addresses=None, security_enabled=None, theme=None, types=None, visibility=None, writeback_enabled=None):
|
|
30
|
+
def __init__(__self__, assignable_to_role=None, auto_subscribe_new_members=None, behaviors=None, description=None, display_name=None, dynamic_memberships=None, external_senders_allowed=None, hide_from_address_lists=None, hide_from_outlook_clients=None, id=None, include_transitive_members=None, mail=None, mail_enabled=None, mail_nickname=None, members=None, object_id=None, onpremises_domain_name=None, onpremises_group_type=None, onpremises_netbios_name=None, onpremises_sam_account_name=None, onpremises_security_identifier=None, onpremises_sync_enabled=None, owners=None, preferred_language=None, provisioning_options=None, proxy_addresses=None, security_enabled=None, theme=None, types=None, visibility=None, writeback_enabled=None):
|
|
26
31
|
if assignable_to_role and not isinstance(assignable_to_role, bool):
|
|
27
32
|
raise TypeError("Expected argument 'assignable_to_role' to be a bool")
|
|
28
33
|
pulumi.set(__self__, "assignable_to_role", assignable_to_role)
|
|
@@ -53,6 +58,9 @@ class GetGroupResult:
|
|
|
53
58
|
if id and not isinstance(id, str):
|
|
54
59
|
raise TypeError("Expected argument 'id' to be a str")
|
|
55
60
|
pulumi.set(__self__, "id", id)
|
|
61
|
+
if include_transitive_members and not isinstance(include_transitive_members, bool):
|
|
62
|
+
raise TypeError("Expected argument 'include_transitive_members' to be a bool")
|
|
63
|
+
pulumi.set(__self__, "include_transitive_members", include_transitive_members)
|
|
56
64
|
if mail and not isinstance(mail, str):
|
|
57
65
|
raise TypeError("Expected argument 'mail' to be a str")
|
|
58
66
|
pulumi.set(__self__, "mail", mail)
|
|
@@ -114,47 +122,47 @@ class GetGroupResult:
|
|
|
114
122
|
raise TypeError("Expected argument 'writeback_enabled' to be a bool")
|
|
115
123
|
pulumi.set(__self__, "writeback_enabled", writeback_enabled)
|
|
116
124
|
|
|
117
|
-
@property
|
|
125
|
+
@_builtins.property
|
|
118
126
|
@pulumi.getter(name="assignableToRole")
|
|
119
|
-
def assignable_to_role(self) -> bool:
|
|
127
|
+
def assignable_to_role(self) -> _builtins.bool:
|
|
120
128
|
"""
|
|
121
129
|
Indicates whether this group can be assigned to an Azure Active Directory role.
|
|
122
130
|
"""
|
|
123
131
|
return pulumi.get(self, "assignable_to_role")
|
|
124
132
|
|
|
125
|
-
@property
|
|
133
|
+
@_builtins.property
|
|
126
134
|
@pulumi.getter(name="autoSubscribeNewMembers")
|
|
127
|
-
def auto_subscribe_new_members(self) -> bool:
|
|
135
|
+
def auto_subscribe_new_members(self) -> _builtins.bool:
|
|
128
136
|
"""
|
|
129
137
|
Indicates whether new members added to the group will be auto-subscribed to receive email notifications. Only set for Unified groups.
|
|
130
138
|
"""
|
|
131
139
|
return pulumi.get(self, "auto_subscribe_new_members")
|
|
132
140
|
|
|
133
|
-
@property
|
|
141
|
+
@_builtins.property
|
|
134
142
|
@pulumi.getter
|
|
135
|
-
def behaviors(self) -> Sequence[str]:
|
|
143
|
+
def behaviors(self) -> Sequence[_builtins.str]:
|
|
136
144
|
"""
|
|
137
145
|
A list of behaviors for a Microsoft 365 group, such as `AllowOnlyMembersToPost`, `HideGroupInOutlook`, `SubscribeNewGroupMembers` and `WelcomeEmailDisabled`. See [official documentation](https://docs.microsoft.com/en-us/graph/group-set-options) for more details.
|
|
138
146
|
"""
|
|
139
147
|
return pulumi.get(self, "behaviors")
|
|
140
148
|
|
|
141
|
-
@property
|
|
149
|
+
@_builtins.property
|
|
142
150
|
@pulumi.getter
|
|
143
|
-
def description(self) -> str:
|
|
151
|
+
def description(self) -> _builtins.str:
|
|
144
152
|
"""
|
|
145
153
|
The optional description of the group.
|
|
146
154
|
"""
|
|
147
155
|
return pulumi.get(self, "description")
|
|
148
156
|
|
|
149
|
-
@property
|
|
157
|
+
@_builtins.property
|
|
150
158
|
@pulumi.getter(name="displayName")
|
|
151
|
-
def display_name(self) -> str:
|
|
159
|
+
def display_name(self) -> _builtins.str:
|
|
152
160
|
"""
|
|
153
161
|
The display name for the group.
|
|
154
162
|
"""
|
|
155
163
|
return pulumi.get(self, "display_name")
|
|
156
164
|
|
|
157
|
-
@property
|
|
165
|
+
@_builtins.property
|
|
158
166
|
@pulumi.getter(name="dynamicMemberships")
|
|
159
167
|
def dynamic_memberships(self) -> Sequence['outputs.GetGroupDynamicMembershipResult']:
|
|
160
168
|
"""
|
|
@@ -162,193 +170,198 @@ class GetGroupResult:
|
|
|
162
170
|
"""
|
|
163
171
|
return pulumi.get(self, "dynamic_memberships")
|
|
164
172
|
|
|
165
|
-
@property
|
|
173
|
+
@_builtins.property
|
|
166
174
|
@pulumi.getter(name="externalSendersAllowed")
|
|
167
|
-
def external_senders_allowed(self) -> bool:
|
|
175
|
+
def external_senders_allowed(self) -> _builtins.bool:
|
|
168
176
|
"""
|
|
169
177
|
Indicates whether people external to the organization can send messages to the group. Only set for Unified groups.
|
|
170
178
|
"""
|
|
171
179
|
return pulumi.get(self, "external_senders_allowed")
|
|
172
180
|
|
|
173
|
-
@property
|
|
181
|
+
@_builtins.property
|
|
174
182
|
@pulumi.getter(name="hideFromAddressLists")
|
|
175
|
-
def hide_from_address_lists(self) -> bool:
|
|
183
|
+
def hide_from_address_lists(self) -> _builtins.bool:
|
|
176
184
|
"""
|
|
177
185
|
Indicates whether the group is displayed in certain parts of the Outlook user interface: in the Address Book, in address lists for selecting message recipients, and in the Browse Groups dialog for searching groups. Only set for Unified groups.
|
|
178
186
|
"""
|
|
179
187
|
return pulumi.get(self, "hide_from_address_lists")
|
|
180
188
|
|
|
181
|
-
@property
|
|
189
|
+
@_builtins.property
|
|
182
190
|
@pulumi.getter(name="hideFromOutlookClients")
|
|
183
|
-
def hide_from_outlook_clients(self) -> bool:
|
|
191
|
+
def hide_from_outlook_clients(self) -> _builtins.bool:
|
|
184
192
|
"""
|
|
185
193
|
Indicates whether the group is displayed in Outlook clients, such as Outlook for Windows and Outlook on the web. Only set for Unified groups.
|
|
186
194
|
"""
|
|
187
195
|
return pulumi.get(self, "hide_from_outlook_clients")
|
|
188
196
|
|
|
189
|
-
@property
|
|
197
|
+
@_builtins.property
|
|
190
198
|
@pulumi.getter
|
|
191
|
-
def id(self) -> str:
|
|
199
|
+
def id(self) -> _builtins.str:
|
|
192
200
|
"""
|
|
193
201
|
The provider-assigned unique ID for this managed resource.
|
|
194
202
|
"""
|
|
195
203
|
return pulumi.get(self, "id")
|
|
196
204
|
|
|
197
|
-
@property
|
|
205
|
+
@_builtins.property
|
|
206
|
+
@pulumi.getter(name="includeTransitiveMembers")
|
|
207
|
+
def include_transitive_members(self) -> Optional[_builtins.bool]:
|
|
208
|
+
return pulumi.get(self, "include_transitive_members")
|
|
209
|
+
|
|
210
|
+
@_builtins.property
|
|
198
211
|
@pulumi.getter
|
|
199
|
-
def mail(self) -> str:
|
|
212
|
+
def mail(self) -> _builtins.str:
|
|
200
213
|
"""
|
|
201
214
|
The SMTP address for the group.
|
|
202
215
|
"""
|
|
203
216
|
return pulumi.get(self, "mail")
|
|
204
217
|
|
|
205
|
-
@property
|
|
218
|
+
@_builtins.property
|
|
206
219
|
@pulumi.getter(name="mailEnabled")
|
|
207
|
-
def mail_enabled(self) -> bool:
|
|
220
|
+
def mail_enabled(self) -> _builtins.bool:
|
|
208
221
|
"""
|
|
209
222
|
Whether the group is mail-enabled.
|
|
210
223
|
"""
|
|
211
224
|
return pulumi.get(self, "mail_enabled")
|
|
212
225
|
|
|
213
|
-
@property
|
|
226
|
+
@_builtins.property
|
|
214
227
|
@pulumi.getter(name="mailNickname")
|
|
215
|
-
def mail_nickname(self) -> str:
|
|
228
|
+
def mail_nickname(self) -> _builtins.str:
|
|
216
229
|
"""
|
|
217
230
|
The mail alias for the group, unique in the organisation.
|
|
218
231
|
"""
|
|
219
232
|
return pulumi.get(self, "mail_nickname")
|
|
220
233
|
|
|
221
|
-
@property
|
|
234
|
+
@_builtins.property
|
|
222
235
|
@pulumi.getter
|
|
223
|
-
def members(self) -> Sequence[str]:
|
|
236
|
+
def members(self) -> Sequence[_builtins.str]:
|
|
224
237
|
"""
|
|
225
|
-
List of object IDs of the group members.
|
|
238
|
+
List of object IDs of the group members. When `include_transitive_members` is `true`, contains a list of object IDs of all transitive group members.
|
|
226
239
|
"""
|
|
227
240
|
return pulumi.get(self, "members")
|
|
228
241
|
|
|
229
|
-
@property
|
|
242
|
+
@_builtins.property
|
|
230
243
|
@pulumi.getter(name="objectId")
|
|
231
|
-
def object_id(self) -> str:
|
|
244
|
+
def object_id(self) -> _builtins.str:
|
|
232
245
|
"""
|
|
233
246
|
The object ID of the group.
|
|
234
247
|
"""
|
|
235
248
|
return pulumi.get(self, "object_id")
|
|
236
249
|
|
|
237
|
-
@property
|
|
250
|
+
@_builtins.property
|
|
238
251
|
@pulumi.getter(name="onpremisesDomainName")
|
|
239
|
-
def onpremises_domain_name(self) -> str:
|
|
252
|
+
def onpremises_domain_name(self) -> _builtins.str:
|
|
240
253
|
"""
|
|
241
254
|
The on-premises FQDN, also called dnsDomainName, synchronised from the on-premises directory when Azure AD Connect is used.
|
|
242
255
|
"""
|
|
243
256
|
return pulumi.get(self, "onpremises_domain_name")
|
|
244
257
|
|
|
245
|
-
@property
|
|
258
|
+
@_builtins.property
|
|
246
259
|
@pulumi.getter(name="onpremisesGroupType")
|
|
247
|
-
def onpremises_group_type(self) -> str:
|
|
260
|
+
def onpremises_group_type(self) -> _builtins.str:
|
|
248
261
|
"""
|
|
249
262
|
The on-premises group type that the AAD group will be written as, when writeback is enabled. Possible values are `UniversalDistributionGroup`, `UniversalMailEnabledSecurityGroup`, or `UniversalSecurityGroup`.
|
|
250
263
|
"""
|
|
251
264
|
return pulumi.get(self, "onpremises_group_type")
|
|
252
265
|
|
|
253
|
-
@property
|
|
266
|
+
@_builtins.property
|
|
254
267
|
@pulumi.getter(name="onpremisesNetbiosName")
|
|
255
|
-
def onpremises_netbios_name(self) -> str:
|
|
268
|
+
def onpremises_netbios_name(self) -> _builtins.str:
|
|
256
269
|
"""
|
|
257
270
|
The on-premises NetBIOS name, synchronised from the on-premises directory when Azure AD Connect is used.
|
|
258
271
|
"""
|
|
259
272
|
return pulumi.get(self, "onpremises_netbios_name")
|
|
260
273
|
|
|
261
|
-
@property
|
|
274
|
+
@_builtins.property
|
|
262
275
|
@pulumi.getter(name="onpremisesSamAccountName")
|
|
263
|
-
def onpremises_sam_account_name(self) -> str:
|
|
276
|
+
def onpremises_sam_account_name(self) -> _builtins.str:
|
|
264
277
|
"""
|
|
265
278
|
The on-premises SAM account name, synchronised from the on-premises directory when Azure AD Connect is used.
|
|
266
279
|
"""
|
|
267
280
|
return pulumi.get(self, "onpremises_sam_account_name")
|
|
268
281
|
|
|
269
|
-
@property
|
|
282
|
+
@_builtins.property
|
|
270
283
|
@pulumi.getter(name="onpremisesSecurityIdentifier")
|
|
271
|
-
def onpremises_security_identifier(self) -> str:
|
|
284
|
+
def onpremises_security_identifier(self) -> _builtins.str:
|
|
272
285
|
"""
|
|
273
286
|
The on-premises security identifier (SID), synchronised from the on-premises directory when Azure AD Connect is used.
|
|
274
287
|
"""
|
|
275
288
|
return pulumi.get(self, "onpremises_security_identifier")
|
|
276
289
|
|
|
277
|
-
@property
|
|
290
|
+
@_builtins.property
|
|
278
291
|
@pulumi.getter(name="onpremisesSyncEnabled")
|
|
279
|
-
def onpremises_sync_enabled(self) -> bool:
|
|
292
|
+
def onpremises_sync_enabled(self) -> _builtins.bool:
|
|
280
293
|
"""
|
|
281
294
|
Whether this group is synchronised from an on-premises directory (`true`), no longer synchronised (`false`), or has never been synchronised (`null`).
|
|
282
295
|
"""
|
|
283
296
|
return pulumi.get(self, "onpremises_sync_enabled")
|
|
284
297
|
|
|
285
|
-
@property
|
|
298
|
+
@_builtins.property
|
|
286
299
|
@pulumi.getter
|
|
287
|
-
def owners(self) -> Sequence[str]:
|
|
300
|
+
def owners(self) -> Sequence[_builtins.str]:
|
|
288
301
|
"""
|
|
289
302
|
List of object IDs of the group owners.
|
|
290
303
|
"""
|
|
291
304
|
return pulumi.get(self, "owners")
|
|
292
305
|
|
|
293
|
-
@property
|
|
306
|
+
@_builtins.property
|
|
294
307
|
@pulumi.getter(name="preferredLanguage")
|
|
295
|
-
def preferred_language(self) -> str:
|
|
308
|
+
def preferred_language(self) -> _builtins.str:
|
|
296
309
|
"""
|
|
297
310
|
The preferred language for a Microsoft 365 group, in ISO 639-1 notation.
|
|
298
311
|
"""
|
|
299
312
|
return pulumi.get(self, "preferred_language")
|
|
300
313
|
|
|
301
|
-
@property
|
|
314
|
+
@_builtins.property
|
|
302
315
|
@pulumi.getter(name="provisioningOptions")
|
|
303
|
-
def provisioning_options(self) -> Sequence[str]:
|
|
316
|
+
def provisioning_options(self) -> Sequence[_builtins.str]:
|
|
304
317
|
"""
|
|
305
318
|
A list of provisioning options for a Microsoft 365 group, such as `Team`. See [official documentation](https://docs.microsoft.com/en-us/graph/group-set-options) for details.
|
|
306
319
|
"""
|
|
307
320
|
return pulumi.get(self, "provisioning_options")
|
|
308
321
|
|
|
309
|
-
@property
|
|
322
|
+
@_builtins.property
|
|
310
323
|
@pulumi.getter(name="proxyAddresses")
|
|
311
|
-
def proxy_addresses(self) -> Sequence[str]:
|
|
324
|
+
def proxy_addresses(self) -> Sequence[_builtins.str]:
|
|
312
325
|
"""
|
|
313
326
|
List of email addresses for the group that direct to the same group mailbox.
|
|
314
327
|
"""
|
|
315
328
|
return pulumi.get(self, "proxy_addresses")
|
|
316
329
|
|
|
317
|
-
@property
|
|
330
|
+
@_builtins.property
|
|
318
331
|
@pulumi.getter(name="securityEnabled")
|
|
319
|
-
def security_enabled(self) -> bool:
|
|
332
|
+
def security_enabled(self) -> _builtins.bool:
|
|
320
333
|
"""
|
|
321
334
|
Whether the group is a security group.
|
|
322
335
|
"""
|
|
323
336
|
return pulumi.get(self, "security_enabled")
|
|
324
337
|
|
|
325
|
-
@property
|
|
338
|
+
@_builtins.property
|
|
326
339
|
@pulumi.getter
|
|
327
|
-
def theme(self) -> str:
|
|
340
|
+
def theme(self) -> _builtins.str:
|
|
328
341
|
"""
|
|
329
342
|
The colour theme for a Microsoft 365 group. Possible values are `Blue`, `Green`, `Orange`, `Pink`, `Purple`, `Red` or `Teal`. When no theme is set, the value is `null`.
|
|
330
343
|
"""
|
|
331
344
|
return pulumi.get(self, "theme")
|
|
332
345
|
|
|
333
|
-
@property
|
|
346
|
+
@_builtins.property
|
|
334
347
|
@pulumi.getter
|
|
335
|
-
def types(self) -> Sequence[str]:
|
|
348
|
+
def types(self) -> Sequence[_builtins.str]:
|
|
336
349
|
"""
|
|
337
350
|
A list of group types configured for the group. Supported values are `DynamicMembership`, which denotes a group with dynamic membership, and `Unified`, which specifies a Microsoft 365 group.
|
|
338
351
|
"""
|
|
339
352
|
return pulumi.get(self, "types")
|
|
340
353
|
|
|
341
|
-
@property
|
|
354
|
+
@_builtins.property
|
|
342
355
|
@pulumi.getter
|
|
343
|
-
def visibility(self) -> str:
|
|
356
|
+
def visibility(self) -> _builtins.str:
|
|
344
357
|
"""
|
|
345
358
|
The group join policy and group content visibility. Possible values are `Private`, `Public`, or `Hiddenmembership`. Only Microsoft 365 groups can have `Hiddenmembership` visibility.
|
|
346
359
|
"""
|
|
347
360
|
return pulumi.get(self, "visibility")
|
|
348
361
|
|
|
349
|
-
@property
|
|
362
|
+
@_builtins.property
|
|
350
363
|
@pulumi.getter(name="writebackEnabled")
|
|
351
|
-
def writeback_enabled(self) -> bool:
|
|
364
|
+
def writeback_enabled(self) -> _builtins.bool:
|
|
352
365
|
"""
|
|
353
366
|
Whether the group will be written back to the configured on-premises Active Directory when Azure AD Connect is used.
|
|
354
367
|
"""
|
|
@@ -371,6 +384,7 @@ class AwaitableGetGroupResult(GetGroupResult):
|
|
|
371
384
|
hide_from_address_lists=self.hide_from_address_lists,
|
|
372
385
|
hide_from_outlook_clients=self.hide_from_outlook_clients,
|
|
373
386
|
id=self.id,
|
|
387
|
+
include_transitive_members=self.include_transitive_members,
|
|
374
388
|
mail=self.mail,
|
|
375
389
|
mail_enabled=self.mail_enabled,
|
|
376
390
|
mail_nickname=self.mail_nickname,
|
|
@@ -393,11 +407,12 @@ class AwaitableGetGroupResult(GetGroupResult):
|
|
|
393
407
|
writeback_enabled=self.writeback_enabled)
|
|
394
408
|
|
|
395
409
|
|
|
396
|
-
def get_group(display_name: Optional[str] = None,
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
410
|
+
def get_group(display_name: Optional[_builtins.str] = None,
|
|
411
|
+
include_transitive_members: Optional[_builtins.bool] = None,
|
|
412
|
+
mail_enabled: Optional[_builtins.bool] = None,
|
|
413
|
+
mail_nickname: Optional[_builtins.str] = None,
|
|
414
|
+
object_id: Optional[_builtins.str] = None,
|
|
415
|
+
security_enabled: Optional[_builtins.bool] = None,
|
|
401
416
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGroupResult:
|
|
402
417
|
"""
|
|
403
418
|
Gets information about an Azure Active Directory group.
|
|
@@ -411,6 +426,7 @@ def get_group(display_name: Optional[str] = None,
|
|
|
411
426
|
When authenticated with a user principal, this data source does not require any additional roles.
|
|
412
427
|
|
|
413
428
|
## Example Usage
|
|
429
|
+
|
|
414
430
|
### By Group Display Name)
|
|
415
431
|
|
|
416
432
|
```python
|
|
@@ -422,16 +438,18 @@ def get_group(display_name: Optional[str] = None,
|
|
|
422
438
|
```
|
|
423
439
|
|
|
424
440
|
|
|
425
|
-
:param str display_name: The display name for the group.
|
|
426
|
-
:param bool
|
|
427
|
-
:param
|
|
428
|
-
:param str
|
|
429
|
-
:param
|
|
441
|
+
:param _builtins.str display_name: The display name for the group.
|
|
442
|
+
:param _builtins.bool include_transitive_members: Whether to include transitive members (a flat list of all nested members). Defaults to `false`.
|
|
443
|
+
:param _builtins.bool mail_enabled: Whether the group is mail-enabled.
|
|
444
|
+
:param _builtins.str mail_nickname: The mail alias for the group, unique in the organisation.
|
|
445
|
+
:param _builtins.str object_id: Specifies the object ID of the group.
|
|
446
|
+
:param _builtins.bool security_enabled: Whether the group is a security group.
|
|
430
447
|
|
|
431
448
|
> One of `display_name`, `object_id` or `mail_nickname` must be specified.
|
|
432
449
|
"""
|
|
433
450
|
__args__ = dict()
|
|
434
451
|
__args__['displayName'] = display_name
|
|
452
|
+
__args__['includeTransitiveMembers'] = include_transitive_members
|
|
435
453
|
__args__['mailEnabled'] = mail_enabled
|
|
436
454
|
__args__['mailNickname'] = mail_nickname
|
|
437
455
|
__args__['objectId'] = object_id
|
|
@@ -450,6 +468,7 @@ def get_group(display_name: Optional[str] = None,
|
|
|
450
468
|
hide_from_address_lists=pulumi.get(__ret__, 'hide_from_address_lists'),
|
|
451
469
|
hide_from_outlook_clients=pulumi.get(__ret__, 'hide_from_outlook_clients'),
|
|
452
470
|
id=pulumi.get(__ret__, 'id'),
|
|
471
|
+
include_transitive_members=pulumi.get(__ret__, 'include_transitive_members'),
|
|
453
472
|
mail=pulumi.get(__ret__, 'mail'),
|
|
454
473
|
mail_enabled=pulumi.get(__ret__, 'mail_enabled'),
|
|
455
474
|
mail_nickname=pulumi.get(__ret__, 'mail_nickname'),
|
|
@@ -470,15 +489,13 @@ def get_group(display_name: Optional[str] = None,
|
|
|
470
489
|
types=pulumi.get(__ret__, 'types'),
|
|
471
490
|
visibility=pulumi.get(__ret__, 'visibility'),
|
|
472
491
|
writeback_enabled=pulumi.get(__ret__, 'writeback_enabled'))
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
security_enabled: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
481
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGroupResult]:
|
|
492
|
+
def get_group_output(display_name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
493
|
+
include_transitive_members: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
494
|
+
mail_enabled: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
495
|
+
mail_nickname: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
496
|
+
object_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
497
|
+
security_enabled: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
498
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetGroupResult]:
|
|
482
499
|
"""
|
|
483
500
|
Gets information about an Azure Active Directory group.
|
|
484
501
|
|
|
@@ -491,6 +508,7 @@ def get_group_output(display_name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
491
508
|
When authenticated with a user principal, this data source does not require any additional roles.
|
|
492
509
|
|
|
493
510
|
## Example Usage
|
|
511
|
+
|
|
494
512
|
### By Group Display Name)
|
|
495
513
|
|
|
496
514
|
```python
|
|
@@ -502,12 +520,53 @@ def get_group_output(display_name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
502
520
|
```
|
|
503
521
|
|
|
504
522
|
|
|
505
|
-
:param str display_name: The display name for the group.
|
|
506
|
-
:param bool
|
|
507
|
-
:param
|
|
508
|
-
:param str
|
|
509
|
-
:param
|
|
523
|
+
:param _builtins.str display_name: The display name for the group.
|
|
524
|
+
:param _builtins.bool include_transitive_members: Whether to include transitive members (a flat list of all nested members). Defaults to `false`.
|
|
525
|
+
:param _builtins.bool mail_enabled: Whether the group is mail-enabled.
|
|
526
|
+
:param _builtins.str mail_nickname: The mail alias for the group, unique in the organisation.
|
|
527
|
+
:param _builtins.str object_id: Specifies the object ID of the group.
|
|
528
|
+
:param _builtins.bool security_enabled: Whether the group is a security group.
|
|
510
529
|
|
|
511
530
|
> One of `display_name`, `object_id` or `mail_nickname` must be specified.
|
|
512
531
|
"""
|
|
513
|
-
|
|
532
|
+
__args__ = dict()
|
|
533
|
+
__args__['displayName'] = display_name
|
|
534
|
+
__args__['includeTransitiveMembers'] = include_transitive_members
|
|
535
|
+
__args__['mailEnabled'] = mail_enabled
|
|
536
|
+
__args__['mailNickname'] = mail_nickname
|
|
537
|
+
__args__['objectId'] = object_id
|
|
538
|
+
__args__['securityEnabled'] = security_enabled
|
|
539
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
540
|
+
__ret__ = pulumi.runtime.invoke_output('azuread:index/getGroup:getGroup', __args__, opts=opts, typ=GetGroupResult)
|
|
541
|
+
return __ret__.apply(lambda __response__: GetGroupResult(
|
|
542
|
+
assignable_to_role=pulumi.get(__response__, 'assignable_to_role'),
|
|
543
|
+
auto_subscribe_new_members=pulumi.get(__response__, 'auto_subscribe_new_members'),
|
|
544
|
+
behaviors=pulumi.get(__response__, 'behaviors'),
|
|
545
|
+
description=pulumi.get(__response__, 'description'),
|
|
546
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
|
547
|
+
dynamic_memberships=pulumi.get(__response__, 'dynamic_memberships'),
|
|
548
|
+
external_senders_allowed=pulumi.get(__response__, 'external_senders_allowed'),
|
|
549
|
+
hide_from_address_lists=pulumi.get(__response__, 'hide_from_address_lists'),
|
|
550
|
+
hide_from_outlook_clients=pulumi.get(__response__, 'hide_from_outlook_clients'),
|
|
551
|
+
id=pulumi.get(__response__, 'id'),
|
|
552
|
+
include_transitive_members=pulumi.get(__response__, 'include_transitive_members'),
|
|
553
|
+
mail=pulumi.get(__response__, 'mail'),
|
|
554
|
+
mail_enabled=pulumi.get(__response__, 'mail_enabled'),
|
|
555
|
+
mail_nickname=pulumi.get(__response__, 'mail_nickname'),
|
|
556
|
+
members=pulumi.get(__response__, 'members'),
|
|
557
|
+
object_id=pulumi.get(__response__, 'object_id'),
|
|
558
|
+
onpremises_domain_name=pulumi.get(__response__, 'onpremises_domain_name'),
|
|
559
|
+
onpremises_group_type=pulumi.get(__response__, 'onpremises_group_type'),
|
|
560
|
+
onpremises_netbios_name=pulumi.get(__response__, 'onpremises_netbios_name'),
|
|
561
|
+
onpremises_sam_account_name=pulumi.get(__response__, 'onpremises_sam_account_name'),
|
|
562
|
+
onpremises_security_identifier=pulumi.get(__response__, 'onpremises_security_identifier'),
|
|
563
|
+
onpremises_sync_enabled=pulumi.get(__response__, 'onpremises_sync_enabled'),
|
|
564
|
+
owners=pulumi.get(__response__, 'owners'),
|
|
565
|
+
preferred_language=pulumi.get(__response__, 'preferred_language'),
|
|
566
|
+
provisioning_options=pulumi.get(__response__, 'provisioning_options'),
|
|
567
|
+
proxy_addresses=pulumi.get(__response__, 'proxy_addresses'),
|
|
568
|
+
security_enabled=pulumi.get(__response__, 'security_enabled'),
|
|
569
|
+
theme=pulumi.get(__response__, 'theme'),
|
|
570
|
+
types=pulumi.get(__response__, 'types'),
|
|
571
|
+
visibility=pulumi.get(__response__, 'visibility'),
|
|
572
|
+
writeback_enabled=pulumi.get(__response__, 'writeback_enabled')))
|