app_builder_apps
Creates, updates, deletes, gets or lists an app_builder_apps resource.
Overview
| Name | app_builder_apps |
| Type | Resource |
| Id | datadog.infrastructure.app_builder_apps |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
revert_app | exec | app_id, version | Revert an app to a previous version. The version to revert to is selected through the version query parameter. The reverted version becomes the new latest version of the app. |
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 |
|---|---|---|
app_id | string (uuid) | The ID of the app. (example: 65bb1f25-52e1-4510-9f8d-22d1516ed693) |
site | string | The Datadog site (region) for your organization, for example datadoghq.com, us3.datadoghq.com, us5.datadoghq.com, ap1.datadoghq.com, ap2.datadoghq.com, datadoghq.eu, ddog-gov.com. Resolved from the DD_SITE environment variable when set. Optional: defaults to datadoghq.com, or the value of the DD_SITE environment variable when set; a WHERE value overrides both. |
version | string | The version number of the app to revert to. Cannot be latest. The special value deployed can be used to revert to the currently published version. (example: 2) |
Lifecycle Methods
EXEC variables use wire (API) names.
- revert_app
Revert an app to a previous version. The version to revert to is selected through the version query parameter. The reverted version becomes the new latest version of the app.
EXEC datadog.infrastructure.app_builder_apps.revert_app
@app_id='{{ app_id }}' --required,
@version='{{ version }}' --required
;