restriction_policies
Overview
Name | restriction_policies |
Type | Resource |
Id | datadog.restriction_policies.restriction_policies |
Fields
Name | Datatype | Description |
---|---|---|
id | string | The identifier, always equivalent to the value specified in the resource_id path parameter. |
attributes | object | Restriction policy attributes. |
type | string | Restriction policy type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get_restriction_policy | SELECT | resource_id, dd_site | Retrieves the restriction policy associated with a specified resource. |
delete_restriction_policy | DELETE | resource_id, dd_site | Deletes the restriction policy associated with a specified resource. |
_get_restriction_policy | EXEC | resource_id, dd_site | Retrieves the restriction policy associated with a specified resource. |
update_restriction_policy | EXEC | resource_id, data__data, dd_site | Updates 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 |