public static final class DescribeAlarmsResponseBody.Expressions.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
DescribeAlarmsResponseBody.Expressions |
build() |
DescribeAlarmsResponseBody.Expressions.Builder |
comparisonOperator(String comparisonOperator)
The operator that is used to compare the metric value and the threshold.
|
DescribeAlarmsResponseBody.Expressions.Builder |
metricName(String metricName)
The name of the metric that is specified in the multi-metric alert rule.
|
DescribeAlarmsResponseBody.Expressions.Builder |
period(Integer period)
The statistical period of the metric data in the multi-metric alert rule.
|
DescribeAlarmsResponseBody.Expressions.Builder |
statistics(String statistics)
The method that is used to aggregate statistics about the metrics in the multi-metric alert rule.
|
DescribeAlarmsResponseBody.Expressions.Builder |
threshold(Float threshold)
The threshold of the metric value.
|
public DescribeAlarmsResponseBody.Expressions.Builder comparisonOperator(String comparisonOperator)
* Valid value if the metric value is greater than or equal to the threshold: >=. * Valid value if the metric value is less than or equal to the threshold: <=. * Valid value if the metric value is greater than the threshold: >. * Valid value if the metric value is less than the threshold: <.
public DescribeAlarmsResponseBody.Expressions.Builder metricName(String metricName)
* CpuUtilization: the CPU utilization of an ECS instance. Unit: %. * ConcurrentConnections: the number of current connections to an ECS instance. * IntranetTx: the outbound traffic over an internal network. Unit: KB/min. * IntranetRx: the inbound traffic over an internal network. Unit: KB/min. * VpcInternetTx: the outbound traffic over a VPC. Unit: KB/min. * VpcInternetRx: the inbound traffic over a VPC. Unit: KB/min. * SystemDiskReadBps: the number of bytes read from the system disk per second. * SystemDiskWriteBps: the number of bytes written to the system disk per second. * SystemDiskReadOps: the read IOPS of the system disk. Unit: counts/s. * SystemDiskWriteOps: the write IOPS of the system disk. Unit: counts/s. * CpuUtilizationAgent: the CPU utilization. Unit: %. * GpuUtilizationAgent: the GPU utilization. Unit: %. * GpuMemoryFreeUtilizationAgent: the idle GPU memory usage. Unit: %. * GpuMemoryUtilizationAgent: the GPU memory usage. Unit: %. * MemoryUtilization: the memory usage. Unit: %. * LoadAverage: the average system load. * TcpConnection: the total number of TCP connections. * TcpConnection: the number of established TCP connections. * PackagesNetOut: the number of packets sent by the internal NIC. Unit: counts/s. * PackagesNetIn: the number of packets received by the internal NIC. Unit: counts/s. * PackagesNetOut: the number of packets sent by the public NIC. Unit: counts/s. * PackagesNetIn: the number of packets received by the public NIC. Unit: counts/s. * EciPodCpuUtilization: the CPU utilization. Unit: %. * EciPodMemoryUtilization: the memory usage. Unit: %. * LoadBalancerRealServerAverageQps: the QPS of an instance. For more information, see [Event-triggered tasks of the system monitoring type](~~74854~~).
public DescribeAlarmsResponseBody.Expressions.Builder period(Integer period)
* 15 * 60 * 120 * 300 * 900 > If your scaling group is of the ECS type and the event-triggered task that is associated with your scaling group monitors CloudMonitor metrics, you can set Period to 15. In most cases, the name of a CloudMonitor metric contains Agent.
public DescribeAlarmsResponseBody.Expressions.Builder statistics(String statistics)
* Average: the average value * Minimum: the minimum value * Maximum: the maximum value
public DescribeAlarmsResponseBody.Expressions.Builder threshold(Float threshold)
public DescribeAlarmsResponseBody.Expressions build()
Copyright © 2024. All rights reserved.