harness.platform.GitOpsApplications
Explore with Pulumi AI
Resource for creating a Harness Gitops Application.
Example Usage
Coming soon!
Coming soon!
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()        
            .accountId("account_id")
            .agentId("agent_id")
            .applications(GitOpsApplicationsApplicationArgs.builder()
                .metadatas(GitOpsApplicationsApplicationMetadataArgs.builder()
                    .annotations()
                    .labels(Map.ofEntries(
                        Map.entry("harness.io/envRef", "env_id"),
                        Map.entry("harness.io/serviceRef", "service_id")
                    ))
                    .name("appname123")
                    .build())
                .specs(GitOpsApplicationsApplicationSpecArgs.builder()
                    .destination(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                    .source(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                    .syncPolicy(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                    .build())
                .build())
            .clusterId("cluster_id")
            .identifier("identifier")
            .orgId("org_id")
            .projectId("project_id")
            .repoId("repo_id")
            .build());
    }
}
Coming soon!
Coming soon!
resources:
  example:
    type: harness:platform:GitOpsApplications
    properties:
      accountId: account_id
      agentId: agent_id
      applications:
        - metadatas:
            - annotations: {}
              labels:
                harness.io/envRef: env_id
                harness.io/serviceRef: service_id
              name: appname123
          specs:
            - destination:
                - namespace: namespace-123
                  server: https://1.3.4.5
              source:
                - path: helm-guestbook
                  repoUrl: https://github.com/willycoll/argocd-example-apps.git
                  targetRevision: master
              syncPolicy:
                - syncOptions:
                    - PrunePropagationPolicy=undefined
                    - CreateNamespace=false
                    - Validate=false
                    - skipSchemaValidations=false
                    - autoCreateNamespace=false
                    - pruneLast=false
                    - applyOutofSyncOnly=false
                    - Replace=false
                    - retry=false
      clusterId: cluster_id
      identifier: identifier
      orgId: org_id
      projectId: project_id
      repoId: repo_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,
                       repo_id: Optional[str] = None,
                       account_id: Optional[str] = None,
                       project_id: Optional[str] = None,
                       kind: Optional[str] = None,
                       query_resource_version: Optional[str] = None,
                       project: Optional[str] = None,
                       name: Optional[str] = None,
                       query_project: Optional[str] = None,
                       query_refresh: Optional[str] = None,
                       query_repo: Optional[str] = None,
                       options_remove_existing_finalizers: Optional[bool] = None,
                       query_selector: Optional[str] = None,
                       identifier: Optional[str] = None,
                       request_cascade: Optional[bool] = None,
                       request_name: Optional[str] = None,
                       request_propagation_policy: Optional[str] = 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",
                        },
                    },
                    Sources = new[]
                    {
                        new Harness.Platform.Inputs.GitOpsApplicationsApplicationSpecSourceArgs
                        {
                            Path = "string",
                            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",
                                },
                            },
                            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",
    RepoId = "string",
    AccountId = "string",
    ProjectId = "string",
    Kind = "string",
    QueryResourceVersion = "string",
    Project = "string",
    Name = "string",
    QueryProject = "string",
    QueryRefresh = "string",
    QueryRepo = "string",
    OptionsRemoveExistingFinalizers = false,
    QuerySelector = "string",
    Identifier = "string",
    RequestCascade = false,
    RequestName = "string",
    RequestPropagationPolicy = "string",
    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"),
						},
					},
					Sources: platform.GitOpsApplicationsApplicationSpecSourceArray{
						&platform.GitOpsApplicationsApplicationSpecSourceArgs{
							Path:           pulumi.String("string"),
							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"),
								},
							},
							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"),
	RepoId:                          pulumi.String("string"),
	AccountId:                       pulumi.String("string"),
	ProjectId:                       pulumi.String("string"),
	Kind:                            pulumi.String("string"),
	QueryResourceVersion:            pulumi.String("string"),
	Project:                         pulumi.String("string"),
	Name:                            pulumi.String("string"),
	QueryProject:                    pulumi.String("string"),
	QueryRefresh:                    pulumi.String("string"),
	QueryRepo:                       pulumi.String("string"),
	OptionsRemoveExistingFinalizers: pulumi.Bool(false),
	QuerySelector:                   pulumi.String("string"),
	Identifier:                      pulumi.String("string"),
	RequestCascade:                  pulumi.Bool(false),
	RequestName:                     pulumi.String("string"),
	RequestPropagationPolicy:        pulumi.String("string"),
	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())
            .sources(GitOpsApplicationsApplicationSpecSourceArgs.builder()
                .path("string")
                .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())
                .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")
    .repoId("string")
    .accountId("string")
    .projectId("string")
    .kind("string")
    .queryResourceVersion("string")
    .project("string")
    .name("string")
    .queryProject("string")
    .queryRefresh("string")
    .queryRepo("string")
    .optionsRemoveExistingFinalizers(false)
    .querySelector("string")
    .identifier("string")
    .requestCascade(false)
    .requestName("string")
    .requestPropagationPolicy("string")
    .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",
            )],
            sources=[harness.platform.GitOpsApplicationsApplicationSpecSourceArgs(
                path="string",
                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",
                )],
                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",
    repo_id="string",
    account_id="string",
    project_id="string",
    kind="string",
    query_resource_version="string",
    project="string",
    name="string",
    query_project="string",
    query_refresh="string",
    query_repo="string",
    options_remove_existing_finalizers=False,
    query_selector="string",
    identifier="string",
    request_cascade=False,
    request_name="string",
    request_propagation_policy="string",
    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",
            }],
            sources: [{
                path: "string",
                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",
                }],
                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",
    repoId: "string",
    accountId: "string",
    projectId: "string",
    kind: "string",
    queryResourceVersion: "string",
    project: "string",
    name: "string",
    queryProject: "string",
    queryRefresh: "string",
    queryRepo: "string",
    optionsRemoveExistingFinalizers: false,
    querySelector: "string",
    identifier: "string",
    requestCascade: false,
    requestName: "string",
    requestPropagationPolicy: "string",
    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
              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
    queryProject: string
    queryRefresh: string
    queryRepo: string
    queryResourceVersion: string
    querySelector: string
    repoId: string
    requestCascade: false
    requestName: string
    requestPropagationPolicy: string
    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:
