addDeployment
The addDeployment operation handles configuration related to DeploymentStatus model.
Data Parameters
| Parameter | Required | Type | Description | ||
|---|---|---|---|---|---|
| statusMessage | False | string | A string that contains all deployment status messages | ||
| cliErrorMessage | False | string | An error message returned from the configuration CLI. | ||
| state | False | string | The current deployment state. | ||
| queuedTime | False | integer | The time in milliseconds (UNIX Epoch Time) when the deployment was scheduled. | ||
| startTime | False | integer | The time in milliseconds (UNIX Epoch time) when the deployment was started | ||
| endTime | False | integer | The time in milliseconds (UNIX Epoch Time) when the deployment completed. | ||
| statusMessages | False | [string] | A list of messages that show deployment status. Field level constraints: cannot have HTML. (Note: Additional constraints might exist) |
||
| modifiedObjects | False | object | The modified objects in this deployment | ||
Example
- name: Execute 'addDeployment' operation
ftd_configuration:
operation: "addDeployment"
data:
statusMessage: "{{ status_message }}"
cliErrorMessage: "{{ cli_error_message }}"
state: "{{ state }}"
queuedTime: "{{ queued_time }}"
startTime: "{{ start_time }}"
endTime: "{{ end_time }}"
statusMessages: "{{ status_messages }}"
modifiedObjects: "{{ modified_objects }}"