Class ClusterNetworkInterface
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.ClusterNetworkInterface
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class ClusterNetworkInterface
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The associated cluster network subnet.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
The lifecycle state of the cluster network interface.static interface
The resource type. -
Method Summary
Modifier and TypeMethodDescriptionGets the createdAt.getHref()
Gets the href.getId()
Gets the id.Gets the lifecycleReasons.Gets the lifecycleState.Gets the macAddress.getName()
Gets the name.Gets the primaryIp.Gets the resourceType.Gets the subnet.Gets the target.getVpc()
Gets the vpc.getZone()
Gets the zone.Gets the allowIpSpoofing.Gets the autoDelete.Gets the enableInfrastructureNat.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
isAllowIpSpoofing
Gets the allowIpSpoofing. Indicates whether source IP spoofing is allowed on this cluster network interface. If `false`, source IP spoofing is prevented on this cluster network interface. If `true`, source IP spoofing is allowed on this cluster network interface.- Returns:
- the allowIpSpoofing
-
isAutoDelete
Gets the autoDelete. Indicates whether this cluster network interface will be automatically deleted when `target` is deleted.- Returns:
- the autoDelete
-
getCreatedAt
Gets the createdAt. The date and time that the cluster network interface was created.- Returns:
- the createdAt
-
isEnableInfrastructureNat
Gets the enableInfrastructureNat. If `true`: - The VPC infrastructure performs any needed NAT operations. - `floating_ips` must not have more than one floating IP. If `false`: - Packets are passed unchanged to/from the virtual network interface, allowing the workload to perform any needed NAT operations.- Returns:
- the enableInfrastructureNat
-
getHref
Gets the href. The URL for this cluster network interface.- Returns:
- the href
-
getId
Gets the id. The unique identifier for this cluster network interface.- Returns:
- the id
-
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 interface.- Returns:
- the lifecycleState
-
getMacAddress
Gets the macAddress. The MAC address of the cluster network interface. May be absent if `lifecycle_state` is `pending`.- Returns:
- the macAddress
-
getName
Gets the name. The name for this cluster network interface. The name is unique across all interfaces in the cluster network.- Returns:
- the name
-
getPrimaryIp
Gets the primaryIp. The cluster network subnet reserved IP for this cluster network interface.- Returns:
- the primaryIp
-
getResourceType
-
getSubnet
-
getTarget
Gets the target. The target of this cluster network interface. If absent, this cluster network interface is not attached to a target. The resources supported by this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.- Returns:
- the target
-
getVpc
Gets the vpc. The VPC this cluster network interface resides in.- Returns:
- the vpc
-
getZone
Gets the zone. The zone this cluster network interface resides in.- Returns:
- the zone
-