import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Data source for retrieving a Harness AutoStopping rule for K8s services. * * ## Example Usage */ export declare function getRuleK8s(args: GetRuleK8sArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRuleK8s. */ export interface GetRuleK8sArgs { /** * Id of the cloud connector */ cloudConnectorId: string; /** * Dependent rules */ depends?: inputs.autostopping.GetRuleK8sDepend[]; /** * Boolean that indicates whether the AutoStopping rule should be created in DryRun mode */ dryRun?: boolean; /** * Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances. */ idleTimeMins?: number; /** * Id of the K8s connector */ k8sConnectorId: string; /** * Namespace of the cluster */ k8sNamespace: string; /** * Name of the rule */ name: string; /** * YAML definition of the K8s AutoStopping rule (workload selector, ingress, etc.). */ ruleYaml: string; } /** * A collection of values returned by getRuleK8s. */ export interface GetRuleK8sResult { /** * Id of the cloud connector */ readonly cloudConnectorId: string; /** * Dependent rules */ readonly depends?: outputs.autostopping.GetRuleK8sDepend[]; /** * Boolean that indicates whether the AutoStopping rule should be created in DryRun mode */ readonly dryRun?: boolean; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Unique identifier of the resource */ readonly identifier: string; /** * Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances. */ readonly idleTimeMins?: number; /** * Id of the K8s connector */ readonly k8sConnectorId: string; /** * Namespace of the cluster */ readonly k8sNamespace: string; /** * Name of the rule */ readonly name: string; /** * YAML definition of the K8s AutoStopping rule (workload selector, ingress, etc.). */ readonly ruleYaml: string; } /** * Data source for retrieving a Harness AutoStopping rule for K8s services. * * ## Example Usage */ export declare function getRuleK8sOutput(args: GetRuleK8sOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getRuleK8s. */ export interface GetRuleK8sOutputArgs { /** * Id of the cloud connector */ cloudConnectorId: pulumi.Input; /** * Dependent rules */ depends?: pulumi.Input[] | undefined>; /** * Boolean that indicates whether the AutoStopping rule should be created in DryRun mode */ dryRun?: pulumi.Input; /** * Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances. */ idleTimeMins?: pulumi.Input; /** * Id of the K8s connector */ k8sConnectorId: pulumi.Input; /** * Namespace of the cluster */ k8sNamespace: pulumi.Input; /** * Name of the rule */ name: pulumi.Input; /** * YAML definition of the K8s AutoStopping rule (workload selector, ingress, etc.). */ ruleYaml: pulumi.Input; } //# sourceMappingURL=getRuleK8s.d.ts.map