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 VMs. * * ## Example Usage */ export declare function getRuleVm(args: GetRuleVmArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRuleVm. */ export interface GetRuleVmArgs { /** * Id of the cloud connector */ cloudConnectorId: string; /** * Custom URLs used to access the instances */ customDomains?: string[]; /** * Dependent rules */ depends?: inputs.autostopping.GetRuleVmDepend[]; filter: inputs.autostopping.GetRuleVmFilter; /** * Http routing configuration */ https?: inputs.autostopping.GetRuleVmHttp[]; /** * 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; /** * TCP routing configuration */ tcps?: inputs.autostopping.GetRuleVmTcp[]; /** * Boolean that indicates whether the selected instances should be converted to spot vm */ useSpot?: boolean; } /** * A collection of values returned by getRuleVm. */ export interface GetRuleVmResult { /** * Id of the cloud connector */ readonly cloudConnectorId: string; /** * Connection information (source ports on the proxy). Keys: "ssh" and "rdp" for SSH/RDP; other keys are target port as string (e.g. "80") for forward_rule, value is the proxy source port. */ readonly connect: { [key: string]: number; }; /** * Custom URLs used to access the instances */ readonly customDomains?: string[]; /** * Dependent rules */ readonly depends?: outputs.autostopping.GetRuleVmDepend[]; readonly filter: outputs.autostopping.GetRuleVmFilter; /** * Http routing configuration */ readonly https?: outputs.autostopping.GetRuleVmHttp[]; /** * 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; /** * TCP routing configuration */ readonly tcps?: outputs.autostopping.GetRuleVmTcp[]; /** * Boolean that indicates whether the selected instances should be converted to spot vm */ readonly useSpot?: boolean; } /** * Data source for retrieving a Harness AutoStopping rule for VMs. * * ## Example Usage */ export declare function getRuleVmOutput(args: GetRuleVmOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getRuleVm. */ export interface GetRuleVmOutputArgs { /** * Id of the cloud connector */ cloudConnectorId: pulumi.Input; /** * Custom URLs used to access the instances */ customDomains?: pulumi.Input[] | undefined>; /** * Dependent rules */ depends?: pulumi.Input[] | undefined>; filter: pulumi.Input; /** * 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; /** * TCP routing configuration */ tcps?: pulumi.Input[] | undefined>; /** * Boolean that indicates whether the selected instances should be converted to spot vm */ useSpot?: pulumi.Input; } //# sourceMappingURL=getRuleVm.d.ts.map