delete_status
Creates, updates, deletes, gets or lists a delete_status
resource.
Overview
Name | delete_status |
Type | Resource |
Id | sumologic.content.delete_status |
Fields
The following fields are returned by SELECT
queries:
- getAsyncDeleteStatus
The status of the content deletion 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 |
---|---|---|---|---|
getAsyncDeleteStatus | select | id , jobId , region | isAdminMode | Get the status of an asynchronous content deletion job request 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 |
---|---|---|
id | string | Identifier of the content to delete. |
jobId | string | The identifier of the asynchronous job. |
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
- getAsyncDeleteStatus
Get the status of an asynchronous content deletion job request for the given job identifier.
SELECT
error,
status,
statusMessage
FROM sumologic.content.delete_status
WHERE id = '{{ id }}' -- required
AND jobId = '{{ jobId }}' -- required
AND region = '{{ region }}' -- required
AND isAdminMode = '{{ isAdminMode }}'
;