task
This topic describes the verbs, command-line arguments, and API parameters available for the task noun in the BMC Cloud Lifecycle Management SDK.
result
Use task-result from the command line to return the result of the specified completed task.
Use task_result in the API to return the result of the specified completed task. This command returns a CloudClass Python object with the same attributes and relationships.
obj.guid # returns the GUID
obj.name # returns the name
...
Command-line argument | API parameter | Description | Required? |
|---|---|---|---|
--taskid | task_guid | GUID of the task. | Yes |
-l |
| List all fields. This parameter does not need a value. |
|
-u |
| List only GUIDs. This parameter does not need a value. |
|
-n |
| List only names. This parameter does not need a value. |
|
-s |
| List GUIDs, names, and status (if applicable). This parameter does not need a value. |
|
-k |
| List the field names specified as the value for this parameter. |
|
--filter |
| List the output that matches the specified filters. |
|
| gcac | GenericCloudAPIClient instance/user authentication. |
|
status
Use task-status from the command line to return the status of a task.
Use task_status in the API to return the status of a task. This command returns a Task Python object with the same attributes and relationships.
obj.guid # returns the GUID
obj.name # returns the name
...
Command-line argument | API parameter | Description | Required? |
|---|---|---|---|
--taskid | task_guid | GUID of the task. | Yes |
-l |
| List all fields. This parameter does not need a value. |
|
-u |
| List only GUIDs. This parameter does not need a value. |
|
-n |
| List only names. This parameter does not need a value. |
|
-s |
| List GUIDs, names, and status (if applicable). This parameter does not need a value. |
|
-k |
| List the field names specified as the value for this parameter. |
|
| gcac | GenericCloudAPIClient instance/user authentication. |
|