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.

Files changed (87) hide show
  1. pulumi_azuread/__init__.py +48 -1
  2. pulumi_azuread/_inputs.py +3803 -919
  3. pulumi_azuread/_utilities.py +52 -12
  4. pulumi_azuread/access_package.py +84 -78
  5. pulumi_azuread/access_package_assignment_policy.py +202 -196
  6. pulumi_azuread/access_package_catalog.py +82 -76
  7. pulumi_azuread/access_package_catalog_role_assignment.py +73 -67
  8. pulumi_azuread/access_package_resource_catalog_association.py +73 -67
  9. pulumi_azuread/access_package_resource_package_association.py +79 -73
  10. pulumi_azuread/administrative_unit.py +120 -100
  11. pulumi_azuread/administrative_unit_member.py +66 -50
  12. pulumi_azuread/administrative_unit_role_member.py +75 -69
  13. pulumi_azuread/app_role_assignment.py +164 -264
  14. pulumi_azuread/application.py +766 -692
  15. pulumi_azuread/application_api_access.py +84 -80
  16. pulumi_azuread/application_app_role.py +120 -116
  17. pulumi_azuread/application_certificate.py +349 -211
  18. pulumi_azuread/application_fallback_public_client.py +50 -44
  19. pulumi_azuread/application_federated_identity_credential.py +142 -197
  20. pulumi_azuread/application_from_template.py +90 -84
  21. pulumi_azuread/application_identifier_uri.py +56 -52
  22. pulumi_azuread/application_known_clients.py +50 -44
  23. pulumi_azuread/application_optional_claims.py +87 -81
  24. pulumi_azuread/application_owner.py +76 -42
  25. pulumi_azuread/application_password.py +159 -205
  26. pulumi_azuread/application_permission_scope.py +160 -156
  27. pulumi_azuread/application_pre_authorized.py +120 -236
  28. pulumi_azuread/application_redirect_uris.py +75 -69
  29. pulumi_azuread/application_registration.py +315 -309
  30. pulumi_azuread/authentication_strength_policy.py +73 -67
  31. pulumi_azuread/claims_mapping_policy.py +48 -42
  32. pulumi_azuread/conditional_access_policy.py +248 -232
  33. pulumi_azuread/config/__init__.py +2 -1
  34. pulumi_azuread/config/__init__.pyi +23 -17
  35. pulumi_azuread/config/vars.py +47 -37
  36. pulumi_azuread/custom_directory_role.py +128 -122
  37. pulumi_azuread/directory_role.py +60 -54
  38. pulumi_azuread/directory_role_assignment.py +194 -181
  39. pulumi_azuread/directory_role_eligibility_schedule_request.py +86 -80
  40. pulumi_azuread/directory_role_member.py +54 -48
  41. pulumi_azuread/get_access_package.py +45 -31
  42. pulumi_azuread/get_access_package_catalog.py +40 -27
  43. pulumi_azuread/get_access_package_catalog_role.py +39 -25
  44. pulumi_azuread/get_administrative_unit.py +42 -27
  45. pulumi_azuread/get_application.py +135 -94
  46. pulumi_azuread/get_application_published_app_ids.py +42 -47
  47. pulumi_azuread/get_application_template.py +49 -33
  48. pulumi_azuread/get_client_config.py +24 -15
  49. pulumi_azuread/get_directory_object.py +32 -21
  50. pulumi_azuread/get_directory_role_templates.py +20 -12
  51. pulumi_azuread/get_directory_roles.py +23 -14
  52. pulumi_azuread/get_domains.py +65 -46
  53. pulumi_azuread/get_group.py +147 -88
  54. pulumi_azuread/get_group_role_management_policy.py +178 -0
  55. pulumi_azuread/get_groups.py +71 -51
  56. pulumi_azuread/get_named_location.py +47 -22
  57. pulumi_azuread/get_service_principal.py +108 -90
  58. pulumi_azuread/get_service_principals.py +60 -64
  59. pulumi_azuread/get_user.py +186 -118
  60. pulumi_azuread/get_users.py +96 -53
  61. pulumi_azuread/group.py +622 -464
  62. pulumi_azuread/group_member.py +56 -50
  63. pulumi_azuread/group_role_management_policy.py +544 -0
  64. pulumi_azuread/group_without_members.py +1610 -0
  65. pulumi_azuread/invitation.py +126 -120
  66. pulumi_azuread/named_location.py +90 -76
  67. pulumi_azuread/outputs.py +2844 -1308
  68. pulumi_azuread/privileged_access_group_assignment_schedule.py +695 -0
  69. pulumi_azuread/privileged_access_group_eligibility_schedule.py +695 -0
  70. pulumi_azuread/provider.py +292 -246
  71. pulumi_azuread/pulumi-plugin.json +2 -1
  72. pulumi_azuread/service_principal.py +400 -461
  73. pulumi_azuread/service_principal_certificate.py +230 -145
  74. pulumi_azuread/service_principal_claims_mapping_policy_assignment.py +53 -47
  75. pulumi_azuread/service_principal_delegated_permission_grant.py +146 -140
  76. pulumi_azuread/service_principal_password.py +156 -141
  77. pulumi_azuread/service_principal_token_signing_certificate.py +119 -124
  78. pulumi_azuread/synchronization_job.py +105 -111
  79. pulumi_azuread/synchronization_job_provision_on_demand.py +396 -0
  80. pulumi_azuread/synchronization_secret.py +64 -70
  81. pulumi_azuread/user.py +776 -730
  82. pulumi_azuread/user_flow_attribute.py +76 -70
  83. {pulumi_azuread-5.48.0a1706744699.dist-info → pulumi_azuread-6.8.0a1766208344.dist-info}/METADATA +21 -20
  84. pulumi_azuread-6.8.0a1766208344.dist-info/RECORD +87 -0
  85. {pulumi_azuread-5.48.0a1706744699.dist-info → pulumi_azuread-6.8.0a1766208344.dist-info}/WHEEL +1 -1
  86. pulumi_azuread-5.48.0a1706744699.dist-info/RECORD +0 -81
  87. {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 the Pulumi Terraform Bridge (tfgen) Tool. ***
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 copy
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 GetServicePrincipalResult:
22
27
  """
23
28
  A collection of values returned by getServicePrincipal.
24
29
  """
25
- def __init__(__self__, account_enabled=None, alternative_names=None, app_role_assignment_required=None, app_role_ids=None, app_roles=None, application_id=None, application_tenant_id=None, client_id=None, description=None, display_name=None, feature_tags=None, features=None, homepage_url=None, id=None, login_url=None, logout_url=None, notes=None, notification_email_addresses=None, oauth2_permission_scope_ids=None, oauth2_permission_scopes=None, object_id=None, preferred_single_sign_on_mode=None, redirect_uris=None, saml_metadata_url=None, saml_single_sign_ons=None, service_principal_names=None, sign_in_audience=None, tags=None, type=None):
30
+ def __init__(__self__, account_enabled=None, alternative_names=None, app_role_assignment_required=None, app_role_ids=None, app_roles=None, application_tenant_id=None, client_id=None, description=None, display_name=None, feature_tags=None, features=None, homepage_url=None, id=None, login_url=None, logout_url=None, notes=None, notification_email_addresses=None, oauth2_permission_scope_ids=None, oauth2_permission_scopes=None, object_id=None, preferred_single_sign_on_mode=None, redirect_uris=None, saml_metadata_url=None, saml_single_sign_ons=None, service_principal_names=None, sign_in_audience=None, tags=None, type=None):
26
31
  if account_enabled and not isinstance(account_enabled, bool):
27
32
  raise TypeError("Expected argument 'account_enabled' to be a bool")
28
33
  pulumi.set(__self__, "account_enabled", account_enabled)
@@ -38,9 +43,6 @@ class GetServicePrincipalResult:
38
43
  if app_roles and not isinstance(app_roles, list):
39
44
  raise TypeError("Expected argument 'app_roles' to be a list")
40
45
  pulumi.set(__self__, "app_roles", app_roles)
41
- if application_id and not isinstance(application_id, str):
42
- raise TypeError("Expected argument 'application_id' to be a str")
43
- pulumi.set(__self__, "application_id", application_id)
44
46
  if application_tenant_id and not isinstance(application_tenant_id, str):
45
47
  raise TypeError("Expected argument 'application_tenant_id' to be a str")
46
48
  pulumi.set(__self__, "application_tenant_id", application_tenant_id)
@@ -111,39 +113,39 @@ class GetServicePrincipalResult:
111
113
  raise TypeError("Expected argument 'type' to be a str")
112
114
  pulumi.set(__self__, "type", type)
113
115
 
114
- @property
116
+ @_builtins.property
115
117
  @pulumi.getter(name="accountEnabled")
116
- def account_enabled(self) -> bool:
118
+ def account_enabled(self) -> _builtins.bool:
117
119
  """
118
120
  Whether the service principal account is enabled.
119
121
  """
120
122
  return pulumi.get(self, "account_enabled")
121
123
 
122
- @property
124
+ @_builtins.property
123
125
  @pulumi.getter(name="alternativeNames")
124
- def alternative_names(self) -> Sequence[str]:
126
+ def alternative_names(self) -> Sequence[_builtins.str]:
125
127
  """
126
128
  A list of alternative names, used to retrieve service principals by subscription, identify resource group and full resource ids for managed identities.
127
129
  """
128
130
  return pulumi.get(self, "alternative_names")
129
131
 
130
- @property
132
+ @_builtins.property
131
133
  @pulumi.getter(name="appRoleAssignmentRequired")
132
- def app_role_assignment_required(self) -> bool:
134
+ def app_role_assignment_required(self) -> _builtins.bool:
133
135
  """
134
136
  Whether this service principal requires an app role assignment to a user or group before Azure AD will issue a user or access token to the application.
135
137
  """
136
138
  return pulumi.get(self, "app_role_assignment_required")
137
139
 
138
- @property
140
+ @_builtins.property
139
141
  @pulumi.getter(name="appRoleIds")
140
- def app_role_ids(self) -> Mapping[str, str]:
142
+ def app_role_ids(self) -> Mapping[str, _builtins.str]:
141
143
  """
142
144
  A mapping of app role values to app role IDs, as published by the associated application, intended to be useful when referencing app roles in other resources in your configuration.
143
145
  """
144
146
  return pulumi.get(self, "app_role_ids")
145
147
 
146
- @property
148
+ @_builtins.property
147
149
  @pulumi.getter(name="appRoles")
148
150
  def app_roles(self) -> Sequence['outputs.GetServicePrincipalAppRoleResult']:
149
151
  """
@@ -151,119 +153,109 @@ class GetServicePrincipalResult:
151
153
  """
152
154
  return pulumi.get(self, "app_roles")
153
155
 
154
- @property
155
- @pulumi.getter(name="applicationId")
156
- def application_id(self) -> str:
157
- warnings.warn("""The `application_id` property has been replaced with the `client_id` property and will be removed in version 3.0 of the AzureAD provider""", DeprecationWarning)
158
- pulumi.log.warn("""application_id is deprecated: The `application_id` property has been replaced with the `client_id` property and will be removed in version 3.0 of the AzureAD provider""")
159
-
160
- return pulumi.get(self, "application_id")
161
-
162
- @property
156
+ @_builtins.property
163
157
  @pulumi.getter(name="applicationTenantId")
164
- def application_tenant_id(self) -> str:
158
+ def application_tenant_id(self) -> _builtins.str:
165
159
  """
166
160
  The tenant ID where the associated application is registered.
167
161
  """
168
162
  return pulumi.get(self, "application_tenant_id")
169
163
 
170
- @property
164
+ @_builtins.property
171
165
  @pulumi.getter(name="clientId")
172
- def client_id(self) -> str:
166
+ def client_id(self) -> _builtins.str:
173
167
  """
174
168
  The client ID of the application associated with this service principal.
175
169
  """
176
170
  return pulumi.get(self, "client_id")
177
171
 
178
- @property
172
+ @_builtins.property
179
173
  @pulumi.getter
180
- def description(self) -> str:
174
+ def description(self) -> _builtins.str:
181
175
  """
182
176
  Permission help text that appears in the admin app assignment and consent experiences.
183
177
  """
184
178
  return pulumi.get(self, "description")
185
179
 
186
- @property
180
+ @_builtins.property
187
181
  @pulumi.getter(name="displayName")
188
- def display_name(self) -> str:
182
+ def display_name(self) -> _builtins.str:
189
183
  """
190
184
  Display name for the permission that appears in the admin consent and app assignment experiences.
191
185
  """
192
186
  return pulumi.get(self, "display_name")
193
187
 
194
- @property
188
+ @_builtins.property
195
189
  @pulumi.getter(name="featureTags")
196
190
  def feature_tags(self) -> Sequence['outputs.GetServicePrincipalFeatureTagResult']:
197
191
  return pulumi.get(self, "feature_tags")
198
192
 
199
- @property
193
+ @_builtins.property
200
194
  @pulumi.getter
195
+ @_utilities.deprecated("""This block has been renamed to `feature_tags` and will be removed in version 3.0 of the provider""")
201
196
  def features(self) -> Sequence['outputs.GetServicePrincipalFeatureResult']:
202
197
  """
203
198
  A `features` block as described below.
204
199
  """
205
- warnings.warn("""This block has been renamed to `feature_tags` and will be removed in version 3.0 of the provider""", DeprecationWarning)
206
- pulumi.log.warn("""features is deprecated: This block has been renamed to `feature_tags` and will be removed in version 3.0 of the provider""")
207
-
208
200
  return pulumi.get(self, "features")
209
201
 
210
- @property
202
+ @_builtins.property
211
203
  @pulumi.getter(name="homepageUrl")
212
- def homepage_url(self) -> str:
204
+ def homepage_url(self) -> _builtins.str:
213
205
  """
214
206
  Home page or landing page of the associated application.
215
207
  """
216
208
  return pulumi.get(self, "homepage_url")
217
209
 
218
- @property
210
+ @_builtins.property
219
211
  @pulumi.getter
220
- def id(self) -> str:
212
+ def id(self) -> _builtins.str:
221
213
  """
222
214
  The provider-assigned unique ID for this managed resource.
223
215
  """
224
216
  return pulumi.get(self, "id")
225
217
 
226
- @property
218
+ @_builtins.property
227
219
  @pulumi.getter(name="loginUrl")
228
- def login_url(self) -> str:
220
+ def login_url(self) -> _builtins.str:
229
221
  """
230
222
  The URL where the service provider redirects the user to Azure AD to authenticate. Azure AD uses the URL to launch the application from Microsoft 365 or the Azure AD My Apps.
231
223
  """
232
224
  return pulumi.get(self, "login_url")
233
225
 
234
- @property
226
+ @_builtins.property
235
227
  @pulumi.getter(name="logoutUrl")
236
- def logout_url(self) -> str:
228
+ def logout_url(self) -> _builtins.str:
237
229
  """
238
230
  The URL that will be used by Microsoft's authorization service to logout an user using OpenId Connect front-channel, back-channel or SAML logout protocols, taken from the associated application.
239
231
  """
240
232
  return pulumi.get(self, "logout_url")
241
233
 
242
- @property
234
+ @_builtins.property
243
235
  @pulumi.getter
244
- def notes(self) -> str:
236
+ def notes(self) -> _builtins.str:
245
237
  """
246
238
  A free text field to capture information about the service principal, typically used for operational purposes.
247
239
  """
248
240
  return pulumi.get(self, "notes")
249
241
 
250
- @property
242
+ @_builtins.property
251
243
  @pulumi.getter(name="notificationEmailAddresses")
252
- def notification_email_addresses(self) -> Sequence[str]:
244
+ def notification_email_addresses(self) -> Sequence[_builtins.str]:
253
245
  """
254
246
  A list of email addresses where Azure AD sends a notification when the active certificate is near the expiration date. This is only for the certificates used to sign the SAML token issued for Azure AD Gallery applications.
255
247
  """
256
248
  return pulumi.get(self, "notification_email_addresses")
257
249
 
258
- @property
250
+ @_builtins.property
259
251
  @pulumi.getter(name="oauth2PermissionScopeIds")
260
- def oauth2_permission_scope_ids(self) -> Mapping[str, str]:
252
+ def oauth2_permission_scope_ids(self) -> Mapping[str, _builtins.str]:
261
253
  """
262
254
  A mapping of OAuth2.0 permission scope values to scope IDs, as exposed by the associated application, intended to be useful when referencing permission scopes in other resources in your configuration.
263
255
  """
264
256
  return pulumi.get(self, "oauth2_permission_scope_ids")
265
257
 
266
- @property
258
+ @_builtins.property
267
259
  @pulumi.getter(name="oauth2PermissionScopes")
268
260
  def oauth2_permission_scopes(self) -> Sequence['outputs.GetServicePrincipalOauth2PermissionScopeResult']:
269
261
  """
@@ -271,39 +263,39 @@ class GetServicePrincipalResult:
271
263
  """
272
264
  return pulumi.get(self, "oauth2_permission_scopes")
273
265
 
274
- @property
266
+ @_builtins.property
275
267
  @pulumi.getter(name="objectId")
276
- def object_id(self) -> str:
268
+ def object_id(self) -> _builtins.str:
277
269
  """
278
270
  The object ID of the service principal.
279
271
  """
280
272
  return pulumi.get(self, "object_id")
281
273
 
282
- @property
274
+ @_builtins.property
283
275
  @pulumi.getter(name="preferredSingleSignOnMode")
284
- def preferred_single_sign_on_mode(self) -> str:
276
+ def preferred_single_sign_on_mode(self) -> _builtins.str:
285
277
  """
286
278
  The single sign-on mode configured for this application. Azure AD uses the preferred single sign-on mode to launch the application from Microsoft 365 or the Azure AD My Apps.
287
279
  """
288
280
  return pulumi.get(self, "preferred_single_sign_on_mode")
289
281
 
290
- @property
282
+ @_builtins.property
291
283
  @pulumi.getter(name="redirectUris")
292
- def redirect_uris(self) -> Sequence[str]:
284
+ def redirect_uris(self) -> Sequence[_builtins.str]:
293
285
  """
294
286
  A list of URLs where user tokens are sent for sign-in with the associated application, or the redirect URIs where OAuth 2.0 authorization codes and access tokens are sent for the associated application.
295
287
  """
296
288
  return pulumi.get(self, "redirect_uris")
297
289
 
298
- @property
290
+ @_builtins.property
299
291
  @pulumi.getter(name="samlMetadataUrl")
300
- def saml_metadata_url(self) -> str:
292
+ def saml_metadata_url(self) -> _builtins.str:
301
293
  """
302
294
  The URL where the service exposes SAML metadata for federation.
303
295
  """
304
296
  return pulumi.get(self, "saml_metadata_url")
305
297
 
306
- @property
298
+ @_builtins.property
307
299
  @pulumi.getter(name="samlSingleSignOns")
308
300
  def saml_single_sign_ons(self) -> Sequence['outputs.GetServicePrincipalSamlSingleSignOnResult']:
309
301
  """
@@ -311,33 +303,33 @@ class GetServicePrincipalResult:
311
303
  """
312
304
  return pulumi.get(self, "saml_single_sign_ons")
313
305
 
314
- @property
306
+ @_builtins.property
315
307
  @pulumi.getter(name="servicePrincipalNames")
316
- def service_principal_names(self) -> Sequence[str]:
308
+ def service_principal_names(self) -> Sequence[_builtins.str]:
317
309
  """
318
310
  A list of identifier URI(s), copied over from the associated application.
319
311
  """
320
312
  return pulumi.get(self, "service_principal_names")
321
313
 
322
- @property
314
+ @_builtins.property
323
315
  @pulumi.getter(name="signInAudience")
324
- def sign_in_audience(self) -> str:
316
+ def sign_in_audience(self) -> _builtins.str:
325
317
  """
326
318
  The Microsoft account types that are supported for the associated application. Possible values include `AzureADMyOrg`, `AzureADMultipleOrgs`, `AzureADandPersonalMicrosoftAccount` or `PersonalMicrosoftAccount`.
327
319
  """
328
320
  return pulumi.get(self, "sign_in_audience")
329
321
 
330
- @property
322
+ @_builtins.property
331
323
  @pulumi.getter
332
- def tags(self) -> Sequence[str]:
324
+ def tags(self) -> Sequence[_builtins.str]:
333
325
  """
334
326
  A list of tags applied to the service principal.
335
327
  """
336
328
  return pulumi.get(self, "tags")
337
329
 
338
- @property
330
+ @_builtins.property
339
331
  @pulumi.getter
340
- def type(self) -> str:
332
+ def type(self) -> _builtins.str:
341
333
  """
342
334
  Whether this delegated permission should be considered safe for non-admin users to consent to on behalf of themselves, or whether an administrator should be required for consent to the permissions. Possible values are `User` or `Admin`.
343
335
  """
@@ -355,7 +347,6 @@ class AwaitableGetServicePrincipalResult(GetServicePrincipalResult):
355
347
  app_role_assignment_required=self.app_role_assignment_required,
356
348
  app_role_ids=self.app_role_ids,
357
349
  app_roles=self.app_roles,
358
- application_id=self.application_id,
359
350
  application_tenant_id=self.application_tenant_id,
360
351
  client_id=self.client_id,
361
352
  description=self.description,
@@ -381,10 +372,9 @@ class AwaitableGetServicePrincipalResult(GetServicePrincipalResult):
381
372
  type=self.type)
