Class VirtualNetworkUsageInner
- java.lang.Object
-
- com.azure.resourcemanager.network.fluent.models.VirtualNetworkUsageInner
-
public final class VirtualNetworkUsageInner extends Object
Usage details for subnet.
-
-
Constructor Summary
Constructors Constructor Description VirtualNetworkUsageInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DoublecurrentValue()Get the currentValue property: Indicates number of IPs used from the Subnet.Stringid()Get the id property: Subnet identifier.Doublelimit()Get the limit property: Indicates the size of the subnet.VirtualNetworkUsageNamename()Get the name property: The name containing common and localized value for usage.Stringunit()Get the unit property: Usage units.voidvalidate()Validates the instance.
-
-
-
Method Detail
-
currentValue
public Double currentValue()
Get the currentValue property: Indicates number of IPs used from the Subnet.- Returns:
- the currentValue value.
-
id
public String id()
Get the id property: Subnet identifier.- Returns:
- the id value.
-
limit
public Double limit()
Get the limit property: Indicates the size of the subnet.- Returns:
- the limit value.
-
name
public VirtualNetworkUsageName name()
Get the name property: The name containing common and localized value for usage.- Returns:
- the name value.
-
unit
public String unit()
Get the unit property: Usage units. Returns 'Count'.- Returns:
- the unit value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-