sync_job_results
Creates, updates, deletes, gets or lists a sync_job_results resource.
Overview
| Name | sync_job_results |
| Type | Resource |
| Id | sumologic.content_sync.sync_job_results |
Fields
The following fields are returned by SELECT queries:
- list
Result of Content Sync Job.
| Name | Datatype | Description |
|---|---|---|
content_id | string | Identifier of Content or Configuration (example: MATCH-S00574) (wire: contentId) |
child_organization | object | (wire: childOrganization) |
message | string | Message Passed while processing content or configuration sync. (example: Sync Failed due to an Internal Error, Please check with support team for more details.) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | job_id, status, region | Get Result Of Content Sync Job by ID. |
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 |
|---|---|---|
job_id | string | Id of Content Sync Job (wire: jobId) |
region | string | Sumo Logic deployment (au, ca, ch, de, eu, fed, in, jp, kr, us1, us2). Resolved from the SUMOLOGIC_ENVIRONMENT environment variable when it is set (x-stackQL-envVar, the same variable the Terraform provider reads); otherwise defaults to us2. A WHERE region = '...' value always takes precedence. (enum: [au, ca, ch, de, eu, fed, in, jp, kr, us1, us2], default: us2, x-stackQL-envVar: SUMOLOGIC_ENVIRONMENT) |
status | string | Specific Status of Content Sync Job Result to be fetched. Possible values are "SUCCESS", "FAILED", "WARNING", "CANCELLED". |
SELECT examples
- list
Get Result Of Content Sync Job by ID.
SELECT
content_id,
child_organization,
message
FROM sumologic.content_sync.sync_job_results
WHERE job_id = '{{ job_id }}' -- required
AND status = '{{ status }}' -- required
AND region = '{{ region }}' -- required unless SUMOLOGIC_ENVIRONMENT is set
;