# Data Object - CreateTaskAction(vim.action.CreateTaskAction)

Extends
  Action
Since
  VI API 2.5

## Data Object Description

This data object type specifies the type of task to be created when this action is triggered.

Properties

Name | Type | Description
--- | --- | ---
cancelable | xsd:boolean | Whether the task should be cancelable.
taskTypeId | xsd:string | Extension registered task type identifier for type of task being created.
Properties inherited from Action
None
Properties inherited from DynamicData
None

Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="CreateTaskAction"> <complexContent> <extension base="vsan:Action"> <sequence> <element name="taskTypeId" type="xsd:string"/> <element name="cancelable" type="xsd:boolean"/> </sequence> </extension> </complexContent> </complexType>