Get-AzNetworkUsage
Lists network usages for a subscription
Syntax
Default (Default)
Get-AzNetworkUsage
-Location <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The Get-AzNetworkUsage cmdlet gets limits and current usage for Network resources.
Examples
Example 1
Get-AzNetworkUsage -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.
Parameter properties
Type: | IAzureContextContainer |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Location
The location where resource usage is queried.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.