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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
The type of action for the instance group.static interface
The resource type.static interface
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. -
Method Summary
Modifier and TypeMethodDescriptionGets the actionType.Gets the autoDeleteTimeout.Gets the createdAt.Gets the cronSpec.getGroup()
Gets the group.getHref()
Gets the href.getId()
Gets the id.Gets the lastAppliedAt.Gets the manager.getName()
Gets the name.Gets the nextRunAt.Gets the resourceType.Gets the status.Gets the updatedAt.Gets the autoDelete.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
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
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
Gets the createdAt. The date and time that the instance group manager action was created.- Returns:
- the createdAt
-
getHref
Gets the href. The URL for this instance group manager action.- Returns:
- the href
-
getId
Gets the id. The unique identifier for this instance group manager action.- Returns:
- the id
-
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
-
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
Gets the updatedAt. The date and time that the instance group manager action was updated.- Returns:
- the updatedAt
-
getActionType
Gets the actionType. The type of action for the instance group.- Returns:
- the actionType
-
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
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
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
-
getManager
Gets the manager.- Returns:
- the manager
-