- Account
Id string - Account identifier of the GitOps application.
 - Agent
Id string - Agent identifier of the GitOps application.
 - Applications
List<Lbrlabs.
Pulumi Package. Harness. Platform. Inputs. Git Ops Applications Application>  - Definition of the GitOps application resource.
 - Cluster
Id string - Cluster identifier of the GitOps application.
 - Org
Id string - Organization identifier of the GitOps application.
 - Project
Id string - Project identifier of the GitOps application.
 - Repo
Id string - Repository 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.
 - Options
Remove boolExisting Finalizers  - Options to remove existing finalizers to delete the GitOps application.
 - Project string
 - Reference to the project corresponding to this GitOps application. An empty string means that the GitOps application belongs to the 'default' project.
 - Query
Project string - Project names to filter the corresponding GitOps applications.
 - Query
Refresh string - Forces the GitOps application to reconcile when set to true.
 - Query
Repo string - Repo URL to restrict returned list applications.
 - Query
Resource stringVersion  - Shows modifications after a version that is specified with a watch call.
 - Query
Selector string - Filters GitOps applications corresponding to the labels.
 - Request
Cascade bool - Request cascade to delete the GitOps application.
 - Request
Name string - Request name to delete the GitOps application.
 - Request
Propagation stringPolicy  - Request propagation policy to delete the GitOps application.
 - Upsert bool
 - Indicates if the GitOps application should be updated if existing and inserted if not.
 - Validate bool
 - Indicates if the GitOps application has to be validated.
 
- Account
Id string - Account identifier of the GitOps application.
 - Agent
Id string - Agent identifier of the GitOps application.
 - Applications
[]Git
Ops Applications Application Args  - Definition of the GitOps application resource.
 - Cluster
Id string - Cluster identifier of the GitOps application.
 - Org
Id string - Organization identifier of the GitOps application.
 - Project
Id string - Project identifier of the GitOps application.
 - Repo
Id string - Repository 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.
 - Options
Remove boolExisting Finalizers  - Options to remove existing finalizers to delete the GitOps application.
 - Project string
 - Reference to the project corresponding to this GitOps application. An empty string means that the GitOps application belongs to the 'default' project.
 - Query
Project string - Project names to filter the corresponding GitOps applications.
 - Query
Refresh string - Forces the GitOps application to reconcile when set to true.
 - Query
Repo string - Repo URL to restrict returned list applications.
 - Query
Resource stringVersion  - Shows modifications after a version that is specified with a watch call.
 - Query
Selector string - Filters GitOps applications corresponding to the labels.
 - Request
Cascade bool - Request cascade to delete the GitOps application.
 - Request
Name string - Request name to delete the GitOps application.
 - Request
Propagation stringPolicy  - Request propagation policy to delete the GitOps application.
 - Upsert bool
 - Indicates if the GitOps application should be updated if existing and inserted if not.
 - Validate bool
 - Indicates if the GitOps application has to be validated.
 
- account
Id String - Account identifier of the GitOps application.
 - agent
Id String - Agent identifier of the GitOps application.
 - applications
List<Git
Ops Applications Application>  - Definition of the GitOps application resource.
 - cluster
Id String - Cluster identifier of the GitOps application.
 - org
