folders_admin_recommended_result
Creates, updates, deletes, gets or lists a folders_admin_recommended_result resource.
Overview
| Name | folders_admin_recommended_result |
| Type | Resource |
| Id | sumologic.content.folders_admin_recommended_result |
Fields
The following fields are returned by SELECT queries:
- getAdminRecommendedFolderAsyncResult
Admin Recommended folder.
| 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 |
|---|---|---|---|---|
getAdminRecommendedFolderAsyncResult | select | jobId, region | Get result of an Admin Recommended job for the given job identifier. The result will be "Admin Recommended" folder with a list of top-level Admin Recommended content items in children field. |
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 Admin Recommended folder job. |
region | string | SumoLogic region (enum: [us2, au, ca, de, eu, fed, in, jp], default: us2) |
SELECT examples
- getAdminRecommendedFolderAsyncResult
Get result of an Admin Recommended job for the given job identifier. The result will be "Admin Recommended" folder with a list of top-level Admin Recommended content items in children field.
SELECT
id,
name,
children,
createdAt,
createdBy,
description,
itemType,
modifiedAt,
modifiedBy,
parentId,
permissions
FROM sumologic.content.folders_admin_recommended_result
WHERE jobId = '{{ jobId }}' -- required
AND region = '{{ region }}' -- required
;