Package org.cdk8s.plus24.k8s
Interface ExternalMetricSourceV2Beta1
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ExternalMetricSourceV2Beta1.Jsii$Proxy
@Generated(value="jsii-pacmak/1.68.0 (build b45f2f6)", date="2022-09-25T03:33:25.468Z") @Stability(Stable) public interface ExternalMetricSourceV2Beta1 extends software.amazon.jsii.JsiiSerializable
ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).Exactly one "target" type should be set.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classExternalMetricSourceV2Beta1.BuilderA builder forExternalMetricSourceV2Beta1static classExternalMetricSourceV2Beta1.Jsii$ProxyAn implementation forExternalMetricSourceV2Beta1
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static ExternalMetricSourceV2Beta1.Builderbuilder()StringgetMetricName()metricName is the name of the metric in question.default LabelSelectorgetMetricSelector()metricSelector is used to identify a specific time series within a given metric.default QuantitygetTargetAverageValue()targetAverageValue is the target per-pod value of global metric (as a quantity).default QuantitygetTargetValue()targetValue is the target value of the metric (as a quantity).
-
-
-
Method Detail
-
getMetricName
@Stability(Stable) @NotNull String getMetricName()
metricName is the name of the metric in question.
-
getMetricSelector
@Stability(Stable) @Nullable default LabelSelector getMetricSelector()
metricSelector is used to identify a specific time series within a given metric.
-
getTargetAverageValue
@Stability(Stable) @Nullable default Quantity getTargetAverageValue()
targetAverageValue is the target per-pod value of global metric (as a quantity).Mutually exclusive with TargetValue.
-
getTargetValue
@Stability(Stable) @Nullable default Quantity getTargetValue()
targetValue is the target value of the metric (as a quantity).Mutually exclusive with TargetAverageValue.
-
builder
@Stability(Stable) static ExternalMetricSourceV2Beta1.Builder builder()
-
-