Container for the parameters to the DescribeAlarmsForMetric operation.
Namespace: Amazon.CloudWatch.ModelRetrieves all alarms for a single metric. Specify a statistic, period, or unit to filter the set of alarms further.
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 |
| Member | Description | |
|---|---|---|
| DescribeAlarmsForMetricRequest()()()() | Initializes a new instance of the DescribeAlarmsForMetricRequest class | |
| Dimensions |
The list of dimensions associated with the metric.
Constraints: | |
| Equals(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: | |
| Namespace |
The namespace of the metric.
Constraints: | |
| Period |
The period in seconds over which the statistic is applied.
Constraints: | |
| Statistic |
The statistic for the metric.
Constraints: | |
| ToString()()()() | (Inherited from Object.) | |
| Unit |
The unit for the metric.
Constraints: | |
| 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
Amazon.Runtime..::..AmazonWebServiceRequest
Amazon.CloudWatch.Model..::..DescribeAlarmsForMetricRequest