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__ = ['AccessPackageCatalogRoleAssignmentArgs', 'AccessPackageCatalogRoleAssignment']
|
|
@@ -14,67 +19,67 @@ __all__ = ['AccessPackageCatalogRoleAssignmentArgs', 'AccessPackageCatalogRoleAs
|
|
|
14
19
|
@pulumi.input_type
|
|
15
20
|
class AccessPackageCatalogRoleAssignmentArgs:
|
|
16
21
|
def __init__(__self__, *,
|
|
17
|
-
catalog_id: pulumi.Input[str],
|
|
18
|
-
principal_object_id: pulumi.Input[str],
|
|
19
|
-
role_id: pulumi.Input[str]):
|
|
22
|
+
catalog_id: pulumi.Input[_builtins.str],
|
|
23
|
+
principal_object_id: pulumi.Input[_builtins.str],
|
|
24
|
+
role_id: pulumi.Input[_builtins.str]):
|
|
20
25
|
"""
|
|
21
26
|
The set of arguments for constructing a AccessPackageCatalogRoleAssignment resource.
|
|
22
|
-
:param pulumi.Input[str] catalog_id: The ID of the Catalog this role assignment will be scoped to. Changing this forces a new resource to be created.
|
|
23
|
-
:param pulumi.Input[str] principal_object_id: The object ID of the principal for you want to create a role assignment. Supported object types are Users, Groups or Service Principals. Changing this forces a new resource to be created.
|
|
24
|
-
:param pulumi.Input[str] role_id: The object ID of the catalog role you want to assign. Changing this forces a new resource to be created.
|
|
27
|
+
:param pulumi.Input[_builtins.str] catalog_id: The ID of the Catalog this role assignment will be scoped to. Changing this forces a new resource to be created.
|
|
28
|
+
:param pulumi.Input[_builtins.str] principal_object_id: The object ID of the principal for you want to create a role assignment. Supported object types are Users, Groups or Service Principals. Changing this forces a new resource to be created.
|
|
29
|
+
:param pulumi.Input[_builtins.str] role_id: The object ID of the catalog role you want to assign. Changing this forces a new resource to be created.
|
|
25
30
|
"""
|
|
26
31
|
pulumi.set(__self__, "catalog_id", catalog_id)
|
|
27
32
|
pulumi.set(__self__, "principal_object_id", principal_object_id)
|
|
28
33
|
pulumi.set(__self__, "role_id", role_id)
|
|
29
34
|
|
|
30
|
-
@property
|
|
35
|
+
@_builtins.property
|
|
31
36
|
@pulumi.getter(name="catalogId")
|
|
32
|
-
def catalog_id(self) -> pulumi.Input[str]:
|
|
37
|
+
def catalog_id(self) -> pulumi.Input[_builtins.str]:
|
|
33
38
|
"""
|
|
34
39
|
The ID of the Catalog this role assignment will be scoped to. Changing this forces a new resource to be created.
|
|
35
40
|
"""
|
|
36
41
|
return pulumi.get(self, "catalog_id")
|
|
37
42
|
|
|
38
43
|
@catalog_id.setter
|
|
39
|
-
def catalog_id(self, value: pulumi.Input[str]):
|
|
44
|
+
def catalog_id(self, value: pulumi.Input[_builtins.str]):
|
|
40
45
|
pulumi.set(self, "catalog_id", value)
|
|
41
46
|
|
|
42
|
-
@property
|
|
47
|
+
@_builtins.property
|
|
43
48
|
@pulumi.getter(name="principalObjectId")
|
|
44
|
-
def principal_object_id(self) -> pulumi.Input[str]:
|
|
49
|
+
def principal_object_id(self) -> pulumi.Input[_builtins.str]:
|
|
45
50
|
"""
|
|
46
51
|
The object ID of the principal for you want to create a role assignment. Supported object types are Users, Groups or Service Principals. Changing this forces a new resource to be created.
|
|
47
52
|
"""
|
|
48
53
|
return pulumi.get(self, "principal_object_id")
|
|
49
54
|
|
|
50
55
|
@principal_object_id.setter
|
|
51
|
-
def principal_object_id(self, value: pulumi.Input[str]):
|
|
56
|
+
def principal_object_id(self, value: pulumi.Input[_builtins.str]):
|
|
52
57
|
pulumi.set(self, "principal_object_id", value)
|
|
53
58
|
|
|
54
|
-
@property
|
|
59
|
+
@_builtins.property
|
|
55
60
|
@pulumi.getter(name="roleId")
|
|
56
|
-
def role_id(self) -> pulumi.Input[str]:
|
|
61
|
+
def role_id(self) -> pulumi.Input[_builtins.str]:
|
|
57
62
|
"""
|
|
58
63
|
The object ID of the catalog role you want to assign. Changing this forces a new resource to be created.
|
|
59
64
|
"""
|
|
60
65
|
return pulumi.get(self, "role_id")
|
|
61
66
|
|
|
62
67
|
@role_id.setter
|
|
63
|
-
def role_id(self, value: pulumi.Input[str]):
|
|
68
|
+
def role_id(self, value: pulumi.Input[_builtins.str]):
|
|
64
69
|
pulumi.set(self, "role_id", value)
|
|
65
70
|
|
|
66
71
|
|
|
67
72
|
@pulumi.input_type
|
|
68
73
|
class _AccessPackageCatalogRoleAssignmentState:
|
|
69
74
|
def __init__(__self__, *,
|
|
70
|
-
catalog_id: Optional[pulumi.Input[str]] = None,
|
|
71
|
-
principal_object_id: Optional[pulumi.Input[str]] = None,
|
|
72
|
-
role_id: Optional[pulumi.Input[str]] = None):
|
|
75
|
+
catalog_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
76
|
+
principal_object_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
77
|
+
role_id: Optional[pulumi.Input[_builtins.str]] = None):
|
|
73
78
|
"""
|
|
74
79
|
Input properties used for looking up and filtering AccessPackageCatalogRoleAssignment resources.
|
|
75
|
-
:param pulumi.Input[str] catalog_id: The ID of the Catalog this role assignment will be scoped to. Changing this forces a new resource to be created.
|
|
76
|
-
:param pulumi.Input[str] principal_object_id: The object ID of the principal for you want to create a role assignment. Supported object types are Users, Groups or Service Principals. Changing this forces a new resource to be created.
|
|
77
|
-
:param pulumi.Input[str] role_id: The object ID of the catalog role you want to assign. Changing this forces a new resource to be created.
|
|
80
|
+
:param pulumi.Input[_builtins.str] catalog_id: The ID of the Catalog this role assignment will be scoped to. Changing this forces a new resource to be created.
|
|
81
|
+
:param pulumi.Input[_builtins.str] principal_object_id: The object ID of the principal for you want to create a role assignment. Supported object types are Users, Groups or Service Principals. Changing this forces a new resource to be created.
|
|
82
|
+
:param pulumi.Input[_builtins.str] role_id: The object ID of the catalog role you want to assign. Changing this forces a new resource to be created.
|
|
78
83
|
"""
|
|
79
84
|
if catalog_id is not None:
|
|
80
85
|
pulumi.set(__self__, "catalog_id", catalog_id)
|
|
@@ -83,51 +88,52 @@ class _AccessPackageCatalogRoleAssignmentState:
|
|
|
83
88
|
if role_id is not None:
|
|
84
89
|
pulumi.set(__self__, "role_id", role_id)
|
|
85
90
|
|
|
86
|
-
@property
|
|
91
|
+
@_builtins.property
|
|
87
92
|
@pulumi.getter(name="catalogId")
|
|
88
|
-
def catalog_id(self) -> Optional[pulumi.Input[str]]:
|
|
93
|
+
def catalog_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
89
94
|
"""
|
|
90
95
|
The ID of the Catalog this role assignment will be scoped to. Changing this forces a new resource to be created.
|
|
91
96
|
"""
|
|
92
97
|
return pulumi.get(self, "catalog_id")
|
|
93
98
|
|
|
94
99
|
@catalog_id.setter
|
|
95
|
-
def catalog_id(self, value: Optional[pulumi.Input[str]]):
|
|
100
|
+
def catalog_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
96
101
|
pulumi.set(self, "catalog_id", value)
|
|
97
102
|
|
|
98
|
-
@property
|
|
103
|
+
@_builtins.property
|
|
99
104
|
@pulumi.getter(name="principalObjectId")
|
|
100
|
-
def principal_object_id(self) -> Optional[pulumi.Input[str]]:
|
|
105
|
+
def principal_object_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
101
106
|
"""
|
|
102
107
|
The object ID of the principal for you want to create a role assignment. Supported object types are Users, Groups or Service Principals. Changing this forces a new resource to be created.
|
|
103
108
|
"""
|
|
104
109
|
return pulumi.get(self, "principal_object_id")
|
|
105
110
|
|
|
106
111
|
@principal_object_id.setter
|
|
107
|
-
def principal_object_id(self, value: Optional[pulumi.Input[str]]):
|
|
112
|
+
def principal_object_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
108
113
|
pulumi.set(self, "principal_object_id", value)
|
|
109
114
|
|
|
110
|
-
@property
|
|
115
|
+
@_builtins.property
|
|
111
116
|
@pulumi.getter(name="roleId")
|
|
112
|
-
def role_id(self) -> Optional[pulumi.Input[str]]:
|
|
117
|
+
def role_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
113
118
|
"""
|
|
114
119
|
The object ID of the catalog role you want to assign. Changing this forces a new resource to be created.
|
|
115
120
|
"""
|
|
116
121
|
return pulumi.get(self, "role_id")
|
|
117
122
|
|
|
118
123
|
@role_id.setter
|
|
119
|
-
def role_id(self, value: Optional[pulumi.Input[str]]):
|
|
124
|
+
def role_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
120
125
|
pulumi.set(self, "role_id", value)
|
|
121
126
|
|
|
122
127
|
|
|
128
|
+
@pulumi.type_token("azuread:index/accessPackageCatalogRoleAssignment:AccessPackageCatalogRoleAssignment")
|
|
123
129
|
class AccessPackageCatalogRoleAssignment(pulumi.CustomResource):
|
|
124
130
|
@overload
|
|
125
131
|
def __init__(__self__,
|
|
126
132
|
resource_name: str,
|
|
127
133
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
128
|
-
catalog_id: Optional[pulumi.Input[str]] = None,
|
|
129
|
-
principal_object_id: Optional[pulumi.Input[str]] = None,
|
|
130
|
-
role_id: Optional[pulumi.Input[str]] = None,
|
|
134
|
+
catalog_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
135
|
+
principal_object_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
136
|
+
role_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
131
137
|
__props__=None):
|
|
132
138
|
"""
|
|
133
139
|
Manages a single catalog role assignment within Azure Active Directory.
|
|
@@ -146,14 +152,14 @@ class AccessPackageCatalogRoleAssignment(pulumi.CustomResource):
|
|
|
146
152
|
import pulumi
|
|
147
153
|
import pulumi_azuread as azuread
|
|
148
154
|
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
example_access_package_catalog = azuread.AccessPackageCatalog("
|
|
155
|
+
example = azuread.get_user(user_principal_name="jdoe@example.com")
|
|
156
|
+
example_get_access_package_catalog_role = azuread.get_access_package_catalog_role(display_name="Catalog owner")
|
|
157
|
+
example_access_package_catalog = azuread.AccessPackageCatalog("example",
|
|
152
158
|
display_name="example-access-package-catalog",
|
|
153
159
|
description="Example access package catalog")
|
|
154
|
-
example_access_package_catalog_role_assignment = azuread.AccessPackageCatalogRoleAssignment("
|
|
155
|
-
role_id=
|
|
156
|
-
principal_object_id=
|
|
160
|
+
example_access_package_catalog_role_assignment = azuread.AccessPackageCatalogRoleAssignment("example",
|
|
161
|
+
role_id=example_get_access_package_catalog_role.object_id,
|
|
162
|
+
principal_object_id=example.object_id,
|
|
157
163
|
catalog_id=example_access_package_catalog.id)
|
|
158
164
|
```
|
|
159
165
|
|
|
@@ -162,14 +168,14 @@ class AccessPackageCatalogRoleAssignment(pulumi.CustomResource):
|
|
|
162
168
|
Catalog role assignments can be imported using the ID of the assignment, e.g.
|
|
163
169
|
|
|
164
170
|
```sh
|
|
165
|
-
|
|
171
|
+
$ pulumi import azuread:index/accessPackageCatalogRoleAssignment:AccessPackageCatalogRoleAssignment example 00000000-0000-0000-0000-000000000000
|
|
166
172
|
```
|
|
167
173
|
|
|
168
174
|
:param str resource_name: The name of the resource.
|
|
169
175
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
170
|
-
:param pulumi.Input[str] catalog_id: The ID of the Catalog this role assignment will be scoped to. Changing this forces a new resource to be created.
|
|
171
|
-
:param pulumi.Input[str] principal_object_id: The object ID of the principal for you want to create a role assignment. Supported object types are Users, Groups or Service Principals. Changing this forces a new resource to be created.
|
|
172
|
-
:param pulumi.Input[str] role_id: The object ID of the catalog role you want to assign. Changing this forces a new resource to be created.
|
|
176
|
+
:param pulumi.Input[_builtins.str] catalog_id: The ID of the Catalog this role assignment will be scoped to. Changing this forces a new resource to be created.
|
|
177
|
+
:param pulumi.Input[_builtins.str] principal_object_id: The object ID of the principal for you want to create a role assignment. Supported object types are Users, Groups or Service Principals. Changing this forces a new resource to be created.
|
|
178
|
+
:param pulumi.Input[_builtins.str] role_id: The object ID of the catalog role you want to assign. Changing this forces a new resource to be created.
|
|
173
179
|
"""
|
|
174
180
|
...
|
|
175
181
|
@overload
|
|
@@ -194,14 +200,14 @@ class AccessPackageCatalogRoleAssignment(pulumi.CustomResource):
|
|
|
194
200
|
import pulumi
|
|
195
201
|
import pulumi_azuread as azuread
|
|
196
202
|
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
example_access_package_catalog = azuread.AccessPackageCatalog("
|
|
203
|
+
example = azuread.get_user(user_principal_name="jdoe@example.com")
|
|
204
|
+
example_get_access_package_catalog_role = azuread.get_access_package_catalog_role(display_name="Catalog owner")
|
|
205
|
+
example_access_package_catalog = azuread.AccessPackageCatalog("example",
|
|
200
206
|
display_name="example-access-package-catalog",
|
|
201
207
|
description="Example access package catalog")
|
|
202
|
-
example_access_package_catalog_role_assignment = azuread.AccessPackageCatalogRoleAssignment("
|
|
203
|
-
role_id=
|
|
204
|
-
principal_object_id=
|
|
208
|
+
example_access_package_catalog_role_assignment = azuread.AccessPackageCatalogRoleAssignment("example",
|
|
209
|
+
role_id=example_get_access_package_catalog_role.object_id,
|
|
210
|
+
principal_object_id=example.object_id,
|
|
205
211
|
catalog_id=example_access_package_catalog.id)
|
|
206
212
|
```
|
|
207
213
|
|
|
@@ -210,7 +216,7 @@ class AccessPackageCatalogRoleAssignment(pulumi.CustomResource):
|
|
|
210
216
|
Catalog role assignments can be imported using the ID of the assignment, e.g.
|
|
211
217
|
|
|
212
218
|
```sh
|
|
213
|
-
|
|
219
|
+
$ pulumi import azuread:index/accessPackageCatalogRoleAssignment:AccessPackageCatalogRoleAssignment example 00000000-0000-0000-0000-000000000000
|
|
214
220
|
```
|
|
215
221
|
|
|
216
222
|
:param str resource_name: The name of the resource.
|
|
@@ -228,9 +234,9 @@ class AccessPackageCatalogRoleAssignment(pulumi.CustomResource):
|
|
|
228
234
|
def _internal_init(__self__,
|
|
229
235
|
resource_name: str,
|
|
230
236
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
231
|
-
catalog_id: Optional[pulumi.Input[str]] = None,
|
|
232
|
-
principal_object_id: Optional[pulumi.Input[str]] = None,
|
|
233
|
-
role_id: Optional[pulumi.Input[str]] = None,
|
|
237
|
+
catalog_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
238
|
+
principal_object_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
239
|
+
role_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
234
240
|
__props__=None):
|
|
235
241
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
236
242
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -259,9 +265,9 @@ class AccessPackageCatalogRoleAssignment(pulumi.CustomResource):
|
|
|
259
265
|
def get(resource_name: str,
|
|
260
266
|
id: pulumi.Input[str],
|
|
261
267
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
262
|
-
catalog_id: Optional[pulumi.Input[str]] = None,
|
|
263
|
-
principal_object_id: Optional[pulumi.Input[str]] = None,
|
|
264
|
-
role_id: Optional[pulumi.Input[str]] = None) -> 'AccessPackageCatalogRoleAssignment':
|
|
268
|
+
catalog_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
269
|
+
principal_object_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
270
|
+
role_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'AccessPackageCatalogRoleAssignment':
|
|
265
271
|
"""
|
|
266
272
|
Get an existing AccessPackageCatalogRoleAssignment resource's state with the given name, id, and optional extra
|
|
267
273
|
properties used to qualify the lookup.
|
|
@@ -269,9 +275,9 @@ class AccessPackageCatalogRoleAssignment(pulumi.CustomResource):
|
|
|
269
275
|
:param str resource_name: The unique name of the resulting resource.
|
|
270
276
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
271
277
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
272
|
-
:param pulumi.Input[str] catalog_id: The ID of the Catalog this role assignment will be scoped to. Changing this forces a new resource to be created.
|
|
273
|
-
:param pulumi.Input[str] principal_object_id: The object ID of the principal for you want to create a role assignment. Supported object types are Users, Groups or Service Principals. Changing this forces a new resource to be created.
|
|
274
|
-
:param pulumi.Input[str] role_id: The object ID of the catalog role you want to assign. Changing this forces a new resource to be created.
|
|
278
|
+
:param pulumi.Input[_builtins.str] catalog_id: The ID of the Catalog this role assignment will be scoped to. Changing this forces a new resource to be created.
|
|
279
|
+
:param pulumi.Input[_builtins.str] principal_object_id: The object ID of the principal for you want to create a role assignment. Supported object types are Users, Groups or Service Principals. Changing this forces a new resource to be created.
|
|
280
|
+
:param pulumi.Input[_builtins.str] role_id: The object ID of the catalog role you want to assign. Changing this forces a new resource to be created.
|
|
275
281
|
"""
|
|
276
282
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
277
283
|
|
|
@@ -282,25 +288,25 @@ class AccessPackageCatalogRoleAssignment(pulumi.CustomResource):
|
|
|
282
288
|
__props__.__dict__["role_id"] = role_id
|
|
283
289
|
return AccessPackageCatalogRoleAssignment(resource_name, opts=opts, __props__=__props__)
|
|
284
290
|
|
|
285
|
-
@property
|
|
291
|
+
@_builtins.property
|
|
286
292
|
@pulumi.getter(name="catalogId")
|
|
287
|
-
def catalog_id(self) -> pulumi.Output[str]:
|
|
293
|
+
def catalog_id(self) -> pulumi.Output[_builtins.str]:
|
|
288
294
|
"""
|
|
289
295
|
The ID of the Catalog this role assignment will be scoped to. Changing this forces a new resource to be created.
|
|
290
296
|
"""
|
|
291
297
|
return pulumi.get(self, "catalog_id")
|
|
292
298
|
|
|
293
|
-
@property
|
|
299
|
+
@_builtins.property
|
|
294
300
|
@pulumi.getter(name="principalObjectId")
|
|
295
|
-
def principal_object_id(self) -> pulumi.Output[str]:
|
|
301
|
+
def principal_object_id(self) -> pulumi.Output[_builtins.str]:
|
|
296
302
|
"""
|
|
297
303
|
The object ID of the principal for you want to create a role assignment. Supported object types are Users, Groups or Service Principals. Changing this forces a new resource to be created.
|
|
298
304
|
"""
|
|
299
305
|
return pulumi.get(self, "principal_object_id")
|
|
300
306
|
|
|
301
|
-
@property
|
|
307
|
+
@_builtins.property
|
|
302
308
|
@pulumi.getter(name="roleId")
|
|
303
|
-
def role_id(self) -> pulumi.Output[str]:
|
|
309
|
+
def role_id(self) -> pulumi.Output[_builtins.str]:
|
|
304
310
|
"""
|
|
305
311
|
The object ID of the catalog role you want to assign. Changing this forces a new resource to be created.
|
|
306
312
|
"""
|
|
@@ -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__ = ['AccessPackageResourceCatalogAssociationArgs', 'AccessPackageResourceCatalogAssociation']
|
|
@@ -14,67 +19,67 @@ __all__ = ['AccessPackageResourceCatalogAssociationArgs', 'AccessPackageResource
|
|
|
14
19
|
@pulumi.input_type
|
|
15
20
|
class AccessPackageResourceCatalogAssociationArgs:
|
|
16
21
|
def __init__(__self__, *,
|
|
17
|
-
catalog_id: pulumi.Input[str],
|
|
18
|
-
resource_origin_id: pulumi.Input[str],
|
|
19
|
-
resource_origin_system: pulumi.Input[str]):
|
|
22
|
+
catalog_id: pulumi.Input[_builtins.str],
|
|
23
|
+
resource_origin_id: pulumi.Input[_builtins.str],
|
|
24
|
+
resource_origin_system: pulumi.Input[_builtins.str]):
|
|
20
25
|
"""
|
|
21
26
|
The set of arguments for constructing a AccessPackageResourceCatalogAssociation resource.
|
|
22
|
-
:param pulumi.Input[str] catalog_id: The unique ID of the access package catalog. Changing this forces a new resource to be created.
|
|
23
|
-
:param pulumi.Input[str] resource_origin_id: The unique identifier of the resource in the origin system. In the case of an Azure AD group, this is the identifier of the group. Changing this forces a new resource to be created.
|
|
24
|
-
:param pulumi.Input[str] resource_origin_system: The type of the resource in the origin system, such as `SharePointOnline`, `AadApplication` or `AadGroup`. Changing this forces a new resource to be created.
|
|
27
|
+
:param pulumi.Input[_builtins.str] catalog_id: The unique ID of the access package catalog. Changing this forces a new resource to be created.
|
|
28
|
+
:param pulumi.Input[_builtins.str] resource_origin_id: The unique identifier of the resource in the origin system. In the case of an Azure AD group, this is the identifier of the group. Changing this forces a new resource to be created.
|
|
29
|
+
:param pulumi.Input[_builtins.str] resource_origin_system: The type of the resource in the origin system, such as `SharePointOnline`, `AadApplication` or `AadGroup`. Changing this forces a new resource to be created.
|
|
25
30
|
"""
|
|
26
31
|
pulumi.set(__self__, "catalog_id", catalog_id)
|
|
27
32
|
pulumi.set(__self__, "resource_origin_id", resource_origin_id)
|
|
28
33
|
pulumi.set(__self__, "resource_origin_system", resource_origin_system)
|
|
29
34
|
|
|
30
|
-
@property
|
|
35
|
+
@_builtins.property
|
|
31
36
|
@pulumi.getter(name="catalogId")
|
|
32
|
-
def catalog_id(self) -> pulumi.Input[str]:
|
|
37
|
+
def catalog_id(self) -> pulumi.Input[_builtins.str]:
|
|
33
38
|
"""
|
|
34
39
|
The unique ID of the access package catalog. Changing this forces a new resource to be created.
|
|
35
40
|
"""
|
|
36
41
|
return pulumi.get(self, "catalog_id")
|
|
37
42
|
|
|
38
43
|
@catalog_id.setter
|
|
39
|
-
def catalog_id(self, value: pulumi.Input[str]):
|
|
44
|
+
def catalog_id(self, value: pulumi.Input[_builtins.str]):
|
|
40
45
|
pulumi.set(self, "catalog_id", value)
|
|
41
46
|
|
|
42
|
-
@property
|
|
47
|
+
@_builtins.property
|
|
43
48
|
@pulumi.getter(name="resourceOriginId")
|
|
44
|
-
def resource_origin_id(self) -> pulumi.Input[str]:
|
|
49
|
+
def resource_origin_id(self) -> pulumi.Input[_builtins.str]:
|
|
45
50
|
"""
|
|
46
51
|
The unique identifier of the resource in the origin system. In the case of an Azure AD group, this is the identifier of the group. Changing this forces a new resource to be created.
|
|
47
52
|
"""
|
|
48
53
|
return pulumi.get(self, "resource_origin_id")
|
|
49
54
|
|
|
50
55
|
@resource_origin_id.setter
|
|
51
|
-
def resource_origin_id(self, value: pulumi.Input[str]):
|
|
56
|
+
def resource_origin_id(self, value: pulumi.Input[_builtins.str]):
|
|
52
57
|
pulumi.set(self, "resource_origin_id", value)
|
|
53
58
|
|
|
54
|
-
@property
|
|
59
|
+
@_builtins.property
|
|
55
60
|
@pulumi.getter(name="resourceOriginSystem")
|
|
56
|
-
def resource_origin_system(self) -> pulumi.Input[str]:
|
|
61
|
+
def resource_origin_system(self) -> pulumi.Input[_builtins.str]:
|
|
57
62
|
"""
|
|
58
63
|
The type of the resource in the origin system, such as `SharePointOnline`, `AadApplication` or `AadGroup`. Changing this forces a new resource to be created.
|
|
59
64
|
"""
|
|
60
65
|
return pulumi.get(self, "resource_origin_system")
|
|
61
66
|
|
|
62
67
|
@resource_origin_system.setter
|
|
63
|
-
def resource_origin_system(self, value: pulumi.Input[str]):
|
|
68
|
+
def resource_origin_system(self, value: pulumi.Input[_builtins.str]):
|
|
64
69
|
pulumi.set(self, "resource_origin_system", value)
|
|
65
70
|
|
|
66
71
|
|
|
67
72
|
@pulumi.input_type
|
|
68
73
|
class _AccessPackageResourceCatalogAssociationState:
|
|
69
74
|
def __init__(__self__, *,
|
|
70
|
-
catalog_id: Optional[pulumi.Input[str]] = None,
|
|
71
|
-
resource_origin_id: Optional[pulumi.Input[str]] = None,
|
|
72
|
-
resource_origin_system: Optional[pulumi.Input[str]] = None):
|
|
75
|
+
catalog_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
76
|
+
resource_origin_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
77
|
+
resource_origin_system: Optional[pulumi.Input[_builtins.str]] = None):
|
|
73
78
|
"""
|
|
74
79
|
Input properties used for looking up and filtering AccessPackageResourceCatalogAssociation resources.
|
|
75
|
-
:param pulumi.Input[str] catalog_id: The unique ID of the access package catalog. Changing this forces a new resource to be created.
|
|
76
|
-
:param pulumi.Input[str] resource_origin_id: The unique identifier of the resource in the origin system. In the case of an Azure AD group, this is the identifier of the group. Changing this forces a new resource to be created.
|
|
77
|
-
:param pulumi.Input[str] resource_origin_system: The type of the resource in the origin system, such as `SharePointOnline`, `AadApplication` or `AadGroup`. Changing this forces a new resource to be created.
|
|
80
|
+
:param pulumi.Input[_builtins.str] catalog_id: The unique ID of the access package catalog. Changing this forces a new resource to be created.
|
|
81
|
+
:param pulumi.Input[_builtins.str] resource_origin_id: The unique identifier of the resource in the origin system. In the case of an Azure AD group, this is the identifier of the group. Changing this forces a new resource to be created.
|
|
82
|
+
:param pulumi.Input[_builtins.str] resource_origin_system: The type of the resource in the origin system, such as `SharePointOnline`, `AadApplication` or `AadGroup`. Changing this forces a new resource to be created.
|
|
78
83
|
"""
|
|
79
84
|
if catalog_id is not None:
|
|
80
85
|
pulumi.set(__self__, "catalog_id", catalog_id)
|
|
@@ -83,51 +88,52 @@ class _AccessPackageResourceCatalogAssociationState:
|
|
|
83
88
|
if resource_origin_system is not None:
|
|
84
89
|
pulumi.set(__self__, "resource_origin_system", resource_origin_system)
|
|
85
90
|
|
|
86
|
-
@property
|
|
91
|
+
@_builtins.property
|
|
87
92
|
@pulumi.getter(name="catalogId")
|
|
88
|
-
def catalog_id(self) -> Optional[pulumi.Input[str]]:
|
|
93
|
+
def catalog_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
89
94
|
"""
|
|
90
95
|
The unique ID of the access package catalog. Changing this forces a new resource to be created.
|
|
91
96
|
"""
|
|
92
97
|
return pulumi.get(self, "catalog_id")
|
|
93
98
|
|
|
94
99
|
@catalog_id.setter
|
|
95
|
-
def catalog_id(self, value: Optional[pulumi.Input[str]]):
|
|
100
|
+
def catalog_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
96
101
|
pulumi.set(self, "catalog_id", value)
|
|
97
102
|
|
|
98
|
-
@property
|
|
103
|
+
@_builtins.property
|
|
99
104
|
@pulumi.getter(name="resourceOriginId")
|
|
100
|
-
def resource_origin_id(self) -> Optional[pulumi.Input[str]]:
|
|
105
|
+
def resource_origin_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
101
106
|
"""
|
|
102
107
|
The unique identifier of the resource in the origin system. In the case of an Azure AD group, this is the identifier of the group. Changing this forces a new resource to be created.
|
|
103
108
|
"""
|
|
104
109
|
return pulumi.get(self, "resource_origin_id")
|
|
105
110
|
|
|
106
111
|
@resource_origin_id.setter
|
|
107
|
-
def resource_origin_id(self, value: Optional[pulumi.Input[str]]):
|
|
112
|
+
def resource_origin_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
108
113
|
pulumi.set(self, "resource_origin_id", value)
|
|
109
114
|
|
|
110
|
-
@property
|
|
115
|
+
@_builtins.property
|
|
111
116
|
@pulumi.getter(name="resourceOriginSystem")
|
|
112
|
-
def resource_origin_system(self) -> Optional[pulumi.Input[str]]:
|
|
117
|
+
def resource_origin_system(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
113
118
|
"""
|
|
114
119
|
The type of the resource in the origin system, such as `SharePointOnline`, `AadApplication` or `AadGroup`. Changing this forces a new resource to be created.
|
|
115
120
|
"""
|
|
116
121
|
return pulumi.get(self, "resource_origin_system")
|
|
117
122
|
|
|
118
123
|
@resource_origin_system.setter
|
|
119
|
-
def resource_origin_system(self, value: Optional[pulumi.Input[str]]):
|
|
124
|
+
def resource_origin_system(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
120
125
|
pulumi.set(self, "resource_origin_system", value)
|
|
121
126
|
|
|
122
127
|
|
|
128
|
+
@pulumi.type_token("azuread:index/accessPackageResourceCatalogAssociation:AccessPackageResourceCatalogAssociation")
|
|
123
129
|
class AccessPackageResourceCatalogAssociation(pulumi.CustomResource):
|
|
124
130
|
@overload
|
|
125
131
|
def __init__(__self__,
|
|
126
132
|
resource_name: str,
|
|
127
133
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
128
|
-
catalog_id: Optional[pulumi.Input[str]] = None,
|
|
129
|
-
resource_origin_id: Optional[pulumi.Input[str]] = None,
|
|
130
|
-
resource_origin_system: Optional[pulumi.Input[str]] = None,
|
|
134
|
+
catalog_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
135
|
+
resource_origin_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
136
|
+
resource_origin_system: Optional[pulumi.Input[_builtins.str]] = None,
|
|
131
137
|
__props__=None):
|
|
132
138
|
"""
|
|
133
139
|
Manages the resources added to access package catalogs within Identity Governance in Azure Active Directory.
|
|
@@ -146,15 +152,15 @@ class AccessPackageResourceCatalogAssociation(pulumi.CustomResource):
|
|
|
146
152
|
import pulumi
|
|
147
153
|
import pulumi_azuread as azuread
|
|
148
154
|
|
|
149
|
-
|
|
155
|
+
example = azuread.Group("example",
|
|
150
156
|
display_name="example-group",
|
|
151
157
|
security_enabled=True)
|
|
152
|
-
example_access_package_catalog = azuread.AccessPackageCatalog("
|
|
158
|
+
example_access_package_catalog = azuread.AccessPackageCatalog("example",
|
|
153
159
|
display_name="example-catalog",
|
|
154
160
|
description="Example catalog")
|
|
155
|
-
example_access_package_resource_catalog_association = azuread.AccessPackageResourceCatalogAssociation("
|
|
156
|
-
catalog_id=
|
|
157
|
-
resource_origin_id=
|
|
161
|
+
example_access_package_resource_catalog_association = azuread.AccessPackageResourceCatalogAssociation("example",
|
|
162
|
+
catalog_id=example_catalog["id"],
|
|
163
|
+
resource_origin_id=example_group["objectId"],
|
|
158
164
|
resource_origin_system="AadGroup")
|
|
159
165
|
```
|
|
160
166
|
|
|
@@ -163,16 +169,16 @@ class AccessPackageResourceCatalogAssociation(pulumi.CustomResource):
|
|
|
163
169
|
The resource and catalog association can be imported using the catalog ID and the resource origin ID, e.g.
|
|
164
170
|
|
|
165
171
|
```sh
|
|
166
|
-
|
|
172
|
+
$ pulumi import azuread:index/accessPackageResourceCatalogAssociation:AccessPackageResourceCatalogAssociation example 00000000-0000-0000-0000-000000000000/11111111-1111-1111-1111-111111111111
|
|
167
173
|
```
|
|
168
174
|
|
|
169
|
-
|
|
175
|
+
-> This ID format is unique to Terraform and is composed of the Catalog ID and the Resource Origin ID in the format `{CatalogID}/{ResourceOriginID}`.
|
|
170
176
|
|
|
171
177
|
:param str resource_name: The name of the resource.
|
|
172
178
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
173
|
-
:param pulumi.Input[str] catalog_id: The unique ID of the access package catalog. Changing this forces a new resource to be created.
|
|
174
|
-
:param pulumi.Input[str] resource_origin_id: The unique identifier of the resource in the origin system. In the case of an Azure AD group, this is the identifier of the group. Changing this forces a new resource to be created.
|
|
175
|
-
:param pulumi.Input[str] resource_origin_system: The type of the resource in the origin system, such as `SharePointOnline`, `AadApplication` or `AadGroup`. Changing this forces a new resource to be created.
|
|
179
|
+
:param pulumi.Input[_builtins.str] catalog_id: The unique ID of the access package catalog. Changing this forces a new resource to be created.
|
|
180
|
+
:param pulumi.Input[_builtins.str] resource_origin_id: The unique identifier of the resource in the origin system. In the case of an Azure AD group, this is the identifier of the group. Changing this forces a new resource to be created.
|
|
181
|
+
:param pulumi.Input[_builtins.str] resource_origin_system: The type of the resource in the origin system, such as `SharePointOnline`, `AadApplication` or `AadGroup`. Changing this forces a new resource to be created.
|
|
176
182
|
"""
|
|
177
183
|
...
|
|
178
184
|
@overload
|
|
@@ -197,15 +203,15 @@ class AccessPackageResourceCatalogAssociation(pulumi.CustomResource):
|
|
|
197
203
|
import pulumi
|
|
198
204
|
import pulumi_azuread as azuread
|
|
199
205
|
|
|
200
|
-
|
|
206
|
+
example = azuread.Group("example",
|
|
201
207
|
display_name="example-group",
|
|
202
208
|
security_enabled=True)
|
|
203
|
-
example_access_package_catalog = azuread.AccessPackageCatalog("
|
|
209
|
+
example_access_package_catalog = azuread.AccessPackageCatalog("example",
|
|
204
210
|
display_name="example-catalog",
|
|
205
211
|
description="Example catalog")
|
|
206
|
-
example_access_package_resource_catalog_association = azuread.AccessPackageResourceCatalogAssociation("
|
|
207
|
-
catalog_id=
|
|
208
|
-
resource_origin_id=
|
|
212
|
+
example_access_package_resource_catalog_association = azuread.AccessPackageResourceCatalogAssociation("example",
|
|
213
|
+
catalog_id=example_catalog["id"],
|
|
214
|
+
resource_origin_id=example_group["objectId"],
|
|
209
215
|
resource_origin_system="AadGroup")
|
|
210
216
|
```
|
|
211
217
|
|
|
@@ -214,10 +220,10 @@ class AccessPackageResourceCatalogAssociation(pulumi.CustomResource):
|
|
|
214
220
|
The resource and catalog association can be imported using the catalog ID and the resource origin ID, e.g.
|
|
215
221
|
|
|
216
222
|
```sh
|
|
217
|
-
|
|
223
|
+
$ pulumi import azuread:index/accessPackageResourceCatalogAssociation:AccessPackageResourceCatalogAssociation example 00000000-0000-0000-0000-000000000000/11111111-1111-1111-1111-111111111111
|
|
218
224
|
```
|
|
219
225
|
|
|
220
|
-
|
|
226
|
+
-> This ID format is unique to Terraform and is composed of the Catalog ID and the Resource Origin ID in the format `{CatalogID}/{ResourceOriginID}`.
|
|
221
227
|
|
|
222
228
|
:param str resource_name: The name of the resource.
|
|
223
229
|
:param AccessPackageResourceCatalogAssociationArgs args: The arguments to use to populate this resource's properties.
|
|
@@ -234,9 +240,9 @@ class AccessPackageResourceCatalogAssociation(pulumi.CustomResource):
|
|
|
234
240
|
def _internal_init(__self__,
|
|
235
241
|
resource_name: str,
|
|
236
242
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
237
|
-
catalog_id: Optional[pulumi.Input[str]] = None,
|
|
238
|
-
resource_origin_id: Optional[pulumi.Input[str]] = None,
|
|
239
|
-
resource_origin_system: Optional[pulumi.Input[str]] = None,
|
|
243
|
+
catalog_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
244
|
+
resource_origin_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
245
|
+
resource_origin_system: Optional[pulumi.Input[_builtins.str]] = None,
|
|
240
246
|
__props__=None):
|
|
241
247
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
242
248
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -265,9 +271,9 @@ class AccessPackageResourceCatalogAssociation(pulumi.CustomResource):
|
|
|
265
271
|
def get(resource_name: str,
|
|
266
272
|
id: pulumi.Input[str],
|
|
267
273
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
268
|
-
catalog_id: Optional[pulumi.Input[str]] = None,
|
|
269
|
-
resource_origin_id: Optional[pulumi.Input[str]] = None,
|
|
270
|
-
resource_origin_system: Optional[pulumi.Input[str]] = None) -> 'AccessPackageResourceCatalogAssociation':
|
|
274
|
+
catalog_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
275
|
+
resource_origin_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
276
|
+
resource_origin_system: Optional[pulumi.Input[_builtins.str]] = None) -> 'AccessPackageResourceCatalogAssociation':
|
|
271
277
|
"""
|
|
272
278
|
Get an existing AccessPackageResourceCatalogAssociation resource's state with the given name, id, and optional extra
|
|
273
279
|
properties used to qualify the lookup.
|
|
@@ -275,9 +281,9 @@ class AccessPackageResourceCatalogAssociation(pulumi.CustomResource):
|
|
|
275
281
|
:param str resource_name: The unique name of the resulting resource.
|
|
276
282
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
277
283
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
278
|
-
:param pulumi.Input[str] catalog_id: The unique ID of the access package catalog. Changing this forces a new resource to be created.
|
|
279
|
-
:param pulumi.Input[str] resource_origin_id: The unique identifier of the resource in the origin system. In the case of an Azure AD group, this is the identifier of the group. Changing this forces a new resource to be created.
|
|
280
|
-
:param pulumi.Input[str] resource_origin_system: The type of the resource in the origin system, such as `SharePointOnline`, `AadApplication` or `AadGroup`. Changing this forces a new resource to be created.
|
|
284
|
+
:param pulumi.Input[_builtins.str] catalog_id: The unique ID of the access package catalog. Changing this forces a new resource to be created.
|
|
285
|
+
:param pulumi.Input[_builtins.str] resource_origin_id: The unique identifier of the resource in the origin system. In the case of an Azure AD group, this is the identifier of the group. Changing this forces a new resource to be created.
|
|
286
|
+
:param pulumi.Input[_builtins.str] resource_origin_system: The type of the resource in the origin system, such as `SharePointOnline`, `AadApplication` or `AadGroup`. Changing this forces a new resource to be created.
|
|
281
287
|
"""
|
|
282
288
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
283
289
|
|
|
@@ -288,25 +294,25 @@ class AccessPackageResourceCatalogAssociation(pulumi.CustomResource):
|
|
|
288
294
|
__props__.__dict__["resource_origin_system"] = resource_origin_system
|
|
289
295
|
return AccessPackageResourceCatalogAssociation(resource_name, opts=opts, __props__=__props__)
|
|
290
296
|
|
|
291
|
-
@property
|
|
297
|
+
@_builtins.property
|
|
292
298
|
@pulumi.getter(name="catalogId")
|
|
293
|
-
def catalog_id(self) -> pulumi.Output[str]:
|
|
299
|
+
def catalog_id(self) -> pulumi.Output[_builtins.str]:
|
|
294
300
|
"""
|
|
295
301
|
The unique ID of the access package catalog. Changing this forces a new resource to be created.
|
|
296
302
|
"""
|
|
297
303
|
return pulumi.get(self, "catalog_id")
|
|
298
304
|
|
|
299
|
-
@property
|
|
305
|
+
@_builtins.property
|
|
300
306
|
@pulumi.getter(name="resourceOriginId")
|
|
301
|
-
def resource_origin_id(self) -> pulumi.Output[str]:
|
|
307
|
+
def resource_origin_id(self) -> pulumi.Output[_builtins.str]:
|
|
302
308
|
"""
|
|
303
309
|
The unique identifier of the resource in the origin system. In the case of an Azure AD group, this is the identifier of the group. Changing this forces a new resource to be created.
|
|
304
310
|
"""
|
|
305
311
|
return pulumi.get(self, "resource_origin_id")
|
|
306
312
|
|
|
307
|
-
@property
|
|
313
|
+
@_builtins.property
|
|
308
314
|
@pulumi.getter(name="resourceOriginSystem")
|
|
309
|
-
def resource_origin_system(self) -> pulumi.Output[str]:
|
|
315
|
+
def resource_origin_system(self) -> pulumi.Output[_builtins.str]:
|
|
310
316
|
"""
|
|
311
317
|
The type of the resource in the origin system, such as `SharePointOnline`, `AadApplication` or `AadGroup`. Changing this forces a new resource to be created.
|
|
312
318
|
"""
|