import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * Resource for creating Harness Gitops Repositories.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as harness from "@lbrlabs/pulumi-harness";
 *
 * const example = new harness.platform.GitOpsRepository("example", {
 *     accountId: "account_id",
 *     agentId: "agent_id",
 *     identifier: "identifier",
 *     orgId: "org_id",
 *     projectId: "project_id",
 *     repos: [{
 *         connectionType: "HTTPS_ANONYMOUS",
 *         insecure: true,
 *         name: "repo_name",
 *         repo: "https://github.com/willycoll/argocd-example-apps.git",
 *     }],
 *     upsert: true,
 * });
 * ```
 *
 * ## Import
 *
 * Import a Account level Gitops Repository
 *
 * ```sh
 *  $ pulumi import harness:platform/gitOpsRepository:GitOpsRepository example <agent_id>/<respository_id>
 * ```
 *
 *  Import a Project level Gitops Repository
 *
 * ```sh
 *  $ pulumi import harness:platform/gitOpsRepository:GitOpsRepository example <organization_id>/<project_id>/<agent_id>/<respository_id>
 * ```
 */
export declare class GitOpsRepository extends pulumi.CustomResource {
    /**
     * Get an existing GitOpsRepository 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?: GitOpsRepositoryState, opts?: pulumi.CustomResourceOptions): GitOpsRepository;
    /**
     * Returns true if the given object is an instance of GitOpsRepository.  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 GitOpsRepository;
    /**
     * Account identifier of the GitOps repository.
     */
    readonly accountId: pulumi.Output<string>;
    /**
     * Agent identifier of the GitOps repository.
     */
    readonly agentId: pulumi.Output<string>;
    /**
     * Indicates if to operate on credential set instead of repository.
     */
    readonly credsOnly: pulumi.Output<boolean | undefined>;
    /**
     * Identifier of the GitOps repository.
     */
    readonly identifier: pulumi.Output<string>;
    /**
     * Organization identifier of the GitOps repository.
     */
    readonly orgId: pulumi.Output<string | undefined>;
    /**
     * Project identifier of the GitOps repository.
     */
    readonly projectId: pulumi.Output<string | undefined>;
    /**
     * Indicates to force refresh query for repository.
     */
    readonly queryForceRefresh: pulumi.Output<boolean | undefined>;
    /**
     * Project to query for the GitOps repo.
     */
    readonly queryProject: pulumi.Output<string | undefined>;
    /**
     * GitOps repository to query.
     */
    readonly queryRepo: pulumi.Output<string | undefined>;
    /**
     * Repo details holding application configurations.
     */
    readonly repos: pulumi.Output<outputs.platform.GitOpsRepositoryRepo[]>;
    /**
     * Update mask of the repository.
     */
    readonly updateMasks: pulumi.Output<outputs.platform.GitOpsRepositoryUpdateMask[] | undefined>;
    /**
     * Indicates if the GitOps repository should be updated if existing and inserted if not.
     */
    readonly upsert: pulumi.Output<boolean | undefined>;
    /**
     * Create a GitOpsRepository 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: GitOpsRepositoryArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering GitOpsRepository resources.
 */
export interface GitOpsRepositoryState {
    /**
     * Account identifier of the GitOps repository.
     */
    accountId?: pulumi.Input<string>;
    /**
     * Agent identifier of the GitOps repository.
     */
    agentId?: pulumi.Input<string>;
    /**
     * Indicates if to operate on credential set instead of repository.
     */
    credsOnly?: pulumi.Input<boolean>;
    /**
     * Identifier of the GitOps repository.
     */
    identifier?: pulumi.Input<string>;
    /**
     * Organization identifier of the GitOps repository.
     */
    orgId?: pulumi.Input<string>;
    /**
     * Project identifier of the GitOps repository.
     */
    projectId?: pulumi.Input<string>;
    /**
     * Indicates to force refresh query for repository.
     */
    queryForceRefresh?: pulumi.Input<boolean>;
    /**
     * Project to query for the GitOps repo.
     */
    queryProject?: pulumi.Input<string>;
    /**
     * GitOps repository to query.
     */
    queryRepo?: pulumi.Input<string>;
    /**
     * Repo details holding application configurations.
     */
    repos?: pulumi.Input<pulumi.Input<inputs.platform.GitOpsRepositoryRepo>[]>;
    /**
     * Update mask of the repository.
     */
    updateMasks?: pulumi.Input<pulumi.Input<inputs.platform.GitOpsRepositoryUpdateMask>[]>;
    /**
     * Indicates if the GitOps repository should be updated if existing and inserted if not.
     */
    upsert?: pulumi.Input<boolean>;
}
/**
 * The set of arguments for constructing a GitOpsRepository resource.
 */
export interface GitOpsRepositoryArgs {
    /**
     * Account identifier of the GitOps repository.
     */
    accountId: pulumi.Input<string>;
    /**
     * Agent identifier of the GitOps repository.
     */
    agentId: pulumi.Input<string>;
    /**
     * Indicates if to operate on credential set instead of repository.
     */
    credsOnly?: pulumi.Input<boolean>;
    /**
     * Identifier of the GitOps repository.
     */
    identifier: pulumi.Input<string>;
    /**
     * Organization identifier of the GitOps repository.
     */
    orgId?: pulumi.Input<string>;
    /**
     * Project identifier of the GitOps repository.
     */
    projectId?: pulumi.Input<string>;
    /**
     * Indicates to force refresh query for repository.
     */
    queryForceRefresh?: pulumi.Input<boolean>;
    /**
     * Project to query for the GitOps repo.
     */
    queryProject?: pulumi.Input<string>;
    /**
     * GitOps repository to query.
     */
    queryRepo?: pulumi.Input<string>;
    /**
     * Repo details holding application configurations.
     */
    repos: pulumi.Input<pulumi.Input<inputs.platform.GitOpsRepositoryRepo>[]>;
    /**
     * Update mask of the repository.
     */
    updateMasks?: pulumi.Input<pulumi.Input<inputs.platform.GitOpsRepositoryUpdateMask>[]>;
    /**
     * Indicates if the GitOps repository should be updated if existing and inserted if not.
     */
    upsert?: pulumi.Input<boolean>;
}
