UNPKG

@pulumi/harness

Version:

A Pulumi package for creating and managing Harness resources.

75 lines (74 loc) 2.26 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 secret manager */ export declare function getSecretManager(args?: GetSecretManagerArgs, opts?: pulumi.InvokeOptions): Promise<GetSecretManagerResult>; /** * A collection of arguments for invoking getSecretManager. */ export interface GetSecretManagerArgs { /** * True to lookup the id of the default secret manager */ default?: boolean; /** * 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.GetSecretManagerUsageScope[]; } /** * A collection of values returned by getSecretManager. */ export interface GetSecretManagerResult { /** * True to lookup the id of the default secret manager */ readonly default?: boolean; /** * 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.GetSecretManagerUsageScope[]; } /** * Data source for retrieving a Harness secret manager */ export declare function getSecretManagerOutput(args?: GetSecretManagerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSecretManagerResult>; /** * A collection of arguments for invoking getSecretManager. */ export interface GetSecretManagerOutputArgs { /** * True to lookup the id of the default secret manager */ default?: pulumi.Input<boolean>; /** * 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.GetSecretManagerUsageScopeArgs>[]>; }