Skip to main content

restriction_policies

Overview

Namerestriction_policies
TypeResource
Iddatadog.restriction_policies.restriction_policies

Fields

NameDatatypeDescription
idstringThe identifier, always equivalent to the value specified in the resource_id path parameter.
attributesobjectRestriction policy attributes.
typestringRestriction policy type.

Methods

NameAccessible byRequired ParamsDescription
get_restriction_policySELECTresource_id, dd_siteRetrieves the restriction policy associated with a specified resource.
delete_restriction_policyDELETEresource_id, dd_siteDeletes the restriction policy associated with a specified resource.
_get_restriction_policyEXECresource_id, dd_siteRetrieves the restriction policy associated with a specified resource.
update_restriction_policyEXECresource_id, data__data, dd_siteUpdates the restriction policy associated with a resource.

#### Supported resources
Restriction policies can be applied to the following resources:
- Connections: connection
- Dashboards: dashboard
- Notebooks: notebook
- Security Rules: security-rule
- Service Level Objectives: slo

#### Supported relations for resources
Resource Type | Supported Relations
-------------------------|--------------------------
Connections | viewer, editor, resolver
Dashboards | viewer, editor
Notebooks | viewer, editor
Security Rules | viewer, editor
Service Level Objectives | viewer, editor