folders_import_status
Creates, updates, deletes, gets or lists a folders_import_status
resource.
Overview
Name | folders_import_status |
Type | Resource |
Id | sumologic.content.folders_import_status |
Fields
The following fields are returned by SELECT
queries:
- getAsyncImportStatus
The status of the import job.
Name | Datatype | Description |
---|---|---|
error | object | |
status | string | Whether or not the request is in progress (InProgress ), has completed successfully (Success ), or has completed with an error (Failed ). |
statusMessage | string | Additional status message generated if the status is not Failed . |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
getAsyncImportStatus | select | folderId , jobId , region | isAdminMode | Get the status of a content import job for the given job identifier. |
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 |
---|---|---|
folderId | string | The identifier of the folder to import into. |
jobId | string | The identifier of the import request. |
region | string | SumoLogic region (enum: [us2, au, ca, de, eu, fed, in, jp], default: us2) |
isAdminMode | string | Set this to "true" if you want to perform the request as a Content Administrator. |
SELECT
examples
- getAsyncImportStatus
Get the status of a content import job for the given job identifier.
SELECT
error,
status,
statusMessage
FROM sumologic.content.folders_import_status
WHERE folderId = '{{ folderId }}' -- required
AND jobId = '{{ jobId }}' -- required
AND region = '{{ region }}' -- required
AND isAdminMode = '{{ isAdminMode }}'
;