ArmNetworkModelFactory.VirtualNetworkUsage Method

Definition

Initializes a new instance of VirtualNetworkUsage.

public static Azure.ResourceManager.Network.Models.VirtualNetworkUsage VirtualNetworkUsage (double? currentValue = default, Azure.Core.ResourceIdentifier id = default, double? limit = default, Azure.ResourceManager.Network.Models.VirtualNetworkUsageName name = default, string unit = default);
static member VirtualNetworkUsage : Nullable<double> * Azure.Core.ResourceIdentifier * Nullable<double> * Azure.ResourceManager.Network.Models.VirtualNetworkUsageName * string -> Azure.ResourceManager.Network.Models.VirtualNetworkUsage
Public Shared Function VirtualNetworkUsage (Optional currentValue As Nullable(Of Double) = Nothing, Optional id As ResourceIdentifier = Nothing, Optional limit As Nullable(Of Double) = Nothing, Optional name As VirtualNetworkUsageName = Nothing, Optional unit As String = Nothing) As VirtualNetworkUsage

Parameters

currentValue
Nullable<Double>

Indicates number of IPs used from the Subnet.

id
ResourceIdentifier

Subnet identifier.

limit
Nullable<Double>

Indicates the size of the subnet.

name
VirtualNetworkUsageName

The name containing common and localized value for usage.

unit
String

Usage units. Returns 'Count'.

Returns

A new VirtualNetworkUsage instance for mocking.

Applies to