Class: DatadogAPIClient::V1::MonitorAsset
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::MonitorAsset
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v1/models/monitor_asset.rb
Overview
Represents key links tied to a monitor to help users take action on alerts. This feature is in Preview and only available to users with the feature enabled.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#category ⇒ Object
readonly
Indicates the type of asset this entity represents on a monitor.
-
#name ⇒ Object
readonly
Name for the monitor asset.
-
#resource_key ⇒ Object
Represents the identifier of the internal Datadog resource that this asset represents.
-
#resource_type ⇒ Object
Type of internal Datadog resource associated with a monitor asset.
-
#url ⇒ Object
readonly
URL link for the asset.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
40 41 42 |
# File 'lib/datadog_api_client/v1/models/monitor_asset.rb', line 40 def additional_properties @additional_properties end |
#category ⇒ Object
Indicates the type of asset this entity represents on a monitor.
26 27 28 |
# File 'lib/datadog_api_client/v1/models/monitor_asset.rb', line 26 def category @category end |
#name ⇒ Object
Name for the monitor asset
29 30 31 |
# File 'lib/datadog_api_client/v1/models/monitor_asset.rb', line 29 def name @name end |
#resource_key ⇒ Object
Represents the identifier of the internal Datadog resource that this asset represents. IDs in this field should be passed in as strings.
32 33 34 |
# File 'lib/datadog_api_client/v1/models/monitor_asset.rb', line 32 def resource_key @resource_key end |
#resource_type ⇒ Object
Type of internal Datadog resource associated with a monitor asset.
35 36 37 |
# File 'lib/datadog_api_client/v1/models/monitor_asset.rb', line 35 def resource_type @resource_type end |
#url ⇒ Object
URL link for the asset. For links with an internal resource type set, this should be the relative path to where the Datadog domain is appended internally. For external links, this should be the full URL path.
38 39 40 |
# File 'lib/datadog_api_client/v1/models/monitor_asset.rb', line 38 def url @url end |