@lbrlabs/pulumi-harness
Version:
A Pulumi package for creating and managing Harness resources.
59 lines (58 loc) • 1.74 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
export declare function getApiKey(args: GetApiKeyArgs, opts?: pulumi.InvokeOptions): Promise<GetApiKeyResult>;
/**
* A collection of arguments for invoking getApiKey.
*/
export interface GetApiKeyArgs {
accountId: string;
apikeyType: string;
defaultTimeToExpireToken?: number;
description?: string;
identifier: string;
name: string;
orgId?: string;
parentId: string;
projectId?: string;
tags?: {
[key: string]: string;
};
}
/**
* A collection of values returned by getApiKey.
*/
export interface GetApiKeyResult {
readonly accountId: string;
readonly apikeyType: string;
readonly defaultTimeToExpireToken?: number;
readonly description?: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly identifier: string;
readonly name: string;
readonly orgId?: string;
readonly parentId: string;
readonly projectId?: string;
readonly tags?: {
[key: string]: string;
};
}
export declare function getApiKeyOutput(args: GetApiKeyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetApiKeyResult>;
/**
* A collection of arguments for invoking getApiKey.
*/
export interface GetApiKeyOutputArgs {
accountId: pulumi.Input<string>;
apikeyType: pulumi.Input<string>;
defaultTimeToExpireToken?: pulumi.Input<number>;
description?: pulumi.Input<string>;
identifier: pulumi.Input<string>;
name: pulumi.Input<string>;
orgId?: pulumi.Input<string>;
parentId: pulumi.Input<string>;
projectId?: pulumi.Input<string>;
tags?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
}