Class InstanceGroup

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.InstanceGroup
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class InstanceGroup extends com.ibm.cloud.sdk.core.service.model.GenericModel
InstanceGroup.
  • Method Details

    • getApplicationPort

      public Long getApplicationPort()
      Gets the applicationPort. The port used for new load balancer pool members created by this instance group. This property will be present if and only if `load_balancer_pool` is present.
      Returns:
      the applicationPort
    • getCreatedAt

      public Date getCreatedAt()
      Gets the createdAt. The date and time that the instance group was created.
      Returns:
      the createdAt
    • getCrn

      public String getCrn()
      Gets the crn. The CRN for this instance group.
      Returns:
      the crn
    • getHref

      public String getHref()
      Gets the href. The URL for this instance group.
      Returns:
      the href
    • getId

      public String getId()
      Gets the id. The unique identifier for this instance group.
      Returns:
      the id
    • getInstanceTemplate

      public InstanceTemplateReference getInstanceTemplate()
      Gets the instanceTemplate. The template used to create new instances for this group.
      Returns:
      the instanceTemplate
    • getLifecycleReasons

      public List<InstanceGroupLifecycleReason> 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 instance group.
      Returns:
      the lifecycleState
    • getLoadBalancerPool

      public LoadBalancerPoolReference getLoadBalancerPool()
      Gets the loadBalancerPool. If present, the load balancer pool this instance group manages. A pool member will be created for each instance created by this group.
      Returns:
      the loadBalancerPool
    • getManagers

      public List<InstanceGroupManagerReference> getManagers()
      Gets the managers. The managers for the instance group.
      Returns:
      the managers
    • getMembershipCount

      public Long getMembershipCount()
      Gets the membershipCount. The number of instances in the instance group.
      Returns:
      the membershipCount
    • getName

      public String getName()
      Gets the name. The name for this instance group. The name is unique across all instance groups in the region.
      Returns:
      the name
    • getResourceGroup

      public ResourceGroupReference getResourceGroup()
      Gets the resourceGroup.
      Returns:
      the resourceGroup
    • getStatus

      public String getStatus()
      Gets the status. The status of the instance group - `deleting`: Group is being deleted - `healthy`: Group has `membership_count` instances - `scaling`: Instances in the group are being created or deleted to reach `membership_count` - `unhealthy`: Group is unable to reach `membership_count` instances The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
      Returns:
      the status
    • getSubnets

      public List<SubnetReference> getSubnets()
      Gets the subnets. The subnets to use when creating new instances.
      Returns:
      the subnets
    • getUpdatedAt

      public Date getUpdatedAt()
      Gets the updatedAt. The date and time that the instance group was updated.
      Returns:
      the updatedAt
    • getVpc

      public VPCReference getVpc()
      Gets the vpc. The VPC the instance group resides in.
      Returns:
      the vpc