import { IIoK8sApimachineryPkgApisMetaV1ObjectMeta } from "@kubernetes-models/apimachinery/apis/meta/v1/ObjectMeta"; import { IDevKnativeServingPkgApisAutoscalingV1alpha1MetricSpec } from "./MetricSpec.js"; import { IDevKnativeServingPkgApisAutoscalingV1alpha1MetricStatus } from "./MetricStatus.js"; import { ModelData, TypeMeta, Model } from "@kubernetes-models/base"; /** * Metric represents a resource to configure the metric collector with. */ export interface IMetric extends TypeMeta { "apiVersion": "autoscaling.internal.knative.dev/v1alpha1"; "kind": "Metric"; "metadata"?: IIoK8sApimachineryPkgApisMetaV1ObjectMeta; /** * Spec holds the desired state of the Metric (from the client). */ "spec"?: IDevKnativeServingPkgApisAutoscalingV1alpha1MetricSpec; /** * Status communicates the observed state of the Metric (from the controller). */ "status"?: IDevKnativeServingPkgApisAutoscalingV1alpha1MetricStatus; } /** * Metric represents a resource to configure the metric collector with. */ export declare class Metric extends Model implements IMetric { "apiVersion": "autoscaling.internal.knative.dev/v1alpha1"; "kind": "Metric"; "metadata"?: IIoK8sApimachineryPkgApisMetaV1ObjectMeta; "spec"?: IDevKnativeServingPkgApisAutoscalingV1alpha1MetricSpec; "status"?: IDevKnativeServingPkgApisAutoscalingV1alpha1MetricStatus; static apiVersion: IMetric["apiVersion"]; static kind: IMetric["kind"]; static is: import("@kubernetes-models/base").TypeMetaGuard; constructor(data?: ModelData); } export type { IMetric as IDevKnativeServingPkgApisAutoscalingV1alpha1Metric, Metric as DevKnativeServingPkgApisAutoscalingV1alpha1Metric };