The rsd_lib.resources.v2_1.task.task_service Module

class rsd_lib.resources.v2_1.task.task_service.TaskService(connector, path='', redfish_version=None, registries=None, reader=None, json_doc=None, root=None)

Bases: rsd_lib.base.ResourceBase

TaskService resource class

This is the schema definition for the Task Service. It represents the properties for the service itself and has links to the actual list of tasks.

completed_task_over_write_policy = <sushy.resources.base.Field object>

Overwrite policy of completed tasks

date_time = <sushy.resources.base.Field object>

The current DateTime (with offset) setting that the task service is using.

life_cycle_event_on_task_state_change = <sushy.resources.base.Field object>

Send an Event upon Task State Change.

service_enabled = <sushy.resources.base.Field object>

This indicates whether this service is enabled.

status = <rsd_lib.base.StatusField object>

This indicates the known state of the resource, such as if it is enabled.

property tasks

Property to provide reference to TaskCollection instance

It is calculated once when it is queried for the first time. On refresh, this property is reset.