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.
| C# |
public class DescribeAlarmsForMetricRequest : AmazonWebServiceRequest
| All Members | Constructors | Methods | Properties | ||
| Icon | 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()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
| Unit |
The unit for the metric.
Constraints: | |
| 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
|
| Object | ||
| AmazonWebServiceRequest | ||
| DescribeAlarmsForMetricRequest | ||