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__ = [
|
|
@@ -41,43 +46,43 @@ class GetAccessPackageResult:
|
|
|
41
46
|
raise TypeError("Expected argument 'object_id' to be a str")
|
|
42
47
|
pulumi.set(__self__, "object_id", object_id)
|
|
43
48
|
|
|
44
|
-
@property
|
|
49
|
+
@_builtins.property
|
|
45
50
|
@pulumi.getter(name="catalogId")
|
|
46
|
-
def catalog_id(self) -> Optional[str]:
|
|
51
|
+
def catalog_id(self) -> Optional[_builtins.str]:
|
|
47
52
|
return pulumi.get(self, "catalog_id")
|
|
48
53
|
|
|
49
|
-
@property
|
|
54
|
+
@_builtins.property
|
|
50
55
|
@pulumi.getter
|
|
51
|
-
def description(self) -> str:
|
|
56
|
+
def description(self) -> _builtins.str:
|
|
52
57
|
"""
|
|
53
58
|
The description of the access package.
|
|
54
59
|
"""
|
|
55
60
|
return pulumi.get(self, "description")
|
|
56
61
|
|
|
57
|
-
@property
|
|
62
|
+
@_builtins.property
|
|
58
63
|
@pulumi.getter(name="displayName")
|
|
59
|
-
def display_name(self) -> str:
|
|
64
|
+
def display_name(self) -> _builtins.str:
|
|
60
65
|
return pulumi.get(self, "display_name")
|
|
61
66
|
|
|
62
|
-
@property
|
|
67
|
+
@_builtins.property
|
|
63
68
|
@pulumi.getter
|
|
64
|
-
def hidden(self) -> bool:
|
|
69
|
+
def hidden(self) -> _builtins.bool:
|
|
65
70
|
"""
|
|
66
71
|
Whether the access package is hidden from the requestor.
|
|
67
72
|
"""
|
|
68
73
|
return pulumi.get(self, "hidden")
|
|
69
74
|
|
|
70
|
-
@property
|
|
75
|
+
@_builtins.property
|
|
71
76
|
@pulumi.getter
|
|
72
|
-
def id(self) -> str:
|
|
77
|
+
def id(self) -> _builtins.str:
|
|
73
78
|
"""
|
|
74
79
|
The provider-assigned unique ID for this managed resource.
|
|
75
80
|
"""
|
|
76
81
|
return pulumi.get(self, "id")
|
|
77
82
|
|
|
78
|
-
@property
|
|
83
|
+
@_builtins.property
|
|
79
84
|
@pulumi.getter(name="objectId")
|
|
80
|
-
def object_id(self) -> str:
|
|
85
|
+
def object_id(self) -> _builtins.str:
|
|
81
86
|
return pulumi.get(self, "object_id")
|
|
82
87
|
|
|
83
88
|
|
|
@@ -95,9 +100,9 @@ class AwaitableGetAccessPackageResult(GetAccessPackageResult):
|
|
|
95
100
|
object_id=self.object_id)
|
|
96
101
|
|
|
97
102
|
|
|
98
|
-
def get_access_package(catalog_id: Optional[str] = None,
|
|
99
|
-
display_name: Optional[str] = None,
|
|
100
|
-
object_id: Optional[str] = None,
|
|
103
|
+
def get_access_package(catalog_id: Optional[_builtins.str] = None,
|
|
104
|
+
display_name: Optional[_builtins.str] = None,
|
|
105
|
+
object_id: Optional[_builtins.str] = None,
|
|
101
106
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAccessPackageResult:
|
|
102
107
|
"""
|
|
103
108
|
Use this data source to retrieve information for an existing access package within Identity Governance in Azure Active Directory.
|
|
@@ -132,9 +137,9 @@ def get_access_package(catalog_id: Optional[str] = None,
|
|
|
132
137
|
```
|
|
133
138
|
|
|
134
139
|
|
|
135
|
-
:param str catalog_id: The ID of the Catalog this access package is in.
|
|
136
|
-
:param str display_name: The display name of the access package.
|
|
137
|
-
:param str object_id: The ID of this access package.
|
|
140
|
+
:param _builtins.str catalog_id: The ID of the Catalog this access package is in.
|
|
141
|
+
:param _builtins.str display_name: The display name of the access package.
|
|
142
|
+
:param _builtins.str object_id: The ID of this access package.
|
|
138
143
|
|
|
139
144
|
> Either `object_id`, or both `catalog_id` and `display_name`, must be specified.
|
|
140
145
|
"""
|
|
@@ -152,13 +157,10 @@ def get_access_package(catalog_id: Optional[str] = None,
|
|
|
152
157
|
hidden=pulumi.get(__ret__, 'hidden'),
|
|
153
158
|
id=pulumi.get(__ret__, 'id'),
|
|
154
159
|
object_id=pulumi.get(__ret__, 'object_id'))
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
display_name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
160
|
-
object_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
161
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAccessPackageResult]:
|
|
160
|
+
def get_access_package_output(catalog_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
161
|
+
display_name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
162
|
+
object_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
163
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAccessPackageResult]:
|
|
162
164
|
"""
|
|
163
165
|
Use this data source to retrieve information for an existing access package within Identity Governance in Azure Active Directory.
|
|
164
166
|
|
|
@@ -192,10 +194,22 @@ def get_access_package_output(catalog_id: Optional[pulumi.Input[Optional[str]]]
|
|
|
192
194
|
```
|
|
193
195
|
|
|
194
196
|
|
|
195
|
-
:param str catalog_id: The ID of the Catalog this access package is in.
|
|
196
|
-
:param str display_name: The display name of the access package.
|
|
197
|
-
:param str object_id: The ID of this access package.
|
|
197
|
+
:param _builtins.str catalog_id: The ID of the Catalog this access package is in.
|
|
198
|
+
:param _builtins.str display_name: The display name of the access package.
|
|
199
|
+
:param _builtins.str object_id: The ID of this access package.
|
|
198
200
|
|
|
199
201
|
> Either `object_id`, or both `catalog_id` and `display_name`, must be specified.
|
|
200
202
|
"""
|
|
201
|
-
|
|
203
|
+
__args__ = dict()
|
|
204
|
+
__args__['catalogId'] = catalog_id
|
|
205
|
+
__args__['displayName'] = display_name
|
|
206
|
+
__args__['objectId'] = object_id
|
|
207
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
208
|
+
__ret__ = pulumi.runtime.invoke_output('azuread:index/getAccessPackage:getAccessPackage', __args__, opts=opts, typ=GetAccessPackageResult)
|
|
209
|
+
return __ret__.apply(lambda __response__: GetAccessPackageResult(
|
|
210
|
+
catalog_id=pulumi.get(__response__, 'catalog_id'),
|
|
211
|
+
description=pulumi.get(__response__, 'description'),
|
|
212
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
|
213
|
+
hidden=pulumi.get(__response__, 'hidden'),
|
|
214
|
+
id=pulumi.get(__response__, 'id'),
|
|
215
|
+
object_id=pulumi.get(__response__, 'object_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__ = [
|
|
@@ -41,43 +46,43 @@ class GetAccessPackageCatalogResult:
|
|
|
41
46
|
raise TypeError("Expected argument 'published' to be a bool")
|
|
42
47
|
pulumi.set(__self__, "published", published)
|
|
43
48
|
|
|
44
|
-
@property
|
|
49
|
+
@_builtins.property
|
|
45
50
|
@pulumi.getter
|
|
46
|
-
def description(self) -> str:
|
|
51
|
+
def description(self) -> _builtins.str:
|
|
47
52
|
"""
|
|
48
53
|
The description of the access package catalog.
|
|
49
54
|
"""
|
|
50
55
|
return pulumi.get(self, "description")
|
|
51
56
|
|
|
52
|
-
@property
|
|
57
|
+
@_builtins.property
|
|
53
58
|
@pulumi.getter(name="displayName")
|
|
54
|
-
def display_name(self) -> str:
|
|
59
|
+
def display_name(self) -> _builtins.str:
|
|
55
60
|
return pulumi.get(self, "display_name")
|
|
56
61
|
|
|
57
|
-
@property
|
|
62
|
+
@_builtins.property
|
|
58
63
|
@pulumi.getter(name="externallyVisible")
|
|
59
|
-
def externally_visible(self) -> bool:
|
|
64
|
+
def externally_visible(self) -> _builtins.bool:
|
|
60
65
|
"""
|
|
61
66
|
Whether the access packages in this catalog can be requested by users outside the tenant.
|
|
62
67
|
"""
|
|
63
68
|
return pulumi.get(self, "externally_visible")
|
|
64
69
|
|
|
65
|
-
@property
|
|
70
|
+
@_builtins.property
|
|
66
71
|
@pulumi.getter
|
|
67
|
-
def id(self) -> str:
|
|
72
|
+
def id(self) -> _builtins.str:
|
|
68
73
|
"""
|
|
69
74
|
The provider-assigned unique ID for this managed resource.
|
|
70
75
|
"""
|
|
71
76
|
return pulumi.get(self, "id")
|
|
72
77
|
|
|
73
|
-
@property
|
|
78
|
+
@_builtins.property
|
|
74
79
|
@pulumi.getter(name="objectId")
|
|
75
|
-
def object_id(self) -> str:
|
|
80
|
+
def object_id(self) -> _builtins.str:
|
|
76
81
|
return pulumi.get(self, "object_id")
|
|
77
82
|
|
|
78
|
-
@property
|
|
83
|
+
@_builtins.property
|
|
79
84
|
@pulumi.getter
|
|
80
|
-
def published(self) -> bool:
|
|
85
|
+
def published(self) -> _builtins.bool:
|
|
81
86
|
"""
|
|
82
87
|
Whether the access packages in this catalog are available for management.
|
|
83
88
|
"""
|
|
@@ -98,8 +103,8 @@ class AwaitableGetAccessPackageCatalogResult(GetAccessPackageCatalogResult):
|
|
|
98
103
|
published=self.published)
|
|
99
104
|
|
|
100
105
|
|
|
101
|
-
def get_access_package_catalog(display_name: Optional[str] = None,
|
|
102
|
-
object_id: Optional[str] = None,
|
|
106
|
+
def get_access_package_catalog(display_name: Optional[_builtins.str] = None,
|
|
107
|
+
object_id: Optional[_builtins.str] = None,
|
|
103
108
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAccessPackageCatalogResult:
|
|
104
109
|
"""
|
|
105
110
|
i
|
|
@@ -134,8 +139,8 @@ def get_access_package_catalog(display_name: Optional[str] = None,
|
|
|
134
139
|
```
|
|
135
140
|
|
|
136
141
|
|
|
137
|
-
:param str display_name: The display name of the access package catalog.
|
|
138
|
-
:param str object_id: The ID of this access package catalog.
|
|
142
|
+
:param _builtins.str display_name: The display name of the access package catalog.
|
|
143
|
+
:param _builtins.str object_id: The ID of this access package catalog.
|
|
139
144
|
|
|
140
145
|
> One of `display_name` or `object_id` must be specified.
|
|
141
146
|
"""
|
|
@@ -152,12 +157,9 @@ def get_access_package_catalog(display_name: Optional[str] = None,
|
|
|
152
157
|
id=pulumi.get(__ret__, 'id'),
|
|
153
158
|
object_id=pulumi.get(__ret__, 'object_id'),
|
|
154
159
|
published=pulumi.get(__ret__, 'published'))
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
def get_access_package_catalog_output(display_name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
159
|
-
object_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
160
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAccessPackageCatalogResult]:
|
|
160
|
+
def get_access_package_catalog_output(display_name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
161
|
+
object_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
162
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAccessPackageCatalogResult]:
|
|
161
163
|
"""
|
|
162
164
|
i
|
|
163
165
|
Use this resource to retrieve information for an existing access package catalog within Identity Governance in Azure Active Directory.
|
|
@@ -191,9 +193,20 @@ def get_access_package_catalog_output(display_name: Optional[pulumi.Input[Option
|
|
|
191
193
|
```
|
|
192
194
|
|
|
193
195
|
|
|
194
|
-
:param str display_name: The display name of the access package catalog.
|
|
195
|
-
:param str object_id: The ID of this access package catalog.
|
|
196
|
+
:param _builtins.str display_name: The display name of the access package catalog.
|
|
197
|
+
:param _builtins.str object_id: The ID of this access package catalog.
|
|
196
198
|
|
|
197
199
|
> One of `display_name` or `object_id` must be specified.
|
|
198
200
|
"""
|
|
199
|
-
|
|
201
|
+
__args__ = dict()
|
|
202
|
+
__args__['displayName'] = display_name
|
|
203
|
+
__args__['objectId'] = object_id
|
|
204
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
205
|
+
__ret__ = pulumi.runtime.invoke_output('azuread:index/getAccessPackageCatalog:getAccessPackageCatalog', __args__, opts=opts, typ=GetAccessPackageCatalogResult)
|
|
206
|
+
return __ret__.apply(lambda __response__: GetAccessPackageCatalogResult(
|
|
207
|
+
description=pulumi.get(__response__, 'description'),
|
|
208
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
|
209
|
+
externally_visible=pulumi.get(__response__, 'externally_visible'),
|
|
210
|
+
id=pulumi.get(__response__, 'id'),
|
|
211
|
+
object_id=pulumi.get(__response__, 'object_id'),
|
|
212
|
+
published=pulumi.get(__response__, 'published')))
|
|
@@ -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__ = [
|
|
@@ -38,41 +43,41 @@ class GetAccessPackageCatalogRoleResult:
|
|
|
38
43
|
raise TypeError("Expected argument 'template_id' to be a str")
|
|
39
44
|
pulumi.set(__self__, "template_id", template_id)
|
|
40
45
|
|
|
41
|
-
@property
|
|
46
|
+
@_builtins.property
|
|
42
47
|
@pulumi.getter
|
|
43
|
-
def description(self) -> str:
|
|
48
|
+
def description(self) -> _builtins.str:
|
|
44
49
|
"""
|
|
45
50
|
The description of the role.
|
|
46
51
|
"""
|
|
47
52
|
return pulumi.get(self, "description")
|
|
48
53
|
|
|
49
|
-
@property
|
|
54
|
+
@_builtins.property
|
|
50
55
|
@pulumi.getter(name="displayName")
|
|
51
|
-
def display_name(self) -> str:
|
|
56
|
+
def display_name(self) -> _builtins.str:
|
|
52
57
|
"""
|
|
53
58
|
The display name of the role.
|
|
54
59
|
"""
|
|
55
60
|
return pulumi.get(self, "display_name")
|
|
56
61
|
|
|
57
|
-
@property
|
|
62
|
+
@_builtins.property
|
|
58
63
|
@pulumi.getter
|
|
59
|
-
def id(self) -> str:
|
|
64
|
+
def id(self) -> _builtins.str:
|
|
60
65
|
"""
|
|
61
66
|
The provider-assigned unique ID for this managed resource.
|
|
62
67
|
"""
|
|
63
68
|
return pulumi.get(self, "id")
|
|
64
69
|
|
|
65
|
-
@property
|
|
70
|
+
@_builtins.property
|
|
66
71
|
@pulumi.getter(name="objectId")
|
|
67
|
-
def object_id(self) -> str:
|
|
72
|
+
def object_id(self) -> _builtins.str:
|
|
68
73
|
"""
|
|
69
74
|
The object ID of the role.
|
|
70
75
|
"""
|
|
71
76
|
return pulumi.get(self, "object_id")
|
|
72
77
|
|
|
73
|
-
@property
|
|
78
|
+
@_builtins.property
|
|
74
79
|
@pulumi.getter(name="templateId")
|
|
75
|
-
def template_id(self) -> str:
|
|
80
|
+
def template_id(self) -> _builtins.str:
|
|
76
81
|
"""
|
|
77
82
|
The object ID of the role.
|
|
78
83
|
"""
|
|
@@ -92,8 +97,8 @@ class AwaitableGetAccessPackageCatalogRoleResult(GetAccessPackageCatalogRoleResu
|
|
|
92
97
|
template_id=self.template_id)
|
|
93
98
|
|
|
94
99
|
|
|
95
|
-
def get_access_package_catalog_role(display_name: Optional[str] = None,
|
|
96
|
-
object_id: Optional[str] = None,
|
|
100
|
+
def get_access_package_catalog_role(display_name: Optional[_builtins.str] = None,
|
|
101
|
+
object_id: Optional[_builtins.str] = None,
|
|
97
102
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAccessPackageCatalogRoleResult:
|
|
98
103
|
"""
|
|
99
104
|
Gets information about an access package catalog role.
|
|
@@ -107,6 +112,7 @@ def get_access_package_catalog_role(display_name: Optional[str] = None,
|
|
|
107
112
|
When authenticated with a user principal, this data source does not require any additional roles.
|
|
108
113
|
|
|
109
114
|
## Example Usage
|
|
115
|
+
|
|
110
116
|
### By Group Display Name)
|
|
111
117
|
|
|
112
118
|
*Look up by display name*
|
|
@@ -126,8 +132,8 @@ def get_access_package_catalog_role(display_name: Optional[str] = None,
|
|
|
126
132
|
```
|
|
127
133
|
|
|
128
134
|
|
|
129
|
-
:param str display_name: Specifies the display name of the role.
|
|
130
|
-
:param str object_id: Specifies the object ID of the role.
|
|
135
|
+
:param _builtins.str display_name: Specifies the display name of the role.
|
|
136
|
+
:param _builtins.str object_id: Specifies the object ID of the role.
|
|
131
137
|
|
|
132
138
|
> One of `display_name` or `object_id` must be specified.
|
|
133
139
|
"""
|
|
@@ -143,12 +149,9 @@ def get_access_package_catalog_role(display_name: Optional[str] = None,
|
|
|
143
149
|
id=pulumi.get(__ret__, 'id'),
|
|
144
150
|
object_id=pulumi.get(__ret__, 'object_id'),
|
|
145
151
|
template_id=pulumi.get(__ret__, 'template_id'))
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
def get_access_package_catalog_role_output(display_name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
150
|
-
object_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
151
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAccessPackageCatalogRoleResult]:
|
|
152
|
+
def get_access_package_catalog_role_output(display_name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
153
|
+
object_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
154
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAccessPackageCatalogRoleResult]:
|
|
152
155
|
"""
|
|
153
156
|
Gets information about an access package catalog role.
|
|
154
157
|
|
|
@@ -161,6 +164,7 @@ def get_access_package_catalog_role_output(display_name: Optional[pulumi.Input[O
|
|
|
161
164
|
When authenticated with a user principal, this data source does not require any additional roles.
|
|
162
165
|
|
|
163
166
|
## Example Usage
|
|
167
|
+
|
|
164
168
|
### By Group Display Name)
|
|
165
169
|
|
|
166
170
|
*Look up by display name*
|
|
@@ -180,9 +184,19 @@ def get_access_package_catalog_role_output(display_name: Optional[pulumi.Input[O
|
|
|
180
184
|
```
|
|
181
185
|
|
|
182
186
|
|
|
183
|
-
:param str display_name: Specifies the display name of the role.
|
|
184
|
-
:param str object_id: Specifies the object ID of the role.
|
|
187
|
+
:param _builtins.str display_name: Specifies the display name of the role.
|
|
188
|
+
:param _builtins.str object_id: Specifies the object ID of the role.
|
|
185
189
|
|
|
186
190
|
> One of `display_name` or `object_id` must be specified.
|
|
187
191
|
"""
|
|
188
|
-
|
|
192
|
+
__args__ = dict()
|
|
193
|
+
__args__['displayName'] = display_name
|
|
194
|
+
__args__['objectId'] = object_id
|
|
195
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
196
|
+
__ret__ = pulumi.runtime.invoke_output('azuread:index/getAccessPackageCatalogRole:getAccessPackageCatalogRole', __args__, opts=opts, typ=GetAccessPackageCatalogRoleResult)
|
|
197
|
+
return __ret__.apply(lambda __response__: GetAccessPackageCatalogRoleResult(
|
|
198
|
+
description=pulumi.get(__response__, 'description'),
|
|
199
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
|
200
|
+
id=pulumi.get(__response__, 'id'),
|
|
201
|
+
object_id=pulumi.get(__response__, 'object_id'),
|
|
202
|
+
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__ = [
|
|
@@ -41,49 +46,49 @@ class GetAdministrativeUnitResult:
|
|
|
41
46
|
raise TypeError("Expected argument 'visibility' to be a str")
|
|
42
47
|
pulumi.set(__self__, "visibility", visibility)
|
|
43
48
|
|
|
44
|
-
@property
|
|
49
|
+
@_builtins.property
|
|
45
50
|
@pulumi.getter
|
|
46
|
-
def description(self) -> str:
|
|
51
|
+
def description(self) -> _builtins.str:
|
|
47
52
|
"""
|
|
48
53
|
The description of the administrative unit.
|
|
49
54
|
"""
|
|
50
55
|
return pulumi.get(self, "description")
|
|
51
56
|
|
|
52
|
-
@property
|
|
57
|
+
@_builtins.property
|
|
53
58
|
@pulumi.getter(name="displayName")
|
|
54
|
-
def display_name(self) -> str:
|
|
59
|
+
def display_name(self) -> _builtins.str:
|
|
55
60
|
"""
|
|
56
61
|
The display name of the administrative unit.
|
|
57
62
|
"""
|
|
58
63
|
return pulumi.get(self, "display_name")
|
|
59
64
|
|
|
60
|
-
@property
|
|
65
|
+
@_builtins.property
|
|
61
66
|
@pulumi.getter
|
|
62
|
-
def id(self) -> str:
|
|
67
|
+
def id(self) -> _builtins.str:
|
|
63
68
|
"""
|
|
64
69
|
The provider-assigned unique ID for this managed resource.
|
|
65
70
|
"""
|
|
66
71
|
return pulumi.get(self, "id")
|
|
67
72
|
|
|
68
|
-
@property
|
|
73
|
+
@_builtins.property
|
|
69
74
|
@pulumi.getter
|
|
70
|
-
def members(self) -> Sequence[str]:
|
|
75
|
+
def members(self) -> Sequence[_builtins.str]:
|
|
71
76
|
"""
|
|
72
77
|
A list of object IDs of members who are present in this administrative unit.
|
|
73
78
|
"""
|
|
74
79
|
return pulumi.get(self, "members")
|
|
75
80
|
|
|
76
|
-
@property
|
|
81
|
+
@_builtins.property
|
|
77
82
|
@pulumi.getter(name="objectId")
|
|
78
|
-
def object_id(self) -> str:
|
|
83
|
+
def object_id(self) -> _builtins.str:
|
|
79
84
|
"""
|
|
80
85
|
The object ID of the administrative unit.
|
|
81
86
|
"""
|
|
82
87
|
return pulumi.get(self, "object_id")
|
|
83
88
|
|
|
84
|
-
@property
|
|
89
|
+
@_builtins.property
|
|
85
90
|
@pulumi.getter
|
|
86
|
-
def visibility(self) -> str:
|
|
91
|
+
def visibility(self) -> _builtins.str:
|
|
87
92
|
"""
|
|
88
93
|
Whether the administrative unit _and_ its members are hidden or publicly viewable in the directory. One of: `Hiddenmembership` or `Public`.
|
|
89
94
|
"""
|
|
@@ -104,8 +109,8 @@ class AwaitableGetAdministrativeUnitResult(GetAdministrativeUnitResult):
|
|
|
104
109
|
visibility=self.visibility)
|
|
105
110
|
|
|
106
111
|
|
|
107
|
-
def get_administrative_unit(display_name: Optional[str] = None,
|
|
108
|
-
object_id: Optional[str] = None,
|
|
112
|
+
def get_administrative_unit(display_name: Optional[_builtins.str] = None,
|
|
113
|
+
object_id: Optional[_builtins.str] = None,
|
|
109
114
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAdministrativeUnitResult:
|
|
110
115
|
"""
|
|
111
116
|
Gets information about an adminisrative unit in Azure Active Directory.
|
|
@@ -119,6 +124,7 @@ def get_administrative_unit(display_name: Optional[str] = None,
|
|
|
119
124
|
When authenticated with a user principal, this data source does not require any additional roles.
|
|
120
125
|
|
|
121
126
|
## Example Usage
|
|
127
|
+
|
|
122
128
|
### By Group Display Name)
|
|
123
129
|
|
|
124
130
|
*Look up by display name*
|
|
@@ -138,8 +144,8 @@ def get_administrative_unit(display_name: Optional[str] = None,
|
|
|
138
144
|
```
|
|
139
145
|
|
|
140
146
|
|
|
141
|
-
:param str display_name: Specifies the display name of the administrative unit.
|
|
142
|
-
:param str object_id: Specifies the object ID of the administrative unit.
|
|
147
|
+
:param _builtins.str display_name: Specifies the display name of the administrative unit.
|
|
148
|
+
:param _builtins.str object_id: Specifies the object ID of the administrative unit.
|
|
143
149
|
|
|
144
150
|
> One of `display_name` or `object_id` must be specified.
|
|
145
151
|
"""
|
|
@@ -156,12 +162,9 @@ def get_administrative_unit(display_name: Optional[str] = None,
|
|
|
156
162
|
members=pulumi.get(__ret__, 'members'),
|
|
157
163
|
object_id=pulumi.get(__ret__, 'object_id'),
|
|
158
164
|
visibility=pulumi.get(__ret__, 'visibility'))
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
def get_administrative_unit_output(display_name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
163
|
-
object_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
164
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAdministrativeUnitResult]:
|
|
165
|
+
def get_administrative_unit_output(display_name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
166
|
+
object_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
167
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAdministrativeUnitResult]:
|
|
165
168
|
"""
|
|
166
169
|
Gets information about an adminisrative unit in Azure Active Directory.
|
|
167
170
|
|
|
@@ -174,6 +177,7 @@ def get_administrative_unit_output(display_name: Optional[pulumi.Input[Optional[
|
|
|
174
177
|
When authenticated with a user principal, this data source does not require any additional roles.
|
|
175
178
|
|
|
176
179
|
## Example Usage
|
|
180
|
+
|
|
177
181
|
### By Group Display Name)
|
|
178
182
|
|
|
179
183
|
*Look up by display name*
|
|
@@ -193,9 +197,20 @@ def get_administrative_unit_output(display_name: Optional[pulumi.Input[Optional[
|
|
|
193
197
|
```
|
|
194
198
|
|
|
195
199
|
|
|
196
|
-
:param str display_name: Specifies the display name of the administrative unit.
|
|
197
|
-
:param str object_id: Specifies the object ID of the administrative unit.
|
|
200
|
+
:param _builtins.str display_name: Specifies the display name of the administrative unit.
|
|
201
|
+
:param _builtins.str object_id: Specifies the object ID of the administrative unit.
|
|
198
202
|
|
|
199
203
|
> One of `display_name` or `object_id` must be specified.
|
|
200
204
|
"""
|
|
201
|
-
|
|
205
|
+
__args__ = dict()
|
|
206
|
+
__args__['displayName'] = display_name
|
|
207
|
+
__args__['objectId'] = object_id
|
|
208
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
209
|
+
__ret__ = pulumi.runtime.invoke_output('azuread:index/getAdministrativeUnit:getAdministrativeUnit', __args__, opts=opts, typ=GetAdministrativeUnitResult)
|
|
210
|
+
return __ret__.apply(lambda __response__: GetAdministrativeUnitResult(
|
|
211
|
+
description=pulumi.get(__response__, 'description'),
|
|
212
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
|
213
|
+
id=pulumi.get(__response__, 'id'),
|
|
214
|
+
members=pulumi.get(__response__, 'members'),
|
|
215
|
+
object_id=pulumi.get(__response__, 'object_id'),
|
|
216
|
+
visibility=pulumi.get(__response__, 'visibility')))
|