public sealed class AwsAutoscalingGroupMetricsCollection : IMessage<AwsAutoscalingGroupMetricsCollection>, IEquatable<AwsAutoscalingGroupMetricsCollection>, IDeepCloneable<AwsAutoscalingGroupMetricsCollection>, IBufferMessage, IMessage
Reference documentation and code samples for the Anthos Multi-Cloud v1 API class AwsAutoscalingGroupMetricsCollection.
Configuration related to CloudWatch metrics collection in an AWS Auto Scaling group.
Implements
IMessageAwsAutoscalingGroupMetricsCollection, IEquatableAwsAutoscalingGroupMetricsCollection, IDeepCloneableAwsAutoscalingGroupMetricsCollection, IBufferMessage, IMessageNamespace
GoogleCloudGoogle.Cloud.GkeMultiCloudV1Assembly
Google.Cloud.GkeMultiCloud.V1.dll
Constructors
AwsAutoscalingGroupMetricsCollection()
public AwsAutoscalingGroupMetricsCollection()
AwsAutoscalingGroupMetricsCollection(AwsAutoscalingGroupMetricsCollection)
public AwsAutoscalingGroupMetricsCollection(AwsAutoscalingGroupMetricsCollection other)
Parameter | |
---|---|
Name | Description |
other | AwsAutoscalingGroupMetricsCollection |
Properties
Granularity
public string Granularity { get; set; }
Required. The frequency at which EC2 Auto Scaling sends aggregated data to AWS CloudWatch. The only valid value is "1Minute".
Property Value | |
---|---|
Type | Description |
string |
Metrics
public RepeatedField<string> Metrics { get; }
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.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |