Class: DatadogAPIClient::V1::MonitorUpdateRequest
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::MonitorUpdateRequest
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v1/models/monitor_update_request.rb
Overview
Object describing a monitor update request.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#created ⇒ Object
Timestamp of the monitor creation.
-
#creator ⇒ Object
Object describing the creator of the shared element.
-
#deleted ⇒ Object
Whether or not the monitor is deleted.
-
#draft_status ⇒ Object
Indicates whether the monitor is in a draft or published state.
-
#id ⇒ Object
ID of this monitor.
-
#message ⇒ Object
A message to include with notifications for this monitor.
-
#modified ⇒ Object
Last timestamp when the monitor was edited.
-
#multi ⇒ Object
Whether or not the monitor is broken down on different groups.
-
#name ⇒ Object
The monitor name.
-
#options ⇒ Object
List of options associated with your monitor.
-
#overall_state ⇒ Object
The different states your monitor can be in.
-
#priority ⇒ Object
Integer from 1 (high) to 5 (low) indicating alert severity.
-
#query ⇒ Object
The monitor query.
-
#restricted_roles ⇒ Object
A list of unique role identifiers to define which roles are allowed to edit the monitor.
-
#state ⇒ Object
Wrapper object with the different monitor states.
-
#tags ⇒ Object
Tags associated to your monitor.
-
#type ⇒ Object
The type of the monitor.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
81 82 83 |
# File 'lib/datadog_api_client/v1/models/monitor_update_request.rb', line 81 def additional_properties @additional_properties end |
#created ⇒ Object
Timestamp of the monitor creation.
25 26 27 |
# File 'lib/datadog_api_client/v1/models/monitor_update_request.rb', line 25 def created @created end |
#creator ⇒ Object
Object describing the creator of the shared element.
28 29 30 |
# File 'lib/datadog_api_client/v1/models/monitor_update_request.rb', line 28 def creator @creator end |
#deleted ⇒ Object
Whether or not the monitor is deleted. (Always ‘null`)
31 32 33 |
# File 'lib/datadog_api_client/v1/models/monitor_update_request.rb', line 31 def deleted @deleted end |
#draft_status ⇒ Object
Indicates whether the monitor is in a draft or published state.
‘draft`: The monitor appears as Draft and does not send notifications. `published`: The monitor is active and evaluates conditions and notify as configured.
This field is in preview. The draft value is only available to customers with the feature enabled.
40 41 42 |
# File 'lib/datadog_api_client/v1/models/monitor_update_request.rb', line 40 def draft_status @draft_status end |
#id ⇒ Object
ID of this monitor.
43 44 45 |
# File 'lib/datadog_api_client/v1/models/monitor_update_request.rb', line 43 def id @id end |
#message ⇒ Object
A message to include with notifications for this monitor.
46 47 48 |
# File 'lib/datadog_api_client/v1/models/monitor_update_request.rb', line 46 def @message end |
#modified ⇒ Object
Last timestamp when the monitor was edited.
49 50 51 |
# File 'lib/datadog_api_client/v1/models/monitor_update_request.rb', line 49 def modified @modified end |
#multi ⇒ Object
Whether or not the monitor is broken down on different groups.
52 53 54 |
# File 'lib/datadog_api_client/v1/models/monitor_update_request.rb', line 52 def multi @multi end |
#name ⇒ Object
The monitor name.
55 56 57 |
# File 'lib/datadog_api_client/v1/models/monitor_update_request.rb', line 55 def name @name end |
#options ⇒ Object
List of options associated with your monitor.
58 59 60 |
# File 'lib/datadog_api_client/v1/models/monitor_update_request.rb', line 58 def @options end |
#overall_state ⇒ Object
The different states your monitor can be in.
61 62 63 |
# File 'lib/datadog_api_client/v1/models/monitor_update_request.rb', line 61 def overall_state @overall_state end |
#priority ⇒ Object
Integer from 1 (high) to 5 (low) indicating alert severity.
64 65 66 |
# File 'lib/datadog_api_client/v1/models/monitor_update_request.rb', line 64 def priority @priority end |
#query ⇒ Object
The monitor query.
67 68 69 |
# File 'lib/datadog_api_client/v1/models/monitor_update_request.rb', line 67 def query @query end |
#restricted_roles ⇒ Object
A list of unique role identifiers to define which roles are allowed to edit the monitor. The unique identifiers for all roles can be pulled from the [Roles API](docs.datadoghq.com/api/latest/roles/#list-roles) and are located in the ‘data.id` field. Editing a monitor includes any updates to the monitor configuration, monitor deletion, and muting of the monitor for any amount of time. You can use the [Restriction Policies API](docs.datadoghq.com/api/latest/restriction-policies/) to manage write authorization for individual monitors by teams and users, in addition to roles.
70 71 72 |
# File 'lib/datadog_api_client/v1/models/monitor_update_request.rb', line 70 def restricted_roles @restricted_roles end |
#state ⇒ Object
Wrapper object with the different monitor states.
73 74 75 |
# File 'lib/datadog_api_client/v1/models/monitor_update_request.rb', line 73 def state @state end |
#tags ⇒ Object
Tags associated to your monitor.
76 77 78 |
# File 'lib/datadog_api_client/v1/models/monitor_update_request.rb', line 76 def @tags end |
#type ⇒ Object
The type of the monitor. For more information about ‘type`, see the [monitor options](docs.datadoghq.com/monitors/guide/monitor_api_options/) docs.
79 80 81 |
# File 'lib/datadog_api_client/v1/models/monitor_update_request.rb', line 79 def type @type end |