VirtualNetworkUsageInner Class
- java.
lang. Object - com.
azure. resourcemanager. network. fluent. models. VirtualNetworkUsageInner
- com.
Implements
public final class VirtualNetworkUsageInner
implements JsonSerializable<VirtualNetworkUsageInner>
Usage details for subnet.
Constructor Summary
Constructor | Description |
---|---|
VirtualNetworkUsageInner() |
Creates an instance of Virtual |
Method Summary
Modifier and Type | Method and Description |
---|---|
Double |
currentValue()
Get the current |
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
String |
id()
Get the id property: Subnet identifier. |
Double |
limit()
Get the limit property: Indicates the size of the subnet. |
Virtual |
name()
Get the name property: The name containing common and localized value for usage. |
Json |
toJson(JsonWriter jsonWriter) |
String |
unit()
Get the unit property: Usage units. |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
VirtualNetworkUsageInner
public VirtualNetworkUsageInner()
Creates an instance of VirtualNetworkUsageInner class.
Method Details
currentValue
public Double currentValue()
Get the currentValue property: Indicates number of IPs used from the Subnet.
Returns:
fromJson
public static VirtualNetworkUsageInner fromJson(JsonReader jsonReader)
Reads an instance of VirtualNetworkUsageInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Subnet identifier.
Returns:
limit
public Double limit()
Get the limit property: Indicates the size of the subnet.
Returns:
name
public VirtualNetworkUsageName name()
Get the name property: The name containing common and localized value for usage.
Returns:
toJson
unit
public String unit()
Get the unit property: Usage units. Returns 'Count'.
Returns:
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java