Id String - Organization identifier of the GitOps application.
 - project
Id String - Project identifier of the GitOps application.
 - repo
Id String - Repository 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.
 - options
Remove BooleanExisting Finalizers  - Options to remove existing finalizers to delete the GitOps application.
 - project String
 - Reference to the project corresponding to this GitOps application. An empty string means that the GitOps application belongs to the 'default' project.
 - query
Project String - Project names to filter the corresponding GitOps applications.
 - query
Refresh String - Forces the GitOps application to reconcile when set to true.
 - query
Repo String - Repo URL to restrict returned list applications.
 - query
Resource StringVersion  - Shows modifications after a version that is specified with a watch call.
 - query
Selector String - Filters GitOps applications corresponding to the labels.
 - request
Cascade Boolean - Request cascade to delete the GitOps application.
 - request
Name String - Request name to delete the GitOps application.
 - request
Propagation StringPolicy  - Request propagation policy to delete the GitOps application.
 - upsert Boolean
 - Indicates if the GitOps application should be updated if existing and inserted if not.
 - validate Boolean
 - Indicates if the GitOps application has to be validated.
 
- account
Id string - Account identifier of the GitOps application.
 - agent
Id string - Agent identifier of the GitOps application.
 - applications
Git
Ops Applications Application[]  - Definition of the GitOps application resource.
 - cluster
Id string - Cluster identifier of the GitOps application.
 - org
Id string - Organization identifier of the GitOps application.
 - project
Id string - Project identifier of the GitOps application.
 - repo
Id string - Repository 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.
 - options
Remove booleanExisting Finalizers  - Options to remove existing finalizers to delete the GitOps application.
 - project string
 - Reference to the project corresponding to this GitOps application. An empty string means that the GitOps application belongs to the 'default' project.
 - query
Project string - Project names to filter the corresponding GitOps applications.
 - query
Refresh string - Forces the GitOps application to reconcile when set to true.
 - query
Repo string - Repo URL to restrict returned list applications.
 - query
Resource stringVersion  - Shows modifications after a version that is specified with a watch call.
 - query
Selector string - Filters GitOps applications corresponding to the labels.
 - request
Cascade boolean - Request cascade to delete the GitOps application.
 - request
Name string - Request name to delete the GitOps application.
 - request
Propagation stringPolicy  - Request propagation policy to delete the GitOps application.
 - upsert boolean
 - Indicates if the GitOps application should be updated if existing and inserted if not.
 - validate boolean
 - Indicates if the GitOps application has to be validated.
 
- account_
id str - Account identifier of the GitOps application.
 - agent_
id str - Agent identifier of the GitOps application.
 - applications
Sequence[Git
Ops Applications Application Args]  - 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.
 - repo_
id str - Repository 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_ boolexisting_ finalizers  - Options to remove existing finalizers to delete the GitOps application.
 - project str
 - Reference to the project corresponding to this GitOps application. An empty string means that the GitOps application belongs to the 'default' project.
 - query_
project str - Project names to filter the corresponding GitOps applications.
 - query_
refresh str - Forces the GitOps application to reconcile when set to true.
 - query_
repo str - Repo URL to restrict returned list applications.
 - query_
resource_ strversion  - Shows modifications after a version that is specified with a watch call.
 - query_
selector str - Filters GitOps applications corresponding to the labels.
 - request_
cascade bool - Request cascade to delete the GitOps application.
 - request_
name str - Request name to delete the GitOps application.
 - request_
propagation_ strpolicy  - Request propagation policy to delete the GitOps application.
 - upsert bool
 - Indicates if the GitOps application should be updated if existing and inserted if not.
 - validate bool
 - Indicates if the GitOps application has to be validated.
 
- account
Id String - Account identifier of the GitOps application.
 - agent
Id String - Agent identifier of the GitOps application.
 - applications List<Property Map>
 - Definition of the GitOps application resource.
 - cluster
Id String - Cluster identifier of the GitOps application.
 - org
Id String - Organization identifier of the GitOps application.
 - project
Id String - Project identifier of the GitOps application.
 - repo
Id String - Repository 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.
 - options
Remove BooleanExisting Finalizers  - Options to remove existing finalizers to delete the GitOps application.
 - project String
 - Reference to the project corresponding to this GitOps application. An empty string means that the GitOps application belongs to the 'default' project.
 - query
Project String - Project names to filter the corresponding GitOps applications.
 - query
Refresh String - Forces the GitOps application to reconcile when set to true.
 - query
Repo String - Repo URL to restrict returned list applications.
 - query
Resource StringVersion  - Shows modifications after a version that is specified with a watch call.
 - query
Selector String - Filters GitOps applications corresponding to the labels.
 - request
Cascade Boolean - Request cascade to delete the GitOps application.
 - request
Name String - Request name to delete the GitOps application.
 - request
Propagation StringPolicy  - Request propagation policy to delete the GitOps application.
 - upsert Boolean
 - Indicates if the GitOps application should be updated if existing and inserted if not.
 - validate Boolean
 - Indicates if the GitOps application 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,
        query_project: Optional[str] = None,
        query_refresh: Optional[str] = None,
        query_repo: Optional[str] = None,
        query_resource_version: Optional[str] = None,
        query_selector: Optional[str] = None,
        repo_id: Optional[str] = None,
        request_cascade: Optional[bool] = None,
        request_name: Optional[str] = None,
        request_propagation_policy: Optional[str] = None,
        upsert: Optional[bool] = None,
        validate: Optional[bool] = None) -> GitOpsApplicationsfunc 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.
 
- Account
Id string - Account identifier of the GitOps application.
 - Agent
Id string - Agent identifier of the GitOps application.
 - Applications
List<Lbrlabs.
Pulumi Package. Harness. Platform. Inputs. Git Ops Applications Application>  - Definition of the GitOps application resource.
 - Cluster
Id 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.
 - Options
Remove boolExisting Finalizers  - Options to remove existing finalizers to delete the GitOps application.
 - Org
Id string - Organization identifier of the GitOps application.
 - Project string
 - Reference to the project corresponding to this GitOps application. An empty string means that the GitOps application belongs to the 'default' project.
 - Project
Id string - Project identifier of the GitOps application.
 - Query
Project string - Project names to filter the corresponding GitOps applications.
 - Query
Refresh string - Forces the GitOps application to reconcile when set to true.
 - Query
Repo string - Repo URL to restrict returned list applications.
 - Query
Resource stringVersion  - Shows modifications after a version that is specified with a watch call.
 - Query
Selector string - Filters GitOps applications corresponding to the labels.
 - Repo
Id string - Repository identifier of the GitOps application.
 - Request
Cascade bool - Request cascade to delete the GitOps application.
 - Request
Name string - Request name to delete the GitOps application.
 - Request
Propagation stringPolicy  - Request propagation policy to delete the GitOps application.
 - Upsert bool
 - Indicates if the GitOps application should be updated if existing and inserted if not.
 - Validate bool
 - Indicates if the GitOps application has to be validated.
 
- Account
Id string - Account identifier of the GitOps application.
 - Agent
Id string - Agent identifier of the GitOps application.
 - Applications
[]Git
Ops Applications Application Args  - Definition of the GitOps application resource.
 - Cluster
Id 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.
 - Options
Remove boolExisting Finalizers  - Options to remove existing finalizers to delete the GitOps application.
 - Org
Id string - Organization identifier of the GitOps application.
 - Project string
 - Reference to the project corresponding to this GitOps application. An empty string means that the GitOps application belongs to the 'default' project.
 - Project
Id string - Project identifier of the GitOps application.
 - Query
Project string - Project names to filter the corresponding GitOps applications.
 - Query
Refresh string - Forces the GitOps application to reconcile when set to true.
 - Query
Repo string - Repo URL to restrict returned list applications.
 - Query
Resource stringVersion  - Shows modifications after a version that is specified with a watch call.
 - Query
Selector string - Filters GitOps applications corresponding to the labels.
 - Repo
Id string - Repository identifier of the GitOps application.
 - Request
Cascade bool - Request cascade to delete the GitOps application.
 - Request
Name string - Request name to delete the GitOps application.
 - Request
Propagation stringPolicy  - Request propagation policy to delete the GitOps application.
 - Upsert bool
 - Indicates if the GitOps application should be updated if existing and inserted if not.
 - Validate bool
 - Indicates if the GitOps application has to be validated.
 
- account
Id String - Account identifier of the GitOps application.
 - agent
Id String - Agent identifier of the GitOps application.
 - applications
List<Git
Ops Applications Application>  - Definition of the GitOps application resource.
 - cluster
Id 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.
 - options
Remove BooleanExisting Finalizers  - Options to remove existing finalizers to delete the GitOps application.
 - org
Id String - Organization identifier of the GitOps application.
 - project String
 - Reference to the project corresponding to this GitOps application. An empty string means that the GitOps application belongs to the 'default' project.
 - project
Id String - Project identifier of the GitOps application.
 - query
Project String - Project names to filter the corresponding GitOps applications.
 - query
Refresh String - Forces the GitOps application to reconcile when set to true.
 - query
Repo String - Repo URL to restrict returned list applications.
 - query
Resource StringVersion  - Shows modifications after a version that is specified with a watch call.
 - query
Selector String - Filters GitOps applications corresponding to the labels.
 - repo
Id String - Repository identifier of the GitOps application.
 - request
Cascade Boolean - Request cascade to delete the GitOps application.
 - request
Name String - Request name to delete the GitOps application.
 - request
Propagation StringPolicy  - Request propagation policy to delete the GitOps application.
 - upsert Boolean
 - Indicates if the GitOps application should be updated if existing and inserted if not.
 - validate Boolean
 - Indicates if the GitOps application has to be validated.
 
- account
Id string - Account identifier of the GitOps application.
 - agent
Id string - Agent identifier of the GitOps application.
 - applications
Git
Ops Applications Application[]  - Definition of the GitOps application resource.
 - cluster
Id 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.
 - options
Remove booleanExisting Finalizers  - Options to remove existing finalizers to delete the GitOps application.
 - org
Id string - Organization identifier of the GitOps application.
 - project string
 - Reference to the project corresponding to this GitOps application. An empty string means that the GitOps application belongs to the 'default' project.
 - project
Id string - Project identifier of the GitOps application.
 - query
Project string - Project names to filter the corresponding GitOps applications.
 - query
Refresh string - Forces the GitOps application to reconcile when set to true.
 - query
Repo string - Repo URL to restrict returned list applications.
 - query
Resource stringVersion  - Shows modifications after a version that is specified with a watch call.
 - query
Selector string - Filters GitOps applications corresponding to the labels.
 - repo
Id string - Repository identifier of the GitOps application.
 - request
Cascade boolean - Request cascade to delete the GitOps application.
 - request
Name string - Request name to delete the GitOps application.
 - request
Propagation stringPolicy  - Request propagation policy to delete the GitOps application.
 - upsert boolean
 - Indicates if the GitOps application should be updated if existing and inserted if not.
 - validate boolean
 - Indicates if the GitOps application has to be validated.
 
- account_
id str - Account identifier of the GitOps application.
 - agent_
id str - Agent identifier of the GitOps application.
 - applications
Sequence[Git
Ops Applications Application Args]  - 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_ boolexisting_ finalizers  - Options to remove existing finalizers to delete the GitOps application.
 - org_
id str - Organization identifier of the GitOps application.
 - project str
 - Reference to the project corresponding to this GitOps application. An empty string means that the GitOps application belongs to the 'default' project.
 - project_
id str - Project identifier of the GitOps application.
 - query_
project str - Project names to filter the corresponding GitOps applications.
 - query_
refresh str - Forces the GitOps application to reconcile when set to true.
 - query_
repo str - Repo URL to restrict returned list applications.
 - query_
resource_ strversion  - Shows modifications after a version that is specified with a watch call.
 - query_
selector str - Filters GitOps applications corresponding to the labels.
 - repo_
id str - Repository identifier of the GitOps application.
 - request_
cascade bool - Request cascade to delete the GitOps application.
 - request_
name str - Request name to delete the GitOps application.
 - request_
propagation_ strpolicy  - Request propagation policy to delete the GitOps application.
 - upsert bool
 - Indicates if the GitOps application should be updated if existing and inserted if not.
 - validate bool
 - Indicates if the GitOps application has to be validated.
 
- account
Id String - Account identifier of the GitOps application.
 - agent
Id String - Agent identifier of the GitOps application.
 - applications List<Property Map>
 - Definition of the GitOps application resource.
 - cluster
Id 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.
 - options
Remove BooleanExisting Finalizers  - Options to remove existing finalizers to delete the GitOps application.
 - org
Id String - Organization identifier of the GitOps application.
 - project String
 - Reference to the project corresponding to this GitOps application. An empty string means that the GitOps application belongs to the 'default' project.
 - project
Id String - Project identifier of the GitOps application.
 - query
Project String - Project names to filter the corresponding GitOps applications.
 - query
Refresh String - Forces the GitOps application to reconcile when set to true.
 - query
Repo String - Repo URL to restrict returned list applications.
 - query
Resource StringVersion  - Shows modifications after a version that is specified with a watch call.
 - query
Selector String - Filters GitOps applications corresponding to the labels.
 - repo
Id String - Repository identifier of the GitOps application.
 - request
Cascade Boolean - Request cascade to delete the GitOps application.
 - request
Name String - Request name to delete the GitOps application.
 - request
Propagation StringPolicy  - Request propagation policy to delete the GitOps application.
 - upsert Boolean
 - Indicates if the GitOps application should be updated if existing and inserted if not.
 - validate Boolean
 - Indicates if the GitOps application has to be validated.
 
Supporting Types
GitOpsApplicationsApplication, GitOpsApplicationsApplicationArgs        
- Metadatas
List<Lbrlabs.
Pulumi Package. Harness. Platform. Inputs. Git Ops Applications Application Metadata>  - Metadata corresponding to the resources. This includes all the objects a user must create.
 - Specs
