Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Location List from Microsoft.Purview Resource Provider #2

Open
tayganr opened this issue Aug 23, 2021 · 0 comments
Open

Location List from Microsoft.Purview Resource Provider #2

tayganr opened this issue Aug 23, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@tayganr
Copy link
Owner

tayganr commented Aug 23, 2021

Current State

  • The list of locations is currently static and based off the current list of regions that Azure Purview is available.

Limitation

  • Over time, this list will become stale and outdated when compared with the growing list of regions Azure Purview can be deployed to.

Request

  • Update the location list so that it dynamically retrieves an up to date list directly from the Microsoft.Purview resource provider.

Example code (needs to be implemented/tested):

$locations = ((Get-AzResourceProvider -ProviderNamespace Microsoft.Purview).ResourceTypes | Where-Object ResourceTypeName -eq accounts).Locations
$location = Get-Random -InputObject $locations
@tayganr tayganr added the enhancement New feature or request label Aug 23, 2021
@isantillan1 isantillan1 self-assigned this Jan 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants