migration_results
Creates, updates, deletes, gets or lists a migration_results resource.
Overview
| Name | migration_results |
| Type | Resource |
| Id | sumologic.dashboards.migration_results |
Fields
The following fields are returned by SELECT queries:
- get
Dashboard migration job result.
| Name | Datatype | Description |
|---|---|---|
data | object | A mapping of Legacy Dashboard Content Ids to migrated Dashboard(New) Content Ids. Only successful migration are shown here, see errors field for failed migrations and the failure reason. |
errors | object | A mapping of Legacy Dashboards Content Identifiers that failed validation to the failure reason(s). |
rich_data | object | A mapping of Legacy Dashboard Content Ids to migrated Dashboard(New) info. Only successful migration are shown here, see errors field for failed migrations and the failure reason. (wire: richData) |
status | object | |
warnings | object | A mapping of Legacy Dashboards Content Identifiers to warnings. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | job_id, region | Get the result of an asynchronous Dashboard Migration request for the given job identifier. |
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 |
|---|---|---|
job_id | string | The identifier of the asynchronous Dashboard Migration job. (wire: jobId) |
region | string | Sumo 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
Get the result of an asynchronous Dashboard Migration request for the given job identifier.
SELECT
data,
errors,
rich_data,
status,
warnings
FROM sumologic.dashboards.migration_results
WHERE job_id = '{{ job_id }}' -- required
AND region = '{{ region }}' -- required unless SUMOLOGIC_ENVIRONMENT is set
;