Get-AzureRmNetworkUsage
Lists network usages for a subscription
Warning
The AzureRM PowerShell module has been officially deprecated as of February 29, 2024. Users are advised to migrate from AzureRM to the Az PowerShell module to ensure continued support and updates.
Although the AzureRM module may still function, it's no longer maintained or supported, placing any continued use at the user's discretion and risk. Please refer to our migration resources for guidance on transitioning to the Az module.
Syntax
Get-AzureRmNetworkUsage
-Location <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The Get-AzureRmNetworkUsage cmdlet gets limits and current usage for Network resources.
Examples
Example 1
PS C:\> Get-AzureRmNetworkUsage -Location westcentralus
ResourceType : Virtual Networks
CurrentValue : 6
Limit : 50
ResourceType : Static Public IP Addresses
CurrentValue : 1
Limit : 20
ResourceType : Network Security Groups
CurrentValue : 2
Limit : 100
ResourceType : Public IP Addresses
CurrentValue : 6
Limit : 60
ResourceType : Network Interfaces
CurrentValue : 1
Limit : 300
ResourceType : Load Balancers
CurrentValue : 1
Limit : 100
ResourceType : Application Gateways
CurrentValue : 1
Limit : 50
ResourceType : Route Tables
CurrentValue : 0
Limit : 100
ResourceType : Route Filters
CurrentValue : 0
Limit : 1000
ResourceType : Network Watchers
CurrentValue : 1
Limit : 1
ResourceType : Packet Captures
CurrentValue : 0
Limit : 10
Gets resources usage data in westcentralus region
Parameters
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with azure.
Type: | IAzureContextContainer |
Aliases: | AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Location
The location where resource usage is queried.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |