1. Packages
  2. Harness
  3. API Docs
  4. platform
  5. GitOpsApplications
Harness v0.3.2 published on Monday, Sep 16, 2024 by Pulumi

harness.platform.GitOpsApplications

Explore with Pulumi AI

harness logo
Harness v0.3.2 published on Monday, Sep 16, 2024 by Pulumi

    Resource for managing a Harness Gitops Application.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as harness from "@pulumi/harness";
    
    const example = new harness.platform.GitOpsApplications("example", {
        applications: [{
            metadatas: [{
                annotations: {},
                labels: {
                    "harness.io/serviceRef": "service_id",
                    "harness.io/envRef": "env_id",
                },
                name: "appname123",
            }],
            specs: [{
                syncPolicies: [{
                    syncOptions: [
                        "PrunePropagationPolicy=undefined",
                        "CreateNamespace=false",
                        "Validate=false",
                        "skipSchemaValidations=false",
                        "autoCreateNamespace=false",
                        "pruneLast=false",
                        "applyOutofSyncOnly=false",
                        "Replace=false",
                        "retry=false",
                    ],
                }],
                sources: [{
                    targetRevision: "master",
                    repoUrl: "https://github.com/willycoll/argocd-example-apps.git",
                    path: "helm-guestbook",
                }],
                destinations: [{
                    namespace: "namespace-123",
                    server: "https://1.3.4.5",
                }],
            }],
        }],
        projectId: "project_id",
        orgId: "org_id",
        accountId: "account_id",
        identifier: "identifier",
        clusterId: "cluster_id",
        repoId: "repo_id",
        agentId: "agent_id",
    });
    
    import pulumi
    import pulumi_harness as harness
    
    example = harness.platform.GitOpsApplications("example",
        applications=[{
            "metadatas": [{
                "annotations": {},
                "labels": {
                    "harness_io_service_ref": "service_id",
                    "harness_io_env_ref": "env_id",
                },
                "name": "appname123",
            }],
            "specs": [{
                "sync_policies": [{
                    "sync_options": [
                        "PrunePropagationPolicy=undefined",
                        "CreateNamespace=false",
                        "Validate=false",
                        "skipSchemaValidations=false",
                        "autoCreateNamespace=false",
                        "pruneLast=false",
                        "applyOutofSyncOnly=false",
                        "Replace=false",
                        "retry=false",
                    ],
                }],
                "sources": [{
                    "target_revision": "master",
                    "repo_url": "https://github.com/willycoll/argocd-example-apps.git",
                    "path": "helm-guestbook",
                }],
                "destinations": [{
                    "namespace": "namespace-123",
                    "server": "https://1.3.4.5",
                }],
            }],
        }],
        project_id="project_id",
        org_id="org_id",
        account_id="account_id",
        identifier="identifier",
        cluster_id="cluster_id",
        repo_id="repo_id",
        agent_id="agent_id")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-harness/sdk/go/harness/platform"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := platform.NewGitOpsApplications(ctx, "example", &platform.GitOpsApplicationsArgs{
    			Applications: platform.GitOpsApplicationsApplicationArray{
    				&platform.GitOpsApplicationsApplicationArgs{
    					Metadatas: platform.GitOpsApplicationsApplicationMetadataArray{
    						&platform.GitOpsApplicationsApplicationMetadataArgs{
    							Annotations: nil,
    							Labels: pulumi.StringMap{
    								"harness.io/serviceRef": pulumi.String("service_id"),
    								"harness.io/envRef":     pulumi.String("env_id"),
    							},
    							Name: pulumi.String("appname123"),
    						},
    					},
    					Specs: platform.GitOpsApplicationsApplicationSpecArray{
    						&platform.GitOpsApplicationsApplicationSpecArgs{
    							SyncPolicies: platform.GitOpsApplicationsApplicationSpecSyncPolicyArray{
    								&platform.GitOpsApplicationsApplicationSpecSyncPolicyArgs{
    									SyncOptions: pulumi.StringArray{
    										pulumi.String("PrunePropagationPolicy=undefined"),
    										pulumi.String("CreateNamespace=false"),
    										pulumi.String("Validate=false"),
    										pulumi.String("skipSchemaValidations=false"),
    										pulumi.String("autoCreateNamespace=false"),
    										pulumi.String("pruneLast=false"),
    										pulumi.String("applyOutofSyncOnly=false"),
    										pulumi.String("Replace=false"),
    										pulumi.String("retry=false"),
    									},
    								},
    							},
    							Sources: platform.GitOpsApplicationsApplicationSpecSourceArray{
    								&platform.GitOpsApplicationsApplicationSpecSourceArgs{
    									TargetRevision: pulumi.String("master"),
    									RepoUrl:        pulumi.String("https://github.com/willycoll/argocd-example-apps.git"),
    									Path:           pulumi.String("helm-guestbook"),
    								},
    							},
    							Destinations: platform.GitOpsApplicationsApplicationSpecDestinationArray{
    								&platform.GitOpsApplicationsApplicationSpecDestinationArgs{
    									Namespace: pulumi.String("namespace-123"),
    									Server:    pulumi.String("https://1.3.4.5"),
    								},
    							},
    						},
    					},
    				},
    			},
    			ProjectId:  pulumi.String("project_id"),
    			OrgId:      pulumi.String("org_id"),
    			AccountId:  pulumi.String("account_id"),
    			Identifier: pulumi.String("identifier"),
    			ClusterId:  pulumi.String("cluster_id"),
    			RepoId:     pulumi.String("repo_id"),
    			AgentId:    pulumi.String("agent_id"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Harness = Pulumi.Harness;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Harness.Platform.GitOpsApplications("example", new()
        {
            Applications = new[]
            {
                new Harness.Platform.Inputs.GitOpsApplicationsApplicationArgs
                {
                    Metadatas = new[]
                    {
                        new Harness.Platform.Inputs.GitOpsApplicationsApplicationMetadataArgs
                        {
                            Annotations = null,
                            Labels = 
                            {
                                { "harness.io/serviceRef", "service_id" },
                                { "harness.io/envRef", "env_id" },
                            },
                            Name = "appname123",
                        },
                    },
                    Specs = new[]
                    {
                        new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecArgs
                        {
                            SyncPolicies = new[]
                            {
                                new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSyncPolicyArgs
                                {
                                    SyncOptions = new[]
                                    {
                                        "PrunePropagationPolicy=undefined",
                                        "CreateNamespace=false",
                                        "Validate=false",
                                        "skipSchemaValidations=false",
                                        "autoCreateNamespace=false",
                                        "pruneLast=false",
                                        "applyOutofSyncOnly=false",
                                        "Replace=false",
                                        "retry=false",
                                    },
                                },
                            },
                            Sources = new[]
                            {
                                new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSourceArgs
                                {
                                    TargetRevision = "master",
                                    RepoUrl = "https://github.com/willycoll/argocd-example-apps.git",
                                    Path = "helm-guestbook",
                                },
                            },
                            Destinations = new[]
                            {
                                new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecDestinationArgs
                                {
                                    Namespace = "namespace-123",
                                    Server = "https://1.3.4.5",
                                },
                            },
                        },
                    },
                },
            },
            ProjectId = "project_id",
            OrgId = "org_id",
            AccountId = "account_id",
            Identifier = "identifier",
            ClusterId = "cluster_id",
            RepoId = "repo_id",
            AgentId = "agent_id",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.harness.platform.GitOpsApplications;
    import com.pulumi.harness.platform.GitOpsApplicationsArgs;
    import com.pulumi.harness.platform.inputs.GitOpsApplicationsApplicationArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new GitOpsApplications("example", GitOpsApplicationsArgs.builder()
                .applications(GitOpsApplicationsApplicationArgs.builder()
                    .metadatas(GitOpsApplicationsApplicationMetadataArgs.builder()
                        .annotations()
                        .labels(Map.ofEntries(
                            Map.entry("harness.io/serviceRef", "service_id"),
                            Map.entry("harness.io/envRef", "env_id")
                        ))
                        .name("appname123")
                        .build())
                    .specs(GitOpsApplicationsApplicationSpecArgs.builder()
                        .syncPolicies(GitOpsApplicationsApplicationSpecSyncPolicyArgs.builder()
                            .syncOptions(                        
                                "PrunePropagationPolicy=undefined",
                                "CreateNamespace=false",
                                "Validate=false",
                                "skipSchemaValidations=false",
                                "autoCreateNamespace=false",
                                "pruneLast=false",
                                "applyOutofSyncOnly=false",
                                "Replace=false",
                                "retry=false")
                            .build())
                        .sources(GitOpsApplicationsApplicationSpecSourceArgs.builder()
                            .targetRevision("master")
                            .repoUrl("https://github.com/willycoll/argocd-example-apps.git")
                            .path("helm-guestbook")
                            .build())
                        .destinations(GitOpsApplicationsApplicationSpecDestinationArgs.builder()
                            .namespace("namespace-123")
                            .server("https://1.3.4.5")
                            .build())
                        .build())
                    .build())
                .projectId("project_id")
                .orgId("org_id")
                .accountId("account_id")
                .identifier("identifier")
                .clusterId("cluster_id")
                .repoId("repo_id")
                .agentId("agent_id")
                .build());
    
        }
    }
    
    resources:
      example:
        type: harness:platform:GitOpsApplications
        properties:
          applications:
            - metadatas:
                - annotations: {}
                  labels:
                    harness.io/serviceRef: service_id
                    harness.io/envRef: env_id
                  name: appname123
              specs:
                - syncPolicies:
                    - syncOptions:
                        - PrunePropagationPolicy=undefined
                        - CreateNamespace=false
                        - Validate=false
                        - skipSchemaValidations=false
                        - autoCreateNamespace=false
                        - pruneLast=false
                        - applyOutofSyncOnly=false
                        - Replace=false
                        - retry=false
                  sources:
                    - targetRevision: master
                      repoUrl: https://github.com/willycoll/argocd-example-apps.git
                      path: helm-guestbook
                  destinations:
                    - namespace: namespace-123
                      server: https://1.3.4.5
          projectId: project_id
          orgId: org_id
          accountId: account_id
          identifier: identifier
          clusterId: cluster_id
          repoId: repo_id
          agentId: agent_id
    

    Create GitOpsApplications Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new GitOpsApplications(name: string, args: GitOpsApplicationsArgs, opts?: CustomResourceOptions);
    @overload
    def GitOpsApplications(resource_name: str,
                           args: GitOpsApplicationsArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def GitOpsApplications(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           org_id: Optional[str] = None,
                           agent_id: Optional[str] = None,
                           applications: Optional[Sequence[GitOpsApplicationsApplicationArgs]] = None,
                           cluster_id: Optional[str] = None,
                           account_id: Optional[str] = None,
                           project_id: Optional[str] = None,
                           identifier: Optional[str] = None,
                           options_remove_existing_finalizers: Optional[bool] = None,
                           name: Optional[str] = None,
                           project: Optional[str] = None,
                           kind: Optional[str] = None,
                           repo_id: Optional[str] = None,
                           request_cascade: Optional[bool] = None,
                           request_propagation_policy: Optional[str] = None,
                           skip_repo_validation: Optional[bool] = None,
                           upsert: Optional[bool] = None,
                           validate: Optional[bool] = None)
    func NewGitOpsApplications(ctx *Context, name string, args GitOpsApplicationsArgs, opts ...ResourceOption) (*GitOpsApplications, error)
    public GitOpsApplications(string name, GitOpsApplicationsArgs args, CustomResourceOptions? opts = null)
    public GitOpsApplications(String name, GitOpsApplicationsArgs args)
    public GitOpsApplications(String name, GitOpsApplicationsArgs args, CustomResourceOptions options)
    
    type: harness:platform:GitOpsApplications
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args GitOpsApplicationsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args GitOpsApplicationsArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args GitOpsApplicationsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GitOpsApplicationsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GitOpsApplicationsArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var gitOpsApplicationsResource = new Harness.Platform.GitOpsApplications("gitOpsApplicationsResource", new()
    {
        OrgId = "string",
        AgentId = "string",
        Applications = new[]
        {
            new Harness.Platform.Inputs.GitOpsApplicationsApplicationArgs
            {
                Metadatas = new[]
                {
                    new Harness.Platform.Inputs.GitOpsApplicationsApplicationMetadataArgs
                    {
                        Annotations = 
                        {
                            { "string", "string" },
                        },
                        ClusterName = "string",
                        Finalizers = new[]
                        {
                            "string",
                        },
                        GenerateName = "string",
                        Generation = "string",
                        Labels = 
                        {
                            { "string", "string" },
                        },
                        Name = "string",
                        Namespace = "string",
                        OwnerReferences = new[]
                        {
                            new Harness.Platform.Inputs.GitOpsApplicationsApplicationMetadataOwnerReferenceArgs
                            {
                                ApiVersion = "string",
                                BlockOwnerDeletion = false,
                                Controller = false,
                                Kind = "string",
                                Name = "string",
                                Uid = "string",
                            },
                        },
                        Uid = "string",
                    },
                },
                Specs = new[]
                {
                    new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecArgs
                    {
                        Destinations = new[]
                        {
                            new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecDestinationArgs
                            {
                                Name = "string",
                                Namespace = "string",
                                Server = "string",
                            },
                        },
                        Project = "string",
                        Sources = new[]
                        {
                            new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSourceArgs
                            {
                                RepoUrl = "string",
                                TargetRevision = "string",
                                Chart = "string",
                                Directories = new[]
                                {
                                    new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSourceDirectoryArgs
                                    {
                                        Exclude = "string",
                                        Include = "string",
                                        Jsonnets = new[]
                                        {
                                            new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetArgs
                                            {
                                                ExtVars = new[]
                                                {
                                                    new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetExtVarArgs
                                                    {
                                                        Code = false,
                                                        Name = "string",
                                                        Value = "string",
                                                    },
                                                },
                                                Libs = new[]
                                                {
                                                    "string",
                                                },
                                                Tlas = new[]
                                                {
                                                    new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetTlaArgs
                                                    {
                                                        Code = false,
                                                        Name = "string",
                                                        Value = "string",
                                                    },
                                                },
                                            },
                                        },
                                        Recurse = false,
                                    },
                                },
                                Helms = new[]
                                {
                                    new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSourceHelmArgs
                                    {
                                        FileParameters = new[]
                                        {
                                            new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSourceHelmFileParameterArgs
                                            {
                                                Name = "string",
                                                Path = "string",
                                            },
                                        },
                                        Parameters = new[]
                                        {
                                            new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSourceHelmParameterArgs
                                            {
                                                ForceString = false,
                                                Name = "string",
                                                Value = "string",
                                            },
                                        },
                                        PassCredentials = false,
                                        ReleaseName = "string",
                                        ValueFiles = new[]
                                        {
                                            "string",
                                        },
                                        Values = "string",
                                        Version = "string",
                                    },
                                },
                                Ksonnets = new[]
                                {
                                    new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSourceKsonnetArgs
                                    {
                                        Environment = "string",
                                        Parameters = new[]
                                        {
                                            new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSourceKsonnetParameterArgs
                                            {
                                                Component = "string",
                                                Name = "string",
                                                Value = "string",
                                            },
                                        },
                                    },
                                },
                                Kustomizes = new[]
                                {
                                    new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSourceKustomizeArgs
                                    {
                                        CommonAnnotations = 
                                        {
                                            { "string", "string" },
                                        },
                                        CommonLabels = 
                                        {
                                            { "string", "string" },
                                        },
                                        ForceCommonAnnotations = false,
                                        ForceCommonLabels = false,
                                        Images = new[]
                                        {
                                            "string",
                                        },
                                        NamePrefix = "string",
                                        NameSuffix = "string",
                                        Version = "string",
                                    },
                                },
                                Path = "string",
                                Plugins = new[]
                                {
                                    new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSourcePluginArgs
                                    {
                                        Envs = new[]
                                        {
                                            new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSourcePluginEnvArgs
                                            {
                                                Name = "string",
                                                Value = "string",
                                            },
                                        },
                                        Name = "string",
                                    },
                                },
                            },
                        },
                        SyncPolicies = new[]
                        {
                            new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSyncPolicyArgs
                            {
                                Automateds = new[]
                                {
                                    new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSyncPolicyAutomatedArgs
                                    {
                                        AllowEmpty = false,
                                        Prune = false,
                                        SelfHeal = false,
                                    },
                                },
                                Retries = new[]
                                {
                                    new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSyncPolicyRetryArgs
                                    {
                                        Backoffs = new[]
                                        {
                                            new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSyncPolicyRetryBackoffArgs
                                            {
                                                Duration = "string",
                                                Factor = "string",
                                                MaxDuration = "string",
                                            },
                                        },
                                        Limit = "string",
                                    },
                                },
                                SyncOptions = new[]
                                {
                                    "string",
                                },
                            },
                        },
                    },
                },
            },
        },
        ClusterId = "string",
        AccountId = "string",
        ProjectId = "string",
        Identifier = "string",
        OptionsRemoveExistingFinalizers = false,
        Name = "string",
        Project = "string",
        Kind = "string",
        RepoId = "string",
        RequestCascade = false,
        RequestPropagationPolicy = "string",
        SkipRepoValidation = false,
        Upsert = false,
        Validate = false,
    });
    
    example, err := platform.NewGitOpsApplications(ctx, "gitOpsApplicationsResource", &platform.GitOpsApplicationsArgs{
    	OrgId:   pulumi.String("string"),
    	AgentId: pulumi.String("string"),
    	Applications: platform.GitOpsApplicationsApplicationArray{
    		&platform.GitOpsApplicationsApplicationArgs{
    			Metadatas: platform.GitOpsApplicationsApplicationMetadataArray{
    				&platform.GitOpsApplicationsApplicationMetadataArgs{
    					Annotations: pulumi.StringMap{
    						"string": pulumi.String("string"),
    					},
    					ClusterName: pulumi.String("string"),
    					Finalizers: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					GenerateName: pulumi.String("string"),
    					Generation:   pulumi.String("string"),
    					Labels: pulumi.StringMap{
    						"string": pulumi.String("string"),
    					},
    					Name:      pulumi.String("string"),
    					Namespace: pulumi.String("string"),
    					OwnerReferences: platform.GitOpsApplicationsApplicationMetadataOwnerReferenceArray{
    						&platform.GitOpsApplicationsApplicationMetadataOwnerReferenceArgs{
    							ApiVersion:         pulumi.String("string"),
    							BlockOwnerDeletion: pulumi.Bool(false),
    							Controller:         pulumi.Bool(false),
    							Kind:               pulumi.String("string"),
    							Name:               pulumi.String("string"),
    							Uid:                pulumi.String("string"),
    						},
    					},
    					Uid: pulumi.String("string"),
    				},
    			},
    			Specs: platform.GitOpsApplicationsApplicationSpecArray{
    				&platform.GitOpsApplicationsApplicationSpecArgs{
    					Destinations: platform.GitOpsApplicationsApplicationSpecDestinationArray{
    						&platform.GitOpsApplicationsApplicationSpecDestinationArgs{
    							Name:      pulumi.String("string"),
    							Namespace: pulumi.String("string"),
    							Server:    pulumi.String("string"),
    						},
    					},
    					Project: pulumi.String("string"),
    					Sources: platform.GitOpsApplicationsApplicationSpecSourceArray{
    						&platform.GitOpsApplicationsApplicationSpecSourceArgs{
    							RepoUrl:        pulumi.String("string"),
    							TargetRevision: pulumi.String("string"),
    							Chart:          pulumi.String("string"),
    							Directories: platform.GitOpsApplicationsApplicationSpecSourceDirectoryArray{
    								&platform.GitOpsApplicationsApplicationSpecSourceDirectoryArgs{
    									Exclude: pulumi.String("string"),
    									Include: pulumi.String("string"),
    									Jsonnets: platform.GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetArray{
    										&platform.GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetArgs{
    											ExtVars: platform.GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetExtVarArray{
    												&platform.GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetExtVarArgs{
    													Code:  pulumi.Bool(false),
    													Name:  pulumi.String("string"),
    													Value: pulumi.String("string"),
    												},
    											},
    											Libs: pulumi.StringArray{
    												pulumi.String("string"),
    											},
    											Tlas: platform.GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetTlaArray{
    												&platform.GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetTlaArgs{
    													Code:  pulumi.Bool(false),
    													Name:  pulumi.String("string"),
    													Value: pulumi.String("string"),
    												},
    											},
    										},
    									},
    									Recurse: pulumi.Bool(false),
    								},
    							},
    							Helms: platform.GitOpsApplicationsApplicationSpecSourceHelmArray{
    								&platform.GitOpsApplicationsApplicationSpecSourceHelmArgs{
    									FileParameters: platform.GitOpsApplicationsApplicationSpecSourceHelmFileParameterArray{
    										&platform.GitOpsApplicationsApplicationSpecSourceHelmFileParameterArgs{
    											Name: pulumi.String("string"),
    											Path: pulumi.String("string"),
    										},
    									},
    									Parameters: platform.GitOpsApplicationsApplicationSpecSourceHelmParameterArray{
    										&platform.GitOpsApplicationsApplicationSpecSourceHelmParameterArgs{
    											ForceString: pulumi.Bool(false),
    											Name:        pulumi.String("string"),
    											Value:       pulumi.String("string"),
    										},
    									},
    									PassCredentials: pulumi.Bool(false),
    									ReleaseName:     pulumi.String("string"),
    									ValueFiles: pulumi.StringArray{
    										pulumi.String("string"),
    									},
    									Values:  pulumi.String("string"),
    									Version: pulumi.String("string"),
    								},
    							},
    							Ksonnets: platform.GitOpsApplicationsApplicationSpecSourceKsonnetArray{
    								&platform.GitOpsApplicationsApplicationSpecSourceKsonnetArgs{
    									Environment: pulumi.String("string"),
    									Parameters: platform.GitOpsApplicationsApplicationSpecSourceKsonnetParameterArray{
    										&platform.GitOpsApplicationsApplicationSpecSourceKsonnetParameterArgs{
    											Component: pulumi.String("string"),
    											Name:      pulumi.String("string"),
    											Value:     pulumi.String("string"),
    										},
    									},
    								},
    							},
    							Kustomizes: platform.GitOpsApplicationsApplicationSpecSourceKustomizeArray{
    								&platform.GitOpsApplicationsApplicationSpecSourceKustomizeArgs{
    									CommonAnnotations: pulumi.StringMap{
    										"string": pulumi.String("string"),
    									},
    									CommonLabels: pulumi.StringMap{
    										"string": pulumi.String("string"),
    									},
    									ForceCommonAnnotations: pulumi.Bool(false),
    									ForceCommonLabels:      pulumi.Bool(false),
    									Images: pulumi.StringArray{
    										pulumi.String("string"),
    									},
    									NamePrefix: pulumi.String("string"),
    									NameSuffix: pulumi.String("string"),
    									Version:    pulumi.String("string"),
    								},
    							},
    							Path: pulumi.String("string"),
    							Plugins: platform.GitOpsApplicationsApplicationSpecSourcePluginArray{
    								&platform.GitOpsApplicationsApplicationSpecSourcePluginArgs{
    									Envs: platform.GitOpsApplicationsApplicationSpecSourcePluginEnvArray{
    										&platform.GitOpsApplicationsApplicationSpecSourcePluginEnvArgs{
    											Name:  pulumi.String("string"),
    											Value: pulumi.String("string"),
    										},
    									},
    									Name: pulumi.String("string"),
    								},
    							},
    						},
    					},
    					SyncPolicies: platform.GitOpsApplicationsApplicationSpecSyncPolicyArray{
    						&platform.GitOpsApplicationsApplicationSpecSyncPolicyArgs{
    							Automateds: platform.GitOpsApplicationsApplicationSpecSyncPolicyAutomatedArray{
    								&platform.GitOpsApplicationsApplicationSpecSyncPolicyAutomatedArgs{
    									AllowEmpty: pulumi.Bool(false),
    									Prune:      pulumi.Bool(false),
    									SelfHeal:   pulumi.Bool(false),
    								},
    							},
    							Retries: platform.GitOpsApplicationsApplicationSpecSyncPolicyRetryArray{
    								&platform.GitOpsApplicationsApplicationSpecSyncPolicyRetryArgs{
    									Backoffs: platform.GitOpsApplicationsApplicationSpecSyncPolicyRetryBackoffArray{
    										&platform.GitOpsApplicationsApplicationSpecSyncPolicyRetryBackoffArgs{
    											Duration:    pulumi.String("string"),
    											Factor:      pulumi.String("string"),
    											MaxDuration: pulumi.String("string"),
    										},
    									},
    									Limit: pulumi.String("string"),
    								},
    							},
    							SyncOptions: pulumi.StringArray{
    								pulumi.String("string"),
    							},
    						},
    					},
    				},
    			},
    		},
    	},
    	ClusterId:                       pulumi.String("string"),
    	AccountId:                       pulumi.String("string"),
    	ProjectId:                       pulumi.String("string"),
    	Identifier:                      pulumi.String("string"),
    	OptionsRemoveExistingFinalizers: pulumi.Bool(false),
    	Name:                            pulumi.String("string"),
    	Project:                         pulumi.String("string"),
    	Kind:                            pulumi.String("string"),
    	RepoId:                          pulumi.String("string"),
    	RequestCascade:                  pulumi.Bool(false),
    	RequestPropagationPolicy:        pulumi.String("string"),
    	SkipRepoValidation:              pulumi.Bool(false),
    	Upsert:                          pulumi.Bool(false),
    	Validate:                        pulumi.Bool(false),
    })
    
    var gitOpsApplicationsResource = new GitOpsApplications("gitOpsApplicationsResource", GitOpsApplicationsArgs.builder()
        .orgId("string")
        .agentId("string")
        .applications(GitOpsApplicationsApplicationArgs.builder()
            .metadatas(GitOpsApplicationsApplicationMetadataArgs.builder()
                .annotations(Map.of("string", "string"))
                .clusterName("string")
                .finalizers("string")
                .generateName("string")
                .generation("string")
                .labels(Map.of("string", "string"))
                .name("string")
                .namespace("string")
                .ownerReferences(GitOpsApplicationsApplicationMetadataOwnerReferenceArgs.builder()
                    .apiVersion("string")
                    .blockOwnerDeletion(false)
                    .controller(false)
                    .kind("string")
                    .name("string")
                    .uid("string")
                    .build())
                .uid("string")
                .build())
            .specs(GitOpsApplicationsApplicationSpecArgs.builder()
                .destinations(GitOpsApplicationsApplicationSpecDestinationArgs.builder()
                    .name("string")
                    .namespace("string")
                    .server("string")
                    .build())
                .project("string")
                .sources(GitOpsApplicationsApplicationSpecSourceArgs.builder()
                    .repoUrl("string")
                    .targetRevision("string")
                    .chart("string")
                    .directories(GitOpsApplicationsApplicationSpecSourceDirectoryArgs.builder()
                        .exclude("string")
                        .include("string")
                        .jsonnets(GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetArgs.builder()
                            .extVars(GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetExtVarArgs.builder()
                                .code(false)
                                .name("string")
                                .value("string")
                                .build())
                            .libs("string")
                            .tlas(GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetTlaArgs.builder()
                                .code(false)
                                .name("string")
                                .value("string")
                                .build())
                            .build())
                        .recurse(false)
                        .build())
                    .helms(GitOpsApplicationsApplicationSpecSourceHelmArgs.builder()
                        .fileParameters(GitOpsApplicationsApplicationSpecSourceHelmFileParameterArgs.builder()
                            .name("string")
                            .path("string")
                            .build())
                        .parameters(GitOpsApplicationsApplicationSpecSourceHelmParameterArgs.builder()
                            .forceString(false)
                            .name("string")
                            .value("string")
                            .build())
                        .passCredentials(false)
                        .releaseName("string")
                        .valueFiles("string")
                        .values("string")
                        .version("string")
                        .build())
                    .ksonnets(GitOpsApplicationsApplicationSpecSourceKsonnetArgs.builder()
                        .environment("string")
                        .parameters(GitOpsApplicationsApplicationSpecSourceKsonnetParameterArgs.builder()
                            .component("string")
                            .name("string")
                            .value("string")
                            .build())
                        .build())
                    .kustomizes(GitOpsApplicationsApplicationSpecSourceKustomizeArgs.builder()
                        .commonAnnotations(Map.of("string", "string"))
                        .commonLabels(Map.of("string", "string"))
                        .forceCommonAnnotations(false)
                        .forceCommonLabels(false)
                        .images("string")
                        .namePrefix("string")
                        .nameSuffix("string")
                        .version("string")
                        .build())
                    .path("string")
                    .plugins(GitOpsApplicationsApplicationSpecSourcePluginArgs.builder()
                        .envs(GitOpsApplicationsApplicationSpecSourcePluginEnvArgs.builder()
                            .name("string")
                            .value("string")
                            .build())
                        .name("string")
                        .build())
                    .build())
                .syncPolicies(GitOpsApplicationsApplicationSpecSyncPolicyArgs.builder()
                    .automateds(GitOpsApplicationsApplicationSpecSyncPolicyAutomatedArgs.builder()
                        .allowEmpty(false)
                        .prune(false)
                        .selfHeal(false)
                        .build())
                    .retries(GitOpsApplicationsApplicationSpecSyncPolicyRetryArgs.builder()
                        .backoffs(GitOpsApplicationsApplicationSpecSyncPolicyRetryBackoffArgs.builder()
                            .duration("string")
                            .factor("string")
                            .maxDuration("string")
                            .build())
                        .limit("string")
                        .build())
                    .syncOptions("string")
                    .build())
                .build())
            .build())
        .clusterId("string")
        .accountId("string")
        .projectId("string")
        .identifier("string")
        .optionsRemoveExistingFinalizers(false)
        .name("string")
        .project("string")
        .kind("string")
        .repoId("string")
        .requestCascade(false)
        .requestPropagationPolicy("string")
        .skipRepoValidation(false)
        .upsert(false)
        .validate(false)
        .build());
    
    git_ops_applications_resource = harness.platform.GitOpsApplications("gitOpsApplicationsResource",
        org_id="string",
        agent_id="string",
        applications=[harness.platform.GitOpsApplicationsApplicationArgs(
            metadatas=[harness.platform.GitOpsApplicationsApplicationMetadataArgs(
                annotations={
                    "string": "string",
                },
                cluster_name="string",
                finalizers=["string"],
                generate_name="string",
                generation="string",
                labels={
                    "string": "string",
                },
                name="string",
                namespace="string",
                owner_references=[harness.platform.GitOpsApplicationsApplicationMetadataOwnerReferenceArgs(
                    api_version="string",
                    block_owner_deletion=False,
                    controller=False,
                    kind="string",
                    name="string",
                    uid="string",
                )],
                uid="string",
            )],
            specs=[harness.platform.GitOpsApplicationsApplicationSpecArgs(
                destinations=[harness.platform.GitOpsApplicationsApplicationSpecDestinationArgs(
                    name="string",
                    namespace="string",
                    server="string",
                )],
                project="string",
                sources=[harness.platform.GitOpsApplicationsApplicationSpecSourceArgs(
                    repo_url="string",
                    target_revision="string",
                    chart="string",
                    directories=[harness.platform.GitOpsApplicationsApplicationSpecSourceDirectoryArgs(
                        exclude="string",
                        include="string",
                        jsonnets=[harness.platform.GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetArgs(
                            ext_vars=[harness.platform.GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetExtVarArgs(
                                code=False,
                                name="string",
                                value="string",
                            )],
                            libs=["string"],
                            tlas=[harness.platform.GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetTlaArgs(
                                code=False,
                                name="string",
                                value="string",
                            )],
                        )],
                        recurse=False,
                    )],
                    helms=[harness.platform.GitOpsApplicationsApplicationSpecSourceHelmArgs(
                        file_parameters=[harness.platform.GitOpsApplicationsApplicationSpecSourceHelmFileParameterArgs(
                            name="string",
                            path="string",
                        )],
                        parameters=[harness.platform.GitOpsApplicationsApplicationSpecSourceHelmParameterArgs(
                            force_string=False,
                            name="string",
                            value="string",
                        )],
                        pass_credentials=False,
                        release_name="string",
                        value_files=["string"],
                        values="string",
                        version="string",
                    )],
                    ksonnets=[harness.platform.GitOpsApplicationsApplicationSpecSourceKsonnetArgs(
                        environment="string",
                        parameters=[harness.platform.GitOpsApplicationsApplicationSpecSourceKsonnetParameterArgs(
                            component="string",
                            name="string",
                            value="string",
                        )],
                    )],
                    kustomizes=[harness.platform.GitOpsApplicationsApplicationSpecSourceKustomizeArgs(
                        common_annotations={
                            "string": "string",
                        },
                        common_labels={
                            "string": "string",
                        },
                        force_common_annotations=False,
                        force_common_labels=False,
                        images=["string"],
                        name_prefix="string",
                        name_suffix="string",
                        version="string",
                    )],
                    path="string",
                    plugins=[harness.platform.GitOpsApplicationsApplicationSpecSourcePluginArgs(
                        envs=[harness.platform.GitOpsApplicationsApplicationSpecSourcePluginEnvArgs(
                            name="string",
                            value="string",
                        )],
                        name="string",
                    )],
                )],
                sync_policies=[harness.platform.GitOpsApplicationsApplicationSpecSyncPolicyArgs(
                    automateds=[harness.platform.GitOpsApplicationsApplicationSpecSyncPolicyAutomatedArgs(
                        allow_empty=False,
                        prune=False,
                        self_heal=False,
                    )],
                    retries=[harness.platform.GitOpsApplicationsApplicationSpecSyncPolicyRetryArgs(
                        backoffs=[harness.platform.GitOpsApplicationsApplicationSpecSyncPolicyRetryBackoffArgs(
                            duration="string",
                            factor="string",
                            max_duration="string",
                        )],
                        limit="string",
                    )],
                    sync_options=["string"],
                )],
            )],
        )],
        cluster_id="string",
        account_id="string",
        project_id="string",
        identifier="string",
        options_remove_existing_finalizers=False,
        name="string",
        project="string",
        kind="string",
        repo_id="string",
        request_cascade=False,
        request_propagation_policy="string",
        skip_repo_validation=False,
        upsert=False,
        validate=False)
    
    const gitOpsApplicationsResource = new harness.platform.GitOpsApplications("gitOpsApplicationsResource", {
        orgId: "string",
        agentId: "string",
        applications: [{
            metadatas: [{
                annotations: {
                    string: "string",
                },
                clusterName: "string",
                finalizers: ["string"],
                generateName: "string",
                generation: "string",
                labels: {
                    string: "string",
                },
                name: "string",
                namespace: "string",
                ownerReferences: [{
                    apiVersion: "string",
                    blockOwnerDeletion: false,
                    controller: false,
                    kind: "string",
                    name: "string",
                    uid: "string",
                }],
                uid: "string",
            }],
            specs: [{
                destinations: [{
                    name: "string",
                    namespace: "string",
                    server: "string",
                }],
                project: "string",
                sources: [{
                    repoUrl: "string",
                    targetRevision: "string",
                    chart: "string",
                    directories: [{
                        exclude: "string",
                        include: "string",
                        jsonnets: [{
                            extVars: [{
                                code: false,
                                name: "string",
                                value: "string",
                            }],
                            libs: ["string"],
                            tlas: [{
                                code: false,
                                name: "string",
                                value: "string",
                            }],
                        }],
                        recurse: false,
                    }],
                    helms: [{
                        fileParameters: [{
                            name: "string",
                            path: "string",
                        }],
                        parameters: [{
                            forceString: false,
                            name: "string",
                            value: "string",
                        }],
                        passCredentials: false,
                        releaseName: "string",
                        valueFiles: ["string"],
                        values: "string",
                        version: "string",
                    }],
                    ksonnets: [{
                        environment: "string",
                        parameters: [{
                            component: "string",
                            name: "string",
                            value: "string",
                        }],
                    }],
                    kustomizes: [{
                        commonAnnotations: {
                            string: "string",
                        },
                        commonLabels: {
                            string: "string",
                        },
                        forceCommonAnnotations: false,
                        forceCommonLabels: false,
                        images: ["string"],
                        namePrefix: "string",
                        nameSuffix: "string",
                        version: "string",
                    }],
                    path: "string",
                    plugins: [{
                        envs: [{
                            name: "string",
                            value: "string",
                        }],
                        name: "string",
                    }],
                }],
                syncPolicies: [{
                    automateds: [{
                        allowEmpty: false,
                        prune: false,
                        selfHeal: false,
                    }],
                    retries: [{
                        backoffs: [{
                            duration: "string",
                            factor: "string",
                            maxDuration: "string",
                        }],
                        limit: "string",
                    }],
                    syncOptions: ["string"],
                }],
            }],
        }],
        clusterId: "string",
        accountId: "string",
        projectId: "string",
        identifier: "string",
        optionsRemoveExistingFinalizers: false,
        name: "string",
        project: "string",
        kind: "string",
        repoId: "string",
        requestCascade: false,
        requestPropagationPolicy: "string",
        skipRepoValidation: false,
        upsert: false,
        validate: false,
    });
    
    type: harness:platform:GitOpsApplications
    properties:
        accountId: string
        agentId: string
        applications:
            - metadatas:
                - annotations:
                    string: string
                  clusterName: string
                  finalizers:
                    - string
                  generateName: string
                  generation: string
                  labels:
                    string: string
                  name: string
                  namespace: string
                  ownerReferences:
                    - apiVersion: string
                      blockOwnerDeletion: false
                      controller: false
                      kind: string
                      name: string
                      uid: string
                  uid: string
              specs:
                - destinations:
                    - name: string
                      namespace: string
                      server: string
                  project: string
                  sources:
                    - chart: string
                      directories:
                        - exclude: string
                          include: string
                          jsonnets:
                            - extVars:
                                - code: false
                                  name: string
                                  value: string
                              libs:
                                - string
                              tlas:
                                - code: false
                                  name: string
                                  value: string
                          recurse: false
                      helms:
                        - fileParameters:
                            - name: string
                              path: string
                          parameters:
                            - forceString: false
                              name: string
                              value: string
                          passCredentials: false
                          releaseName: string
                          valueFiles:
                            - string
                          values: string
                          version: string
                      ksonnets:
                        - environment: string
                          parameters:
                            - component: string
                              name: string
                              value: string
                      kustomizes:
                        - commonAnnotations:
                            string: string
                          commonLabels:
                            string: string
                          forceCommonAnnotations: false
                          forceCommonLabels: false
                          images:
                            - string
                          namePrefix: string
                          nameSuffix: string
                          version: string
                      path: string
                      plugins:
                        - envs:
                            - name: string
                              value: string
                          name: string
                      repoUrl: string
                      targetRevision: string
                  syncPolicies:
                    - automateds:
                        - allowEmpty: false
                          prune: false
                          selfHeal: false
                      retries:
                        - backoffs:
                            - duration: string
                              factor: string
                              maxDuration: string
                          limit: string
                      syncOptions:
                        - string
        clusterId: string
        identifier: string
        kind: string
        name: string
        optionsRemoveExistingFinalizers: false
        orgId: string
        project: string
        projectId: string
        repoId: string
        requestCascade: false
        requestPropagationPolicy: string
        skipRepoValidation: false
        upsert: false
        validate: false
    

    GitOpsApplications Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The GitOpsApplications resource accepts the following input properties:

    AccountId string
    Account identifier of the GitOps application.
    AgentId string
    Agent identifier of the GitOps application.
    Applications List<GitOpsApplicationsApplication>
    Definition of the GitOps application resource.
    ClusterId string
    Cluster identifier of the GitOps application.
    OrgId string
    Organization identifier of the GitOps application.
    ProjectId string
    Project identifier of the GitOps application.
    Identifier string
    Identifier of the GitOps application.
    Kind string
    Kind of the GitOps application.
    Name string
    Name of the GitOps application.
    OptionsRemoveExistingFinalizers bool
    Options to remove existing finalizers to delete the GitOps application.
    Project string
    The ArgoCD project name corresponding to this GitOps application. An empty string means that the GitOps application belongs to the default project created by Harness.
    RepoId string
    Repository identifier of the GitOps application.
    RequestCascade bool
    Request cascade to delete the GitOps application.
    RequestPropagationPolicy string
    Request propagation policy to delete the GitOps application.
    SkipRepoValidation bool
    Indicates if the GitOps application should skip validate repository definition exists.
    Upsert bool
    Indicates if the GitOps application should be updated if existing and inserted if not.
    Validate bool
    Indicates if the GitOps application yaml has to be validated.
    AccountId string
    Account identifier of the GitOps application.
    AgentId string
    Agent identifier of the GitOps application.
    Applications []GitOpsApplicationsApplicationArgs
    Definition of the GitOps application resource.
    ClusterId string
    Cluster identifier of the GitOps application.
    OrgId string
    Organization identifier of the GitOps application.
    ProjectId string
    Project identifier of the GitOps application.
    Identifier string
    Identifier of the GitOps application.
    Kind string
    Kind of the GitOps application.
    Name string
    Name of the GitOps application.
    OptionsRemoveExistingFinalizers bool
    Options to remove existing finalizers to delete the GitOps application.
    Project string
    The ArgoCD project name corresponding to this GitOps application. An empty string means that the GitOps application belongs to the default project created by Harness.
    RepoId string
    Repository identifier of the GitOps application.
    RequestCascade bool
    Request cascade to delete the GitOps application.
    RequestPropagationPolicy string
    Request propagation policy to delete the GitOps application.
    SkipRepoValidation bool
    Indicates if the GitOps application should skip validate repository definition exists.
    Upsert bool
    Indicates if the GitOps application should be updated if existing and inserted if not.
    Validate bool
    Indicates if the GitOps application yaml has to be validated.
    accountId String
    Account identifier of the GitOps application.
    agentId String
    Agent identifier of the GitOps application.
    applications List<GitOpsApplicationsApplication>
    Definition of the GitOps application resource.
    clusterId String
    Cluster identifier of the GitOps application.
    orgId String
    Organization identifier of the GitOps application.
    projectId String
    Project identifier of the GitOps application.
    identifier String
    Identifier of the GitOps application.
    kind String
    Kind of the GitOps application.
    name String
    Name of the GitOps application.
    optionsRemoveExistingFinalizers Boolean
    Options to remove existing finalizers to delete the GitOps application.
    project String
    The ArgoCD project name corresponding to this GitOps application. An empty string means that the GitOps application belongs to the default project created by Harness.
    repoId String
    Repository identifier of the GitOps application.
    requestCascade Boolean
    Request cascade to delete the GitOps application.
    requestPropagationPolicy String
    Request propagation policy to delete the GitOps application.
    skipRepoValidation Boolean
    Indicates if the GitOps application should skip validate repository definition exists.
    upsert Boolean
    Indicates if the GitOps application should be updated if existing and inserted if not.
    validate Boolean
    Indicates if the GitOps application yaml has to be validated.
    accountId string
    Account identifier of the GitOps application.
    agentId string
    Agent identifier of the GitOps application.
    applications GitOpsApplicationsApplication[]
    Definition of the GitOps application resource.
    clusterId string
    Cluster identifier of the GitOps application.
    orgId string
    Organization identifier of the GitOps application.
    projectId string
    Project identifier of the GitOps application.
    identifier string
    Identifier of the GitOps application.
    kind string
    Kind of the GitOps application.
    name string
    Name of the GitOps application.
    optionsRemoveExistingFinalizers boolean
    Options to remove existing finalizers to delete the GitOps application.
    project string
    The ArgoCD project name corresponding to this GitOps application. An empty string means that the GitOps application belongs to the default project created by Harness.
    repoId string
    Repository identifier of the GitOps application.
    requestCascade boolean
    Request cascade to delete the GitOps application.
    requestPropagationPolicy string
    Request propagation policy to delete the GitOps application.
    skipRepoValidation boolean
    Indicates if the GitOps application should skip validate repository definition exists.
    upsert boolean
    Indicates if the GitOps application should be updated if existing and inserted if not.
    validate boolean
    Indicates if the GitOps application yaml has to be validated.
    account_id str
    Account identifier of the GitOps application.
    agent_id str
    Agent identifier of the GitOps application.
    applications Sequence[GitOpsApplicationsApplicationArgs]
    Definition of the GitOps application resource.
    cluster_id str
    Cluster identifier of the GitOps application.
    org_id str
    Organization identifier of the GitOps application.
    project_id str
    Project identifier of the GitOps application.
    identifier str
    Identifier of the GitOps application.
    kind str
    Kind of the GitOps application.
    name str
    Name of the GitOps application.
    options_remove_existing_finalizers bool
    Options to remove existing finalizers to delete the GitOps application.
    project str
    The ArgoCD project name corresponding to this GitOps application. An empty string means that the GitOps application belongs to the default project created by Harness.
    repo_id str
    Repository identifier of the GitOps application.
    request_cascade bool
    Request cascade to delete the GitOps application.
    request_propagation_policy str
    Request propagation policy to delete the GitOps application.
    skip_repo_validation bool
    Indicates if the GitOps application should skip validate repository definition exists.
    upsert bool
    Indicates if the GitOps application should be updated if existing and inserted if not.
    validate bool
    Indicates if the GitOps application yaml has to be validated.
    accountId String
    Account identifier of the GitOps application.
    agentId String
    Agent identifier of the GitOps application.
    applications List<Property Map>
    Definition of the GitOps application resource.
    clusterId String
    Cluster identifier of the GitOps application.
    orgId String
    Organization identifier of the GitOps application.
    projectId String
    Project identifier of the GitOps application.
    identifier String
    Identifier of the GitOps application.
    kind String
    Kind of the GitOps application.
    name String
    Name of the GitOps application.
    optionsRemoveExistingFinalizers Boolean
    Options to remove existing finalizers to delete the GitOps application.
    project String
    The ArgoCD project name corresponding to this GitOps application. An empty string means that the GitOps application belongs to the default project created by Harness.
    repoId String
    Repository identifier of the GitOps application.
    requestCascade Boolean
    Request cascade to delete the GitOps application.
    requestPropagationPolicy String
    Request propagation policy to delete the GitOps application.
    skipRepoValidation Boolean
    Indicates if the GitOps application should skip validate repository definition exists.
    upsert Boolean
    Indicates if the GitOps application should be updated if existing and inserted if not.
    validate Boolean
    Indicates if the GitOps application yaml has to be validated.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the GitOpsApplications resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing GitOpsApplications Resource

    Get an existing GitOpsApplications resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: GitOpsApplicationsState, opts?: CustomResourceOptions): GitOpsApplications
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            agent_id: Optional[str] = None,
            applications: Optional[Sequence[GitOpsApplicationsApplicationArgs]] = None,
            cluster_id: Optional[str] = None,
            identifier: Optional[str] = None,
            kind: Optional[str] = None,
            name: Optional[str] = None,
            options_remove_existing_finalizers: Optional[bool] = None,
            org_id: Optional[str] = None,
            project: Optional[str] = None,
            project_id: Optional[str] = None,
            repo_id: Optional[str] = None,
            request_cascade: Optional[bool] = None,
            request_propagation_policy: Optional[str] = None,
            skip_repo_validation: Optional[bool] = None,
            upsert: Optional[bool] = None,
            validate: Optional[bool] = None) -> GitOpsApplications
    func GetGitOpsApplications(ctx *Context, name string, id IDInput, state *GitOpsApplicationsState, opts ...ResourceOption) (*GitOpsApplications, error)
    public static GitOpsApplications Get(string name, Input<string> id, GitOpsApplicationsState? state, CustomResourceOptions? opts = null)
    public static GitOpsApplications get(String name, Output<String> id, GitOpsApplicationsState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AccountId string
    Account identifier of the GitOps application.
    AgentId string
    Agent identifier of the GitOps application.
    Applications List<GitOpsApplicationsApplication>
    Definition of the GitOps application resource.
    ClusterId string
    Cluster identifier of the GitOps application.
    Identifier string
    Identifier of the GitOps application.
    Kind string
    Kind of the GitOps application.
    Name string
    Name of the GitOps application.
    OptionsRemoveExistingFinalizers bool
    Options to remove existing finalizers to delete the GitOps application.
    OrgId string
    Organization identifier of the GitOps application.
    Project string
    The ArgoCD project name corresponding to this GitOps application. An empty string means that the GitOps application belongs to the default project created by Harness.
    ProjectId string
    Project identifier of the GitOps application.
    RepoId string
    Repository identifier of the GitOps application.
    RequestCascade bool
    Request cascade to delete the GitOps application.
    RequestPropagationPolicy string
    Request propagation policy to delete the GitOps application.
    SkipRepoValidation bool
    Indicates if the GitOps application should skip validate repository definition exists.
    Upsert bool
    Indicates if the GitOps application should be updated if existing and inserted if not.
    Validate bool
    Indicates if the GitOps application yaml has to be validated.
    AccountId string
    Account identifier of the GitOps application.
    AgentId string
    Agent identifier of the GitOps application.
    Applications []GitOpsApplicationsApplicationArgs
    Definition of the GitOps application resource.
    ClusterId string
    Cluster identifier of the GitOps application.
    Identifier string
    Identifier of the GitOps application.
    Kind string
    Kind of the GitOps application.
    Name string
    Name of the GitOps application.
    OptionsRemoveExistingFinalizers bool
    Options to remove existing finalizers to delete the GitOps application.
    OrgId string
    Organization identifier of the GitOps application.
    Project string
    The ArgoCD project name corresponding to this GitOps application. An empty string means that the GitOps application belongs to the default project created by Harness.
    ProjectId string
    Project identifier of the GitOps application.
    RepoId string
    Repository identifier of the GitOps application.
    RequestCascade bool
    Request cascade to delete the GitOps application.
    RequestPropagationPolicy string
    Request propagation policy to delete the GitOps application.
    SkipRepoValidation bool
    Indicates if the GitOps application should skip validate repository definition exists.
    Upsert bool
    Indicates if the GitOps application should be updated if existing and inserted if not.
    Validate bool
    Indicates if the GitOps application yaml has to be validated.
    accountId String
    Account identifier of the GitOps application.
    agentId String
    Agent identifier of the GitOps application.
    applications List<GitOpsApplicationsApplication>
    Definition of the GitOps application resource.
    clusterId String
    Cluster identifier of the GitOps application.
    identifier String
    Identifier of the GitOps application.
    kind String
    Kind of the GitOps application.
    name String
    Name of the GitOps application.
    optionsRemoveExistingFinalizers Boolean
    Options to remove existing finalizers to delete the GitOps application.
    orgId String
    Organization identifier of the GitOps application.
    project String
    The ArgoCD project name corresponding to this GitOps application. An empty string means that the GitOps application belongs to the default project created by Harness.
    projectId String
    Project identifier of the GitOps application.
    repoId String
    Repository identifier of the GitOps application.
    requestCascade Boolean
    Request cascade to delete the GitOps application.
    requestPropagationPolicy String
    Request propagation policy to delete the GitOps application.
    skipRepoValidation Boolean
    Indicates if the GitOps application should skip validate repository definition exists.
    upsert Boolean
    Indicates if the GitOps application should be updated if existing and inserted if not.
    validate Boolean
    Indicates if the GitOps application yaml has to be validated.
    accountId string
    Account identifier of the GitOps application.
    agentId string
    Agent identifier of the GitOps application.
    applications GitOpsApplicationsApplication[]
    Definition of the GitOps application resource.
    clusterId string
    Cluster identifier of the GitOps application.
    identifier string
    Identifier of the GitOps application.
    kind string
    Kind of the GitOps application.
    name string
    Name of the GitOps application.
    optionsRemoveExistingFinalizers boolean
    Options to remove existing finalizers to delete the GitOps application.
    orgId string
    Organization identifier of the GitOps application.
    project string
    The ArgoCD project name corresponding to this GitOps application. An empty string means that the GitOps application belongs to the default project created by Harness.
    projectId string
    Project identifier of the GitOps application.
    repoId string
    Repository identifier of the GitOps application.
    requestCascade boolean
    Request cascade to delete the GitOps application.
    requestPropagationPolicy string
    Request propagation policy to delete the GitOps application.
    skipRepoValidation boolean
    Indicates if the GitOps application should skip validate repository definition exists.
    upsert boolean
    Indicates if the GitOps application should be updated if existing and inserted if not.
    validate boolean
    Indicates if the GitOps application yaml has to be validated.
    account_id str
    Account identifier of the GitOps application.
    agent_id str
    Agent identifier of the GitOps application.
    applications Sequence[GitOpsApplicationsApplicationArgs]
    Definition of the GitOps application resource.
    cluster_id str
    Cluster identifier of the GitOps application.
    identifier str
    Identifier of the GitOps application.
    kind str
    Kind of the GitOps application.
    name str
    Name of the GitOps application.
    options_remove_existing_finalizers bool
    Options to remove existing finalizers to delete the GitOps application.
    org_id str
    Organization identifier of the GitOps application.
    project str
    The ArgoCD project name corresponding to this GitOps application. An empty string means that the GitOps application belongs to the default project created by Harness.
    project_id str
    Project identifier of the GitOps application.
    repo_id str
    Repository identifier of the GitOps application.
    request_cascade bool
    Request cascade to delete the GitOps application.
    request_propagation_policy str
    Request propagation policy to delete the GitOps application.
    skip_repo_validation bool
    Indicates if the GitOps application should skip validate repository definition exists.
    upsert bool
    Indicates if the GitOps application should be updated if existing and inserted if not.
    validate bool
    Indicates if the GitOps application yaml has to be validated.
    accountId String
    Account identifier of the GitOps application.
    agentId String
    Agent identifier of the GitOps application.
    applications List<Property Map>
    Definition of the GitOps application resource.
    clusterId String
    Cluster identifier of the GitOps application.
    identifier String
    Identifier of the GitOps application.
    kind String
    Kind of the GitOps application.
    name String
    Name of the GitOps application.
    optionsRemoveExistingFinalizers Boolean
    Options to remove existing finalizers to delete the GitOps application.
    orgId String
    Organization identifier of the GitOps application.
    project String
    The ArgoCD project name corresponding to this GitOps application. An empty string means that the GitOps application belongs to the default project created by Harness.
    projectId String
    Project identifier of the GitOps application.
    repoId String
    Repository identifier of the GitOps application.
    requestCascade Boolean
    Request cascade to delete the GitOps application.
    requestPropagationPolicy String
    Request propagation policy to delete the GitOps application.
    skipRepoValidation Boolean
    Indicates if the GitOps application should skip validate repository definition exists.
    upsert Boolean
    Indicates if the GitOps application should be updated if existing and inserted if not.
    validate Boolean
    Indicates if the GitOps application yaml has to be validated.

    Supporting Types

    GitOpsApplicationsApplication, GitOpsApplicationsApplicationArgs

    Metadatas List<GitOpsApplicationsApplicationMetadata>
    Metadata corresponding to the resources. This includes all the objects a user must create.
    Specs List<GitOpsApplicationsApplicationSpec>
    Specifications of the GitOps application. This includes the repository URL, application definition, source, destination and sync policy.
    Metadatas []GitOpsApplicationsApplicationMetadata
    Metadata corresponding to the resources. This includes all the objects a user must create.
    Specs []GitOpsApplicationsApplicationSpec
    Specifications of the GitOps application. This includes the repository URL, application definition, source, destination and sync policy.
    metadatas List<GitOpsApplicationsApplicationMetadata>
    Metadata corresponding to the resources. This includes all the objects a user must create.
    specs List<GitOpsApplicationsApplicationSpec>
    Specifications of the GitOps application. This includes the repository URL, application definition, source, destination and sync policy.
    metadatas GitOpsApplicationsApplicationMetadata[]
    Metadata corresponding to the resources. This includes all the objects a user must create.
    specs GitOpsApplicationsApplicationSpec[]
    Specifications of the GitOps application. This includes the repository URL, application definition, source, destination and sync policy.
    metadatas Sequence[GitOpsApplicationsApplicationMetadata]
    Metadata corresponding to the resources. This includes all the objects a user must create.
    specs Sequence[GitOpsApplicationsApplicationSpec]
    Specifications of the GitOps application. This includes the repository URL, application definition, source, destination and sync policy.
    metadatas List<Property Map>
    Metadata corresponding to the resources. This includes all the objects a user must create.
    specs List<Property Map>
    Specifications of the GitOps application. This includes the repository URL, application definition, source, destination and sync policy.

    GitOpsApplicationsApplicationMetadata, GitOpsApplicationsApplicationMetadataArgs

    Annotations Dictionary<string, string>
    Annotations are unstructured key value pairs corresponding to a resource. External tools set these to store and retrieve arbitrary metadata.
    ClusterName string
    Name of the cluster corresponding to the object. API server ignores this if set in any create or update request.
    Finalizers List<string>
    Before the object is removed from the register, it must be empty. Each element serves as a unique identifier for the component that is accountable for removing that entry from the list. Entries in this list can only be removed if the object's deletionTimestamp is not null. The processing and removal of finalizers can happen in any sequence. No order is enforced as it may block the finalizers. Finalizers is a shared field that can be reordered by any actor with authority. If the finalizer list is processed in order, this could result in a scenario where the component in charge of the list's first finalizer is waiting for a signal (generated by a field value, an external system, or another) produced by a component in charge of the list's later finalizer.
    GenerateName string
    An optional prefix that the server will only apply if the Name field is empty to create a unique name. The name returned to the client will differ from the name passed if this field is used. A unique suffix will be added to this value as well. The supplied value must adhere to the same validation guidelines as the Name field and may be reduced by the suffix length necessary to ensure that it is unique on the server. The server will NOT return a 409 if this field is supplied and the created name already exists; instead, it will either return 201 Created or 500 with Reason ServerTimeout, indicating that a unique name could not be found in the allotted time and the client should try again later.
    Generation string
    A sequence number representing a specific generation of the desired state. This is a read-only value populated by the system.
    Labels Dictionary<string, string>
    Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services.
    Name string
    Name must be unique within a namespace. It is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Name cannot be updated.
    Namespace string
    Namespace of the GitOps application. An empty namespace is equivalent to the namespace of the GitOps agent.
    OwnerReferences List<GitOpsApplicationsApplicationMetadataOwnerReference>
    List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.
    Uid string
    UID is the unique identifier in time and space value for this object. It is generated by the server on successful creation of a resource and is not allowed to change on PUT operations.
    Annotations map[string]string
    Annotations are unstructured key value pairs corresponding to a resource. External tools set these to store and retrieve arbitrary metadata.
    ClusterName string
    Name of the cluster corresponding to the object. API server ignores this if set in any create or update request.
    Finalizers []string
    Before the object is removed from the register, it must be empty. Each element serves as a unique identifier for the component that is accountable for removing that entry from the list. Entries in this list can only be removed if the object's deletionTimestamp is not null. The processing and removal of finalizers can happen in any sequence. No order is enforced as it may block the finalizers. Finalizers is a shared field that can be reordered by any actor with authority. If the finalizer list is processed in order, this could result in a scenario where the component in charge of the list's first finalizer is waiting for a signal (generated by a field value, an external system, or another) produced by a component in charge of the list's later finalizer.
    GenerateName string
    An optional prefix that the server will only apply if the Name field is empty to create a unique name. The name returned to the client will differ from the name passed if this field is used. A unique suffix will be added to this value as well. The supplied value must adhere to the same validation guidelines as the Name field and may be reduced by the suffix length necessary to ensure that it is unique on the server. The server will NOT return a 409 if this field is supplied and the created name already exists; instead, it will either return 201 Created or 500 with Reason ServerTimeout, indicating that a unique name could not be found in the allotted time and the client should try again later.
    Generation string
    A sequence number representing a specific generation of the desired state. This is a read-only value populated by the system.
    Labels map[string]string
    Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services.
    Name string
    Name must be unique within a namespace. It is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Name cannot be updated.
    Namespace string
    Namespace of the GitOps application. An empty namespace is equivalent to the namespace of the GitOps agent.
    OwnerReferences []GitOpsApplicationsApplicationMetadataOwnerReference
    List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.
    Uid string
    UID is the unique identifier in time and space value for this object. It is generated by the server on successful creation of a resource and is not allowed to change on PUT operations.
    annotations Map<String,String>
    Annotations are unstructured key value pairs corresponding to a resource. External tools set these to store and retrieve arbitrary metadata.
    clusterName String
    Name of the cluster corresponding to the object. API server ignores this if set in any create or update request.
    finalizers List<String>
    Before the object is removed from the register, it must be empty. Each element serves as a unique identifier for the component that is accountable for removing that entry from the list. Entries in this list can only be removed if the object's deletionTimestamp is not null. The processing and removal of finalizers can happen in any sequence. No order is enforced as it may block the finalizers. Finalizers is a shared field that can be reordered by any actor with authority. If the finalizer list is processed in order, this could result in a scenario where the component in charge of the list's first finalizer is waiting for a signal (generated by a field value, an external system, or another) produced by a component in charge of the list's later finalizer.
    generateName String
    An optional prefix that the server will only apply if the Name field is empty to create a unique name. The name returned to the client will differ from the name passed if this field is used. A unique suffix will be added to this value as well. The supplied value must adhere to the same validation guidelines as the Name field and may be reduced by the suffix length necessary to ensure that it is unique on the server. The server will NOT return a 409 if this field is supplied and the created name already exists; instead, it will either return 201 Created or 500 with Reason ServerTimeout, indicating that a unique name could not be found in the allotted time and the client should try again later.
    generation String
    A sequence number representing a specific generation of the desired state. This is a read-only value populated by the system.
    labels Map<String,String>
    Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services.
    name String
    Name must be unique within a namespace. It is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Name cannot be updated.
    namespace String
    Namespace of the GitOps application. An empty namespace is equivalent to the namespace of the GitOps agent.
    ownerReferences List<GitOpsApplicationsApplicationMetadataOwnerReference>
    List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.
    uid String
    UID is the unique identifier in time and space value for this object. It is generated by the server on successful creation of a resource and is not allowed to change on PUT operations.
    annotations {[key: string]: string}
    Annotations are unstructured key value pairs corresponding to a resource. External tools set these to store and retrieve arbitrary metadata.
    clusterName string
    Name of the cluster corresponding to the object. API server ignores this if set in any create or update request.
    finalizers string[]
    Before the object is removed from the register, it must be empty. Each element serves as a unique identifier for the component that is accountable for removing that entry from the list. Entries in this list can only be removed if the object's deletionTimestamp is not null. The processing and removal of finalizers can happen in any sequence. No order is enforced as it may block the finalizers. Finalizers is a shared field that can be reordered by any actor with authority. If the finalizer list is processed in order, this could result in a scenario where the component in charge of the list's first finalizer is waiting for a signal (generated by a field value, an external system, or another) produced by a component in charge of the list's later finalizer.
    generateName string
    An optional prefix that the server will only apply if the Name field is empty to create a unique name. The name returned to the client will differ from the name passed if this field is used. A unique suffix will be added to this value as well. The supplied value must adhere to the same validation guidelines as the Name field and may be reduced by the suffix length necessary to ensure that it is unique on the server. The server will NOT return a 409 if this field is supplied and the created name already exists; instead, it will either return 201 Created or 500 with Reason ServerTimeout, indicating that a unique name could not be found in the allotted time and the client should try again later.
    generation string
    A sequence number representing a specific generation of the desired state. This is a read-only value populated by the system.
    labels {[key: string]: string}
    Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services.
    name string
    Name must be unique within a namespace. It is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Name cannot be updated.
    namespace string
    Namespace of the GitOps application. An empty namespace is equivalent to the namespace of the GitOps agent.
    ownerReferences GitOpsApplicationsApplicationMetadataOwnerReference[]
    List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.
    uid string
    UID is the unique identifier in time and space value for this object. It is generated by the server on successful creation of a resource and is not allowed to change on PUT operations.
    annotations Mapping[str, str]
    Annotations are unstructured key value pairs corresponding to a resource. External tools set these to store and retrieve arbitrary metadata.
    cluster_name str
    Name of the cluster corresponding to the object. API server ignores this if set in any create or update request.
    finalizers Sequence[str]
    Before the object is removed from the register, it must be empty. Each element serves as a unique identifier for the component that is accountable for removing that entry from the list. Entries in this list can only be removed if the object's deletionTimestamp is not null. The processing and removal of finalizers can happen in any sequence. No order is enforced as it may block the finalizers. Finalizers is a shared field that can be reordered by any actor with authority. If the finalizer list is processed in order, this could result in a scenario where the component in charge of the list's first finalizer is waiting for a signal (generated by a field value, an external system, or another) produced by a component in charge of the list's later finalizer.
    generate_name str
    An optional prefix that the server will only apply if the Name field is empty to create a unique name. The name returned to the client will differ from the name passed if this field is used. A unique suffix will be added to this value as well. The supplied value must adhere to the same validation guidelines as the Name field and may be reduced by the suffix length necessary to ensure that it is unique on the server. The server will NOT return a 409 if this field is supplied and the created name already exists; instead, it will either return 201 Created or 500 with Reason ServerTimeout, indicating that a unique name could not be found in the allotted time and the client should try again later.
    generation str
    A sequence number representing a specific generation of the desired state. This is a read-only value populated by the system.
    labels Mapping[str, str]
    Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services.
    name str
    Name must be unique within a namespace. It is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Name cannot be updated.
    namespace str
    Namespace of the GitOps application. An empty namespace is equivalent to the namespace of the GitOps agent.
    owner_references Sequence[GitOpsApplicationsApplicationMetadataOwnerReference]
    List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.
    uid str
    UID is the unique identifier in time and space value for this object. It is generated by the server on successful creation of a resource and is not allowed to change on PUT operations.
    annotations Map<String>
    Annotations are unstructured key value pairs corresponding to a resource. External tools set these to store and retrieve arbitrary metadata.
    clusterName String
    Name of the cluster corresponding to the object. API server ignores this if set in any create or update request.
    finalizers List<String>
    Before the object is removed from the register, it must be empty. Each element serves as a unique identifier for the component that is accountable for removing that entry from the list. Entries in this list can only be removed if the object's deletionTimestamp is not null. The processing and removal of finalizers can happen in any sequence. No order is enforced as it may block the finalizers. Finalizers is a shared field that can be reordered by any actor with authority. If the finalizer list is processed in order, this could result in a scenario where the component in charge of the list's first finalizer is waiting for a signal (generated by a field value, an external system, or another) produced by a component in charge of the list's later finalizer.
    generateName String
    An optional prefix that the server will only apply if the Name field is empty to create a unique name. The name returned to the client will differ from the name passed if this field is used. A unique suffix will be added to this value as well. The supplied value must adhere to the same validation guidelines as the Name field and may be reduced by the suffix length necessary to ensure that it is unique on the server. The server will NOT return a 409 if this field is supplied and the created name already exists; instead, it will either return 201 Created or 500 with Reason ServerTimeout, indicating that a unique name could not be found in the allotted time and the client should try again later.
    generation String
    A sequence number representing a specific generation of the desired state. This is a read-only value populated by the system.
    labels Map<String>
    Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services.
    name String
    Name must be unique within a namespace. It is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Name cannot be updated.
    namespace String
    Namespace of the GitOps application. An empty namespace is equivalent to the namespace of the GitOps agent.
    ownerReferences List<Property Map>
    List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.
    uid String
    UID is the unique identifier in time and space value for this object. It is generated by the server on successful creation of a resource and is not allowed to change on PUT operations.

    GitOpsApplicationsApplicationMetadataOwnerReference, GitOpsApplicationsApplicationMetadataOwnerReferenceArgs

    ApiVersion string
    API version of the referent.
    BlockOwnerDeletion bool
    If true, AND if the owner has the "foregroundDeletion" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs "delete" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.
    Controller bool
    Indicates if the reference points to the managing controller.
    Kind string
    Kind of the referent.
    Name string
    Name of the referent.
    Uid string
    UID of the referent.
    ApiVersion string
    API version of the referent.
    BlockOwnerDeletion bool
    If true, AND if the owner has the "foregroundDeletion" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs "delete" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.
    Controller bool
    Indicates if the reference points to the managing controller.
    Kind string
    Kind of the referent.
    Name string
    Name of the referent.
    Uid string
    UID of the referent.
    apiVersion String
    API version of the referent.
    blockOwnerDeletion Boolean
    If true, AND if the owner has the "foregroundDeletion" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs "delete" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.
    controller Boolean
    Indicates if the reference points to the managing controller.
    kind String
    Kind of the referent.
    name String
    Name of the referent.
    uid String
    UID of the referent.
    apiVersion string
    API version of the referent.
    blockOwnerDeletion boolean
    If true, AND if the owner has the "foregroundDeletion" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs "delete" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.
    controller boolean
    Indicates if the reference points to the managing controller.
    kind string
    Kind of the referent.
    name string
    Name of the referent.
    uid string
    UID of the referent.
    api_version str
    API version of the referent.
    block_owner_deletion bool
    If true, AND if the owner has the "foregroundDeletion" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs "delete" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.
    controller bool
    Indicates if the reference points to the managing controller.
    kind str
    Kind of the referent.
    name str
    Name of the referent.
    uid str
    UID of the referent.
    apiVersion String
    API version of the referent.
    blockOwnerDeletion Boolean
    If true, AND if the owner has the "foregroundDeletion" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs "delete" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.
    controller Boolean
    Indicates if the reference points to the managing controller.
    kind String
    Kind of the referent.
    name String
    Name of the referent.
    uid String
    UID of the referent.

    GitOpsApplicationsApplicationSpec, GitOpsApplicationsApplicationSpecArgs

    Destinations List<GitOpsApplicationsApplicationSpecDestination>
    Information about the GitOps application's destination.
    Project string
    The ArgoCD project name corresponding to this GitOps application. An empty string means that the GitOps application belongs to the default project created by Harness.
    Sources List<GitOpsApplicationsApplicationSpecSource>
    Contains all information about the source of the GitOps application.
    SyncPolicies List<GitOpsApplicationsApplicationSpecSyncPolicy>
    Controls when a sync will be performed in response to updates in git.
    Destinations []GitOpsApplicationsApplicationSpecDestination
    Information about the GitOps application's destination.
    Project string
    The ArgoCD project name corresponding to this GitOps application. An empty string means that the GitOps application belongs to the default project created by Harness.
    Sources []GitOpsApplicationsApplicationSpecSource
    Contains all information about the source of the GitOps application.
    SyncPolicies []GitOpsApplicationsApplicationSpecSyncPolicy
    Controls when a sync will be performed in response to updates in git.
    destinations List<GitOpsApplicationsApplicationSpecDestination>
    Information about the GitOps application's destination.
    project String
    The ArgoCD project name corresponding to this GitOps application. An empty string means that the GitOps application belongs to the default project created by Harness.
    sources List<GitOpsApplicationsApplicationSpecSource>
    Contains all information about the source of the GitOps application.
    syncPolicies List<GitOpsApplicationsApplicationSpecSyncPolicy>
    Controls when a sync will be performed in response to updates in git.
    destinations GitOpsApplicationsApplicationSpecDestination[]
    Information about the GitOps application's destination.
    project string
    The ArgoCD project name corresponding to this GitOps application. An empty string means that the GitOps application belongs to the default project created by Harness.
    sources GitOpsApplicationsApplicationSpecSource[]
    Contains all information about the source of the GitOps application.
    syncPolicies GitOpsApplicationsApplicationSpecSyncPolicy[]
    Controls when a sync will be performed in response to updates in git.
    destinations Sequence[GitOpsApplicationsApplicationSpecDestination]
    Information about the GitOps application's destination.
    project str
    The ArgoCD project name corresponding to this GitOps application. An empty string means that the GitOps application belongs to the default project created by Harness.
    sources Sequence[GitOpsApplicationsApplicationSpecSource]
    Contains all information about the source of the GitOps application.
    sync_policies Sequence[GitOpsApplicationsApplicationSpecSyncPolicy]
    Controls when a sync will be performed in response to updates in git.
    destinations List<Property Map>
    Information about the GitOps application's destination.
    project String
    The ArgoCD project name corresponding to this GitOps application. An empty string means that the GitOps application belongs to the default project created by Harness.
    sources List<Property Map>
    Contains all information about the source of the GitOps application.
    syncPolicies List<Property Map>
    Controls when a sync will be performed in response to updates in git.

    GitOpsApplicationsApplicationSpecDestination, GitOpsApplicationsApplicationSpecDestinationArgs

    Name string
    URL of the target cluster and must be set to the kubernetes control plane API.
    Namespace string
    Target namespace of the GitOps application's resources. The namespace will only be set for namespace-scoped resources that have not set a value for .metadata.namespace.
    Server string
    URL of the target cluster server for the GitOps application.
    Name string
    URL of the target cluster and must be set to the kubernetes control plane API.
    Namespace string
    Target namespace of the GitOps application's resources. The namespace will only be set for namespace-scoped resources that have not set a value for .metadata.namespace.
    Server string
    URL of the target cluster server for the GitOps application.
    name String
    URL of the target cluster and must be set to the kubernetes control plane API.
    namespace String
    Target namespace of the GitOps application's resources. The namespace will only be set for namespace-scoped resources that have not set a value for .metadata.namespace.
    server String
    URL of the target cluster server for the GitOps application.
    name string
    URL of the target cluster and must be set to the kubernetes control plane API.
    namespace string
    Target namespace of the GitOps application's resources. The namespace will only be set for namespace-scoped resources that have not set a value for .metadata.namespace.
    server string
    URL of the target cluster server for the GitOps application.
    name str
    URL of the target cluster and must be set to the kubernetes control plane API.
    namespace str
    Target namespace of the GitOps application's resources. The namespace will only be set for namespace-scoped resources that have not set a value for .metadata.namespace.
    server str
    URL of the target cluster server for the GitOps application.
    name String
    URL of the target cluster and must be set to the kubernetes control plane API.
    namespace String
    Target namespace of the GitOps application's resources. The namespace will only be set for namespace-scoped resources that have not set a value for .metadata.namespace.
    server String
    URL of the target cluster server for the GitOps application.

    GitOpsApplicationsApplicationSpecSource, GitOpsApplicationsApplicationSpecSourceArgs

    RepoUrl string
    URL to the repository (git or helm) that contains the GitOps application manifests.
    TargetRevision string
    Revision of the source to sync the GitOps application to. In case of git, this can be commit, tag, or branch. If omitted, will equal to HEAD. In case of Helm, this is a semver tag of the chart's version.
    Chart string
    Helm chart name, and must be specified for the GitOps applications sourced from a helm repo.
    Directories List<GitOpsApplicationsApplicationSpecSourceDirectory>
    Options for applications of type plain YAML or Jsonnet.
    Helms List<GitOpsApplicationsApplicationSpecSourceHelm>
    Holds helm specific options.
    Ksonnets List<GitOpsApplicationsApplicationSpecSourceKsonnet>
    Ksonnet specific options.
    Kustomizes List<GitOpsApplicationsApplicationSpecSourceKustomize>
    Options specific to a GitOps application source specific to Kustomize.
    Path string
    Directory path within the git repository, and is only valid for the GitOps applications sourced from git.
    Plugins List<GitOpsApplicationsApplicationSpecSourcePlugin>
    Options specific to config management plugins.
    RepoUrl string
    URL to the repository (git or helm) that contains the GitOps application manifests.
    TargetRevision string
    Revision of the source to sync the GitOps application to. In case of git, this can be commit, tag, or branch. If omitted, will equal to HEAD. In case of Helm, this is a semver tag of the chart's version.
    Chart string
    Helm chart name, and must be specified for the GitOps applications sourced from a helm repo.
    Directories []GitOpsApplicationsApplicationSpecSourceDirectory
    Options for applications of type plain YAML or Jsonnet.
    Helms []GitOpsApplicationsApplicationSpecSourceHelm
    Holds helm specific options.
    Ksonnets []GitOpsApplicationsApplicationSpecSourceKsonnet
    Ksonnet specific options.
    Kustomizes []GitOpsApplicationsApplicationSpecSourceKustomize
    Options specific to a GitOps application source specific to Kustomize.
    Path string
    Directory path within the git repository, and is only valid for the GitOps applications sourced from git.
    Plugins []GitOpsApplicationsApplicationSpecSourcePlugin
    Options specific to config management plugins.
    repoUrl String
    URL to the repository (git or helm) that contains the GitOps application manifests.
    targetRevision String
    Revision of the source to sync the GitOps application to. In case of git, this can be commit, tag, or branch. If omitted, will equal to HEAD. In case of Helm, this is a semver tag of the chart's version.
    chart String
    Helm chart name, and must be specified for the GitOps applications sourced from a helm repo.
    directories List<GitOpsApplicationsApplicationSpecSourceDirectory>
    Options for applications of type plain YAML or Jsonnet.
    helms List<GitOpsApplicationsApplicationSpecSourceHelm>
    Holds helm specific options.
    ksonnets List<GitOpsApplicationsApplicationSpecSourceKsonnet>
    Ksonnet specific options.
    kustomizes List<GitOpsApplicationsApplicationSpecSourceKustomize>
    Options specific to a GitOps application source specific to Kustomize.
    path String
    Directory path within the git repository, and is only valid for the GitOps applications sourced from git.
    plugins List<GitOpsApplicationsApplicationSpecSourcePlugin>
    Options specific to config management plugins.
    repoUrl string
    URL to the repository (git or helm) that contains the GitOps application manifests.
    targetRevision string
    Revision of the source to sync the GitOps application to. In case of git, this can be commit, tag, or branch. If omitted, will equal to HEAD. In case of Helm, this is a semver tag of the chart's version.
    chart string
    Helm chart name, and must be specified for the GitOps applications sourced from a helm repo.
    directories GitOpsApplicationsApplicationSpecSourceDirectory[]
    Options for applications of type plain YAML or Jsonnet.
    helms GitOpsApplicationsApplicationSpecSourceHelm[]
    Holds helm specific options.
    ksonnets GitOpsApplicationsApplicationSpecSourceKsonnet[]
    Ksonnet specific options.
    kustomizes GitOpsApplicationsApplicationSpecSourceKustomize[]
    Options specific to a GitOps application source specific to Kustomize.
    path string
    Directory path within the git repository, and is only valid for the GitOps applications sourced from git.
    plugins GitOpsApplicationsApplicationSpecSourcePlugin[]
    Options specific to config management plugins.
    repo_url str
    URL to the repository (git or helm) that contains the GitOps application manifests.
    target_revision str
    Revision of the source to sync the GitOps application to. In case of git, this can be commit, tag, or branch. If omitted, will equal to HEAD. In case of Helm, this is a semver tag of the chart's version.
    chart str
    Helm chart name, and must be specified for the GitOps applications sourced from a helm repo.
    directories Sequence[GitOpsApplicationsApplicationSpecSourceDirectory]
    Options for applications of type plain YAML or Jsonnet.
    helms Sequence[GitOpsApplicationsApplicationSpecSourceHelm]
    Holds helm specific options.
    ksonnets Sequence[GitOpsApplicationsApplicationSpecSourceKsonnet]
    Ksonnet specific options.
    kustomizes Sequence[GitOpsApplicationsApplicationSpecSourceKustomize]
    Options specific to a GitOps application source specific to Kustomize.
    path str
    Directory path within the git repository, and is only valid for the GitOps applications sourced from git.
    plugins Sequence[GitOpsApplicationsApplicationSpecSourcePlugin]
    Options specific to config management plugins.
    repoUrl String
    URL to the repository (git or helm) that contains the GitOps application manifests.
    targetRevision String
    Revision of the source to sync the GitOps application to. In case of git, this can be commit, tag, or branch. If omitted, will equal to HEAD. In case of Helm, this is a semver tag of the chart's version.
    chart String
    Helm chart name, and must be specified for the GitOps applications sourced from a helm repo.
    directories List<Property Map>
    Options for applications of type plain YAML or Jsonnet.
    helms List<Property Map>
    Holds helm specific options.
    ksonnets List<Property Map>
    Ksonnet specific options.
    kustomizes List<Property Map>
    Options specific to a GitOps application source specific to Kustomize.
    path String
    Directory path within the git repository, and is only valid for the GitOps applications sourced from git.
    plugins List<Property Map>
    Options specific to config management plugins.

    GitOpsApplicationsApplicationSpecSourceDirectory, GitOpsApplicationsApplicationSpecSourceDirectoryArgs

    Exclude string
    Glob pattern to match paths against that should be explicitly excluded from being used during manifest generation.
    Include string
    Glob pattern to match paths against that should be explicitly included during manifest generation.
    Jsonnets List<GitOpsApplicationsApplicationSpecSourceDirectoryJsonnet>
    Options specific to applications of type Jsonnet.
    Recurse bool
    Indicates to scan a directory recursively for manifests.
    Exclude string
    Glob pattern to match paths against that should be explicitly excluded from being used during manifest generation.
    Include string
    Glob pattern to match paths against that should be explicitly included during manifest generation.
    Jsonnets []GitOpsApplicationsApplicationSpecSourceDirectoryJsonnet
    Options specific to applications of type Jsonnet.
    Recurse bool
    Indicates to scan a directory recursively for manifests.
    exclude String
    Glob pattern to match paths against that should be explicitly excluded from being used during manifest generation.
    include String
    Glob pattern to match paths against that should be explicitly included during manifest generation.
    jsonnets List<GitOpsApplicationsApplicationSpecSourceDirectoryJsonnet>
    Options specific to applications of type Jsonnet.
    recurse Boolean
    Indicates to scan a directory recursively for manifests.
    exclude string
    Glob pattern to match paths against that should be explicitly excluded from being used during manifest generation.
    include string
    Glob pattern to match paths against that should be explicitly included during manifest generation.
    jsonnets GitOpsApplicationsApplicationSpecSourceDirectoryJsonnet[]
    Options specific to applications of type Jsonnet.
    recurse boolean
    Indicates to scan a directory recursively for manifests.
    exclude str
    Glob pattern to match paths against that should be explicitly excluded from being used during manifest generation.
    include str
    Glob pattern to match paths against that should be explicitly included during manifest generation.
    jsonnets Sequence[GitOpsApplicationsApplicationSpecSourceDirectoryJsonnet]
    Options specific to applications of type Jsonnet.
    recurse bool
    Indicates to scan a directory recursively for manifests.
    exclude String
    Glob pattern to match paths against that should be explicitly excluded from being used during manifest generation.
    include String
    Glob pattern to match paths against that should be explicitly included during manifest generation.
    jsonnets List<Property Map>
    Options specific to applications of type Jsonnet.
    recurse Boolean
    Indicates to scan a directory recursively for manifests.

    GitOpsApplicationsApplicationSpecSourceDirectoryJsonnet, GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetArgs

    ExtVars List<GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetExtVar>
    List of jsonnet external variables.
    Libs List<string>
    Additional library search dirs.
    Tlas List<GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetTla>
    List of jsonnet top-level arguments(TLAS).
    ExtVars []GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetExtVar
    List of jsonnet external variables.
    Libs []string
    Additional library search dirs.
    Tlas []GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetTla
    List of jsonnet top-level arguments(TLAS).
    extVars List<GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetExtVar>
    List of jsonnet external variables.
    libs List<String>
    Additional library search dirs.
    tlas List<GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetTla>
    List of jsonnet top-level arguments(TLAS).
    extVars GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetExtVar[]
    List of jsonnet external variables.
    libs string[]
    Additional library search dirs.
    tlas GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetTla[]
    List of jsonnet top-level arguments(TLAS).
    ext_vars Sequence[GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetExtVar]
    List of jsonnet external variables.
    libs Sequence[str]
    Additional library search dirs.
    tlas Sequence[GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetTla]
    List of jsonnet top-level arguments(TLAS).
    extVars List<Property Map>
    List of jsonnet external variables.
    libs List<String>
    Additional library search dirs.
    tlas List<Property Map>
    List of jsonnet top-level arguments(TLAS).

    GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetExtVar, GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetExtVarArgs

    Code bool
    Code of the external variables of jsonnet application.
    Name string
    Name of the external variables of jsonnet application.
    Value string
    Value of the external variables of jsonnet application.
    Code bool
    Code of the external variables of jsonnet application.
    Name string
    Name of the external variables of jsonnet application.
    Value string
    Value of the external variables of jsonnet application.
    code Boolean
    Code of the external variables of jsonnet application.
    name String
    Name of the external variables of jsonnet application.
    value String
    Value of the external variables of jsonnet application.
    code boolean
    Code of the external variables of jsonnet application.
    name string
    Name of the external variables of jsonnet application.
    value string
    Value of the external variables of jsonnet application.
    code bool
    Code of the external variables of jsonnet application.
    name str
    Name of the external variables of jsonnet application.
    value str
    Value of the external variables of jsonnet application.
    code Boolean
    Code of the external variables of jsonnet application.
    name String
    Name of the external variables of jsonnet application.
    value String
    Value of the external variables of jsonnet application.

    GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetTla, GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetTlaArgs

    Code bool
    Code of the TLAS of the jsonnet application.
    Name string
    Name of the TLAS of the jsonnet application.
    Value string
    Value of the TLAS of the jsonnet application.
    Code bool
    Code of the TLAS of the jsonnet application.
    Name string
    Name of the TLAS of the jsonnet application.
    Value string
    Value of the TLAS of the jsonnet application.
    code Boolean
    Code of the TLAS of the jsonnet application.
    name String
    Name of the TLAS of the jsonnet application.
    value String
    Value of the TLAS of the jsonnet application.
    code boolean
    Code of the TLAS of the jsonnet application.
    name string
    Name of the TLAS of the jsonnet application.
    value string
    Value of the TLAS of the jsonnet application.
    code bool
    Code of the TLAS of the jsonnet application.
    name str
    Name of the TLAS of the jsonnet application.
    value str
    Value of the TLAS of the jsonnet application.
    code Boolean
    Code of the TLAS of the jsonnet application.
    name String
    Name of the TLAS of the jsonnet application.
    value String
    Value of the TLAS of the jsonnet application.

    GitOpsApplicationsApplicationSpecSourceHelm, GitOpsApplicationsApplicationSpecSourceHelmArgs

    FileParameters List<GitOpsApplicationsApplicationSpecSourceHelmFileParameter>
    File parameters to the helm template.
    Parameters List<GitOpsApplicationsApplicationSpecSourceHelmParameter>
    List of helm parameters which are passed to the helm template command upon manifest generation.
    PassCredentials bool
    Indicates if to pass credentials to all domains (helm's --pass-credentials)
    ReleaseName string
    Helm release name to use. If omitted it will use the GitOps application name.
    ValueFiles List<string>
    List of helm value files to use when generating a template.
    Values string
    Helm values to be passed to helm template, typically defined as a block.
    Version string
    Helm version to use for templating (either "2" or "3")
    FileParameters []GitOpsApplicationsApplicationSpecSourceHelmFileParameter
    File parameters to the helm template.
    Parameters []GitOpsApplicationsApplicationSpecSourceHelmParameter
    List of helm parameters which are passed to the helm template command upon manifest generation.
    PassCredentials bool
    Indicates if to pass credentials to all domains (helm's --pass-credentials)
    ReleaseName string
    Helm release name to use. If omitted it will use the GitOps application name.
    ValueFiles []string
    List of helm value files to use when generating a template.
    Values string
    Helm values to be passed to helm template, typically defined as a block.
    Version string
    Helm version to use for templating (either "2" or "3")
    fileParameters List<GitOpsApplicationsApplicationSpecSourceHelmFileParameter>
    File parameters to the helm template.
    parameters List<GitOpsApplicationsApplicationSpecSourceHelmParameter>
    List of helm parameters which are passed to the helm template command upon manifest generation.
    passCredentials Boolean
    Indicates if to pass credentials to all domains (helm's --pass-credentials)
    releaseName String
    Helm release name to use. If omitted it will use the GitOps application name.
    valueFiles List<String>
    List of helm value files to use when generating a template.
    values String
    Helm values to be passed to helm template, typically defined as a block.
    version String
    Helm version to use for templating (either "2" or "3")
    fileParameters GitOpsApplicationsApplicationSpecSourceHelmFileParameter[]
    File parameters to the helm template.
    parameters GitOpsApplicationsApplicationSpecSourceHelmParameter[]
    List of helm parameters which are passed to the helm template command upon manifest generation.
    passCredentials boolean
    Indicates if to pass credentials to all domains (helm's --pass-credentials)
    releaseName string
    Helm release name to use. If omitted it will use the GitOps application name.
    valueFiles string[]
    List of helm value files to use when generating a template.
    values string
    Helm values to be passed to helm template, typically defined as a block.
    version string
    Helm version to use for templating (either "2" or "3")
    file_parameters Sequence[GitOpsApplicationsApplicationSpecSourceHelmFileParameter]
    File parameters to the helm template.
    parameters Sequence[GitOpsApplicationsApplicationSpecSourceHelmParameter]
    List of helm parameters which are passed to the helm template command upon manifest generation.
    pass_credentials bool
    Indicates if to pass credentials to all domains (helm's --pass-credentials)
    release_name str
    Helm release name to use. If omitted it will use the GitOps application name.
    value_files Sequence[str]
    List of helm value files to use when generating a template.
    values str
    Helm values to be passed to helm template, typically defined as a block.
    version str
    Helm version to use for templating (either "2" or "3")
    fileParameters List<Property Map>
    File parameters to the helm template.
    parameters List<Property Map>
    List of helm parameters which are passed to the helm template command upon manifest generation.
    passCredentials Boolean
    Indicates if to pass credentials to all domains (helm's --pass-credentials)
    releaseName String
    Helm release name to use. If omitted it will use the GitOps application name.
    valueFiles List<String>
    List of helm value files to use when generating a template.
    values String
    Helm values to be passed to helm template, typically defined as a block.
    version String
    Helm version to use for templating (either "2" or "3")

    GitOpsApplicationsApplicationSpecSourceHelmFileParameter, GitOpsApplicationsApplicationSpecSourceHelmFileParameterArgs

    Name string
    Name of the helm parameter.
    Path string
    Path to the file containing the values of the helm parameter.
    Name string
    Name of the helm parameter.
    Path string
    Path to the file containing the values of the helm parameter.
    name String
    Name of the helm parameter.
    path String
    Path to the file containing the values of the helm parameter.
    name string
    Name of the helm parameter.
    path string
    Path to the file containing the values of the helm parameter.
    name str
    Name of the helm parameter.
    path str
    Path to the file containing the values of the helm parameter.
    name String
    Name of the helm parameter.
    path String
    Path to the file containing the values of the helm parameter.

    GitOpsApplicationsApplicationSpecSourceHelmParameter, GitOpsApplicationsApplicationSpecSourceHelmParameterArgs

    ForceString bool
    Indicates if helm should interpret booleans and numbers as strings.
    Name string
    Name of the helm parameter.
    Value string
    Value of the Helm parameter.
    ForceString bool
    Indicates if helm should interpret booleans and numbers as strings.
    Name string
    Name of the helm parameter.
    Value string
    Value of the Helm parameter.
    forceString Boolean
    Indicates if helm should interpret booleans and numbers as strings.
    name String
    Name of the helm parameter.
    value String
    Value of the Helm parameter.
    forceString boolean
    Indicates if helm should interpret booleans and numbers as strings.
    name string
    Name of the helm parameter.
    value string
    Value of the Helm parameter.
    force_string bool
    Indicates if helm should interpret booleans and numbers as strings.
    name str
    Name of the helm parameter.
    value str
    Value of the Helm parameter.
    forceString Boolean
    Indicates if helm should interpret booleans and numbers as strings.
    name String
    Name of the helm parameter.
    value String
    Value of the Helm parameter.

    GitOpsApplicationsApplicationSpecSourceKsonnet, GitOpsApplicationsApplicationSpecSourceKsonnetArgs

    Environment string
    Ksonnet application environment name.
    Parameters List<GitOpsApplicationsApplicationSpecSourceKsonnetParameter>
    List of ksonnet component parameter override values.
    Environment string
    Ksonnet application environment name.
    Parameters []GitOpsApplicationsApplicationSpecSourceKsonnetParameter
    List of ksonnet component parameter override values.
    environment String
    Ksonnet application environment name.
    parameters List<GitOpsApplicationsApplicationSpecSourceKsonnetParameter>
    List of ksonnet component parameter override values.
    environment string
    Ksonnet application environment name.
    parameters GitOpsApplicationsApplicationSpecSourceKsonnetParameter[]
    List of ksonnet component parameter override values.
    environment str
    Ksonnet application environment name.
    parameters Sequence[GitOpsApplicationsApplicationSpecSourceKsonnetParameter]
    List of ksonnet component parameter override values.
    environment String
    Ksonnet application environment name.
    parameters List<Property Map>
    List of ksonnet component parameter override values.

    GitOpsApplicationsApplicationSpecSourceKsonnetParameter, GitOpsApplicationsApplicationSpecSourceKsonnetParameterArgs

    Component string
    Component of the parameter of the ksonnet application.
    Name string
    Name of the parameter of the ksonnet application.
    Value string
    Value of the parameter of the ksonnet application.
    Component string
    Component of the parameter of the ksonnet application.
    Name string
    Name of the parameter of the ksonnet application.
    Value string
    Value of the parameter of the ksonnet application.
    component String
    Component of the parameter of the ksonnet application.
    name String
    Name of the parameter of the ksonnet application.
    value String
    Value of the parameter of the ksonnet application.
    component string
    Component of the parameter of the ksonnet application.
    name string
    Name of the parameter of the ksonnet application.
    value string
    Value of the parameter of the ksonnet application.
    component str
    Component of the parameter of the ksonnet application.
    name str
    Name of the parameter of the ksonnet application.
    value str
    Value of the parameter of the ksonnet application.
    component String
    Component of the parameter of the ksonnet application.
    name String
    Name of the parameter of the ksonnet application.
    value String
    Value of the parameter of the ksonnet application.

    GitOpsApplicationsApplicationSpecSourceKustomize, GitOpsApplicationsApplicationSpecSourceKustomizeArgs

    CommonAnnotations Dictionary<string, string>
    List of additional annotations to add to rendered manifests.
    CommonLabels Dictionary<string, string>
    List of additional labels to add to rendered manifests.
    ForceCommonAnnotations bool
    Indicates if to force applying common annotations to resources for kustomize apps.
    ForceCommonLabels bool
    Indicates if to force apply common labels to resources for kustomize apps.
    Images List<string>
    List of kustomize image override specifications.
    NamePrefix string
    Prefix prepended to resources for kustomize apps.
    NameSuffix string
    Suffix appended to resources for kustomize apps.
    Version string
    Version of kustomize to use for rendering manifests.
    CommonAnnotations map[string]string
    List of additional annotations to add to rendered manifests.
    CommonLabels map[string]string
    List of additional labels to add to rendered manifests.
    ForceCommonAnnotations bool
    Indicates if to force applying common annotations to resources for kustomize apps.
    ForceCommonLabels bool
    Indicates if to force apply common labels to resources for kustomize apps.
    Images []string
    List of kustomize image override specifications.
    NamePrefix string
    Prefix prepended to resources for kustomize apps.
    NameSuffix string
    Suffix appended to resources for kustomize apps.
    Version string
    Version of kustomize to use for rendering manifests.
    commonAnnotations Map<String,String>
    List of additional annotations to add to rendered manifests.
    commonLabels Map<String,String>
    List of additional labels to add to rendered manifests.
    forceCommonAnnotations Boolean
    Indicates if to force applying common annotations to resources for kustomize apps.
    forceCommonLabels Boolean
    Indicates if to force apply common labels to resources for kustomize apps.
    images List<String>
    List of kustomize image override specifications.
    namePrefix String
    Prefix prepended to resources for kustomize apps.
    nameSuffix String
    Suffix appended to resources for kustomize apps.
    version String
    Version of kustomize to use for rendering manifests.
    commonAnnotations {[key: string]: string}
    List of additional annotations to add to rendered manifests.
    commonLabels {[key: string]: string}
    List of additional labels to add to rendered manifests.
    forceCommonAnnotations boolean
    Indicates if to force applying common annotations to resources for kustomize apps.
    forceCommonLabels boolean
    Indicates if to force apply common labels to resources for kustomize apps.
    images string[]
    List of kustomize image override specifications.
    namePrefix string
    Prefix prepended to resources for kustomize apps.
    nameSuffix string
    Suffix appended to resources for kustomize apps.
    version string
    Version of kustomize to use for rendering manifests.
    common_annotations Mapping[str, str]
    List of additional annotations to add to rendered manifests.
    common_labels Mapping[str, str]
    List of additional labels to add to rendered manifests.
    force_common_annotations bool
    Indicates if to force applying common annotations to resources for kustomize apps.
    force_common_labels bool
    Indicates if to force apply common labels to resources for kustomize apps.
    images Sequence[str]
    List of kustomize image override specifications.
    name_prefix str
    Prefix prepended to resources for kustomize apps.
    name_suffix str
    Suffix appended to resources for kustomize apps.
    version str
    Version of kustomize to use for rendering manifests.
    commonAnnotations Map<String>
    List of additional annotations to add to rendered manifests.
    commonLabels Map<String>
    List of additional labels to add to rendered manifests.
    forceCommonAnnotations Boolean
    Indicates if to force applying common annotations to resources for kustomize apps.
    forceCommonLabels Boolean
    Indicates if to force apply common labels to resources for kustomize apps.
    images List<String>
    List of kustomize image override specifications.
    namePrefix String
    Prefix prepended to resources for kustomize apps.
    nameSuffix String
    Suffix appended to resources for kustomize apps.
    version String
    Version of kustomize to use for rendering manifests.

    GitOpsApplicationsApplicationSpecSourcePlugin, GitOpsApplicationsApplicationSpecSourcePluginArgs

    Envs List<GitOpsApplicationsApplicationSpecSourcePluginEnv>
    Entry in the GitOps application's environment.
    Name string
    Name of the plugin.
    Envs []GitOpsApplicationsApplicationSpecSourcePluginEnv
    Entry in the GitOps application's environment.
    Name string
    Name of the plugin.
    envs List<GitOpsApplicationsApplicationSpecSourcePluginEnv>
    Entry in the GitOps application's environment.
    name String
    Name of the plugin.
    envs GitOpsApplicationsApplicationSpecSourcePluginEnv[]
    Entry in the GitOps application's environment.
    name string
    Name of the plugin.
    envs Sequence[GitOpsApplicationsApplicationSpecSourcePluginEnv]
    Entry in the GitOps application's environment.
    name str
    Name of the plugin.
    envs List<Property Map>
    Entry in the GitOps application's environment.
    name String
    Name of the plugin.

    GitOpsApplicationsApplicationSpecSourcePluginEnv, GitOpsApplicationsApplicationSpecSourcePluginEnvArgs

    Name string
    Name of the variable, usually expressed in uppercase.
    Value string
    Value of the variable.
    Name string
    Name of the variable, usually expressed in uppercase.
    Value string
    Value of the variable.
    name String
    Name of the variable, usually expressed in uppercase.
    value String
    Value of the variable.
    name string
    Name of the variable, usually expressed in uppercase.
    value string
    Value of the variable.
    name str
    Name of the variable, usually expressed in uppercase.
    value str
    Value of the variable.
    name String
    Name of the variable, usually expressed in uppercase.
    value String
    Value of the variable.

    GitOpsApplicationsApplicationSpecSyncPolicy, GitOpsApplicationsApplicationSpecSyncPolicyArgs

    Automateds List<GitOpsApplicationsApplicationSpecSyncPolicyAutomated>
    Controls the behavior of an automated sync.
    Retries List<GitOpsApplicationsApplicationSpecSyncPolicyRetry>
    Contains information about the strategy to apply when a sync failed.
    SyncOptions List<string>
    Options allow you to specify whole app sync-options.
    Automateds []GitOpsApplicationsApplicationSpecSyncPolicyAutomated
    Controls the behavior of an automated sync.
    Retries []GitOpsApplicationsApplicationSpecSyncPolicyRetry
    Contains information about the strategy to apply when a sync failed.
    SyncOptions []string
    Options allow you to specify whole app sync-options.
    automateds List<GitOpsApplicationsApplicationSpecSyncPolicyAutomated>
    Controls the behavior of an automated sync.
    retries List<GitOpsApplicationsApplicationSpecSyncPolicyRetry>
    Contains information about the strategy to apply when a sync failed.
    syncOptions List<String>
    Options allow you to specify whole app sync-options.
    automateds GitOpsApplicationsApplicationSpecSyncPolicyAutomated[]
    Controls the behavior of an automated sync.
    retries GitOpsApplicationsApplicationSpecSyncPolicyRetry[]
    Contains information about the strategy to apply when a sync failed.
    syncOptions string[]
    Options allow you to specify whole app sync-options.
    automateds Sequence[GitOpsApplicationsApplicationSpecSyncPolicyAutomated]
    Controls the behavior of an automated sync.
    retries Sequence[GitOpsApplicationsApplicationSpecSyncPolicyRetry]
    Contains information about the strategy to apply when a sync failed.
    sync_options Sequence[str]
    Options allow you to specify whole app sync-options.
    automateds List<Property Map>
    Controls the behavior of an automated sync.
    retries List<Property Map>
    Contains information about the strategy to apply when a sync failed.
    syncOptions List<String>
    Options allow you to specify whole app sync-options.

    GitOpsApplicationsApplicationSpecSyncPolicyAutomated, GitOpsApplicationsApplicationSpecSyncPolicyAutomatedArgs

    AllowEmpty bool
    Indicates to allows apps to have zero live resources (default: false).
    Prune bool
    Indicates whether to delete resources from the cluster that are not found in the sources anymore as part of automated sync (default: false).
    SelfHeal bool
    Indicates whether to revert resources back to their desired state upon modification in the cluster (default: false).
    AllowEmpty bool
    Indicates to allows apps to have zero live resources (default: false).
    Prune bool
    Indicates whether to delete resources from the cluster that are not found in the sources anymore as part of automated sync (default: false).
    SelfHeal bool
    Indicates whether to revert resources back to their desired state upon modification in the cluster (default: false).
    allowEmpty Boolean
    Indicates to allows apps to have zero live resources (default: false).
    prune Boolean
    Indicates whether to delete resources from the cluster that are not found in the sources anymore as part of automated sync (default: false).
    selfHeal Boolean
    Indicates whether to revert resources back to their desired state upon modification in the cluster (default: false).
    allowEmpty boolean
    Indicates to allows apps to have zero live resources (default: false).
    prune boolean
    Indicates whether to delete resources from the cluster that are not found in the sources anymore as part of automated sync (default: false).
    selfHeal boolean
    Indicates whether to revert resources back to their desired state upon modification in the cluster (default: false).
    allow_empty bool
    Indicates to allows apps to have zero live resources (default: false).
    prune bool
    Indicates whether to delete resources from the cluster that are not found in the sources anymore as part of automated sync (default: false).
    self_heal bool
    Indicates whether to revert resources back to their desired state upon modification in the cluster (default: false).
    allowEmpty Boolean
    Indicates to allows apps to have zero live resources (default: false).
    prune Boolean
    Indicates whether to delete resources from the cluster that are not found in the sources anymore as part of automated sync (default: false).
    selfHeal Boolean
    Indicates whether to revert resources back to their desired state upon modification in the cluster (default: false).

    GitOpsApplicationsApplicationSpecSyncPolicyRetry, GitOpsApplicationsApplicationSpecSyncPolicyRetryArgs

    Backoffs List<GitOpsApplicationsApplicationSpecSyncPolicyRetryBackoff>
    Backoff strategy to use on subsequent retries for failing syncs.
    Limit string
    Limit is the maximum number of attempts for retrying a failed sync. If set to 0, no retries will be performed.
    Backoffs []GitOpsApplicationsApplicationSpecSyncPolicyRetryBackoff
    Backoff strategy to use on subsequent retries for failing syncs.
    Limit string
    Limit is the maximum number of attempts for retrying a failed sync. If set to 0, no retries will be performed.
    backoffs List<GitOpsApplicationsApplicationSpecSyncPolicyRetryBackoff>
    Backoff strategy to use on subsequent retries for failing syncs.
    limit String
    Limit is the maximum number of attempts for retrying a failed sync. If set to 0, no retries will be performed.
    backoffs GitOpsApplicationsApplicationSpecSyncPolicyRetryBackoff[]
    Backoff strategy to use on subsequent retries for failing syncs.
    limit string
    Limit is the maximum number of attempts for retrying a failed sync. If set to 0, no retries will be performed.
    backoffs Sequence[GitOpsApplicationsApplicationSpecSyncPolicyRetryBackoff]
    Backoff strategy to use on subsequent retries for failing syncs.
    limit str
    Limit is the maximum number of attempts for retrying a failed sync. If set to 0, no retries will be performed.
    backoffs List<Property Map>
    Backoff strategy to use on subsequent retries for failing syncs.
    limit String
    Limit is the maximum number of attempts for retrying a failed sync. If set to 0, no retries will be performed.

    GitOpsApplicationsApplicationSpecSyncPolicyRetryBackoff, GitOpsApplicationsApplicationSpecSyncPolicyRetryBackoffArgs

    Duration string
    Amount to back off. Default unit is seconds, but could also be a duration (e.g. "2m", "1h").
    Factor string
    Factor to multiply the base duration after each failed retry.
    MaxDuration string
    Maximum amount of time allowed of the backoff strategy.
    Duration string
    Amount to back off. Default unit is seconds, but could also be a duration (e.g. "2m", "1h").
    Factor string
    Factor to multiply the base duration after each failed retry.
    MaxDuration string
    Maximum amount of time allowed of the backoff strategy.
    duration String
    Amount to back off. Default unit is seconds, but could also be a duration (e.g. "2m", "1h").
    factor String
    Factor to multiply the base duration after each failed retry.
    maxDuration String
    Maximum amount of time allowed of the backoff strategy.
    duration string
    Amount to back off. Default unit is seconds, but could also be a duration (e.g. "2m", "1h").
    factor string
    Factor to multiply the base duration after each failed retry.
    maxDuration string
    Maximum amount of time allowed of the backoff strategy.
    duration str
    Amount to back off. Default unit is seconds, but could also be a duration (e.g. "2m", "1h").
    factor str
    Factor to multiply the base duration after each failed retry.
    max_duration str
    Maximum amount of time allowed of the backoff strategy.
    duration String
    Amount to back off. Default unit is seconds, but could also be a duration (e.g. "2m", "1h").
    factor String
    Factor to multiply the base duration after each failed retry.
    maxDuration String
    Maximum amount of time allowed of the backoff strategy.

    Import

    Import a Project level Gitops Application

    $ pulumi import harness:platform/gitOpsApplications:GitOpsApplications example <organization_id>/<project_id>/<agent_id>/<app_name>
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    harness pulumi/pulumi-harness
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the harness Terraform Provider.
    harness logo
    Harness v0.3.2 published on Monday, Sep 16, 2024 by Pulumi