PerformanceArgs

data class PerformanceArgs(val actual: Output<Double>? = null, val expected: Output<Double>? = null, val expectedValueRange: Output<ExpectedValueRangeArgs>? = null, val metricName: Output<String>? = null, val unit: Output<Either<String, MetricUnit>>? = null) : ConvertibleToJava<PerformanceArgs>

Details about impacted performance metrics. Applicable for performance related impact

Constructors

Link copied to clipboard
constructor(actual: Output<Double>? = null, expected: Output<Double>? = null, expectedValueRange: Output<ExpectedValueRangeArgs>? = null, metricName: Output<String>? = null, unit: Output<Either<String, MetricUnit>>? = null)

Properties

Link copied to clipboard
val actual: Output<Double>? = null

Observed value for the metric

Link copied to clipboard
val expected: Output<Double>? = null

Threshold value for the metric

Link copied to clipboard

Max and Min Threshold values for the metric

Link copied to clipboard
val metricName: Output<String>? = null

Name of the Metric examples: Disk, IOPs, CPU, GPU, Memory, details can be found from /impactCategories API

Link copied to clipboard
val unit: Output<Either<String, MetricUnit>>? = null

Unit of the metric ex: Bytes, Percentage, Count, Seconds, Milliseconds, Bytes/Second, Count/Second, etc.., Other

Functions

Link copied to clipboard
open override fun toJava(): PerformanceArgs