diff --git a/docs/resources/graph_beta_device_and_app_management_win_get_app.md b/docs/resources/graph_beta_device_and_app_management_win_get_app.md index 1a62e8ab..6f9f8527 100644 --- a/docs/resources/graph_beta_device_and_app_management_win_get_app.md +++ b/docs/resources/graph_beta_device_and_app_management_win_get_app.md @@ -42,7 +42,6 @@ resource "m365_graph_beta_device_and_app_management_win_get_app" "example" { ### Optional -- `assignments` (Attributes List) The list of group assignments for this mobile app. (see [below for nested schema](#nestedatt--assignments)) - `developer` (String) The developer of the app. - `information_url` (String) The more information Url. - `is_featured` (Boolean) The value indicating whether the app is marked as featured by the admin. @@ -77,80 +76,6 @@ Required: - `run_as_account` (String) The account type (System or User) that actions should be run as on target devices. Required at creation time. - -### Nested Schema for `assignments` - -Required: - -- `intent` (String) The intent of the assignment. Possible values are: available, required, uninstall, availableWithoutEnrollment. -- `target` (Attributes) The target for this assignment. (see [below for nested schema](#nestedatt--assignments--target)) - -Optional: - -- `settings` (Attributes) The settings for this assignment. (see [below for nested schema](#nestedatt--assignments--settings)) -- `source` (String) The source of the assignment. -- `source_id` (String) The identifier of the source mobile app. -- `timeouts` (Attributes) (see [below for nested schema](#nestedatt--assignments--timeouts)) - -Read-Only: - -- `id` (String) The unique identifier of the mobile app assignment. - - -### Nested Schema for `assignments.target` - -Required: - -- `type` (String) The type of target. Possible values are: allLicensedUsers, allDevices, group. - -Optional: - -- `device_and_app_management_assignment_filter_id` (String) The ID of the filter for the target assignment. -- `device_and_app_management_assignment_filter_type` (String) The type of filter for the target assignment. Possible values are: none, include, exclude. -- `group_id` (String) The ID of the group to assign the app to. Required when type is 'group'. - - - -### Nested Schema for `assignments.settings` - -Optional: - -- `install_time_settings` (Attributes) The install time settings for the assignment. (see [below for nested schema](#nestedatt--assignments--settings--install_time_settings)) -- `notifications` (String) The notification setting for the assignment. Possible values are: showAll, showReboot, hideAll. -- `restart_settings` (Attributes) The restart settings for the assignment. (see [below for nested schema](#nestedatt--assignments--settings--restart_settings)) - - -### Nested Schema for `assignments.settings.install_time_settings` - -Optional: - -- `deadline_date_time` (String) The deadline date and time for the assignment. -- `use_local_time` (Boolean) Indicates whether to use local time for the assignment. - - - -### Nested Schema for `assignments.settings.restart_settings` - -Optional: - -- `countdown_display_before_restart_in_minutes` (Number) The countdown display before restart in minutes. -- `grace_period_in_minutes` (Number) The grace period before a restart in minutes. -- `restart_notification_snooze_duration_in_minutes` (Number) The snooze duration for the restart notification in minutes. - - - - -### Nested Schema for `assignments.timeouts` - -Optional: - -- `create` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). -- `delete` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs. -- `read` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. -- `update` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). - - - ### Nested Schema for `timeouts` diff --git a/docs/resources/graph_beta_device_and_app_management_windows_settings_catalog.md b/docs/resources/graph_beta_device_and_app_management_windows_settings_catalog.md new file mode 100644 index 00000000..5e61567b --- /dev/null +++ b/docs/resources/graph_beta_device_and_app_management_windows_settings_catalog.md @@ -0,0 +1,334 @@ +--- +page_title: "Resource: microsoft365_graph_beta_device_and_app_management_windows_settings_catalog" +description: |- + Manages a Windows Settings Catalog profile in Microsoft Intune. +--- + +# Resource: microsoft365_graph_beta_device_and_app_management_windows_settings_catalog + +Manages a Windows Settings Catalog profile in Microsoft Intune. + + + + +## Schema + +### Required + +- `display_name` (String) The display name of the Windows Settings Catalog profile. +- `platforms` (String) The platforms this settings catalog policy supports. Valid values are: android, androidEnterprise, aosp, iOS, linux, macOS, windows10, windows10X +- `settings` (Attributes List) The list of settings for this Windows Settings Catalog profile. (see [below for nested schema](#nestedatt--settings)) + +### Optional + +- `assignments` (Attributes) The assignment configuration for this Windows Settings Catalog profile. (see [below for nested schema](#nestedatt--assignments)) +- `description` (String) The description of the Windows Settings Catalog profile. +- `role_scope_tag_ids` (List of String) List of scope tag IDs for this Windows Settings Catalog profile. +- `timeouts` (Attributes) (see [below for nested schema](#nestedatt--timeouts)) + +### Read-Only + +- `created_date_time` (String) The date and time when this profile was created. +- `id` (String) The unique identifier for this Windows Settings Catalog profile. +- `last_modified_date_time` (String) The date and time when this profile was last modified. +- `settings_count` (Number) The number of settings in this profile. +- `technologies` (String) The technologies this profile uses. + + +### Nested Schema for `settings` + +Required: + +- `odata_type` (String) The OData type of the setting. +- `setting_instance` (Attributes) The instance of the setting. (see [below for nested schema](#nestedatt--settings--setting_instance)) + + +### Nested Schema for `settings.setting_instance` + +Required: + +- `odata_type` (String) The OData type of the setting instance. +- `setting_definition_id` (String) The ID of the setting definition. + +Optional: + +- `choice_setting_value` (Attributes) The choice setting value. (see [below for nested schema](#nestedatt--settings--setting_instance--choice_setting_value)) + + +### Nested Schema for `settings.setting_instance.choice_setting_value` + +Required: + +- `odata_type` (String) The OData type of the choice setting value. + +Optional: + +- `children` (Attributes List) The child settings of this choice setting. (see [below for nested schema](#nestedatt--settings--setting_instance--choice_setting_value--children)) +- `int_value` (Number) The integer value of the choice setting. +- `string_value` (String) The string value of the choice setting. + + +### Nested Schema for `settings.setting_instance.choice_setting_value.children` + +Optional: + +- `choice_setting_value` (Attributes) The choice setting value for child level 1. (see [below for nested schema](#nestedatt--settings--setting_instance--choice_setting_value--children--choice_setting_value)) +- `odata_type` (String) The OData type for child setting at depth 1. +- `setting_definition_id` (String) The setting definition ID for child setting at depth 1. + + +### Nested Schema for `settings.setting_instance.choice_setting_value.children.choice_setting_value` + +Optional: + +- `children` (Attributes List) The child settings of this choice setting (level 2). (see [below for nested schema](#nestedatt--settings--setting_instance--choice_setting_value--children--choice_setting_value--children)) +- `int_value` (Number) +- `odata_type` (String) +- `string_value` (String) + + +### Nested Schema for `settings.setting_instance.choice_setting_value.children.choice_setting_value.children` + +Optional: + +- `choice_setting_value` (Attributes) The choice setting value for child level 2. (see [below for nested schema](#nestedatt--settings--setting_instance--choice_setting_value--children--choice_setting_value--children--choice_setting_value)) +- `odata_type` (String) The OData type for child setting at depth 2. +- `setting_definition_id` (String) The setting definition ID for child setting at depth 2. + + +### Nested Schema for `settings.setting_instance.choice_setting_value.children.choice_setting_value.children.choice_setting_value` + +Optional: + +- `children` (Attributes List) The child settings of this choice setting (level 3). (see [below for nested schema](#nestedatt--settings--setting_instance--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children)) +- `int_value` (Number) +- `odata_type` (String) +- `string_value` (String) + + +### Nested Schema for `settings.setting_instance.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children` + +Optional: + +- `choice_setting_value` (Attributes) The choice setting value for child level 3. (see [below for nested schema](#nestedatt--settings--setting_instance--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value)) +- `odata_type` (String) The OData type for child setting at depth 3. +- `setting_definition_id` (String) The setting definition ID for child setting at depth 3. + + +### Nested Schema for `settings.setting_instance.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value` + +Optional: + +- `children` (Attributes List) The child settings of this choice setting (level 4). (see [below for nested schema](#nestedatt--settings--setting_instance--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children)) +- `int_value` (Number) +- `odata_type` (String) +- `string_value` (String) + + +### Nested Schema for `settings.setting_instance.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children` + +Optional: + +- `choice_setting_value` (Attributes) The choice setting value for child level 4. (see [below for nested schema](#nestedatt--settings--setting_instance--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value)) +- `odata_type` (String) The OData type for child setting at depth 4. +- `setting_definition_id` (String) The setting definition ID for child setting at depth 4. + + +### Nested Schema for `settings.setting_instance.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value` + +Optional: + +- `children` (Attributes List) The child settings of this choice setting (level 5). (see [below for nested schema](#nestedatt--settings--setting_instance--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children)) +- `int_value` (Number) +- `odata_type` (String) +- `string_value` (String) + + +### Nested Schema for `settings.setting_instance.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children` + +Optional: + +- `choice_setting_value` (Attributes) The choice setting value for child level 5. (see [below for nested schema](#nestedatt--settings--setting_instance--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value)) +- `odata_type` (String) The OData type for child setting at depth 5. +- `setting_definition_id` (String) The setting definition ID for child setting at depth 5. + + +### Nested Schema for `settings.setting_instance.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value` + +Optional: + +- `children` (Attributes List) The child settings of this choice setting (level 6). (see [below for nested schema](#nestedatt--settings--setting_instance--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children)) +- `int_value` (Number) +- `odata_type` (String) +- `string_value` (String) + + +### Nested Schema for `settings.setting_instance.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children` + +Optional: + +- `choice_setting_value` (Attributes) The choice setting value for child level 6. (see [below for nested schema](#nestedatt--settings--setting_instance--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value)) +- `odata_type` (String) The OData type for child setting at depth 6. +- `setting_definition_id` (String) The setting definition ID for child setting at depth 6. + + +### Nested Schema for `settings.setting_instance.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value` + +Optional: + +- `children` (Attributes List) The child settings of this choice setting (level 7). (see [below for nested schema](#nestedatt--settings--setting_instance--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children)) +- `int_value` (Number) +- `odata_type` (String) +- `string_value` (String) + + +### Nested Schema for `settings.setting_instance.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children` + +Optional: + +- `choice_setting_value` (Attributes) The choice setting value for child level 7. (see [below for nested schema](#nestedatt--settings--setting_instance--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value)) +- `odata_type` (String) The OData type for child setting at depth 7. +- `setting_definition_id` (String) The setting definition ID for child setting at depth 7. + + +### Nested Schema for `settings.setting_instance.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value` + +Optional: + +- `children` (Attributes List) The child settings of this choice setting (level 8). (see [below for nested schema](#nestedatt--settings--setting_instance--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children)) +- `int_value` (Number) +- `odata_type` (String) +- `string_value` (String) + + +### Nested Schema for `settings.setting_instance.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children` + +Optional: + +- `choice_setting_value` (Attributes) The choice setting value for child level 8. (see [below for nested schema](#nestedatt--settings--setting_instance--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value)) +- `odata_type` (String) The OData type for child setting at depth 8. +- `setting_definition_id` (String) The setting definition ID for child setting at depth 8. + + +### Nested Schema for `settings.setting_instance.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value` + +Optional: + +- `children` (Attributes List) The child settings of this choice setting (level 9). (see [below for nested schema](#nestedatt--settings--setting_instance--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children)) +- `int_value` (Number) +- `odata_type` (String) +- `string_value` (String) + + +### Nested Schema for `settings.setting_instance.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children` + +Optional: + +- `choice_setting_value` (Attributes) The choice setting value for child level 9. (see [below for nested schema](#nestedatt--settings--setting_instance--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value)) +- `odata_type` (String) The OData type for child setting at depth 9. +- `setting_definition_id` (String) The setting definition ID for child setting at depth 9. + + +### Nested Schema for `settings.setting_instance.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value` + +Optional: + +- `children` (Attributes List) The child settings of this choice setting (level 10). (see [below for nested schema](#nestedatt--settings--setting_instance--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children)) +- `int_value` (Number) +- `odata_type` (String) +- `string_value` (String) + + +### Nested Schema for `settings.setting_instance.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children` + +Optional: + +- `choice_setting_value` (Attributes) The choice setting value for child level 10. (see [below for nested schema](#nestedatt--settings--setting_instance--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value)) +- `odata_type` (String) The OData type for child setting at depth 10. +- `setting_definition_id` (String) The setting definition ID for child setting at depth 10. + + +### Nested Schema for `settings.setting_instance.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value` + +Optional: + +- `children` (Attributes List) The child settings of this choice setting (level 11). (see [below for nested schema](#nestedatt--settings--setting_instance--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children--choice_setting_value--children)) +- `int_value` (Number) +- `odata_type` (String) +- `string_value` (String) + + +### Nested Schema for `settings.setting_instance.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children.choice_setting_value.children` + + + + + + + + + + + + + + + + + + + + + + + + + + +### Nested Schema for `assignments` + +Optional: + +- `all_devices` (Boolean) Specifies whether this assignment applies to all devices. When set to `true`, the assignment targets all devices in the organization.Can be used in conjuction with `all_devices_filter_type` or `all_devices_filter_id`.Can be used as an alternative to `include_groups`.Can be used in conjuction with `all_users` and `all_users_filter_type` or `all_users_filter_id`. +- `all_devices_filter_id` (String) The ID of the device group filter to apply when `all_devices` is set to `true`. This should be a valid GUID of an existing device group filter. +- `all_devices_filter_type` (String) The filter type for all devices assignment. Valid values are: +- `include`: Apply the assignment to devices that match the filter. +- `exclude`: Do not apply the assignment to devices that match the filter. +- `none`: No filter applied. +- `all_users` (Boolean) Specifies whether this assignment applies to all users. When set to `true`, the assignment targets all licensed users within the organization.Can be used in conjuction with `all_users_filter_type` or `all_users_filter_id`.Can be used as an alternative to `include_groups`.Can be used in conjuction with `all_devices` and `all_devices_filter_type` or `all_devices_filter_id`. +- `all_users_filter_id` (String) The ID of the filter to apply when `all_users` is set to `true`. This should be a valid GUID of an existing filter. +- `all_users_filter_type` (String) The filter type for all users assignment. Valid values are: +- `include`: Apply the assignment to users that match the filter. +- `exclude`: Do not apply the assignment to users that match the filter. +- `none`: No filter applied. +- `exclude_group_ids` (List of String) A list of group IDs to exclude from the assignment. These groups will not receive the assignment, even if they match other inclusion criteria. +- `include_groups` (Attributes List) A list of entra id group Id's to include in the assignment. Each group can have its own filter type and filter ID. (see [below for nested schema](#nestedatt--assignments--include_groups)) + + +### Nested Schema for `assignments.include_groups` + +Required: + +- `group_id` (String) The entra ID group ID of the group to include in the assignment. This should be a valid GUID of an existing group. + +Optional: + +- `include_groups_filter_id` (String) The Entra ID Group ID of the filter to apply to the included group. This should be a valid GUID of an existing filter. +- `include_groups_filter_type` (String) The device group filter type for the included group. Valid values are: +- `include`: Apply the assignment to group members that match the filter. +- `exclude`: Do not apply the assignment to group members that match the filter. +- `none`: No filter applied. + + + + +### Nested Schema for `timeouts` + +Optional: + +- `create` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). +- `delete` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs. +- `read` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. +- `update` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). + + diff --git a/examples/microsoft365_graph_beta/microsoft365_graph_beta_device_and_app_management_windows_settings_catalog/resource.tf b/examples/microsoft365_graph_beta/microsoft365_graph_beta_device_and_app_management_windows_settings_catalog/resource.tf new file mode 100644 index 00000000..d18b7bb2 --- /dev/null +++ b/examples/microsoft365_graph_beta/microsoft365_graph_beta_device_and_app_management_windows_settings_catalog/resource.tf @@ -0,0 +1,100 @@ +resource "microsoft365_graph_beta_device_and_app_management_windows_settings_catalog" "example_policy" { + display_name = "Test Settings Catalog Profile" + description = "Test settings catalog profile" + platforms = "windows10" + role_scope_tag_ids = [ + "0" + ] + settings = [ + { + odata_type = "#microsoft.graph.deviceManagementConfigurationSetting" + setting_instance = { + odata_type = "#microsoft.graph.deviceManagementConfigurationChoiceSettingInstance" + setting_definition_id = "device_vendor_msft_bitlocker_allowwarningforotherdiskencryption" + choice_setting_value = { + odata_type = "#microsoft.graph.deviceManagementConfigurationChoiceSettingValue" + string_value = "device_vendor_msft_bitlocker_allowwarningforotherdiskencryption_1" + } + } + }, + { + odata_type = "#microsoft.graph.deviceManagementConfigurationSetting" + setting_instance = { + odata_type = "#microsoft.graph.deviceManagementConfigurationChoiceSettingInstance" + setting_definition_id = "device_vendor_msft_bitlocker_configurerecoverypasswordrotation" + choice_setting_value = { + odata_type = "#microsoft.graph.deviceManagementConfigurationChoiceSettingValue" + string_value = "device_vendor_msft_bitlocker_configurerecoverypasswordrotation_1" + } + } + }, + { + odata_type = "#microsoft.graph.deviceManagementConfigurationSetting" + setting_instance = { + odata_type = "#microsoft.graph.deviceManagementConfigurationSimpleSettingInstance" + setting_definition_id = "device_vendor_msft_policy_config_bits_bandwidththrottlingendtime" + choice_setting_value = { + odata_type = "#microsoft.graph.deviceManagementConfigurationChoiceSettingValue" + int_value = 17 + } + } + }, + { + odata_type = "#microsoft.graph.deviceManagementConfigurationSetting" + setting_instance = { + odata_type = "#microsoft.graph.deviceManagementConfigurationSimpleSettingCollectionInstance" + setting_definition_id = "device_vendor_msft_bitlocker_removabledrivesexcludedfromencryption" + choice_setting_value = { + odata_type = "#microsoft.graph.deviceManagementConfigurationChoiceSettingValue" + children = [ + { + choice_setting_value = { + string_value = "D:\\" + } + }, + { + choice_setting_value = { + string_value = "E:\\" + } + } + ] + } + } + }, + ] + + assignments = { + all_devices = false + # all_devices_filter_type = "exclude" + # all_devices_filter_id = "2d7956fb-e5b5-4fa3-90b2-5bee9bee7883" + + all_users = false + # all_users_filter_type = "include" + # all_users_filter_id = "80f8c0a5-f3ec-4936-bcbc-420dc0ca3665" + + include_groups = [ + { + group_id = "51a96cdd-4b9b-4849-b416-8c94a6d88797" + include_groups_filter_type = "include" + include_groups_filter_id = "80f8c0a5-f3ec-4936-bcbc-420dc0ca3665" + }, + { + group_id = "b15228f4-9d49-41ed-9b4f-0e7c721fd9c2" + include_groups_filter_type = "include" + include_groups_filter_id = "2d7956fb-e5b5-4fa3-90b2-5bee9bee7883" + }, + ] + + exclude_group_ids = [ + "b8c661c2-fa9a-4351-af86-adc1729c343f", + "f6ebd6ff-501e-4b3d-a00b-a2e102c3fa0f", + ] + } + + timeouts = { + create = "1m" + read = "1m" + update = "1m" + delete = "1m" + } +} \ No newline at end of file