Class: DatadogAPIClient::V2::ExecutionPolicyAttributes

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/execution_policy_attributes.rb

Overview

An execution policy.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

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_attributes.rb', line 25

def action_pattern
  @action_pattern
end

#additional_properties ⇒ Object

Returns the value of attribute additional_properties.



56
57
58
# File 'lib/datadog_api_client/v2/models/execution_policy_attributes.rb', line 56

def additional_properties
  @additional_properties
end

#created_at ⇒ Object

The date and time the execution policy was created.



28
29
30
# File 'lib/datadog_api_client/v2/models/execution_policy_attributes.rb', line 28

def created_at
  @created_at
end

#created_by ⇒ Object

The ID of the user who created the execution policy.



31
32
33
# File 'lib/datadog_api_client/v2/models/execution_policy_attributes.rb', line 31

def created_by
  @created_by
end

#effect ⇒ Object

Whether the policy allows or denies matching actions.



34
35
36
# File 'lib/datadog_api_client/v2/models/execution_policy_attributes.rb', line 34

def effect
  @effect
end

#name ⇒ Object

The name of the execution policy.



37
38
39
# File 'lib/datadog_api_client/v2/models/execution_policy_attributes.rb', line 37

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.



42
43
44
# File 'lib/datadog_api_client/v2/models/execution_policy_attributes.rb', line 42

def scope
  @scope
end

#targets ⇒ Object

The targets this policy applies to.



45
46
47
# File 'lib/datadog_api_client/v2/models/execution_policy_attributes.rb', line 45

def targets
  @targets
end

#updated_at ⇒ Object

The date and time the execution policy was last updated.



48
49
50
# File 'lib/datadog_api_client/v2/models/execution_policy_attributes.rb', line 48

def updated_at
  @updated_at
end

#updated_by ⇒ Object

The ID of the user who last updated the execution policy.



51
52
53
# File 'lib/datadog_api_client/v2/models/execution_policy_attributes.rb', line 51

def updated_by
  @updated_by
end

#version ⇒ Object

The version of the execution policy. Incremented on every update.



54
55
56
# File 'lib/datadog_api_client/v2/models/execution_policy_attributes.rb', line 54

def version
  @version
end