Class ClusterNetworkSubnet
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
The IP version for this cluster network subnet.static interface
The lifecycle state of the cluster network subnet.static interface
The resource type. -
Method Summary
Modifier and TypeMethodDescriptionGets the availableIpv4AddressCount.Gets the createdAt.getHref()
Gets the href.getId()
Gets the id.Gets the ipv4CidrBlock.Gets the ipVersion.Gets the lifecycleReasons.Gets the lifecycleState.getName()
Gets the name.Gets the resourceType.Gets the totalIpv4AddressCount.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
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
Gets the createdAt. The date and time that the cluster network subnet was created.- Returns:
- the createdAt
-
getHref
-
getId
Gets the id. The unique identifier for this cluster network subnet.- Returns:
- the id
-
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
Gets the ipv4CidrBlock. The IPv4 range of this cluster network subnet, expressed in CIDR format.- Returns:
- the ipv4CidrBlock
-
getLifecycleReasons
Gets the lifecycleReasons. The reasons for the current `lifecycle_state` (if any).- Returns:
- the lifecycleReasons
-
getLifecycleState
Gets the lifecycleState. The lifecycle state of the cluster network subnet.- Returns:
- the lifecycleState
-
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
-
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
-