Container for the parameters to the DescribeAlarmsForMetric operation.

Retrieves all alarms for a single metric. Specify a statistic, period, or unit to filter the set of alarms further.

Namespace: Amazon.CloudWatch.Model
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class DescribeAlarmsForMetricRequest : AmazonWebServiceRequest
Public Class DescribeAlarmsForMetricRequest _
	Inherits AmazonWebServiceRequest
public ref class DescribeAlarmsForMetricRequest : public AmazonWebServiceRequest

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
DescribeAlarmsForMetricRequest()()()()
Initializes a new instance of the DescribeAlarmsForMetricRequest class
Dimensions
The list of dimensions associated with the metric.

Constraints:

Length
0 - 10

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
MetricName
The name of the metric.

Constraints:

Length
1 - 255

Namespace
The namespace of the metric.

Constraints:

Length
1 - 255
Pattern
[^:].*

Period
The period in seconds over which the statistic is applied.

Constraints:

Range
60 -

Statistic
The statistic for the metric.

Constraints:

Allowed Values
SampleCount, Average, Sum, Minimum, Maximum

ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Unit
The unit for the metric.

Constraints:

Allowed Values
Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, None

WithDimensions(array<Dimension>[]()[][])
Adds elements to the Dimensions collection
WithDimensions(IEnumerable<(Of <<'(Dimension>)>>))
Adds elements to the Dimensions collection
WithMetricName(String)
Sets the MetricName property
WithNamespace(String)
Sets the Namespace property
WithPeriod(Int32)
Sets the Period property
WithStatistic(String)
Sets the Statistic property
WithUnit(String)
Sets the Unit property

Inheritance Hierarchy

System..::..Object
  Amazon.Runtime..::..AmazonWebServiceRequest
    Amazon.CloudWatch.Model..::..DescribeAlarmsForMetricRequest

See Also