< Back

Get-AzureRmVirtualNetworkUsageList

Tue Jan 29, 2019 9:55 pm

NAME Get-AzureRmVirtualNetworkUsageList



SYNOPSIS

Gets virtual network current usage.





SYNTAX

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





DESCRIPTION

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





PARAMETERS

-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Name <String>

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



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ResourceGroupName <String>

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



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

System.String







OUTPUTS

Microsoft.Azure.Commands.Network.Models.PSVirtualNetworkUsage







NOTES









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.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... kusagelist