AWS SDK for .NET Documentation
DescribeAlarmsForMetricRequest Class
AmazonAmazon.CloudWatch.ModelDescribeAlarmsForMetricRequest Did this page help you?   Yes   No    Tell us about it...
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.

Declaration Syntax
C#
public class DescribeAlarmsForMetricRequest : AmazonWebServiceRequest
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
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>[]()[][]) Obsolete.
Adds elements to the Dimensions collection

WithDimensions(IEnumerable<(Of <<'(Dimension>)>>)) Obsolete.
Adds elements to the Dimensions collection

WithMetricName(String) Obsolete.
Sets the MetricName property

WithNamespace(String) Obsolete.
Sets the Namespace property

WithPeriod(Int32) Obsolete.
Sets the Period property

WithStatistic(String) Obsolete.
Sets the Statistic property

WithUnit(String) Obsolete.
Sets the Unit property

Inheritance Hierarchy
Object
AmazonWebServiceRequest
 DescribeAlarmsForMetricRequest
See Also

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)