DatabricksDsc
0.3.0
This module contains class-based DSC resources for Databricks
Minimum PowerShell version
5.0
See the version list below for details.
Installation Options
Owners
Copyright
(c) Gijs Reijn. All rights reserved.
Package Details
Author(s)
- Gijs Reijn
Functions
Get-DatabricksUser New-DatabricksUser Remove-DatabricksUser Set-DatabricksUser
DSCResources
DatabricksAccountServicePrincipal DatabricksAccountUser DatabricksClusterPolicy DatabricksClusterPolicyPermission DatabricksServicePrincipal DatabricksUser
Dependencies
This module has no dependencies.
Release Notes
## [0.3.0] - 2025-11-21
[0.3.0] - 2025-11-21
### Added
- Added DSC Export capability to `DatabricksResourceBase` class
- Added static `Export()` method to base class that provides guidance for
using the parameterized overload
- Added static `Export([FilteringInstance])` method that exports resources
with optional filtering based on instance properties
- Added virtual static methods `GetAllResourcesFromApi([Instance])` and
`CreateExportInstance([ApiData], [Instance])` that child classes override
to implement resource-specific export logic
- Implemented Export capability in `DatabricksUser` resource
- `GetAllResourcesFromApi()` retrieves all users from SCIM API endpoint
`/api/2.0/preview/scim/v2/Users`
- `CreateExportInstance()` converts API user data to `DatabricksUser`
instances with proper type conversion and sorting
- `Export([FilteringInstance])` supports filtering by UserName, DisplayName,
Active status, and other user properties
- Added comprehensive unit tests for Export functionality covering:
- API interaction and error handling
- Instance creation and property mapping
- Filtering logic with single and multiple filters
- Empty result handling
- Improved unit test coverage for existing resources
- Added `BuildAccountUserPayload()` tests for `DatabricksAccountUser`
- Added error handling tests for `DatabricksAccountUser.Modify()` method
(create, update, and delete failure scenarios)
- Added `Test()` and `Set()` method tests for `DatabricksClusterPolicyPermission`
- Increased overall code coverage to ensure reliability
FileList
- DatabricksDsc.nuspec
- DatabricksDsc.psd1
- Modules\DscResource.Common\0.24.4\DscResource.Common.psm1
- DatabricksDsc.psm1
- Modules\DscResource.Base\1.4.0\DscResource.Base.psm1
- Modules\DscResource.Base\1.4.0\DscResource.Base.psd1
- en-US\DatabricksAccountUser.strings.psd1
- Modules\DscResource.Common\0.24.4\en-US\DscResource.Common-help.xml
- en-US\ClusterPolicyPermissionTypes.strings.psd1
- Modules\DscResource.Common\0.24.4\en-US\about_DscResource.Common.help.txt
- en-US\about_DatabricksDsc.help.txt
- Modules\DscResource.Common\0.24.4\en-US\DscResource.Common.strings.psd1
- en-US\DatabricksClusterPolicyPermission.strings.psd1
- Modules\DscResource.Base\1.4.0\en-US\ResourceBase.strings.psd1
- en-US\DatabricksServicePrincipal.strings.psd1
- Modules\DscResource.Base\1.4.0\en-US\about_DscResource.Base.help.txt
- en-US\DatabricksClusterPolicy.strings.psd1
- Modules\DscResource.Base\1.4.0\en-US\DscResource.Base.strings.psd1
- en-US\DatabricksResourceBase.strings.psd1
- Modules\DscResource.Base\1.4.0\Modules\DscResource.Common\0.23.0\DscResource.Common.psd1
- en-US\DatabricksUser.strings.psd1
- Modules\DscResource.Base\1.4.0\Modules\DscResource.Common\0.23.0\DscResource.Common.psm1
- en-US\UserTypes.strings.psd1
- Modules\DscResource.Base\1.4.0\Modules\DscResource.Common\0.23.0\en-US\DscResource.Common-help.xml
- en-US\DatabricksDsc.strings.psd1
- Modules\DscResource.Base\1.4.0\Modules\DscResource.Common\0.23.0\en-US\about_DscResource.Common.help.txt
- en-US\DatabricksAccountServicePrincipal.strings.psd1
- Modules\DscResource.Base\1.4.0\Modules\DscResource.Common\0.23.0\en-US\DscResource.Common.strings.psd1
- Modules\DscResource.Common\0.24.4\DscResource.Common.psd1
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 0.5.0 | 47 | 11/27/2025 |
| 0.5.0-previe... | 3 | 11/27/2025 |
| 0.4.2 | 55 | 11/26/2025 |
| 0.4.2-previe... | 3 | 11/25/2025 |
| 0.4.1 | 74 | 11/23/2025 |
| 0.4.0-previe... | 3 | 11/23/2025 |
| 0.4.0-previe... | 3 | 11/22/2025 |
| 0.3.0 (current version) | 4 | 11/21/2025 |
| 0.3.0-previe... | 3 | 11/21/2025 |
| 0.2.1 | 6 | 11/19/2025 |
| 0.2.0-previe... | 5 | 11/19/2025 |