pyvcloud.vcd.task module

class pyvcloud.vcd.task.Task(client)

Bases: object

list_tasks(filter_status_list=['queued', 'preRunning', 'running'], newer_first=True)

Return a list of tasks accesible by the user, filtered by status.

Parameters:filter_status_list – ([str]): The status of tasks to query.
Returns:A list of lxml.objectify.StringElement objects with the tasks that match the status filter
update(status, namespace, operation, operation_name, details, progress, owner_href, owner_name, owner_type, user_href, user_name, org_href=None, task_href=None, error_message=None)