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 ECS services. * * ## Example Usage */ export declare function getRuleEcs(args: GetRuleEcsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRuleEcs. */ export interface GetRuleEcsArgs { /** * Id of the cloud connector */ cloudConnectorId: string; container?: inputs.autostopping.GetRuleEcsContainer; /** * Custom URLs used to access the instances */ customDomains?: string[]; /** * Dependent rules */ depends?: inputs.autostopping.GetRuleEcsDepend[]; /** * Http routing configuration */ https?: inputs.autostopping.GetRuleEcsHttp[]; /** * Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances. */ idleTimeMins?: number; /** * Name of the rule */ name: string; } /** * A collection of values returned by getRuleEcs. */ export interface GetRuleEcsResult { /** * Id of the cloud connector */ readonly cloudConnectorId: string; readonly container?: outputs.autostopping.GetRuleEcsContainer; /** * Custom URLs used to access the instances */ readonly customDomains?: string[]; /** * Dependent rules */ readonly depends?: outputs.autostopping.GetRuleEcsDepend[]; /** * Http routing configuration */ readonly https?: outputs.autostopping.GetRuleEcsHttp[]; /** * 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; /** * Name of the rule */ readonly name: string; } /** * Data source for retrieving a Harness AutoStopping rule for ECS services. * * ## Example Usage */ export declare function getRuleEcsOutput(args: GetRuleEcsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getRuleEcs. */ export interface GetRuleEcsOutputArgs { /** * Id of the cloud connector */ cloudConnectorId: pulumi.Input; container?: pulumi.Input; /** * Custom URLs used to access the instances */ customDomains?: pulumi.Input[] | undefined>; /** * Dependent rules */ depends?: pulumi.Input[] | undefined>; /** * Http routing configuration */ https?: pulumi.Input[] | undefined>; /** * Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances. */ idleTimeMins?: pulumi.Input; /** * Name of the rule */ name: pulumi.Input; } //# sourceMappingURL=getRuleEcs.d.ts.map