PoolUsageInner Class

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

Implements

public final class PoolUsageInner
implements JsonSerializable<PoolUsageInner>

IpamPool usage information.

Method Summary

Modifier and Type Method and Description
List<String> addressPrefixes()

Get the addressPrefixes property: List of IP address prefixes of the resource.

List<String> allocatedAddressPrefixes()

Get the allocatedAddressPrefixes property: List of assigned IP address prefixes.

List<String> availableAddressPrefixes()

Get the availableAddressPrefixes property: List of available IP address prefixes.

List<ResourceBasics> childPools()

Get the childPools property: List of IpamPool that are children of this IpamPool.

static PoolUsageInner fromJson(JsonReader jsonReader)

Reads an instance of PoolUsageInner from the JsonReader.

String numberOfAllocatedIPAddresses()

Get the numberOfAllocatedIPAddresses property: Total number of assigned IP addresses in the IpamPool.

String numberOfAvailableIPAddresses()

Get the numberOfAvailableIPAddresses property: Total number of available IP addresses in the IpamPool.

String numberOfReservedIPAddresses()

Get the numberOfReservedIPAddresses property: Total number of reserved IP addresses in the IpamPool.

List<String> reservedAddressPrefixes()

Get the reservedAddressPrefixes property: List of reserved IP address prefixes.

JsonWriter toJson(JsonWriter jsonWriter)
String totalNumberOfIPAddresses()

Get the totalNumberOfIPAddresses property: Total number of IP addresses managed in the IpamPool.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

addressPrefixes

public List<String> addressPrefixes()

Get the addressPrefixes property: List of IP address prefixes of the resource.

Returns:

the addressPrefixes value.

allocatedAddressPrefixes

public List<String> allocatedAddressPrefixes()

Get the allocatedAddressPrefixes property: List of assigned IP address prefixes.

Returns:

the allocatedAddressPrefixes value.

availableAddressPrefixes

public List<String> availableAddressPrefixes()

Get the availableAddressPrefixes property: List of available IP address prefixes.

Returns:

the availableAddressPrefixes value.

childPools

public List<ResourceBasics> childPools()

Get the childPools property: List of IpamPool that are children of this IpamPool.

Returns:

the childPools value.

fromJson

public static PoolUsageInner fromJson(JsonReader jsonReader)

Reads an instance of PoolUsageInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of PoolUsageInner 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 PoolUsageInner.

numberOfAllocatedIPAddresses

public String numberOfAllocatedIPAddresses()

Get the numberOfAllocatedIPAddresses property: Total number of assigned IP addresses in the IpamPool.

Returns:

the numberOfAllocatedIPAddresses value.

numberOfAvailableIPAddresses

public String numberOfAvailableIPAddresses()

Get the numberOfAvailableIPAddresses property: Total number of available IP addresses in the IpamPool.

Returns:

the numberOfAvailableIPAddresses value.

numberOfReservedIPAddresses

public String numberOfReservedIPAddresses()

Get the numberOfReservedIPAddresses property: Total number of reserved IP addresses in the IpamPool.

Returns:

the numberOfReservedIPAddresses value.

reservedAddressPrefixes

public List<String> reservedAddressPrefixes()

Get the reservedAddressPrefixes property: List of reserved IP address prefixes. These IP addresses could be reclaimed if not assigned in the given time.

Returns:

the reservedAddressPrefixes value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

totalNumberOfIPAddresses

public String totalNumberOfIPAddresses()

Get the totalNumberOfIPAddresses property: Total number of IP addresses managed in the IpamPool.

Returns:

the totalNumberOfIPAddresses value.

validate

public void validate()

Validates the instance.

Applies to