Skip to main content

app_builder_app_protection_levels

Creates, updates, deletes, gets or lists an app_builder_app_protection_levels resource.

Overview

Nameapp_builder_app_protection_levels
TypeResource
Iddatadog.infrastructure.app_builder_app_protection_levels

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:

NameAccessible byRequired ParamsOptional ParamsDescription
update_protection_levelupdateapp_idUpdate the publication protection level of an app. When set to approval_required, future publishes must go through an approval workflow before going live.

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.

NameDatatypeDescription
app_idstring (uuid)The ID of the app. (example: 65bb1f25-52e1-4510-9f8d-22d1516ed693)
sitestringThe 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.

UPDATE examples

Update the publication protection level of an app. When set to approval_required, future publishes must go through an approval workflow before going live.

UPDATE datadog.infrastructure.app_builder_app_protection_levels
SET
data = '{{ data }}'
WHERE
app_id = '{{ app_id }}' --required
RETURNING
data,
included,
meta,
relationship;