AppPublishConfigJobStatus
Application Publish Config Job Status
Status and per-action results of an asynchronous publish job for an application.
Notes:
- Poll this resource after initiating a publish job until
statusisCOMPLETEDorFAILED. - Each entry in
resultsmaps to the corresponding input action viaaction_index(zero-based position in the originalpublish_actionsarray). - On failure, check
error_detailsonFAILEDresult entries for the specific error from NSX Manager.
JSON Example
{
"job_id": "job-uuid-001",
"application_id": "app-uuid-456",
"site_id": "d2a2ca94-b87c-4d17-b36d-831e616f9597",
"status": "FAILED",
"_create_time": 1750714942696,
"_last_modified_time": 1750714960000,
"_create_user": "admin",
"results": [
{
"action_index": 0,
"action_type": "POLICY_CREATE",
"action_status": "COMPLETED",
"path": "/infra/domains/default/security-policies/Payment-App-Policy"
},
{
"action_index": 1,
"action_type": "POLICY_UPDATE",
"action_status": "COMPLETED",
"path": "/infra/domains/default/security-policies/Policy-123"
},
{
"action_index": 2,
"action_type": "RULE_UPDATE",
"action_status": "FAILED",
"path": "/infra/domains/default/security-policies/Policy-123/rules/Rule-789",
"status_message": "Rule not found on NSX Manager",
"error_details": "404 Not Found: /infra/domains/default/security-policies/Policy-123/rules/Rule-789"
}
]
}
string
job_id
Required
Unique identifier of this publish job.
string
application_id
Required
The application identifier associated with this job.
string
site_id
Required
The site identifier from the original publish request.
status
Required
Overall lifecycle status of the job: PENDING | IN_PROGRESS | COMPLETED | FAILED.
Enumeration:
PENDING,
IN_PROGRESS,
COMPLETED,
FAILED
string
_create_user
Optional
Username of the user who initiated this publish job.