UNPKG

@pulumi/harness

Version:

A Pulumi package for creating and managing Harness resources.

63 lines (62 loc) 1.93 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Data source for retrieving an SSH credential. */ export declare function getSshCredential(args?: GetSshCredentialArgs, opts?: pulumi.InvokeOptions): Promise<GetSshCredentialResult>; /** * A collection of arguments for invoking getSshCredential. */ export interface GetSshCredentialArgs { /** * Unique identifier of the secret manager */ id?: string; /** * The name of the secret manager */ name?: string; /** * This block is used for scoping the resource to a specific set of applications or environments. */ usageScopes?: inputs.GetSshCredentialUsageScope[]; } /** * A collection of values returned by getSshCredential. */ export interface GetSshCredentialResult { /** * Unique identifier of the secret manager */ readonly id?: string; /** * The name of the secret manager */ readonly name?: string; /** * This block is used for scoping the resource to a specific set of applications or environments. */ readonly usageScopes?: outputs.GetSshCredentialUsageScope[]; } /** * Data source for retrieving an SSH credential. */ export declare function getSshCredentialOutput(args?: GetSshCredentialOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSshCredentialResult>; /** * A collection of arguments for invoking getSshCredential. */ export interface GetSshCredentialOutputArgs { /** * Unique identifier of the secret manager */ id?: pulumi.Input<string>; /** * The name of the secret manager */ name?: pulumi.Input<string>; /** * This block is used for scoping the resource to a specific set of applications or environments. */ usageScopes?: pulumi.Input<pulumi.Input<inputs.GetSshCredentialUsageScopeArgs>[]>; }