List<Lbrlabs.
Pulumi Package. Harness. Platform. Inputs. Git Ops Applications Application Spec>  - Specifications of the GitOps application. This includes the repository URL, application definition, source, destination and sync policy.
 
- Metadatas
[]Git
Ops Applications Application Metadata  - Metadata corresponding to the resources. This includes all the objects a user must create.
 - Specs
[]Git
Ops Applications Application Spec  - Specifications of the GitOps application. This includes the repository URL, application definition, source, destination and sync policy.
 
- metadatas
List<Git
Ops Applications Application Metadata>  - Metadata corresponding to the resources. This includes all the objects a user must create.
 - specs
List<Git
Ops Applications Application Spec>  - Specifications of the GitOps application. This includes the repository URL, application definition, source, destination and sync policy.
 
- metadatas
Git
Ops Applications Application Metadata[]  - Metadata corresponding to the resources. This includes all the objects a user must create.
 - specs
Git
Ops Applications Application Spec[]  - Specifications of the GitOps application. This includes the repository URL, application definition, source, destination and sync policy.
 
- metadatas
Sequence[Git
Ops Applications Application Metadata]  - Metadata corresponding to the resources. This includes all the objects a user must create.
 - specs
Sequence[Git
Ops Applications Application Spec]  - 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>
 - Cluster
Name string - Finalizers List<string>
 - Generate
Name string - Generation string
 - Labels Dictionary<string, string>
 - Name string
 - Name of the GitOps application.
 - Namespace string
 - Owner
References List<Lbrlabs.Pulumi Package. Harness. Platform. Inputs. Git Ops Applications Application Metadata Owner Reference>  - Uid string
 
- Annotations map[string]string
 - Cluster
Name string - Finalizers []string
 - Generate
Name string - Generation string
 - Labels map[string]string
 - Name string
 - Name of the GitOps application.
 - Namespace string
 - Owner
References []GitOps Applications Application Metadata Owner Reference  - Uid string
 
- annotations Map<String,String>
 - cluster
Name String - finalizers List<String>
 - generate
Name String - generation String
 - labels Map<String,String>
 - name String
 - Name of the GitOps application.
 - namespace String
 - owner
References List<GitOps Applications Application Metadata Owner Reference>  - uid String
 
- annotations {[key: string]: string}
 - cluster
Name string - finalizers string[]
 - generate
Name string - generation string
 - labels {[key: string]: string}
 - name string
 - Name of the GitOps application.
 - namespace string
 - owner
References GitOps Applications Application Metadata Owner Reference[]  - uid string
 
- annotations Mapping[str, str]
 - cluster_
name str - finalizers Sequence[str]
 - generate_
name str - generation str
 - labels Mapping[str, str]
 - name str
 - Name of the GitOps application.
 - namespace str
 - owner_
references Sequence[GitOps Applications Application Metadata Owner Reference]  - uid str
 
- annotations Map<String>
 - cluster
Name String - finalizers List<String>
 - generate
Name String - generation String
 - labels Map<String>
 - name String
 - Name of the GitOps application.
 - namespace String
 - owner
References List<Property Map> - uid String
 
GitOpsApplicationsApplicationMetadataOwnerReference, GitOpsApplicationsApplicationMetadataOwnerReferenceArgs              
- Api
Version string - Block
Owner boolDeletion  - Controller bool
 - Kind string
 - Kind of the GitOps application.
 - Name string
 - Name of the GitOps application.
 - Uid string
 
- Api
Version string - Block
Owner boolDeletion  - Controller bool
 - Kind string
 - Kind of the GitOps application.
 - Name string
 - Name of the GitOps application.
 - Uid string
 
- api
Version String - block
Owner BooleanDeletion  - controller Boolean
 - kind String
 - Kind of the GitOps application.
 - name String
 - Name of the GitOps application.
 - uid String
 
- api
Version string - block
Owner booleanDeletion  - controller boolean
 - kind string
 - Kind of the GitOps application.
 - name string
 - Name of the GitOps application.
 - uid string
 
- api_
version str - block_
owner_ booldeletion  - controller bool
 - kind str
 - Kind of the GitOps application.
 - name str
 - Name of the GitOps application.
 - uid str
 
- api
Version String - block
Owner BooleanDeletion  - controller Boolean
 - kind String
 - Kind of the GitOps application.
 - name String
 - Name of the GitOps application.
 - uid String
 
GitOpsApplicationsApplicationSpec, GitOpsApplicationsApplicationSpecArgs          
- Destinations
List<Lbrlabs.
Pulumi Package. Harness. Platform. Inputs. Git Ops Applications Application Spec Destination>  - Sources
List<Lbrlabs.
Pulumi Package. Harness. Platform. Inputs. Git Ops Applications Application Spec Source>  - Sync
Policies List<Lbrlabs.Pulumi Package. Harness. Platform. Inputs. Git Ops Applications Application Spec Sync Policy>  
GitOpsApplicationsApplicationSpecDestination, GitOpsApplicationsApplicationSpecDestinationArgs            
GitOpsApplicationsApplicationSpecSource, GitOpsApplicationsApplicationSpecSourceArgs            
- Path string
 - Repo
