@pulumi/azuread 5.47.0 → 5.47.2
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.
- package/accessPackage.d.ts +4 -4
- package/accessPackage.js +4 -4
- package/accessPackageAssignmentPolicy.d.ts +6 -6
- package/accessPackageAssignmentPolicy.js +6 -6
- package/accessPackageCatalog.d.ts +2 -2
- package/accessPackageCatalog.js +2 -2
- package/accessPackageCatalogRoleAssignment.d.ts +8 -8
- package/accessPackageCatalogRoleAssignment.js +8 -8
- package/accessPackageResourceCatalogAssociation.d.ts +6 -6
- package/accessPackageResourceCatalogAssociation.js +6 -6
- package/accessPackageResourcePackageAssociation.d.ts +9 -9
- package/accessPackageResourcePackageAssociation.js +9 -9
- package/administrativeUnit.d.ts +2 -2
- package/administrativeUnit.js +2 -2
- package/administrativeUnitMember.d.ts +6 -6
- package/administrativeUnitMember.js +6 -6
- package/administrativeUnitRoleMember.d.ts +7 -7
- package/administrativeUnitRoleMember.js +7 -7
- package/appRoleAssignment.d.ts +2 -139
- package/appRoleAssignment.js +2 -139
- package/appRoleAssignment.js.map +1 -1
- package/application.d.ts +11 -9
- package/application.js +11 -9
- package/application.js.map +1 -1
- package/applicationApiAccess.d.ts +4 -5
- package/applicationApiAccess.js +4 -5
- package/applicationApiAccess.js.map +1 -1
- package/applicationAppRole.d.ts +4 -5
- package/applicationAppRole.js +4 -5
- package/applicationAppRole.js.map +1 -1
- package/applicationCertificate.d.ts +102 -1
- package/applicationCertificate.js +102 -1
- package/applicationCertificate.js.map +1 -1
- package/applicationFallbackPublicClient.d.ts +4 -4
- package/applicationFallbackPublicClient.js +4 -4
- package/applicationFederatedIdentityCredential.d.ts +4 -4
- package/applicationFederatedIdentityCredential.js +4 -4
- package/applicationFromTemplate.d.ts +6 -6
- package/applicationFromTemplate.js +6 -6
- package/applicationIdentifierUri.d.ts +6 -7
- package/applicationIdentifierUri.js +6 -7
- package/applicationIdentifierUri.js.map +1 -1
- package/applicationKnownClients.d.ts +4 -4
- package/applicationKnownClients.js +4 -4
- package/applicationOptionalClaims.d.ts +4 -4
- package/applicationOptionalClaims.js +4 -4
- package/applicationOwner.d.ts +2 -2
- package/applicationOwner.js +2 -2
- package/applicationPassword.d.ts +6 -6
- package/applicationPassword.js +6 -6
- package/applicationPermissionScope.d.ts +7 -8
- package/applicationPermissionScope.js +7 -8
- package/applicationPermissionScope.js.map +1 -1
- package/applicationPreAuthorized.d.ts +1 -1
- package/applicationPreAuthorized.js +1 -1
- package/applicationRedirectUris.d.ts +4 -4
- package/applicationRedirectUris.js +4 -4
- package/applicationRegistration.d.ts +3 -3
- package/applicationRegistration.js +3 -3
- package/authenticationStrengthPolicy.d.ts +5 -5
- package/authenticationStrengthPolicy.js +5 -5
- package/claimsMappingPolicy.d.ts +12 -12
- package/claimsMappingPolicy.js +12 -12
- package/conditionalAccessPolicy.d.ts +12 -12
- package/conditionalAccessPolicy.js +12 -12
- package/config/vars.d.ts +0 -3
- package/config/vars.js.map +1 -1
- package/customDirectoryRole.d.ts +2 -2
- package/customDirectoryRole.js +2 -2
- package/directoryRoleAssignment.d.ts +71 -1
- package/directoryRoleAssignment.js +71 -1
- package/directoryRoleAssignment.js.map +1 -1
- package/directoryRoleEligibilityScheduleRequest.d.ts +6 -6
- package/directoryRoleEligibilityScheduleRequest.js +6 -6
- package/directoryRoleMember.d.ts +6 -6
- package/directoryRoleMember.js +6 -6
- package/getApplicationPublishedAppIds.d.ts +0 -12
- package/getApplicationPublishedAppIds.js +0 -12
- package/getApplicationPublishedAppIds.js.map +1 -1
- package/getUser.d.ts +2 -2
- package/getUser.js +2 -2
- package/getUsers.d.ts +4 -4
- package/getUsers.js +4 -4
- package/group.d.ts +1 -1
- package/group.js +1 -1
- package/groupMember.d.ts +6 -6
- package/groupMember.js +6 -6
- package/invitation.d.ts +7 -7
- package/invitation.js +7 -7
- package/namedLocation.d.ts +2 -2
- package/namedLocation.js +2 -2
- package/package.json +1 -1
- package/servicePrincipal.d.ts +12 -12
- package/servicePrincipal.js +12 -12
- package/servicePrincipalCertificate.d.ts +44 -1
- package/servicePrincipalCertificate.js +44 -1
- package/servicePrincipalCertificate.js.map +1 -1
- package/servicePrincipalClaimsMappingPolicyAssignment.d.ts +4 -4
- package/servicePrincipalClaimsMappingPolicyAssignment.js +4 -4
- package/servicePrincipalDelegatedPermissionGrant.d.ts +13 -13
- package/servicePrincipalDelegatedPermissionGrant.js +13 -13
- package/servicePrincipalPassword.d.ts +7 -7
- package/servicePrincipalPassword.js +7 -7
- package/servicePrincipalTokenSigningCertificate.d.ts +7 -7
- package/servicePrincipalTokenSigningCertificate.js +7 -7
- package/synchronizationJob.d.ts +7 -7
- package/synchronizationJob.js +7 -7
- package/synchronizationSecret.d.ts +5 -5
- package/synchronizationSecret.js +5 -5
- package/types/input.d.ts +28 -0
- package/types/output.d.ts +45 -0
- package/user.d.ts +2 -2
- package/user.js +2 -2
- package/userFlowAttribute.d.ts +3 -3
- package/userFlowAttribute.js +3 -3
package/accessPackage.d.ts
CHANGED
|
@@ -16,12 +16,12 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
16
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
17
|
* import * as azuread from "@pulumi/azuread";
|
|
18
18
|
*
|
|
19
|
-
* const
|
|
19
|
+
* const example = new azuread.AccessPackageCatalog("example", {
|
|
20
20
|
* displayName: "example-catalog",
|
|
21
21
|
* description: "Example catalog",
|
|
22
22
|
* });
|
|
23
|
-
* const exampleAccessPackage = new azuread.AccessPackage("
|
|
24
|
-
* catalogId:
|
|
23
|
+
* const exampleAccessPackage = new azuread.AccessPackage("example", {
|
|
24
|
+
* catalogId: example.id,
|
|
25
25
|
* displayName: "access-package",
|
|
26
26
|
* description: "Access Package",
|
|
27
27
|
* });
|
|
@@ -32,7 +32,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
32
32
|
* Access Packages can be imported using the `id`, e.g.
|
|
33
33
|
*
|
|
34
34
|
* ```sh
|
|
35
|
-
*
|
|
35
|
+
* $ pulumi import azuread:index/accessPackage:AccessPackage example_package 00000000-0000-0000-0000-000000000000
|
|
36
36
|
* ```
|
|
37
37
|
*/
|
|
38
38
|
export declare class AccessPackage extends pulumi.CustomResource {
|
package/accessPackage.js
CHANGED
|
@@ -22,12 +22,12 @@ const utilities = require("./utilities");
|
|
|
22
22
|
* import * as pulumi from "@pulumi/pulumi";
|
|
23
23
|
* import * as azuread from "@pulumi/azuread";
|
|
24
24
|
*
|
|
25
|
-
* const
|
|
25
|
+
* const example = new azuread.AccessPackageCatalog("example", {
|
|
26
26
|
* displayName: "example-catalog",
|
|
27
27
|
* description: "Example catalog",
|
|
28
28
|
* });
|
|
29
|
-
* const exampleAccessPackage = new azuread.AccessPackage("
|
|
30
|
-
* catalogId:
|
|
29
|
+
* const exampleAccessPackage = new azuread.AccessPackage("example", {
|
|
30
|
+
* catalogId: example.id,
|
|
31
31
|
* displayName: "access-package",
|
|
32
32
|
* description: "Access Package",
|
|
33
33
|
* });
|
|
@@ -38,7 +38,7 @@ const utilities = require("./utilities");
|
|
|
38
38
|
* Access Packages can be imported using the `id`, e.g.
|
|
39
39
|
*
|
|
40
40
|
* ```sh
|
|
41
|
-
*
|
|
41
|
+
* $ pulumi import azuread:index/accessPackage:AccessPackage example_package 00000000-0000-0000-0000-000000000000
|
|
42
42
|
* ```
|
|
43
43
|
*/
|
|
44
44
|
class AccessPackage extends pulumi.CustomResource {
|
|
@@ -18,20 +18,20 @@ import * as outputs from "./types/output";
|
|
|
18
18
|
* import * as pulumi from "@pulumi/pulumi";
|
|
19
19
|
* import * as azuread from "@pulumi/azuread";
|
|
20
20
|
*
|
|
21
|
-
* const
|
|
21
|
+
* const example = new azuread.Group("example", {
|
|
22
22
|
* displayName: "group-name",
|
|
23
23
|
* securityEnabled: true,
|
|
24
24
|
* });
|
|
25
|
-
* const exampleAccessPackageCatalog = new azuread.AccessPackageCatalog("
|
|
25
|
+
* const exampleAccessPackageCatalog = new azuread.AccessPackageCatalog("example", {
|
|
26
26
|
* displayName: "example-catalog",
|
|
27
27
|
* description: "Example catalog",
|
|
28
28
|
* });
|
|
29
|
-
* const exampleAccessPackage = new azuread.AccessPackage("
|
|
29
|
+
* const exampleAccessPackage = new azuread.AccessPackage("example", {
|
|
30
30
|
* catalogId: exampleAccessPackageCatalog.id,
|
|
31
31
|
* displayName: "access-package",
|
|
32
32
|
* description: "Access Package",
|
|
33
33
|
* });
|
|
34
|
-
* const exampleAccessPackageAssignmentPolicy = new azuread.AccessPackageAssignmentPolicy("
|
|
34
|
+
* const exampleAccessPackageAssignmentPolicy = new azuread.AccessPackageAssignmentPolicy("example", {
|
|
35
35
|
* accessPackageId: exampleAccessPackage.id,
|
|
36
36
|
* displayName: "assignment-policy",
|
|
37
37
|
* description: "My assignment policy",
|
|
@@ -44,7 +44,7 @@ import * as outputs from "./types/output";
|
|
|
44
44
|
* approvalStages: [{
|
|
45
45
|
* approvalTimeoutInDays: 14,
|
|
46
46
|
* primaryApprovers: [{
|
|
47
|
-
* objectId:
|
|
47
|
+
* objectId: example.objectId,
|
|
48
48
|
* subjectType: "groupMembers",
|
|
49
49
|
* }],
|
|
50
50
|
* }],
|
|
@@ -69,7 +69,7 @@ import * as outputs from "./types/output";
|
|
|
69
69
|
* An access package assignment policy can be imported using the ID, e.g.
|
|
70
70
|
*
|
|
71
71
|
* ```sh
|
|
72
|
-
*
|
|
72
|
+
* $ pulumi import azuread:index/accessPackageAssignmentPolicy:AccessPackageAssignmentPolicy example 00000000-0000-0000-0000-000000000000
|
|
73
73
|
* ```
|
|
74
74
|
*/
|
|
75
75
|
export declare class AccessPackageAssignmentPolicy extends pulumi.CustomResource {
|
|
@@ -22,20 +22,20 @@ const utilities = require("./utilities");
|
|
|
22
22
|
* import * as pulumi from "@pulumi/pulumi";
|
|
23
23
|
* import * as azuread from "@pulumi/azuread";
|
|
24
24
|
*
|
|
25
|
-
* const
|
|
25
|
+
* const example = new azuread.Group("example", {
|
|
26
26
|
* displayName: "group-name",
|
|
27
27
|
* securityEnabled: true,
|
|
28
28
|
* });
|
|
29
|
-
* const exampleAccessPackageCatalog = new azuread.AccessPackageCatalog("
|
|
29
|
+
* const exampleAccessPackageCatalog = new azuread.AccessPackageCatalog("example", {
|
|
30
30
|
* displayName: "example-catalog",
|
|
31
31
|
* description: "Example catalog",
|
|
32
32
|
* });
|
|
33
|
-
* const exampleAccessPackage = new azuread.AccessPackage("
|
|
33
|
+
* const exampleAccessPackage = new azuread.AccessPackage("example", {
|
|
34
34
|
* catalogId: exampleAccessPackageCatalog.id,
|
|
35
35
|
* displayName: "access-package",
|
|
36
36
|
* description: "Access Package",
|
|
37
37
|
* });
|
|
38
|
-
* const exampleAccessPackageAssignmentPolicy = new azuread.AccessPackageAssignmentPolicy("
|
|
38
|
+
* const exampleAccessPackageAssignmentPolicy = new azuread.AccessPackageAssignmentPolicy("example", {
|
|
39
39
|
* accessPackageId: exampleAccessPackage.id,
|
|
40
40
|
* displayName: "assignment-policy",
|
|
41
41
|
* description: "My assignment policy",
|
|
@@ -48,7 +48,7 @@ const utilities = require("./utilities");
|
|
|
48
48
|
* approvalStages: [{
|
|
49
49
|
* approvalTimeoutInDays: 14,
|
|
50
50
|
* primaryApprovers: [{
|
|
51
|
-
* objectId:
|
|
51
|
+
* objectId: example.objectId,
|
|
52
52
|
* subjectType: "groupMembers",
|
|
53
53
|
* }],
|
|
54
54
|
* }],
|
|
@@ -73,7 +73,7 @@ const utilities = require("./utilities");
|
|
|
73
73
|
* An access package assignment policy can be imported using the ID, e.g.
|
|
74
74
|
*
|
|
75
75
|
* ```sh
|
|
76
|
-
*
|
|
76
|
+
* $ pulumi import azuread:index/accessPackageAssignmentPolicy:AccessPackageAssignmentPolicy example 00000000-0000-0000-0000-000000000000
|
|
77
77
|
* ```
|
|
78
78
|
*/
|
|
79
79
|
class AccessPackageAssignmentPolicy extends pulumi.CustomResource {
|
|
@@ -17,8 +17,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
17
17
|
* import * as azuread from "@pulumi/azuread";
|
|
18
18
|
*
|
|
19
19
|
* const example = new azuread.AccessPackageCatalog("example", {
|
|
20
|
-
* description: "Example access package catalog",
|
|
21
20
|
* displayName: "example-access-package-catalog",
|
|
21
|
+
* description: "Example access package catalog",
|
|
22
22
|
* });
|
|
23
23
|
* ```
|
|
24
24
|
*
|
|
@@ -27,7 +27,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
27
27
|
* An Access Package Catalog can be imported using the `id`, e.g.
|
|
28
28
|
*
|
|
29
29
|
* ```sh
|
|
30
|
-
*
|
|
30
|
+
* $ pulumi import azuread:index/accessPackageCatalog:AccessPackageCatalog example 00000000-0000-0000-0000-000000000000
|
|
31
31
|
* ```
|
|
32
32
|
*/
|
|
33
33
|
export declare class AccessPackageCatalog extends pulumi.CustomResource {
|
package/accessPackageCatalog.js
CHANGED
|
@@ -23,8 +23,8 @@ const utilities = require("./utilities");
|
|
|
23
23
|
* import * as azuread from "@pulumi/azuread";
|
|
24
24
|
*
|
|
25
25
|
* const example = new azuread.AccessPackageCatalog("example", {
|
|
26
|
-
* description: "Example access package catalog",
|
|
27
26
|
* displayName: "example-access-package-catalog",
|
|
27
|
+
* description: "Example access package catalog",
|
|
28
28
|
* });
|
|
29
29
|
* ```
|
|
30
30
|
*
|
|
@@ -33,7 +33,7 @@ const utilities = require("./utilities");
|
|
|
33
33
|
* An Access Package Catalog can be imported using the `id`, e.g.
|
|
34
34
|
*
|
|
35
35
|
* ```sh
|
|
36
|
-
*
|
|
36
|
+
* $ pulumi import azuread:index/accessPackageCatalog:AccessPackageCatalog example 00000000-0000-0000-0000-000000000000
|
|
37
37
|
* ```
|
|
38
38
|
*/
|
|
39
39
|
class AccessPackageCatalog extends pulumi.CustomResource {
|
|
@@ -16,19 +16,19 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
16
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
17
|
* import * as azuread from "@pulumi/azuread";
|
|
18
18
|
*
|
|
19
|
-
* const
|
|
20
|
-
* userPrincipalName: "jdoe@
|
|
19
|
+
* const example = azuread.getUser({
|
|
20
|
+
* userPrincipalName: "jdoe@example.com",
|
|
21
21
|
* });
|
|
22
|
-
* const
|
|
22
|
+
* const exampleGetAccessPackageCatalogRole = azuread.getAccessPackageCatalogRole({
|
|
23
23
|
* displayName: "Catalog owner",
|
|
24
24
|
* });
|
|
25
|
-
* const exampleAccessPackageCatalog = new azuread.AccessPackageCatalog("
|
|
25
|
+
* const exampleAccessPackageCatalog = new azuread.AccessPackageCatalog("example", {
|
|
26
26
|
* displayName: "example-access-package-catalog",
|
|
27
27
|
* description: "Example access package catalog",
|
|
28
28
|
* });
|
|
29
|
-
* const exampleAccessPackageCatalogRoleAssignment = new azuread.AccessPackageCatalogRoleAssignment("
|
|
30
|
-
* roleId:
|
|
31
|
-
* principalObjectId:
|
|
29
|
+
* const exampleAccessPackageCatalogRoleAssignment = new azuread.AccessPackageCatalogRoleAssignment("example", {
|
|
30
|
+
* roleId: exampleGetAccessPackageCatalogRole.then(exampleGetAccessPackageCatalogRole => exampleGetAccessPackageCatalogRole.objectId),
|
|
31
|
+
* principalObjectId: example.then(example => example.objectId),
|
|
32
32
|
* catalogId: exampleAccessPackageCatalog.id,
|
|
33
33
|
* });
|
|
34
34
|
* ```
|
|
@@ -38,7 +38,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
38
38
|
* Catalog role assignments can be imported using the ID of the assignment, e.g.
|
|
39
39
|
*
|
|
40
40
|
* ```sh
|
|
41
|
-
*
|
|
41
|
+
* $ pulumi import azuread:index/accessPackageCatalogRoleAssignment:AccessPackageCatalogRoleAssignment example 00000000-0000-0000-0000-000000000000
|
|
42
42
|
* ```
|
|
43
43
|
*/
|
|
44
44
|
export declare class AccessPackageCatalogRoleAssignment extends pulumi.CustomResource {
|
|
@@ -22,19 +22,19 @@ const utilities = require("./utilities");
|
|
|
22
22
|
* import * as pulumi from "@pulumi/pulumi";
|
|
23
23
|
* import * as azuread from "@pulumi/azuread";
|
|
24
24
|
*
|
|
25
|
-
* const
|
|
26
|
-
* userPrincipalName: "jdoe@
|
|
25
|
+
* const example = azuread.getUser({
|
|
26
|
+
* userPrincipalName: "jdoe@example.com",
|
|
27
27
|
* });
|
|
28
|
-
* const
|
|
28
|
+
* const exampleGetAccessPackageCatalogRole = azuread.getAccessPackageCatalogRole({
|
|
29
29
|
* displayName: "Catalog owner",
|
|
30
30
|
* });
|
|
31
|
-
* const exampleAccessPackageCatalog = new azuread.AccessPackageCatalog("
|
|
31
|
+
* const exampleAccessPackageCatalog = new azuread.AccessPackageCatalog("example", {
|
|
32
32
|
* displayName: "example-access-package-catalog",
|
|
33
33
|
* description: "Example access package catalog",
|
|
34
34
|
* });
|
|
35
|
-
* const exampleAccessPackageCatalogRoleAssignment = new azuread.AccessPackageCatalogRoleAssignment("
|
|
36
|
-
* roleId:
|
|
37
|
-
* principalObjectId:
|
|
35
|
+
* const exampleAccessPackageCatalogRoleAssignment = new azuread.AccessPackageCatalogRoleAssignment("example", {
|
|
36
|
+
* roleId: exampleGetAccessPackageCatalogRole.then(exampleGetAccessPackageCatalogRole => exampleGetAccessPackageCatalogRole.objectId),
|
|
37
|
+
* principalObjectId: example.then(example => example.objectId),
|
|
38
38
|
* catalogId: exampleAccessPackageCatalog.id,
|
|
39
39
|
* });
|
|
40
40
|
* ```
|
|
@@ -44,7 +44,7 @@ const utilities = require("./utilities");
|
|
|
44
44
|
* Catalog role assignments can be imported using the ID of the assignment, e.g.
|
|
45
45
|
*
|
|
46
46
|
* ```sh
|
|
47
|
-
*
|
|
47
|
+
* $ pulumi import azuread:index/accessPackageCatalogRoleAssignment:AccessPackageCatalogRoleAssignment example 00000000-0000-0000-0000-000000000000
|
|
48
48
|
* ```
|
|
49
49
|
*/
|
|
50
50
|
class AccessPackageCatalogRoleAssignment extends pulumi.CustomResource {
|
|
@@ -16,17 +16,17 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
16
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
17
|
* import * as azuread from "@pulumi/azuread";
|
|
18
18
|
*
|
|
19
|
-
* const
|
|
19
|
+
* const example = new azuread.Group("example", {
|
|
20
20
|
* displayName: "example-group",
|
|
21
21
|
* securityEnabled: true,
|
|
22
22
|
* });
|
|
23
|
-
* const exampleAccessPackageCatalog = new azuread.AccessPackageCatalog("
|
|
23
|
+
* const exampleAccessPackageCatalog = new azuread.AccessPackageCatalog("example", {
|
|
24
24
|
* displayName: "example-catalog",
|
|
25
25
|
* description: "Example catalog",
|
|
26
26
|
* });
|
|
27
|
-
* const exampleAccessPackageResourceCatalogAssociation = new azuread.AccessPackageResourceCatalogAssociation("
|
|
28
|
-
* catalogId:
|
|
29
|
-
* resourceOriginId:
|
|
27
|
+
* const exampleAccessPackageResourceCatalogAssociation = new azuread.AccessPackageResourceCatalogAssociation("example", {
|
|
28
|
+
* catalogId: exampleCatalog.id,
|
|
29
|
+
* resourceOriginId: exampleGroup.objectId,
|
|
30
30
|
* resourceOriginSystem: "AadGroup",
|
|
31
31
|
* });
|
|
32
32
|
* ```
|
|
@@ -36,7 +36,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
36
36
|
* The resource and catalog association can be imported using the catalog ID and the resource origin ID, e.g.
|
|
37
37
|
*
|
|
38
38
|
* ```sh
|
|
39
|
-
*
|
|
39
|
+
* $ pulumi import azuread:index/accessPackageResourceCatalogAssociation:AccessPackageResourceCatalogAssociation example 00000000-0000-0000-0000-000000000000/11111111-1111-1111-1111-111111111111
|
|
40
40
|
* ```
|
|
41
41
|
*
|
|
42
42
|
* -> This ID format is unique to Terraform and is composed of the Catalog ID and the Resource Origin ID in the format `{CatalogID}/{ResourceOriginID}`.
|
|
@@ -22,17 +22,17 @@ const utilities = require("./utilities");
|
|
|
22
22
|
* import * as pulumi from "@pulumi/pulumi";
|
|
23
23
|
* import * as azuread from "@pulumi/azuread";
|
|
24
24
|
*
|
|
25
|
-
* const
|
|
25
|
+
* const example = new azuread.Group("example", {
|
|
26
26
|
* displayName: "example-group",
|
|
27
27
|
* securityEnabled: true,
|
|
28
28
|
* });
|
|
29
|
-
* const exampleAccessPackageCatalog = new azuread.AccessPackageCatalog("
|
|
29
|
+
* const exampleAccessPackageCatalog = new azuread.AccessPackageCatalog("example", {
|
|
30
30
|
* displayName: "example-catalog",
|
|
31
31
|
* description: "Example catalog",
|
|
32
32
|
* });
|
|
33
|
-
* const exampleAccessPackageResourceCatalogAssociation = new azuread.AccessPackageResourceCatalogAssociation("
|
|
34
|
-
* catalogId:
|
|
35
|
-
* resourceOriginId:
|
|
33
|
+
* const exampleAccessPackageResourceCatalogAssociation = new azuread.AccessPackageResourceCatalogAssociation("example", {
|
|
34
|
+
* catalogId: exampleCatalog.id,
|
|
35
|
+
* resourceOriginId: exampleGroup.objectId,
|
|
36
36
|
* resourceOriginSystem: "AadGroup",
|
|
37
37
|
* });
|
|
38
38
|
* ```
|
|
@@ -42,7 +42,7 @@ const utilities = require("./utilities");
|
|
|
42
42
|
* The resource and catalog association can be imported using the catalog ID and the resource origin ID, e.g.
|
|
43
43
|
*
|
|
44
44
|
* ```sh
|
|
45
|
-
*
|
|
45
|
+
* $ pulumi import azuread:index/accessPackageResourceCatalogAssociation:AccessPackageResourceCatalogAssociation example 00000000-0000-0000-0000-000000000000/11111111-1111-1111-1111-111111111111
|
|
46
46
|
* ```
|
|
47
47
|
*
|
|
48
48
|
* -> This ID format is unique to Terraform and is composed of the Catalog ID and the Resource Origin ID in the format `{CatalogID}/{ResourceOriginID}`.
|
|
@@ -16,25 +16,25 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
16
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
17
|
* import * as azuread from "@pulumi/azuread";
|
|
18
18
|
*
|
|
19
|
-
* const
|
|
19
|
+
* const example = new azuread.Group("example", {
|
|
20
20
|
* displayName: "example-group",
|
|
21
21
|
* securityEnabled: true,
|
|
22
22
|
* });
|
|
23
|
-
* const exampleAccessPackageCatalog = new azuread.AccessPackageCatalog("
|
|
23
|
+
* const exampleAccessPackageCatalog = new azuread.AccessPackageCatalog("example", {
|
|
24
24
|
* displayName: "example-catalog",
|
|
25
25
|
* description: "Example catalog",
|
|
26
26
|
* });
|
|
27
|
-
* const exampleAccessPackageResourceCatalogAssociation = new azuread.AccessPackageResourceCatalogAssociation("
|
|
28
|
-
* catalogId:
|
|
29
|
-
* resourceOriginId:
|
|
27
|
+
* const exampleAccessPackageResourceCatalogAssociation = new azuread.AccessPackageResourceCatalogAssociation("example", {
|
|
28
|
+
* catalogId: exampleCatalog.id,
|
|
29
|
+
* resourceOriginId: exampleGroup.objectId,
|
|
30
30
|
* resourceOriginSystem: "AadGroup",
|
|
31
31
|
* });
|
|
32
|
-
* const exampleAccessPackage = new azuread.AccessPackage("
|
|
32
|
+
* const exampleAccessPackage = new azuread.AccessPackage("example", {
|
|
33
33
|
* displayName: "example-package",
|
|
34
34
|
* description: "Example Package",
|
|
35
|
-
* catalogId:
|
|
35
|
+
* catalogId: exampleCatalog.id,
|
|
36
36
|
* });
|
|
37
|
-
* const exampleAccessPackageResourcePackageAssociation = new azuread.AccessPackageResourcePackageAssociation("
|
|
37
|
+
* const exampleAccessPackageResourcePackageAssociation = new azuread.AccessPackageResourcePackageAssociation("example", {
|
|
38
38
|
* accessPackageId: exampleAccessPackage.id,
|
|
39
39
|
* catalogResourceAssociationId: exampleAccessPackageResourceCatalogAssociation.id,
|
|
40
40
|
* });
|
|
@@ -45,7 +45,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
45
45
|
* 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.
|
|
46
46
|
*
|
|
47
47
|
* ```sh
|
|
48
|
-
*
|
|
48
|
+
* $ 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
|
|
49
49
|
* ```
|
|
50
50
|
*
|
|
51
51
|
* -> 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}`.
|
|
@@ -22,25 +22,25 @@ const utilities = require("./utilities");
|
|
|
22
22
|
* import * as pulumi from "@pulumi/pulumi";
|
|
23
23
|
* import * as azuread from "@pulumi/azuread";
|
|
24
24
|
*
|
|
25
|
-
* const
|
|
25
|
+
* const example = new azuread.Group("example", {
|
|
26
26
|
* displayName: "example-group",
|
|
27
27
|
* securityEnabled: true,
|
|
28
28
|
* });
|
|
29
|
-
* const exampleAccessPackageCatalog = new azuread.AccessPackageCatalog("
|
|
29
|
+
* const exampleAccessPackageCatalog = new azuread.AccessPackageCatalog("example", {
|
|
30
30
|
* displayName: "example-catalog",
|
|
31
31
|
* description: "Example catalog",
|
|
32
32
|
* });
|
|
33
|
-
* const exampleAccessPackageResourceCatalogAssociation = new azuread.AccessPackageResourceCatalogAssociation("
|
|
34
|
-
* catalogId:
|
|
35
|
-
* resourceOriginId:
|
|
33
|
+
* const exampleAccessPackageResourceCatalogAssociation = new azuread.AccessPackageResourceCatalogAssociation("example", {
|
|
34
|
+
* catalogId: exampleCatalog.id,
|
|
35
|
+
* resourceOriginId: exampleGroup.objectId,
|
|
36
36
|
* resourceOriginSystem: "AadGroup",
|
|
37
37
|
* });
|
|
38
|
-
* const exampleAccessPackage = new azuread.AccessPackage("
|
|
38
|
+
* const exampleAccessPackage = new azuread.AccessPackage("example", {
|
|
39
39
|
* displayName: "example-package",
|
|
40
40
|
* description: "Example Package",
|
|
41
|
-
* catalogId:
|
|
41
|
+
* catalogId: exampleCatalog.id,
|
|
42
42
|
* });
|
|
43
|
-
* const exampleAccessPackageResourcePackageAssociation = new azuread.AccessPackageResourcePackageAssociation("
|
|
43
|
+
* const exampleAccessPackageResourcePackageAssociation = new azuread.AccessPackageResourcePackageAssociation("example", {
|
|
44
44
|
* accessPackageId: exampleAccessPackage.id,
|
|
45
45
|
* catalogResourceAssociationId: exampleAccessPackageResourceCatalogAssociation.id,
|
|
46
46
|
* });
|
|
@@ -51,7 +51,7 @@ const utilities = require("./utilities");
|
|
|
51
51
|
* 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.
|
|
52
52
|
*
|
|
53
53
|
* ```sh
|
|
54
|
-
*
|
|
54
|
+
* $ 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
|
|
55
55
|
* ```
|
|
56
56
|
*
|
|
57
57
|
* -> 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}`.
|
package/administrativeUnit.d.ts
CHANGED
|
@@ -17,8 +17,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
17
17
|
* import * as azuread from "@pulumi/azuread";
|
|
18
18
|
*
|
|
19
19
|
* const example = new azuread.AdministrativeUnit("example", {
|
|
20
|
-
* description: "Just an example",
|
|
21
20
|
* displayName: "Example-AU",
|
|
21
|
+
* description: "Just an example",
|
|
22
22
|
* hiddenMembershipEnabled: false,
|
|
23
23
|
* });
|
|
24
24
|
* ```
|
|
@@ -28,7 +28,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
28
28
|
* Administrative units can be imported using their object ID, e.g.
|
|
29
29
|
*
|
|
30
30
|
* ```sh
|
|
31
|
-
*
|
|
31
|
+
* $ pulumi import azuread:index/administrativeUnit:AdministrativeUnit example 00000000-0000-0000-0000-000000000000
|
|
32
32
|
* ```
|
|
33
33
|
*/
|
|
34
34
|
export declare class AdministrativeUnit extends pulumi.CustomResource {
|
package/administrativeUnit.js
CHANGED
|
@@ -23,8 +23,8 @@ const utilities = require("./utilities");
|
|
|
23
23
|
* import * as azuread from "@pulumi/azuread";
|
|
24
24
|
*
|
|
25
25
|
* const example = new azuread.AdministrativeUnit("example", {
|
|
26
|
-
* description: "Just an example",
|
|
27
26
|
* displayName: "Example-AU",
|
|
27
|
+
* description: "Just an example",
|
|
28
28
|
* hiddenMembershipEnabled: false,
|
|
29
29
|
* });
|
|
30
30
|
* ```
|
|
@@ -34,7 +34,7 @@ const utilities = require("./utilities");
|
|
|
34
34
|
* Administrative units can be imported using their object ID, e.g.
|
|
35
35
|
*
|
|
36
36
|
* ```sh
|
|
37
|
-
*
|
|
37
|
+
* $ pulumi import azuread:index/administrativeUnit:AdministrativeUnit example 00000000-0000-0000-0000-000000000000
|
|
38
38
|
* ```
|
|
39
39
|
*/
|
|
40
40
|
class AdministrativeUnit extends pulumi.CustomResource {
|
|
@@ -18,13 +18,13 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
18
18
|
* import * as pulumi from "@pulumi/pulumi";
|
|
19
19
|
* import * as azuread from "@pulumi/azuread";
|
|
20
20
|
*
|
|
21
|
-
* const
|
|
22
|
-
* userPrincipalName: "jdoe@
|
|
21
|
+
* const example = azuread.getUser({
|
|
22
|
+
* userPrincipalName: "jdoe@example.com",
|
|
23
23
|
* });
|
|
24
|
-
* const exampleAdministrativeUnit = new azuread.AdministrativeUnit("
|
|
25
|
-
* const exampleAdministrativeUnitMember = new azuread.AdministrativeUnitMember("
|
|
24
|
+
* const exampleAdministrativeUnit = new azuread.AdministrativeUnit("example", {displayName: "Example-AU"});
|
|
25
|
+
* const exampleAdministrativeUnitMember = new azuread.AdministrativeUnitMember("example", {
|
|
26
26
|
* administrativeUnitObjectId: exampleAdministrativeUnit.id,
|
|
27
|
-
* memberObjectId:
|
|
27
|
+
* memberObjectId: example.then(example => example.id),
|
|
28
28
|
* });
|
|
29
29
|
* ```
|
|
30
30
|
*
|
|
@@ -33,7 +33,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
33
33
|
* Administrative unit members can be imported using the object ID of the administrative unit and the object ID of the member, e.g.
|
|
34
34
|
*
|
|
35
35
|
* ```sh
|
|
36
|
-
*
|
|
36
|
+
* $ pulumi import azuread:index/administrativeUnitMember:AdministrativeUnitMember example 00000000-0000-0000-0000-000000000000/member/11111111-1111-1111-1111-111111111111
|
|
37
37
|
* ```
|
|
38
38
|
*
|
|
39
39
|
* -> This ID format is unique to Terraform and is composed of the Administrative Unit Object ID and the target Member Object ID in the format `{AdministrativeUnitObjectID}/member/{MemberObjectID}`.
|
|
@@ -24,13 +24,13 @@ const utilities = require("./utilities");
|
|
|
24
24
|
* import * as pulumi from "@pulumi/pulumi";
|
|
25
25
|
* import * as azuread from "@pulumi/azuread";
|
|
26
26
|
*
|
|
27
|
-
* const
|
|
28
|
-
* userPrincipalName: "jdoe@
|
|
27
|
+
* const example = azuread.getUser({
|
|
28
|
+
* userPrincipalName: "jdoe@example.com",
|
|
29
29
|
* });
|
|
30
|
-
* const exampleAdministrativeUnit = new azuread.AdministrativeUnit("
|
|
31
|
-
* const exampleAdministrativeUnitMember = new azuread.AdministrativeUnitMember("
|
|
30
|
+
* const exampleAdministrativeUnit = new azuread.AdministrativeUnit("example", {displayName: "Example-AU"});
|
|
31
|
+
* const exampleAdministrativeUnitMember = new azuread.AdministrativeUnitMember("example", {
|
|
32
32
|
* administrativeUnitObjectId: exampleAdministrativeUnit.id,
|
|
33
|
-
* memberObjectId:
|
|
33
|
+
* memberObjectId: example.then(example => example.id),
|
|
34
34
|
* });
|
|
35
35
|
* ```
|
|
36
36
|
*
|
|
@@ -39,7 +39,7 @@ const utilities = require("./utilities");
|
|
|
39
39
|
* Administrative unit members can be imported using the object ID of the administrative unit and the object ID of the member, e.g.
|
|
40
40
|
*
|
|
41
41
|
* ```sh
|
|
42
|
-
*
|
|
42
|
+
* $ pulumi import azuread:index/administrativeUnitMember:AdministrativeUnitMember example 00000000-0000-0000-0000-000000000000/member/11111111-1111-1111-1111-111111111111
|
|
43
43
|
* ```
|
|
44
44
|
*
|
|
45
45
|
* -> This ID format is unique to Terraform and is composed of the Administrative Unit Object ID and the target Member Object ID in the format `{AdministrativeUnitObjectID}/member/{MemberObjectID}`.
|
|
@@ -16,15 +16,15 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
16
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
17
|
* import * as azuread from "@pulumi/azuread";
|
|
18
18
|
*
|
|
19
|
-
* const
|
|
20
|
-
* userPrincipalName: "jdoe@
|
|
19
|
+
* const example = azuread.getUser({
|
|
20
|
+
* userPrincipalName: "jdoe@example.com",
|
|
21
21
|
* });
|
|
22
|
-
* const exampleAdministrativeUnit = new azuread.AdministrativeUnit("
|
|
23
|
-
* const exampleDirectoryRole = new azuread.DirectoryRole("
|
|
24
|
-
* const exampleAdministrativeUnitRoleMember = new azuread.AdministrativeUnitRoleMember("
|
|
22
|
+
* const exampleAdministrativeUnit = new azuread.AdministrativeUnit("example", {displayName: "Example-AU"});
|
|
23
|
+
* const exampleDirectoryRole = new azuread.DirectoryRole("example", {displayName: "Security administrator"});
|
|
24
|
+
* const exampleAdministrativeUnitRoleMember = new azuread.AdministrativeUnitRoleMember("example", {
|
|
25
25
|
* roleObjectId: exampleDirectoryRole.objectId,
|
|
26
26
|
* administrativeUnitObjectId: exampleAdministrativeUnit.id,
|
|
27
|
-
* memberObjectId:
|
|
27
|
+
* memberObjectId: example.then(example => example.id),
|
|
28
28
|
* });
|
|
29
29
|
* ```
|
|
30
30
|
*
|
|
@@ -33,7 +33,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
33
33
|
* Administrative unit role members can be imported using the object ID of the administrative unit and the unique ID of the role assignment, e.g.
|
|
34
34
|
*
|
|
35
35
|
* ```sh
|
|
36
|
-
*
|
|
36
|
+
* $ pulumi import azuread:index/administrativeUnitRoleMember:AdministrativeUnitRoleMember example 00000000-0000-0000-0000-000000000000/roleMember/zX37MRLyF0uvE-xf2WH4B7x-6CPLfudNnxFGj800htpBXqkxW7bITqGb6Rj4kuTuS
|
|
37
37
|
* ```
|
|
38
38
|
*
|
|
39
39
|
* -> This ID format is unique to Terraform and is composed of the Administrative Unit Object ID and the role assignment ID in the format `{AdministrativeUnitObjectID}/roleMember/{RoleAssignmentID}`.
|
|
@@ -22,15 +22,15 @@ const utilities = require("./utilities");
|
|
|
22
22
|
* import * as pulumi from "@pulumi/pulumi";
|
|
23
23
|
* import * as azuread from "@pulumi/azuread";
|
|
24
24
|
*
|
|
25
|
-
* const
|
|
26
|
-
* userPrincipalName: "jdoe@
|
|
25
|
+
* const example = azuread.getUser({
|
|
26
|
+
* userPrincipalName: "jdoe@example.com",
|
|
27
27
|
* });
|
|
28
|
-
* const exampleAdministrativeUnit = new azuread.AdministrativeUnit("
|
|
29
|
-
* const exampleDirectoryRole = new azuread.DirectoryRole("
|
|
30
|
-
* const exampleAdministrativeUnitRoleMember = new azuread.AdministrativeUnitRoleMember("
|
|
28
|
+
* const exampleAdministrativeUnit = new azuread.AdministrativeUnit("example", {displayName: "Example-AU"});
|
|
29
|
+
* const exampleDirectoryRole = new azuread.DirectoryRole("example", {displayName: "Security administrator"});
|
|
30
|
+
* const exampleAdministrativeUnitRoleMember = new azuread.AdministrativeUnitRoleMember("example", {
|
|
31
31
|
* roleObjectId: exampleDirectoryRole.objectId,
|
|
32
32
|
* administrativeUnitObjectId: exampleAdministrativeUnit.id,
|
|
33
|
-
* memberObjectId:
|
|
33
|
+
* memberObjectId: example.then(example => example.id),
|
|
34
34
|
* });
|
|
35
35
|
* ```
|
|
36
36
|
*
|
|
@@ -39,7 +39,7 @@ const utilities = require("./utilities");
|
|
|
39
39
|
* Administrative unit role members can be imported using the object ID of the administrative unit and the unique ID of the role assignment, e.g.
|
|
40
40
|
*
|
|
41
41
|
* ```sh
|
|
42
|
-
*
|
|
42
|
+
* $ pulumi import azuread:index/administrativeUnitRoleMember:AdministrativeUnitRoleMember example 00000000-0000-0000-0000-000000000000/roleMember/zX37MRLyF0uvE-xf2WH4B7x-6CPLfudNnxFGj800htpBXqkxW7bITqGb6Rj4kuTuS
|
|
43
43
|
* ```
|
|
44
44
|
*
|
|
45
45
|
* -> This ID format is unique to Terraform and is composed of the Administrative Unit Object ID and the role assignment ID in the format `{AdministrativeUnitObjectID}/roleMember/{RoleAssignmentID}`.
|