Skip to main content

copy

Creates, updates, deletes, gets or lists a copy resource.

Overview

Namecopy
TypeResource
Idsumologic.content.copy

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:

NameAccessible byRequired ParamsOptional ParamsDescription
beginAsyncCopyexecid, destinationFolder, regionisAdminModeStart an asynchronous content copy job with the given identifier to the destination folder. If the content item is a folder, everything under the folder is copied recursively.

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.

NameDatatypeDescription
destinationFolderstringThe identifier of the destination folder.
idstringThe identifier of the content item to copy. Identifiers from the Library in the Sumo user interface are provided in decimal format which is incompatible with this API. The identifier needs to be in hexadecimal format.
regionstringSumoLogic region (enum: [us2, au, ca, de, eu, fed, in, jp], default: us2)
isAdminModestringSet this to "true" if you want to perform the request as a Content Administrator.

Lifecycle Methods

Start an asynchronous content copy job with the given identifier to the destination folder. If the content item is a folder, everything under the folder is copied recursively.

EXEC sumologic.content.copy.beginAsyncCopy 
@id='{{ id }}' --required,
@destinationFolder='{{ destinationFolder }}' --required,
@region='{{ region }}' --required,
@isAdminMode='{{ isAdminMode }}'
;