We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Get-LabAzureAvailableRoleSize -Location 'westeurope'
Get-LabAzureAvailableRoleSize -Location 'westeurope' returns no results.
VM size listed
No output
Connect-AzAccount Set-AzContext -Tenant 85173d93-99ef-4dff-9b45-495719659133 Get-LabAzureAvailableRoleSize -Location 'westeurope'
The text was updated successfully, but these errors were encountered:
The problem is that in line
AutomatedLab/AutomatedLab/AutomatedLabAzure.psm1
Line 1455 in 9c12bcc
Location
DisplayName
Since location id might be more commonly used by developers, it might be sensible to use one of these two approaches: Location
$azLocation = Get-AzLocation | Where-Object -Property Location -eq $Location
$azLocation = Get-AzLocation | Where-Object {$_.Location -eq $Location -or $_.DisplayName -eq $Location}
Sorry, something went wrong.
No available role sizes in region
While it is documented that the display name needs to be used, I've updated the cmdlet to support both a DisplayName as well as a Location parameter. You can access the development version while we prepare for our next release: https://ci.appveyor.com/project/nyanhp/automatedlab/builds/42360026/job/361cv9j61hcdk0du/artifacts
nyanhp
Successfully merging a pull request may close this issue.
Description
Get-LabAzureAvailableRoleSize -Location 'westeurope'
returns no results.Expected behavior
VM size listed
Actual behavior
No output
Steps to reproduce
Environment details
The text was updated successfully, but these errors were encountered: