AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the GetLoadBalancerMetricData operation. Returns information about health metrics for your Lightsail load balancer.
Metrics report the utilization of your resources, and the error counts generated by them. Monitor and collect metric data regularly to maintain the reliability, availability, and performance of your resources.
Namespace: Amazon.Lightsail.Model
Assembly: AWSSDK.Lightsail.dll
Version: 3.x.y.z
public class GetLoadBalancerMetricDataRequest : AmazonLightsailRequest IAmazonWebServiceRequest
The GetLoadBalancerMetricDataRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
GetLoadBalancerMetricDataRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
EndTime | System.DateTime |
Gets and sets the property EndTime. The end time of the period. |
![]() |
LoadBalancerName | System.String |
Gets and sets the property LoadBalancerName. The name of the load balancer. |
![]() |
MetricName | Amazon.Lightsail.LoadBalancerMetricName |
Gets and sets the property MetricName. The metric for which you want to return information.
Valid load balancer metric names are listed below, along with the most useful
|
![]() |
Period | System.Int32 |
Gets and sets the property Period. The granularity, in seconds, of the returned data points. |
![]() |
StartTime | System.DateTime |
Gets and sets the property StartTime. The start time of the period. |
![]() |
Statistics | System.Collections.Generic.List<System.String> |
Gets and sets the property Statistics. The statistic for the metric. The following statistics are available:
|
![]() |
Unit | Amazon.Lightsail.MetricUnit |
Gets and sets the property Unit.
The unit for the metric data request. Valid units depend on the metric data being
requested. For the valid units with each available metric, see the |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5