folders_personal
Creates, updates, deletes, gets or lists a folders_personal
resource.
Overview
Name | folders_personal |
Type | Resource |
Id | sumologic.content.folders_personal |
Fields
The following fields are returned by SELECT
queries:
- getPersonalFolder
The personal folder of the current user.
Name | Datatype | Description |
---|---|---|
id | string | Identifier of the content item. (example: 000000000C1C17C6) |
name | string | The name of the content item. (example: Personal) |
children | array | A list of the content items. |
createdAt | string (date-time) | Creation timestamp in UTC in RFC3339 format. (example: 2018-10-16T09:10:00Z) |
createdBy | string | Identifier of the user who created the resource. (example: 0000000006743FDD) |
description | string | The description of the folder. (example: This is a sample folder.) |
itemType | string | Type of the content item. Supported values are: 1. Folder 2. Search 3. Report (for old dashboards) 4. Dashboard (for new dashboards) 5. Lookups (example: Folder) |
modifiedAt | string (date-time) | Last modification timestamp in UTC. (example: 2018-10-16T09:10:00Z) |
modifiedBy | string | Identifier of the user who last modified the resource. (example: 0000000006743FE8) |
parentId | string | Identifier of the parent content item. (example: 0000000001C41EF2) |
permissions | array | List of permissions the user has on the content item. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
getPersonalFolder | select | region | Get the personal folder of the current user. |
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 |
---|---|---|
region | string | SumoLogic region (enum: [us2, au, ca, de, eu, fed, in, jp], default: us2) |
SELECT
examples
- getPersonalFolder
Get the personal folder of the current user.
SELECT
id,
name,
children,
createdAt,
createdBy,
description,
itemType,
modifiedAt,
modifiedBy,
parentId,
permissions
FROM sumologic.content.folders_personal
WHERE region = '{{ region }}' -- required
;