Class: DatadogAPIClient::V1::CancelDowntimesByScopeRequest

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

Overview

Cancel downtimes according to scope.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



29
30
31
# File 'lib/datadog_api_client/v1/models/cancel_downtimes_by_scope_request.rb', line 29

def additional_properties
  @additional_properties
end

#scopeObject

The scope(s) to which the downtime applies and must be in ‘key:value` format. For example, `host:app2`. Provide multiple scopes as a comma-separated list like `env:dev,env:prod`. The resulting downtime applies to sources that matches ALL provided scopes (`env:dev` AND `env:prod`).



27
28
29
# File 'lib/datadog_api_client/v1/models/cancel_downtimes_by_scope_request.rb', line 27

def scope
  @scope
end