Maintenance
Use the command-line interface to administer maintenance in the catalog.
Maintenances object
A Maintenances object represents the collection of maintenance defined to PureApplication® Software that is applicable to a classic virtual system instance. Objects of this type are used to create, delete, iterate over, list and search for Maintenances resources on IBM® PureApplication Software.
>>> help(deployer.maintenance)
Maintenance object
A Maintenance object represents a particular maintenance defined to PureApplication Software. Use the Maintenance object to query and manipulate the maintenance definition on PureApplication Software. Attributes of the Maintenance resource are represented as Jython attributes on the Maintenance object. Relationships between the Maintenance resource and other resources in PureApplication Software are also represented as Jython attributes on the Maintenance object. Manipulate these Jython attributes using standard Jython mechanisms to change the corresponding data on IBM PureApplication Software.
>>> help(deployer.maintenance)
Maintenance attributes
- currentstatus
- The current status of the Maintenance object. This field contains an eight character string value that is generated by PureApplication Software. This attribute is read-only.
- currentstatus_text
- This field is a string representation of currentstatus in the preferred language of the requester. This string is automatically generated by PureApplication Software. This attribute is read-only.
- fixes
- A list of the fixes to be applied as part of the maintenance request.
- id
- The ID of the Maintenance object. This attribute is an integer value. This attribute is read-only.