VMware Aria Automation 8.x
This is the intended behaviour
ignoreDeleteFailures
is not made available to the workflow, for example by binding variables or through the System.getContext()
interfaceIt is possible to fetch "ignoreDeleteFailures
" value using API calls:
GET https://{AUTOMATION-FQDN}/blueprint/api/blueprint-requests/{requestId}
or for all requests together:
GET https://
{AUTOMATION-FQDN}
/blueprint/api/blueprint-requests/
The API response looks like this, so you would just need to extract the ignoreDeleteFailures
value from here:
{
"id": "e3f85f28-1234-48ca-abcd-226d599db397",
"createdAt": "2024-01-23T12:34:56.789621Z",
"createdBy": "[email protected]",
[.....]
"reason": "Delete",
"plan": false,
"destroy": true,
"ignoreDeleteFailures": true,
"simulate": false,
"inputs": {},
[.....]
}
curl
and jq
:The ignoreDeleteFailures
value can be extracted for each Delete request along with the deployment name it's operating on, with this API call:
curl -k -X GET "https://$
/blueprint/api/blueprint-requests/" -H "Authorization: Bearer $BEARER_TOKEN" | jq '.content | .[] | select(.reason == "Delete") | .id, .deploymentName, .ignoreDeleteFailures'AUTOMATION-FQDN
ignoreDeleteFailures
property is planned for inclusion in VCF 9.