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__ = ['DirectoryRoleEligibilityScheduleRequestArgs', 'DirectoryRoleEligibilityScheduleRequest']
|
|
@@ -14,84 +19,84 @@ __all__ = ['DirectoryRoleEligibilityScheduleRequestArgs', 'DirectoryRoleEligibil
|
|
|
14
19
|
@pulumi.input_type
|
|
15
20
|
class DirectoryRoleEligibilityScheduleRequestArgs:
|
|
16
21
|
def __init__(__self__, *,
|
|
17
|
-
directory_scope_id: pulumi.Input[str],
|
|
18
|
-
justification: pulumi.Input[str],
|
|
19
|
-
principal_id: pulumi.Input[str],
|
|
20
|
-
role_definition_id: pulumi.Input[str]):
|
|
22
|
+
directory_scope_id: pulumi.Input[_builtins.str],
|
|
23
|
+
justification: pulumi.Input[_builtins.str],
|
|
24
|
+
principal_id: pulumi.Input[_builtins.str],
|
|
25
|
+
role_definition_id: pulumi.Input[_builtins.str]):
|
|
21
26
|
"""
|
|
22
27
|
The set of arguments for constructing a DirectoryRoleEligibilityScheduleRequest resource.
|
|
23
|
-
:param pulumi.Input[str] directory_scope_id: Identifier of the directory object representing the scope of the role eligibility. Changing this forces a new resource to be created.
|
|
24
|
-
:param pulumi.Input[str] justification: Justification for why the principal is granted the role eligibility. Changing this forces a new resource to be created.
|
|
25
|
-
:param pulumi.Input[str] principal_id: The object ID of the principal to granted the role eligibility. Changing this forces a new resource to be created.
|
|
26
|
-
:param pulumi.Input[str] role_definition_id: The template ID (in the case of built-in roles) or object ID (in the case of custom roles) of the directory role you want to assign. Changing this forces a new resource to be created.
|
|
28
|
+
:param pulumi.Input[_builtins.str] directory_scope_id: Identifier of the directory object representing the scope of the role eligibility. Changing this forces a new resource to be created.
|
|
29
|
+
:param pulumi.Input[_builtins.str] justification: Justification for why the principal is granted the role eligibility. Changing this forces a new resource to be created.
|
|
30
|
+
:param pulumi.Input[_builtins.str] principal_id: The object ID of the principal to granted the role eligibility. Changing this forces a new resource to be created.
|
|
31
|
+
:param pulumi.Input[_builtins.str] role_definition_id: The template ID (in the case of built-in roles) or object ID (in the case of custom roles) of the directory role you want to assign. Changing this forces a new resource to be created.
|
|
27
32
|
"""
|
|
28
33
|
pulumi.set(__self__, "directory_scope_id", directory_scope_id)
|
|
29
34
|
pulumi.set(__self__, "justification", justification)
|
|
30
35
|
pulumi.set(__self__, "principal_id", principal_id)
|
|
31
36
|
pulumi.set(__self__, "role_definition_id", role_definition_id)
|
|
32
37
|
|
|
33
|
-
@property
|
|
38
|
+
@_builtins.property
|
|
34
39
|
@pulumi.getter(name="directoryScopeId")
|
|
35
|
-
def directory_scope_id(self) -> pulumi.Input[str]:
|
|
40
|
+
def directory_scope_id(self) -> pulumi.Input[_builtins.str]:
|
|
36
41
|
"""
|
|
37
42
|
Identifier of the directory object representing the scope of the role eligibility. Changing this forces a new resource to be created.
|
|
38
43
|
"""
|
|
39
44
|
return pulumi.get(self, "directory_scope_id")
|
|
40
45
|
|
|
41
46
|
@directory_scope_id.setter
|
|
42
|
-
def directory_scope_id(self, value: pulumi.Input[str]):
|
|
47
|
+
def directory_scope_id(self, value: pulumi.Input[_builtins.str]):
|
|
43
48
|
pulumi.set(self, "directory_scope_id", value)
|
|
44
49
|
|
|
45
|
-
@property
|
|
50
|
+
@_builtins.property
|
|
46
51
|
@pulumi.getter
|
|
47
|
-
def justification(self) -> pulumi.Input[str]:
|
|
52
|
+
def justification(self) -> pulumi.Input[_builtins.str]:
|
|
48
53
|
"""
|
|
49
54
|
Justification for why the principal is granted the role eligibility. Changing this forces a new resource to be created.
|
|
50
55
|
"""
|
|
51
56
|
return pulumi.get(self, "justification")
|
|
52
57
|
|
|
53
58
|
@justification.setter
|
|
54
|
-
def justification(self, value: pulumi.Input[str]):
|
|
59
|
+
def justification(self, value: pulumi.Input[_builtins.str]):
|
|
55
60
|
pulumi.set(self, "justification", value)
|
|
56
61
|
|
|
57
|
-
@property
|
|
62
|
+
@_builtins.property
|
|
58
63
|
@pulumi.getter(name="principalId")
|
|
59
|
-
def principal_id(self) -> pulumi.Input[str]:
|
|
64
|
+
def principal_id(self) -> pulumi.Input[_builtins.str]:
|
|
60
65
|
"""
|
|
61
66
|
The object ID of the principal to granted the role eligibility. Changing this forces a new resource to be created.
|
|
62
67
|
"""
|
|
63
68
|
return pulumi.get(self, "principal_id")
|
|
64
69
|
|
|
65
70
|
@principal_id.setter
|
|
66
|
-
def principal_id(self, value: pulumi.Input[str]):
|
|
71
|
+
def principal_id(self, value: pulumi.Input[_builtins.str]):
|
|
67
72
|
pulumi.set(self, "principal_id", value)
|
|
68
73
|
|
|
69
|
-
@property
|
|
74
|
+
@_builtins.property
|
|
70
75
|
@pulumi.getter(name="roleDefinitionId")
|
|
71
|
-
def role_definition_id(self) -> pulumi.Input[str]:
|
|
76
|
+
def role_definition_id(self) -> pulumi.Input[_builtins.str]:
|
|
72
77
|
"""
|
|
73
78
|
The template ID (in the case of built-in roles) or object ID (in the case of custom roles) of the directory role you want to assign. Changing this forces a new resource to be created.
|
|
74
79
|
"""
|
|
75
80
|
return pulumi.get(self, "role_definition_id")
|
|
76
81
|
|
|
77
82
|
@role_definition_id.setter
|
|
78
|
-
def role_definition_id(self, value: pulumi.Input[str]):
|
|
83
|
+
def role_definition_id(self, value: pulumi.Input[_builtins.str]):
|
|
79
84
|
pulumi.set(self, "role_definition_id", value)
|
|
80
85
|
|
|
81
86
|
|
|
82
87
|
@pulumi.input_type
|
|
83
88
|
class _DirectoryRoleEligibilityScheduleRequestState:
|
|
84
89
|
def __init__(__self__, *,
|
|
85
|
-
directory_scope_id: Optional[pulumi.Input[str]] = None,
|
|
86
|
-
justification: Optional[pulumi.Input[str]] = None,
|
|
87
|
-
principal_id: Optional[pulumi.Input[str]] = None,
|
|
88
|
-
role_definition_id: Optional[pulumi.Input[str]] = None):
|
|
90
|
+
directory_scope_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
91
|
+
justification: Optional[pulumi.Input[_builtins.str]] = None,
|
|
92
|
+
principal_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
93
|
+
role_definition_id: Optional[pulumi.Input[_builtins.str]] = None):
|
|
89
94
|
"""
|
|
90
95
|
Input properties used for looking up and filtering DirectoryRoleEligibilityScheduleRequest resources.
|
|
91
|
-
:param pulumi.Input[str] directory_scope_id: Identifier of the directory object representing the scope of the role eligibility. Changing this forces a new resource to be created.
|
|
92
|
-
:param pulumi.Input[str] justification: Justification for why the principal is granted the role eligibility. Changing this forces a new resource to be created.
|
|
93
|
-
:param pulumi.Input[str] principal_id: The object ID of the principal to granted the role eligibility. Changing this forces a new resource to be created.
|
|
94
|
-
:param pulumi.Input[str] role_definition_id: The template ID (in the case of built-in roles) or object ID (in the case of custom roles) of the directory role you want to assign. Changing this forces a new resource to be created.
|
|
96
|
+
:param pulumi.Input[_builtins.str] directory_scope_id: Identifier of the directory object representing the scope of the role eligibility. Changing this forces a new resource to be created.
|
|
97
|
+
:param pulumi.Input[_builtins.str] justification: Justification for why the principal is granted the role eligibility. Changing this forces a new resource to be created.
|
|
98
|
+
:param pulumi.Input[_builtins.str] principal_id: The object ID of the principal to granted the role eligibility. Changing this forces a new resource to be created.
|
|
99
|
+
:param pulumi.Input[_builtins.str] role_definition_id: The template ID (in the case of built-in roles) or object ID (in the case of custom roles) of the directory role you want to assign. Changing this forces a new resource to be created.
|
|
95
100
|
"""
|
|
96
101
|
if directory_scope_id is not None:
|
|
97
102
|
pulumi.set(__self__, "directory_scope_id", directory_scope_id)
|
|
@@ -102,64 +107,65 @@ class _DirectoryRoleEligibilityScheduleRequestState:
|
|
|
102
107
|
if role_definition_id is not None:
|
|
103
108
|
pulumi.set(__self__, "role_definition_id", role_definition_id)
|
|
104
109
|
|
|
105
|
-
@property
|
|
110
|
+
@_builtins.property
|
|
106
111
|
@pulumi.getter(name="directoryScopeId")
|
|
107
|
-
def directory_scope_id(self) -> Optional[pulumi.Input[str]]:
|
|
112
|
+
def directory_scope_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
108
113
|
"""
|
|
109
114
|
Identifier of the directory object representing the scope of the role eligibility. Changing this forces a new resource to be created.
|
|
110
115
|
"""
|
|
111
116
|
return pulumi.get(self, "directory_scope_id")
|
|
112
117
|
|
|
113
118
|
@directory_scope_id.setter
|
|
114
|
-
def directory_scope_id(self, value: Optional[pulumi.Input[str]]):
|
|
119
|
+
def directory_scope_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
115
120
|
pulumi.set(self, "directory_scope_id", value)
|
|
116
121
|
|
|
117
|
-
@property
|
|
122
|
+
@_builtins.property
|
|
118
123
|
@pulumi.getter
|
|
119
|
-
def justification(self) -> Optional[pulumi.Input[str]]:
|
|
124
|
+
def justification(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
120
125
|
"""
|
|
121
126
|
Justification for why the principal is granted the role eligibility. Changing this forces a new resource to be created.
|
|
122
127
|
"""
|
|
123
128
|
return pulumi.get(self, "justification")
|
|
124
129
|
|
|
125
130
|
@justification.setter
|
|
126
|
-
def justification(self, value: Optional[pulumi.Input[str]]):
|
|
131
|
+
def justification(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
127
132
|
pulumi.set(self, "justification", value)
|
|
128
133
|
|
|
129
|
-
@property
|
|
134
|
+
@_builtins.property
|
|
130
135
|
@pulumi.getter(name="principalId")
|
|
131
|
-
def principal_id(self) -> Optional[pulumi.Input[str]]:
|
|
136
|
+
def principal_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
132
137
|
"""
|
|
133
138
|
The object ID of the principal to granted the role eligibility. Changing this forces a new resource to be created.
|
|
134
139
|
"""
|
|
135
140
|
return pulumi.get(self, "principal_id")
|
|
136
141
|
|
|
137
142
|
@principal_id.setter
|
|
138
|
-
def principal_id(self, value: Optional[pulumi.Input[str]]):
|
|
143
|
+
def principal_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
139
144
|
pulumi.set(self, "principal_id", value)
|
|
140
145
|
|
|
141
|
-
@property
|
|
146
|
+
@_builtins.property
|
|
142
147
|
@pulumi.getter(name="roleDefinitionId")
|
|
143
|
-
def role_definition_id(self) -> Optional[pulumi.Input[str]]:
|
|
148
|
+
def role_definition_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
144
149
|
"""
|
|
145
150
|
The template ID (in the case of built-in roles) or object ID (in the case of custom roles) of the directory role you want to assign. Changing this forces a new resource to be created.
|
|
146
151
|
"""
|
|
147
152
|
return pulumi.get(self, "role_definition_id")
|
|
148
153
|
|
|
149
154
|
@role_definition_id.setter
|
|
150
|
-
def role_definition_id(self, value: Optional[pulumi.Input[str]]):
|
|
155
|
+
def role_definition_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
151
156
|
pulumi.set(self, "role_definition_id", value)
|
|
152
157
|
|
|
153
158
|
|
|
159
|
+
@pulumi.type_token("azuread:index/directoryRoleEligibilityScheduleRequest:DirectoryRoleEligibilityScheduleRequest")
|
|
154
160
|
class DirectoryRoleEligibilityScheduleRequest(pulumi.CustomResource):
|
|
155
161
|
@overload
|
|
156
162
|
def __init__(__self__,
|
|
157
163
|
resource_name: str,
|
|
158
164
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
159
|
-
directory_scope_id: Optional[pulumi.Input[str]] = None,
|
|
160
|
-
justification: Optional[pulumi.Input[str]] = None,
|
|
161
|
-
principal_id: Optional[pulumi.Input[str]] = None,
|
|
162
|
-
role_definition_id: Optional[pulumi.Input[str]] = None,
|
|
165
|
+
directory_scope_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
166
|
+
justification: Optional[pulumi.Input[_builtins.str]] = None,
|
|
167
|
+
principal_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
168
|
+
role_definition_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
163
169
|
__props__=None):
|
|
164
170
|
"""
|
|
165
171
|
Manages a single directory role eligibility schedule request within Azure Active Directory.
|
|
@@ -178,11 +184,11 @@ class DirectoryRoleEligibilityScheduleRequest(pulumi.CustomResource):
|
|
|
178
184
|
import pulumi
|
|
179
185
|
import pulumi_azuread as azuread
|
|
180
186
|
|
|
181
|
-
|
|
182
|
-
example_directory_role = azuread.DirectoryRole("
|
|
183
|
-
example_directory_role_eligibility_schedule_request = azuread.DirectoryRoleEligibilityScheduleRequest("
|
|
187
|
+
example = azuread.get_user(user_principal_name="jdoe@example.com")
|
|
188
|
+
example_directory_role = azuread.DirectoryRole("example", display_name="Application Administrator")
|
|
189
|
+
example_directory_role_eligibility_schedule_request = azuread.DirectoryRoleEligibilityScheduleRequest("example",
|
|
184
190
|
role_definition_id=example_directory_role.template_id,
|
|
185
|
-
principal_id=
|
|
191
|
+
principal_id=example.object_id,
|
|
186
192
|
directory_scope_id="/",
|
|
187
193
|
justification="Example")
|
|
188
194
|
```
|
|
@@ -194,15 +200,15 @@ class DirectoryRoleEligibilityScheduleRequest(pulumi.CustomResource):
|
|
|
194
200
|
Directory role eligibility schedule requests can be imported using the ID of the assignment, e.g.
|
|
195
201
|
|
|
196
202
|
```sh
|
|
197
|
-
|
|
203
|
+
$ pulumi import azuread:index/directoryRoleEligibilityScheduleRequest:DirectoryRoleEligibilityScheduleRequest example 822ec710-4c9f-4f71-a27a-451759cc7522
|
|
198
204
|
```
|
|
199
205
|
|
|
200
206
|
:param str resource_name: The name of the resource.
|
|
201
207
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
202
|
-
:param pulumi.Input[str] directory_scope_id: Identifier of the directory object representing the scope of the role eligibility. Changing this forces a new resource to be created.
|
|
203
|
-
:param pulumi.Input[str] justification: Justification for why the principal is granted the role eligibility. Changing this forces a new resource to be created.
|
|
204
|
-
:param pulumi.Input[str] principal_id: The object ID of the principal to granted the role eligibility. Changing this forces a new resource to be created.
|
|
205
|
-
:param pulumi.Input[str] role_definition_id: The template ID (in the case of built-in roles) or object ID (in the case of custom roles) of the directory role you want to assign. Changing this forces a new resource to be created.
|
|
208
|
+
:param pulumi.Input[_builtins.str] directory_scope_id: Identifier of the directory object representing the scope of the role eligibility. Changing this forces a new resource to be created.
|
|
209
|
+
:param pulumi.Input[_builtins.str] justification: Justification for why the principal is granted the role eligibility. Changing this forces a new resource to be created.
|
|
210
|
+
:param pulumi.Input[_builtins.str] principal_id: The object ID of the principal to granted the role eligibility. Changing this forces a new resource to be created.
|
|
211
|
+
:param pulumi.Input[_builtins.str] role_definition_id: The template ID (in the case of built-in roles) or object ID (in the case of custom roles) of the directory role you want to assign. Changing this forces a new resource to be created.
|
|
206
212
|
"""
|
|
207
213
|
...
|
|
208
214
|
@overload
|
|
@@ -227,11 +233,11 @@ class DirectoryRoleEligibilityScheduleRequest(pulumi.CustomResource):
|
|
|
227
233
|
import pulumi
|
|
228
234
|
import pulumi_azuread as azuread
|
|
229
235
|
|
|
230
|
-
|
|
231
|
-
example_directory_role = azuread.DirectoryRole("
|
|
232
|
-
example_directory_role_eligibility_schedule_request = azuread.DirectoryRoleEligibilityScheduleRequest("
|
|
236
|
+
example = azuread.get_user(user_principal_name="jdoe@example.com")
|
|
237
|
+
example_directory_role = azuread.DirectoryRole("example", display_name="Application Administrator")
|
|
238
|
+
example_directory_role_eligibility_schedule_request = azuread.DirectoryRoleEligibilityScheduleRequest("example",
|
|
233
239
|
role_definition_id=example_directory_role.template_id,
|
|
234
|
-
principal_id=
|
|
240
|
+
principal_id=example.object_id,
|
|
235
241
|
directory_scope_id="/",
|
|
236
242
|
justification="Example")
|
|
237
243
|
```
|
|
@@ -243,7 +249,7 @@ class DirectoryRoleEligibilityScheduleRequest(pulumi.CustomResource):
|
|
|
243
249
|
Directory role eligibility schedule requests can be imported using the ID of the assignment, e.g.
|
|
244
250
|
|
|
245
251
|
```sh
|
|
246
|
-
|
|
252
|
+
$ pulumi import azuread:index/directoryRoleEligibilityScheduleRequest:DirectoryRoleEligibilityScheduleRequest example 822ec710-4c9f-4f71-a27a-451759cc7522
|
|
247
253
|
```
|
|
248
254
|
|
|
249
255
|
:param str resource_name: The name of the resource.
|
|
@@ -261,10 +267,10 @@ class DirectoryRoleEligibilityScheduleRequest(pulumi.CustomResource):
|
|
|
261
267
|
def _internal_init(__self__,
|
|
262
268
|
resource_name: str,
|
|
263
269
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
264
|
-
directory_scope_id: Optional[pulumi.Input[str]] = None,
|
|
265
|
-
justification: Optional[pulumi.Input[str]] = None,
|
|
266
|
-
principal_id: Optional[pulumi.Input[str]] = None,
|
|
267
|
-
role_definition_id: Optional[pulumi.Input[str]] = None,
|
|
270
|
+
directory_scope_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
271
|
+
justification: Optional[pulumi.Input[_builtins.str]] = None,
|
|
272
|
+
principal_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
273
|
+
role_definition_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
268
274
|
__props__=None):
|
|
269
275
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
270
276
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -296,10 +302,10 @@ class DirectoryRoleEligibilityScheduleRequest(pulumi.CustomResource):
|
|
|
296
302
|
def get(resource_name: str,
|
|
297
303
|
id: pulumi.Input[str],
|
|
298
304
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
299
|
-
directory_scope_id: Optional[pulumi.Input[str]] = None,
|
|
300
|
-
justification: Optional[pulumi.Input[str]] = None,
|
|
301
|
-
principal_id: Optional[pulumi.Input[str]] = None,
|
|
302
|
-
role_definition_id: Optional[pulumi.Input[str]] = None) -> 'DirectoryRoleEligibilityScheduleRequest':
|
|
305
|
+
directory_scope_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
306
|
+
justification: Optional[pulumi.Input[_builtins.str]] = None,
|
|
307
|
+
principal_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
308
|
+
role_definition_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'DirectoryRoleEligibilityScheduleRequest':
|
|
303
309
|
"""
|
|
304
310
|
Get an existing DirectoryRoleEligibilityScheduleRequest resource's state with the given name, id, and optional extra
|
|
305
311
|
properties used to qualify the lookup.
|
|
@@ -307,10 +313,10 @@ class DirectoryRoleEligibilityScheduleRequest(pulumi.CustomResource):
|
|
|
307
313
|
:param str resource_name: The unique name of the resulting resource.
|
|
308
314
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
309
315
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
310
|
-
:param pulumi.Input[str] directory_scope_id: Identifier of the directory object representing the scope of the role eligibility. Changing this forces a new resource to be created.
|
|
311
|
-
:param pulumi.Input[str] justification: Justification for why the principal is granted the role eligibility. Changing this forces a new resource to be created.
|
|
312
|
-
:param pulumi.Input[str] principal_id: The object ID of the principal to granted the role eligibility. Changing this forces a new resource to be created.
|
|
313
|
-
:param pulumi.Input[str] role_definition_id: The template ID (in the case of built-in roles) or object ID (in the case of custom roles) of the directory role you want to assign. Changing this forces a new resource to be created.
|
|
316
|
+
:param pulumi.Input[_builtins.str] directory_scope_id: Identifier of the directory object representing the scope of the role eligibility. Changing this forces a new resource to be created.
|
|
317
|
+
:param pulumi.Input[_builtins.str] justification: Justification for why the principal is granted the role eligibility. Changing this forces a new resource to be created.
|
|
318
|
+
:param pulumi.Input[_builtins.str] principal_id: The object ID of the principal to granted the role eligibility. Changing this forces a new resource to be created.
|
|
319
|
+
:param pulumi.Input[_builtins.str] role_definition_id: The template ID (in the case of built-in roles) or object ID (in the case of custom roles) of the directory role you want to assign. Changing this forces a new resource to be created.
|
|
314
320
|
"""
|
|
315
321
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
316
322
|
|
|
@@ -322,33 +328,33 @@ class DirectoryRoleEligibilityScheduleRequest(pulumi.CustomResource):
|
|
|
322
328
|
__props__.__dict__["role_definition_id"] = role_definition_id
|
|
323
329
|
return DirectoryRoleEligibilityScheduleRequest(resource_name, opts=opts, __props__=__props__)
|
|
324
330
|
|
|
325
|
-
@property
|
|
331
|
+
@_builtins.property
|
|
326
332
|
@pulumi.getter(name="directoryScopeId")
|
|
327
|
-
def directory_scope_id(self) -> pulumi.Output[str]:
|
|
333
|
+
def directory_scope_id(self) -> pulumi.Output[_builtins.str]:
|
|
328
334
|
"""
|
|
329
335
|
Identifier of the directory object representing the scope of the role eligibility. Changing this forces a new resource to be created.
|
|
330
336
|
"""
|
|
331
337
|
return pulumi.get(self, "directory_scope_id")
|
|
332
338
|
|
|
333
|
-
@property
|
|
339
|
+
@_builtins.property
|
|
334
340
|
@pulumi.getter
|
|
335
|
-
def justification(self) -> pulumi.Output[str]:
|
|
341
|
+
def justification(self) -> pulumi.Output[_builtins.str]:
|
|
336
342
|
"""
|
|
337
343
|
Justification for why the principal is granted the role eligibility. Changing this forces a new resource to be created.
|
|
338
344
|
"""
|
|
339
345
|
return pulumi.get(self, "justification")
|
|
340
346
|
|
|
341
|
-
@property
|
|
347
|
+
@_builtins.property
|
|
342
348
|
@pulumi.getter(name="principalId")
|
|
343
|
-
def principal_id(self) -> pulumi.Output[str]:
|
|
349
|
+
def principal_id(self) -> pulumi.Output[_builtins.str]:
|
|
344
350
|
"""
|
|
345
351
|
The object ID of the principal to granted the role eligibility. Changing this forces a new resource to be created.
|
|
346
352
|
"""
|
|
347
353
|
return pulumi.get(self, "principal_id")
|
|
348
354
|
|
|
349
|
-
@property
|
|
355
|
+
@_builtins.property
|
|
350
356
|
@pulumi.getter(name="roleDefinitionId")
|
|
351
|
-
def role_definition_id(self) -> pulumi.Output[str]:
|
|
357
|
+
def role_definition_id(self) -> pulumi.Output[_builtins.str]:
|
|
352
358
|
"""
|
|
353
359
|
The template ID (in the case of built-in roles) or object ID (in the case of custom roles) of the directory role you want to assign. Changing this forces a new resource to be created.
|
|
354
360
|
"""
|
|
@@ -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__ = ['DirectoryRoleMemberArgs', 'DirectoryRoleMember']
|
|
@@ -14,90 +19,91 @@ __all__ = ['DirectoryRoleMemberArgs', 'DirectoryRoleMember']
|
|
|
14
19
|
@pulumi.input_type
|
|
15
20
|
class DirectoryRoleMemberArgs:
|
|
16
21
|
def __init__(__self__, *,
|
|
17
|
-
member_object_id: Optional[pulumi.Input[str]] = None,
|
|
18
|
-
role_object_id: Optional[pulumi.Input[str]] = None):
|
|
22
|
+
member_object_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
23
|
+
role_object_id: Optional[pulumi.Input[_builtins.str]] = None):
|
|
19
24
|
"""
|
|
20
25
|
The set of arguments for constructing a DirectoryRoleMember resource.
|
|
21
|
-
:param pulumi.Input[str] member_object_id: The object ID of the principal you want to add as a member to the directory role. Supported object types are Users, Groups or Service Principals. Changing this forces a new resource to be created.
|
|
22
|
-
:param pulumi.Input[str] role_object_id: The object ID of the directory role you want to add the member to. Changing this forces a new resource to be created.
|
|
26
|
+
:param pulumi.Input[_builtins.str] member_object_id: The object ID of the principal you want to add as a member to the directory role. Supported object types are Users, Groups or Service Principals. Changing this forces a new resource to be created.
|
|
27
|
+
:param pulumi.Input[_builtins.str] role_object_id: The object ID of the directory role you want to add the member to. Changing this forces a new resource to be created.
|
|
23
28
|
"""
|
|
24
29
|
if member_object_id is not None:
|
|
25
30
|
pulumi.set(__self__, "member_object_id", member_object_id)
|
|
26
31
|
if role_object_id is not None:
|
|
27
32
|
pulumi.set(__self__, "role_object_id", role_object_id)
|
|
28
33
|
|
|
29
|
-
@property
|
|
34
|
+
@_builtins.property
|
|
30
35
|
@pulumi.getter(name="memberObjectId")
|
|
31
|
-
def member_object_id(self) -> Optional[pulumi.Input[str]]:
|
|
36
|
+
def member_object_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
32
37
|
"""
|
|
33
38
|
The object ID of the principal you want to add as a member to the directory role. Supported object types are Users, Groups or Service Principals. Changing this forces a new resource to be created.
|
|
34
39
|
"""
|
|
35
40
|
return pulumi.get(self, "member_object_id")
|
|
36
41
|
|
|
37
42
|
@member_object_id.setter
|
|
38
|
-
def member_object_id(self, value: Optional[pulumi.Input[str]]):
|
|
43
|
+
def member_object_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
39
44
|
pulumi.set(self, "member_object_id", value)
|
|
40
45
|
|
|
41
|
-
@property
|
|
46
|
+
@_builtins.property
|
|
42
47
|
@pulumi.getter(name="roleObjectId")
|
|
43
|
-
def role_object_id(self) -> Optional[pulumi.Input[str]]:
|
|
48
|
+
def role_object_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
44
49
|
"""
|
|
45
50
|
The object ID of the directory role you want to add the member to. Changing this forces a new resource to be created.
|
|
46
51
|
"""
|
|
47
52
|
return pulumi.get(self, "role_object_id")
|
|
48
53
|
|
|
49
54
|
@role_object_id.setter
|
|
50
|
-
def role_object_id(self, value: Optional[pulumi.Input[str]]):
|
|
55
|
+
def role_object_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
51
56
|
pulumi.set(self, "role_object_id", value)
|
|
52
57
|
|
|
53
58
|
|
|
54
59
|
@pulumi.input_type
|
|
55
60
|
class _DirectoryRoleMemberState:
|
|
56
61
|
def __init__(__self__, *,
|
|
57
|
-
member_object_id: Optional[pulumi.Input[str]] = None,
|
|
58
|
-
role_object_id: Optional[pulumi.Input[str]] = None):
|
|
62
|
+
member_object_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
63
|
+
role_object_id: Optional[pulumi.Input[_builtins.str]] = None):
|
|
59
64
|
"""
|
|
60
65
|
Input properties used for looking up and filtering DirectoryRoleMember resources.
|
|
61
|
-
:param pulumi.Input[str] member_object_id: The object ID of the principal you want to add as a member to the directory role. Supported object types are Users, Groups or Service Principals. Changing this forces a new resource to be created.
|
|
62
|
-
:param pulumi.Input[str] role_object_id: The object ID of the directory role you want to add the member to. Changing this forces a new resource to be created.
|
|
66
|
+
:param pulumi.Input[_builtins.str] member_object_id: The object ID of the principal you want to add as a member to the directory role. Supported object types are Users, Groups or Service Principals. Changing this forces a new resource to be created.
|
|
67
|
+
:param pulumi.Input[_builtins.str] role_object_id: The object ID of the directory role you want to add the member to. Changing this forces a new resource to be created.
|
|
63
68
|
"""
|
|
64
69
|
if member_object_id is not None:
|
|
65
70
|
pulumi.set(__self__, "member_object_id", member_object_id)
|
|
66
71
|
if role_object_id is not None:
|
|
67
72
|
pulumi.set(__self__, "role_object_id", role_object_id)
|
|
68
73
|
|
|
69
|
-
@property
|
|
74
|
+
@_builtins.property
|
|
70
75
|
@pulumi.getter(name="memberObjectId")
|
|
71
|
-
def member_object_id(self) -> Optional[pulumi.Input[str]]:
|
|
76
|
+
def member_object_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
72
77
|
"""
|
|
73
78
|
The object ID of the principal you want to add as a member to the directory role. Supported object types are Users, Groups or Service Principals. Changing this forces a new resource to be created.
|
|
74
79
|
"""
|
|
75
80
|
return pulumi.get(self, "member_object_id")
|
|
76
81
|
|
|
77
82
|
@member_object_id.setter
|
|
78
|
-
def member_object_id(self, value: Optional[pulumi.Input[str]]):
|
|
83
|
+
def member_object_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
79
84
|
pulumi.set(self, "member_object_id", value)
|
|
80
85
|
|
|
81
|
-
@property
|
|
86
|
+
@_builtins.property
|
|
82
87
|
@pulumi.getter(name="roleObjectId")
|
|
83
|
-
def role_object_id(self) -> Optional[pulumi.Input[str]]:
|
|
88
|
+
def role_object_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
84
89
|
"""
|
|
85
90
|
The object ID of the directory role you want to add the member to. Changing this forces a new resource to be created.
|
|
86
91
|
"""
|
|
87
92
|
return pulumi.get(self, "role_object_id")
|
|
88
93
|
|
|
89
94
|
@role_object_id.setter
|
|
90
|
-
def role_object_id(self, value: Optional[pulumi.Input[str]]):
|
|
95
|
+
def role_object_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
91
96
|
pulumi.set(self, "role_object_id", value)
|
|
92
97
|
|
|
93
98
|
|
|
99
|
+
@pulumi.type_token("azuread:index/directoryRoleMember:DirectoryRoleMember")
|
|
94
100
|
class DirectoryRoleMember(pulumi.CustomResource):
|
|
95
101
|
@overload
|
|
96
102
|
def __init__(__self__,
|
|
97
103
|
resource_name: str,
|
|
98
104
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
99
|
-
member_object_id: Optional[pulumi.Input[str]] = None,
|
|
100
|
-
role_object_id: Optional[pulumi.Input[str]] = None,
|
|
105
|
+
member_object_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
106
|
+
role_object_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
101
107
|
__props__=None):
|
|
102
108
|
"""
|
|
103
109
|
Manages a single directory role membership (assignment) within Azure Active Directory.
|
|
@@ -118,11 +124,11 @@ class DirectoryRoleMember(pulumi.CustomResource):
|
|
|
118
124
|
import pulumi
|
|
119
125
|
import pulumi_azuread as azuread
|
|
120
126
|
|
|
121
|
-
|
|
122
|
-
example_directory_role = azuread.DirectoryRole("
|
|
123
|
-
example_directory_role_member = azuread.DirectoryRoleMember("
|
|
127
|
+
example = azuread.get_user(user_principal_name="jdoe@example.com")
|
|
128
|
+
example_directory_role = azuread.DirectoryRole("example", display_name="Security administrator")
|
|
129
|
+
example_directory_role_member = azuread.DirectoryRoleMember("example",
|
|
124
130
|
role_object_id=example_directory_role.object_id,
|
|
125
|
-
member_object_id=
|
|
131
|
+
member_object_id=example.object_id)
|
|
126
132
|
```
|
|
127
133
|
|
|
128
134
|
## Import
|
|
@@ -130,15 +136,15 @@ class DirectoryRoleMember(pulumi.CustomResource):
|
|
|
130
136
|
Directory role members can be imported using the object ID of the role and the object ID of the member, e.g.
|
|
131
137
|
|
|
132
138
|
```sh
|
|
133
|
-
|
|
139
|
+
$ pulumi import azuread:index/directoryRoleMember:DirectoryRoleMember example 00000000-0000-0000-0000-000000000000/member/11111111-1111-1111-1111-111111111111
|
|
134
140
|
```
|
|
135
141
|
|
|
136
|
-
|
|
142
|
+
-> This ID format is unique to Terraform and is composed of the Directory Role Object ID and the target Member Object ID in the format `{RoleObjectID}/member/{MemberObjectID}`.
|
|
137
143
|
|
|
138
144
|
:param str resource_name: The name of the resource.
|
|
139
145
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
140
|
-
:param pulumi.Input[str] member_object_id: The object ID of the principal you want to add as a member to the directory role. Supported object types are Users, Groups or Service Principals. Changing this forces a new resource to be created.
|
|
141
|
-
:param pulumi.Input[str] role_object_id: The object ID of the directory role you want to add the member to. Changing this forces a new resource to be created.
|
|
146
|
+
:param pulumi.Input[_builtins.str] member_object_id: The object ID of the principal you want to add as a member to the directory role. Supported object types are Users, Groups or Service Principals. Changing this forces a new resource to be created.
|
|
147
|
+
:param pulumi.Input[_builtins.str] role_object_id: The object ID of the directory role you want to add the member to. Changing this forces a new resource to be created.
|
|
142
148
|
"""
|
|
143
149
|
...
|
|
144
150
|
@overload
|
|
@@ -165,11 +171,11 @@ class DirectoryRoleMember(pulumi.CustomResource):
|
|
|
165
171
|
import pulumi
|
|
166
172
|
import pulumi_azuread as azuread
|
|
167
173
|
|
|
168
|
-
|
|
169
|
-
example_directory_role = azuread.DirectoryRole("
|
|
170
|
-
example_directory_role_member = azuread.DirectoryRoleMember("
|
|
174
|
+
example = azuread.get_user(user_principal_name="jdoe@example.com")
|
|
175
|
+
example_directory_role = azuread.DirectoryRole("example", display_name="Security administrator")
|
|
176
|
+
example_directory_role_member = azuread.DirectoryRoleMember("example",
|
|
171
177
|
role_object_id=example_directory_role.object_id,
|
|
172
|
-
member_object_id=
|
|
178
|
+
member_object_id=example.object_id)
|
|
173
179
|
```
|
|
174
180
|
|
|
175
181
|
## Import
|
|
@@ -177,10 +183,10 @@ class DirectoryRoleMember(pulumi.CustomResource):
|
|
|
177
183
|
Directory role members can be imported using the object ID of the role and the object ID of the member, e.g.
|
|
178
184
|
|
|
179
185
|
```sh
|
|
180
|
-
|
|
186
|
+
$ pulumi import azuread:index/directoryRoleMember:DirectoryRoleMember example 00000000-0000-0000-0000-000000000000/member/11111111-1111-1111-1111-111111111111
|
|
181
187
|
```
|
|
182
188
|
|
|
183
|
-
|
|
189
|
+
-> This ID format is unique to Terraform and is composed of the Directory Role Object ID and the target Member Object ID in the format `{RoleObjectID}/member/{MemberObjectID}`.
|
|
184
190
|
|
|
185
191
|
:param str resource_name: The name of the resource.
|
|
186
192
|
:param DirectoryRoleMemberArgs args: The arguments to use to populate this resource's properties.
|
|
@@ -197,8 +203,8 @@ class DirectoryRoleMember(pulumi.CustomResource):
|
|
|
197
203
|
def _internal_init(__self__,
|
|
198
204
|
resource_name: str,
|
|
199
205
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
200
|
-
member_object_id: Optional[pulumi.Input[str]] = None,
|
|
201
|
-
role_object_id: Optional[pulumi.Input[str]] = None,
|
|
206
|
+
member_object_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
207
|
+
role_object_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
202
208
|
__props__=None):
|
|
203
209
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
204
210
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -220,8 +226,8 @@ class DirectoryRoleMember(pulumi.CustomResource):
|
|
|
220
226
|
def get(resource_name: str,
|
|
221
227
|
id: pulumi.Input[str],
|
|
222
228
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
223
|
-
member_object_id: Optional[pulumi.Input[str]] = None,
|
|
224
|
-
role_object_id: Optional[pulumi.Input[str]] = None) -> 'DirectoryRoleMember':
|
|
229
|
+
member_object_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
230
|
+
role_object_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'DirectoryRoleMember':
|
|
225
231
|
"""
|
|
226
232
|
Get an existing DirectoryRoleMember resource's state with the given name, id, and optional extra
|
|
227
233
|
properties used to qualify the lookup.
|
|
@@ -229,8 +235,8 @@ class DirectoryRoleMember(pulumi.CustomResource):
|
|
|
229
235
|
:param str resource_name: The unique name of the resulting resource.
|
|
230
236
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
231
237
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
232
|
-
:param pulumi.Input[str] member_object_id: The object ID of the principal you want to add as a member to the directory role. Supported object types are Users, Groups or Service Principals. Changing this forces a new resource to be created.
|
|
233
|
-
:param pulumi.Input[str] role_object_id: The object ID of the directory role you want to add the member to. Changing this forces a new resource to be created.
|
|
238
|
+
:param pulumi.Input[_builtins.str] member_object_id: The object ID of the principal you want to add as a member to the directory role. Supported object types are Users, Groups or Service Principals. Changing this forces a new resource to be created.
|
|
239
|
+
:param pulumi.Input[_builtins.str] role_object_id: The object ID of the directory role you want to add the member to. Changing this forces a new resource to be created.
|
|
234
240
|
"""
|
|
235
241
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
236
242
|
|
|
@@ -240,17 +246,17 @@ class DirectoryRoleMember(pulumi.CustomResource):
|
|
|
240
246
|
__props__.__dict__["role_object_id"] = role_object_id
|
|
241
247
|
return DirectoryRoleMember(resource_name, opts=opts, __props__=__props__)
|
|
242
248
|
|
|
243
|
-
@property
|
|
249
|
+
@_builtins.property
|
|
244
250
|
@pulumi.getter(name="memberObjectId")
|
|
245
|
-
def member_object_id(self) -> pulumi.Output[Optional[str]]:
|
|
251
|
+
def member_object_id(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
246
252
|
"""
|
|
247
253
|
The object ID of the principal you want to add as a member to the directory role. Supported object types are Users, Groups or Service Principals. Changing this forces a new resource to be created.
|
|
248
254
|
"""
|
|
249
255
|
return pulumi.get(self, "member_object_id")
|
|
250
256
|
|
|
251
|
-
@property
|
|
257
|
+
@_builtins.property
|
|
252
258
|
@pulumi.getter(name="roleObjectId")
|
|
253
|
-
def role_object_id(self) -> pulumi.Output[Optional[str]]:
|
|
259
|
+
def role_object_id(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
254
260
|
"""
|
|
255
261
|
The object ID of the directory role you want to add the member to. Changing this forces a new resource to be created.
|
|
256
262
|
"""
|