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.

You can work with the Maintenances object on the command-line interface and help is available. To get help for the Maintenances object, pass it as an argument to the help() function, as shown in the following example:
>>> 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.

You can work with the Maintenance object on the command-line interface and help is available. To get help for the Maintenance object, pass it as an argument to the help() function, as shown in the following example:
>>> help(deployer.maintenance)

Maintenance attributes

The Maintenance object has the following 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.