Get-AzNetworkUsage
Lists network usages for a subscription
Syntax
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.
Type: | IAzureContextContainer |
Aliases: | AzContext, 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 |
Inputs
Outputs
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure PowerShell