Skip to main content

root

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

Overview

Nameroot
TypeResource
Idsumologic.muting_schedules.root

Fields

The following fields are returned by SELECT queries:

Root folder of the mutingSchedules library.

NameDatatypeDescription
idstringIdentifier of the mutingschedule or folder.
namestringIdentifier of the mutingschedule or folder.
parent_idstringIdentifier of the parent folder. (wire: parentId)
childrenarrayChildren of the folder. NOTE: Permissions field will not be filled (empty list) for children.
content_typestringType of the content. Valid values: 1) Mutingschedule 2) Folder (wire: contentType)
created_atstring (date-time)Creation timestamp in UTC in [RFC3339](https:​//tools.ietf.org/html/rfc3339) format. (wire: createdAt)
created_bystringIdentifier of the user who created the resource. (wire: createdBy)
descriptionstringDescription of the mutingschedule or folder.
is_mutablebooleanImmutable objects are "READ-ONLY". (wire: isMutable)
is_systembooleanSystem objects are objects provided by Sumo Logic. System objects can only be localized. Non-local fields can't be updated. (wire: isSystem)
modified_atstring (date-time)Last modification timestamp in UTC. (wire: modifiedAt)
modified_bystringIdentifier of the user who last modified the resource. (wire: modifiedBy)
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 mutingschedule or folder.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectregionGet the root folder in the mutingSchedules 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
regionstringSumo Logic deployment (au, ca, ch, de, eu, fed, in, jp, kr, us1, us2). Resolved from the SUMOLOGIC_ENVIRONMENT environment variable when it is set (x-stackQL-envVar, the same variable the Terraform provider reads); otherwise defaults to us2. A WHERE region = '...' value always takes precedence. (enum: [au, ca, ch, de, eu, fed, in, jp, kr, us1, us2], default: us2, x-stackQL-envVar: SUMOLOGIC_ENVIRONMENT)

SELECT examples

Get the root folder in the mutingSchedules library.

SELECT
id,
name,
parent_id,
children,
content_type,
created_at,
created_by,
description,
is_mutable,
is_system,
modified_at,
modified_by,
permissions,
type,
version
FROM sumologic.muting_schedules.root
WHERE region = '{{ region }}' -- required unless SUMOLOGIC_ENVIRONMENT is set
;