Get-​Azure​Rm​Virtual​Network​Usage​List

Gets virtual network current usage.

Syntax

Get-AzureRmVirtualNetworkUsageList
   -Name <String>
   -ResourceGroupName <String>
   [<CommonParameters>]

Description

The Get-AzureRmVirtualNetworkUsageList cmdlet gets per subnet usage for the specified virtual network.

Examples

Example 1

PS C:\> Get-AzureRmVirtualNetworkUsageList -ResourceGroupName test -Name usagetest

Get-AzureRmVirtualNetworkUsageList -ResourceGroupName test -Name usagetest

Name         : Subnet size and usage
Id           : /subscriptions/sub1/resourceGroups/test/providers/Microsoft.Network/virtualNetworks/usagetest/subnets/subnet
CurrentValue : 1
Limit        : 65531
Unit         : Count

Name         : Subnet size and usage
Id           : /subscriptions/sub1/resourceGroups/test/providers/Microsoft.Network/virtualNetworks/usagetest/subnets/subnet11
CurrentValue : 0
Limit        : 251
Unit         : Count

Gets per subnet current values of usage for usagetest virtual network.

Required Parameters

-Name

Specifies the name of the virtual network to show usages for.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-ResourceGroupName

Specifies the name of the resource group that virtual network belongs to.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Inputs

System.String

Outputs

Microsoft.Azure.Commands.Network.Models.PSVirtualNetworkUsage