# Data Object - ScheduledTaskSpec(vim.scheduler.ScheduledTaskSpec)

Parameter to
  CreateObjectScheduledTask, CreateScheduledTask, ReconfigureScheduledTask
Extended by
  ScheduledTaskInfo
Extends
  DynamicData
See also
  Action, TaskScheduler
Since
  2.0

## Data Object Description

Parameters for scheduled task creation.

Properties

Name | Type | Description
--- | --- | ---
action | Action | The action of the scheduled task, to be done when the scheduled task runs.
description | xsd:string | Description of the scheduled task.
enabled | xsd:boolean | Flag to indicate whether the scheduled task is enabled or disabled.
name | xsd:string | Name of the scheduled task.
notification* | xsd:string | The email notification. If not set, this property is set to empty string, indicating no notification.
scheduler | TaskScheduler | The time scheduler that determines when the scheduled task runs.
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vslm="urn:vslm" name="ScheduledTaskSpec"> <complexContent> <extension base="vslm:DynamicData"> <sequence> <element name="name" type="xsd:string"/> <element name="description" type="xsd:string"/> <element name="enabled" type="xsd:boolean"/> <element name="scheduler" type="vslm:TaskScheduler"/> <element name="action" type="vslm:Action"/> <element name="notification" type="xsd:string" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>