Url string - Target
Revision string - Chart string
 - Directories
List<Lbrlabs.
Pulumi Package. Harness. Platform. Inputs. Git Ops Applications Application Spec Source Directory>  - Helms
List<Lbrlabs.
Pulumi Package. Harness. Platform. Inputs. Git Ops Applications Application Spec Source Helm>  - Ksonnets
List<Lbrlabs.
Pulumi Package. Harness. Platform. Inputs. Git Ops Applications Application Spec Source Ksonnet>  - Kustomizes
List<Lbrlabs.
Pulumi Package. Harness. Platform. Inputs. Git Ops Applications Application Spec Source Kustomize>  - Plugins
List<Lbrlabs.
Pulumi Package. Harness. Platform. Inputs. Git Ops Applications Application Spec Source Plugin>  
- Path string
 - Repo
Url string - Target
Revision string - Chart string
 - Directories
[]Git
Ops Applications Application Spec Source Directory  - Helms
[]Git
Ops Applications Application Spec Source Helm  - Ksonnets
[]Git
Ops Applications Application Spec Source Ksonnet  - Kustomizes
[]Git
Ops Applications Application Spec Source Kustomize  - Plugins
[]Git
Ops Applications Application Spec Source Plugin  
- path String
 - repo
Url String - target
Revision String - chart String
 - directories
List<Git
Ops Applications Application Spec Source Directory>  - helms
List<Git
Ops Applications Application Spec Source Helm>  - ksonnets
List<Git
Ops Applications Application Spec Source Ksonnet>  - kustomizes
List<Git
Ops Applications Application Spec Source Kustomize>  - plugins
List<Git
Ops Applications Application Spec Source Plugin>  
- path string
 - repo
Url string - target
Revision string - chart string
 - directories
Git
Ops Applications Application Spec Source Directory[]  - helms
Git
Ops Applications Application Spec Source Helm[]  - ksonnets
Git
Ops Applications Application Spec Source Ksonnet[]  - kustomizes
Git
Ops Applications Application Spec Source Kustomize[]  - plugins
Git
Ops Applications Application Spec Source Plugin[]  
- path str
 - repo_
url str - target_
revision str - chart str
 - directories
Sequence[Git
Ops Applications Application Spec Source Directory]  - helms
Sequence[Git
Ops Applications Application Spec Source Helm]  - ksonnets
Sequence[Git
Ops Applications Application Spec Source Ksonnet]  - kustomizes
Sequence[Git
Ops Applications Application Spec Source Kustomize]  - plugins
Sequence[Git
Ops Applications Application Spec Source Plugin]  
GitOpsApplicationsApplicationSpecSourceDirectory, GitOpsApplicationsApplicationSpecSourceDirectoryArgs              
- exclude String
 - include String
 - jsonnets
List<Git
Ops Applications Application Spec Source Directory Jsonnet>  - recurse Boolean
 
- exclude string
 - include string
 - jsonnets
Git
Ops Applications Application Spec Source Directory Jsonnet[]  - recurse boolean
 
- exclude String
 - include String
 - jsonnets List<Property Map>
 - recurse Boolean
 
GitOpsApplicationsApplicationSpecSourceDirectoryJsonnet, GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetArgs                
- ext
Vars List<Property Map> - libs List<String>
 - tlas List<Property Map>
 
GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetExtVar, GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetExtVarArgs                    
GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetTla, GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetTlaArgs                  
GitOpsApplicationsApplicationSpecSourceHelm, GitOpsApplicationsApplicationSpecSourceHelmArgs              
- File
Parameters List<Lbrlabs.Pulumi Package. Harness. Platform. Inputs. Git Ops Applications Application Spec Source Helm File Parameter>  - Parameters
List<Lbrlabs.
Pulumi Package. Harness. Platform. Inputs. Git Ops Applications Application Spec Source Helm Parameter>  - Pass
Credentials bool - Release
Name string - Value
Files List<string> - Values string
 - Version string
 
- file
Parameters List<Property Map> - parameters List<Property Map>
 - pass
Credentials Boolean - release
Name String - value
Files List<String> - values String
 - version String
 
GitOpsApplicationsApplicationSpecSourceHelmFileParameter, GitOpsApplicationsApplicationSpecSourceHelmFileParameterArgs                  
GitOpsApplicationsApplicationSpecSourceHelmParameter, GitOpsApplicationsApplicationSpecSourceHelmParameterArgs                
- Force
String bool - Name string
 - Name of the GitOps application.
 - Value string
 
