import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data source for fetching a Harness GitOps Repository. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const example = harness.platform.getGitopsRepository({ * identifier: "identifier", * accountId: "account_id", * projectId: "project_id", * orgId: "org_id", * agentId: "agent_id", * }); * ``` */ export declare function getGitopsRepository(args: GetGitopsRepositoryArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getGitopsRepository. */ export interface GetGitopsRepositoryArgs { /** * Account identifier of the GitOps repository. * * @deprecated This field is deprecated and will be removed in a future release. */ accountId?: string; /** * Agent identifier of the GitOps repository. */ agentId: string; /** * Identifier of the GitOps repository. */ identifier: string; /** * Organization identifier of the GitOps repository. */ orgId?: string; /** * Project identifier of the GitOps repository. */ projectId?: string; } /** * A collection of values returned by getGitopsRepository. */ export interface GetGitopsRepositoryResult { /** * Account identifier of the GitOps repository. * * @deprecated This field is deprecated and will be removed in a future release. */ readonly accountId: string; /** * Agent identifier of the GitOps repository. */ readonly agentId: string; /** * Indicates if helm-oci support must be enabled for this repo. */ readonly enableOci: boolean; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Identifier of the GitOps repository. */ readonly identifier: string; /** * Organization identifier of the GitOps repository. */ readonly orgId?: string; /** * Project identifier of the GitOps repository. */ readonly projectId?: string; /** * Repo details holding application configurations. */ readonly repos: outputs.platform.GetGitopsRepositoryRepo[]; } /** * Data source for fetching a Harness GitOps Repository. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const example = harness.platform.getGitopsRepository({ * identifier: "identifier", * accountId: "account_id", * projectId: "project_id", * orgId: "org_id", * agentId: "agent_id", * }); * ``` */ export declare function getGitopsRepositoryOutput(args: GetGitopsRepositoryOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getGitopsRepository. */ export interface GetGitopsRepositoryOutputArgs { /** * Account identifier of the GitOps repository. * * @deprecated This field is deprecated and will be removed in a future release. */ accountId?: pulumi.Input; /** * Agent identifier of the GitOps repository. */ agentId: pulumi.Input; /** * Identifier of the GitOps repository. */ identifier: pulumi.Input; /** * Organization identifier of the GitOps repository. */ orgId?: pulumi.Input; /** * Project identifier of the GitOps repository. */ projectId?: pulumi.Input; } //# sourceMappingURL=getGitopsRepository.d.ts.map