@pulumi/azuread 5.10.0 → 5.12.0
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/getGroup.d.ts +6 -1
- package/getGroup.js.map +1 -1
- package/group.d.ts +38 -6
- package/group.js +21 -0
- package/group.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/types/input.d.ts +16 -2
- package/types/output.d.ts +26 -2
package/getGroup.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { output as outputs } from "./types";
|
|
2
3
|
/**
|
|
3
4
|
* Gets information about an Azure Active Directory group.
|
|
4
5
|
*
|
|
@@ -65,6 +66,10 @@ export interface GetGroupResult {
|
|
|
65
66
|
* The display name for the group.
|
|
66
67
|
*/
|
|
67
68
|
readonly displayName: string;
|
|
69
|
+
/**
|
|
70
|
+
* A `dynamicMembership` block as documented below.
|
|
71
|
+
*/
|
|
72
|
+
readonly dynamicMemberships: outputs.GetGroupDynamicMembership[];
|
|
68
73
|
/**
|
|
69
74
|
* The provider-assigned unique ID for this managed resource.
|
|
70
75
|
*/
|
|
@@ -134,7 +139,7 @@ export interface GetGroupResult {
|
|
|
134
139
|
*/
|
|
135
140
|
readonly theme: string;
|
|
136
141
|
/**
|
|
137
|
-
* A list of group types configured for the group.
|
|
142
|
+
* A list of group types configured for the group. Supported values are `DynamicMembership`, which denotes a group with dynamic membership, and `Unified`, which specifies a Microsoft 365 group.
|
|
138
143
|
*/
|
|
139
144
|
readonly types: string[];
|
|
140
145
|
/**
|
package/getGroup.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getGroup.js","sourceRoot":"","sources":["../getGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"getGroup.js","sourceRoot":"","sources":["../getGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,QAAQ,CAAC,IAAmB,EAAE,IAA2B;IACrE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE;QAC5D,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,iBAAiB,EAAE,IAAI,CAAC,eAAe;KAC1C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAfD,4BAeC;AA8HD,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5D,CAAC;AAFD,wCAEC"}
|
package/group.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "./types";
|
|
2
3
|
/**
|
|
3
4
|
* Manages a group within Azure Active Directory.
|
|
4
5
|
*
|
|
@@ -75,6 +76,25 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
75
76
|
* });
|
|
76
77
|
* ```
|
|
77
78
|
*
|
|
79
|
+
* *Group with dynamic membership*
|
|
80
|
+
*
|
|
81
|
+
* ```typescript
|
|
82
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
83
|
+
* import * as azuread from "@pulumi/azuread";
|
|
84
|
+
*
|
|
85
|
+
* const current = azuread.getClientConfig({});
|
|
86
|
+
* const example = new azuread.Group("example", {
|
|
87
|
+
* displayName: "MyGroup",
|
|
88
|
+
* owners: [current.then(current => current.objectId)],
|
|
89
|
+
* securityEnabled: true,
|
|
90
|
+
* types: ["DynamicMembership"],
|
|
91
|
+
* dynamicMembership: {
|
|
92
|
+
* enabled: true,
|
|
93
|
+
* rule: "user.department -eq \"Sales\"",
|
|
94
|
+
* },
|
|
95
|
+
* });
|
|
96
|
+
* ```
|
|
97
|
+
*
|
|
78
98
|
* ## Import
|
|
79
99
|
*
|
|
80
100
|
* Groups can be imported using their object ID, e.g.
|
|
@@ -115,6 +135,10 @@ export declare class Group extends pulumi.CustomResource {
|
|
|
115
135
|
* The display name for the group.
|
|
116
136
|
*/
|
|
117
137
|
readonly displayName: pulumi.Output<string>;
|
|
138
|
+
/**
|
|
139
|
+
* A `dynamicMembership` block as documented below. Required when `types` contains `DynamicMembership`. Cannot be used with the `members` property.
|
|
140
|
+
*/
|
|
141
|
+
readonly dynamicMembership: pulumi.Output<outputs.GroupDynamicMembership | undefined>;
|
|
118
142
|
/**
|
|
119
143
|
* The SMTP address for the group.
|
|
120
144
|
*/
|
|
@@ -128,7 +152,7 @@ export declare class Group extends pulumi.CustomResource {
|
|
|
128
152
|
*/
|
|
129
153
|
readonly mailNickname: pulumi.Output<string>;
|
|
130
154
|
/**
|
|
131
|
-
* A set of members who should be present in this group. Supported object types are Users, Groups or Service Principals.
|
|
155
|
+
* A set of members who should be present in this group. Supported object types are Users, Groups or Service Principals. Cannot be used with the `dynamicMembership` block.
|
|
132
156
|
*/
|
|
133
157
|
readonly members: pulumi.Output<string[]>;
|
|
134
158
|
/**
|
|
@@ -184,7 +208,7 @@ export declare class Group extends pulumi.CustomResource {
|
|
|
184
208
|
*/
|
|
185
209
|
readonly theme: pulumi.Output<string | undefined>;
|
|
186
210
|
/**
|
|
187
|
-
* A set of group types to configure for the group.
|
|
211
|
+
* A set of group types to configure for the group. Supported values are `DynamicMembership`, which denotes a group with dynamic membership, and `Unified`, which specifies a Microsoft 365 group. Required when `mailEnabled` is true. Changing this forces a new resource to be created.
|
|
188
212
|
*/
|
|
189
213
|
readonly types: pulumi.Output<string[] | undefined>;
|
|
190
214
|
/**
|
|
@@ -220,6 +244,10 @@ export interface GroupState {
|
|
|
220
244
|
* The display name for the group.
|
|
221
245
|
*/
|
|
222
246
|
displayName?: pulumi.Input<string>;
|
|
247
|
+
/**
|
|
248
|
+
* A `dynamicMembership` block as documented below. Required when `types` contains `DynamicMembership`. Cannot be used with the `members` property.
|
|
249
|
+
*/
|
|
250
|
+
dynamicMembership?: pulumi.Input<inputs.GroupDynamicMembership>;
|
|
223
251
|
/**
|
|
224
252
|
* The SMTP address for the group.
|
|
225
253
|
*/
|
|
@@ -233,7 +261,7 @@ export interface GroupState {
|
|
|
233
261
|
*/
|
|
234
262
|
mailNickname?: pulumi.Input<string>;
|
|
235
263
|
/**
|
|
236
|
-
* A set of members who should be present in this group. Supported object types are Users, Groups or Service Principals.
|
|
264
|
+
* A set of members who should be present in this group. Supported object types are Users, Groups or Service Principals. Cannot be used with the `dynamicMembership` block.
|
|
237
265
|
*/
|
|
238
266
|
members?: pulumi.Input<pulumi.Input<string>[]>;
|
|
239
267
|
/**
|
|
@@ -289,7 +317,7 @@ export interface GroupState {
|
|
|
289
317
|
*/
|
|
290
318
|
theme?: pulumi.Input<string>;
|
|
291
319
|
/**
|
|
292
|
-
* A set of group types to configure for the group.
|
|
320
|
+
* A set of group types to configure for the group. Supported values are `DynamicMembership`, which denotes a group with dynamic membership, and `Unified`, which specifies a Microsoft 365 group. Required when `mailEnabled` is true. Changing this forces a new resource to be created.
|
|
293
321
|
*/
|
|
294
322
|
types?: pulumi.Input<pulumi.Input<string>[]>;
|
|
295
323
|
/**
|
|
@@ -317,6 +345,10 @@ export interface GroupArgs {
|
|
|
317
345
|
* The display name for the group.
|
|
318
346
|
*/
|
|
319
347
|
displayName: pulumi.Input<string>;
|
|
348
|
+
/**
|
|
349
|
+
* A `dynamicMembership` block as documented below. Required when `types` contains `DynamicMembership`. Cannot be used with the `members` property.
|
|
350
|
+
*/
|
|
351
|
+
dynamicMembership?: pulumi.Input<inputs.GroupDynamicMembership>;
|
|
320
352
|
/**
|
|
321
353
|
* Whether the group is a mail enabled, with a shared group mailbox. At least one of `mailEnabled` or `securityEnabled` must be specified. Only Microsoft 365 groups can be mail enabled (see the `types` property).
|
|
322
354
|
*/
|
|
@@ -326,7 +358,7 @@ export interface GroupArgs {
|
|
|
326
358
|
*/
|
|
327
359
|
mailNickname?: pulumi.Input<string>;
|
|
328
360
|
/**
|
|
329
|
-
* A set of members who should be present in this group. Supported object types are Users, Groups or Service Principals.
|
|
361
|
+
* A set of members who should be present in this group. Supported object types are Users, Groups or Service Principals. Cannot be used with the `dynamicMembership` block.
|
|
330
362
|
*/
|
|
331
363
|
members?: pulumi.Input<pulumi.Input<string>[]>;
|
|
332
364
|
/**
|
|
@@ -350,7 +382,7 @@ export interface GroupArgs {
|
|
|
350
382
|
*/
|
|
351
383
|
theme?: pulumi.Input<string>;
|
|
352
384
|
/**
|
|
353
|
-
* A set of group types to configure for the group.
|
|
385
|
+
* A set of group types to configure for the group. Supported values are `DynamicMembership`, which denotes a group with dynamic membership, and `Unified`, which specifies a Microsoft 365 group. Required when `mailEnabled` is true. Changing this forces a new resource to be created.
|
|
354
386
|
*/
|
|
355
387
|
types?: pulumi.Input<pulumi.Input<string>[]>;
|
|
356
388
|
/**
|
package/group.js
CHANGED
|
@@ -81,6 +81,25 @@ const utilities = require("./utilities");
|
|
|
81
81
|
* });
|
|
82
82
|
* ```
|
|
83
83
|
*
|
|
84
|
+
* *Group with dynamic membership*
|
|
85
|
+
*
|
|
86
|
+
* ```typescript
|
|
87
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
88
|
+
* import * as azuread from "@pulumi/azuread";
|
|
89
|
+
*
|
|
90
|
+
* const current = azuread.getClientConfig({});
|
|
91
|
+
* const example = new azuread.Group("example", {
|
|
92
|
+
* displayName: "MyGroup",
|
|
93
|
+
* owners: [current.then(current => current.objectId)],
|
|
94
|
+
* securityEnabled: true,
|
|
95
|
+
* types: ["DynamicMembership"],
|
|
96
|
+
* dynamicMembership: {
|
|
97
|
+
* enabled: true,
|
|
98
|
+
* rule: "user.department -eq \"Sales\"",
|
|
99
|
+
* },
|
|
100
|
+
* });
|
|
101
|
+
* ```
|
|
102
|
+
*
|
|
84
103
|
* ## Import
|
|
85
104
|
*
|
|
86
105
|
* Groups can be imported using their object ID, e.g.
|
|
@@ -99,6 +118,7 @@ class Group extends pulumi.CustomResource {
|
|
|
99
118
|
inputs["behaviors"] = state ? state.behaviors : undefined;
|
|
100
119
|
inputs["description"] = state ? state.description : undefined;
|
|
101
120
|
inputs["displayName"] = state ? state.displayName : undefined;
|
|
121
|
+
inputs["dynamicMembership"] = state ? state.dynamicMembership : undefined;
|
|
102
122
|
inputs["mail"] = state ? state.mail : undefined;
|
|
103
123
|
inputs["mailEnabled"] = state ? state.mailEnabled : undefined;
|
|
104
124
|
inputs["mailNickname"] = state ? state.mailNickname : undefined;
|
|
@@ -128,6 +148,7 @@ class Group extends pulumi.CustomResource {
|
|
|
128
148
|
inputs["behaviors"] = args ? args.behaviors : undefined;
|
|
129
149
|
inputs["description"] = args ? args.description : undefined;
|
|
130
150
|
inputs["displayName"] = args ? args.displayName : undefined;
|
|
151
|
+
inputs["dynamicMembership"] = args ? args.dynamicMembership : undefined;
|
|
131
152
|
inputs["mailEnabled"] = args ? args.mailEnabled : undefined;
|
|
132
153
|
inputs["mailNickname"] = args ? args.mailNickname : undefined;
|
|
133
154
|
inputs["members"] = args ? args.members : undefined;
|
package/group.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group.js","sourceRoot":"","sources":["../group.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAE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S,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,KAAK,CAAC,YAAY,CAAC;IACtD,CAAC;;AA1BL,sBAqMC;AAvLG,gBAAgB;AACO,kBAAY,GAAG,2BAA2B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/azuread",
|
|
3
|
-
"version": "v5.
|
|
3
|
+
"version": "v5.12.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing azuread cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource azuread v5.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource azuread v5.12.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
package/package.json.dev
CHANGED
package/types/input.d.ts
CHANGED
|
@@ -322,11 +322,11 @@ export interface ConditionalAccessPolicyConditionsUsers {
|
|
|
322
322
|
*/
|
|
323
323
|
excludedUsers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
324
324
|
/**
|
|
325
|
-
* A list of group IDs in scope of policy unless explicitly excluded
|
|
325
|
+
* A list of group IDs in scope of policy unless explicitly excluded.
|
|
326
326
|
*/
|
|
327
327
|
includedGroups?: pulumi.Input<pulumi.Input<string>[]>;
|
|
328
328
|
/**
|
|
329
|
-
* A list of role IDs in scope of policy unless explicitly excluded
|
|
329
|
+
* A list of role IDs in scope of policy unless explicitly excluded.
|
|
330
330
|
*/
|
|
331
331
|
includedRoles?: pulumi.Input<pulumi.Input<string>[]>;
|
|
332
332
|
/**
|
|
@@ -361,6 +361,10 @@ export interface ConditionalAccessPolicySessionControls {
|
|
|
361
361
|
* Enables cloud app security and specifies the cloud app security policy to use. Possible values are: `blockDownloads`, `mcasConfigured`, `monitorOnly` or `unknownFutureValue`.
|
|
362
362
|
*/
|
|
363
363
|
cloudAppSecurityPolicy?: pulumi.Input<string>;
|
|
364
|
+
/**
|
|
365
|
+
* Session control to define whether to persist cookies or not. Possible values are: `always` or `never`.
|
|
366
|
+
*/
|
|
367
|
+
persistentBrowserMode?: pulumi.Input<string>;
|
|
364
368
|
/**
|
|
365
369
|
* Number of days or hours to enforce sign-in frequency. Required when `signInFrequencyPeriod` is specified. Due to an API issue, removing this property forces a new resource to be created.
|
|
366
370
|
*/
|
|
@@ -370,6 +374,16 @@ export interface ConditionalAccessPolicySessionControls {
|
|
|
370
374
|
*/
|
|
371
375
|
signInFrequencyPeriod?: pulumi.Input<string>;
|
|
372
376
|
}
|
|
377
|
+
export interface GroupDynamicMembership {
|
|
378
|
+
/**
|
|
379
|
+
* Whether rule processing is "On" (true) or "Paused" (false).
|
|
380
|
+
*/
|
|
381
|
+
enabled: pulumi.Input<boolean>;
|
|
382
|
+
/**
|
|
383
|
+
* The rule that determines membership of this group. For more information, see official documentation on [memmbership rules syntax](https://docs.microsoft.com/en-gb/azure/active-directory/enterprise-users/groups-dynamic-membership).
|
|
384
|
+
*/
|
|
385
|
+
rule: pulumi.Input<string>;
|
|
386
|
+
}
|
|
373
387
|
export interface InvitationMessage {
|
|
374
388
|
/**
|
|
375
389
|
* Email addresses of additional recipients the invitation message should be sent to. Only 1 additional recipient is currently supported by Azure.
|
package/types/output.d.ts
CHANGED
|
@@ -321,11 +321,11 @@ export interface ConditionalAccessPolicyConditionsUsers {
|
|
|
321
321
|
*/
|
|
322
322
|
excludedUsers?: string[];
|
|
323
323
|
/**
|
|
324
|
-
* A list of group IDs in scope of policy unless explicitly excluded
|
|
324
|
+
* A list of group IDs in scope of policy unless explicitly excluded.
|
|
325
325
|
*/
|
|
326
326
|
includedGroups?: string[];
|
|
327
327
|
/**
|
|
328
|
-
* A list of role IDs in scope of policy unless explicitly excluded
|
|
328
|
+
* A list of role IDs in scope of policy unless explicitly excluded.
|
|
329
329
|
*/
|
|
330
330
|
includedRoles?: string[];
|
|
331
331
|
/**
|
|
@@ -360,6 +360,10 @@ export interface ConditionalAccessPolicySessionControls {
|
|
|
360
360
|
* Enables cloud app security and specifies the cloud app security policy to use. Possible values are: `blockDownloads`, `mcasConfigured`, `monitorOnly` or `unknownFutureValue`.
|
|
361
361
|
*/
|
|
362
362
|
cloudAppSecurityPolicy?: string;
|
|
363
|
+
/**
|
|
364
|
+
* Session control to define whether to persist cookies or not. Possible values are: `always` or `never`.
|
|
365
|
+
*/
|
|
366
|
+
persistentBrowserMode?: string;
|
|
363
367
|
/**
|
|
364
368
|
* Number of days or hours to enforce sign-in frequency. Required when `signInFrequencyPeriod` is specified. Due to an API issue, removing this property forces a new resource to be created.
|
|
365
369
|
*/
|
|
@@ -627,6 +631,16 @@ export interface GetDomainsDomain {
|
|
|
627
631
|
*/
|
|
628
632
|
verified: boolean;
|
|
629
633
|
}
|
|
634
|
+
export interface GetGroupDynamicMembership {
|
|
635
|
+
/**
|
|
636
|
+
* Whether rule processing is "On" (true) or "Paused" (false).
|
|
637
|
+
*/
|
|
638
|
+
enabled: boolean;
|
|
639
|
+
/**
|
|
640
|
+
* The rule that determines membership of this group.
|
|
641
|
+
*/
|
|
642
|
+
rule: string;
|
|
643
|
+
}
|
|
630
644
|
export interface GetServicePrincipalAppRole {
|
|
631
645
|
/**
|
|
632
646
|
* Specifies whether this app role definition can be assigned to users and groups, or to other applications (that are accessing this application in daemon service scenarios). Possible values are: `User` and `Application`, or both.
|
|
@@ -805,6 +819,16 @@ export interface GetUsersUser {
|
|
|
805
819
|
*/
|
|
806
820
|
userPrincipalName: string;
|
|
807
821
|
}
|
|
822
|
+
export interface GroupDynamicMembership {
|
|
823
|
+
/**
|
|
824
|
+
* Whether rule processing is "On" (true) or "Paused" (false).
|
|
825
|
+
*/
|
|
826
|
+
enabled: boolean;
|
|
827
|
+
/**
|
|
828
|
+
* The rule that determines membership of this group. For more information, see official documentation on [memmbership rules syntax](https://docs.microsoft.com/en-gb/azure/active-directory/enterprise-users/groups-dynamic-membership).
|
|
829
|
+
*/
|
|
830
|
+
rule: string;
|
|
831
|
+
}
|
|
808
832
|
export interface InvitationMessage {
|
|
809
833
|
/**
|
|
810
834
|
* Email addresses of additional recipients the invitation message should be sent to. Only 1 additional recipient is currently supported by Azure.
|