copy_status
Creates, updates, deletes, gets or lists a copy_status
resource.
Overview
Name | copy_status |
Type | Resource |
Id | sumologic.content.copy_status |
Fields
The following fields are returned by SELECT
queries:
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource.
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
asyncCopyStatus | exec | id , jobId , region | isAdminMode | Get the status of the copy request with the given job identifier. On success, field statusMessage will contain identifier of the newly copied content in format: id: {hexIdentifier} . |
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 | The identifier of the content which was copied. |
jobId | string | The identifier of the asynchronous copy request 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. |
Lifecycle Methods
- asyncCopyStatus
Get the status of the copy request with the given job identifier. On success, field statusMessage
will contain identifier of the newly copied content in format: id: {hexIdentifier}
.
EXEC sumologic.content.copy_status.asyncCopyStatus
@id='{{ id }}' --required,
@jobId='{{ jobId }}' --required,
@region='{{ region }}' --required,
@isAdminMode='{{ isAdminMode }}'
;