Skip to content

Commit

Permalink
Upgrade terraform-provider-azuread to v2.41.0 (#405)
Browse files Browse the repository at this point in the history
Found 1 breaking change:

Resources
🟢 "azuread:index/conditionalAccessPolicy:ConditionalAccessPolicy": required: "grantControls" property is no longer Required
New functions:
index/getDirectoryRoleTemplates.getDirectoryRoleTemplates
index/getNamedLocation.getNamedLocation

---------

Co-authored-by: pulumi-bot <runner@fv-az487-193.2sz3r15znfdunikkjm1quj4vwe.jx.internal.cloudapp.net>
  • Loading branch information
pulumi-bot and pulumi-bot authored Jul 27, 2023
1 parent a49d23a commit 7c63f71
Show file tree
Hide file tree
Showing 113 changed files with 3,329 additions and 236 deletions.
62 changes: 62 additions & 0 deletions provider/cmd/pulumi-resource-azuread/bridge-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -595,6 +595,9 @@
}
}
},
"service_principal_risk_levels": {
"maxItemsOne": false
},
"sign_in_risk_levels": {
"maxItemsOne": false,
"elem": {}
Expand Down Expand Up @@ -1291,6 +1294,17 @@
"azuread_directory_object": {
"current": "azuread:index/getDirectoryObject:getDirectoryObject"
},
"azuread_directory_role_templates": {
"current": "azuread:index/getDirectoryRoleTemplates:getDirectoryRoleTemplates",
"fields": {
"object_ids": {
"maxItemsOne": false
},
"role_templates": {
"maxItemsOne": false
}
}
},
"azuread_directory_roles": {
"current": "azuread:index/getDirectoryRoles:getDirectoryRoles",
"fields": {
Expand Down Expand Up @@ -1360,6 +1374,31 @@
}
}
},
"azuread_named_location": {
"current": "azuread:index/getNamedLocation:getNamedLocation",
"fields": {
"country": {
"maxItemsOne": false,
"elem": {
"fields": {
"countries_and_regions": {
"maxItemsOne": false
}
}
}
},
"ip": {
"maxItemsOne": false,
"elem": {
"fields": {
"ip_ranges": {
"maxItemsOne": false
}
}
}
}
}
},
"azuread_service_principal": {
"current": "azuread:index/getServicePrincipal:getServicePrincipal",
"fields": {
Expand Down Expand Up @@ -1516,10 +1555,12 @@
"azuread:index/getApplicationTemplate:getApplicationTemplate": "azuread_application_template",
"azuread:index/getClientConfig:getClientConfig": "azuread_client_config",
"azuread:index/getDirectoryObject:getDirectoryObject": "azuread_directory_object",
"azuread:index/getDirectoryRoleTemplates:getDirectoryRoleTemplates": "azuread_directory_role_templates",
"azuread:index/getDirectoryRoles:getDirectoryRoles": "azuread_directory_roles",
"azuread:index/getDomains:getDomains": "azuread_domains",
"azuread:index/getGroup:getGroup": "azuread_group",
"azuread:index/getGroups:getGroups": "azuread_groups",
"azuread:index/getNamedLocation:getNamedLocation": "azuread_named_location",
"azuread:index/getServicePrincipal:getServicePrincipal": "azuread_service_principal",
"azuread:index/getServicePrincipals:getServicePrincipals": "azuread_service_principals",
"azuread:index/getUser:getUser": "azuread_user",
Expand Down Expand Up @@ -1648,6 +1689,7 @@
"azuread:index/ConditionalAccessPolicyConditions:ConditionalAccessPolicyConditions": {
"clientAppTypes": "client_app_types",
"clientApplications": "client_applications",
"servicePrincipalRiskLevels": "service_principal_risk_levels",
"signInRiskLevels": "sign_in_risk_levels",
"userRiskLevels": "user_risk_levels"
},
Expand Down Expand Up @@ -1985,6 +2027,14 @@
"azuread:index/getDirectoryObject:getDirectoryObject": {
"objectId": "object_id"
},
"azuread:index/getDirectoryRoleTemplates:getDirectoryRoleTemplates": {
"objectIds": "object_ids",
"roleTemplates": "role_templates"
},
"azuread:index/getDirectoryRoleTemplatesRoleTemplate:getDirectoryRoleTemplatesRoleTemplate": {
"displayName": "display_name",
"objectId": "object_id"
},
"azuread:index/getDirectoryRoles:getDirectoryRoles": {
"objectIds": "object_ids",
"templateIds": "template_ids"
Expand Down Expand Up @@ -2040,6 +2090,18 @@
"returnAll": "return_all",
"securityEnabled": "security_enabled"
},
"azuread:index/getNamedLocation:getNamedLocation": {
"countries": "country",
"displayName": "display_name",
"ips": "ip"
},
"azuread:index/getNamedLocationCountry:getNamedLocationCountry": {
"countriesAndRegions": "countries_and_regions",
"includeUnknownCountriesAndRegions": "include_unknown_countries_and_regions"
},
"azuread:index/getNamedLocationIp:getNamedLocationIp": {
"ipRanges": "ip_ranges"
},
"azuread:index/getServicePrincipal:getServicePrincipal": {
"accountEnabled": "account_enabled",
"alternativeNames": "alternative_names",
Expand Down
173 changes: 165 additions & 8 deletions provider/cmd/pulumi-resource-azuread/schema.json

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions provider/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ go 1.19
require (
github.com/hashicorp/go-azure-sdk v0.20230511.1094507
github.com/hashicorp/terraform-provider-azuread/shim v0.0.0
github.com/pulumi/pulumi-terraform-bridge/v3 v3.53.0
github.com/pulumi/pulumi/sdk/v3 v3.73.1-0.20230623071431-db579129f4c9
github.com/pulumi/pulumi-terraform-bridge/v3 v3.54.2
github.com/pulumi/pulumi/sdk/v3 v3.75.0
)

replace (
Expand Down Expand Up @@ -140,7 +140,7 @@ require (
github.com/hashicorp/terraform-plugin-go v0.16.0 // indirect
github.com/hashicorp/terraform-plugin-log v0.9.0 // indirect
github.com/hashicorp/terraform-plugin-sdk/v2 v2.26.1 // indirect
github.com/hashicorp/terraform-provider-azuread v1.6.1-0.20230714014117-c3f4885eda69 // indirect
github.com/hashicorp/terraform-provider-azuread v1.6.1-0.20230727144955-0adfe586f500 // indirect
github.com/hashicorp/terraform-registry-address v0.2.1 // indirect
github.com/hashicorp/terraform-svchost v0.1.1 // indirect
github.com/hashicorp/vault/api v1.8.2 // indirect
Expand All @@ -158,7 +158,7 @@ require (
github.com/kevinburke/ssh_config v1.2.0 // indirect
github.com/klauspost/compress v1.15.11 // indirect
github.com/kylelemons/godebug v1.1.0 // indirect
github.com/manicminer/hamilton v0.62.0 // indirect
github.com/manicminer/hamilton v0.63.0 // indirect
github.com/mattn/go-colorable v0.1.12 // indirect
github.com/mattn/go-isatty v0.0.16 // indirect
github.com/mattn/go-runewidth v0.0.13 // indirect
Expand Down Expand Up @@ -190,7 +190,7 @@ require (
github.com/pulumi/pulumi-java/pkg v0.9.4 // indirect
github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.4 // indirect
github.com/pulumi/pulumi-yaml v1.1.1 // indirect
github.com/pulumi/pulumi/pkg/v3 v3.73.1-0.20230623071431-db579129f4c9 // indirect
github.com/pulumi/pulumi/pkg/v3 v3.75.0 // indirect
github.com/pulumi/schema-tools v0.1.2 // indirect
github.com/pulumi/terraform-diff-reader v0.0.2 // indirect
github.com/rivo/uniseg v0.4.4 // indirect
Expand Down Expand Up @@ -239,7 +239,7 @@ require (
google.golang.org/api v0.114.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect
google.golang.org/grpc v1.56.0 // indirect
google.golang.org/grpc v1.56.1 // indirect
google.golang.org/protobuf v1.30.0 // indirect
gopkg.in/square/go-jose.v2 v2.6.0 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
Expand Down
25 changes: 13 additions & 12 deletions provider/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1651,8 +1651,8 @@ github.com/hashicorp/terraform-plugin-log v0.9.0/go.mod h1:rKL8egZQ/eXSyDqzLUuwU
github.com/hashicorp/terraform-plugin-sdk v1.7.0 h1:B//oq0ZORG+EkVrIJy0uPGSonvmXqxSzXe8+GhknoW0=
github.com/hashicorp/terraform-plugin-sdk v1.7.0/go.mod h1:OjgQmey5VxnPej/buEhe+YqKm0KNvV3QqU4hkqHqPCY=
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.20230714014117-c3f4885eda69 h1:Otx9uxPOPP0A5ItvDAjMjwbwizDC+EKmJ3IGBdLJiGk=
github.com/hashicorp/terraform-provider-azuread v1.6.1-0.20230714014117-c3f4885eda69/go.mod h1:xu61NBBpb7JnKfSjnX2vib0ZlqfACCEwXBO/0/+BEQ4=
github.com/hashicorp/terraform-provider-azuread v1.6.1-0.20230727144955-0adfe586f500 h1:m/KNRCXHZjsZjhB2IWMa3aKMYUsWHOxMBUaU13UmYBU=
github.com/hashicorp/terraform-provider-azuread v1.6.1-0.20230727144955-0adfe586f500/go.mod h1:FPBStSHIBUhggh9nR401e++98vmPhz3Q3ROmZmUR6FM=
github.com/hashicorp/terraform-registry-address v0.0.0-20220623143253-7d51757b572c/go.mod h1:Wn3Na71knbXc1G8Lh+yu/dQWWJeFQEpDeJMtWMtlmNI=
github.com/hashicorp/terraform-registry-address v0.2.1 h1:QuTf6oJ1+WSflJw6WYOHhLgwUiQ0FrROpHPYFtwTYWM=
github.com/hashicorp/terraform-registry-address v0.2.1/go.mod h1:BSE9fIFzp0qWsJUUyGquo4ldV9k2n+psif6NYkBRS3Y=
Expand All @@ -1677,7 +1677,7 @@ github.com/hexops/autogold v1.3.0 h1:IEtGNPxBeBu8RMn8eKWh/Ll9dVNgSnJ7bp/qHgMQ14o
github.com/hexops/gotextdiff v1.0.3 h1:gitA9+qJrrTCsiCl7+kh75nPqQt1cx4ZkudSTLoUqJM=
github.com/hexops/valast v1.4.0 h1:sFzyxPDP0riFQUzSBXTCCrAbbIndHPWMndxuEjXdZlc=
github.com/hinshun/vt10x v0.0.0-20180616224451-1954e6464174/go.mod h1:DqJ97dSdRW1W22yXSB90986pcOyQ7r45iio1KN2ez1A=
github.com/hinshun/vt10x v0.0.0-20220119200601-820417d04eec h1:qv2VnGeEQHchGaZ/u7lxST/RaJw+cv273q79D81Xbog=
github.com/hinshun/vt10x v0.0.0-20220301184237-5011da428d02 h1:AgcIVYPa6XJnU3phs104wLj8l5GEththEw6+F79YsIY=
github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU=
github.com/huandu/xstrings v1.3.1/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE=
github.com/huandu/xstrings v1.3.2 h1:L18LIDzqlW6xN2rEkpdV8+oL/IXWJ1APd+vsdYy4Wdw=
Expand Down Expand Up @@ -1844,8 +1844,8 @@ github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN
github.com/mailru/easyjson v0.7.0/go.mod h1:KAzv3t3aY1NaHWoQz1+4F1ccyAH66Jk7yos7ldAVICs=
github.com/mailru/easyjson v0.7.6/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc=
github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc=
github.com/manicminer/hamilton v0.62.0 h1:auy910L0VntDUDHMG6K6e6jr5QUk3OHSldt13NHztwY=
github.com/manicminer/hamilton v0.62.0/go.mod h1:va/X2sztcgQ5+BSxc2eU3FTHYIyxLnHvB4LudlPUZdE=
github.com/manicminer/hamilton v0.63.0 h1:Pxh+TvuRhGsKl29v3dnzAoNJYUwqn6SNp/TGddg3g7E=
github.com/manicminer/hamilton v0.63.0/go.mod h1:va/X2sztcgQ5+BSxc2eU3FTHYIyxLnHvB4LudlPUZdE=
github.com/markbates/oncer v0.0.0-20181203154359-bf2de49a0be2/go.mod h1:Ld9puTsIW75CHf65OeIOkyKbteujpZVXDpWK6YGZbxE=
github.com/markbates/safe v1.0.1/go.mod h1:nAqgmRi7cY2nqMc92/bSEeQA+R4OheNU2T1kNSCBdG0=
github.com/marstr/guid v1.1.0/go.mod h1:74gB1z2wpxxInTG6yaqA7KrtM0NZ+RbrcqDvYHefzho=
Expand Down Expand Up @@ -2152,16 +2152,16 @@ github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40T
github.com/pulumi/pulumi-java/pkg v0.9.4 h1:gIQZmlUI1o9ye8CL2XFqtmAX6Lwr9uj/+HzjboiSmK4=
github.com/pulumi/pulumi-java/pkg v0.9.4/go.mod h1:c6rSw/+q4O0IImgJ9axxoC6QesbPYWBaG5gimbHouUQ=
github.com/pulumi/pulumi-terraform-bridge/testing v0.0.1 h1:SCg1gjfY9N4yn8U8peIUYATifjoDABkyR7H9lmefsfc=
github.com/pulumi/pulumi-terraform-bridge/v3 v3.53.0 h1:XP754+36CpyiT5tEzqd43U8gYGqDML9hkiWMaoV0WG0=
github.com/pulumi/pulumi-terraform-bridge/v3 v3.53.0/go.mod h1:Bm1kuEs0xouFxEG2Lv/I3OhnME+VId9DbkRClnwFqsI=
github.com/pulumi/pulumi-terraform-bridge/v3 v3.54.2 h1:ur1BqYZKadvCnqAeuPzTwJSfHBnDIRopX37ewRPPdPo=
github.com/pulumi/pulumi-terraform-bridge/v3 v3.54.2/go.mod h1:OgOp9PzeKBBqWRZ87VX+amwG8Jt1V1pI+/WZ5dGkYG8=
github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.4 h1:rIzMmtcVpPX8ynaz6/nW5AHNY63DiNfCohqmxWvMpM4=
github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.4/go.mod h1:Kt8RIZWa/N8rW3+0g6NrqCBmF3o+HuIhFaZpssEkG6w=
github.com/pulumi/pulumi-yaml v1.1.1 h1:8pyBNIU8+ym0wYpjhsCqN+cutygfK1XbhY2YEeNfyXY=
github.com/pulumi/pulumi-yaml v1.1.1/go.mod h1:GhpdS6rFpwqvUtKdA+fQy8P28iNvncng39IXh5q68vE=
github.com/pulumi/pulumi/pkg/v3 v3.73.1-0.20230623071431-db579129f4c9 h1:kZqHt7gZIhBxzE2N+WuyI6Z9nN/YnR6x1mNie3Wldvw=
github.com/pulumi/pulumi/pkg/v3 v3.73.1-0.20230623071431-db579129f4c9/go.mod h1:uioQQOTP9OUSIDga3MuDVnR3OThhWjByoe1M38VxhwI=
github.com/pulumi/pulumi/sdk/v3 v3.73.1-0.20230623071431-db579129f4c9 h1:w/8QHBnDZz8d+aHhBSjyuH7G67LkFgY3xVtAkbE2OII=
github.com/pulumi/pulumi/sdk/v3 v3.73.1-0.20230623071431-db579129f4c9/go.mod h1:BUUBfQZsH0FPuznRfFHkR+b96VlXELnn+DgidFj4XSQ=
github.com/pulumi/pulumi/pkg/v3 v3.75.0 h1:oBJ+Ft5VokKJGZHtX5ytyKenMCBH/d1+rsVL5MOGmHo=
github.com/pulumi/pulumi/pkg/v3 v3.75.0/go.mod h1:jzU1sKjOoDMFxxISb4hEK/C1mQsHVheYkWfZPLQRC9c=
github.com/pulumi/pulumi/sdk/v3 v3.75.0 h1:+5V5UOwgHKAaqSD8DKhuTU+RTObqkH3yp/p2EJQYYQk=
github.com/pulumi/pulumi/sdk/v3 v3.75.0/go.mod h1:HiE9Wf+DVrg8Em1D6bxRCdDMsNkj8//vLCST73xH2Hc=
github.com/pulumi/schema-tools v0.1.2 h1:Fd9xvUjgck4NA+7/jSk7InqCUT4Kj940+EcnbQKpfZo=
github.com/pulumi/schema-tools v0.1.2/go.mod h1:62lgj52Tzq11eqWTIaKd+EVyYAu5dEcDJxMhTjvMO/k=
github.com/pulumi/terraform-diff-reader v0.0.2 h1:kTE4nEXU3/SYXESvAIem+wyHMI3abqkI3OhJ0G04LLI=
Expand Down Expand Up @@ -3358,8 +3358,9 @@ google.golang.org/grpc v1.51.0/go.mod h1:wgNDFcnuBGmxLKI/qn4T+m5BtEBYXJPvibbUPsA
google.golang.org/grpc v1.52.3/go.mod h1:pu6fVzoFb+NBYNAvQL08ic+lvB2IojljRYuun5vorUY=
google.golang.org/grpc v1.53.0/go.mod h1:OnIrk0ipVdj4N5d9IUoFUx72/VlD7+jUsHwZgwSMQpw=
google.golang.org/grpc v1.54.0/go.mod h1:PUSEXI6iWghWaB6lXM4knEgpJNu2qUcKfDtNci3EC2g=
google.golang.org/grpc v1.56.0 h1:+y7Bs8rtMd07LeXmL3NxcTLn7mUkbKZqEpPhMNkwJEE=
google.golang.org/grpc v1.56.0/go.mod h1:I9bI3vqKfayGqPUAwGdOSu7kt6oIJLixfffKrpXqQ9s=
google.golang.org/grpc v1.56.1 h1:z0dNfjIl0VpaZ9iSVjA6daGatAYwPGstTjt5vkRMFkQ=
google.golang.org/grpc v1.56.1/go.mod h1:I9bI3vqKfayGqPUAwGdOSu7kt6oIJLixfffKrpXqQ9s=
google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw=
google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.2.0/go.mod h1:DNq5QpG7LJqD2AamLZ7zvKE0DEpVl2BSEVjFycAAjRY=
google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8=
Expand Down
4 changes: 2 additions & 2 deletions provider/shim/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.19

require (
github.com/hashicorp/terraform-plugin-sdk/v2 v2.26.1
github.com/hashicorp/terraform-provider-azuread v1.6.1-0.20230714014117-c3f4885eda69
github.com/hashicorp/terraform-provider-azuread v1.6.1-0.20230727144955-0adfe586f500
)

require (
Expand Down Expand Up @@ -37,7 +37,7 @@ require (
github.com/hashicorp/terraform-registry-address v0.1.0 // indirect
github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734 // indirect
github.com/hashicorp/yamux v0.0.0-20211028200310-0bc27b27de87 // indirect
github.com/manicminer/hamilton v0.62.0 // indirect
github.com/manicminer/hamilton v0.63.0 // indirect
github.com/mattn/go-colorable v0.1.12 // indirect
github.com/mattn/go-isatty v0.0.14 // indirect
github.com/mitchellh/copystructure v1.2.0 // indirect
Expand Down
8 changes: 4 additions & 4 deletions provider/shim/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ github.com/hashicorp/terraform-plugin-go v0.14.3/go.mod h1:7ees7DMZ263q8wQ6E4RdI
github.com/hashicorp/terraform-plugin-log v0.7.0/go.mod h1:p4R1jWBXRTvL4odmEkFfDdhUjHf9zcs/BCoNHAc7IK4=
github.com/hashicorp/terraform-plugin-log v0.8.0 h1:pX2VQ/TGKu+UU1rCay0OlzosNKe4Nz1pepLXj95oyy0=
github.com/hashicorp/terraform-plugin-log v0.8.0/go.mod h1:1myFrhVsBLeylQzYYEV17VVjtG8oYPRFdaZs7xdW2xs=
github.com/hashicorp/terraform-provider-azuread v1.6.1-0.20230714014117-c3f4885eda69 h1:Otx9uxPOPP0A5ItvDAjMjwbwizDC+EKmJ3IGBdLJiGk=
github.com/hashicorp/terraform-provider-azuread v1.6.1-0.20230714014117-c3f4885eda69/go.mod h1:xu61NBBpb7JnKfSjnX2vib0ZlqfACCEwXBO/0/+BEQ4=
github.com/hashicorp/terraform-provider-azuread v1.6.1-0.20230727144955-0adfe586f500 h1:m/KNRCXHZjsZjhB2IWMa3aKMYUsWHOxMBUaU13UmYBU=
github.com/hashicorp/terraform-provider-azuread v1.6.1-0.20230727144955-0adfe586f500/go.mod h1:FPBStSHIBUhggh9nR401e++98vmPhz3Q3ROmZmUR6FM=
github.com/hashicorp/terraform-registry-address v0.0.0-20220623143253-7d51757b572c/go.mod h1:Wn3Na71knbXc1G8Lh+yu/dQWWJeFQEpDeJMtWMtlmNI=
github.com/hashicorp/terraform-registry-address v0.1.0 h1:W6JkV9wbum+m516rCl5/NjKxCyTVaaUBbzYcMzBDO3U=
github.com/hashicorp/terraform-registry-address v0.1.0/go.mod h1:EnyO2jYO6j29DTHbJcm00E5nQTFeTtyZH3H5ycydQ5A=
Expand Down Expand Up @@ -205,8 +205,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.62.0 h1:auy910L0VntDUDHMG6K6e6jr5QUk3OHSldt13NHztwY=
github.com/manicminer/hamilton v0.62.0/go.mod h1:va/X2sztcgQ5+BSxc2eU3FTHYIyxLnHvB4LudlPUZdE=
github.com/manicminer/hamilton v0.63.0 h1:Pxh+TvuRhGsKl29v3dnzAoNJYUwqn6SNp/TGddg3g7E=
github.com/manicminer/hamilton v0.63.0/go.mod h1:va/X2sztcgQ5+BSxc2eU3FTHYIyxLnHvB4LudlPUZdE=
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.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE=
Expand Down
12 changes: 9 additions & 3 deletions sdk/dotnet/ConditionalAccessPolicy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -266,10 +266,12 @@ public partial class ConditionalAccessPolicy : global::Pulumi.CustomResource
/// A `grant_controls` block as documented below, which specifies the grant controls that must be fulfilled to pass the policy.
/// </summary>
[Output("grantControls")]
public Output<Outputs.ConditionalAccessPolicyGrantControls> GrantControls { get; private set; } = null!;
public Output<Outputs.ConditionalAccessPolicyGrantControls?> GrantControls { get; private set; } = null!;

/// <summary>
/// A `session_controls` block as documented below, which specifies the session controls that are enforced after sign-in.
///
/// &gt; Note: At least one of `grant_controls` and/or `session_controls` blocks must be specified.
/// </summary>
[Output("sessionControls")]
public Output<Outputs.ConditionalAccessPolicySessionControls?> SessionControls { get; private set; } = null!;
Expand Down Expand Up @@ -341,11 +343,13 @@ public sealed class ConditionalAccessPolicyArgs : global::Pulumi.ResourceArgs
/// <summary>
/// A `grant_controls` block as documented below, which specifies the grant controls that must be fulfilled to pass the policy.
/// </summary>
[Input("grantControls", required: true)]
public Input<Inputs.ConditionalAccessPolicyGrantControlsArgs> GrantControls { get; set; } = null!;
[Input("grantControls")]
public Input<Inputs.ConditionalAccessPolicyGrantControlsArgs>? GrantControls { get; set; }

/// <summary>
/// A `session_controls` block as documented below, which specifies the session controls that are enforced after sign-in.
///
/// &gt; Note: At least one of `grant_controls` and/or `session_controls` blocks must be specified.
/// </summary>
[Input("sessionControls")]
public Input<Inputs.ConditionalAccessPolicySessionControlsArgs>? SessionControls { get; set; }
Expand Down Expand Up @@ -384,6 +388,8 @@ public sealed class ConditionalAccessPolicyState : global::Pulumi.ResourceArgs

/// <summary>
/// A `session_controls` block as documented below, which specifies the session controls that are enforced after sign-in.
///
/// &gt; Note: At least one of `grant_controls` and/or `session_controls` blocks must be specified.
/// </summary>
[Input("sessionControls")]
public Input<Inputs.ConditionalAccessPolicySessionControlsGetArgs>? SessionControls { get; set; }
Expand Down
Loading

0 comments on commit 7c63f71

Please sign in to comment.