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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
The lifecycle state of the instance group.static interface
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. -
Method Summary
Modifier and TypeMethodDescriptionGets the applicationPort.Gets the createdAt.getCrn()
Gets the crn.getHref()
Gets the href.getId()
Gets the id.Gets the instanceTemplate.Gets the lifecycleReasons.Gets the lifecycleState.Gets the loadBalancerPool.Gets the managers.Gets the membershipCount.getName()
Gets the name.Gets the resourceGroup.Gets the status.Gets the subnets.Gets the updatedAt.getVpc()
Gets the vpc.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
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
Gets the createdAt. The date and time that the instance group was created.- Returns:
- the createdAt
-
getCrn
-
getHref
-
getId
-
getInstanceTemplate
Gets the instanceTemplate. The template used to create new instances for this group.- Returns:
- the instanceTemplate
-
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 instance group.- Returns:
- the lifecycleState
-
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
Gets the managers. The managers for the instance group.- Returns:
- the managers
-
getMembershipCount
Gets the membershipCount. The number of instances in the instance group.- Returns:
- the membershipCount
-
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
-
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
Gets the subnets. The subnets to use when creating new instances.- Returns:
- the subnets
-
getUpdatedAt
Gets the updatedAt. The date and time that the instance group was updated.- Returns:
- the updatedAt
-
getVpc
-