Class: DatadogAPIClient::V2::ExecutionPolicyWriteAttributes
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::ExecutionPolicyWriteAttributes
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/execution_policy_write_attributes.rb
Overview
Attributes used to create or update an execution policy.
Instance Attribute Summary collapse
-
#action_pattern ⇒ Object
readonly
The set of actions this policy applies to.
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#effect ⇒ Object
readonly
Whether the policy allows or denies matching actions.
-
#name ⇒ Object
readonly
The name of the execution policy.
-
#scope ⇒ Object
Restricts where the policy applies.
-
#targets ⇒ Object
The targets this policy applies to.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#action_pattern ⇒ Object
The set of actions this policy applies to.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/execution_policy_write_attributes.rb', line 25 def action_pattern @action_pattern end |
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
41 42 43 |
# File 'lib/datadog_api_client/v2/models/execution_policy_write_attributes.rb', line 41 def additional_properties @additional_properties end |
#effect ⇒ Object
Whether the policy allows or denies matching actions.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/execution_policy_write_attributes.rb', line 28 def effect @effect end |
#name ⇒ Object
The name of the execution policy.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/execution_policy_write_attributes.rb', line 31 def name @name end |
#scope ⇒ Object
Restricts where the policy applies. At most one scope type can be set, and it must match the action pattern's integration. An empty object means the policy has no scope restriction.
36 37 38 |
# File 'lib/datadog_api_client/v2/models/execution_policy_write_attributes.rb', line 36 def scope @scope end |
#targets ⇒ Object
The targets this policy applies to.
39 40 41 |
# File 'lib/datadog_api_client/v2/models/execution_policy_write_attributes.rb', line 39 def targets @targets end |