Class ClusterNetworkSubnet

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class ClusterNetworkSubnet
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    ClusterNetworkSubnet.
    • Method Detail

      • getAvailableIpv4AddressCount

        public Long getAvailableIpv4AddressCount()
        Gets the availableIpv4AddressCount. The number of IPv4 addresses in this cluster network subnet that are not in use, and have not been reserved by the user or the provider.
        Returns:
        the availableIpv4AddressCount
      • getCreatedAt

        public Date getCreatedAt()
        Gets the createdAt. The date and time that the cluster network subnet was created.
        Returns:
        the createdAt
      • getHref

        public String getHref()
        Gets the href. The URL for this cluster network subnet.
        Returns:
        the href
      • getId

        public String getId()
        Gets the id. The unique identifier for this cluster network subnet.
        Returns:
        the id
      • getIpVersion

        public String getIpVersion()
        Gets the ipVersion. The IP version for this cluster network subnet. The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
        Returns:
        the ipVersion
      • getIpv4CidrBlock

        public String getIpv4CidrBlock()
        Gets the ipv4CidrBlock. The IPv4 range of this cluster network subnet, expressed in CIDR format.
        Returns:
        the ipv4CidrBlock
      • getLifecycleReasons

        public List<ClusterNetworkSubnetLifecycleReason> getLifecycleReasons()
        Gets the lifecycleReasons. The reasons for the current `lifecycle_state` (if any).
        Returns:
        the lifecycleReasons
      • getLifecycleState

        public String getLifecycleState()
        Gets the lifecycleState. The lifecycle state of the cluster network subnet.
        Returns:
        the lifecycleState
      • getName

        public String getName()
        Gets the name. The name for this cluster network subnet. The name is unique across all cluster network subnets in the cluster network.
        Returns:
        the name
      • getResourceType

        public String getResourceType()
        Gets the resourceType. The resource type.
        Returns:
        the resourceType
      • getTotalIpv4AddressCount

        public Long getTotalIpv4AddressCount()
        Gets the totalIpv4AddressCount. The total number of IPv4 addresses in this cluster network subnet. Note: This is calculated as 2<sup>(32 - prefix length)</sup>. For example, the prefix length `/24` gives:<br> 2<sup>(32 - 24)</sup> = 2<sup>8</sup> = 256 addresses.
        Returns:
        the totalIpv4AddressCount