VirtualNetworkUsageInner Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.VirtualNetworkUsageInner

Implements

public final class VirtualNetworkUsageInner
implements JsonSerializable<VirtualNetworkUsageInner>

Usage details for subnet.

Method Summary

Modifier and Type Method and Description
Double currentValue()

Get the currentValue property: Indicates number of IPs used from the Subnet.

static VirtualNetworkUsageInner fromJson(JsonReader jsonReader)

Reads an instance of VirtualNetworkUsageInner from the JsonReader.

String id()

Get the id property: Subnet identifier.

Double limit()

Get the limit property: Indicates the size of the subnet.

VirtualNetworkUsageName name()

Get the name property: The name containing common and localized value for usage.

JsonWriter toJson(JsonWriter jsonWriter)
String unit()

Get the unit property: Usage units.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

currentValue

public Double currentValue()

Get the currentValue property: Indicates number of IPs used from the Subnet.

Returns:

the currentValue value.

fromJson

public static VirtualNetworkUsageInner fromJson(JsonReader jsonReader)

Reads an instance of VirtualNetworkUsageInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of VirtualNetworkUsageInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the VirtualNetworkUsageInner.

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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

unit

public String unit()

Get the unit property: Usage units. Returns 'Count'.

Returns:

the unit value.

validate

public void validate()

Validates the instance.

Applies to