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_domains.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
|
|
|
@@ -48,15 +53,15 @@ class GetDomainsResult:
|
|
|
48
53
|
raise TypeError("Expected argument 'supports_services' to be a list")
|
|
49
54
|
pulumi.set(__self__, "supports_services", supports_services)
|
|
50
55
|
|
|
51
|
-
@property
|
|
56
|
+
@_builtins.property
|
|
52
57
|
@pulumi.getter(name="adminManaged")
|
|
53
|
-
def admin_managed(self) -> Optional[bool]:
|
|
58
|
+
def admin_managed(self) -> Optional[_builtins.bool]:
|
|
54
59
|
"""
|
|
55
60
|
Whether the DNS for the domain is managed by Microsoft 365.
|
|
56
61
|
"""
|
|
57
62
|
return pulumi.get(self, "admin_managed")
|
|
58
63
|
|
|
59
|
-
@property
|
|
64
|
+
@_builtins.property
|
|
60
65
|
@pulumi.getter
|
|
61
66
|
def domains(self) -> Sequence['outputs.GetDomainsDomainResult']:
|
|
62
67
|
"""
|
|
@@ -64,37 +69,37 @@ class GetDomainsResult:
|
|
|
64
69
|
"""
|
|
65
70
|
return pulumi.get(self, "domains")
|
|
66
71
|
|
|
67
|
-
@property
|
|
72
|
+
@_builtins.property
|
|
68
73
|
@pulumi.getter
|
|
69
|
-
def id(self) -> str:
|
|
74
|
+
def id(self) -> _builtins.str:
|
|
70
75
|
"""
|
|
71
76
|
The provider-assigned unique ID for this managed resource.
|
|
72
77
|
"""
|
|
73
78
|
return pulumi.get(self, "id")
|
|
74
79
|
|
|
75
|
-
@property
|
|
80
|
+
@_builtins.property
|
|
76
81
|
@pulumi.getter(name="includeUnverified")
|
|
77
|
-
def include_unverified(self) -> Optional[bool]:
|
|
82
|
+
def include_unverified(self) -> Optional[_builtins.bool]:
|
|
78
83
|
return pulumi.get(self, "include_unverified")
|
|
79
84
|
|
|
80
|
-
@property
|
|
85
|
+
@_builtins.property
|
|
81
86
|
@pulumi.getter(name="onlyDefault")
|
|
82
|
-
def only_default(self) -> Optional[bool]:
|
|
87
|
+
def only_default(self) -> Optional[_builtins.bool]:
|
|
83
88
|
return pulumi.get(self, "only_default")
|
|
84
89
|
|
|
85
|
-
@property
|
|
90
|
+
@_builtins.property
|
|
86
91
|
@pulumi.getter(name="onlyInitial")
|
|
87
|
-
def only_initial(self) -> Optional[bool]:
|
|
92
|
+
def only_initial(self) -> Optional[_builtins.bool]:
|
|
88
93
|
return pulumi.get(self, "only_initial")
|
|
89
94
|
|
|
90
|
-
@property
|
|
95
|
+
@_builtins.property
|
|
91
96
|
@pulumi.getter(name="onlyRoot")
|
|
92
|
-
def only_root(self) -> Optional[bool]:
|
|
97
|
+
def only_root(self) -> Optional[_builtins.bool]:
|
|
93
98
|
return pulumi.get(self, "only_root")
|
|
94
99
|
|
|
95
|
-
@property
|
|
100
|
+
@_builtins.property
|
|
96
101
|
@pulumi.getter(name="supportsServices")
|
|
97
|
-
def supports_services(self) -> Optional[Sequence[str]]:
|
|
102
|
+
def supports_services(self) -> Optional[Sequence[_builtins.str]]:
|
|
98
103
|
return pulumi.get(self, "supports_services")
|
|
99
104
|
|
|
100
105
|
|
|
@@ -114,12 +119,12 @@ class AwaitableGetDomainsResult(GetDomainsResult):
|
|
|
114
119
|
supports_services=self.supports_services)
|
|
115
120
|
|
|
116
121
|
|
|
117
|
-
def get_domains(admin_managed: Optional[bool] = None,
|
|
118
|
-
include_unverified: Optional[bool] = None,
|
|
119
|
-
only_default: Optional[bool] = None,
|
|
120
|
-
only_initial: Optional[bool] = None,
|
|
121
|
-
only_root: Optional[bool] = None,
|
|
122
|
-
supports_services: Optional[Sequence[str]] = None,
|
|
122
|
+
def get_domains(admin_managed: Optional[_builtins.bool] = None,
|
|
123
|
+
include_unverified: Optional[_builtins.bool] = None,
|
|
124
|
+
only_default: Optional[_builtins.bool] = None,
|
|
125
|
+
only_initial: Optional[_builtins.bool] = None,
|
|
126
|
+
only_root: Optional[_builtins.bool] = None,
|
|
127
|
+
supports_services: Optional[Sequence[_builtins.str]] = None,
|
|
123
128
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDomainsResult:
|
|
124
129
|
"""
|
|
125
130
|
Use this data source to access information about existing Domains within Azure Active Directory.
|
|
@@ -143,12 +148,12 @@ def get_domains(admin_managed: Optional[bool] = None,
|
|
|
143
148
|
```
|
|
144
149
|
|
|
145
150
|
|
|
146
|
-
:param bool admin_managed: Set to `true` to only return domains whose DNS is managed by Microsoft 365. Defaults to `false`.
|
|
147
|
-
:param bool include_unverified: Set to `true` if unverified Azure AD domains should be included. Defaults to `false`.
|
|
148
|
-
:param bool only_default: Set to `true` to only return the default domain.
|
|
149
|
-
:param bool only_initial: Set to `true` to only return the initial domain, which is your primary Azure Active Directory tenant domain. Defaults to `false`.
|
|
150
|
-
:param bool only_root: Set to `true` to only return verified root domains. Excludes subdomains and unverified domains.
|
|
151
|
-
:param Sequence[str] supports_services: A list of supported services that must be supported by a domain. Possible values include `Email`, `Sharepoint`, `EmailInternalRelayOnly`, `OfficeCommunicationsOnline`, `SharePointDefaultDomain`, `FullRedelegation`, `SharePointPublic`, `OrgIdAuthentication`, `Yammer` and `Intune`.
|
|
151
|
+
:param _builtins.bool admin_managed: Set to `true` to only return domains whose DNS is managed by Microsoft 365. Defaults to `false`.
|
|
152
|
+
:param _builtins.bool include_unverified: Set to `true` if unverified Azure AD domains should be included. Defaults to `false`.
|
|
153
|
+
:param _builtins.bool only_default: Set to `true` to only return the default domain.
|
|
154
|
+
:param _builtins.bool only_initial: Set to `true` to only return the initial domain, which is your primary Azure Active Directory tenant domain. Defaults to `false`.
|
|
155
|
+
:param _builtins.bool only_root: Set to `true` to only return verified root domains. Excludes subdomains and unverified domains.
|
|
156
|
+
:param Sequence[_builtins.str] supports_services: A list of supported services that must be supported by a domain. Possible values include `Email`, `Sharepoint`, `EmailInternalRelayOnly`, `OfficeCommunicationsOnline`, `SharePointDefaultDomain`, `FullRedelegation`, `SharePointPublic`, `OrgIdAuthentication`, `Yammer` and `Intune`.
|
|
152
157
|
|
|
153
158
|
> **Note on filters** If `include_unverified` is set to `true`, you cannot specify `only_default` or `only_initial`. Additionally, you cannot combine `only_default` with `only_initial`.
|
|
154
159
|
"""
|
|
@@ -171,16 +176,13 @@ def get_domains(admin_managed: Optional[bool] = None,
|
|
|
171
176
|
only_initial=pulumi.get(__ret__, 'only_initial'),
|
|
172
177
|
only_root=pulumi.get(__ret__, 'only_root'),
|
|
173
178
|
supports_services=pulumi.get(__ret__, 'supports_services'))
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
only_root: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
182
|
-
supports_services: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
|
183
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDomainsResult]:
|
|
179
|
+
def get_domains_output(admin_managed: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
180
|
+
include_unverified: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
181
|
+
only_default: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
182
|
+
only_initial: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
183
|
+
only_root: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
184
|
+
supports_services: Optional[pulumi.Input[Optional[Sequence[_builtins.str]]]] = None,
|
|
185
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDomainsResult]:
|
|
184
186
|
"""
|
|
185
187
|
Use this data source to access information about existing Domains within Azure Active Directory.
|
|
186
188
|
|
|
@@ -203,13 +205,30 @@ def get_domains_output(admin_managed: Optional[pulumi.Input[Optional[bool]]] = N
|
|
|
203
205
|
```
|
|
204
206
|
|
|
205
207
|
|
|
206
|
-
:param bool admin_managed: Set to `true` to only return domains whose DNS is managed by Microsoft 365. Defaults to `false`.
|
|
207
|
-
:param bool include_unverified: Set to `true` if unverified Azure AD domains should be included. Defaults to `false`.
|
|
208
|
-
:param bool only_default: Set to `true` to only return the default domain.
|
|
209
|
-
:param bool only_initial: Set to `true` to only return the initial domain, which is your primary Azure Active Directory tenant domain. Defaults to `false`.
|
|
210
|
-
:param bool only_root: Set to `true` to only return verified root domains. Excludes subdomains and unverified domains.
|
|
211
|
-
:param Sequence[str] supports_services: A list of supported services that must be supported by a domain. Possible values include `Email`, `Sharepoint`, `EmailInternalRelayOnly`, `OfficeCommunicationsOnline`, `SharePointDefaultDomain`, `FullRedelegation`, `SharePointPublic`, `OrgIdAuthentication`, `Yammer` and `Intune`.
|
|
208
|
+
:param _builtins.bool admin_managed: Set to `true` to only return domains whose DNS is managed by Microsoft 365. Defaults to `false`.
|
|
209
|
+
:param _builtins.bool include_unverified: Set to `true` if unverified Azure AD domains should be included. Defaults to `false`.
|
|
210
|
+
:param _builtins.bool only_default: Set to `true` to only return the default domain.
|
|
211
|
+
:param _builtins.bool only_initial: Set to `true` to only return the initial domain, which is your primary Azure Active Directory tenant domain. Defaults to `false`.
|
|
212
|
+
:param _builtins.bool only_root: Set to `true` to only return verified root domains. Excludes subdomains and unverified domains.
|
|
213
|
+
:param Sequence[_builtins.str] supports_services: A list of supported services that must be supported by a domain. Possible values include `Email`, `Sharepoint`, `EmailInternalRelayOnly`, `OfficeCommunicationsOnline`, `SharePointDefaultDomain`, `FullRedelegation`, `SharePointPublic`, `OrgIdAuthentication`, `Yammer` and `Intune`.
|
|
212
214
|
|
|
213
215
|
> **Note on filters** If `include_unverified` is set to `true`, you cannot specify `only_default` or `only_initial`. Additionally, you cannot combine `only_default` with `only_initial`.
|
|
214
216
|
"""
|
|
215
|
-
|
|
217
|
+
__args__ = dict()
|
|
218
|
+
__args__['adminManaged'] = admin_managed
|
|
219
|
+
__args__['includeUnverified'] = include_unverified
|
|
220
|
+
__args__['onlyDefault'] = only_default
|
|
221
|
+
__args__['onlyInitial'] = only_initial
|
|
222
|
+
__args__['onlyRoot'] = only_root
|
|
223
|
+
__args__['supportsServices'] = supports_services
|
|
224
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
225
|
+
__ret__ = pulumi.runtime.invoke_output('azuread:index/getDomains:getDomains', __args__, opts=opts, typ=GetDomainsResult)
|
|
226
|
+
return __ret__.apply(lambda __response__: GetDomainsResult(
|
|
227
|
+
admin_managed=pulumi.get(__response__, 'admin_managed'),
|
|
228
|
+
domains=pulumi.get(__response__, 'domains'),
|
|
229
|
+
id=pulumi.get(__response__, 'id'),
|
|
230
|
+
include_unverified=pulumi.get(__response__, 'include_unverified'),
|
|
231
|
+
only_default=pulumi.get(__response__, 'only_default'),
|
|
232
|
+
only_initial=pulumi.get(__response__, 'only_initial'),
|
|
233
|
+
only_root=pulumi.get(__response__, 'only_root'),
|
|
234
|
+
supports_services=pulumi.get(__response__, 'supports_services')))
|