Partager via


PoolUsageInner Class

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

Implements

public final class PoolUsageInner
implements JsonSerializable<PoolUsageInner>

IpamPool usage information.

Constructor Summary

Constructor Description
PoolUsageInner()

Creates an instance of PoolUsageInner class.

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

Constructor Details

PoolUsageInner

public PoolUsageInner()

Creates an instance of PoolUsageInner class.

Method Details

addressPrefixes

public List addressPrefixes()

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

Returns:

the addressPrefixes value.

allocatedAddressPrefixes

public List allocatedAddressPrefixes()

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

Returns:

the allocatedAddressPrefixes value.

availableAddressPrefixes

public List availableAddressPrefixes()

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

Returns:

the availableAddressPrefixes value.

childPools

public List 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 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