1. Packages
  2. Harness
  3. API Docs
  4. platform
  5. GitOpsApplications
Harness v0.0.6 published on Saturday, Jul 1, 2023 by lbrlabs

harness.platform.GitOpsApplications

Explore with Pulumi AI

harness logo
Harness v0.0.6 published on Saturday, Jul 1, 2023 by lbrlabs

    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.

    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:

    AccountId string
    Account identifier of the GitOps application.
    AgentId string
    Agent identifier of the GitOps application.
    Applications List<Lbrlabs.PulumiPackage.Harness.Platform.Inputs.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.
    RepoId 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.
    OptionsRemoveExistingFinalizers bool
    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.
    QueryProject string
    Project names to filter the corresponding GitOps applications.
    QueryRefresh string
    Forces the GitOps application to reconcile when set to true.
    QueryRepo string
    Repo URL to restrict returned list applications.
    QueryResourceVersion string
    Shows modifications after a version that is specified with a watch call.
    QuerySelector string
    Filters GitOps applications corresponding to the labels.
    RequestCascade bool
    Request cascade to delete the GitOps application.
    RequestName string
    Request name to delete the GitOps application.
    RequestPropagationPolicy string
    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.
    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.
    RepoId 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.
    OptionsRemoveExistingFinalizers bool
    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.
    QueryProject string
    Project names to filter the corresponding GitOps applications.
    QueryRefresh string
    Forces the GitOps application to reconcile when set to true.
    QueryRepo string
    Repo URL to restrict returned list applications.
    QueryResourceVersion string
    Shows modifications after a version that is specified with a watch call.
    QuerySelector string
    Filters GitOps applications corresponding to the labels.
    RequestCascade bool
    Request cascade to delete the GitOps application.
    RequestName string
    Request name to delete the GitOps application.
    RequestPropagationPolicy string
    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.
    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.
    repoId 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.
    optionsRemoveExistingFinalizers Boolean
    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.
    queryProject String
    Project names to filter the corresponding GitOps applications.
    queryRefresh String
    Forces the GitOps application to reconcile when set to true.
    queryRepo String
    Repo URL to restrict returned list applications.
    queryResourceVersion String
    Shows modifications after a version that is specified with a watch call.
    querySelector String
    Filters GitOps applications corresponding to the labels.
    requestCascade Boolean
    Request cascade to delete the GitOps application.
    requestName String
    Request name to delete the GitOps application.
    requestPropagationPolicy String
    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.
    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.
    repoId 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.
    optionsRemoveExistingFinalizers boolean
    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.
    queryProject string
    Project names to filter the corresponding GitOps applications.
    queryRefresh string
    Forces the GitOps application to reconcile when set to true.
    queryRepo string
    Repo URL to restrict returned list applications.
    queryResourceVersion string
    Shows modifications after a version that is specified with a watch call.
    querySelector string
    Filters GitOps applications corresponding to the labels.
    requestCascade boolean
    Request cascade to delete the GitOps application.
    requestName string
    Request name to delete the GitOps application.
    requestPropagationPolicy string
    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[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.
    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_existing_finalizers bool
    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_version str
    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_policy str
    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.
    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.
    repoId 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.
    optionsRemoveExistingFinalizers Boolean
    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.
    queryProject String
    Project names to filter the corresponding GitOps applications.
    queryRefresh String
    Forces the GitOps application to reconcile when set to true.
    queryRepo String
    Repo URL to restrict returned list applications.
    queryResourceVersion String
    Shows modifications after a version that is specified with a watch call.
    querySelector String
    Filters GitOps applications corresponding to the labels.
    requestCascade Boolean
    Request cascade to delete the GitOps application.
    requestName String
    Request name to delete the GitOps application.
    requestPropagationPolicy String
    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) -> 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<Lbrlabs.PulumiPackage.Harness.Platform.Inputs.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
    Reference to the project corresponding to this GitOps application. An empty string means that the GitOps application belongs to the 'default' project.
    ProjectId string
    Project identifier of the GitOps application.
    QueryProject string
    Project names to filter the corresponding GitOps applications.
    QueryRefresh string
    Forces the GitOps application to reconcile when set to true.
    QueryRepo string
    Repo URL to restrict returned list applications.
    QueryResourceVersion string
    Shows modifications after a version that is specified with a watch call.
    QuerySelector string
    Filters GitOps applications corresponding to the labels.
    RepoId string
    Repository identifier of the GitOps application.
    RequestCascade bool
    Request cascade to delete the GitOps application.
    RequestName string
    Request name to delete the GitOps application.
    RequestPropagationPolicy string
    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.
    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
    Reference to the project corresponding to this GitOps application. An empty string means that the GitOps application belongs to the 'default' project.
    ProjectId string
    Project identifier of the GitOps application.
    QueryProject string
    Project names to filter the corresponding GitOps applications.
    QueryRefresh string
    Forces the GitOps application to reconcile when set to true.
    QueryRepo string
    Repo URL to restrict returned list applications.
    QueryResourceVersion string
    Shows modifications after a version that is specified with a watch call.
    QuerySelector string
    Filters GitOps applications corresponding to the labels.
    RepoId string
    Repository identifier of the GitOps application.
    RequestCascade bool
    Request cascade to delete the GitOps application.
    RequestName string
    Request name to delete the GitOps application.
    RequestPropagationPolicy string
    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.
    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
    Reference to the project corresponding to this GitOps application. An empty string means that the GitOps application belongs to the 'default' project.
    projectId String
    Project identifier of the GitOps application.
    queryProject String
    Project names to filter the corresponding GitOps applications.
    queryRefresh String
    Forces the GitOps application to reconcile when set to true.
    queryRepo String
    Repo URL to restrict returned list applications.
    queryResourceVersion String
    Shows modifications after a version that is specified with a watch call.
    querySelector String
    Filters GitOps applications corresponding to the labels.
    repoId String
    Repository identifier of the GitOps application.
    requestCascade Boolean
    Request cascade to delete the GitOps application.
    requestName String
    Request name to delete the GitOps application.
    requestPropagationPolicy String
    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.
    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
    Reference to the project corresponding to this GitOps application. An empty string means that the GitOps application belongs to the 'default' project.
    projectId string
    Project identifier of the GitOps application.
    queryProject string
    Project names to filter the corresponding GitOps applications.
    queryRefresh string
    Forces the GitOps application to reconcile when set to true.
    queryRepo string
    Repo URL to restrict returned list applications.
    queryResourceVersion string
    Shows modifications after a version that is specified with a watch call.
    querySelector string
    Filters GitOps applications corresponding to the labels.
    repoId string
    Repository identifier of the GitOps application.
    requestCascade boolean
    Request cascade to delete the GitOps application.
    requestName string
    Request name to delete the GitOps application.
    requestPropagationPolicy string
    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[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
    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_version str
    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_policy str
    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.
    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
    Reference to the project corresponding to this GitOps application. An empty string means that the GitOps application belongs to the 'default' project.
    projectId String
    Project identifier of the GitOps application.
    queryProject String
    Project names to filter the corresponding GitOps applications.
    queryRefresh String
    Forces the GitOps application to reconcile when set to true.
    queryRepo String
    Repo URL to restrict returned list applications.
    queryResourceVersion String
    Shows modifications after a version that is specified with a watch call.
    querySelector String
    Filters GitOps applications corresponding to the labels.
    repoId String
    Repository identifier of the GitOps application.
    requestCascade Boolean
    Request cascade to delete the GitOps application.
    requestName String
    Request name to delete the GitOps application.
    requestPropagationPolicy String
    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.PulumiPackage.Harness.Platform.Inputs.GitOpsApplicationsApplicationMetadata>
    Metadata corresponding to the resources. This includes all the objects a user must create.
    Specs List<Lbrlabs.PulumiPackage.Harness.Platform.Inputs.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>
    ClusterName string
    Finalizers List<string>
    GenerateName string
    Generation string
    Labels Dictionary<string, string>
    Name string
    Name of the GitOps application.
    Namespace string
    OwnerReferences List<Lbrlabs.PulumiPackage.Harness.Platform.Inputs.GitOpsApplicationsApplicationMetadataOwnerReference>
    Uid string
    Annotations map[string]string
    ClusterName string
    Finalizers []string
    GenerateName string
    Generation string
    Labels map[string]string
    Name string
    Name of the GitOps application.
    Namespace string
    OwnerReferences []GitOpsApplicationsApplicationMetadataOwnerReference
    Uid string
    annotations Map<String,String>
    clusterName String
    finalizers List<String>
    generateName String
    generation String
    labels Map<String,String>
    name String
    Name of the GitOps application.
    namespace String
    ownerReferences List<GitOpsApplicationsApplicationMetadataOwnerReference>
    uid String
    annotations {[key: string]: string}
    clusterName string
    finalizers string[]
    generateName string
    generation string
    labels {[key: string]: string}
    name string
    Name of the GitOps application.
    namespace string
    ownerReferences GitOpsApplicationsApplicationMetadataOwnerReference[]
    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[GitOpsApplicationsApplicationMetadataOwnerReference]
    uid str
    annotations Map<String>
    clusterName String
    finalizers List<String>
    generateName String
    generation String
    labels Map<String>
    name String
    Name of the GitOps application.
    namespace String
    ownerReferences List<Property Map>
    uid String

    GitOpsApplicationsApplicationMetadataOwnerReference, GitOpsApplicationsApplicationMetadataOwnerReferenceArgs

    ApiVersion string
    BlockOwnerDeletion bool
    Controller bool
    Kind string
    Kind of the GitOps application.
    Name string
    Name of the GitOps application.
    Uid string
    ApiVersion string
    BlockOwnerDeletion bool
    Controller bool
    Kind string
    Kind of the GitOps application.
    Name string
    Name of the GitOps application.
    Uid string
    apiVersion String
    blockOwnerDeletion Boolean
    controller Boolean
    kind String
    Kind of the GitOps application.
    name String
    Name of the GitOps application.
    uid String
    apiVersion string
    blockOwnerDeletion boolean
    controller boolean
    kind string
    Kind of the GitOps application.
    name string
    Name of the GitOps application.
    uid string
    api_version str
    block_owner_deletion bool
    controller bool
    kind str
    Kind of the GitOps application.
    name str
    Name of the GitOps application.
    uid str
    apiVersion String
    blockOwnerDeletion Boolean
    controller Boolean
    kind String
    Kind of the GitOps application.
    name String
    Name of the GitOps application.
    uid String

    GitOpsApplicationsApplicationSpec, GitOpsApplicationsApplicationSpecArgs

    GitOpsApplicationsApplicationSpecDestination, GitOpsApplicationsApplicationSpecDestinationArgs

    Name string
    Name of the GitOps application.
    Namespace string
    Server string
    Name string
    Name of the GitOps application.
    Namespace string
    Server string
    name String
    Name of the GitOps application.
    namespace String
    server String
    name string
    Name of the GitOps application.
    namespace string
    server string
    name str
    Name of the GitOps application.
    namespace str
    server str
    name String
    Name of the GitOps application.
    namespace String
    server String

    GitOpsApplicationsApplicationSpecSource, GitOpsApplicationsApplicationSpecSourceArgs

    GitOpsApplicationsApplicationSpecSourceDirectory, GitOpsApplicationsApplicationSpecSourceDirectoryArgs

    GitOpsApplicationsApplicationSpecSourceDirectoryJsonnet, GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetArgs

    GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetExtVar, GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetExtVarArgs

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

    GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetTla, GitOpsApplicationsApplicationSpecSourceDirectoryJsonnetTlaArgs

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

    GitOpsApplicationsApplicationSpecSourceHelm, GitOpsApplicationsApplicationSpecSourceHelmArgs

    GitOpsApplicationsApplicationSpecSourceHelmFileParameter, GitOpsApplicationsApplicationSpecSourceHelmFileParameterArgs

    Name string
    Name of the GitOps application.
    Path string
    Name string
    Name of the GitOps application.
    Path string
    name String
    Name of the GitOps application.
    path String
    name string
    Name of the GitOps application.
    path string
    name str
    Name of the GitOps application.
    path str
    name String
    Name of the GitOps application.
    path String

    GitOpsApplicationsApplicationSpecSourceHelmParameter, GitOpsApplicationsApplicationSpecSourceHelmParameterArgs

    ForceString bool
    Name string
    Name of the GitOps application.
    Value string
    ForceString bool
    Name string
    Name of the GitOps application.
    Value string
    forceString Boolean
    name String
    Name of the GitOps application.
    value String
    forceString boolean
    name string
    Name of the GitOps application.
    value string
    force_string bool
    name str
    Name of the GitOps application.
    value str
    forceString Boolean
    name String
    Name of the GitOps application.
    value String

    GitOpsApplicationsApplicationSpecSourceKsonnet, GitOpsApplicationsApplicationSpecSourceKsonnetArgs

    GitOpsApplicationsApplicationSpecSourceKsonnetParameter, GitOpsApplicationsApplicationSpecSourceKsonnetParameterArgs

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

    GitOpsApplicationsApplicationSpecSourceKustomize, GitOpsApplicationsApplicationSpecSourceKustomizeArgs

    CommonAnnotations Dictionary<string, string>
    CommonLabels Dictionary<string, string>
    ForceCommonAnnotations bool
    ForceCommonLabels bool
    Images List<string>
    NamePrefix string
    NameSuffix string
    Version string
    CommonAnnotations map[string]string
    CommonLabels map[string]string
    ForceCommonAnnotations bool
    ForceCommonLabels bool
    Images []string
    NamePrefix string
    NameSuffix string
    Version string
    commonAnnotations Map<String,String>
    commonLabels Map<String,String>
    forceCommonAnnotations Boolean
    forceCommonLabels Boolean
    images List<String>
    namePrefix String
    nameSuffix String
    version String
    commonAnnotations {[key: string]: string}
    commonLabels {[key: string]: string}
    forceCommonAnnotations boolean
    forceCommonLabels boolean
    images string[]
    namePrefix string
    nameSuffix string
    version string
    commonAnnotations Map<String>
    commonLabels Map<String>
    forceCommonAnnotations Boolean
    forceCommonLabels Boolean
    images List<String>
    namePrefix String
    nameSuffix String
    version String

    GitOpsApplicationsApplicationSpecSourcePlugin, GitOpsApplicationsApplicationSpecSourcePluginArgs

    Envs []GitOpsApplicationsApplicationSpecSourcePluginEnv
    Name string
    Name of the GitOps application.
    envs GitOpsApplicationsApplicationSpecSourcePluginEnv[]
    name string
    Name of the GitOps application.
    envs List<Property Map>
    name String
    Name of the GitOps application.

    GitOpsApplicationsApplicationSpecSourcePluginEnv, GitOpsApplicationsApplicationSpecSourcePluginEnvArgs

    Name string
    Name of the GitOps application.
    Value string
    Name string
    Name of the GitOps application.
    Value string
    name String
    Name of the GitOps application.
    value String
    name string
    Name of the GitOps application.
    value string
    name str
    Name of the GitOps application.
    value str
    name String
    Name of the GitOps application.
    value String

    GitOpsApplicationsApplicationSpecSyncPolicy, GitOpsApplicationsApplicationSpecSyncPolicyArgs

    GitOpsApplicationsApplicationSpecSyncPolicyAutomated, GitOpsApplicationsApplicationSpecSyncPolicyAutomatedArgs

    allowEmpty Boolean
    prune Boolean
    selfHeal Boolean
    allowEmpty boolean
    prune boolean
    selfHeal boolean
    allowEmpty Boolean
    prune Boolean
    selfHeal Boolean

    GitOpsApplicationsApplicationSpecSyncPolicyRetry, GitOpsApplicationsApplicationSpecSyncPolicyRetryArgs

    GitOpsApplicationsApplicationSpecSyncPolicyRetryBackoff, GitOpsApplicationsApplicationSpecSyncPolicyRetryBackoffArgs

    Duration string
    Factor string
    MaxDuration string
    Duration string
    Factor string
    MaxDuration string
    duration String
    factor String
    maxDuration String
    duration string
    factor string
    maxDuration string
    duration String
    factor String
    maxDuration 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 harness Terraform Provider.
    harness logo
    Harness v0.0.6 published on Saturday, Jul 1, 2023 by lbrlabs