UNPKG

@pulumi/harness

Version:

A Pulumi package for creating and managing Harness resources.

133 lines (132 loc) 3.02 kB
import * as pulumi from "@pulumi/pulumi"; /** * Data source for retrieving a Harness ApiKey. */ export declare function getApiKey(args: GetApiKeyArgs, opts?: pulumi.InvokeOptions): Promise<GetApiKeyResult>; /** * A collection of arguments for invoking getApiKey. */ export interface GetApiKeyArgs { /** * Account Identifier for the Entity */ accountId: string; /** * Type of the API Key */ apikeyType: string; /** * Expiry time of the apiKey */ defaultTimeToExpireToken?: number; /** * Unique identifier of the resource. */ identifier: string; /** * Name of the resource. */ name?: string; /** * Unique identifier of the organization. */ orgId?: string; /** * Parent Identifier for the Entity */ parentId: string; /** * Unique identifier of the project. */ projectId?: string; } /** * A collection of values returned by getApiKey. */ export interface GetApiKeyResult { /** * Account Identifier for the Entity */ readonly accountId: string; /** * Type of the API Key */ readonly apikeyType: string; /** * Expiry time of the apiKey */ readonly defaultTimeToExpireToken?: number; /** * 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; /** * Name of the resource. */ readonly name?: string; /** * Unique identifier of the organization. */ readonly orgId?: string; /** * Parent Identifier for the Entity */ readonly parentId: string; /** * Unique identifier of the project. */ readonly projectId?: string; /** * Tags to associate with the resource. */ readonly tags: string[]; } /** * Data source for retrieving a Harness ApiKey. */ export declare function getApiKeyOutput(args: GetApiKeyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetApiKeyResult>; /** * A collection of arguments for invoking getApiKey. */ export interface GetApiKeyOutputArgs { /** * Account Identifier for the Entity */ accountId: pulumi.Input<string>; /** * Type of the API Key */ apikeyType: pulumi.Input<string>; /** * Expiry time of the apiKey */ defaultTimeToExpireToken?: pulumi.Input<number>; /** * 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>; /** * Parent Identifier for the Entity */ parentId: pulumi.Input<string>; /** * Unique identifier of the project. */ projectId?: pulumi.Input<string>; }