Sms Task Query Sms Task Info
Get detailed information about this task.
Required privileges: StorageViews.View
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId
, in this case SmsTask/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.3.0 APIs.
TaskInfo
{
"_typeName": "string",
"key": "string",
"task": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"object": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"error": {
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
},
"result": {
"_typeName": "string"
},
"startTime": "string",
"completionTime": "string",
"state": "string",
"progress": 0
}
The unique key for the task.
Reference to an instance of the SmsTask managed object.
This structure may be used only with operations rendered under /sms
.
The ManagedObjectReference data object type is a special-purpose data object. Commonly referred to as simply a "reference", "MoRef", "MOR", or other variations of this theme, instances of managed object references contain data that identifies specific server-side managed objects. Managed object references are typically one of the return types from a method invocation.
Managed object references are client application references to server-side managed objects. The client application uses ManagedObjectReference objects when it invokes operations on a server. A ManagedObjectReference is guaranteed to be unique and persistent during an object's lifetime. The reference persists after an object has moved within the inventory, across sessions, and across server restarts. If you remove an object, for example, a virtual machine, from the inventory, and then put it back, the reference changes.
The base data object type for all the object model faults that an application might handle.
Time stamp when the task started running.
Time stamp when the task was completed (whether success or failure).
Runtime status of the task.
Possible values are SmsTaskStateEnum
If the task state is "running", then this property contains a progress measurement, expressed as percentage completed, from 0 to 100.
If this property is not set, then the command does not report progress.