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__ = ['AccessPackageResourcePackageAssociationArgs', 'AccessPackageResourcePackageAssociation']
|
|
@@ -14,68 +19,68 @@ __all__ = ['AccessPackageResourcePackageAssociationArgs', 'AccessPackageResource
|
|
|
14
19
|
@pulumi.input_type
|
|
15
20
|
class AccessPackageResourcePackageAssociationArgs:
|
|
16
21
|
def __init__(__self__, *,
|
|
17
|
-
access_package_id: pulumi.Input[str],
|
|
18
|
-
catalog_resource_association_id: pulumi.Input[str],
|
|
19
|
-
access_type: Optional[pulumi.Input[str]] = None):
|
|
22
|
+
access_package_id: pulumi.Input[_builtins.str],
|
|
23
|
+
catalog_resource_association_id: pulumi.Input[_builtins.str],
|
|
24
|
+
access_type: Optional[pulumi.Input[_builtins.str]] = None):
|
|
20
25
|
"""
|
|
21
26
|
The set of arguments for constructing a AccessPackageResourcePackageAssociation resource.
|
|
22
|
-
:param pulumi.Input[str] access_package_id: The ID of access package this resource association is configured to. Changing this forces a new resource to be created.
|
|
23
|
-
:param pulumi.Input[str] catalog_resource_association_id: The ID of the catalog association from the `AccessPackageResourceCatalogAssociation` resource. Changing this forces a new resource to be created.
|
|
24
|
-
:param pulumi.Input[str] access_type: The role of access type to the specified resource. Valid values are `Member`, or `Owner` The default is `Member`. Changing this forces a new resource to be created.
|
|
27
|
+
:param pulumi.Input[_builtins.str] access_package_id: The ID of access package this resource association is configured to. Changing this forces a new resource to be created.
|
|
28
|
+
:param pulumi.Input[_builtins.str] catalog_resource_association_id: The ID of the catalog association from the `AccessPackageResourceCatalogAssociation` resource. Changing this forces a new resource to be created.
|
|
29
|
+
:param pulumi.Input[_builtins.str] access_type: The role of access type to the specified resource. Valid values are `Member`, or `Owner` The default is `Member`. Changing this forces a new resource to be created.
|
|
25
30
|
"""
|
|
26
31
|
pulumi.set(__self__, "access_package_id", access_package_id)
|
|
27
32
|
pulumi.set(__self__, "catalog_resource_association_id", catalog_resource_association_id)
|
|
28
33
|
if access_type is not None:
|
|
29
34
|
pulumi.set(__self__, "access_type", access_type)
|
|
30
35
|
|
|
31
|
-
@property
|
|
36
|
+
@_builtins.property
|
|
32
37
|
@pulumi.getter(name="accessPackageId")
|
|
33
|
-
def access_package_id(self) -> pulumi.Input[str]:
|
|
38
|
+
def access_package_id(self) -> pulumi.Input[_builtins.str]:
|
|
34
39
|
"""
|
|
35
40
|
The ID of access package this resource association is configured to. Changing this forces a new resource to be created.
|
|
36
41
|
"""
|
|
37
42
|
return pulumi.get(self, "access_package_id")
|
|
38
43
|
|
|
39
44
|
@access_package_id.setter
|
|
40
|
-
def access_package_id(self, value: pulumi.Input[str]):
|
|
45
|
+
def access_package_id(self, value: pulumi.Input[_builtins.str]):
|
|
41
46
|
pulumi.set(self, "access_package_id", value)
|
|
42
47
|
|
|
43
|
-
@property
|
|
48
|
+
@_builtins.property
|
|
44
49
|
@pulumi.getter(name="catalogResourceAssociationId")
|
|
45
|
-
def catalog_resource_association_id(self) -> pulumi.Input[str]:
|
|
50
|
+
def catalog_resource_association_id(self) -> pulumi.Input[_builtins.str]:
|
|
46
51
|
"""
|
|
47
52
|
The ID of the catalog association from the `AccessPackageResourceCatalogAssociation` resource. Changing this forces a new resource to be created.
|
|
48
53
|
"""
|
|
49
54
|
return pulumi.get(self, "catalog_resource_association_id")
|
|
50
55
|
|
|
51
56
|
@catalog_resource_association_id.setter
|
|
52
|
-
def catalog_resource_association_id(self, value: pulumi.Input[str]):
|
|
57
|
+
def catalog_resource_association_id(self, value: pulumi.Input[_builtins.str]):
|
|
53
58
|
pulumi.set(self, "catalog_resource_association_id", value)
|
|
54
59
|
|
|
55
|
-
@property
|
|
60
|
+
@_builtins.property
|
|
56
61
|
@pulumi.getter(name="accessType")
|
|
57
|
-
def access_type(self) -> Optional[pulumi.Input[str]]:
|
|
62
|
+
def access_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
58
63
|
"""
|
|
59
64
|
The role of access type to the specified resource. Valid values are `Member`, or `Owner` The default is `Member`. Changing this forces a new resource to be created.
|
|
60
65
|
"""
|
|
61
66
|
return pulumi.get(self, "access_type")
|
|
62
67
|
|
|
63
68
|
@access_type.setter
|
|
64
|
-
def access_type(self, value: Optional[pulumi.Input[str]]):
|
|
69
|
+
def access_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
65
70
|
pulumi.set(self, "access_type", value)
|
|
66
71
|
|
|
67
72
|
|
|
68
73
|
@pulumi.input_type
|
|
69
74
|
class _AccessPackageResourcePackageAssociationState:
|
|
70
75
|
def __init__(__self__, *,
|
|
71
|
-
access_package_id: Optional[pulumi.Input[str]] = None,
|
|
72
|
-
access_type: Optional[pulumi.Input[str]] = None,
|
|
73
|
-
catalog_resource_association_id: Optional[pulumi.Input[str]] = None):
|
|
76
|
+
access_package_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
77
|
+
access_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
78
|
+
catalog_resource_association_id: Optional[pulumi.Input[_builtins.str]] = None):
|
|
74
79
|
"""
|
|
75
80
|
Input properties used for looking up and filtering AccessPackageResourcePackageAssociation resources.
|
|
76
|
-
:param pulumi.Input[str] access_package_id: The ID of access package this resource association is configured to. Changing this forces a new resource to be created.
|
|
77
|
-
:param pulumi.Input[str] access_type: The role of access type to the specified resource. Valid values are `Member`, or `Owner` The default is `Member`. Changing this forces a new resource to be created.
|
|
78
|
-
:param pulumi.Input[str] catalog_resource_association_id: The ID of the catalog association from the `AccessPackageResourceCatalogAssociation` resource. Changing this forces a new resource to be created.
|
|
81
|
+
:param pulumi.Input[_builtins.str] access_package_id: The ID of access package this resource association is configured to. Changing this forces a new resource to be created.
|
|
82
|
+
:param pulumi.Input[_builtins.str] access_type: The role of access type to the specified resource. Valid values are `Member`, or `Owner` The default is `Member`. Changing this forces a new resource to be created.
|
|
83
|
+
:param pulumi.Input[_builtins.str] catalog_resource_association_id: The ID of the catalog association from the `AccessPackageResourceCatalogAssociation` resource. Changing this forces a new resource to be created.
|
|
79
84
|
"""
|
|
80
85
|
if access_package_id is not None:
|
|
81
86
|
pulumi.set(__self__, "access_package_id", access_package_id)
|
|
@@ -84,51 +89,52 @@ class _AccessPackageResourcePackageAssociationState:
|
|
|
84
89
|
if catalog_resource_association_id is not None:
|
|
85
90
|
pulumi.set(__self__, "catalog_resource_association_id", catalog_resource_association_id)
|
|
86
91
|
|
|
87
|
-
@property
|
|
92
|
+
@_builtins.property
|
|
88
93
|
@pulumi.getter(name="accessPackageId")
|
|
89
|
-
def access_package_id(self) -> Optional[pulumi.Input[str]]:
|
|
94
|
+
def access_package_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
90
95
|
"""
|
|
91
96
|
The ID of access package this resource association is configured to. Changing this forces a new resource to be created.
|
|
92
97
|
"""
|
|
93
98
|
return pulumi.get(self, "access_package_id")
|
|
94
99
|
|
|
95
100
|
@access_package_id.setter
|
|
96
|
-
def access_package_id(self, value: Optional[pulumi.Input[str]]):
|
|
101
|
+
def access_package_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
97
102
|
pulumi.set(self, "access_package_id", value)
|
|
98
103
|
|
|
99
|
-
@property
|
|
104
|
+
@_builtins.property
|
|
100
105
|
@pulumi.getter(name="accessType")
|
|
101
|
-
def access_type(self) -> Optional[pulumi.Input[str]]:
|
|
106
|
+
def access_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
102
107
|
"""
|
|
103
108
|
The role of access type to the specified resource. Valid values are `Member`, or `Owner` The default is `Member`. Changing this forces a new resource to be created.
|
|
104
109
|
"""
|
|
105
110
|
return pulumi.get(self, "access_type")
|
|
106
111
|
|
|
107
112
|
@access_type.setter
|
|
108
|
-
def access_type(self, value: Optional[pulumi.Input[str]]):
|
|
113
|
+
def access_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
109
114
|
pulumi.set(self, "access_type", value)
|
|
110
115
|
|
|
111
|
-
@property
|
|
116
|
+
@_builtins.property
|
|
112
117
|
@pulumi.getter(name="catalogResourceAssociationId")
|
|
113
|
-
def catalog_resource_association_id(self) -> Optional[pulumi.Input[str]]:
|
|
118
|
+
def catalog_resource_association_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
114
119
|
"""
|
|
115
120
|
The ID of the catalog association from the `AccessPackageResourceCatalogAssociation` resource. Changing this forces a new resource to be created.
|
|
116
121
|
"""
|
|
117
122
|
return pulumi.get(self, "catalog_resource_association_id")
|
|
118
123
|
|
|
119
124
|
@catalog_resource_association_id.setter
|
|
120
|
-
def catalog_resource_association_id(self, value: Optional[pulumi.Input[str]]):
|
|
125
|
+
def catalog_resource_association_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
121
126
|
pulumi.set(self, "catalog_resource_association_id", value)
|
|
122
127
|
|
|
123
128
|
|
|
129
|
+
@pulumi.type_token("azuread:index/accessPackageResourcePackageAssociation:AccessPackageResourcePackageAssociation")
|
|
124
130
|
class AccessPackageResourcePackageAssociation(pulumi.CustomResource):
|
|
125
131
|
@overload
|
|
126
132
|
def __init__(__self__,
|
|
127
133
|
resource_name: str,
|
|
128
134
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
129
|
-
access_package_id: Optional[pulumi.Input[str]] = None,
|
|
130
|
-
access_type: Optional[pulumi.Input[str]] = None,
|
|
131
|
-
catalog_resource_association_id: Optional[pulumi.Input[str]] = None,
|
|
135
|
+
access_package_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
136
|
+
access_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
137
|
+
catalog_resource_association_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
132
138
|
__props__=None):
|
|
133
139
|
"""
|
|
134
140
|
Manages the resources added to access packages within Identity Governance in Azure Active Directory.
|
|
@@ -147,21 +153,21 @@ class AccessPackageResourcePackageAssociation(pulumi.CustomResource):
|
|
|
147
153
|
import pulumi
|
|
148
154
|
import pulumi_azuread as azuread
|
|
149
155
|
|
|
150
|
-
|
|
156
|
+
example = azuread.Group("example",
|
|
151
157
|
display_name="example-group",
|
|
152
158
|
security_enabled=True)
|
|
153
|
-
example_access_package_catalog = azuread.AccessPackageCatalog("
|
|
159
|
+
example_access_package_catalog = azuread.AccessPackageCatalog("example",
|
|
154
160
|
display_name="example-catalog",
|
|
155
161
|
description="Example catalog")
|
|
156
|
-
example_access_package_resource_catalog_association = azuread.AccessPackageResourceCatalogAssociation("
|
|
157
|
-
catalog_id=
|
|
158
|
-
resource_origin_id=
|
|
162
|
+
example_access_package_resource_catalog_association = azuread.AccessPackageResourceCatalogAssociation("example",
|
|
163
|
+
catalog_id=example_catalog["id"],
|
|
164
|
+
resource_origin_id=example_group["objectId"],
|
|
159
165
|
resource_origin_system="AadGroup")
|
|
160
|
-
example_access_package = azuread.AccessPackage("
|
|
166
|
+
example_access_package = azuread.AccessPackage("example",
|
|
161
167
|
display_name="example-package",
|
|
162
168
|
description="Example Package",
|
|
163
|
-
catalog_id=
|
|
164
|
-
example_access_package_resource_package_association = azuread.AccessPackageResourcePackageAssociation("
|
|
169
|
+
catalog_id=example_catalog["id"])
|
|
170
|
+
example_access_package_resource_package_association = azuread.AccessPackageResourcePackageAssociation("example",
|
|
165
171
|
access_package_id=example_access_package.id,
|
|
166
172
|
catalog_resource_association_id=example_access_package_resource_catalog_association.id)
|
|
167
173
|
```
|
|
@@ -171,16 +177,16 @@ class AccessPackageResourcePackageAssociation(pulumi.CustomResource):
|
|
|
171
177
|
The resource and catalog association can be imported using the access package ID, the access package ResourceRoleScope, the resource origin ID, and the access type, e.g.
|
|
172
178
|
|
|
173
179
|
```sh
|
|
174
|
-
|
|
180
|
+
$ pulumi import azuread:index/accessPackageResourcePackageAssociation:AccessPackageResourcePackageAssociation example 00000000-0000-0000-0000-000000000000/11111111-1111-1111-1111-111111111111_22222222-2222-2222-2222-22222222/33333333-3333-3333-3333-33333333/Member
|
|
175
181
|
```
|
|
176
182
|
|
|
177
|
-
|
|
183
|
+
-> This ID format is unique to Terraform and is composed of the Access Package ID, the access package ResourceRoleScope (in the format Role_Scope), the Resource Origin ID, and the Access Type, in the format `{AccessPackageID}/{ResourceRoleScope}/{ResourceOriginID}/{AccessType}`.
|
|
178
184
|
|
|
179
185
|
:param str resource_name: The name of the resource.
|
|
180
186
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
181
|
-
:param pulumi.Input[str] access_package_id: The ID of access package this resource association is configured to. Changing this forces a new resource to be created.
|
|
182
|
-
:param pulumi.Input[str] access_type: The role of access type to the specified resource. Valid values are `Member`, or `Owner` The default is `Member`. Changing this forces a new resource to be created.
|
|
183
|
-
:param pulumi.Input[str] catalog_resource_association_id: The ID of the catalog association from the `AccessPackageResourceCatalogAssociation` resource. Changing this forces a new resource to be created.
|
|
187
|
+
:param pulumi.Input[_builtins.str] access_package_id: The ID of access package this resource association is configured to. Changing this forces a new resource to be created.
|
|
188
|
+
:param pulumi.Input[_builtins.str] access_type: The role of access type to the specified resource. Valid values are `Member`, or `Owner` The default is `Member`. Changing this forces a new resource to be created.
|
|
189
|
+
:param pulumi.Input[_builtins.str] catalog_resource_association_id: The ID of the catalog association from the `AccessPackageResourceCatalogAssociation` resource. Changing this forces a new resource to be created.
|
|
184
190
|
"""
|
|
185
191
|
...
|
|
186
192
|
@overload
|
|
@@ -205,21 +211,21 @@ class AccessPackageResourcePackageAssociation(pulumi.CustomResource):
|
|
|
205
211
|
import pulumi
|
|
206
212
|
import pulumi_azuread as azuread
|
|
207
213
|
|
|
208
|
-
|
|
214
|
+
example = azuread.Group("example",
|
|
209
215
|
display_name="example-group",
|
|
210
216
|
security_enabled=True)
|
|
211
|
-
example_access_package_catalog = azuread.AccessPackageCatalog("
|
|
217
|
+
example_access_package_catalog = azuread.AccessPackageCatalog("example",
|
|
212
218
|
display_name="example-catalog",
|
|
213
219
|
description="Example catalog")
|
|
214
|
-
example_access_package_resource_catalog_association = azuread.AccessPackageResourceCatalogAssociation("
|
|
215
|
-
catalog_id=
|
|
216
|
-
resource_origin_id=
|
|
220
|
+
example_access_package_resource_catalog_association = azuread.AccessPackageResourceCatalogAssociation("example",
|
|
221
|
+
catalog_id=example_catalog["id"],
|
|
222
|
+
resource_origin_id=example_group["objectId"],
|
|
217
223
|
resource_origin_system="AadGroup")
|
|
218
|
-
example_access_package = azuread.AccessPackage("
|
|
224
|
+
example_access_package = azuread.AccessPackage("example",
|
|
219
225
|
display_name="example-package",
|
|
220
226
|
description="Example Package",
|
|
221
|
-
catalog_id=
|
|
222
|
-
example_access_package_resource_package_association = azuread.AccessPackageResourcePackageAssociation("
|
|
227
|
+
catalog_id=example_catalog["id"])
|
|
228
|
+
example_access_package_resource_package_association = azuread.AccessPackageResourcePackageAssociation("example",
|
|
223
229
|
access_package_id=example_access_package.id,
|
|
224
230
|
catalog_resource_association_id=example_access_package_resource_catalog_association.id)
|
|
225
231
|
```
|
|
@@ -229,10 +235,10 @@ class AccessPackageResourcePackageAssociation(pulumi.CustomResource):
|
|
|
229
235
|
The resource and catalog association can be imported using the access package ID, the access package ResourceRoleScope, the resource origin ID, and the access type, e.g.
|
|
230
236
|
|
|
231
237
|
```sh
|
|
232
|
-
|
|
238
|
+
$ pulumi import azuread:index/accessPackageResourcePackageAssociation:AccessPackageResourcePackageAssociation example 00000000-0000-0000-0000-000000000000/11111111-1111-1111-1111-111111111111_22222222-2222-2222-2222-22222222/33333333-3333-3333-3333-33333333/Member
|
|
233
239
|
```
|
|
234
240
|
|
|
235
|
-
|
|
241
|
+
-> This ID format is unique to Terraform and is composed of the Access Package ID, the access package ResourceRoleScope (in the format Role_Scope), the Resource Origin ID, and the Access Type, in the format `{AccessPackageID}/{ResourceRoleScope}/{ResourceOriginID}/{AccessType}`.
|
|
236
242
|
|
|
237
243
|
:param str resource_name: The name of the resource.
|
|
238
244
|
:param AccessPackageResourcePackageAssociationArgs args: The arguments to use to populate this resource's properties.
|
|
@@ -249,9 +255,9 @@ class AccessPackageResourcePackageAssociation(pulumi.CustomResource):
|
|
|
249
255
|
def _internal_init(__self__,
|
|
250
256
|
resource_name: str,
|
|
251
257
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
252
|
-
access_package_id: Optional[pulumi.Input[str]] = None,
|
|
253
|
-
access_type: Optional[pulumi.Input[str]] = None,
|
|
254
|
-
catalog_resource_association_id: Optional[pulumi.Input[str]] = None,
|
|
258
|
+
access_package_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
259
|
+
access_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
260
|
+
catalog_resource_association_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
255
261
|
__props__=None):
|
|
256
262
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
257
263
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -278,9 +284,9 @@ class AccessPackageResourcePackageAssociation(pulumi.CustomResource):
|
|
|
278
284
|
def get(resource_name: str,
|
|
279
285
|
id: pulumi.Input[str],
|
|
280
286
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
281
|
-
access_package_id: Optional[pulumi.Input[str]] = None,
|
|
282
|
-
access_type: Optional[pulumi.Input[str]] = None,
|
|
283
|
-
catalog_resource_association_id: Optional[pulumi.Input[str]] = None) -> 'AccessPackageResourcePackageAssociation':
|
|
287
|
+
access_package_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
288
|
+
access_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
289
|
+
catalog_resource_association_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'AccessPackageResourcePackageAssociation':
|
|
284
290
|
"""
|
|
285
291
|
Get an existing AccessPackageResourcePackageAssociation resource's state with the given name, id, and optional extra
|
|
286
292
|
properties used to qualify the lookup.
|
|
@@ -288,9 +294,9 @@ class AccessPackageResourcePackageAssociation(pulumi.CustomResource):
|
|
|
288
294
|
:param str resource_name: The unique name of the resulting resource.
|
|
289
295
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
290
296
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
291
|
-
:param pulumi.Input[str] access_package_id: The ID of access package this resource association is configured to. Changing this forces a new resource to be created.
|
|
292
|
-
:param pulumi.Input[str] access_type: The role of access type to the specified resource. Valid values are `Member`, or `Owner` The default is `Member`. Changing this forces a new resource to be created.
|
|
293
|
-
:param pulumi.Input[str] catalog_resource_association_id: The ID of the catalog association from the `AccessPackageResourceCatalogAssociation` resource. Changing this forces a new resource to be created.
|
|
297
|
+
:param pulumi.Input[_builtins.str] access_package_id: The ID of access package this resource association is configured to. Changing this forces a new resource to be created.
|
|
298
|
+
:param pulumi.Input[_builtins.str] access_type: The role of access type to the specified resource. Valid values are `Member`, or `Owner` The default is `Member`. Changing this forces a new resource to be created.
|
|
299
|
+
:param pulumi.Input[_builtins.str] catalog_resource_association_id: The ID of the catalog association from the `AccessPackageResourceCatalogAssociation` resource. Changing this forces a new resource to be created.
|
|
294
300
|
"""
|
|
295
301
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
296
302
|
|
|
@@ -301,25 +307,25 @@ class AccessPackageResourcePackageAssociation(pulumi.CustomResource):
|
|
|
301
307
|
__props__.__dict__["catalog_resource_association_id"] = catalog_resource_association_id
|
|
302
308
|
return AccessPackageResourcePackageAssociation(resource_name, opts=opts, __props__=__props__)
|
|
303
309
|
|
|
304
|
-
@property
|
|
310
|
+
@_builtins.property
|
|
305
311
|
@pulumi.getter(name="accessPackageId")
|
|
306
|
-
def access_package_id(self) -> pulumi.Output[str]:
|
|
312
|
+
def access_package_id(self) -> pulumi.Output[_builtins.str]:
|
|
307
313
|
"""
|
|
308
314
|
The ID of access package this resource association is configured to. Changing this forces a new resource to be created.
|
|
309
315
|
"""
|
|
310
316
|
return pulumi.get(self, "access_package_id")
|
|
311
317
|
|
|
312
|
-
@property
|
|
318
|
+
@_builtins.property
|
|
313
319
|
@pulumi.getter(name="accessType")
|
|
314
|
-
def access_type(self) -> pulumi.Output[Optional[str]]:
|
|
320
|
+
def access_type(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
315
321
|
"""
|
|
316
322
|
The role of access type to the specified resource. Valid values are `Member`, or `Owner` The default is `Member`. Changing this forces a new resource to be created.
|
|
317
323
|
"""
|
|
318
324
|
return pulumi.get(self, "access_type")
|
|
319
325
|
|
|
320
|
-
@property
|
|
326
|
+
@_builtins.property
|
|
321
327
|
@pulumi.getter(name="catalogResourceAssociationId")
|
|
322
|
-
def catalog_resource_association_id(self) -> pulumi.Output[str]:
|
|
328
|
+
def catalog_resource_association_id(self) -> pulumi.Output[_builtins.str]:
|
|
323
329
|
"""
|
|
324
330
|
The ID of the catalog association from the `AccessPackageResourceCatalogAssociation` resource. Changing this forces a new resource to be created.
|
|
325
331
|
"""
|