Skip to main content

root

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

Overview

Nameroot
TypeResource
Idsumologic.slos.root

Fields

The following fields are returned by SELECT queries:

Root folder of the slos library.

NameDatatypeDescription
idstringIdentifier of the slo or folder.
namestringIdentifier of the slo or folder.
childrenarrayChildren of the folder. NOTE: Permissions field will not be filled (empty list) for children.
contentTypestringType of the content. Valid values: 1) Slo 2) Folder
createdAtstring (date-time)Creation timestamp in UTC in RFC3339 format.
createdBystringIdentifier of the user who created the resource.
descriptionstringDescription of the slo or folder.
isMutablebooleanImmutable objects are "READ-ONLY".
isSystembooleanSystem objects are objects provided by Sumo Logic. System objects can only be localized. Non-local fields can't be updated.
modifiedAtstring (date-time)Last modification timestamp in UTC.
modifiedBystringIdentifier of the user who last modified the resource.
parentIdstringIdentifier of the parent folder.
permissionsarrayAggregated permission summary for the calling user. If detailed permission statements are required, please call list permissions endpoint.
typestringType of the object model.
versioninteger (int64)Version of the slo or folder.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getSlosLibraryRootselectregionGet the root folder in the slos library.

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
regionstringSumoLogic region (enum: [us2, au, ca, de, eu, fed, in, jp], default: us2)

SELECT examples

Get the root folder in the slos library.

SELECT
id,
name,
children,
contentType,
createdAt,
createdBy,
description,
isMutable,
isSystem,
modifiedAt,
modifiedBy,
parentId,
permissions,
type,
version
FROM sumologic.slos.root
WHERE region = '{{ region }}' -- required
;