Skip to content

Commit

Permalink
Update terraform-provider-azuread to v2.22.0 (#273)
Browse files Browse the repository at this point in the history
  • Loading branch information
pulumi-bot authored Apr 28, 2022
1 parent 987800f commit 8b9cbad
Show file tree
Hide file tree
Showing 24 changed files with 145 additions and 88 deletions.
23 changes: 15 additions & 8 deletions provider/cmd/pulumi-resource-azuread/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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"
Expand All @@ -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",
Expand All @@ -7081,6 +7085,9 @@
"type": "string",
"description": "The provider-assigned unique ID for this managed resource.\n"
},
"ignoreMissing": {
"type": "boolean"
},
"mailEnabled": {
"type": "boolean"
},
Expand Down Expand Up @@ -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",
Expand All @@ -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",
Expand Down
8 changes: 4 additions & 4 deletions provider/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down Expand Up @@ -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=
Expand Down
2 changes: 1 addition & 1 deletion provider/shim/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
8 changes: 4 additions & 4 deletions provider/shim/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down Expand Up @@ -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=
Expand Down
20 changes: 18 additions & 2 deletions sdk/dotnet/GetGroups.cs
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,12 @@ public List<string> DisplayNames
set => _displayNames = value;
}

/// <summary>
/// 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`.
/// </summary>
[Input("ignoreMissing")]
public bool? IgnoreMissing { get; set; }

/// <summary>
/// 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`.
/// </summary>
Expand All @@ -286,7 +292,7 @@ public List<string> ObjectIds
}

/// <summary>
/// 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`.
/// </summary>
[Input("returnAll")]
public bool? ReturnAll { get; set; }
Expand Down Expand Up @@ -322,6 +328,12 @@ public InputList<string> DisplayNames
set => _displayNames = value;
}

/// <summary>
/// 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`.
/// </summary>
[Input("ignoreMissing")]
public Input<bool>? IgnoreMissing { get; set; }

/// <summary>
/// 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`.
/// </summary>
Expand All @@ -341,7 +353,7 @@ public InputList<string> ObjectIds
}

/// <summary>
/// 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`.
/// </summary>
[Input("returnAll")]
public Input<bool>? ReturnAll { get; set; }
Expand Down Expand Up @@ -370,6 +382,7 @@ public sealed class GetGroupsResult
/// The provider-assigned unique ID for this managed resource.
/// </summary>
public readonly string Id;
public readonly bool? IgnoreMissing;
public readonly bool MailEnabled;
/// <summary>
/// The object IDs of the groups.
Expand All @@ -386,6 +399,8 @@ private GetGroupsResult(

string id,

bool? ignoreMissing,

bool mailEnabled,

ImmutableArray<string> objectIds,
Expand All @@ -397,6 +412,7 @@ private GetGroupsResult(
DisplayNamePrefix = displayNamePrefix;
DisplayNames = displayNames;
Id = id;
IgnoreMissing = ignoreMissing;
MailEnabled = mailEnabled;
ObjectIds = objectIds;
ReturnAll = returnAll;
Expand Down
8 changes: 4 additions & 4 deletions sdk/dotnet/GetUsers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public static Output<GetUsersResult> Invoke(GetUsersInvokeArgs? args = null, Inv
public sealed class GetUsersArgs : Pulumi.InvokeArgs
{
/// <summary>
/// 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`.
/// </summary>
[Input("ignoreMissing")]
public bool? IgnoreMissing { get; set; }
Expand Down Expand Up @@ -128,7 +128,7 @@ public List<string> ObjectIds
}

/// <summary>
/// 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`.
/// </summary>
[Input("returnAll")]
public bool? ReturnAll { get; set; }
Expand All @@ -153,7 +153,7 @@ public GetUsersArgs()
public sealed class GetUsersInvokeArgs : Pulumi.InvokeArgs
{
/// <summary>
/// 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`.
/// </summary>
[Input("ignoreMissing")]
public Input<bool>? IgnoreMissing { get; set; }
Expand Down Expand Up @@ -183,7 +183,7 @@ public InputList<string> ObjectIds
}

/// <summary>
/// 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`.
/// </summary>
[Input("returnAll")]
public Input<bool>? ReturnAll { get; set; }
Expand Down
Loading

0 comments on commit 8b9cbad

Please sign in to comment.