import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Resource for managing a Harness Gitops Cluster. * * ## Import * * The `pulumi import` command can be used, for example: * * Import an Account level Gitops Cluster * * ```sh * $ pulumi import harness:platform/gitOpsCluster:GitOpsCluster example / * ``` * * Import an Org level Gitops Cluster * * ```sh * $ pulumi import harness:platform/gitOpsCluster:GitOpsCluster example // * ``` * * Import a Project level Gitops Cluster * * ```sh * $ pulumi import harness:platform/gitOpsCluster:GitOpsCluster example /// * ``` */ export declare class GitOpsCluster extends pulumi.CustomResource { /** * Get an existing GitOpsCluster 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?: GitOpsClusterState, opts?: pulumi.CustomResourceOptions): GitOpsCluster; /** * Returns true if the given object is an instance of GitOpsCluster. 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 GitOpsCluster; /** * Account identifier of the GitOps cluster. * * @deprecated This field is deprecated and will be removed in a future release. */ readonly accountId: pulumi.Output; /** * Agent identifier of the GitOps cluster. (include scope prefix) */ readonly agentId: pulumi.Output; /** * Indicates if the cluster should be deleted forcefully, regardless of existing applications using that cluster. */ readonly forceDelete: pulumi.Output; /** * Indicates if the cluster should be updated forcefully, regardless of existing applications using that cluster. */ readonly forceUpdate: pulumi.Output; /** * Identifier of the GitOps cluster. */ readonly identifier: pulumi.Output; /** * Organization identifier of the cluster. */ readonly orgId: pulumi.Output; /** * Project identifier of the GitOps cluster. */ readonly projectId: pulumi.Output; /** * Cluster create or update request. */ readonly requests: pulumi.Output; /** * Create a GitOpsCluster 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: GitOpsClusterArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering GitOpsCluster resources. */ export interface GitOpsClusterState { /** * Account identifier of the GitOps cluster. * * @deprecated This field is deprecated and will be removed in a future release. */ accountId?: pulumi.Input; /** * Agent identifier of the GitOps cluster. (include scope prefix) */ agentId?: pulumi.Input; /** * Indicates if the cluster should be deleted forcefully, regardless of existing applications using that cluster. */ forceDelete?: pulumi.Input; /** * Indicates if the cluster should be updated forcefully, regardless of existing applications using that cluster. */ forceUpdate?: pulumi.Input; /** * Identifier of the GitOps cluster. */ identifier?: pulumi.Input; /** * Organization identifier of the cluster. */ orgId?: pulumi.Input; /** * Project identifier of the GitOps cluster. */ projectId?: pulumi.Input; /** * Cluster create or update request. */ requests?: pulumi.Input[] | undefined>; } /** * The set of arguments for constructing a GitOpsCluster resource. */ export interface GitOpsClusterArgs { /** * Account identifier of the GitOps cluster. * * @deprecated This field is deprecated and will be removed in a future release. */ accountId?: pulumi.Input; /** * Agent identifier of the GitOps cluster. (include scope prefix) */ agentId: pulumi.Input; /** * Indicates if the cluster should be deleted forcefully, regardless of existing applications using that cluster. */ forceDelete?: pulumi.Input; /** * Indicates if the cluster should be updated forcefully, regardless of existing applications using that cluster. */ forceUpdate?: pulumi.Input; /** * Identifier of the GitOps cluster. */ identifier: pulumi.Input; /** * Organization identifier of the cluster. */ orgId?: pulumi.Input; /** * Project identifier of the GitOps cluster. */ projectId?: pulumi.Input; /** * Cluster create or update request. */ requests?: pulumi.Input[] | undefined>; } //# sourceMappingURL=gitOpsCluster.d.ts.map