job_outputs
Creates, updates, deletes, gets or lists a job_outputs resource.
Overview​
| Name | job_outputs |
| Type | Resource |
| Id | oci.resource_manager.job_outputs |
Fields​
The following fields are returned by SELECT queries:
- list
A list of job outputs.
| Name | Datatype | Description |
|---|---|---|
description | string | Description of the output. |
isSensitive | boolean | When true, output is sensitive. |
outputName | string | Name of the output. |
outputType | string | Output resource type. |
outputValue | string | Value of the Terraform output. |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | jobId, region | opc-request-id, compartmentId, limit, page | 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 /> |
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.
| Name | Datatype | Description |
|---|---|---|
jobId | string | The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the job. |
region | string | OCI 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) |
compartmentId | string | A filter to return only resources that exist in the compartment, identified by [OCID](/iaas/Content/General/Concepts/identifiers.htm). |
limit | integer | The 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-id | string | Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
page | string | The 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​
- list
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 }}'
;