Azure / Azure/azure-powershell
[Feature]: Azure Powershell command to list first n Private IP address for a given subnet
- Dominant language
- C#
- Stars
- 4.8k
- Forks
- 4.3k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 51
Description
### Description of the new feature
Requesting this from this [StackOverflow](https://stackoverflow.com/questions/76580319/for-a-given-azure-subnet-how-to-find-the-first-two-available-private-ips).
I have subnet that shows 3 available IPs as below. Is there a quick way to fetch the first 2 available IPs?
It seems there is Az CLI command but no Az PWSH Command. Can this be implemented?
`az network vnet subnet list-available-ips --resource-group --vnet-name vnet01 -n subnet-1 --query [0:2]`
### Proposed implementation details (optional)
List-AzVirtualNetworkSubnetFreeIP -Name my-subnet-name -VnetName my-vnet -ResourceGroupName my-net-rg -Count MAX
Contributor guide
Assessment
This issue has not been assessed yet.