Class PoolUsageInner
java.lang.Object
com.azure.resourcemanager.network.fluent.models.PoolUsageInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<PoolUsageInner>
public final class PoolUsageInner
extends Object
implements com.azure.json.JsonSerializable<PoolUsageInner>
IpamPool usage information.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the addressPrefixes property: List of IP address prefixes of the resource.Get the allocatedAddressPrefixes property: List of assigned IP address prefixes.Get the availableAddressPrefixes property: List of available IP address prefixes.Get the childPools property: List of IpamPool that are children of this IpamPool.static PoolUsageInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of PoolUsageInner from the JsonReader.Get the numberOfAllocatedIpAddresses property: Total number of assigned IP addresses in the IpamPool.Get the numberOfAvailableIpAddresses property: Total number of available IP addresses in the IpamPool.Get the numberOfReservedIpAddresses property: Total number of reserved IP addresses in the IpamPool.Get the reservedAddressPrefixes property: List of reserved IP address prefixes.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Get the totalNumberOfIpAddresses property: Total number of IP addresses managed in the IpamPool.voidvalidate()Validates the instance.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
PoolUsageInner
public PoolUsageInner()Creates an instance of PoolUsageInner class.
-
-
Method Details
-
addressPrefixes
Get the addressPrefixes property: List of IP address prefixes of the resource.- Returns:
- the addressPrefixes value.
-
childPools
Get the childPools property: List of IpamPool that are children of this IpamPool.- Returns:
- the childPools value.
-
allocatedAddressPrefixes
Get the allocatedAddressPrefixes property: List of assigned IP address prefixes.- Returns:
- the allocatedAddressPrefixes value.
-
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.
-
availableAddressPrefixes
Get the availableAddressPrefixes property: List of available IP address prefixes.- Returns:
- the availableAddressPrefixes value.
-
totalNumberOfIpAddresses
Get the totalNumberOfIpAddresses property: Total number of IP addresses managed in the IpamPool.- Returns:
- the totalNumberOfIpAddresses value.
-
numberOfAllocatedIpAddresses
Get the numberOfAllocatedIpAddresses property: Total number of assigned IP addresses in the IpamPool.- Returns:
- the numberOfAllocatedIpAddresses value.
-
numberOfReservedIpAddresses
Get the numberOfReservedIpAddresses property: Total number of reserved IP addresses in the IpamPool.- Returns:
- the numberOfReservedIpAddresses value.
-
numberOfAvailableIpAddresses
Get the numberOfAvailableIpAddresses property: Total number of available IP addresses in the IpamPool.- Returns:
- the numberOfAvailableIpAddresses value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<PoolUsageInner>- Throws:
IOException
-
fromJson
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.
-