struct Lightsail::PutAlarmRequest
- Lightsail::PutAlarmRequest
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
clients/lightsail.crConstructors
- .new(alarmName : String, metricName : String, monitoredResourceName : String, comparisonOperator : String, threshold : Float64, evaluationPeriods : Int16, datapointsToAlarm : Int16 | Nil = nil, treatMissingData : String | Nil = nil, contactProtocols : Array(String) | Nil = nil, notificationTriggers : Array(String) | Nil = nil, notificationEnabled : Bool | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #alarmName : String
- #alarmName=(alarmName : String)
- #comparisonOperator : String
- #comparisonOperator=(comparisonOperator : String)
- #contactProtocols : Array(String) | Nil
- #contactProtocols=(contactProtocols : Array(String) | Nil)
- #datapointsToAlarm : Int16 | Nil
- #datapointsToAlarm=(datapointsToAlarm : Int16 | Nil)
- #evaluationPeriods : Int16
- #evaluationPeriods=(evaluationPeriods : Int16)
- #fill_in(request : HTTP::Request) : HTTP::Request
- #metricName : String
- #metricName=(metricName : String)
- #monitoredResourceName : String
- #monitoredResourceName=(monitoredResourceName : String)
- #notificationEnabled : Bool | Nil
- #notificationEnabled=(notificationEnabled : Bool | Nil)
- #notificationTriggers : Array(String) | Nil
- #notificationTriggers=(notificationTriggers : Array(String) | Nil)
- #threshold : Float64
- #threshold=(threshold : Float64)
- #treatMissingData : String | Nil
- #treatMissingData=(treatMissingData : String | Nil)
Constructor Detail
def self.new(alarmName : String, metricName : String, monitoredResourceName : String, comparisonOperator : String, threshold : Float64, evaluationPeriods : Int16, datapointsToAlarm : Int16 | Nil = nil, treatMissingData : String | Nil = nil, contactProtocols : Array(String) | Nil = nil, notificationTriggers : Array(String) | Nil = nil, notificationEnabled : Bool | Nil = nil)
#