Class InstanceGroupManagerAction

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.InstanceGroupManagerAction
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
Direct Known Subclasses:
InstanceGroupManagerActionScheduledAction

public class InstanceGroupManagerAction extends com.ibm.cloud.sdk.core.service.model.GenericModel
InstanceGroupManagerAction. Classes which extend this class: - InstanceGroupManagerActionScheduledAction
  • Method Details

    • isAutoDelete

      public Boolean isAutoDelete()
      Gets the autoDelete. Indicates whether this scheduled action will be automatically deleted after it has completed and `auto_delete_timeout` hours have passed.
      Returns:
      the autoDelete
    • getAutoDeleteTimeout

      public Long getAutoDeleteTimeout()
      Gets the autoDeleteTimeout. If `auto_delete` is `true`, and this scheduled action has finished, the hours after which it will be automatically deleted. If the value is `0`, the action will be deleted once it has finished.
      Returns:
      the autoDeleteTimeout
    • getCreatedAt

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

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

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

      public String getName()
      Gets the name. The name for this instance group manager action. The name is unique across all actions for the instance group manager.
      Returns:
      the name
    • getResourceType

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

      public String getStatus()
      Gets the status. The status of the instance group action - `active`: Action is ready to be run - `completed`: Action was completed successfully - `failed`: Action could not be completed successfully - `incompatible`: Action parameters are not compatible with the group or manager - `omitted`: Action was not applied because this action's manager was disabled The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
      Returns:
      the status
    • getUpdatedAt

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

      public String getActionType()
      Gets the actionType. The type of action for the instance group.
      Returns:
      the actionType
    • getCronSpec

      public String getCronSpec()
      Gets the cronSpec. The cron specification for a recurring scheduled action. Actions can be applied a maximum of one time within a 5 min period.
      Returns:
      the cronSpec
    • getLastAppliedAt

      public Date getLastAppliedAt()
      Gets the lastAppliedAt. The date and time the scheduled action was last applied. If absent, the action has never been applied.
      Returns:
      the lastAppliedAt
    • getNextRunAt

      public Date getNextRunAt()
      Gets the nextRunAt. The date and time the scheduled action will next run. If absent, the system is currently calculating the next run time.
      Returns:
      the nextRunAt
    • getGroup

      Gets the group.
      Returns:
      the group
    • getManager

      Gets the manager.
      Returns:
      the manager