UNPKG

@pulumi/harness

Version:

A Pulumi package for creating and managing Harness resources.

139 lines (138 loc) 3.85 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Data source for fetching a GitOps Repository Credentials. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const test = harness.platform.getGitopsRepoCred({ * identifier: "identifier", * accountId: "account_id", * projectId: "project_id", * orgId: "org_id", * agentId: "agent_id", * }); * ``` */ export declare function getGitopsRepoCred(args: GetGitopsRepoCredArgs, opts?: pulumi.InvokeOptions): Promise<GetGitopsRepoCredResult>; /** * A collection of arguments for invoking getGitopsRepoCred. */ export interface GetGitopsRepoCredArgs { /** * Account identifier of the Repository Credentials. * * @deprecated This field is deprecated and will be removed in a future release. */ accountId?: string; /** * Agent identifier of the Repository Credentials. */ agentId: string; /** * credential details. */ creds?: inputs.platform.GetGitopsRepoCredCred[]; /** * Identifier of the Repository Credentials. */ identifier: string; /** * Organization identifier of the Repository Credentials. */ orgId?: string; /** * Project identifier of the Repository Credentials. */ projectId?: string; } /** * A collection of values returned by getGitopsRepoCred. */ export interface GetGitopsRepoCredResult { /** * Account identifier of the Repository Credentials. * * @deprecated This field is deprecated and will be removed in a future release. */ readonly accountId: string; /** * Agent identifier of the Repository Credentials. */ readonly agentId: string; /** * credential details. */ readonly creds: outputs.platform.GetGitopsRepoCredCred[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Identifier of the Repository Credentials. */ readonly identifier: string; /** * Organization identifier of the Repository Credentials. */ readonly orgId?: string; /** * Project identifier of the Repository Credentials. */ readonly projectId?: string; } /** * Data source for fetching a GitOps Repository Credentials. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const test = harness.platform.getGitopsRepoCred({ * identifier: "identifier", * accountId: "account_id", * projectId: "project_id", * orgId: "org_id", * agentId: "agent_id", * }); * ``` */ export declare function getGitopsRepoCredOutput(args: GetGitopsRepoCredOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGitopsRepoCredResult>; /** * A collection of arguments for invoking getGitopsRepoCred. */ export interface GetGitopsRepoCredOutputArgs { /** * Account identifier of the Repository Credentials. * * @deprecated This field is deprecated and will be removed in a future release. */ accountId?: pulumi.Input<string>; /** * Agent identifier of the Repository Credentials. */ agentId: pulumi.Input<string>; /** * credential details. */ creds?: pulumi.Input<pulumi.Input<inputs.platform.GetGitopsRepoCredCredArgs>[]>; /** * Identifier of the Repository Credentials. */ identifier: pulumi.Input<string>; /** * Organization identifier of the Repository Credentials. */ orgId?: pulumi.Input<string>; /** * Project identifier of the Repository Credentials. */ projectId?: pulumi.Input<string>; }