UNPKG

@pulumi/harness

Version:

A Pulumi package for creating and managing Harness resources.

134 lines (133 loc) 3.83 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Data source for retrieving a Harness Variable. */ export declare function getRuleVm(args: GetRuleVmArgs, opts?: pulumi.InvokeOptions): Promise<GetRuleVmResult>; /** * 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; /** * 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: number; /** * 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 Variable. */ export declare function getRuleVmOutput(args: GetRuleVmOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRuleVmResult>; /** * A collection of arguments for invoking getRuleVm. */ export interface GetRuleVmOutputArgs { /** * Id of the cloud connector */ cloudConnectorId: pulumi.Input<string>; /** * Custom URLs used to access the instances */ customDomains?: pulumi.Input<pulumi.Input<string>[]>; /** * Dependent rules */ depends?: pulumi.Input<pulumi.Input<inputs.autostopping.GetRuleVmDependArgs>[]>; filter: pulumi.Input<inputs.autostopping.GetRuleVmFilterArgs>; /** * Http routing configuration */ https?: pulumi.Input<pulumi.Input<inputs.autostopping.GetRuleVmHttpArgs>[]>; /** * Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances. */ idleTimeMins?: pulumi.Input<number>; /** * Name of the rule */ name: pulumi.Input<string>; /** * TCP routing configuration */ tcps?: pulumi.Input<pulumi.Input<inputs.autostopping.GetRuleVmTcpArgs>[]>; /** * Boolean that indicates whether the selected instances should be converted to spot vm */ useSpot?: pulumi.Input<boolean>; }