diff --git a/provider/cmd/pulumi-resource-azuread/schema.json b/provider/cmd/pulumi-resource-azuread/schema.json index e0180ea80..7a3cbc60a 100644 --- a/provider/cmd/pulumi-resource-azuread/schema.json +++ b/provider/cmd/pulumi-resource-azuread/schema.json @@ -873,7 +873,7 @@ "items": { "type": "string" }, - "description": "A list of platforms explicitly excluded from the policy. Possible values are: `all`, `android`, `iOS`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`.\n", + "description": "A list of platforms explicitly excluded from the policy. Possible values are: `all`, `android`, `iOS`, `linux`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`.\n", "language": { "python": { "mapCase": false @@ -885,7 +885,7 @@ "items": { "type": "string" }, - "description": "A list of platforms the policy applies to, unless explicitly excluded. Possible values are: `all`, `android`, `iOS`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`.\n", + "description": "A list of platforms the policy applies to, unless explicitly excluded. Possible values are: `all`, `android`, `iOS`, `linux`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`.\n", "language": { "python": { "mapCase": false @@ -4393,7 +4393,7 @@ "items": { "type": "string" }, - "description": "A set of behaviors for a Microsoft 365 group. Possible values are `AllowOnlyMembersToPost`, `HideGroupInOutlook`, `SubscribeNewGroupMembers` and `WelcomeEmailDisabled`. See [official documentation](https://docs.microsoft.com/en-us/graph/group-set-options) for more details. Changing this forces a new resource to be created.\n" + "description": "A set of behaviors for a Microsoft 365 group. Possible values are `AllowOnlyMembersToPost`, `HideGroupInOutlook`, `SubscribeMembersToCalendarEventsDisabled`, `SubscribeNewGroupMembers` and `WelcomeEmailDisabled`. See [official documentation](https://docs.microsoft.com/en-us/graph/group-set-options) for more details. Changing this forces a new resource to be created.\n" }, "description": { "type": "string", @@ -4545,7 +4545,7 @@ "items": { "type": "string" }, - "description": "A set of behaviors for a Microsoft 365 group. Possible values are `AllowOnlyMembersToPost`, `HideGroupInOutlook`, `SubscribeNewGroupMembers` and `WelcomeEmailDisabled`. See [official documentation](https://docs.microsoft.com/en-us/graph/group-set-options) for more details. Changing this forces a new resource to be created.\n" + "description": "A set of behaviors for a Microsoft 365 group. Possible values are `AllowOnlyMembersToPost`, `HideGroupInOutlook`, `SubscribeMembersToCalendarEventsDisabled`, `SubscribeNewGroupMembers` and `WelcomeEmailDisabled`. See [official documentation](https://docs.microsoft.com/en-us/graph/group-set-options) for more details. Changing this forces a new resource to be created.\n" }, "description": { "type": "string", @@ -4643,7 +4643,7 @@ "items": { "type": "string" }, - "description": "A set of behaviors for a Microsoft 365 group. Possible values are `AllowOnlyMembersToPost`, `HideGroupInOutlook`, `SubscribeNewGroupMembers` and `WelcomeEmailDisabled`. See [official documentation](https://docs.microsoft.com/en-us/graph/group-set-options) for more details. Changing this forces a new resource to be created.\n" + "description": "A set of behaviors for a Microsoft 365 group. Possible values are `AllowOnlyMembersToPost`, `HideGroupInOutlook`, `SubscribeMembersToCalendarEventsDisabled`, `SubscribeNewGroupMembers` and `WelcomeEmailDisabled`. See [official documentation](https://docs.microsoft.com/en-us/graph/group-set-options) for more details. Changing this forces a new resource to be created.\n" }, "description": { "type": "string", @@ -7042,6 +7042,10 @@ }, "description": "The display names of the groups.\n" }, + "ignoreMissing": { + "type": "boolean", + "description": "Ignore missing groups and return groups that were found. The data source will still fail if no groups are found. Cannot be specified with `return_all`. Defaults to `false`.\n" + }, "mailEnabled": { "type": "boolean", "description": "Whether the returned groups should be mail-enabled. By itself this does not exclude security-enabled groups. Setting this to `true` ensures all groups are mail-enabled, and setting to `false` ensures that all groups are _not_ mail-enabled. To ignore this filter, omit the property or set it to null. Cannot be specified together with `object_ids`.\n" @@ -7055,7 +7059,7 @@ }, "returnAll": { "type": "boolean", - "description": "A flag to denote if all groups should be fetched and returned.\n" + "description": "A flag to denote if all groups should be fetched and returned. Cannot be specified wth `ignore_missing`. Defaults to `false`.\n" }, "securityEnabled": { "type": "boolean", @@ -7081,6 +7085,9 @@ "type": "string", "description": "The provider-assigned unique ID for this managed resource.\n" }, + "ignoreMissing": { + "type": "boolean" + }, "mailEnabled": { "type": "boolean" }, @@ -7671,7 +7678,7 @@ "properties": { "ignoreMissing": { "type": "boolean", - "description": "Ignore missing users and return users that were found. The data source will still fail if no users are found. Defaults to false.\n" + "description": "Ignore missing users and return users that were found. The data source will still fail if no users are found. Cannot be specified with `return_all`. Defaults to `false`.\n" }, "mailNicknames": { "type": "array", @@ -7689,7 +7696,7 @@ }, "returnAll": { "type": "boolean", - "description": "When `true`, the data source will return all users. Cannot be used with `ignore_missing`. Defaults to false.\n" + "description": "When `true`, the data source will return all users. Cannot be used with `ignore_missing`. Defaults to `false`.\n" }, "userPrincipalNames": { "type": "array", diff --git a/provider/go.sum b/provider/go.sum index 562869204..037f437a9 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -491,8 +491,8 @@ github.com/hashicorp/terraform-plugin-sdk v1.7.0 h1:B//oq0ZORG+EkVrIJy0uPGSonvmX github.com/hashicorp/terraform-plugin-sdk v1.7.0/go.mod h1:OjgQmey5VxnPej/buEhe+YqKm0KNvV3QqU4hkqHqPCY= github.com/hashicorp/terraform-plugin-test v1.2.0 h1:AWFdqyfnOj04sxTdaAF57QqvW7XXrT8PseUHkbKsE8I= github.com/hashicorp/terraform-plugin-test v1.2.0/go.mod h1:QIJHYz8j+xJtdtLrFTlzQVC0ocr3rf/OjIpgZLK56Hs= -github.com/hashicorp/terraform-provider-azuread v1.6.1-0.20220421193301-9a3dbd7ca2d7 h1:6buQ1DuGFJN1a4mwA/pgs0J0ejauOXoiNYiBHmahQhg= -github.com/hashicorp/terraform-provider-azuread v1.6.1-0.20220421193301-9a3dbd7ca2d7/go.mod h1:k0JAWs9Go7wjXDcs+EKL2wQ+ciol3agfBe36yfN7Zhk= +github.com/hashicorp/terraform-provider-azuread v1.6.1-0.20220428202731-e2c57af04dd1 h1:I0iWKGSLM3vYZpvFjNAPWQKoRySENSXA2UHIS+eAeQo= +github.com/hashicorp/terraform-provider-azuread v1.6.1-0.20220428202731-e2c57af04dd1/go.mod h1:Hd7l5g0G9OMjk3/gtJXfwYipPcTEdsxZk/awH3d5fNk= github.com/hashicorp/terraform-registry-address v0.0.0-20210412075316-9b2996cce896/go.mod h1:bzBPnUIkI0RxauU8Dqo+2KrZZ28Cf48s8V6IHt3p4co= github.com/hashicorp/terraform-registry-address v0.0.0-20220131103327-5c1c5e123275 h1:x/8cnK295F9NK18FXxsJxU1bz2PusWH52DDDsuao+88= github.com/hashicorp/terraform-registry-address v0.0.0-20220131103327-5c1c5e123275/go.mod h1:bdLC+qQlJIBHKbCMA6GipcuaKjmjcvZlnVdpU583z3Y= @@ -581,8 +581,8 @@ github.com/leodido/go-urn v1.2.0/go.mod h1:+8+nEpDfqqsY+g338gtMEUOtuK+4dEMhiQEgx github.com/lib/pq v1.10.0/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= github.com/lib/pq v1.10.1/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0/go.mod h1:zJYVVT2jmtg6P3p1VtQj7WsuWi/y4VnjVBn7F8KPB3I= -github.com/manicminer/hamilton v0.45.0 h1:LSbKARKc7pRVZaD1MEkyVDdm7fmgkZSnSobWn1xDYog= -github.com/manicminer/hamilton v0.45.0/go.mod h1:lbVyngC+/nCWuDp8UhC6Bw+bh7jcP/E+YwqzHTmzemk= +github.com/manicminer/hamilton v0.46.0 h1:ag0xqWnALt9uQSfrrrXuQvm6puV8y+LghJQD32lzW+M= +github.com/manicminer/hamilton v0.46.0/go.mod h1:lbVyngC+/nCWuDp8UhC6Bw+bh7jcP/E+YwqzHTmzemk= github.com/matryer/is v1.2.0/go.mod h1:2fLPjFQM9rhQ15aVEtbuwhJinnOqrmgXPNdZsdwlWXA= github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= github.com/mattn/go-colorable v0.1.1/go.mod h1:FuOcm+DKB9mbwrcAfNl7/TZVBZ6rcnceauSikq3lYCQ= diff --git a/provider/shim/go.mod b/provider/shim/go.mod index f0125f4d1..cea14693c 100644 --- a/provider/shim/go.mod +++ b/provider/shim/go.mod @@ -4,7 +4,7 @@ go 1.15 require ( github.com/hashicorp/terraform-plugin-sdk/v2 v2.13.0 - github.com/hashicorp/terraform-provider-azuread v1.6.1-0.20220421193301-9a3dbd7ca2d7 + github.com/hashicorp/terraform-provider-azuread v1.6.1-0.20220428202731-e2c57af04dd1 ) replace github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20211230170131-3a7c83bfab87 diff --git a/provider/shim/go.sum b/provider/shim/go.sum index c819b78c1..c54782850 100644 --- a/provider/shim/go.sum +++ b/provider/shim/go.sum @@ -229,8 +229,8 @@ github.com/hashicorp/terraform-plugin-go v0.8.0/go.mod h1:E3GuvfX0Pz2Azcl6BegD6t github.com/hashicorp/terraform-plugin-log v0.2.0/go.mod h1:E1kJmapEHzqu1x6M++gjvhzM2yMQNXPVWZRCB8sgYjg= github.com/hashicorp/terraform-plugin-log v0.3.0 h1:NPENNOjaJSVX0f7JJTl4f/2JKRPQ7S2ZN9B4NSqq5kA= github.com/hashicorp/terraform-plugin-log v0.3.0/go.mod h1:EjueSP/HjlyFAsDqt+okpCPjkT4NDynAe32AeDC4vps= -github.com/hashicorp/terraform-provider-azuread v1.6.1-0.20220421193301-9a3dbd7ca2d7 h1:6buQ1DuGFJN1a4mwA/pgs0J0ejauOXoiNYiBHmahQhg= -github.com/hashicorp/terraform-provider-azuread v1.6.1-0.20220421193301-9a3dbd7ca2d7/go.mod h1:k0JAWs9Go7wjXDcs+EKL2wQ+ciol3agfBe36yfN7Zhk= +github.com/hashicorp/terraform-provider-azuread v1.6.1-0.20220428202731-e2c57af04dd1 h1:I0iWKGSLM3vYZpvFjNAPWQKoRySENSXA2UHIS+eAeQo= +github.com/hashicorp/terraform-provider-azuread v1.6.1-0.20220428202731-e2c57af04dd1/go.mod h1:Hd7l5g0G9OMjk3/gtJXfwYipPcTEdsxZk/awH3d5fNk= github.com/hashicorp/terraform-registry-address v0.0.0-20210412075316-9b2996cce896/go.mod h1:bzBPnUIkI0RxauU8Dqo+2KrZZ28Cf48s8V6IHt3p4co= github.com/hashicorp/terraform-registry-address v0.0.0-20220131103327-5c1c5e123275 h1:x/8cnK295F9NK18FXxsJxU1bz2PusWH52DDDsuao+88= github.com/hashicorp/terraform-registry-address v0.0.0-20220131103327-5c1c5e123275/go.mod h1:bdLC+qQlJIBHKbCMA6GipcuaKjmjcvZlnVdpU583z3Y= @@ -269,8 +269,8 @@ github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/kylelemons/godebug v0.0.0-20170820004349-d65d576e9348/go.mod h1:B69LEHPfb2qLo0BaaOLcbitczOKLWTsrBG9LczfCD4k= github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc= github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= -github.com/manicminer/hamilton v0.45.0 h1:LSbKARKc7pRVZaD1MEkyVDdm7fmgkZSnSobWn1xDYog= -github.com/manicminer/hamilton v0.45.0/go.mod h1:lbVyngC+/nCWuDp8UhC6Bw+bh7jcP/E+YwqzHTmzemk= +github.com/manicminer/hamilton v0.46.0 h1:ag0xqWnALt9uQSfrrrXuQvm6puV8y+LghJQD32lzW+M= +github.com/manicminer/hamilton v0.46.0/go.mod h1:lbVyngC+/nCWuDp8UhC6Bw+bh7jcP/E+YwqzHTmzemk= github.com/matryer/is v1.2.0 h1:92UTHpy8CDwaJ08GqLDzhhuixiBUUD1p3AU6PHddz4A= github.com/matryer/is v1.2.0/go.mod h1:2fLPjFQM9rhQ15aVEtbuwhJinnOqrmgXPNdZsdwlWXA= github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= diff --git a/sdk/dotnet/GetGroups.cs b/sdk/dotnet/GetGroups.cs index 910e85121..0ead58319 100644 --- a/sdk/dotnet/GetGroups.cs +++ b/sdk/dotnet/GetGroups.cs @@ -267,6 +267,12 @@ public List DisplayNames set => _displayNames = value; } + /// + /// Ignore missing groups and return groups that were found. The data source will still fail if no groups are found. Cannot be specified with `return_all`. Defaults to `false`. + /// + [Input("ignoreMissing")] + public bool? IgnoreMissing { get; set; } + /// /// Whether the returned groups should be mail-enabled. By itself this does not exclude security-enabled groups. Setting this to `true` ensures all groups are mail-enabled, and setting to `false` ensures that all groups are _not_ mail-enabled. To ignore this filter, omit the property or set it to null. Cannot be specified together with `object_ids`. /// @@ -286,7 +292,7 @@ public List ObjectIds } /// - /// A flag to denote if all groups should be fetched and returned. + /// A flag to denote if all groups should be fetched and returned. Cannot be specified wth `ignore_missing`. Defaults to `false`. /// [Input("returnAll")] public bool? ReturnAll { get; set; } @@ -322,6 +328,12 @@ public InputList DisplayNames set => _displayNames = value; } + /// + /// Ignore missing groups and return groups that were found. The data source will still fail if no groups are found. Cannot be specified with `return_all`. Defaults to `false`. + /// + [Input("ignoreMissing")] + public Input? IgnoreMissing { get; set; } + /// /// Whether the returned groups should be mail-enabled. By itself this does not exclude security-enabled groups. Setting this to `true` ensures all groups are mail-enabled, and setting to `false` ensures that all groups are _not_ mail-enabled. To ignore this filter, omit the property or set it to null. Cannot be specified together with `object_ids`. /// @@ -341,7 +353,7 @@ public InputList ObjectIds } /// - /// A flag to denote if all groups should be fetched and returned. + /// A flag to denote if all groups should be fetched and returned. Cannot be specified wth `ignore_missing`. Defaults to `false`. /// [Input("returnAll")] public Input? ReturnAll { get; set; } @@ -370,6 +382,7 @@ public sealed class GetGroupsResult /// The provider-assigned unique ID for this managed resource. /// public readonly string Id; + public readonly bool? IgnoreMissing; public readonly bool MailEnabled; /// /// The object IDs of the groups. @@ -386,6 +399,8 @@ private GetGroupsResult( string id, + bool? ignoreMissing, + bool mailEnabled, ImmutableArray objectIds, @@ -397,6 +412,7 @@ private GetGroupsResult( DisplayNamePrefix = displayNamePrefix; DisplayNames = displayNames; Id = id; + IgnoreMissing = ignoreMissing; MailEnabled = mailEnabled; ObjectIds = objectIds; ReturnAll = returnAll; diff --git a/sdk/dotnet/GetUsers.cs b/sdk/dotnet/GetUsers.cs index 798320408..1686e71ad 100644 --- a/sdk/dotnet/GetUsers.cs +++ b/sdk/dotnet/GetUsers.cs @@ -98,7 +98,7 @@ public static Output Invoke(GetUsersInvokeArgs? args = null, Inv public sealed class GetUsersArgs : Pulumi.InvokeArgs { /// - /// Ignore missing users and return users that were found. The data source will still fail if no users are found. Defaults to false. + /// Ignore missing users and return users that were found. The data source will still fail if no users are found. Cannot be specified with `return_all`. Defaults to `false`. /// [Input("ignoreMissing")] public bool? IgnoreMissing { get; set; } @@ -128,7 +128,7 @@ public List ObjectIds } /// - /// When `true`, the data source will return all users. Cannot be used with `ignore_missing`. Defaults to false. + /// When `true`, the data source will return all users. Cannot be used with `ignore_missing`. Defaults to `false`. /// [Input("returnAll")] public bool? ReturnAll { get; set; } @@ -153,7 +153,7 @@ public GetUsersArgs() public sealed class GetUsersInvokeArgs : Pulumi.InvokeArgs { /// - /// Ignore missing users and return users that were found. The data source will still fail if no users are found. Defaults to false. + /// Ignore missing users and return users that were found. The data source will still fail if no users are found. Cannot be specified with `return_all`. Defaults to `false`. /// [Input("ignoreMissing")] public Input? IgnoreMissing { get; set; } @@ -183,7 +183,7 @@ public InputList ObjectIds } /// - /// When `true`, the data source will return all users. Cannot be used with `ignore_missing`. Defaults to false. + /// When `true`, the data source will return all users. Cannot be used with `ignore_missing`. Defaults to `false`. /// [Input("returnAll")] public Input? ReturnAll { get; set; } diff --git a/sdk/dotnet/Group.cs b/sdk/dotnet/Group.cs index 9d4a88f2a..a61ba3432 100644 --- a/sdk/dotnet/Group.cs +++ b/sdk/dotnet/Group.cs @@ -50,7 +50,7 @@ public partial class Group : Pulumi.CustomResource public Output AutoSubscribeNewMembers { get; private set; } = null!; /// - /// A set of behaviors for a Microsoft 365 group. Possible values are `AllowOnlyMembersToPost`, `HideGroupInOutlook`, `SubscribeNewGroupMembers` and `WelcomeEmailDisabled`. See [official documentation](https://docs.microsoft.com/en-us/graph/group-set-options) for more details. Changing this forces a new resource to be created. + /// A set of behaviors for a Microsoft 365 group. Possible values are `AllowOnlyMembersToPost`, `HideGroupInOutlook`, `SubscribeMembersToCalendarEventsDisabled`, `SubscribeNewGroupMembers` and `WelcomeEmailDisabled`. See [official documentation](https://docs.microsoft.com/en-us/graph/group-set-options) for more details. Changing this forces a new resource to be created. /// [Output("behaviors")] public Output> Behaviors { get; private set; } = null!; @@ -267,7 +267,7 @@ public sealed class GroupArgs : Pulumi.ResourceArgs private InputList? _behaviors; /// - /// A set of behaviors for a Microsoft 365 group. Possible values are `AllowOnlyMembersToPost`, `HideGroupInOutlook`, `SubscribeNewGroupMembers` and `WelcomeEmailDisabled`. See [official documentation](https://docs.microsoft.com/en-us/graph/group-set-options) for more details. Changing this forces a new resource to be created. + /// A set of behaviors for a Microsoft 365 group. Possible values are `AllowOnlyMembersToPost`, `HideGroupInOutlook`, `SubscribeMembersToCalendarEventsDisabled`, `SubscribeNewGroupMembers` and `WelcomeEmailDisabled`. See [official documentation](https://docs.microsoft.com/en-us/graph/group-set-options) for more details. Changing this forces a new resource to be created. /// public InputList Behaviors { @@ -418,7 +418,7 @@ public sealed class GroupState : Pulumi.ResourceArgs private InputList? _behaviors; /// - /// A set of behaviors for a Microsoft 365 group. Possible values are `AllowOnlyMembersToPost`, `HideGroupInOutlook`, `SubscribeNewGroupMembers` and `WelcomeEmailDisabled`. See [official documentation](https://docs.microsoft.com/en-us/graph/group-set-options) for more details. Changing this forces a new resource to be created. + /// A set of behaviors for a Microsoft 365 group. Possible values are `AllowOnlyMembersToPost`, `HideGroupInOutlook`, `SubscribeMembersToCalendarEventsDisabled`, `SubscribeNewGroupMembers` and `WelcomeEmailDisabled`. See [official documentation](https://docs.microsoft.com/en-us/graph/group-set-options) for more details. Changing this forces a new resource to be created. /// public InputList Behaviors { diff --git a/sdk/dotnet/Inputs/ConditionalAccessPolicyConditionsPlatformsArgs.cs b/sdk/dotnet/Inputs/ConditionalAccessPolicyConditionsPlatformsArgs.cs index 1bc7cffa0..cda140435 100644 --- a/sdk/dotnet/Inputs/ConditionalAccessPolicyConditionsPlatformsArgs.cs +++ b/sdk/dotnet/Inputs/ConditionalAccessPolicyConditionsPlatformsArgs.cs @@ -16,7 +16,7 @@ public sealed class ConditionalAccessPolicyConditionsPlatformsArgs : Pulumi.Reso private InputList? _excludedPlatforms; /// - /// A list of platforms explicitly excluded from the policy. Possible values are: `all`, `android`, `iOS`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. + /// A list of platforms explicitly excluded from the policy. Possible values are: `all`, `android`, `iOS`, `linux`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. /// public InputList ExcludedPlatforms { @@ -28,7 +28,7 @@ public InputList ExcludedPlatforms private InputList? _includedPlatforms; /// - /// A list of platforms the policy applies to, unless explicitly excluded. Possible values are: `all`, `android`, `iOS`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. + /// A list of platforms the policy applies to, unless explicitly excluded. Possible values are: `all`, `android`, `iOS`, `linux`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. /// public InputList IncludedPlatforms { diff --git a/sdk/dotnet/Inputs/ConditionalAccessPolicyConditionsPlatformsGetArgs.cs b/sdk/dotnet/Inputs/ConditionalAccessPolicyConditionsPlatformsGetArgs.cs index 299fe70e7..a3e75f7b8 100644 --- a/sdk/dotnet/Inputs/ConditionalAccessPolicyConditionsPlatformsGetArgs.cs +++ b/sdk/dotnet/Inputs/ConditionalAccessPolicyConditionsPlatformsGetArgs.cs @@ -16,7 +16,7 @@ public sealed class ConditionalAccessPolicyConditionsPlatformsGetArgs : Pulumi.R private InputList? _excludedPlatforms; /// - /// A list of platforms explicitly excluded from the policy. Possible values are: `all`, `android`, `iOS`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. + /// A list of platforms explicitly excluded from the policy. Possible values are: `all`, `android`, `iOS`, `linux`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. /// public InputList ExcludedPlatforms { @@ -28,7 +28,7 @@ public InputList ExcludedPlatforms private InputList? _includedPlatforms; /// - /// A list of platforms the policy applies to, unless explicitly excluded. Possible values are: `all`, `android`, `iOS`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. + /// A list of platforms the policy applies to, unless explicitly excluded. Possible values are: `all`, `android`, `iOS`, `linux`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. /// public InputList IncludedPlatforms { diff --git a/sdk/dotnet/Outputs/ConditionalAccessPolicyConditionsPlatforms.cs b/sdk/dotnet/Outputs/ConditionalAccessPolicyConditionsPlatforms.cs index bfb5c876e..7fc948945 100644 --- a/sdk/dotnet/Outputs/ConditionalAccessPolicyConditionsPlatforms.cs +++ b/sdk/dotnet/Outputs/ConditionalAccessPolicyConditionsPlatforms.cs @@ -14,11 +14,11 @@ namespace Pulumi.AzureAD.Outputs public sealed class ConditionalAccessPolicyConditionsPlatforms { /// - /// A list of platforms explicitly excluded from the policy. Possible values are: `all`, `android`, `iOS`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. + /// A list of platforms explicitly excluded from the policy. Possible values are: `all`, `android`, `iOS`, `linux`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. /// public readonly ImmutableArray ExcludedPlatforms; /// - /// A list of platforms the policy applies to, unless explicitly excluded. Possible values are: `all`, `android`, `iOS`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. + /// A list of platforms the policy applies to, unless explicitly excluded. Possible values are: `all`, `android`, `iOS`, `linux`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. /// public readonly ImmutableArray IncludedPlatforms; diff --git a/sdk/go/azuread/getGroups.go b/sdk/go/azuread/getGroups.go index 3091d9cf5..ff297101e 100644 --- a/sdk/go/azuread/getGroups.go +++ b/sdk/go/azuread/getGroups.go @@ -152,11 +152,13 @@ type GetGroupsArgs struct { DisplayNamePrefix *string `pulumi:"displayNamePrefix"` // The display names of the groups. DisplayNames []string `pulumi:"displayNames"` + // Ignore missing groups and return groups that were found. The data source will still fail if no groups are found. Cannot be specified with `returnAll`. Defaults to `false`. + IgnoreMissing *bool `pulumi:"ignoreMissing"` // Whether the returned groups should be mail-enabled. By itself this does not exclude security-enabled groups. Setting this to `true` ensures all groups are mail-enabled, and setting to `false` ensures that all groups are _not_ mail-enabled. To ignore this filter, omit the property or set it to null. Cannot be specified together with `objectIds`. MailEnabled *bool `pulumi:"mailEnabled"` // The object IDs of the groups. ObjectIds []string `pulumi:"objectIds"` - // A flag to denote if all groups should be fetched and returned. + // A flag to denote if all groups should be fetched and returned. Cannot be specified wth `ignoreMissing`. Defaults to `false`. ReturnAll *bool `pulumi:"returnAll"` // Whether the returned groups should be security-enabled. By itself this does not exclude mail-enabled groups. Setting this to `true` ensures all groups are security-enabled, and setting to `false` ensures that all groups are _not_ security-enabled. To ignore this filter, omit the property or set it to null. Cannot be specified together with `objectIds`. SecurityEnabled *bool `pulumi:"securityEnabled"` @@ -168,8 +170,9 @@ type GetGroupsResult struct { // The display names of the groups. DisplayNames []string `pulumi:"displayNames"` // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - MailEnabled bool `pulumi:"mailEnabled"` + Id string `pulumi:"id"` + IgnoreMissing *bool `pulumi:"ignoreMissing"` + MailEnabled bool `pulumi:"mailEnabled"` // The object IDs of the groups. ObjectIds []string `pulumi:"objectIds"` ReturnAll *bool `pulumi:"returnAll"` @@ -195,11 +198,13 @@ type GetGroupsOutputArgs struct { DisplayNamePrefix pulumi.StringPtrInput `pulumi:"displayNamePrefix"` // The display names of the groups. DisplayNames pulumi.StringArrayInput `pulumi:"displayNames"` + // Ignore missing groups and return groups that were found. The data source will still fail if no groups are found. Cannot be specified with `returnAll`. Defaults to `false`. + IgnoreMissing pulumi.BoolPtrInput `pulumi:"ignoreMissing"` // Whether the returned groups should be mail-enabled. By itself this does not exclude security-enabled groups. Setting this to `true` ensures all groups are mail-enabled, and setting to `false` ensures that all groups are _not_ mail-enabled. To ignore this filter, omit the property or set it to null. Cannot be specified together with `objectIds`. MailEnabled pulumi.BoolPtrInput `pulumi:"mailEnabled"` // The object IDs of the groups. ObjectIds pulumi.StringArrayInput `pulumi:"objectIds"` - // A flag to denote if all groups should be fetched and returned. + // A flag to denote if all groups should be fetched and returned. Cannot be specified wth `ignoreMissing`. Defaults to `false`. ReturnAll pulumi.BoolPtrInput `pulumi:"returnAll"` // Whether the returned groups should be security-enabled. By itself this does not exclude mail-enabled groups. Setting this to `true` ensures all groups are security-enabled, and setting to `false` ensures that all groups are _not_ security-enabled. To ignore this filter, omit the property or set it to null. Cannot be specified together with `objectIds`. SecurityEnabled pulumi.BoolPtrInput `pulumi:"securityEnabled"` @@ -238,6 +243,10 @@ func (o GetGroupsResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetGroupsResult) string { return v.Id }).(pulumi.StringOutput) } +func (o GetGroupsResultOutput) IgnoreMissing() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetGroupsResult) *bool { return v.IgnoreMissing }).(pulumi.BoolPtrOutput) +} + func (o GetGroupsResultOutput) MailEnabled() pulumi.BoolOutput { return o.ApplyT(func(v GetGroupsResult) bool { return v.MailEnabled }).(pulumi.BoolOutput) } diff --git a/sdk/go/azuread/getUsers.go b/sdk/go/azuread/getUsers.go index b7151d3dc..b4eb64533 100644 --- a/sdk/go/azuread/getUsers.go +++ b/sdk/go/azuread/getUsers.go @@ -56,13 +56,13 @@ func GetUsers(ctx *pulumi.Context, args *GetUsersArgs, opts ...pulumi.InvokeOpti // A collection of arguments for invoking getUsers. type GetUsersArgs struct { - // Ignore missing users and return users that were found. The data source will still fail if no users are found. Defaults to false. + // Ignore missing users and return users that were found. The data source will still fail if no users are found. Cannot be specified with `returnAll`. Defaults to `false`. IgnoreMissing *bool `pulumi:"ignoreMissing"` // The email aliases of the users. MailNicknames []string `pulumi:"mailNicknames"` // The object IDs of the users. ObjectIds []string `pulumi:"objectIds"` - // When `true`, the data source will return all users. Cannot be used with `ignoreMissing`. Defaults to false. + // When `true`, the data source will return all users. Cannot be used with `ignoreMissing`. Defaults to `false`. ReturnAll *bool `pulumi:"returnAll"` // The user principal names (UPNs) of the users. UserPrincipalNames []string `pulumi:"userPrincipalNames"` @@ -99,13 +99,13 @@ func GetUsersOutput(ctx *pulumi.Context, args GetUsersOutputArgs, opts ...pulumi // A collection of arguments for invoking getUsers. type GetUsersOutputArgs struct { - // Ignore missing users and return users that were found. The data source will still fail if no users are found. Defaults to false. + // Ignore missing users and return users that were found. The data source will still fail if no users are found. Cannot be specified with `returnAll`. Defaults to `false`. IgnoreMissing pulumi.BoolPtrInput `pulumi:"ignoreMissing"` // The email aliases of the users. MailNicknames pulumi.StringArrayInput `pulumi:"mailNicknames"` // The object IDs of the users. ObjectIds pulumi.StringArrayInput `pulumi:"objectIds"` - // When `true`, the data source will return all users. Cannot be used with `ignoreMissing`. Defaults to false. + // When `true`, the data source will return all users. Cannot be used with `ignoreMissing`. Defaults to `false`. ReturnAll pulumi.BoolPtrInput `pulumi:"returnAll"` // The user principal names (UPNs) of the users. UserPrincipalNames pulumi.StringArrayInput `pulumi:"userPrincipalNames"` diff --git a/sdk/go/azuread/group.go b/sdk/go/azuread/group.go index 1d9b4bbf0..817d9c2c8 100644 --- a/sdk/go/azuread/group.go +++ b/sdk/go/azuread/group.go @@ -41,7 +41,7 @@ type Group struct { AssignableToRole pulumi.BoolPtrOutput `pulumi:"assignableToRole"` // Indicates whether new members added to the group will be auto-subscribed to receive email notifications. Can only be set for Unified groups. AutoSubscribeNewMembers pulumi.BoolOutput `pulumi:"autoSubscribeNewMembers"` - // A set of behaviors for a Microsoft 365 group. Possible values are `AllowOnlyMembersToPost`, `HideGroupInOutlook`, `SubscribeNewGroupMembers` and `WelcomeEmailDisabled`. See [official documentation](https://docs.microsoft.com/en-us/graph/group-set-options) for more details. Changing this forces a new resource to be created. + // A set of behaviors for a Microsoft 365 group. Possible values are `AllowOnlyMembersToPost`, `HideGroupInOutlook`, `SubscribeMembersToCalendarEventsDisabled`, `SubscribeNewGroupMembers` and `WelcomeEmailDisabled`. See [official documentation](https://docs.microsoft.com/en-us/graph/group-set-options) for more details. Changing this forces a new resource to be created. Behaviors pulumi.StringArrayOutput `pulumi:"behaviors"` // The description for the group. Description pulumi.StringPtrOutput `pulumi:"description"` @@ -131,7 +131,7 @@ type groupState struct { AssignableToRole *bool `pulumi:"assignableToRole"` // Indicates whether new members added to the group will be auto-subscribed to receive email notifications. Can only be set for Unified groups. AutoSubscribeNewMembers *bool `pulumi:"autoSubscribeNewMembers"` - // A set of behaviors for a Microsoft 365 group. Possible values are `AllowOnlyMembersToPost`, `HideGroupInOutlook`, `SubscribeNewGroupMembers` and `WelcomeEmailDisabled`. See [official documentation](https://docs.microsoft.com/en-us/graph/group-set-options) for more details. Changing this forces a new resource to be created. + // A set of behaviors for a Microsoft 365 group. Possible values are `AllowOnlyMembersToPost`, `HideGroupInOutlook`, `SubscribeMembersToCalendarEventsDisabled`, `SubscribeNewGroupMembers` and `WelcomeEmailDisabled`. See [official documentation](https://docs.microsoft.com/en-us/graph/group-set-options) for more details. Changing this forces a new resource to be created. Behaviors []string `pulumi:"behaviors"` // The description for the group. Description *string `pulumi:"description"` @@ -190,7 +190,7 @@ type GroupState struct { AssignableToRole pulumi.BoolPtrInput // Indicates whether new members added to the group will be auto-subscribed to receive email notifications. Can only be set for Unified groups. AutoSubscribeNewMembers pulumi.BoolPtrInput - // A set of behaviors for a Microsoft 365 group. Possible values are `AllowOnlyMembersToPost`, `HideGroupInOutlook`, `SubscribeNewGroupMembers` and `WelcomeEmailDisabled`. See [official documentation](https://docs.microsoft.com/en-us/graph/group-set-options) for more details. Changing this forces a new resource to be created. + // A set of behaviors for a Microsoft 365 group. Possible values are `AllowOnlyMembersToPost`, `HideGroupInOutlook`, `SubscribeMembersToCalendarEventsDisabled`, `SubscribeNewGroupMembers` and `WelcomeEmailDisabled`. See [official documentation](https://docs.microsoft.com/en-us/graph/group-set-options) for more details. Changing this forces a new resource to be created. Behaviors pulumi.StringArrayInput // The description for the group. Description pulumi.StringPtrInput @@ -253,7 +253,7 @@ type groupArgs struct { AssignableToRole *bool `pulumi:"assignableToRole"` // Indicates whether new members added to the group will be auto-subscribed to receive email notifications. Can only be set for Unified groups. AutoSubscribeNewMembers *bool `pulumi:"autoSubscribeNewMembers"` - // A set of behaviors for a Microsoft 365 group. Possible values are `AllowOnlyMembersToPost`, `HideGroupInOutlook`, `SubscribeNewGroupMembers` and `WelcomeEmailDisabled`. See [official documentation](https://docs.microsoft.com/en-us/graph/group-set-options) for more details. Changing this forces a new resource to be created. + // A set of behaviors for a Microsoft 365 group. Possible values are `AllowOnlyMembersToPost`, `HideGroupInOutlook`, `SubscribeMembersToCalendarEventsDisabled`, `SubscribeNewGroupMembers` and `WelcomeEmailDisabled`. See [official documentation](https://docs.microsoft.com/en-us/graph/group-set-options) for more details. Changing this forces a new resource to be created. Behaviors []string `pulumi:"behaviors"` // The description for the group. Description *string `pulumi:"description"` @@ -295,7 +295,7 @@ type GroupArgs struct { AssignableToRole pulumi.BoolPtrInput // Indicates whether new members added to the group will be auto-subscribed to receive email notifications. Can only be set for Unified groups. AutoSubscribeNewMembers pulumi.BoolPtrInput - // A set of behaviors for a Microsoft 365 group. Possible values are `AllowOnlyMembersToPost`, `HideGroupInOutlook`, `SubscribeNewGroupMembers` and `WelcomeEmailDisabled`. See [official documentation](https://docs.microsoft.com/en-us/graph/group-set-options) for more details. Changing this forces a new resource to be created. + // A set of behaviors for a Microsoft 365 group. Possible values are `AllowOnlyMembersToPost`, `HideGroupInOutlook`, `SubscribeMembersToCalendarEventsDisabled`, `SubscribeNewGroupMembers` and `WelcomeEmailDisabled`. See [official documentation](https://docs.microsoft.com/en-us/graph/group-set-options) for more details. Changing this forces a new resource to be created. Behaviors pulumi.StringArrayInput // The description for the group. Description pulumi.StringPtrInput diff --git a/sdk/go/azuread/pulumiTypes.go b/sdk/go/azuread/pulumiTypes.go index cb856ab8d..3ea5832b2 100644 --- a/sdk/go/azuread/pulumiTypes.go +++ b/sdk/go/azuread/pulumiTypes.go @@ -2918,9 +2918,9 @@ func (o ConditionalAccessPolicyConditionsLocationsPtrOutput) IncludedLocations() } type ConditionalAccessPolicyConditionsPlatforms struct { - // A list of platforms explicitly excluded from the policy. Possible values are: `all`, `android`, `iOS`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. + // A list of platforms explicitly excluded from the policy. Possible values are: `all`, `android`, `iOS`, `linux`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. ExcludedPlatforms []string `pulumi:"excludedPlatforms"` - // A list of platforms the policy applies to, unless explicitly excluded. Possible values are: `all`, `android`, `iOS`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. + // A list of platforms the policy applies to, unless explicitly excluded. Possible values are: `all`, `android`, `iOS`, `linux`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. IncludedPlatforms []string `pulumi:"includedPlatforms"` } @@ -2936,9 +2936,9 @@ type ConditionalAccessPolicyConditionsPlatformsInput interface { } type ConditionalAccessPolicyConditionsPlatformsArgs struct { - // A list of platforms explicitly excluded from the policy. Possible values are: `all`, `android`, `iOS`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. + // A list of platforms explicitly excluded from the policy. Possible values are: `all`, `android`, `iOS`, `linux`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. ExcludedPlatforms pulumi.StringArrayInput `pulumi:"excludedPlatforms"` - // A list of platforms the policy applies to, unless explicitly excluded. Possible values are: `all`, `android`, `iOS`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. + // A list of platforms the policy applies to, unless explicitly excluded. Possible values are: `all`, `android`, `iOS`, `linux`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. IncludedPlatforms pulumi.StringArrayInput `pulumi:"includedPlatforms"` } @@ -3019,12 +3019,12 @@ func (o ConditionalAccessPolicyConditionsPlatformsOutput) ToConditionalAccessPol }).(ConditionalAccessPolicyConditionsPlatformsPtrOutput) } -// A list of platforms explicitly excluded from the policy. Possible values are: `all`, `android`, `iOS`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. +// A list of platforms explicitly excluded from the policy. Possible values are: `all`, `android`, `iOS`, `linux`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. func (o ConditionalAccessPolicyConditionsPlatformsOutput) ExcludedPlatforms() pulumi.StringArrayOutput { return o.ApplyT(func(v ConditionalAccessPolicyConditionsPlatforms) []string { return v.ExcludedPlatforms }).(pulumi.StringArrayOutput) } -// A list of platforms the policy applies to, unless explicitly excluded. Possible values are: `all`, `android`, `iOS`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. +// A list of platforms the policy applies to, unless explicitly excluded. Possible values are: `all`, `android`, `iOS`, `linux`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. func (o ConditionalAccessPolicyConditionsPlatformsOutput) IncludedPlatforms() pulumi.StringArrayOutput { return o.ApplyT(func(v ConditionalAccessPolicyConditionsPlatforms) []string { return v.IncludedPlatforms }).(pulumi.StringArrayOutput) } @@ -3053,7 +3053,7 @@ func (o ConditionalAccessPolicyConditionsPlatformsPtrOutput) Elem() ConditionalA }).(ConditionalAccessPolicyConditionsPlatformsOutput) } -// A list of platforms explicitly excluded from the policy. Possible values are: `all`, `android`, `iOS`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. +// A list of platforms explicitly excluded from the policy. Possible values are: `all`, `android`, `iOS`, `linux`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. func (o ConditionalAccessPolicyConditionsPlatformsPtrOutput) ExcludedPlatforms() pulumi.StringArrayOutput { return o.ApplyT(func(v *ConditionalAccessPolicyConditionsPlatforms) []string { if v == nil { @@ -3063,7 +3063,7 @@ func (o ConditionalAccessPolicyConditionsPlatformsPtrOutput) ExcludedPlatforms() }).(pulumi.StringArrayOutput) } -// A list of platforms the policy applies to, unless explicitly excluded. Possible values are: `all`, `android`, `iOS`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. +// A list of platforms the policy applies to, unless explicitly excluded. Possible values are: `all`, `android`, `iOS`, `linux`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. func (o ConditionalAccessPolicyConditionsPlatformsPtrOutput) IncludedPlatforms() pulumi.StringArrayOutput { return o.ApplyT(func(v *ConditionalAccessPolicyConditionsPlatforms) []string { if v == nil { diff --git a/sdk/nodejs/getGroups.ts b/sdk/nodejs/getGroups.ts index fcbea3ec5..5303ea051 100644 --- a/sdk/nodejs/getGroups.ts +++ b/sdk/nodejs/getGroups.ts @@ -83,6 +83,7 @@ export function getGroups(args?: GetGroupsArgs, opts?: pulumi.InvokeOptions): Pr return pulumi.runtime.invoke("azuread:index/getGroups:getGroups", { "displayNamePrefix": args.displayNamePrefix, "displayNames": args.displayNames, + "ignoreMissing": args.ignoreMissing, "mailEnabled": args.mailEnabled, "objectIds": args.objectIds, "returnAll": args.returnAll, @@ -102,6 +103,10 @@ export interface GetGroupsArgs { * The display names of the groups. */ displayNames?: string[]; + /** + * Ignore missing groups and return groups that were found. The data source will still fail if no groups are found. Cannot be specified with `returnAll`. Defaults to `false`. + */ + ignoreMissing?: boolean; /** * Whether the returned groups should be mail-enabled. By itself this does not exclude security-enabled groups. Setting this to `true` ensures all groups are mail-enabled, and setting to `false` ensures that all groups are _not_ mail-enabled. To ignore this filter, omit the property or set it to null. Cannot be specified together with `objectIds`. */ @@ -111,7 +116,7 @@ export interface GetGroupsArgs { */ objectIds?: string[]; /** - * A flag to denote if all groups should be fetched and returned. + * A flag to denote if all groups should be fetched and returned. Cannot be specified wth `ignoreMissing`. Defaults to `false`. */ returnAll?: boolean; /** @@ -133,6 +138,7 @@ export interface GetGroupsResult { * The provider-assigned unique ID for this managed resource. */ readonly id: string; + readonly ignoreMissing?: boolean; readonly mailEnabled: boolean; /** * The object IDs of the groups. @@ -158,6 +164,10 @@ export interface GetGroupsOutputArgs { * The display names of the groups. */ displayNames?: pulumi.Input[]>; + /** + * Ignore missing groups and return groups that were found. The data source will still fail if no groups are found. Cannot be specified with `returnAll`. Defaults to `false`. + */ + ignoreMissing?: pulumi.Input; /** * Whether the returned groups should be mail-enabled. By itself this does not exclude security-enabled groups. Setting this to `true` ensures all groups are mail-enabled, and setting to `false` ensures that all groups are _not_ mail-enabled. To ignore this filter, omit the property or set it to null. Cannot be specified together with `objectIds`. */ @@ -167,7 +177,7 @@ export interface GetGroupsOutputArgs { */ objectIds?: pulumi.Input[]>; /** - * A flag to denote if all groups should be fetched and returned. + * A flag to denote if all groups should be fetched and returned. Cannot be specified wth `ignoreMissing`. Defaults to `false`. */ returnAll?: pulumi.Input; /** diff --git a/sdk/nodejs/getUsers.ts b/sdk/nodejs/getUsers.ts index 81cde9822..d3bde524a 100644 --- a/sdk/nodejs/getUsers.ts +++ b/sdk/nodejs/getUsers.ts @@ -51,7 +51,7 @@ export function getUsers(args?: GetUsersArgs, opts?: pulumi.InvokeOptions): Prom */ export interface GetUsersArgs { /** - * Ignore missing users and return users that were found. The data source will still fail if no users are found. Defaults to false. + * Ignore missing users and return users that were found. The data source will still fail if no users are found. Cannot be specified with `returnAll`. Defaults to `false`. */ ignoreMissing?: boolean; /** @@ -63,7 +63,7 @@ export interface GetUsersArgs { */ objectIds?: string[]; /** - * When `true`, the data source will return all users. Cannot be used with `ignoreMissing`. Defaults to false. + * When `true`, the data source will return all users. Cannot be used with `ignoreMissing`. Defaults to `false`. */ returnAll?: boolean; /** @@ -109,7 +109,7 @@ export function getUsersOutput(args?: GetUsersOutputArgs, opts?: pulumi.InvokeOp */ export interface GetUsersOutputArgs { /** - * Ignore missing users and return users that were found. The data source will still fail if no users are found. Defaults to false. + * Ignore missing users and return users that were found. The data source will still fail if no users are found. Cannot be specified with `returnAll`. Defaults to `false`. */ ignoreMissing?: pulumi.Input; /** @@ -121,7 +121,7 @@ export interface GetUsersOutputArgs { */ objectIds?: pulumi.Input[]>; /** - * When `true`, the data source will return all users. Cannot be used with `ignoreMissing`. Defaults to false. + * When `true`, the data source will return all users. Cannot be used with `ignoreMissing`. Defaults to `false`. */ returnAll?: pulumi.Input; /** diff --git a/sdk/nodejs/group.ts b/sdk/nodejs/group.ts index bdc0e88dd..1ffa11c91 100644 --- a/sdk/nodejs/group.ts +++ b/sdk/nodejs/group.ts @@ -67,7 +67,7 @@ export class Group extends pulumi.CustomResource { */ public readonly autoSubscribeNewMembers!: pulumi.Output; /** - * A set of behaviors for a Microsoft 365 group. Possible values are `AllowOnlyMembersToPost`, `HideGroupInOutlook`, `SubscribeNewGroupMembers` and `WelcomeEmailDisabled`. See [official documentation](https://docs.microsoft.com/en-us/graph/group-set-options) for more details. Changing this forces a new resource to be created. + * A set of behaviors for a Microsoft 365 group. Possible values are `AllowOnlyMembersToPost`, `HideGroupInOutlook`, `SubscribeMembersToCalendarEventsDisabled`, `SubscribeNewGroupMembers` and `WelcomeEmailDisabled`. See [official documentation](https://docs.microsoft.com/en-us/graph/group-set-options) for more details. Changing this forces a new resource to be created. */ public readonly behaviors!: pulumi.Output; /** @@ -264,7 +264,7 @@ export interface GroupState { */ autoSubscribeNewMembers?: pulumi.Input; /** - * A set of behaviors for a Microsoft 365 group. Possible values are `AllowOnlyMembersToPost`, `HideGroupInOutlook`, `SubscribeNewGroupMembers` and `WelcomeEmailDisabled`. See [official documentation](https://docs.microsoft.com/en-us/graph/group-set-options) for more details. Changing this forces a new resource to be created. + * A set of behaviors for a Microsoft 365 group. Possible values are `AllowOnlyMembersToPost`, `HideGroupInOutlook`, `SubscribeMembersToCalendarEventsDisabled`, `SubscribeNewGroupMembers` and `WelcomeEmailDisabled`. See [official documentation](https://docs.microsoft.com/en-us/graph/group-set-options) for more details. Changing this forces a new resource to be created. */ behaviors?: pulumi.Input[]>; /** @@ -382,7 +382,7 @@ export interface GroupArgs { */ autoSubscribeNewMembers?: pulumi.Input; /** - * A set of behaviors for a Microsoft 365 group. Possible values are `AllowOnlyMembersToPost`, `HideGroupInOutlook`, `SubscribeNewGroupMembers` and `WelcomeEmailDisabled`. See [official documentation](https://docs.microsoft.com/en-us/graph/group-set-options) for more details. Changing this forces a new resource to be created. + * A set of behaviors for a Microsoft 365 group. Possible values are `AllowOnlyMembersToPost`, `HideGroupInOutlook`, `SubscribeMembersToCalendarEventsDisabled`, `SubscribeNewGroupMembers` and `WelcomeEmailDisabled`. See [official documentation](https://docs.microsoft.com/en-us/graph/group-set-options) for more details. Changing this forces a new resource to be created. */ behaviors?: pulumi.Input[]>; /** diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index 2f060d765..411cb8a9e 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -323,11 +323,11 @@ export interface ConditionalAccessPolicyConditionsLocations { export interface ConditionalAccessPolicyConditionsPlatforms { /** - * A list of platforms explicitly excluded from the policy. Possible values are: `all`, `android`, `iOS`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. + * A list of platforms explicitly excluded from the policy. Possible values are: `all`, `android`, `iOS`, `linux`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. */ excludedPlatforms?: pulumi.Input[]>; /** - * A list of platforms the policy applies to, unless explicitly excluded. Possible values are: `all`, `android`, `iOS`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. + * A list of platforms the policy applies to, unless explicitly excluded. Possible values are: `all`, `android`, `iOS`, `linux`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. */ includedPlatforms: pulumi.Input[]>; } diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index f7e1f7a71..1745a6fed 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -323,11 +323,11 @@ export interface ConditionalAccessPolicyConditionsLocations { export interface ConditionalAccessPolicyConditionsPlatforms { /** - * A list of platforms explicitly excluded from the policy. Possible values are: `all`, `android`, `iOS`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. + * A list of platforms explicitly excluded from the policy. Possible values are: `all`, `android`, `iOS`, `linux`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. */ excludedPlatforms?: string[]; /** - * A list of platforms the policy applies to, unless explicitly excluded. Possible values are: `all`, `android`, `iOS`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. + * A list of platforms the policy applies to, unless explicitly excluded. Possible values are: `all`, `android`, `iOS`, `linux`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. */ includedPlatforms: string[]; } diff --git a/sdk/python/pulumi_azuread/_inputs.py b/sdk/python/pulumi_azuread/_inputs.py index f783cba55..d5a29326b 100644 --- a/sdk/python/pulumi_azuread/_inputs.py +++ b/sdk/python/pulumi_azuread/_inputs.py @@ -1205,8 +1205,8 @@ def __init__(__self__, *, included_platforms: pulumi.Input[Sequence[pulumi.Input[str]]], excluded_platforms: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] included_platforms: A list of platforms the policy applies to, unless explicitly excluded. Possible values are: `all`, `android`, `iOS`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. - :param pulumi.Input[Sequence[pulumi.Input[str]]] excluded_platforms: A list of platforms explicitly excluded from the policy. Possible values are: `all`, `android`, `iOS`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. + :param pulumi.Input[Sequence[pulumi.Input[str]]] included_platforms: A list of platforms the policy applies to, unless explicitly excluded. Possible values are: `all`, `android`, `iOS`, `linux`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. + :param pulumi.Input[Sequence[pulumi.Input[str]]] excluded_platforms: A list of platforms explicitly excluded from the policy. Possible values are: `all`, `android`, `iOS`, `linux`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. """ pulumi.set(__self__, "included_platforms", included_platforms) if excluded_platforms is not None: @@ -1216,7 +1216,7 @@ def __init__(__self__, *, @pulumi.getter(name="includedPlatforms") def included_platforms(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: """ - A list of platforms the policy applies to, unless explicitly excluded. Possible values are: `all`, `android`, `iOS`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. + A list of platforms the policy applies to, unless explicitly excluded. Possible values are: `all`, `android`, `iOS`, `linux`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. """ return pulumi.get(self, "included_platforms") @@ -1228,7 +1228,7 @@ def included_platforms(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): @pulumi.getter(name="excludedPlatforms") def excluded_platforms(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - A list of platforms explicitly excluded from the policy. Possible values are: `all`, `android`, `iOS`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. + A list of platforms explicitly excluded from the policy. Possible values are: `all`, `android`, `iOS`, `linux`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. """ return pulumi.get(self, "excluded_platforms") diff --git a/sdk/python/pulumi_azuread/get_groups.py b/sdk/python/pulumi_azuread/get_groups.py index 05581902e..11f0aef63 100644 --- a/sdk/python/pulumi_azuread/get_groups.py +++ b/sdk/python/pulumi_azuread/get_groups.py @@ -20,7 +20,7 @@ class GetGroupsResult: """ A collection of values returned by getGroups. """ - def __init__(__self__, display_name_prefix=None, display_names=None, id=None, mail_enabled=None, object_ids=None, return_all=None, security_enabled=None): + def __init__(__self__, display_name_prefix=None, display_names=None, id=None, ignore_missing=None, mail_enabled=None, object_ids=None, return_all=None, security_enabled=None): if display_name_prefix and not isinstance(display_name_prefix, str): raise TypeError("Expected argument 'display_name_prefix' to be a str") pulumi.set(__self__, "display_name_prefix", display_name_prefix) @@ -30,6 +30,9 @@ def __init__(__self__, display_name_prefix=None, display_names=None, id=None, ma if id and not isinstance(id, str): raise TypeError("Expected argument 'id' to be a str") pulumi.set(__self__, "id", id) + if ignore_missing and not isinstance(ignore_missing, bool): + raise TypeError("Expected argument 'ignore_missing' to be a bool") + pulumi.set(__self__, "ignore_missing", ignore_missing) if mail_enabled and not isinstance(mail_enabled, bool): raise TypeError("Expected argument 'mail_enabled' to be a bool") pulumi.set(__self__, "mail_enabled", mail_enabled) @@ -64,6 +67,11 @@ def id(self) -> str: """ return pulumi.get(self, "id") + @property + @pulumi.getter(name="ignoreMissing") + def ignore_missing(self) -> Optional[bool]: + return pulumi.get(self, "ignore_missing") + @property @pulumi.getter(name="mailEnabled") def mail_enabled(self) -> bool: @@ -97,6 +105,7 @@ def __await__(self): display_name_prefix=self.display_name_prefix, display_names=self.display_names, id=self.id, + ignore_missing=self.ignore_missing, mail_enabled=self.mail_enabled, object_ids=self.object_ids, return_all=self.return_all, @@ -105,6 +114,7 @@ def __await__(self): def get_groups(display_name_prefix: Optional[str] = None, display_names: Optional[Sequence[str]] = None, + ignore_missing: Optional[bool] = None, mail_enabled: Optional[bool] = None, object_ids: Optional[Sequence[str]] = None, return_all: Optional[bool] = None, @@ -172,14 +182,16 @@ def get_groups(display_name_prefix: Optional[str] = None, :param str display_name_prefix: A common display name prefix to match when returning groups. :param Sequence[str] display_names: The display names of the groups. + :param bool ignore_missing: Ignore missing groups and return groups that were found. The data source will still fail if no groups are found. Cannot be specified with `return_all`. Defaults to `false`. :param bool mail_enabled: Whether the returned groups should be mail-enabled. By itself this does not exclude security-enabled groups. Setting this to `true` ensures all groups are mail-enabled, and setting to `false` ensures that all groups are _not_ mail-enabled. To ignore this filter, omit the property or set it to null. Cannot be specified together with `object_ids`. :param Sequence[str] object_ids: The object IDs of the groups. - :param bool return_all: A flag to denote if all groups should be fetched and returned. + :param bool return_all: A flag to denote if all groups should be fetched and returned. Cannot be specified wth `ignore_missing`. Defaults to `false`. :param bool security_enabled: Whether the returned groups should be security-enabled. By itself this does not exclude mail-enabled groups. Setting this to `true` ensures all groups are security-enabled, and setting to `false` ensures that all groups are _not_ security-enabled. To ignore this filter, omit the property or set it to null. Cannot be specified together with `object_ids`. """ __args__ = dict() __args__['displayNamePrefix'] = display_name_prefix __args__['displayNames'] = display_names + __args__['ignoreMissing'] = ignore_missing __args__['mailEnabled'] = mail_enabled __args__['objectIds'] = object_ids __args__['returnAll'] = return_all @@ -194,6 +206,7 @@ def get_groups(display_name_prefix: Optional[str] = None, display_name_prefix=__ret__.display_name_prefix, display_names=__ret__.display_names, id=__ret__.id, + ignore_missing=__ret__.ignore_missing, mail_enabled=__ret__.mail_enabled, object_ids=__ret__.object_ids, return_all=__ret__.return_all, @@ -203,6 +216,7 @@ def get_groups(display_name_prefix: Optional[str] = None, @_utilities.lift_output_func(get_groups) def get_groups_output(display_name_prefix: Optional[pulumi.Input[Optional[str]]] = None, display_names: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, + ignore_missing: Optional[pulumi.Input[Optional[bool]]] = None, mail_enabled: Optional[pulumi.Input[Optional[bool]]] = None, object_ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, return_all: Optional[pulumi.Input[Optional[bool]]] = None, @@ -270,9 +284,10 @@ def get_groups_output(display_name_prefix: Optional[pulumi.Input[Optional[str]]] :param str display_name_prefix: A common display name prefix to match when returning groups. :param Sequence[str] display_names: The display names of the groups. + :param bool ignore_missing: Ignore missing groups and return groups that were found. The data source will still fail if no groups are found. Cannot be specified with `return_all`. Defaults to `false`. :param bool mail_enabled: Whether the returned groups should be mail-enabled. By itself this does not exclude security-enabled groups. Setting this to `true` ensures all groups are mail-enabled, and setting to `false` ensures that all groups are _not_ mail-enabled. To ignore this filter, omit the property or set it to null. Cannot be specified together with `object_ids`. :param Sequence[str] object_ids: The object IDs of the groups. - :param bool return_all: A flag to denote if all groups should be fetched and returned. + :param bool return_all: A flag to denote if all groups should be fetched and returned. Cannot be specified wth `ignore_missing`. Defaults to `false`. :param bool security_enabled: Whether the returned groups should be security-enabled. By itself this does not exclude mail-enabled groups. Setting this to `true` ensures all groups are security-enabled, and setting to `false` ensures that all groups are _not_ security-enabled. To ignore this filter, omit the property or set it to null. Cannot be specified together with `object_ids`. """ ... diff --git a/sdk/python/pulumi_azuread/get_users.py b/sdk/python/pulumi_azuread/get_users.py index 9c0984bd5..7c44a568f 100644 --- a/sdk/python/pulumi_azuread/get_users.py +++ b/sdk/python/pulumi_azuread/get_users.py @@ -140,10 +140,10 @@ def get_users(ignore_missing: Optional[bool] = None, ``` - :param bool ignore_missing: Ignore missing users and return users that were found. The data source will still fail if no users are found. Defaults to false. + :param bool ignore_missing: Ignore missing users and return users that were found. The data source will still fail if no users are found. Cannot be specified with `return_all`. Defaults to `false`. :param Sequence[str] mail_nicknames: The email aliases of the users. :param Sequence[str] object_ids: The object IDs of the users. - :param bool return_all: When `true`, the data source will return all users. Cannot be used with `ignore_missing`. Defaults to false. + :param bool return_all: When `true`, the data source will return all users. Cannot be used with `ignore_missing`. Defaults to `false`. :param Sequence[str] user_principal_names: The user principal names (UPNs) of the users. """ __args__ = dict() @@ -199,10 +199,10 @@ def get_users_output(ignore_missing: Optional[pulumi.Input[Optional[bool]]] = No ``` - :param bool ignore_missing: Ignore missing users and return users that were found. The data source will still fail if no users are found. Defaults to false. + :param bool ignore_missing: Ignore missing users and return users that were found. The data source will still fail if no users are found. Cannot be specified with `return_all`. Defaults to `false`. :param Sequence[str] mail_nicknames: The email aliases of the users. :param Sequence[str] object_ids: The object IDs of the users. - :param bool return_all: When `true`, the data source will return all users. Cannot be used with `ignore_missing`. Defaults to false. + :param bool return_all: When `true`, the data source will return all users. Cannot be used with `ignore_missing`. Defaults to `false`. :param Sequence[str] user_principal_names: The user principal names (UPNs) of the users. """ ... diff --git a/sdk/python/pulumi_azuread/group.py b/sdk/python/pulumi_azuread/group.py index 442ace88e..59842066a 100644 --- a/sdk/python/pulumi_azuread/group.py +++ b/sdk/python/pulumi_azuread/group.py @@ -39,7 +39,7 @@ def __init__(__self__, *, :param pulumi.Input[str] display_name: The display name for the group. :param pulumi.Input[bool] assignable_to_role: Indicates whether this group can be assigned to an Azure Active Directory role. Can only be `true` for security-enabled groups. Changing this forces a new resource to be created. :param pulumi.Input[bool] auto_subscribe_new_members: Indicates whether new members added to the group will be auto-subscribed to receive email notifications. Can only be set for Unified groups. - :param pulumi.Input[Sequence[pulumi.Input[str]]] behaviors: A set of behaviors for a Microsoft 365 group. Possible values are `AllowOnlyMembersToPost`, `HideGroupInOutlook`, `SubscribeNewGroupMembers` and `WelcomeEmailDisabled`. See [official documentation](https://docs.microsoft.com/en-us/graph/group-set-options) for more details. Changing this forces a new resource to be created. + :param pulumi.Input[Sequence[pulumi.Input[str]]] behaviors: A set of behaviors for a Microsoft 365 group. Possible values are `AllowOnlyMembersToPost`, `HideGroupInOutlook`, `SubscribeMembersToCalendarEventsDisabled`, `SubscribeNewGroupMembers` and `WelcomeEmailDisabled`. See [official documentation](https://docs.microsoft.com/en-us/graph/group-set-options) for more details. Changing this forces a new resource to be created. :param pulumi.Input[str] description: The description for the group. :param pulumi.Input['GroupDynamicMembershipArgs'] dynamic_membership: A `dynamic_membership` block as documented below. Required when `types` contains `DynamicMembership`. Cannot be used with the `members` property. :param pulumi.Input[bool] external_senders_allowed: Indicates whether people external to the organization can send messages to the group. Can only be set for Unified groups. @@ -134,7 +134,7 @@ def auto_subscribe_new_members(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter def behaviors(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - A set of behaviors for a Microsoft 365 group. Possible values are `AllowOnlyMembersToPost`, `HideGroupInOutlook`, `SubscribeNewGroupMembers` and `WelcomeEmailDisabled`. See [official documentation](https://docs.microsoft.com/en-us/graph/group-set-options) for more details. Changing this forces a new resource to be created. + A set of behaviors for a Microsoft 365 group. Possible values are `AllowOnlyMembersToPost`, `HideGroupInOutlook`, `SubscribeMembersToCalendarEventsDisabled`, `SubscribeNewGroupMembers` and `WelcomeEmailDisabled`. See [official documentation](https://docs.microsoft.com/en-us/graph/group-set-options) for more details. Changing this forces a new resource to be created. """ return pulumi.get(self, "behaviors") @@ -358,7 +358,7 @@ def __init__(__self__, *, Input properties used for looking up and filtering Group resources. :param pulumi.Input[bool] assignable_to_role: Indicates whether this group can be assigned to an Azure Active Directory role. Can only be `true` for security-enabled groups. Changing this forces a new resource to be created. :param pulumi.Input[bool] auto_subscribe_new_members: Indicates whether new members added to the group will be auto-subscribed to receive email notifications. Can only be set for Unified groups. - :param pulumi.Input[Sequence[pulumi.Input[str]]] behaviors: A set of behaviors for a Microsoft 365 group. Possible values are `AllowOnlyMembersToPost`, `HideGroupInOutlook`, `SubscribeNewGroupMembers` and `WelcomeEmailDisabled`. See [official documentation](https://docs.microsoft.com/en-us/graph/group-set-options) for more details. Changing this forces a new resource to be created. + :param pulumi.Input[Sequence[pulumi.Input[str]]] behaviors: A set of behaviors for a Microsoft 365 group. Possible values are `AllowOnlyMembersToPost`, `HideGroupInOutlook`, `SubscribeMembersToCalendarEventsDisabled`, `SubscribeNewGroupMembers` and `WelcomeEmailDisabled`. See [official documentation](https://docs.microsoft.com/en-us/graph/group-set-options) for more details. Changing this forces a new resource to be created. :param pulumi.Input[str] description: The description for the group. :param pulumi.Input[str] display_name: The display name for the group. :param pulumi.Input['GroupDynamicMembershipArgs'] dynamic_membership: A `dynamic_membership` block as documented below. Required when `types` contains `DynamicMembership`. Cannot be used with the `members` property. @@ -470,7 +470,7 @@ def auto_subscribe_new_members(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter def behaviors(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - A set of behaviors for a Microsoft 365 group. Possible values are `AllowOnlyMembersToPost`, `HideGroupInOutlook`, `SubscribeNewGroupMembers` and `WelcomeEmailDisabled`. See [official documentation](https://docs.microsoft.com/en-us/graph/group-set-options) for more details. Changing this forces a new resource to be created. + A set of behaviors for a Microsoft 365 group. Possible values are `AllowOnlyMembersToPost`, `HideGroupInOutlook`, `SubscribeMembersToCalendarEventsDisabled`, `SubscribeNewGroupMembers` and `WelcomeEmailDisabled`. See [official documentation](https://docs.microsoft.com/en-us/graph/group-set-options) for more details. Changing this forces a new resource to be created. """ return pulumi.get(self, "behaviors") @@ -833,7 +833,7 @@ def __init__(__self__, :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[bool] assignable_to_role: Indicates whether this group can be assigned to an Azure Active Directory role. Can only be `true` for security-enabled groups. Changing this forces a new resource to be created. :param pulumi.Input[bool] auto_subscribe_new_members: Indicates whether new members added to the group will be auto-subscribed to receive email notifications. Can only be set for Unified groups. - :param pulumi.Input[Sequence[pulumi.Input[str]]] behaviors: A set of behaviors for a Microsoft 365 group. Possible values are `AllowOnlyMembersToPost`, `HideGroupInOutlook`, `SubscribeNewGroupMembers` and `WelcomeEmailDisabled`. See [official documentation](https://docs.microsoft.com/en-us/graph/group-set-options) for more details. Changing this forces a new resource to be created. + :param pulumi.Input[Sequence[pulumi.Input[str]]] behaviors: A set of behaviors for a Microsoft 365 group. Possible values are `AllowOnlyMembersToPost`, `HideGroupInOutlook`, `SubscribeMembersToCalendarEventsDisabled`, `SubscribeNewGroupMembers` and `WelcomeEmailDisabled`. See [official documentation](https://docs.microsoft.com/en-us/graph/group-set-options) for more details. Changing this forces a new resource to be created. :param pulumi.Input[str] description: The description for the group. :param pulumi.Input[str] display_name: The display name for the group. :param pulumi.Input[pulumi.InputType['GroupDynamicMembershipArgs']] dynamic_membership: A `dynamic_membership` block as documented below. Required when `types` contains `DynamicMembership`. Cannot be used with the `members` property. @@ -1005,7 +1005,7 @@ def get(resource_name: str, :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[bool] assignable_to_role: Indicates whether this group can be assigned to an Azure Active Directory role. Can only be `true` for security-enabled groups. Changing this forces a new resource to be created. :param pulumi.Input[bool] auto_subscribe_new_members: Indicates whether new members added to the group will be auto-subscribed to receive email notifications. Can only be set for Unified groups. - :param pulumi.Input[Sequence[pulumi.Input[str]]] behaviors: A set of behaviors for a Microsoft 365 group. Possible values are `AllowOnlyMembersToPost`, `HideGroupInOutlook`, `SubscribeNewGroupMembers` and `WelcomeEmailDisabled`. See [official documentation](https://docs.microsoft.com/en-us/graph/group-set-options) for more details. Changing this forces a new resource to be created. + :param pulumi.Input[Sequence[pulumi.Input[str]]] behaviors: A set of behaviors for a Microsoft 365 group. Possible values are `AllowOnlyMembersToPost`, `HideGroupInOutlook`, `SubscribeMembersToCalendarEventsDisabled`, `SubscribeNewGroupMembers` and `WelcomeEmailDisabled`. See [official documentation](https://docs.microsoft.com/en-us/graph/group-set-options) for more details. Changing this forces a new resource to be created. :param pulumi.Input[str] description: The description for the group. :param pulumi.Input[str] display_name: The display name for the group. :param pulumi.Input[pulumi.InputType['GroupDynamicMembershipArgs']] dynamic_membership: A `dynamic_membership` block as documented below. Required when `types` contains `DynamicMembership`. Cannot be used with the `members` property. @@ -1086,7 +1086,7 @@ def auto_subscribe_new_members(self) -> pulumi.Output[bool]: @pulumi.getter def behaviors(self) -> pulumi.Output[Optional[Sequence[str]]]: """ - A set of behaviors for a Microsoft 365 group. Possible values are `AllowOnlyMembersToPost`, `HideGroupInOutlook`, `SubscribeNewGroupMembers` and `WelcomeEmailDisabled`. See [official documentation](https://docs.microsoft.com/en-us/graph/group-set-options) for more details. Changing this forces a new resource to be created. + A set of behaviors for a Microsoft 365 group. Possible values are `AllowOnlyMembersToPost`, `HideGroupInOutlook`, `SubscribeMembersToCalendarEventsDisabled`, `SubscribeNewGroupMembers` and `WelcomeEmailDisabled`. See [official documentation](https://docs.microsoft.com/en-us/graph/group-set-options) for more details. Changing this forces a new resource to be created. """ return pulumi.get(self, "behaviors") diff --git a/sdk/python/pulumi_azuread/outputs.py b/sdk/python/pulumi_azuread/outputs.py index b123ae4ac..5af133750 100644 --- a/sdk/python/pulumi_azuread/outputs.py +++ b/sdk/python/pulumi_azuread/outputs.py @@ -1298,8 +1298,8 @@ def __init__(__self__, *, included_platforms: Sequence[str], excluded_platforms: Optional[Sequence[str]] = None): """ - :param Sequence[str] included_platforms: A list of platforms the policy applies to, unless explicitly excluded. Possible values are: `all`, `android`, `iOS`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. - :param Sequence[str] excluded_platforms: A list of platforms explicitly excluded from the policy. Possible values are: `all`, `android`, `iOS`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. + :param Sequence[str] included_platforms: A list of platforms the policy applies to, unless explicitly excluded. Possible values are: `all`, `android`, `iOS`, `linux`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. + :param Sequence[str] excluded_platforms: A list of platforms explicitly excluded from the policy. Possible values are: `all`, `android`, `iOS`, `linux`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. """ pulumi.set(__self__, "included_platforms", included_platforms) if excluded_platforms is not None: @@ -1309,7 +1309,7 @@ def __init__(__self__, *, @pulumi.getter(name="includedPlatforms") def included_platforms(self) -> Sequence[str]: """ - A list of platforms the policy applies to, unless explicitly excluded. Possible values are: `all`, `android`, `iOS`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. + A list of platforms the policy applies to, unless explicitly excluded. Possible values are: `all`, `android`, `iOS`, `linux`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. """ return pulumi.get(self, "included_platforms") @@ -1317,7 +1317,7 @@ def included_platforms(self) -> Sequence[str]: @pulumi.getter(name="excludedPlatforms") def excluded_platforms(self) -> Optional[Sequence[str]]: """ - A list of platforms explicitly excluded from the policy. Possible values are: `all`, `android`, `iOS`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. + A list of platforms explicitly excluded from the policy. Possible values are: `all`, `android`, `iOS`, `linux`, `macOS`, `windows`, `windowsPhone` or `unknownFutureValue`. """ return pulumi.get(self, "excluded_platforms")