struct Lightsail::PutAlarmRequest

Included Modules

Defined in:

clients/lightsail.cr

Constructors

Instance Method Summary

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) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def alarmName : String #

[View source]
def alarmName=(alarmName : String) #

[View source]
def comparisonOperator : String #

[View source]
def comparisonOperator=(comparisonOperator : String) #

[View source]
def contactProtocols : Array(String) | Nil #

[View source]
def contactProtocols=(contactProtocols : Array(String) | Nil) #

[View source]
def datapointsToAlarm : Int16 | Nil #

[View source]
def datapointsToAlarm=(datapointsToAlarm : Int16 | Nil) #

[View source]
def evaluationPeriods : Int16 #

[View source]
def evaluationPeriods=(evaluationPeriods : Int16) #

[View source]
def fill_in(request : HTTP::Request) : HTTP::Request #

[View source]
def metricName : String #

[View source]
def metricName=(metricName : String) #

[View source]
def monitoredResourceName : String #

[View source]
def monitoredResourceName=(monitoredResourceName : String) #

[View source]
def notificationEnabled : Bool | Nil #

[View source]
def notificationEnabled=(notificationEnabled : Bool | Nil) #

[View source]
def notificationTriggers : Array(String) | Nil #

[View source]
def notificationTriggers=(notificationTriggers : Array(String) | Nil) #

[View source]
def threshold : Float64 #

[View source]
def threshold=(threshold : Float64) #

[View source]
def treatMissingData : String | Nil #

[View source]
def treatMissingData=(treatMissingData : String | Nil) #

[View source]