Anthos Multi-Cloud V1 API - Class Google::Cloud::GkeMultiCloud::V1::AwsAutoscalingGroupMetricsCollection (v0.12.0)

Reference documentation and code samples for the Anthos Multi-Cloud V1 API class Google::Cloud::GkeMultiCloud::V1::AwsAutoscalingGroupMetricsCollection.

Configuration related to CloudWatch metrics collection in an AWS Auto Scaling group.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#granularity

def granularity() -> ::String
Returns
  • (::String) — Required. The frequency at which EC2 Auto Scaling sends aggregated data to AWS CloudWatch. The only valid value is "1Minute".

#granularity=

def granularity=(value) -> ::String
Parameter
  • value (::String) — Required. The frequency at which EC2 Auto Scaling sends aggregated data to AWS CloudWatch. The only valid value is "1Minute".
Returns
  • (::String) — Required. The frequency at which EC2 Auto Scaling sends aggregated data to AWS CloudWatch. The only valid value is "1Minute".

#metrics

def metrics() -> ::Array<::String>
Returns
  • (::Array<::String>) — Optional. The metrics to enable. For a list of valid metrics, see https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html. If you specify Granularity and don't specify any metrics, all metrics are enabled.

#metrics=

def metrics=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Optional. The metrics to enable. For a list of valid metrics, see https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html. If you specify Granularity and don't specify any metrics, all metrics are enabled.
Returns
  • (::Array<::String>) — Optional. The metrics to enable. For a list of valid metrics, see https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html. If you specify Granularity and don't specify any metrics, all metrics are enabled.