Job

Represents JOB entity. The job API accepts a command and parameters and executes the job and returns the results. Jobs API are typically used for long running tasks.

Overview

assocEntityType string
command enum (APPLICATION_SIGNATURE_IMPORT | APPLY_POLICY_CHANGES | BATCH_CRUD_REQUEST | BEGIN_POLICY_CHANGES | CERTIFICATE_NSG_RENEW | CERTIFICATE_NSG_REVOKE | CLEAR_IPSEC_DATA | CLEAR_MAC_MOVE_ALARMS | DEPLOY | DISCARD_POLICY_CHANGES | EXPORT | FORCE_KEYSERVER_UPDATE | FORCE_KEYSERVER_UPDATE_ACK | FORCE_KEYSERVER_VSD_RESYNC | GATEWAY_AUDIT | GET_ZFB_INFO | IMPORT | KEYSERVER_NOTIFICATION_TEST | NETCONF_FORCE_DEPLOY | NETCONF_SYNC | NOTIFY_NSG_REGISTRATION | NOTIFY_NSG_REGISTRATION_ACK | NOTIFY_NSG_REGISTRATION_TEST | NSG_NOTIFICATION_TEST | NSG_REGISTRATION_INFO | REDEPLOY | REJECT_ZFB_REQUEST | RELOAD | RELOAD_GEO_REDUNDANT_INFO | RELOAD_NSG_CONFIG | RESTART | RETRIEVE_ACTIVE_NSGS | SAAS_APPLICATION_TYPE | START | STATUS | STOP | SYNC | UNDEPLOY | VCENTER_ADD_COMPUTERESOURCE_INSCOPE | VCENTER_DELETE_AGENCY | VCENTER_MARK_AGENT_VM_AVAILABLE | VCENTER_RECONNECT | VCENTER_RELOAD | VCENTER_REMOVE_COMPUTERESOURCE_INSCOPE | VCENTER_SCRIPT_UPGRADE_VRS | VCENTER_SYNC | VCENTER_UPGRADE_VRS) required   filterable   orderable  
entityScope enum (ENTERPRISE | GLOBAL) autogenerated  
externalID string filterable   orderable   locally unique  
lastUpdatedBy string autogenerated  
parameters object
progress float
result object
status enum (FAILED | RUNNING | SUCCESS)

API Resource

/jobs/id
delete get put

Parents

/enterprises/id/jobs
get post
/redundancygroups/id/jobs
get post
/jobs
get post
/vscs/id/jobs
post
/vports/id/jobs
get post
/vrss/id/jobs
post
/hscs/id/jobs
post
get post
/zfbrequests/id/jobs
post
post
/domains/id/jobs
post
/gateways/id/jobs
get post
/vcenters/id/jobs
post
/l2domains/id/jobs
post
/nsgateways/id/jobs
get post
/vsds/id/jobs
post
post
/domaintemplates/id/jobs
post
get post
/vnfs/id/jobs
post
/vcenterclusters/id/jobs
post
get post

Children

/jobs/id/metadatas
get post
/jobs/id/globalmetadatas
get post put

Members

This object has no members.

Attributes documentation

assocEntityType string
Discussion

Entity with which this job is associated Refer to API section for supported types.


Charateristics

Format: free
SDK attribute: assocEntityType

command enum required   filterable   orderable  
Discussion

Name of the command.


Charateristics

Allowed values: APPLICATION_SIGNATURE_IMPORT, APPLY_POLICY_CHANGES, BATCH_CRUD_REQUEST, BEGIN_POLICY_CHANGES, CERTIFICATE_NSG_RENEW, CERTIFICATE_NSG_REVOKE, CLEAR_IPSEC_DATA, CLEAR_MAC_MOVE_ALARMS, DEPLOY, DISCARD_POLICY_CHANGES, EXPORT, FORCE_KEYSERVER_UPDATE, FORCE_KEYSERVER_UPDATE_ACK, FORCE_KEYSERVER_VSD_RESYNC, GATEWAY_AUDIT, GET_ZFB_INFO, IMPORT, KEYSERVER_NOTIFICATION_TEST, NETCONF_FORCE_DEPLOY, NETCONF_SYNC, NOTIFY_NSG_REGISTRATION, NOTIFY_NSG_REGISTRATION_ACK, NOTIFY_NSG_REGISTRATION_TEST, NSG_NOTIFICATION_TEST, NSG_REGISTRATION_INFO, REDEPLOY, REJECT_ZFB_REQUEST, RELOAD, RELOAD_GEO_REDUNDANT_INFO, RELOAD_NSG_CONFIG, RESTART, RETRIEVE_ACTIVE_NSGS, SAAS_APPLICATION_TYPE, START, STATUS, STOP, SYNC, UNDEPLOY, VCENTER_ADD_COMPUTERESOURCE_INSCOPE, VCENTER_DELETE_AGENCY, VCENTER_MARK_AGENT_VM_AVAILABLE, VCENTER_RECONNECT, VCENTER_RELOAD, VCENTER_REMOVE_COMPUTERESOURCE_INSCOPE, VCENTER_SCRIPT_UPGRADE_VRS, VCENTER_SYNC, VCENTER_UPGRADE_VRS
SDK attribute: command

entityScope enum autogenerated  
Discussion

Specify if scope of entity is Data center or Enterprise level


Charateristics

Allowed values: ENTERPRISE, GLOBAL
SDK attribute: entityScope

externalID string filterable   orderable   locally unique  
Discussion

External object ID. Used for integration with third party systems


Charateristics

Format: free
SDK attribute: externalID

lastUpdatedBy string autogenerated  
Discussion

ID of the user who last updated the object.


Charateristics

Format: free
SDK attribute: lastUpdatedBy

parameters object
Discussion

Additional arguments required for the specific command. Differs based on types of command.


Charateristics

Format: free
SDK attribute: parameters

progress float
Discussion

Indicates the progress of the job as a faction. eg : 0.5 means 50% done.


Charateristics

SDK attribute: progress

result object
Discussion

Results from the execution of the job


Charateristics

Format: free
SDK attribute: result

status enum
Discussion

Current status of the job. Possible values are RUNNING, FAILED, SUCCESS, .


Charateristics

Allowed values: FAILED, RUNNING, SUCCESS
Format: free
SDK attribute: status