Skip to main content

job_outputs

Creates, updates, deletes, gets or lists a job_outputs resource.

Overview​

Namejob_outputs
TypeResource
Idoci.resource_manager.job_outputs

Fields​

The following fields are returned by SELECT queries:

A list of job outputs.

NameDatatypeDescription
descriptionstringDescription of the output.
isSensitivebooleanWhen true, output is sensitive.
outputNamestringName of the output.
outputTypestringOutput resource type.
outputValuestringValue of the Terraform output.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectjobId, regionopc-request-id, compartmentId, limit, pageGets the list of outputs associated with the specified job.<br />For more information, see<br />[Listing Job Outputs](/iaas/Content/ResourceManager/Tasks/list-job-outputs.htm).<br />

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
jobIdstringThe [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the job.
regionstringOCI region identifier (e.g. us-ashburn-1, ap-sydney-1); resolves from OCI_REGION when not supplied in the query. (default: us-ashburn-1, x-stackQL-envVar: OCI_REGION)
compartmentIdstringA filter to return only resources that exist in the compartment, identified by [OCID](/iaas/Content/General/Concepts/identifiers.htm).
limitintegerThe number of items returned in a paginated List call. For information about pagination, see [List Pagination](/iaas/Content/API/Concepts/usingapi.htm#nine).
opc-request-idstringUnique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
pagestringThe value of the opc-next-page response header from the preceding List call. For information about pagination, see [List Pagination](/iaas/Content/API/Concepts/usingapi.htm#nine).

SELECT examples​

Gets the list of outputs associated with the specified job.<br />For more information, see<br />[Listing Job Outputs](/iaas/Content/ResourceManager/Tasks/list-job-outputs.htm).<br />

SELECT
description,
isSensitive,
outputName,
outputType,
outputValue
FROM oci.resource_manager.job_outputs
WHERE jobId = '{{ jobId }}' -- required
AND region = '{{ region }}' -- required
AND opc-request-id = '{{ opc-request-id }}'
AND compartmentId = '{{ compartmentId }}'
AND limit = '{{ limit }}'
AND page = '{{ page }}'
;