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.

Namespace: Amazon.AutoScaling.Model
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class DisableMetricsCollectionRequest : AmazonWebServiceRequest
Public Class DisableMetricsCollectionRequest _
	Inherits AmazonWebServiceRequest
public ref class DisableMetricsCollectionRequest : public AmazonWebServiceRequest

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
DisableMetricsCollectionRequest()()()()
Initializes a new instance of the DisableMetricsCollectionRequest class
AutoScalingGroupName
The name or ARN of the Auto Scaling Group.

Constraints:

Length
1 - 1600
Pattern
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

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.)
Metrics
The list of metrics to disable. If no metrics are specified, all metrics are disabled. The following metrics are supported:
  • GroupMinSize
  • GroupMaxSize
  • GroupDesiredCapacity
  • GroupInServiceInstances
  • GroupPendingInstances
  • GroupTerminatingInstances
  • GroupTotalInstances
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
WithAutoScalingGroupName(String)
Sets the AutoScalingGroupName property
WithMetrics(IEnumerable<(Of <<'(String>)>>))
Adds elements to the Metrics collection
WithMetrics(array<String>[]()[][])
Adds elements to the Metrics collection

Inheritance Hierarchy

System..::..Object
  Amazon.Runtime..::..AmazonWebServiceRequest
    Amazon.AutoScaling.Model..::..DisableMetricsCollectionRequest

See Also