Interface Precheck.Service
- All Superinterfaces:
Maskable
,ResultLimitable
,Service
- Enclosing class:
- Precheck
@ApiService("SoftLayer_Network_Gateway_Precheck") public static interface Precheck.Service extends Service
A network gateway precheck is the precheck codes for member(s) of a gateway
- See Also:
- SoftLayer_Network_Gateway_Precheck
-
Method Summary
Modifier and Type Method Description Precheck.ServiceAsync
asAsync()
Get an async version of this servicePrecheck
getObject()
List<Precheck>
getPrecheckStatus(Long gatewayId, Boolean getRollbackPrecheck)
Get the precheck status for all Juniper Gateway Action categories which require a readiness check before executing.Boolean
licenseManagementPrecheck(Long gatewayId)
Used to create a License Management Network Gateway Precheck transaction.Boolean
osReloadPrecheck(Long gatewayId)
Create an OS Reload Network Gateway Precheck transaction.void
setMask(Precheck.Mask mask)
Boolean
upgradePrecheck(Long gatewayId)
Create a Upgrade Network Gateway Precheck transaction.Precheck.Mask
withMask()
Use the existing mask on this service or create it if not presentPrecheck.Mask
withNewMask()
Overwrite the existing mask on this service with a new one and return itMethods inherited from interface com.softlayer.api.ResultLimitable
getLastResponseTotalItemCount, getResultLimit, setResultLimit
-
Method Details
-
asAsync
Precheck.ServiceAsync asAsync()Description copied from interface:Service
Get an async version of this service -
withNewMask
Precheck.Mask withNewMask()Description copied from interface:Maskable
Overwrite the existing mask on this service with a new one and return it- Specified by:
withNewMask
in interfaceMaskable
-
withMask
Precheck.Mask withMask()Description copied from interface:Maskable
Use the existing mask on this service or create it if not present -
setMask
-
getObject
-
getPrecheckStatus
Get the precheck status for all Juniper Gateway Action categories which require a readiness check before executing. Reference cloud.ibm.com documentation for more details.
Possible precheck readiness values include:
Ready (0): The member or Gateway category is ready. The only state that will be allowed to execute the Action. Not Ready (1): The member or Gateway category is not ready. This could occur because of several reasons. Either a precheck error occur, or the precheck has not run within the precheck timeout window. Check the returnCode for details on the specific error. Reference the cloud.ibm.com documentation for recovery details. Running (2): The precheck is currently running with no errors. Incomplete (3): The other member in the Gateway failed, therefore the current member could not complete it's precheck. Unsupported (4): The category is unsupported for the given member or Gateway. Expired (5) : The precheck record has expired so will need to be run again. Unchecked (6) : The precheck for the category has never been run. Current (7) : The gateway state is current so running precheck is not required. This commonly relates to version upgrade if gateway is in most update version.
Return Values: Array of objects
Object Definition:
category : String : The precheck category which corresponds to one or more executeable actions.
Current categories include: upgrade_precheck : Required for major and minor upgrade version actions. license_precheck : Required for license upgrade and downgrade actions. reload_precheck : Required for OS Reload action. rollback_precheck : Optional and related to upgrade_precheck. Only returned if getRollbackPrecheck is provided and set to True (1).
memberId : Integer : The softlayer member id. memberReadinessValue : String : The precheck readiness state for the member. See possible readiness values above. gatewayReadinessValue : String : The precheck readiness state for the gateway : See possible readiness values above. returnCode : Integer : The return code. 0 if no error. Reference cloud.ibm.com documentation for details.
-
licenseManagementPrecheck
Used to create a License Management Network Gateway Precheck transaction.
-
osReloadPrecheck
Create an OS Reload Network Gateway Precheck transaction.
-
upgradePrecheck
Create a Upgrade Network Gateway Precheck transaction.
-