Skip to content

Support target resource configuration in managed fast setup - #113

Merged
Anant (anantshankar17) merged 1 commit into
Azure-Samples:managedfrom
lakmeedee:feat/fast-setup-target-resource-configuration
Oct 23, 2026
Merged

Anant (anantshankar17) merged 1 commit into
Azure-Samples:managedfrom
lakmeedee:feat/fast-setup-target-resource-configuration

Conversation

@lakmeedee

Copy link
Copy Markdown
Contributor

Purpose

  • Add optional targetResourceConfiguration support to the managed analytics fast-setup PowerShell script and Bicep template, including nested settings such as iPTagConfiguration.
  • Preserve existing aksSku / nodePoolSize parameters and defaults. Object values take precedence, with the script retaining SKU and node-count validation before Azure CLI calls.
  • Forward nested configuration through a temporary JSON file and clean it up on successful and failed deployments.
  • Document ARM property naming, approved IP-tag values, dry-run behavior, precedence, and creation-only semantics.
  • Add 15 offline regression cases to the existing validation workflow.

Does this introduce a breaking change?

  • Yes
  • No

Pull Request Type

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Documentation content changes
  • Other... Please describe:

How to Test

From the repository root:

pwsh -NoProfile -File demos/analytics-using-managedcleanroom/scripts/bicep/tests/test-target-resource-configuration.ps1
az bicep build --file demos/analytics-using-managedcleanroom/scripts/bicep/managed-cleanroom.bicep --stdout
az bicep lint --file demos/analytics-using-managedcleanroom/scripts/bicep/managed-cleanroom.bicep

Local results:

  • All 15 new offline regression cases passed, with Azure CLI mocked.
  • Bicep build and lint passed; the emitted ARM template contains the optional object parameter and defaults-preserving merge.
  • Recursive PowerShell AST parsing passed.
  • PSScriptAnalyzer passed the CI error gate (warnings remain non-blocking, as configured).
  • All eight existing frontend dry-run smoke checks passed.
  • Staged whitespace validation passed with core.whitespace=cr-at-eol, matching the tracked files' existing CRLF format.

What to Check

  • Omitted and empty configuration preserve default sizing.
  • Existing sizing parameters still work; object overrides are validated by the PowerShell script.
  • Nested IP tags survive JSON serialization, including escaped characters.
  • Temporary parameter files are removed after success, a nonzero CLI exit code, and a thrown exception.
  • Dry-run does not provision resources; existing collaborations are skipped rather than updated.

Other Information

No live Azure deployment was performed. Regression tests mock Azure CLI; server-side acceptance of subscription-specific IP tags is not validated. The existing destructive -DeleteExistingCollab behavior is unchanged and explicitly documented.

@lakmeedee
Deepak J V (lakmeedee) requested a review from a team as a code owner October 22, 2026 05:45
@anantshankar17
Anant (anantshankar17) merged commit 15f0dba into Azure-Samples:managed Oct 23, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants