@lbrlabs/pulumi-harness
Version:
A Pulumi package for creating and managing Harness resources.
45 lines (44 loc) • 1.22 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Data source for retrieving information about the current Harness account
*/
export declare function getCurrentAccount(args?: GetCurrentAccountArgs, opts?: pulumi.InvokeOptions): Promise<GetCurrentAccountResult>;
/**
* A collection of arguments for invoking getCurrentAccount.
*/
export interface GetCurrentAccountArgs {
/**
* Id of the git connector.
*/
id?: string;
}
/**
* A collection of values returned by getCurrentAccount.
*/
export interface GetCurrentAccountResult {
/**
* Id of the account.
*/
readonly accountId: string;
/**
* The url of the Harness control plane.
*/
readonly endpoint: string;
/**
* Id of the git connector.
*/
readonly id?: string;
}
/**
* Data source for retrieving information about the current Harness account
*/
export declare function getCurrentAccountOutput(args?: GetCurrentAccountOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCurrentAccountResult>;
/**
* A collection of arguments for invoking getCurrentAccount.
*/
export interface GetCurrentAccountOutputArgs {
/**
* Id of the git connector.
*/
id?: pulumi.Input<string>;
}