You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Lightsail::Types::GetInstanceMetricDataResult

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#metric_dataArray<Types::MetricDatapoint>

An array of key-value pairs containing information about the results of your get instance metric data request.

Returns:

  • (Array<Types::MetricDatapoint>)

    An array of key-value pairs containing information about the results of your get instance metric data request.

#metric_nameString

The metric name to return data for.

Possible values:

  • CPUUtilization
  • NetworkIn
  • NetworkOut
  • StatusCheckFailed
  • StatusCheckFailed_Instance
  • StatusCheckFailed_System

Returns:

  • (String)

    The metric name to return data for.