Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AzureMonitor: Automate location retrieval (#59602)
* Automate location retrieval - Add function to retrieve provider information - Add function to retrieve subscription locations - Add parsers for each function - Add types - Update resourcePickerData with new functions - Remove old location metadata file * Improve types - Add types for responses - Use correct name parameter - Update response parser (parseProvider unnecessary) * Fix tests - Add necessary mocks * Fix logic and ensure maps are consistent * Add tests * Review * Lint issue
- Loading branch information
Showing
11 changed files
with
273 additions
and
373 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
public/app/plugins/datasource/grafana-azure-monitor-datasource/azureMetadata/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
export * from './locations'; | ||
export * from './resourceTypes'; | ||
export * from './logsResourceTypes'; |
359 changes: 0 additions & 359 deletions
359
public/app/plugins/datasource/grafana-azure-monitor-datasource/azureMetadata/locations.ts
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.