382
373
 
383
374
 
384
- def get_service_principal(application_id: Optional[str] = None,
385
- client_id: Optional[str] = None,
386
- display_name: Optional[str] = None,
387
- object_id: Optional[str] = None,
375
+ def get_service_principal(client_id: Optional[_builtins.str] = None,
376
+ display_name: Optional[_builtins.str] = None,
377
+ object_id: Optional[_builtins.str] = None,
388
378
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetServicePrincipalResult:
389
379
  """
390
380
  Gets information about an existing service principal associated with an application within Azure Active Directory.
@@ -427,14 +417,13 @@ def get_service_principal(application_id: Optional[str] = None,
427
417
  ```
428
418
 
429
419
 
430
- :param str client_id: The client ID of the application associated with this service principal.
431
- :param str display_name: The display name of the application associated with this service principal.
432
- :param str object_id: The object ID of the service principal.
420
+ :param _builtins.str client_id: The client ID of the application associated with this service principal.
421
+ :param _builtins.str display_name: The display name of the application associated with this service principal.
422
+ :param _builtins.str object_id: The object ID of the service principal.
433
423
 
434
424
  > One of `client_id`, `display_name` or `object_id` must be specified.
435
425
  """
436
426
  __args__ = dict()
437
- __args__['applicationId'] = application_id
438
427
  __args__['clientId'] = client_id
439
428
  __args__['displayName'] = display_name
440
429
  __args__['objectId'] = object_id
@@ -447,7 +436,6 @@ def get_service_principal(application_id: Optional[str] = None,
447
436
  app_role_assignment_required=pulumi.get(__ret__, 'app_role_assignment_required'),
448
437
  app_role_ids=pulumi.get(__ret__, 'app_role_ids'),
449
438
  app_roles=pulumi.get(__ret__, 'app_roles'),
450
- application_id=pulumi.get(__ret__, 'application_id'),
451
439
  application_tenant_id=pulumi.get(__ret__, 'application_tenant_id'),
452
440
  client_id=pulumi.get(__ret__, 'client_id'),
453
441
  description=pulumi.get(__ret__, 'description'),
@@ -471,14 +459,10 @@ def get_service_principal(application_id: Optional[str] = None,
471
459
  sign_in_audience=pulumi.get(__ret__, 'sign_in_audience'),
472
460
  tags=pulumi.get(__ret__, 'tags'),
473
461
  type=pulumi.get(__ret__, 'type'))
474
-
475
-
476
- @_utilities.lift_output_func(get_service_principal)
477
- def get_service_principal_output(application_id: Optional[pulumi.Input[Optional[str]]] = None,
478
- client_id: Optional[pulumi.Input[Optional[str]]] = None,
479
- display_name: Optional[pulumi.Input[Optional[str]]] = None,
480
- object_id: Optional[pulumi.Input[Optional[str]]] = None,
481
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServicePrincipalResult]:
462
+ def get_service_principal_output(client_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
463
+ display_name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
464
+ object_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
465
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetServicePrincipalResult]:
482
466
  """
483
467
  Gets information about an existing service principal associated with an application within Azure Active Directory.
484
468
 
@@ -520,10 +504,44 @@ def get_service_principal_output(application_id: Optional[pulumi.Input[Optional[
520
504
  ```
521
505
 
522
506
 
523
- :param str client_id: The client ID of the application associated with this service principal.
524
- :param str display_name: The display name of the application associated with this service principal.
525
- :param str object_id: The object ID of the service principal.
507
+ :param _builtins.str client_id: The client ID of the application associated with this service principal.
508
+ :param _builtins.str display_name: The display name of the application associated with this service principal.
509
+ :param _builtins.str object_id: The object ID of the service principal.
526
510
 
527
511
  > One of `client_id`, `display_name` or `object_id` must be specified.
528
512
  """
529
- ...
513
+ __args__ = dict()
514
+ __args__['clientId'] = client_id
515
+ __args__['displayName'] = display_name
516
+ __args__['objectId'] = object_id
517
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
518
+ __ret__ = pulumi.runtime.invoke_output('azuread:index/getServicePrincipal:getServicePrincipal', __args__, opts=opts, typ=GetServicePrincipalResult)
519
+ return __ret__.apply(lambda __response__: GetServicePrincipalResult(
520
+ account_enabled=pulumi.get(__response__, 'account_enabled'),
521
+ alternative_names=pulumi.get(__response__, 'alternative_names'),
522
+ app_role_assignment_required=pulumi.get(__response__, 'app_role_assignment_required'),
523
+ app_role_ids=pulumi.get(__response__, 'app_role_ids'),
524
+ app_roles=pulumi.get(__response__, 'app_roles'),
525
+ application_tenant_id=pulumi.get(__response__, 'application_tenant_id'),
526
+ client_id=pulumi.get(__response__, 'client_id'),
527
+ description=pulumi.get(__response__, 'description'),
528
+ display_name=pulumi.get(__response__, 'display_name'),
529
+ feature_tags=pulumi.get(__response__, 'feature_tags'),
530
+ features=pulumi.get(__response__, 'features'),
531
+ homepage_url=pulumi.get(__response__, 'homepage_url'),
532
+ id=pulumi.get(__response__, 'id'),
533
+ login_url=pulumi.get(__response__, 'login_url'),
534
+ logout_url=pulumi.get(__response__, 'logout_url'),
535
+ notes=pulumi.get(__response__, 'notes'),
536
+ notification_email_addresses=pulumi.get(__response__, 'notification_email_addresses'),
537
+ oauth2_permission_scope_ids=pulumi.get(__response__, 'oauth2_permission_scope_ids'),
538
+ oauth2_permission_scopes=pulumi.get(__response__, 'oauth2_permission_scopes'),
539
+ object_id=pulumi.get(__response__, 'object_id'),
540
+ preferred_single_sign_on_mode=pulumi.get(__response__, 'preferred_single_sign_on_mode'),
541
+ redirect_uris=pulumi.get(__response__, 'redirect_uris'),
542
+ saml_metadata_url=pulumi.get(__response__, 'saml_metadata_url'),
543
+ saml_single_sign_ons=pulumi.get(__response__, 'saml_single_sign_ons'),
544
+ service_principal_names=pulumi.get(__response__, 'service_principal_names'),
545
+ sign_in_audience=pulumi.get(__response__, 'sign_in_audience'),
546
+ tags=pulumi.get(__response__, 'tags'),
547
+ type=pulumi.get(__response__, 'type')))