Container for the parameters to the DisableMetricsCollection operation.
Disables monitoring of group metrics for the Auto Scaling group specified in AutoScalingGroupName . You can specify the list of affected metrics with the Metrics parameter.
| C# |
public class DisableMetricsCollectionRequest : AmazonWebServiceRequest
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| DisableMetricsCollectionRequest()()()() | Initializes a new instance of the DisableMetricsCollectionRequest class | |
| AutoScalingGroupName |
The name or ARN of the Auto Scaling Group.
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.) | |
| Metrics |
The list of metrics to disable. If no metrics are specified, all metrics are disabled. The following metrics are supported:
| |
| ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
| WithAutoScalingGroupName(String) | Obsolete.
Sets the AutoScalingGroupName property
| |
| WithMetrics(array<String>[]()[][]) | Obsolete.
Adds elements to the Metrics collection
| |
| WithMetrics(IEnumerable<(Of <<'(String>)>>)) | Obsolete.
Adds elements to the Metrics collection
|
| Object | ||
| AmazonWebServiceRequest | ||
| DisableMetricsCollectionRequest | ||