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

harness.platform.GitOpsCluster

Explore with Pulumi AI

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

    Resource for creating a Harness Gitops Cluster.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Harness = Lbrlabs.PulumiPackage.Harness;
    
    return await Deployment.RunAsync(() => 
    {
        // Clusters without Optional tags
        var exampleGitOpsCluster = new Harness.Platform.GitOpsCluster("exampleGitOpsCluster", new()
        {
            Identifier = "identifier",
            AccountId = "account_id",
            ProjectId = "project_id",
            OrgId = "org_id",
            AgentId = "agent_id",
            Requests = new[]
            {
                new Harness.Platform.Inputs.GitOpsClusterRequestArgs
                {
                    Upsert = false,
                    Clusters = new[]
                    {
                        new Harness.Platform.Inputs.GitOpsClusterRequestClusterArgs
                        {
                            Server = "https://kubernetes.default.svc",
                            Name = "name",
                            Configs = new[]
                            {
                                new Harness.Platform.Inputs.GitOpsClusterRequestClusterConfigArgs
                                {
                                    TlsClientConfigs = new[]
                                    {
                                        new Harness.Platform.Inputs.GitOpsClusterRequestClusterConfigTlsClientConfigArgs
                                        {
                                            Insecure = true,
                                        },
                                    },
                                    ClusterConnectionType = "IN_CLUSTER",
                                },
                            },
                        },
                    },
                },
            },
        });
    
        // Clusters with Optional tags
        var examplePlatform_gitOpsClusterGitOpsCluster = new Harness.Platform.GitOpsCluster("examplePlatform/gitOpsClusterGitOpsCluster", new()
        {
            Identifier = "identifier",
            AccountId = "account_id",
            ProjectId = "project_id",
            OrgId = "org_id",
            AgentId = "agent_id",
            Requests = new[]
            {
                new Harness.Platform.Inputs.GitOpsClusterRequestArgs
                {
                    Upsert = false,
                    Tags = new[]
                    {
                        "foo:bar",
                    },
                    Clusters = new[]
                    {
                        new Harness.Platform.Inputs.GitOpsClusterRequestClusterArgs
                        {
                            Server = "https://kubernetes.default.svc",
                            Name = "name",
                            Configs = new[]
                            {
                                new Harness.Platform.Inputs.GitOpsClusterRequestClusterConfigArgs
                                {
                                    TlsClientConfigs = new[]
                                    {
                                        new Harness.Platform.Inputs.GitOpsClusterRequestClusterConfigTlsClientConfigArgs
                                        {
                                            Insecure = true,
                                        },
                                    },
                                    ClusterConnectionType = "IN_CLUSTER",
                                },
                            },
                        },
                    },
                },
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/lbrlabs/pulumi-harness/sdk/go/harness/platform"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := platform.NewGitOpsCluster(ctx, "exampleGitOpsCluster", &platform.GitOpsClusterArgs{
    			Identifier: pulumi.String("identifier"),
    			AccountId:  pulumi.String("account_id"),
    			ProjectId:  pulumi.String("project_id"),
    			OrgId:      pulumi.String("org_id"),
    			AgentId:    pulumi.String("agent_id"),
    			Requests: platform.GitOpsClusterRequestArray{
    				&platform.GitOpsClusterRequestArgs{
    					Upsert: pulumi.Bool(false),
    					Clusters: platform.GitOpsClusterRequestClusterArray{
    						&platform.GitOpsClusterRequestClusterArgs{
    							Server: pulumi.String("https://kubernetes.default.svc"),
    							Name:   pulumi.String("name"),
    							Configs: platform.GitOpsClusterRequestClusterConfigArray{
    								&platform.GitOpsClusterRequestClusterConfigArgs{
    									TlsClientConfigs: platform.GitOpsClusterRequestClusterConfigTlsClientConfigArray{
    										&platform.GitOpsClusterRequestClusterConfigTlsClientConfigArgs{
    											Insecure: pulumi.Bool(true),
    										},
    									},
    									ClusterConnectionType: pulumi.String("IN_CLUSTER"),
    								},
    							},
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = platform.NewGitOpsCluster(ctx, "examplePlatform/gitOpsClusterGitOpsCluster", &platform.GitOpsClusterArgs{
    			Identifier: pulumi.String("identifier"),
    			AccountId:  pulumi.String("account_id"),
    			ProjectId:  pulumi.String("project_id"),
    			OrgId:      pulumi.String("org_id"),
    			AgentId:    pulumi.String("agent_id"),
    			Requests: platform.GitOpsClusterRequestArray{
    				&platform.GitOpsClusterRequestArgs{
    					Upsert: pulumi.Bool(false),
    					Tags: pulumi.StringArray{
    						pulumi.String("foo:bar"),
    					},
    					Clusters: platform.GitOpsClusterRequestClusterArray{
    						&platform.GitOpsClusterRequestClusterArgs{
    							Server: pulumi.String("https://kubernetes.default.svc"),
    							Name:   pulumi.String("name"),
    							Configs: platform.GitOpsClusterRequestClusterConfigArray{
    								&platform.GitOpsClusterRequestClusterConfigArgs{
    									TlsClientConfigs: platform.GitOpsClusterRequestClusterConfigTlsClientConfigArray{
    										&platform.GitOpsClusterRequestClusterConfigTlsClientConfigArgs{
    											Insecure: pulumi.Bool(true),
    										},
    									},
    									ClusterConnectionType: pulumi.String("IN_CLUSTER"),
    								},
    							},
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.harness.platform.GitOpsCluster;
    import com.pulumi.harness.platform.GitOpsClusterArgs;
    import com.pulumi.harness.platform.inputs.GitOpsClusterRequestArgs;
    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 exampleGitOpsCluster = new GitOpsCluster("exampleGitOpsCluster", GitOpsClusterArgs.builder()        
                .identifier("identifier")
                .accountId("account_id")
                .projectId("project_id")
                .orgId("org_id")
                .agentId("agent_id")
                .requests(GitOpsClusterRequestArgs.builder()
                    .upsert(false)
                    .clusters(GitOpsClusterRequestClusterArgs.builder()
                        .server("https://kubernetes.default.svc")
                        .name("name")
                        .configs(GitOpsClusterRequestClusterConfigArgs.builder()
                            .tlsClientConfigs(GitOpsClusterRequestClusterConfigTlsClientConfigArgs.builder()
                                .insecure(true)
                                .build())
                            .clusterConnectionType("IN_CLUSTER")
                            .build())
                        .build())
                    .build())
                .build());
    
            var examplePlatform_gitOpsClusterGitOpsCluster = new GitOpsCluster("examplePlatform/gitOpsClusterGitOpsCluster", GitOpsClusterArgs.builder()        
                .identifier("identifier")
                .accountId("account_id")
                .projectId("project_id")
                .orgId("org_id")
                .agentId("agent_id")
                .requests(GitOpsClusterRequestArgs.builder()
                    .upsert(false)
                    .tags("foo:bar")
                    .clusters(GitOpsClusterRequestClusterArgs.builder()
                        .server("https://kubernetes.default.svc")
                        .name("name")
                        .configs(GitOpsClusterRequestClusterConfigArgs.builder()
                            .tlsClientConfigs(GitOpsClusterRequestClusterConfigTlsClientConfigArgs.builder()
                                .insecure(true)
                                .build())
                            .clusterConnectionType("IN_CLUSTER")
                            .build())
                        .build())
                    .build())
                .build());
    
        }
    }
    
    import pulumi
    import lbrlabs_pulumi_harness as harness
    
    # Clusters without Optional tags
    example_git_ops_cluster = harness.platform.GitOpsCluster("exampleGitOpsCluster",
        identifier="identifier",
        account_id="account_id",
        project_id="project_id",
        org_id="org_id",
        agent_id="agent_id",
        requests=[harness.platform.GitOpsClusterRequestArgs(
            upsert=False,
            clusters=[harness.platform.GitOpsClusterRequestClusterArgs(
                server="https://kubernetes.default.svc",
                name="name",
                configs=[harness.platform.GitOpsClusterRequestClusterConfigArgs(
                    tls_client_configs=[harness.platform.GitOpsClusterRequestClusterConfigTlsClientConfigArgs(
                        insecure=True,
                    )],
                    cluster_connection_type="IN_CLUSTER",
                )],
            )],
        )])
    # Clusters with Optional tags
    example_platform_git_ops_cluster_git_ops_cluster = harness.platform.GitOpsCluster("examplePlatform/gitOpsClusterGitOpsCluster",
        identifier="identifier",
        account_id="account_id",
        project_id="project_id",
        org_id="org_id",
        agent_id="agent_id",
        requests=[harness.platform.GitOpsClusterRequestArgs(
            upsert=False,
            tags=["foo:bar"],
            clusters=[harness.platform.GitOpsClusterRequestClusterArgs(
                server="https://kubernetes.default.svc",
                name="name",
                configs=[harness.platform.GitOpsClusterRequestClusterConfigArgs(
                    tls_client_configs=[harness.platform.GitOpsClusterRequestClusterConfigTlsClientConfigArgs(
                        insecure=True,
                    )],
                    cluster_connection_type="IN_CLUSTER",
                )],
            )],
        )])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as harness from "@lbrlabs/pulumi-harness";
    
    // Clusters without Optional tags
    const exampleGitOpsCluster = new harness.platform.GitOpsCluster("exampleGitOpsCluster", {
        identifier: "identifier",
        accountId: "account_id",
        projectId: "project_id",
        orgId: "org_id",
        agentId: "agent_id",
        requests: [{
            upsert: false,
            clusters: [{
                server: "https://kubernetes.default.svc",
                name: "name",
                configs: [{
                    tlsClientConfigs: [{
                        insecure: true,
                    }],
                    clusterConnectionType: "IN_CLUSTER",
                }],
            }],
        }],
    });
    // Clusters with Optional tags
    const examplePlatform_gitOpsClusterGitOpsCluster = new harness.platform.GitOpsCluster("examplePlatform/gitOpsClusterGitOpsCluster", {
        identifier: "identifier",
        accountId: "account_id",
        projectId: "project_id",
        orgId: "org_id",
        agentId: "agent_id",
        requests: [{
            upsert: false,
            tags: ["foo:bar"],
            clusters: [{
                server: "https://kubernetes.default.svc",
                name: "name",
                configs: [{
                    tlsClientConfigs: [{
                        insecure: true,
                    }],
                    clusterConnectionType: "IN_CLUSTER",
                }],
            }],
        }],
    });
    
    resources:
      # Clusters without Optional tags
      exampleGitOpsCluster:
        type: harness:platform:GitOpsCluster
        properties:
          identifier: identifier
          accountId: account_id
          projectId: project_id
          orgId: org_id
          agentId: agent_id
          requests:
            - upsert: false
              clusters:
                - server: https://kubernetes.default.svc
                  name: name
                  configs:
                    - tlsClientConfigs:
                        - insecure: true
                      clusterConnectionType: IN_CLUSTER
      # Clusters with Optional tags
      examplePlatform/gitOpsClusterGitOpsCluster:
        type: harness:platform:GitOpsCluster
        properties:
          identifier: identifier
          accountId: account_id
          projectId: project_id
          orgId: org_id
          agentId: agent_id
          requests:
            - upsert: false
              tags:
                - foo:bar
              clusters:
                - server: https://kubernetes.default.svc
                  name: name
                  configs:
                    - tlsClientConfigs:
                        - insecure: true
                      clusterConnectionType: IN_CLUSTER
    

    Create GitOpsCluster Resource

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

    Constructor syntax

    new GitOpsCluster(name: string, args: GitOpsClusterArgs, opts?: CustomResourceOptions);
    @overload
    def GitOpsCluster(resource_name: str,
                      args: GitOpsClusterArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def GitOpsCluster(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      account_id: Optional[str] = None,
                      agent_id: Optional[str] = None,
                      identifier: Optional[str] = None,
                      org_id: Optional[str] = None,
                      project_id: Optional[str] = None,
                      queries: Optional[Sequence[GitOpsClusterQueryArgs]] = None,
                      requests: Optional[Sequence[GitOpsClusterRequestArgs]] = None)
    func NewGitOpsCluster(ctx *Context, name string, args GitOpsClusterArgs, opts ...ResourceOption) (*GitOpsCluster, error)
    public GitOpsCluster(string name, GitOpsClusterArgs args, CustomResourceOptions? opts = null)
    public GitOpsCluster(String name, GitOpsClusterArgs args)
    public GitOpsCluster(String name, GitOpsClusterArgs args, CustomResourceOptions options)
    
    type: harness:platform:GitOpsCluster
    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 GitOpsClusterArgs
    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 GitOpsClusterArgs
    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 GitOpsClusterArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GitOpsClusterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GitOpsClusterArgs
    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 gitOpsClusterResource = new Harness.Platform.GitOpsCluster("gitOpsClusterResource", new()
    {
        AccountId = "string",
        AgentId = "string",
        Identifier = "string",
        OrgId = "string",
        ProjectId = "string",
        Queries = new[]
        {
            new Harness.Platform.Inputs.GitOpsClusterQueryArgs
            {
                Ids = new[]
                {
                    new Harness.Platform.Inputs.GitOpsClusterQueryIdArgs
                    {
                        Type = "string",
                        Value = "string",
                    },
                },
                Name = "string",
                Server = "string",
            },
        },
        Requests = new[]
        {
            new Harness.Platform.Inputs.GitOpsClusterRequestArgs
            {
                Clusters = new[]
                {
                    new Harness.Platform.Inputs.GitOpsClusterRequestClusterArgs
                    {
                        Configs = new[]
                        {
                            new Harness.Platform.Inputs.GitOpsClusterRequestClusterConfigArgs
                            {
                                AwsAuthConfigs = new[]
                                {
                                    new Harness.Platform.Inputs.GitOpsClusterRequestClusterConfigAwsAuthConfigArgs
                                    {
                                        ClusterName = "string",
                                        RoleARN = "string",
                                    },
                                },
                                BearerToken = "string",
                                ClusterConnectionType = "string",
                                ExecProviderConfigs = new[]
                                {
                                    new Harness.Platform.Inputs.GitOpsClusterRequestClusterConfigExecProviderConfigArgs
                                    {
                                        ApiVersion = "string",
                                        Args = new[]
                                        {
                                            "string",
                                        },
                                        Command = "string",
                                        Env = 
                                        {
                                            { "string", "string" },
                                        },
                                        InstallHint = "string",
                                    },
                                },
                                Password = "string",
                                TlsClientConfigs = new[]
                                {
                                    new Harness.Platform.Inputs.GitOpsClusterRequestClusterConfigTlsClientConfigArgs
                                    {
                                        CaData = "string",
                                        CertData = "string",
                                        Insecure = false,
                                        KeyData = "string",
                                        ServerName = "string",
                                    },
                                },
                                Username = "string",
                            },
                        },
                        Server = "string",
                        Annotations = 
                        {
                            { "string", "string" },
                        },
                        ClusterResources = false,
                        Infos = new[]
                        {
                            new Harness.Platform.Inputs.GitOpsClusterRequestClusterInfoArgs
                            {
                                ApiVersions = new[]
                                {
                                    "string",
                                },
                                ApplicationsCount = "string",
                                CacheInfos = new[]
                                {
                                    new Harness.Platform.Inputs.GitOpsClusterRequestClusterInfoCacheInfoArgs
                                    {
                                        ApisCount = "string",
                                        LastCacheSyncTime = "string",
                                        ResourcesCount = "string",
                                    },
                                },
                                ConnectionStates = new[]
                                {
                                    new Harness.Platform.Inputs.GitOpsClusterRequestClusterInfoConnectionStateArgs
                                    {
                                        AttemptedAts = new[]
                                        {
                                            new Harness.Platform.Inputs.GitOpsClusterRequestClusterInfoConnectionStateAttemptedAtArgs
                                            {
                                                Nanos = 0,
                                                Seconds = "string",
                                            },
                                        },
                                        Message = "string",
                                        Status = "string",
                                    },
                                },
                                ServerVersion = "string",
                            },
                        },
                        Labels = 
                        {
                            { "string", "string" },
                        },
                        Name = "string",
                        Namespaces = new[]
                        {
                            "string",
                        },
                        Project = "string",
                        RefreshRequestedAts = new[]
                        {
                            new Harness.Platform.Inputs.GitOpsClusterRequestClusterRefreshRequestedAtArgs
                            {
                                Nanos = 0,
                                Seconds = "string",
                            },
                        },
                        Shard = "string",
                    },
                },
                Ids = new[]
                {
                    new Harness.Platform.Inputs.GitOpsClusterRequestIdArgs
                    {
                        Type = "string",
                        Value = "string",
                    },
                },
                Tags = new[]
                {
                    "string",
                },
                UpdateMasks = new[]
                {
                    new Harness.Platform.Inputs.GitOpsClusterRequestUpdateMaskArgs
                    {
                        Paths = new[]
                        {
                            "string",
                        },
                    },
                },
                UpdatedFields = new[]
                {
                    "string",
                },
                Upsert = false,
            },
        },
    });
    
    example, err := platform.NewGitOpsCluster(ctx, "gitOpsClusterResource", &platform.GitOpsClusterArgs{
    	AccountId:  pulumi.String("string"),
    	AgentId:    pulumi.String("string"),
    	Identifier: pulumi.String("string"),
    	OrgId:      pulumi.String("string"),
    	ProjectId:  pulumi.String("string"),
    	Queries: platform.GitOpsClusterQueryArray{
    		&platform.GitOpsClusterQueryArgs{
    			Ids: platform.GitOpsClusterQueryIdArray{
    				&platform.GitOpsClusterQueryIdArgs{
    					Type:  pulumi.String("string"),
    					Value: pulumi.String("string"),
    				},
    			},
    			Name:   pulumi.String("string"),
    			Server: pulumi.String("string"),
    		},
    	},
    	Requests: platform.GitOpsClusterRequestArray{
    		&platform.GitOpsClusterRequestArgs{
    			Clusters: platform.GitOpsClusterRequestClusterArray{
    				&platform.GitOpsClusterRequestClusterArgs{
    					Configs: platform.GitOpsClusterRequestClusterConfigArray{
    						&platform.GitOpsClusterRequestClusterConfigArgs{
    							AwsAuthConfigs: platform.GitOpsClusterRequestClusterConfigAwsAuthConfigArray{
    								&platform.GitOpsClusterRequestClusterConfigAwsAuthConfigArgs{
    									ClusterName: pulumi.String("string"),
    									RoleARN:     pulumi.String("string"),
    								},
    							},
    							BearerToken:           pulumi.String("string"),
    							ClusterConnectionType: pulumi.String("string"),
    							ExecProviderConfigs: platform.GitOpsClusterRequestClusterConfigExecProviderConfigArray{
    								&platform.GitOpsClusterRequestClusterConfigExecProviderConfigArgs{
    									ApiVersion: pulumi.String("string"),
    									Args: pulumi.StringArray{
    										pulumi.String("string"),
    									},
    									Command: pulumi.String("string"),
    									Env: pulumi.StringMap{
    										"string": pulumi.String("string"),
    									},
    									InstallHint: pulumi.String("string"),
    								},
    							},
    							Password: pulumi.String("string"),
    							TlsClientConfigs: platform.GitOpsClusterRequestClusterConfigTlsClientConfigArray{
    								&platform.GitOpsClusterRequestClusterConfigTlsClientConfigArgs{
    									CaData:     pulumi.String("string"),
    									CertData:   pulumi.String("string"),
    									Insecure:   pulumi.Bool(false),
    									KeyData:    pulumi.String("string"),
    									ServerName: pulumi.String("string"),
    								},
    							},
    							Username: pulumi.String("string"),
    						},
    					},
    					Server: pulumi.String("string"),
    					Annotations: pulumi.StringMap{
    						"string": pulumi.String("string"),
    					},
    					ClusterResources: pulumi.Bool(false),
    					Infos: platform.GitOpsClusterRequestClusterInfoArray{
    						&platform.GitOpsClusterRequestClusterInfoArgs{
    							ApiVersions: pulumi.StringArray{
    								pulumi.String("string"),
    							},
    							ApplicationsCount: pulumi.String("string"),
    							CacheInfos: platform.GitOpsClusterRequestClusterInfoCacheInfoArray{
    								&platform.GitOpsClusterRequestClusterInfoCacheInfoArgs{
    									ApisCount:         pulumi.String("string"),
    									LastCacheSyncTime: pulumi.String("string"),
    									ResourcesCount:    pulumi.String("string"),
    								},
    							},
    							ConnectionStates: platform.GitOpsClusterRequestClusterInfoConnectionStateArray{
    								&platform.GitOpsClusterRequestClusterInfoConnectionStateArgs{
    									AttemptedAts: platform.GitOpsClusterRequestClusterInfoConnectionStateAttemptedAtArray{
    										&platform.GitOpsClusterRequestClusterInfoConnectionStateAttemptedAtArgs{
    											Nanos:   pulumi.Int(0),
    											Seconds: pulumi.String("string"),
    										},
    									},
    									Message: pulumi.String("string"),
    									Status:  pulumi.String("string"),
    								},
    							},
    							ServerVersion: pulumi.String("string"),
    						},
    					},
    					Labels: pulumi.StringMap{
    						"string": pulumi.String("string"),
    					},
    					Name: pulumi.String("string"),
    					Namespaces: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					Project: pulumi.String("string"),
    					RefreshRequestedAts: platform.GitOpsClusterRequestClusterRefreshRequestedAtArray{
    						&platform.GitOpsClusterRequestClusterRefreshRequestedAtArgs{
    							Nanos:   pulumi.Int(0),
    							Seconds: pulumi.String("string"),
    						},
    					},
    					Shard: pulumi.String("string"),
    				},
    			},
    			Ids: platform.GitOpsClusterRequestIdArray{
    				&platform.GitOpsClusterRequestIdArgs{
    					Type:  pulumi.String("string"),
    					Value: pulumi.String("string"),
    				},
    			},
    			Tags: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			UpdateMasks: platform.GitOpsClusterRequestUpdateMaskArray{
    				&platform.GitOpsClusterRequestUpdateMaskArgs{
    					Paths: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    				},
    			},
    			UpdatedFields: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Upsert: pulumi.Bool(false),
    		},
    	},
    })
    
    var gitOpsClusterResource = new GitOpsCluster("gitOpsClusterResource", GitOpsClusterArgs.builder()        
        .accountId("string")
        .agentId("string")
        .identifier("string")
        .orgId("string")
        .projectId("string")
        .queries(GitOpsClusterQueryArgs.builder()
            .ids(GitOpsClusterQueryIdArgs.builder()
                .type("string")
                .value("string")
                .build())
            .name("string")
            .server("string")
            .build())
        .requests(GitOpsClusterRequestArgs.builder()
            .clusters(GitOpsClusterRequestClusterArgs.builder()
                .configs(GitOpsClusterRequestClusterConfigArgs.builder()
                    .awsAuthConfigs(GitOpsClusterRequestClusterConfigAwsAuthConfigArgs.builder()
                        .clusterName("string")
                        .roleARN("string")
                        .build())
                    .bearerToken("string")
                    .clusterConnectionType("string")
                    .execProviderConfigs(GitOpsClusterRequestClusterConfigExecProviderConfigArgs.builder()
                        .apiVersion("string")
                        .args("string")
                        .command("string")
                        .env(Map.of("string", "string"))
                        .installHint("string")
                        .build())
                    .password("string")
                    .tlsClientConfigs(GitOpsClusterRequestClusterConfigTlsClientConfigArgs.builder()
                        .caData("string")
                        .certData("string")
                        .insecure(false)
                        .keyData("string")
                        .serverName("string")
                        .build())
                    .username("string")
                    .build())
                .server("string")
                .annotations(Map.of("string", "string"))
                .clusterResources(false)
                .infos(GitOpsClusterRequestClusterInfoArgs.builder()
                    .apiVersions("string")
                    .applicationsCount("string")
                    .cacheInfos(GitOpsClusterRequestClusterInfoCacheInfoArgs.builder()
                        .apisCount("string")
                        .lastCacheSyncTime("string")
                        .resourcesCount("string")
                        .build())
                    .connectionStates(GitOpsClusterRequestClusterInfoConnectionStateArgs.builder()
                        .attemptedAts(GitOpsClusterRequestClusterInfoConnectionStateAttemptedAtArgs.builder()
                            .nanos(0)
                            .seconds("string")
                            .build())
                        .message("string")
                        .status("string")
                        .build())
                    .serverVersion("string")
                    .build())
                .labels(Map.of("string", "string"))
                .name("string")
                .namespaces("string")
                .project("string")
                .refreshRequestedAts(GitOpsClusterRequestClusterRefreshRequestedAtArgs.builder()
                    .nanos(0)
                    .seconds("string")
                    .build())
                .shard("string")
                .build())
            .ids(GitOpsClusterRequestIdArgs.builder()
                .type("string")
                .value("string")
                .build())
            .tags("string")
            .updateMasks(GitOpsClusterRequestUpdateMaskArgs.builder()
                .paths("string")
                .build())
            .updatedFields("string")
            .upsert(false)
            .build())
        .build());
    
    git_ops_cluster_resource = harness.platform.GitOpsCluster("gitOpsClusterResource",
        account_id="string",
        agent_id="string",
        identifier="string",
        org_id="string",
        project_id="string",
        queries=[harness.platform.GitOpsClusterQueryArgs(
            ids=[harness.platform.GitOpsClusterQueryIdArgs(
                type="string",
                value="string",
            )],
            name="string",
            server="string",
        )],
        requests=[harness.platform.GitOpsClusterRequestArgs(
            clusters=[harness.platform.GitOpsClusterRequestClusterArgs(
                configs=[harness.platform.GitOpsClusterRequestClusterConfigArgs(
                    aws_auth_configs=[harness.platform.GitOpsClusterRequestClusterConfigAwsAuthConfigArgs(
                        cluster_name="string",
                        role_arn="string",
                    )],
                    bearer_token="string",
                    cluster_connection_type="string",
                    exec_provider_configs=[harness.platform.GitOpsClusterRequestClusterConfigExecProviderConfigArgs(
                        api_version="string",
                        args=["string"],
                        command="string",
                        env={
                            "string": "string",
                        },
                        install_hint="string",
                    )],
                    password="string",
                    tls_client_configs=[harness.platform.GitOpsClusterRequestClusterConfigTlsClientConfigArgs(
                        ca_data="string",
                        cert_data="string",
                        insecure=False,
                        key_data="string",
                        server_name="string",
                    )],
                    username="string",
                )],
                server="string",
                annotations={
                    "string": "string",
                },
                cluster_resources=False,
                infos=[harness.platform.GitOpsClusterRequestClusterInfoArgs(
                    api_versions=["string"],
                    applications_count="string",
                    cache_infos=[harness.platform.GitOpsClusterRequestClusterInfoCacheInfoArgs(
                        apis_count="string",
                        last_cache_sync_time="string",
                        resources_count="string",
                    )],
                    connection_states=[harness.platform.GitOpsClusterRequestClusterInfoConnectionStateArgs(
                        attempted_ats=[harness.platform.GitOpsClusterRequestClusterInfoConnectionStateAttemptedAtArgs(
                            nanos=0,
                            seconds="string",
                        )],
                        message="string",
                        status="string",
                    )],
                    server_version="string",
                )],
                labels={
                    "string": "string",
                },
                name="string",
                namespaces=["string"],
                project="string",
                refresh_requested_ats=[harness.platform.GitOpsClusterRequestClusterRefreshRequestedAtArgs(
                    nanos=0,
                    seconds="string",
                )],
                shard="string",
            )],
            ids=[harness.platform.GitOpsClusterRequestIdArgs(
                type="string",
                value="string",
            )],
            tags=["string"],
            update_masks=[harness.platform.GitOpsClusterRequestUpdateMaskArgs(
                paths=["string"],
            )],
            updated_fields=["string"],
            upsert=False,
        )])
    
    const gitOpsClusterResource = new harness.platform.GitOpsCluster("gitOpsClusterResource", {
        accountId: "string",
        agentId: "string",
        identifier: "string",
        orgId: "string",
        projectId: "string",
        queries: [{
            ids: [{
                type: "string",
                value: "string",
            }],
            name: "string",
            server: "string",
        }],
        requests: [{
            clusters: [{
                configs: [{
                    awsAuthConfigs: [{
                        clusterName: "string",
                        roleARN: "string",
                    }],
                    bearerToken: "string",
                    clusterConnectionType: "string",
                    execProviderConfigs: [{
                        apiVersion: "string",
                        args: ["string"],
                        command: "string",
                        env: {
                            string: "string",
                        },
                        installHint: "string",
                    }],
                    password: "string",
                    tlsClientConfigs: [{
                        caData: "string",
                        certData: "string",
                        insecure: false,
                        keyData: "string",
                        serverName: "string",
                    }],
                    username: "string",
                }],
                server: "string",
                annotations: {
                    string: "string",
                },
                clusterResources: false,
                infos: [{
                    apiVersions: ["string"],
                    applicationsCount: "string",
                    cacheInfos: [{
                        apisCount: "string",
                        lastCacheSyncTime: "string",
                        resourcesCount: "string",
                    }],
                    connectionStates: [{
                        attemptedAts: [{
                            nanos: 0,
                            seconds: "string",
                        }],
                        message: "string",
                        status: "string",
                    }],
                    serverVersion: "string",
                }],
                labels: {
                    string: "string",
                },
                name: "string",
                namespaces: ["string"],
                project: "string",
                refreshRequestedAts: [{
                    nanos: 0,
                    seconds: "string",
                }],
                shard: "string",
            }],
            ids: [{
                type: "string",
                value: "string",
            }],
            tags: ["string"],
            updateMasks: [{
                paths: ["string"],
            }],
            updatedFields: ["string"],
            upsert: false,
        }],
    });
    
    type: harness:platform:GitOpsCluster
    properties:
        accountId: string
        agentId: string
        identifier: string
        orgId: string
        projectId: string
        queries:
            - ids:
                - type: string
                  value: string
              name: string
              server: string
        requests:
            - clusters:
                - annotations:
                    string: string
                  clusterResources: false
                  configs:
                    - awsAuthConfigs:
                        - clusterName: string
                          roleARN: string
                      bearerToken: string
                      clusterConnectionType: string
                      execProviderConfigs:
                        - apiVersion: string
                          args:
                            - string
                          command: string
                          env:
                            string: string
                          installHint: string
                      password: string
                      tlsClientConfigs:
                        - caData: string
                          certData: string
                          insecure: false
                          keyData: string
                          serverName: string
                      username: string
                  infos:
                    - apiVersions:
                        - string
                      applicationsCount: string
                      cacheInfos:
                        - apisCount: string
                          lastCacheSyncTime: string
                          resourcesCount: string
                      connectionStates:
                        - attemptedAts:
                            - nanos: 0
                              seconds: string
                          message: string
                          status: string
                      serverVersion: string
                  labels:
                    string: string
                  name: string
                  namespaces:
                    - string
                  project: string
                  refreshRequestedAts:
                    - nanos: 0
                      seconds: string
                  server: string
                  shard: string
              ids:
                - type: string
                  value: string
              tags:
                - string
              updateMasks:
                - paths:
                    - string
              updatedFields:
                - string
              upsert: false
    

    GitOpsCluster 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 GitOpsCluster resource accepts the following input properties:

    AccountId string
    Account identifier of the GitOps cluster.
    AgentId string
    Agent identifier of the GitOps cluster.
    Identifier string
    Identifier of the GitOps cluster.
    OrgId string
    Organization identifier of the cluster.
    ProjectId string
    Project identifier of the GitOps cluster.
    Queries List<Lbrlabs.PulumiPackage.Harness.Platform.Inputs.GitOpsClusterQuery>
    Query for the GitOps cluster resources.
    Requests List<Lbrlabs.PulumiPackage.Harness.Platform.Inputs.GitOpsClusterRequest>
    Cluster create or update request.
    AccountId string
    Account identifier of the GitOps cluster.
    AgentId string
    Agent identifier of the GitOps cluster.
    Identifier string
    Identifier of the GitOps cluster.
    OrgId string
    Organization identifier of the cluster.
    ProjectId string
    Project identifier of the GitOps cluster.
    Queries []GitOpsClusterQueryArgs
    Query for the GitOps cluster resources.
    Requests []GitOpsClusterRequestArgs
    Cluster create or update request.
    accountId String
    Account identifier of the GitOps cluster.
    agentId String
    Agent identifier of the GitOps cluster.
    identifier String
    Identifier of the GitOps cluster.
    orgId String
    Organization identifier of the cluster.
    projectId String
    Project identifier of the GitOps cluster.
    queries List<GitOpsClusterQuery>
    Query for the GitOps cluster resources.
    requests List<GitOpsClusterRequest>
    Cluster create or update request.
    accountId string
    Account identifier of the GitOps cluster.
    agentId string
    Agent identifier of the GitOps cluster.
    identifier string
    Identifier of the GitOps cluster.
    orgId string
    Organization identifier of the cluster.
    projectId string
    Project identifier of the GitOps cluster.
    queries GitOpsClusterQuery[]
    Query for the GitOps cluster resources.
    requests GitOpsClusterRequest[]
    Cluster create or update request.
    account_id str
    Account identifier of the GitOps cluster.
    agent_id str
    Agent identifier of the GitOps cluster.
    identifier str
    Identifier of the GitOps cluster.
    org_id str
    Organization identifier of the cluster.
    project_id str
    Project identifier of the GitOps cluster.
    queries Sequence[GitOpsClusterQueryArgs]
    Query for the GitOps cluster resources.
    requests Sequence[GitOpsClusterRequestArgs]
    Cluster create or update request.
    accountId String
    Account identifier of the GitOps cluster.
    agentId String
    Agent identifier of the GitOps cluster.
    identifier String
    Identifier of the GitOps cluster.
    orgId String
    Organization identifier of the cluster.
    projectId String
    Project identifier of the GitOps cluster.
    queries List<Property Map>
    Query for the GitOps cluster resources.
    requests List<Property Map>
    Cluster create or update request.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the GitOpsCluster 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 GitOpsCluster Resource

    Get an existing GitOpsCluster 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?: GitOpsClusterState, opts?: CustomResourceOptions): GitOpsCluster
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            agent_id: Optional[str] = None,
            identifier: Optional[str] = None,
            org_id: Optional[str] = None,
            project_id: Optional[str] = None,
            queries: Optional[Sequence[GitOpsClusterQueryArgs]] = None,
            requests: Optional[Sequence[GitOpsClusterRequestArgs]] = None) -> GitOpsCluster
    func GetGitOpsCluster(ctx *Context, name string, id IDInput, state *GitOpsClusterState, opts ...ResourceOption) (*GitOpsCluster, error)
    public static GitOpsCluster Get(string name, Input<string> id, GitOpsClusterState? state, CustomResourceOptions? opts = null)
    public static GitOpsCluster get(String name, Output<String> id, GitOpsClusterState 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 cluster.
    AgentId string
    Agent identifier of the GitOps cluster.
    Identifier string
    Identifier of the GitOps cluster.
    OrgId string
    Organization identifier of the cluster.
    ProjectId string
    Project identifier of the GitOps cluster.
    Queries List<Lbrlabs.PulumiPackage.Harness.Platform.Inputs.GitOpsClusterQuery>
    Query for the GitOps cluster resources.
    Requests List<Lbrlabs.PulumiPackage.Harness.Platform.Inputs.GitOpsClusterRequest>
    Cluster create or update request.
    AccountId string
    Account identifier of the GitOps cluster.
    AgentId string
    Agent identifier of the GitOps cluster.
    Identifier string
    Identifier of the GitOps cluster.
    OrgId string
    Organization identifier of the cluster.
    ProjectId string
    Project identifier of the GitOps cluster.
    Queries []GitOpsClusterQueryArgs
    Query for the GitOps cluster resources.
    Requests []GitOpsClusterRequestArgs
    Cluster create or update request.
    accountId String
    Account identifier of the GitOps cluster.
    agentId String
    Agent identifier of the GitOps cluster.
    identifier String
    Identifier of the GitOps cluster.
    orgId String
    Organization identifier of the cluster.
    projectId String
    Project identifier of the GitOps cluster.
    queries List<GitOpsClusterQuery>
    Query for the GitOps cluster resources.
    requests List<GitOpsClusterRequest>
    Cluster create or update request.
    accountId string
    Account identifier of the GitOps cluster.
    agentId string
    Agent identifier of the GitOps cluster.
    identifier string
    Identifier of the GitOps cluster.
    orgId string
    Organization identifier of the cluster.
    projectId string
    Project identifier of the GitOps cluster.
    queries GitOpsClusterQuery[]
    Query for the GitOps cluster resources.
    requests GitOpsClusterRequest[]
    Cluster create or update request.
    account_id str
    Account identifier of the GitOps cluster.
    agent_id str
    Agent identifier of the GitOps cluster.
    identifier str
    Identifier of the GitOps cluster.
    org_id str
    Organization identifier of the cluster.
    project_id str
    Project identifier of the GitOps cluster.
    queries Sequence[GitOpsClusterQueryArgs]
    Query for the GitOps cluster resources.
    requests Sequence[GitOpsClusterRequestArgs]
    Cluster create or update request.
    accountId String
    Account identifier of the GitOps cluster.
    agentId String
    Agent identifier of the GitOps cluster.
    identifier String
    Identifier of the GitOps cluster.
    orgId String
    Organization identifier of the cluster.
    projectId String
    Project identifier of the GitOps cluster.
    queries List<Property Map>
    Query for the GitOps cluster resources.
    requests List<Property Map>
    Cluster create or update request.

    Supporting Types

    GitOpsClusterQuery, GitOpsClusterQueryArgs

    Ids List<Lbrlabs.PulumiPackage.Harness.Platform.Inputs.GitOpsClusterQueryId>
    Cluster server URL or the cluster name.
    Name string
    Name of the GitOps cluster.
    Server string
    Server of the GitOps cluster.
    Ids []GitOpsClusterQueryId
    Cluster server URL or the cluster name.
    Name string
    Name of the GitOps cluster.
    Server string
    Server of the GitOps cluster.
    ids List<GitOpsClusterQueryId>
    Cluster server URL or the cluster name.
    name String
    Name of the GitOps cluster.
    server String
    Server of the GitOps cluster.
    ids GitOpsClusterQueryId[]
    Cluster server URL or the cluster name.
    name string
    Name of the GitOps cluster.
    server string
    Server of the GitOps cluster.
    ids Sequence[GitOpsClusterQueryId]
    Cluster server URL or the cluster name.
    name str
    Name of the GitOps cluster.
    server str
    Server of the GitOps cluster.
    ids List<Property Map>
    Cluster server URL or the cluster name.
    name String
    Name of the GitOps cluster.
    server String
    Server of the GitOps cluster.

    GitOpsClusterQueryId, GitOpsClusterQueryIdArgs

    Type string
    Value string
    Type string
    Value string
    type String
    value String
    type string
    value string
    type str
    value str
    type String
    value String

    GitOpsClusterRequest, GitOpsClusterRequestArgs

    Clusters List<Lbrlabs.PulumiPackage.Harness.Platform.Inputs.GitOpsClusterRequestCluster>
    GitOps cluster details.
    Ids List<Lbrlabs.PulumiPackage.Harness.Platform.Inputs.GitOpsClusterRequestId>
    Cluster server URL or the cluster name.
    Tags List<string>
    Tags associated with the clusters
    UpdateMasks List<Lbrlabs.PulumiPackage.Harness.Platform.Inputs.GitOpsClusterRequestUpdateMask>
    Update mask of the GitOps cluster.
    UpdatedFields List<string>
    Fields which are updated.
    Upsert bool
    Indicates if the GitOps cluster should be updated if existing and inserted if not.
    Clusters []GitOpsClusterRequestCluster
    GitOps cluster details.
    Ids []GitOpsClusterRequestId
    Cluster server URL or the cluster name.
    Tags []string
    Tags associated with the clusters
    UpdateMasks []GitOpsClusterRequestUpdateMask
    Update mask of the GitOps cluster.
    UpdatedFields []string
    Fields which are updated.
    Upsert bool
    Indicates if the GitOps cluster should be updated if existing and inserted if not.
    clusters List<GitOpsClusterRequestCluster>
    GitOps cluster details.
    ids List<GitOpsClusterRequestId>
    Cluster server URL or the cluster name.
    tags List<String>
    Tags associated with the clusters
    updateMasks List<GitOpsClusterRequestUpdateMask>
    Update mask of the GitOps cluster.
    updatedFields List<String>
    Fields which are updated.
    upsert Boolean
    Indicates if the GitOps cluster should be updated if existing and inserted if not.
    clusters GitOpsClusterRequestCluster[]
    GitOps cluster details.
    ids GitOpsClusterRequestId[]
    Cluster server URL or the cluster name.
    tags string[]
    Tags associated with the clusters
    updateMasks GitOpsClusterRequestUpdateMask[]
    Update mask of the GitOps cluster.
    updatedFields string[]
    Fields which are updated.
    upsert boolean
    Indicates if the GitOps cluster should be updated if existing and inserted if not.
    clusters Sequence[GitOpsClusterRequestCluster]
    GitOps cluster details.
    ids Sequence[GitOpsClusterRequestId]
    Cluster server URL or the cluster name.
    tags Sequence[str]
    Tags associated with the clusters
    update_masks Sequence[GitOpsClusterRequestUpdateMask]
    Update mask of the GitOps cluster.
    updated_fields Sequence[str]
    Fields which are updated.
    upsert bool
    Indicates if the GitOps cluster should be updated if existing and inserted if not.
    clusters List<Property Map>
    GitOps cluster details.
    ids List<Property Map>
    Cluster server URL or the cluster name.
    tags List<String>
    Tags associated with the clusters
    updateMasks List<Property Map>
    Update mask of the GitOps cluster.
    updatedFields List<String>
    Fields which are updated.
    upsert Boolean
    Indicates if the GitOps cluster should be updated if existing and inserted if not.

    GitOpsClusterRequestCluster, GitOpsClusterRequestClusterArgs

    GitOpsClusterRequestClusterConfig, GitOpsClusterRequestClusterConfigArgs

    GitOpsClusterRequestClusterConfigAwsAuthConfig, GitOpsClusterRequestClusterConfigAwsAuthConfigArgs

    ClusterName string
    RoleARN string
    ClusterName string
    RoleARN string
    clusterName String
    roleARN String
    clusterName string
    roleARN string
    clusterName String
    roleARN String

    GitOpsClusterRequestClusterConfigExecProviderConfig, GitOpsClusterRequestClusterConfigExecProviderConfigArgs

    ApiVersion string
    Args List<string>
    Command string
    Env Dictionary<string, string>
    InstallHint string
    ApiVersion string
    Args []string
    Command string
    Env map[string]string
    InstallHint string
    apiVersion String
    args List<String>
    command String
    env Map<String,String>
    installHint String
    apiVersion string
    args string[]
    command string
    env {[key: string]: string}
    installHint string
    api_version str
    args Sequence[str]
    command str
    env Mapping[str, str]
    install_hint str
    apiVersion String
    args List<String>
    command String
    env Map<String>
    installHint String

    GitOpsClusterRequestClusterConfigTlsClientConfig, GitOpsClusterRequestClusterConfigTlsClientConfigArgs

    CaData string
    CertData string
    Insecure bool
    KeyData string
    ServerName string
    CaData string
    CertData string
    Insecure bool
    KeyData string
    ServerName string
    caData String
    certData String
    insecure Boolean
    keyData String
    serverName String
    caData string
    certData string
    insecure boolean
    keyData string
    serverName string
    caData String
    certData String
    insecure Boolean
    keyData String
    serverName String

    GitOpsClusterRequestClusterInfo, GitOpsClusterRequestClusterInfoArgs

    GitOpsClusterRequestClusterInfoCacheInfo, GitOpsClusterRequestClusterInfoCacheInfoArgs

    GitOpsClusterRequestClusterInfoConnectionState, GitOpsClusterRequestClusterInfoConnectionStateArgs

    GitOpsClusterRequestClusterInfoConnectionStateAttemptedAt, GitOpsClusterRequestClusterInfoConnectionStateAttemptedAtArgs

    Nanos int
    Seconds string
    Nanos int
    Seconds string
    nanos Integer
    seconds String
    nanos number
    seconds string
    nanos int
    seconds str
    nanos Number
    seconds String

    GitOpsClusterRequestClusterRefreshRequestedAt, GitOpsClusterRequestClusterRefreshRequestedAtArgs

    Nanos int
    Seconds string
    Nanos int
    Seconds string
    nanos Integer
    seconds String
    nanos number
    seconds string
    nanos int
    seconds str
    nanos Number
    seconds String

    GitOpsClusterRequestId, GitOpsClusterRequestIdArgs

    Type string
    Value string
    Type string
    Value string
    type String
    value String
    type string
    value string
    type str
    value str
    type String
    value String

    GitOpsClusterRequestUpdateMask, GitOpsClusterRequestUpdateMaskArgs

    Paths List<string>
    Paths []string
    paths List<String>
    paths string[]
    paths Sequence[str]
    paths List<String>

    Import

    Import a Account level Gitops Cluster

     $ pulumi import harness:platform/gitOpsCluster:GitOpsCluster example <agent_id>/<cluster_id>
    

    Import a Project level Gitops Cluster

     $ pulumi import harness:platform/gitOpsCluster:GitOpsCluster example <organization_id>/<project_id>/<agent_id>/<cluster_id>
    

    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