import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Resource for managing Harness Gitops Repository. * * ## Import * * The `pulumi import` command can be used, for example: * * Import an Account level Gitops Repository * * ```sh * $ pulumi import harness:platform/gitOpsRepository:GitOpsRepository example / * ``` * * Import an Org level Gitops Repository * * ```sh * $ pulumi import harness:platform/gitOpsRepository:GitOpsRepository example // * ``` * * Import a Project level Gitops Repository * * ```sh * $ pulumi import harness:platform/gitOpsRepository:GitOpsRepository example /// * ``` */ 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, 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. * * @deprecated This field is deprecated and will be removed in a future release. */ readonly accountId: pulumi.Output; /** * Agent identifier of the GitOps repository. */ readonly agentId: pulumi.Output; /** * Indicates if to operate on credential set instead of repository. */ readonly credsOnly: pulumi.Output; /** * ECR access token generator specific configuration. */ readonly ecrGen: pulumi.Output; /** * Indicates if the repository should be deleted forcefully, regardless of existing applications using that repo. */ readonly forceDelete: pulumi.Output; /** * GCR access token generator specific configuration. */ readonly gcrGen: pulumi.Output; /** * Default: "UNSET" * Enum: "UNSET" "AWS_ECR" "GOOGLE_GCR" */ readonly genType: pulumi.Output; /** * Identifier of the GitOps repository. */ readonly identifier: pulumi.Output; /** * Organization identifier of the GitOps repository. */ readonly orgId: pulumi.Output; /** * Project identifier of the GitOps repository. */ readonly projectId: pulumi.Output; /** * For OCI repos, this is the interval to refresh the token to access the registry. */ readonly refreshInterval: pulumi.Output; /** * Repo details holding application configurations. */ readonly repos: pulumi.Output; /** * Update mask of the repository. * * @deprecated This field is deprecated and will be removed in a future release. */ readonly updateMasks: pulumi.Output; /** * Indicates if the GitOps repository should be updated if existing and inserted if not. */ readonly upsert: pulumi.Output; /** * 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. * * @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; /** * Indicates if to operate on credential set instead of repository. */ credsOnly?: pulumi.Input; /** * ECR access token generator specific configuration. */ ecrGen?: pulumi.Input; /** * Indicates if the repository should be deleted forcefully, regardless of existing applications using that repo. */ forceDelete?: pulumi.Input; /** * GCR access token generator specific configuration. */ gcrGen?: pulumi.Input; /** * Default: "UNSET" * Enum: "UNSET" "AWS_ECR" "GOOGLE_GCR" */ genType?: 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; /** * For OCI repos, this is the interval to refresh the token to access the registry. */ refreshInterval?: pulumi.Input; /** * Repo details holding application configurations. */ repos?: pulumi.Input[] | undefined>; /** * Update mask of the repository. * * @deprecated This field is deprecated and will be removed in a future release. */ updateMasks?: pulumi.Input[] | undefined>; /** * Indicates if the GitOps repository should be updated if existing and inserted if not. */ upsert?: pulumi.Input; } /** * The set of arguments for constructing a GitOpsRepository resource. */ export interface GitOpsRepositoryArgs { /** * 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; /** * Indicates if to operate on credential set instead of repository. */ credsOnly?: pulumi.Input; /** * ECR access token generator specific configuration. */ ecrGen?: pulumi.Input; /** * Indicates if the repository should be deleted forcefully, regardless of existing applications using that repo. */ forceDelete?: pulumi.Input; /** * GCR access token generator specific configuration. */ gcrGen?: pulumi.Input; /** * Default: "UNSET" * Enum: "UNSET" "AWS_ECR" "GOOGLE_GCR" */ genType?: 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; /** * For OCI repos, this is the interval to refresh the token to access the registry. */ refreshInterval?: pulumi.Input; /** * Repo details holding application configurations. */ repos: pulumi.Input[]>; /** * Update mask of the repository. * * @deprecated This field is deprecated and will be removed in a future release. */ updateMasks?: pulumi.Input[] | undefined>; /** * Indicates if the GitOps repository should be updated if existing and inserted if not. */ upsert?: pulumi.Input; } //# sourceMappingURL=gitOpsRepository.d.ts.map