- Force
String bool - Name string
 - Name of the GitOps application.
 - Value string
 
- force
String Boolean - name String
 - Name of the GitOps application.
 - value String
 
- force
String boolean - name string
 - Name of the GitOps application.
 - value string
 
- force_
string bool - name str
 - Name of the GitOps application.
 - value str
 
- force
String Boolean - name String
 - Name of the GitOps application.
 - value String
 
GitOpsApplicationsApplicationSpecSourceKsonnet, GitOpsApplicationsApplicationSpecSourceKsonnetArgs              
GitOpsApplicationsApplicationSpecSourceKsonnetParameter, GitOpsApplicationsApplicationSpecSourceKsonnetParameterArgs                
GitOpsApplicationsApplicationSpecSourceKustomize, GitOpsApplicationsApplicationSpecSourceKustomizeArgs              
- Common
Annotations Dictionary<string, string> - Common
Labels Dictionary<string, string> - Force
Common boolAnnotations  - Force
Common boolLabels  - Images List<string>
 - Name
Prefix string - Name
Suffix string - Version string
 
- Common
Annotations map[string]string - Common
Labels map[string]string - Force
Common boolAnnotations  - Force
Common boolLabels  - Images []string
 - Name
Prefix string - Name
Suffix string - Version string
 
- common
Annotations Map<String,String> - common
Labels Map<String,String> - force
Common BooleanAnnotations  - force
Common BooleanLabels  - images List<String>
 - name
Prefix String - name
Suffix String - version String
 
- common
Annotations {[key: string]: string} - common
Labels {[key: string]: string} - force
Common booleanAnnotations  - force
Common booleanLabels  - images string[]
 - name
Prefix string - name
Suffix string - version string
 
- common_
annotations Mapping[str, str] - common_
labels Mapping[str, str] - force_
common_ boolannotations  - force_
common_ boollabels  - images Sequence[str]
 - name_
prefix str - name_
suffix str - version str
 
- common
Annotations Map<String> - common
Labels Map<String> - force
Common BooleanAnnotations  - force
Common BooleanLabels  - images List<String>
 - name
Prefix String - name
Suffix String - version String
 
GitOpsApplicationsApplicationSpecSourcePlugin, GitOpsApplicationsApplicationSpecSourcePluginArgs              
- Envs
List<Lbrlabs.
Pulumi Package. Harness. Platform. Inputs. Git Ops Applications Application Spec Source Plugin Env>  - Name string
 - Name of the GitOps application.
 
- Envs
[]Git
Ops Applications Application Spec Source Plugin Env  - Name string
 - Name of the GitOps application.
 
- envs
List<Git
Ops Applications Application Spec Source Plugin Env>  - name String
 - Name of the GitOps application.
 
- envs
Git
Ops Applications Application Spec Source Plugin Env[]  - name string
 - Name of the GitOps application.
 
- envs
Sequence[Git
Ops Applications Application Spec Source Plugin Env]  - name str
 - Name of the GitOps application.
 
- envs List<Property Map>
 - name String
 - Name of the GitOps application.
 
GitOpsApplicationsApplicationSpecSourcePluginEnv, GitOpsApplicationsApplicationSpecSourcePluginEnvArgs                
GitOpsApplicationsApplicationSpecSyncPolicy, GitOpsApplicationsApplicationSpecSyncPolicyArgs              
GitOpsApplicationsApplicationSpecSyncPolicyAutomated, GitOpsApplicationsApplicationSpecSyncPolicyAutomatedArgs                
- Allow
Empty bool - Prune bool
 - Self
Heal bool 
- Allow
Empty bool - Prune bool
 - Self
Heal bool 
- allow
Empty Boolean - prune Boolean
 - self
Heal Boolean 
- allow
Empty boolean - prune boolean
 - self
Heal boolean 
- allow_
empty bool - prune bool
 - self_
heal bool 
- allow
Empty Boolean - prune Boolean
 - self
Heal Boolean 
GitOpsApplicationsApplicationSpecSyncPolicyRetry, GitOpsApplicationsApplicationSpecSyncPolicyRetryArgs                
- backoffs List<Property Map>
 - limit String
 
GitOpsApplicationsApplicationSpecSyncPolicyRetryBackoff, GitOpsApplicationsApplicationSpecSyncPolicyRetryBackoffArgs                  
- Duration string
 - Factor string
 - Max
Duration string 
- Duration string
 - Factor string
 - Max
Duration string 
- duration String
 - factor String
 - max
Duration String 
- duration string
 - factor string
 - max
Duration string 
- duration str
 - factor str
 - max_
duration str 
- duration String
 - factor String
 - max
Duration String 
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 lbrlabs/pulumi-harness
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
harnessTerraform Provider.