@lbrlabs/pulumi-harness
Version:
A Pulumi package for creating and managing Harness resources.
120 lines (119 loc) • 2.88 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Resource for looking up an SSH Key type secret.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as harness from "@pulumi/harness";
*
* const example = harness.platform.getSecretSshkey({
* identifier: "identifier",
* });
* ```
*/
export declare function getSecretSshkey(args: GetSecretSshkeyArgs, opts?: pulumi.InvokeOptions): Promise<GetSecretSshkeyResult>;
/**
* A collection of arguments for invoking getSecretSshkey.
*/
export interface GetSecretSshkeyArgs {
/**
* Unique identifier of the resource.
*/
identifier: string;
/**
* Name of the resource.
*/
name?: string;
/**
* Unique identifier of the organization.
*/
orgId?: string;
/**
* Unique identifier of the project.
*/
projectId?: string;
}
/**
* A collection of values returned by getSecretSshkey.
*/
export interface GetSecretSshkeyResult {
/**
* Description of the resource.
*/
readonly description: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* Unique identifier of the resource.
*/
readonly identifier: string;
/**
* Kerberos authentication scheme
*/
readonly kerberos: outputs.platform.GetSecretSshkeyKerbero[];
/**
* Name of the resource.
*/
readonly name?: string;
/**
* Unique identifier of the organization.
*/
readonly orgId?: string;
/**
* SSH port
*/
readonly port: number;
/**
* Unique identifier of the project.
*/
readonly projectId?: string;
/**
* Kerberos authentication scheme
*/
readonly sshes: outputs.platform.GetSecretSshkeySsh[];
/**
* Tags to associate with the resource.
*/
readonly tags: string[];
}
/**
* Resource for looking up an SSH Key type secret.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as harness from "@pulumi/harness";
*
* const example = harness.platform.getSecretSshkey({
* identifier: "identifier",
* });
* ```
*/
export declare function getSecretSshkeyOutput(args: GetSecretSshkeyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSecretSshkeyResult>;
/**
* A collection of arguments for invoking getSecretSshkey.
*/
export interface GetSecretSshkeyOutputArgs {
/**
* Unique identifier of the resource.
*/
identifier: pulumi.Input<string>;
/**
* Name of the resource.
*/
name?: pulumi.Input<string>;
/**
* Unique identifier of the organization.
*/
orgId?: pulumi.Input<string>;
/**
* Unique identifier of the project.
*/
projectId?: pulumi.Input<string>;
}