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 Details

    • PoolUsageInner

      public PoolUsageInner()
      Creates an instance of PoolUsageInner class.
  • Method Details

    • addressPrefixes

      public List<String> addressPrefixes()
      Get the addressPrefixes property: List of IP address prefixes of the resource.
      Returns:
      the addressPrefixes value.
    • childPools

      public List<ResourceBasics> childPools()
      Get the childPools property: List of IpamPool that are children of this IpamPool.
      Returns:
      the childPools value.
    • allocatedAddressPrefixes

      public List<String> allocatedAddressPrefixes()
      Get the allocatedAddressPrefixes property: List of assigned IP address prefixes.
      Returns:
      the allocatedAddressPrefixes 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.
    • availableAddressPrefixes

      public List<String> availableAddressPrefixes()
      Get the availableAddressPrefixes property: List of available IP address prefixes.
      Returns:
      the availableAddressPrefixes value.
    • totalNumberOfIpAddresses

      public String totalNumberOfIpAddresses()
      Get the totalNumberOfIpAddresses property: Total number of IP addresses managed in the IpamPool.
      Returns:
      the totalNumberOfIpAddresses value.
    • numberOfAllocatedIpAddresses

      public String numberOfAllocatedIpAddresses()
      Get the numberOfAllocatedIpAddresses property: Total number of assigned IP addresses in the IpamPool.
      Returns:
      the numberOfAllocatedIpAddresses value.
    • numberOfReservedIpAddresses

      public String numberOfReservedIpAddresses()
      Get the numberOfReservedIpAddresses property: Total number of reserved IP addresses in the IpamPool.
      Returns:
      the numberOfReservedIpAddresses value.
    • numberOfAvailableIpAddresses

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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<PoolUsageInner>
      Throws:
      IOException
    • fromJson

      public static PoolUsageInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.