import
Creates, updates, deletes, gets or lists an import
resource.
Overview
Name | import |
Type | Resource |
Id | sumologic.monitors.import |
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 |
---|---|---|---|---|
monitorsImportItem | exec | parentId , region , name , type | Import a monitor or folder. |
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 |
---|---|---|
parentId | string | Identifier of the parent folder in which to import the monitor or folder. |
region | string | SumoLogic region (enum: [us2, au, ca, de, eu, fed, in, jp], default: us2) |
Lifecycle Methods
- monitorsImportItem
Import a monitor or folder.
EXEC sumologic.monitors.import.monitorsImportItem
@parentId='{{ parentId }}' --required,
@region='{{ region }}' --required
@@json=
'{
"name": "{{ name }}",
"description": "{{ description }}",
"type": "{{ type }}"
}'
;