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에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure PowerShell