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. */ export declare class RuleK8s extends pulumi.CustomResource { /** * Get an existing RuleK8s resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: RuleK8sState, opts?: pulumi.CustomResourceOptions): RuleK8s; /** * Returns true if the given object is an instance of RuleK8s. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is RuleK8s; /** * Id of the cloud connector */ readonly cloudConnectorId: pulumi.Output; /** * Dependent rules */ readonly depends: pulumi.Output; /** * Boolean that indicates whether the AutoStopping rule should be created in DryRun mode */ readonly dryRun: pulumi.Output; /** * Unique identifier of the resource */ readonly identifier: pulumi.Output; /** * Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances. */ readonly idleTimeMins: pulumi.Output; /** * Id of the K8s connector */ readonly k8sConnectorId: pulumi.Output; /** * Namespace of the cluster */ readonly k8sNamespace: pulumi.Output; /** * Name of the rule */ readonly name: pulumi.Output; /** * YAML definition of the K8s AutoStopping rule (workload selector, ingress, etc.). */ readonly ruleYaml: pulumi.Output; /** * Create a RuleK8s resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: RuleK8sArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering RuleK8s resources. */ export interface RuleK8sState { /** * 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; /** * Unique identifier of the resource */ identifier?: 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; } /** * The set of arguments for constructing a RuleK8s resource. */ export interface RuleK8sArgs { /** * 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=ruleK8s.d.ts.map