Describes the structure of the response for a request to show jobs via the PAN-OS API. Contains status information and an array or a single Job object, depending on the result.

interface JobsResponse {
    response: {
        result: {
            job: Job | Job[];
        };
        status: string;
    };
}

Properties

Properties

response: {
    result: {
        job: Job | Job[];
    };
    status: string;
}

The response wrapper containing the status and result properties.

Type declaration

  • result: {
        job: Job | Job[];
    }

    The result object containing job details. It may include a single Job object or an array of Job objects.

    • job: Job | Job[]

      A single Job object or an array thereof. The structure depends on the number of jobs returned by the API.

  • status: string

    The response status, typically indicating success or failure of the jobs fetch request.

Generated using TypeDoc