folders_global_result
Creates, updates, deletes, gets or lists a folders_global_result
resource.
Overview
Name | folders_global_result |
Type | Resource |
Id | sumologic.content.folders_global_result |
Fields
The following fields are returned by SELECT
queries:
- getGlobalFolderAsyncResult
List of all content items with view permission.
Name | Datatype | Description |
---|---|---|
id | string | Identifier of the content item. (example: 000000000C1C17C6) |
name | string | The name of the content item. (example: Personal) |
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) |
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 |
---|---|---|---|---|
getGlobalFolderAsyncResult | select | jobId , region | Get result of a Global View job for the given job identifier. The result will be a list of all content items that a user has permissions to view in the organization. |
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 |
---|---|---|
jobId | string | The identifier of the asynchronous Global View job. |
region | string | SumoLogic region (enum: [us2, au, ca, de, eu, fed, in, jp], default: us2) |
SELECT
examples
- getGlobalFolderAsyncResult
Get result of a Global View job for the given job identifier. The result will be a list of all content items that a user has permissions to view in the organization.
SELECT
id,
name,
createdAt,
createdBy,
itemType,
modifiedAt,
modifiedBy,
parentId,
permissions
FROM sumologic.content.folders_global_result
WHERE jobId = '{{ jobId }}' -- required
AND region = '{{ region }}' -- required
;