You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs-mslearn/toolkit/changelog.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ The following section lists features and enhancements that are currently in deve
44
44
45
45
-**Added**
46
46
- Added [New-FinOpsTestData](powershell/data/New-FinOpsTestData.md) to generate synthetic, multi-cloud FOCUS-compliant cost data for Azure, AWS, GCP, and on-premises providers. Supports FOCUS versions 1.0-1.3 with version-specific column sets, commitment discounts, Azure Hybrid Benefit, tag variation, and inline budget scaling. Includes `-Seed` for reproducibility and upload to Azure storage. Generated manifests include a `_ftkTestData` watermark for safe cleanup identification.
47
-
- Added [Remove-FinOpsTestData](powershell/data/Remove-FinOpsTestData.md) to purge test data from Azure Data Explorer tables, storage containers, and local test-data folders for a clean reset. Includes multi-layer safety features: local-only cleanup by default, storage marker verification (checks for `_ftkTestData`in manifests before deleting), and ADX cleanup requires `-Force`. Supports optional ADF trigger management and ADX update policy verification.
47
+
- Added [Remove-FinOpsTestData](powershell/data/Remove-FinOpsTestData.md) to purge test data from Azure Data Explorer tables, storage containers, and local test-data folders for a clean reset. Includes multi-layer safety features: local-only cleanup by default, targeted storage deletion (scans manifests for `_ftkTestData`marker and removes only test-data folders — production data is preserved), and ADX cleanup requires `-Force` because `.clear table` removes all rows. Supports optional ADF trigger management and ADX update policy verification.
@@ -80,14 +80,18 @@ Plus FinOps Hub-specific `x_` prefixed extension columns for dashboard compatibi
80
80
81
81
### Remove-FinOpsTestData (Clean Reset)
82
82
83
-
The `Remove-FinOpsTestData` command performs a full cleanup for re-testing:
83
+
The `Remove-FinOpsTestData` command performs a targeted cleanup for re-testing:
84
84
85
85
1.**Stops ADF triggers** (optional, with `-StopTriggers -AdfName -ResourceGroupName`) to prevent re-ingestion during cleanup
86
-
2.**Purges all ADX tables** in both Hub and Ingestion databases via REST API
86
+
2.**Purges all ADX tables** in both Hub and Ingestion databases via REST API (requires `-Force`)
87
87
3.**Verifies ADX update policies** are intact after clearing tables
88
-
4.**Deletes all blobs**from `msexports`and `ingestion` storage containers
88
+
4.**Deletes test-data folders from storage**— scans manifests for `_ftkTestData` marker and removes only marked folders (production data is preserved)
89
89
5.**Removes local test-data folder**
90
90
91
-
Requires `-AdxClusterUri` and `-StorageAccountName`. Uses `ConfirmImpact = 'High'` so PowerShell will prompt for confirmation unless `-Confirm:$false` is passed.
91
+
All cloud parameters are optional. By default only local files are deleted. Pass `-StorageAccountName` for storage cleanup and `-AdxClusterUri -Force` for ADX cleanup.
92
+
93
+
> **Important:** Do not ingest test data into an ADX cluster that also contains production data. Storage cleanup is targeted (only test-data folders are removed), but ADX `.clear table` removes **all** rows. If you accidentally mix test and production data in ADX, clear the tables and re-ingest production data from storage.
94
+
95
+
Uses `ConfirmImpact = 'High'` so PowerShell will prompt for confirmation unless `-Confirm:$false` is passed.
92
96
93
97
Run `Get-Help Remove-FinOpsTestData -Detailed` for the full parameter reference.
0 commit comments