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
|
@@ -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__ = [
|
|
@@ -50,73 +55,73 @@ class GetApplicationTemplateResult:
|
|
|
50
55
|
raise TypeError("Expected argument 'template_id' to be a str")
|
|
51
56
|
pulumi.set(__self__, "template_id", template_id)
|
|
52
57
|
|
|
53
|
-
@property
|
|
58
|
+
@_builtins.property
|
|
54
59
|
@pulumi.getter
|
|
55
|
-
def categories(self) -> Sequence[str]:
|
|
60
|
+
def categories(self) -> Sequence[_builtins.str]:
|
|
56
61
|
"""
|
|
57
62
|
List of categories for this templated application.
|
|
58
63
|
"""
|
|
59
64
|
return pulumi.get(self, "categories")
|
|
60
65
|
|
|
61
|
-
@property
|
|
66
|
+
@_builtins.property
|
|
62
67
|
@pulumi.getter(name="displayName")
|
|
63
|
-
def display_name(self) -> str:
|
|
68
|
+
def display_name(self) -> _builtins.str:
|
|
64
69
|
"""
|
|
65
70
|
The display name for the templated application.
|
|
66
71
|
"""
|
|
67
72
|
return pulumi.get(self, "display_name")
|
|
68
73
|
|
|
69
|
-
@property
|
|
74
|
+
@_builtins.property
|
|
70
75
|
@pulumi.getter(name="homepageUrl")
|
|
71
|
-
def homepage_url(self) -> str:
|
|
76
|
+
def homepage_url(self) -> _builtins.str:
|
|
72
77
|
"""
|
|
73
78
|
Home page URL of the templated application.
|
|
74
79
|
"""
|
|
75
80
|
return pulumi.get(self, "homepage_url")
|
|
76
81
|
|
|
77
|
-
@property
|
|
82
|
+
@_builtins.property
|
|
78
83
|
@pulumi.getter
|
|
79
|
-
def id(self) -> str:
|
|
84
|
+
def id(self) -> _builtins.str:
|
|
80
85
|
"""
|
|
81
86
|
The provider-assigned unique ID for this managed resource.
|
|
82
87
|
"""
|
|
83
88
|
return pulumi.get(self, "id")
|
|
84
89
|
|
|
85
|
-
@property
|
|
90
|
+
@_builtins.property
|
|
86
91
|
@pulumi.getter(name="logoUrl")
|
|
87
|
-
def logo_url(self) -> str:
|
|
92
|
+
def logo_url(self) -> _builtins.str:
|
|
88
93
|
"""
|
|
89
94
|
URL to retrieve the logo for this templated application.
|
|
90
95
|
"""
|
|
91
96
|
return pulumi.get(self, "logo_url")
|
|
92
97
|
|
|
93
|
-
@property
|
|
98
|
+
@_builtins.property
|
|
94
99
|
@pulumi.getter
|
|
95
|
-
def publisher(self) -> str:
|
|
100
|
+
def publisher(self) -> _builtins.str:
|
|
96
101
|
"""
|
|
97
102
|
Name of the publisher for this templated application.
|
|
98
103
|
"""
|
|
99
104
|
return pulumi.get(self, "publisher")
|
|
100
105
|
|
|
101
|
-
@property
|
|
106
|
+
@_builtins.property
|
|
102
107
|
@pulumi.getter(name="supportedProvisioningTypes")
|
|
103
|
-
def supported_provisioning_types(self) -> Sequence[str]:
|
|
108
|
+
def supported_provisioning_types(self) -> Sequence[_builtins.str]:
|
|
104
109
|
"""
|
|
105
110
|
List of provisioning modes supported by this templated application.
|
|
106
111
|
"""
|
|
107
112
|
return pulumi.get(self, "supported_provisioning_types")
|
|
108
113
|
|
|
109
|
-
@property
|
|
114
|
+
@_builtins.property
|
|
110
115
|
@pulumi.getter(name="supportedSingleSignOnModes")
|
|
111
|
-
def supported_single_sign_on_modes(self) -> Sequence[str]:
|
|
116
|
+
def supported_single_sign_on_modes(self) -> Sequence[_builtins.str]:
|
|
112
117
|
"""
|
|
113
118
|
List of single sign on modes supported by this templated application.
|
|
114
119
|
"""
|
|
115
120
|
return pulumi.get(self, "supported_single_sign_on_modes")
|
|
116
121
|
|
|
117
|
-
@property
|
|
122
|
+
@_builtins.property
|
|
118
123
|
@pulumi.getter(name="templateId")
|
|
119
|
-
def template_id(self) -> str:
|
|
124
|
+
def template_id(self) -> _builtins.str:
|
|
120
125
|
"""
|
|
121
126
|
The ID of the templated application.
|
|
122
127
|
"""
|
|
@@ -140,8 +145,8 @@ class AwaitableGetApplicationTemplateResult(GetApplicationTemplateResult):
|
|
|
140
145
|
template_id=self.template_id)
|
|
141
146
|
|
|
142
147
|
|
|
143
|
-
def get_application_template(display_name: Optional[str] = None,
|
|
144
|
-
template_id: Optional[str] = None,
|
|
148
|
+
def get_application_template(display_name: Optional[_builtins.str] = None,
|
|
149
|
+
template_id: Optional[_builtins.str] = None,
|
|
145
150
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetApplicationTemplateResult:
|
|
146
151
|
"""
|
|
147
152
|
Use this data source to access information about an Application Template from the [Azure AD App Gallery](https://azuremarketplace.microsoft.com/en-US/marketplace/apps/category/azure-active-directory-apps).
|
|
@@ -161,8 +166,8 @@ def get_application_template(display_name: Optional[str] = None,
|
|
|
161
166
|
```
|
|
162
167
|
|
|
163
168
|
|
|
164
|
-
:param str display_name: Specifies the display name of the templated application.
|
|
165
|
-
:param str template_id: Specifies the ID of the templated application.
|
|
169
|
+
:param _builtins.str display_name: Specifies the display name of the templated application.
|
|
170
|
+
:param _builtins.str template_id: Specifies the ID of the templated application.
|
|
166
171
|
|
|
167
172
|
> One of `template_id` or `display_name` must be specified.
|
|
168
173
|
"""
|
|
@@ -182,12 +187,9 @@ def get_application_template(display_name: Optional[str] = None,
|
|
|
182
187
|
supported_provisioning_types=pulumi.get(__ret__, 'supported_provisioning_types'),
|
|
183
188
|
supported_single_sign_on_modes=pulumi.get(__ret__, 'supported_single_sign_on_modes'),
|
|
184
189
|
template_id=pulumi.get(__ret__, 'template_id'))
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
def get_application_template_output(display_name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
189
|
-
template_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
190
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetApplicationTemplateResult]:
|
|
190
|
+
def get_application_template_output(display_name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
191
|
+
template_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
192
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetApplicationTemplateResult]:
|
|
191
193
|
"""
|
|
192
194
|
Use this data source to access information about an Application Template from the [Azure AD App Gallery](https://azuremarketplace.microsoft.com/en-US/marketplace/apps/category/azure-active-directory-apps).
|
|
193
195
|
|
|
@@ -206,9 +208,23 @@ def get_application_template_output(display_name: Optional[pulumi.Input[Optional
|
|
|
206
208
|
```
|
|
207
209
|
|
|
208
210
|
|
|
209
|
-
:param str display_name: Specifies the display name of the templated application.
|
|
210
|
-
:param str template_id: Specifies the ID of the templated application.
|
|
211
|
+
:param _builtins.str display_name: Specifies the display name of the templated application.
|
|
212
|
+
:param _builtins.str template_id: Specifies the ID of the templated application.
|
|
211
213
|
|
|
212
214
|
> One of `template_id` or `display_name` must be specified.
|
|
213
215
|
"""
|
|
214
|
-
|
|
216
|
+
__args__ = dict()
|
|
217
|
+
__args__['displayName'] = display_name
|
|
218
|
+
__args__['templateId'] = template_id
|
|
219
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
220
|
+
__ret__ = pulumi.runtime.invoke_output('azuread:index/getApplicationTemplate:getApplicationTemplate', __args__, opts=opts, typ=GetApplicationTemplateResult)
|
|
221
|
+
return __ret__.apply(lambda __response__: GetApplicationTemplateResult(
|
|
222
|
+
categories=pulumi.get(__response__, 'categories'),
|
|
223
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
|
224
|
+
homepage_url=pulumi.get(__response__, 'homepage_url'),
|
|
225
|
+
id=pulumi.get(__response__, 'id'),
|
|
226
|
+
logo_url=pulumi.get(__response__, 'logo_url'),
|
|
227
|
+
publisher=pulumi.get(__response__, 'publisher'),
|
|
228
|
+
supported_provisioning_types=pulumi.get(__response__, 'supported_provisioning_types'),
|
|
229
|
+
supported_single_sign_on_modes=pulumi.get(__response__, 'supported_single_sign_on_modes'),
|
|
230
|
+
template_id=pulumi.get(__response__, 'template_id')))
|
|
@@ -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__ = [
|
|
@@ -35,33 +40,33 @@ class GetClientConfigResult:
|
|
|
35
40
|
raise TypeError("Expected argument 'tenant_id' to be a str")
|
|
36
41
|
pulumi.set(__self__, "tenant_id", tenant_id)
|
|
37
42
|
|
|
38
|
-
@property
|
|
43
|
+
@_builtins.property
|
|
39
44
|
@pulumi.getter(name="clientId")
|
|
40
|
-
def client_id(self) -> str:
|
|
45
|
+
def client_id(self) -> _builtins.str:
|
|
41
46
|
"""
|
|
42
47
|
The client ID (application ID) linked to the authenticated principal, or the application used for delegated authentication.
|
|
43
48
|
"""
|
|
44
49
|
return pulumi.get(self, "client_id")
|
|
45
50
|
|
|
46
|
-
@property
|
|
51
|
+
@_builtins.property
|
|
47
52
|
@pulumi.getter
|
|
48
|
-
def id(self) -> str:
|
|
53
|
+
def id(self) -> _builtins.str:
|
|
49
54
|
"""
|
|
50
55
|
The provider-assigned unique ID for this managed resource.
|
|
51
56
|
"""
|
|
52
57
|
return pulumi.get(self, "id")
|
|
53
58
|
|
|
54
|
-
@property
|
|
59
|
+
@_builtins.property
|
|
55
60
|
@pulumi.getter(name="objectId")
|
|
56
|
-
def object_id(self) -> str:
|
|
61
|
+
def object_id(self) -> _builtins.str:
|
|
57
62
|
"""
|
|
58
63
|
The object ID of the authenticated principal.
|
|
59
64
|
"""
|
|
60
65
|
return pulumi.get(self, "object_id")
|
|
61
66
|
|
|
62
|
-
@property
|
|
67
|
+
@_builtins.property
|
|
63
68
|
@pulumi.getter(name="tenantId")
|
|
64
|
-
def tenant_id(self) -> str:
|
|
69
|
+
def tenant_id(self) -> _builtins.str:
|
|
65
70
|
"""
|
|
66
71
|
The tenant ID of the authenticated principal.
|
|
67
72
|
"""
|
|
@@ -107,10 +112,7 @@ def get_client_config(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableG
|
|
|
107
112
|
id=pulumi.get(__ret__, 'id'),
|
|
108
113
|
object_id=pulumi.get(__ret__, 'object_id'),
|
|
109
114
|
tenant_id=pulumi.get(__ret__, 'tenant_id'))
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
@_utilities.lift_output_func(get_client_config)
|
|
113
|
-
def get_client_config_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetClientConfigResult]:
|
|
115
|
+
def get_client_config_output(opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetClientConfigResult]:
|
|
114
116
|
"""
|
|
115
117
|
Use this data source to access the configuration of the AzureAD provider.
|
|
116
118
|
|
|
@@ -128,4 +130,11 @@ def get_client_config_output(opts: Optional[pulumi.InvokeOptions] = None) -> pul
|
|
|
128
130
|
pulumi.export("objectId", current.object_id)
|
|
129
131
|
```
|
|
130
132
|
"""
|
|
131
|
-
|
|
133
|
+
__args__ = dict()
|
|
134
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
135
|
+
__ret__ = pulumi.runtime.invoke_output('azuread:index/getClientConfig:getClientConfig', __args__, opts=opts, typ=GetClientConfigResult)
|
|
136
|
+
return __ret__.apply(lambda __response__: GetClientConfigResult(
|
|
137
|
+
client_id=pulumi.get(__response__, 'client_id'),
|
|
138
|
+
id=pulumi.get(__response__, 'id'),
|
|
139
|
+
object_id=pulumi.get(__response__, 'object_id'),
|
|
140
|
+
tenant_id=pulumi.get(__response__, 'tenant_id')))
|
|
@@ -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__ = [
|
|
@@ -32,22 +37,22 @@ class GetDirectoryObjectResult:
|
|
|
32
37
|
raise TypeError("Expected argument 'type' to be a str")
|
|
33
38
|
pulumi.set(__self__, "type", type)
|
|
34
39
|
|
|
35
|
-
@property
|
|
40
|
+
@_builtins.property
|
|
36
41
|
@pulumi.getter
|
|
37
|
-
def id(self) -> str:
|
|
42
|
+
def id(self) -> _builtins.str:
|
|
38
43
|
"""
|
|
39
44
|
The provider-assigned unique ID for this managed resource.
|
|
40
45
|
"""
|
|
41
46
|
return pulumi.get(self, "id")
|
|
42
47
|
|
|
43
|
-
@property
|
|
48
|
+
@_builtins.property
|
|
44
49
|
@pulumi.getter(name="objectId")
|
|
45
|
-
def object_id(self) -> str:
|
|
50
|
+
def object_id(self) -> _builtins.str:
|
|
46
51
|
return pulumi.get(self, "object_id")
|
|
47
52
|
|
|
48
|
-
@property
|
|
53
|
+
@_builtins.property
|
|
49
54
|
@pulumi.getter
|
|
50
|
-
def type(self) -> str:
|
|
55
|
+
def type(self) -> _builtins.str:
|
|
51
56
|
return pulumi.get(self, "type")
|
|
52
57
|
|
|
53
58
|
|
|
@@ -62,7 +67,7 @@ class AwaitableGetDirectoryObjectResult(GetDirectoryObjectResult):
|
|
|
62
67
|
type=self.type)
|
|
63
68
|
|
|
64
69
|
|
|
65
|
-
def get_directory_object(object_id: Optional[str] = None,
|
|
70
|
+
def get_directory_object(object_id: Optional[_builtins.str] = None,
|
|
66
71
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDirectoryObjectResult:
|
|
67
72
|
"""
|
|
68
73
|
Retrieves the OData type for a generic directory object having the provided object ID.
|
|
@@ -85,15 +90,16 @@ def get_directory_object(object_id: Optional[str] = None,
|
|
|
85
90
|
example = azuread.get_directory_object(object_id="00000000-0000-0000-0000-000000000000")
|
|
86
91
|
pulumi.export("objectType", example.type)
|
|
87
92
|
```
|
|
93
|
+
|
|
88
94
|
## Attributes Reference
|
|
89
95
|
|
|
90
96
|
The following attributes are exported:
|
|
91
97
|
|
|
92
|
-
|
|
93
|
-
|
|
98
|
+
* `object_id` - The object ID of the directory object.
|
|
99
|
+
* `type` - The shortened OData type of the directory object. Possible values include: `Group`, `User` or `ServicePrincipal`.
|
|
94
100
|
|
|
95
101
|
|
|
96
|
-
:param str object_id: Specifies the Object ID of the directory object to look up.
|
|
102
|
+
:param _builtins.str object_id: Specifies the Object ID of the directory object to look up.
|
|
97
103
|
"""
|
|
98
104
|
__args__ = dict()
|
|
99
105
|
__args__['objectId'] = object_id
|
|
@@ -104,11 +110,8 @@ def get_directory_object(object_id: Optional[str] = None,
|
|
|
104
110
|
id=pulumi.get(__ret__, 'id'),
|
|
105
111
|
object_id=pulumi.get(__ret__, 'object_id'),
|
|
106
112
|
type=pulumi.get(__ret__, 'type'))
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
@_utilities.lift_output_func(get_directory_object)
|
|
110
|
-
def get_directory_object_output(object_id: Optional[pulumi.Input[str]] = None,
|
|
111
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDirectoryObjectResult]:
|
|
113
|
+
def get_directory_object_output(object_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
114
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDirectoryObjectResult]:
|
|
112
115
|
"""
|
|
113
116
|
Retrieves the OData type for a generic directory object having the provided object ID.
|
|
114
117
|
|
|
@@ -130,14 +133,22 @@ def get_directory_object_output(object_id: Optional[pulumi.Input[str]] = None,
|
|
|
130
133
|
example = azuread.get_directory_object(object_id="00000000-0000-0000-0000-000000000000")
|
|
131
134
|
pulumi.export("objectType", example.type)
|
|
132
135
|
```
|
|
136
|
+
|
|
133
137
|
## Attributes Reference
|
|
134
138
|
|
|
135
139
|
The following attributes are exported:
|
|
136
140
|
|
|
137
|
-
|
|
138
|
-
|
|
141
|
+
* `object_id` - The object ID of the directory object.
|
|
142
|
+
* `type` - The shortened OData type of the directory object. Possible values include: `Group`, `User` or `ServicePrincipal`.
|
|
139
143
|
|
|
140
144
|
|
|
141
|
-
:param str object_id: Specifies the Object ID of the directory object to look up.
|
|
145
|
+
:param _builtins.str object_id: Specifies the Object ID of the directory object to look up.
|
|
142
146
|
"""
|
|
143
|
-
|
|
147
|
+
__args__ = dict()
|
|
148
|
+
__args__['objectId'] = object_id
|
|
149
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
150
|
+
__ret__ = pulumi.runtime.invoke_output('azuread:index/getDirectoryObject:getDirectoryObject', __args__, opts=opts, typ=GetDirectoryObjectResult)
|
|
151
|
+
return __ret__.apply(lambda __response__: GetDirectoryObjectResult(
|
|
152
|
+
id=pulumi.get(__response__, 'id'),
|
|
153
|
+
object_id=pulumi.get(__response__, 'object_id'),
|
|
154
|
+
type=pulumi.get(__response__, 'type')))
|
|
@@ -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
|
|
|
@@ -33,23 +38,23 @@ class GetDirectoryRoleTemplatesResult:
|
|
|
33
38
|
raise TypeError("Expected argument 'role_templates' to be a list")
|
|
34
39
|
pulumi.set(__self__, "role_templates", role_templates)
|
|
35
40
|
|
|
36
|
-
@property
|
|
41
|
+
@_builtins.property
|
|
37
42
|
@pulumi.getter
|
|
38
|
-
def id(self) -> str:
|
|
43
|
+
def id(self) -> _builtins.str:
|
|
39
44
|
"""
|
|
40
45
|
The provider-assigned unique ID for this managed resource.
|
|
41
46
|
"""
|
|
42
47
|
return pulumi.get(self, "id")
|
|
43
48
|
|
|
44
|
-
@property
|
|
49
|
+
@_builtins.property
|
|
45
50
|
@pulumi.getter(name="objectIds")
|
|
46
|
-
def object_ids(self) -> Sequence[str]:
|
|
51
|
+
def object_ids(self) -> Sequence[_builtins.str]:
|
|
47
52
|
"""
|
|
48
53
|
The object IDs of the role templates.
|
|
49
54
|
"""
|
|
50
55
|
return pulumi.get(self, "object_ids")
|
|
51
56
|
|
|
52
|
-
@property
|
|
57
|
+
@_builtins.property
|
|
53
58
|
@pulumi.getter(name="roleTemplates")
|
|
54
59
|
def role_templates(self) -> Sequence['outputs.GetDirectoryRoleTemplatesRoleTemplateResult']:
|
|
55
60
|
"""
|
|
@@ -99,10 +104,7 @@ def get_directory_role_templates(opts: Optional[pulumi.InvokeOptions] = None) ->
|
|
|
99
104
|
id=pulumi.get(__ret__, 'id'),
|
|
100
105
|
object_ids=pulumi.get(__ret__, 'object_ids'),
|
|
101
106
|
role_templates=pulumi.get(__ret__, 'role_templates'))
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
@_utilities.lift_output_func(get_directory_role_templates)
|
|
105
|
-
def get_directory_role_templates_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDirectoryRoleTemplatesResult]:
|
|
107
|
+
def get_directory_role_templates_output(opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDirectoryRoleTemplatesResult]:
|
|
106
108
|
"""
|
|
107
109
|
Use this data source to access information about directory role templates within Azure Active Directory.
|
|
108
110
|
|
|
@@ -124,4 +126,10 @@ def get_directory_role_templates_output(opts: Optional[pulumi.InvokeOptions] = N
|
|
|
124
126
|
pulumi.export("roles", current.object_ids)
|
|
125
127
|
```
|
|
126
128
|
"""
|
|
127
|
-
|
|
129
|
+
__args__ = dict()
|
|
130
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
131
|
+
__ret__ = pulumi.runtime.invoke_output('azuread:index/getDirectoryRoleTemplates:getDirectoryRoleTemplates', __args__, opts=opts, typ=GetDirectoryRoleTemplatesResult)
|
|
132
|
+
return __ret__.apply(lambda __response__: GetDirectoryRoleTemplatesResult(
|
|
133
|
+
id=pulumi.get(__response__, 'id'),
|
|
134
|
+
object_ids=pulumi.get(__response__, 'object_ids'),
|
|
135
|
+
role_templates=pulumi.get(__response__, 'role_templates')))
|
|
@@ -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
|
|
|
@@ -36,23 +41,23 @@ class GetDirectoryRolesResult:
|
|
|
36
41
|
raise TypeError("Expected argument 'template_ids' to be a list")
|
|
37
42
|
pulumi.set(__self__, "template_ids", template_ids)
|
|
38
43
|
|
|
39
|
-
@property
|
|
44
|
+
@_builtins.property
|
|
40
45
|
@pulumi.getter
|
|
41
|
-
def id(self) -> str:
|
|
46
|
+
def id(self) -> _builtins.str:
|
|
42
47
|
"""
|
|
43
48
|
The provider-assigned unique ID for this managed resource.
|
|
44
49
|
"""
|
|
45
50
|
return pulumi.get(self, "id")
|
|
46
51
|
|
|
47
|
-
@property
|
|
52
|
+
@_builtins.property
|
|
48
53
|
@pulumi.getter(name="objectIds")
|
|
49
|
-
def object_ids(self) -> Sequence[str]:
|
|
54
|
+
def object_ids(self) -> Sequence[_builtins.str]:
|
|
50
55
|
"""
|
|
51
56
|
The object IDs of the roles.
|
|
52
57
|
"""
|
|
53
58
|
return pulumi.get(self, "object_ids")
|
|
54
59
|
|
|
55
|
-
@property
|
|
60
|
+
@_builtins.property
|
|
56
61
|
@pulumi.getter
|
|
57
62
|
def roles(self) -> Sequence['outputs.GetDirectoryRolesRoleResult']:
|
|
58
63
|
"""
|
|
@@ -60,9 +65,9 @@ class GetDirectoryRolesResult:
|
|
|
60
65
|
"""
|
|
61
66
|
return pulumi.get(self, "roles")
|
|
62
67
|
|
|
63
|
-
@property
|
|
68
|
+
@_builtins.property
|
|
64
69
|
@pulumi.getter(name="templateIds")
|
|
65
|
-
def template_ids(self) -> Sequence[str]:
|
|
70
|
+
def template_ids(self) -> Sequence[_builtins.str]:
|
|
66
71
|
"""
|
|
67
72
|
The template IDs of the roles.
|
|
68
73
|
"""
|
|
@@ -112,10 +117,7 @@ def get_directory_roles(opts: Optional[pulumi.InvokeOptions] = None) -> Awaitabl
|
|
|
112
117
|
object_ids=pulumi.get(__ret__, 'object_ids'),
|
|
113
118
|
roles=pulumi.get(__ret__, 'roles'),
|
|
114
119
|
template_ids=pulumi.get(__ret__, 'template_ids'))
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
@_utilities.lift_output_func(get_directory_roles)
|
|
118
|
-
def get_directory_roles_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDirectoryRolesResult]:
|
|
120
|
+
def get_directory_roles_output(opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDirectoryRolesResult]:
|
|
119
121
|
"""
|
|
120
122
|
Use this data source to access information about activated directory roles within Azure Active Directory.
|
|
121
123
|
|
|
@@ -137,4 +139,11 @@ def get_directory_roles_output(opts: Optional[pulumi.InvokeOptions] = None) -> p
|
|
|
137
139
|
pulumi.export("roles", current.object_ids)
|
|
138
140
|
```
|
|
139
141
|
"""
|
|
140
|
-
|
|
142
|
+
__args__ = dict()
|
|
143
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
144
|
+
__ret__ = pulumi.runtime.invoke_output('azuread:index/getDirectoryRoles:getDirectoryRoles', __args__, opts=opts, typ=GetDirectoryRolesResult)
|
|
145
|
+
return __ret__.apply(lambda __response__: GetDirectoryRolesResult(
|
|
146
|
+
id=pulumi.get(__response__, 'id'),
|
|
147
|
+
object_ids=pulumi.get(__response__, 'object_ids'),
|
|
148
|
+
roles=pulumi.get(__response__, 'roles'),
|
|
149
|
+
template_ids=pulumi.get(__response__, 'template_ids')))
|