UNPKG

@pulumi/harness

Version:

A Pulumi package for creating and managing Harness resources.

61 lines (60 loc) 1.73 kB
import * as pulumi from "@pulumi/pulumi"; /** * Data source for retrieving a yaml config. */ export declare function getYamlConfig(args: GetYamlConfigArgs, opts?: pulumi.InvokeOptions): Promise<GetYamlConfigResult>; /** * A collection of arguments for invoking getYamlConfig. */ export interface GetYamlConfigArgs { /** * Unique identifier of the application. This is not required for account level resources (i.e. cloud providers, connectors, etc.). */ appId?: string; /** * Path to the yaml file. */ path: string; } /** * A collection of values returned by getYamlConfig. */ export interface GetYamlConfigResult { /** * Unique identifier of the application. This is not required for account level resources (i.e. cloud providers, connectors, etc.). */ readonly appId?: string; /** * Content of the yaml file. */ readonly content: string; /** * Unique identifier of the yaml resource. */ readonly id: string; /** * Name of the yaml resource. */ readonly name: string; /** * Path to the yaml file. */ readonly path: string; } /** * Data source for retrieving a yaml config. */ export declare function getYamlConfigOutput(args: GetYamlConfigOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetYamlConfigResult>; /** * A collection of arguments for invoking getYamlConfig. */ export interface GetYamlConfigOutputArgs { /** * Unique identifier of the application. This is not required for account level resources (i.e. cloud providers, connectors, etc.). */ appId?: pulumi.Input<string>; /** * Path to the yaml file. */ path: pulumi.Input<string>; }