AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Represents a specific metric.
Namespace: Amazon.AutoScaling.Model
Assembly: AWSSDK.AutoScaling.dll
Version: 3.x.y.z
public class Metric
The Metric type exposes the following members
Name | Description | |
---|---|---|
Metric() |
Name | Type | Description | |
---|---|---|---|
Dimensions | System.Collections.Generic.List<Amazon.AutoScaling.Model.MetricDimension> |
Gets and sets the property Dimensions. The dimensions for the metric. For the list of available dimensions, see the Amazon Web Services documentation available from the table in Amazon Web Services services that publish CloudWatch metrics in the Amazon CloudWatch User Guide. Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy. |
|
MetricName | System.String |
Gets and sets the property MetricName. The name of the metric. |
|
Namespace | System.String |
Gets and sets the property Namespace. The namespace of the metric. For more information, see the table in Amazon Web Services services that publish CloudWatch metrics in the Amazon CloudWatch User Guide. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5