import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * Resource for creating a Harness Gitops Repositories Credentials.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as harness from "@lbrlabs/pulumi-harness";
 *
 * const test = new harness.platform.GitOpsRepoCred("test", {
 *     identifier: "identifier",
 *     accountId: "account_id",
 *     agentId: "agent_id",
 *     projectId: "project_id",
 *     orgId: "org_id",
 *     creds: [{
 *         type: "git",
 *         url: "github.com",
 *         sshPrivateKey: "yoursshprivatekey",
 *     }],
 * });
 * ```
 *
 * ## Import
 *
 * Import a Account level Gitops Repository Credentials
 *
 * ```sh
 *  $ pulumi import harness:platform/gitOpsRepoCred:GitOpsRepoCred example <agent_id>/<repocred_id>
 * ```
 *
 *  Import a Project level Gitops Repository Credentials
 *
 * ```sh
 *  $ pulumi import harness:platform/gitOpsRepoCred:GitOpsRepoCred example <organization_id>/<project_id>/<agent_id>/<repocred_id>
 * ```
 */
export declare class GitOpsRepoCred extends pulumi.CustomResource {
    /**
     * Get an existing GitOpsRepoCred resource's state with the given name, ID, and optional extra
     * properties used to qualify the lookup.
     *
     * @param name The _unique_ name of the resulting resource.
     * @param id The _unique_ provider ID of the resource to lookup.
     * @param state Any extra arguments used during the lookup.
     * @param opts Optional settings to control the behavior of the CustomResource.
     */
    static get(name: string, id: pulumi.Input<pulumi.ID>, state?: GitOpsRepoCredState, opts?: pulumi.CustomResourceOptions): GitOpsRepoCred;
    /**
     * Returns true if the given object is an instance of GitOpsRepoCred.  This is designed to work even
     * when multiple copies of the Pulumi SDK have been loaded into the same process.
     */
    static isInstance(obj: any): obj is GitOpsRepoCred;
    /**
     * Account identifier of the Repository Credential.
     */
    readonly accountId: pulumi.Output<string>;
    /**
     * Agent identifier of the Repository Credential.
     */
    readonly agentId: pulumi.Output<string>;
    /**
     * credential details.
     */
    readonly creds: pulumi.Output<outputs.platform.GitOpsRepoCredCred[]>;
    /**
     * Identifier of the Repository Credential.
     */
    readonly identifier: pulumi.Output<string>;
    /**
     * Organization identifier of the Repository Credential.
     */
    readonly orgId: pulumi.Output<string | undefined>;
    /**
     * Project identifier of the Repository Credential.
     */
    readonly projectId: pulumi.Output<string | undefined>;
    /**
     * if the Repository credential should be upserted.
     */
    readonly upsert: pulumi.Output<boolean | undefined>;
    /**
     * Create a GitOpsRepoCred resource with the given unique name, arguments, and options.
     *
     * @param name The _unique_ name of the resource.
     * @param args The arguments to use to populate this resource's properties.
     * @param opts A bag of options that control this resource's behavior.
     */
    constructor(name: string, args: GitOpsRepoCredArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering GitOpsRepoCred resources.
 */
export interface GitOpsRepoCredState {
    /**
     * Account identifier of the Repository Credential.
     */
    accountId?: pulumi.Input<string>;
    /**
     * Agent identifier of the Repository Credential.
     */
    agentId?: pulumi.Input<string>;
    /**
     * credential details.
     */
    creds?: pulumi.Input<pulumi.Input<inputs.platform.GitOpsRepoCredCred>[]>;
    /**
     * Identifier of the Repository Credential.
     */
    identifier?: pulumi.Input<string>;
    /**
     * Organization identifier of the Repository Credential.
     */
    orgId?: pulumi.Input<string>;
    /**
     * Project identifier of the Repository Credential.
     */
    projectId?: pulumi.Input<string>;
    /**
     * if the Repository credential should be upserted.
     */
    upsert?: pulumi.Input<boolean>;
}
/**
 * The set of arguments for constructing a GitOpsRepoCred resource.
 */
export interface GitOpsRepoCredArgs {
    /**
     * Account identifier of the Repository Credential.
     */
    accountId: pulumi.Input<string>;
    /**
     * Agent identifier of the Repository Credential.
     */
    agentId: pulumi.Input<string>;
    /**
     * credential details.
     */
    creds?: pulumi.Input<pulumi.Input<inputs.platform.GitOpsRepoCredCred>[]>;
    /**
     * Identifier of the Repository Credential.
     */
    identifier: pulumi.Input<string>;
    /**
     * Organization identifier of the Repository Credential.
     */
    orgId?: pulumi.Input<string>;
    /**
     * Project identifier of the Repository Credential.
     */
    projectId?: pulumi.Input<string>;
    /**
     * if the Repository credential should be upserted.
     */
    upsert?: pulumi.Input<boolean>;
}
