1. Packages
  2. Harness Provider
  3. API Docs
  4. platform
  5. GitOpsCluster
Harness v0.7.1 published on Saturday, Mar 29, 2025 by Pulumi

harness.platform.GitOpsCluster

Explore with Pulumi AI

Resource for managing a Harness Gitops 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,
                  agent_id: Optional[str] = None,
                  identifier: Optional[str] = None,
                  account_id: Optional[str] = None,
                  force_delete: Optional[bool] = None,
                  org_id: Optional[str] = None,
                  project_id: Optional[str] = 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 This property is required. string
The unique name of the resource.
args This property is required. GitOpsClusterArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. GitOpsClusterArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. GitOpsClusterArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. GitOpsClusterArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

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

var gitOpsClusterResource = new Harness.Platform.GitOpsCluster("gitOpsClusterResource", new()
{
    AgentId = "string",
    Identifier = "string",
    ForceDelete = false,
    OrgId = "string",
    ProjectId = "string",
    Requests = new[]
    {
        new Harness.Platform.Inputs.GitOpsClusterRequestArgs
        {
            Clusters = new[]
            {
                new Harness.Platform.Inputs.GitOpsClusterRequestClusterArgs
                {
                    Configs = new[]
                    {
                        new Harness.Platform.Inputs.GitOpsClusterRequestClusterConfigArgs
                        {
                            AwsClusterName = "string",
                            BearerToken = "string",
                            ClusterConnectionType = "string",
                            DisableCompression = false,
                            ExecProviderConfigs = new[]
                            {
                                new Harness.Platform.Inputs.GitOpsClusterRequestClusterConfigExecProviderConfigArgs
                                {
                                    ApiVersion = "string",
                                    Args = new[]
                                    {
                                        "string",
                                    },
                                    Command = "string",
                                    Env = 
                                    {
                                        { "string", "string" },
                                    },
                                    InstallHint = "string",
                                },
                            },
                            Password = "string",
                            ProxyUrl = "string",
                            RoleARN = "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",
                },
            },
            Tags = new[]
            {
                "string",
            },
            UpdatedFields = new[]
            {
                "string",
            },
            Upsert = false,
        },
    },
});
Copy
example, err := platform.NewGitOpsCluster(ctx, "gitOpsClusterResource", &platform.GitOpsClusterArgs{
	AgentId:     pulumi.String("string"),
	Identifier:  pulumi.String("string"),
	ForceDelete: pulumi.Bool(false),
	OrgId:       pulumi.String("string"),
	ProjectId:   pulumi.String("string"),
	Requests: platform.GitOpsClusterRequestArray{
		&platform.GitOpsClusterRequestArgs{
			Clusters: platform.GitOpsClusterRequestClusterArray{
				&platform.GitOpsClusterRequestClusterArgs{
					Configs: platform.GitOpsClusterRequestClusterConfigArray{
						&platform.GitOpsClusterRequestClusterConfigArgs{
							AwsClusterName:        pulumi.String("string"),
							BearerToken:           pulumi.String("string"),
							ClusterConnectionType: pulumi.String("string"),
							DisableCompression:    pulumi.Bool(false),
							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"),
							ProxyUrl: pulumi.String("string"),
							RoleARN:  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"),
				},
			},
			Tags: pulumi.StringArray{
				pulumi.String("string"),
			},
			UpdatedFields: pulumi.StringArray{
				pulumi.String("string"),
			},
			Upsert: pulumi.Bool(false),
		},
	},
})
Copy
var gitOpsClusterResource = new GitOpsCluster("gitOpsClusterResource", GitOpsClusterArgs.builder()
    .agentId("string")
    .identifier("string")
    .forceDelete(false)
    .orgId("string")
    .projectId("string")
    .requests(GitOpsClusterRequestArgs.builder()
        .clusters(GitOpsClusterRequestClusterArgs.builder()
            .configs(GitOpsClusterRequestClusterConfigArgs.builder()
                .awsClusterName("string")
                .bearerToken("string")
                .clusterConnectionType("string")
                .disableCompression(false)
                .execProviderConfigs(GitOpsClusterRequestClusterConfigExecProviderConfigArgs.builder()
                    .apiVersion("string")
                    .args("string")
                    .command("string")
                    .env(Map.of("string", "string"))
                    .installHint("string")
                    .build())
                .password("string")
                .proxyUrl("string")
                .roleARN("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())
        .tags("string")
        .updatedFields("string")
        .upsert(false)
        .build())
    .build());
Copy
git_ops_cluster_resource = harness.platform.GitOpsCluster("gitOpsClusterResource",
    agent_id="string",
    identifier="string",
    force_delete=False,
    org_id="string",
    project_id="string",
    requests=[{
        "clusters": [{
            "configs": [{
                "aws_cluster_name": "string",
                "bearer_token": "string",
                "cluster_connection_type": "string",
                "disable_compression": False,
                "exec_provider_configs": [{
                    "api_version": "string",
                    "args": ["string"],
                    "command": "string",
                    "env": {
                        "string": "string",
                    },
                    "install_hint": "string",
                }],
                "password": "string",
                "proxy_url": "string",
                "role_arn": "string",
                "tls_client_configs": [{
                    "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": [{
                "api_versions": ["string"],
                "applications_count": "string",
                "cache_infos": [{
                    "apis_count": "string",
                    "last_cache_sync_time": "string",
                    "resources_count": "string",
                }],
                "connection_states": [{
                    "attempted_ats": [{
                        "nanos": 0,
                        "seconds": "string",
                    }],
                    "message": "string",
                    "status": "string",
                }],
                "server_version": "string",
            }],
            "labels": {
                "string": "string",
            },
            "name": "string",
            "namespaces": ["string"],
            "project": "string",
            "refresh_requested_ats": [{
                "nanos": 0,
                "seconds": "string",
            }],
            "shard": "string",
        }],
        "tags": ["string"],
        "updated_fields": ["string"],
        "upsert": False,
    }])
Copy
const gitOpsClusterResource = new harness.platform.GitOpsCluster("gitOpsClusterResource", {
    agentId: "string",
    identifier: "string",
    forceDelete: false,
    orgId: "string",
    projectId: "string",
    requests: [{
        clusters: [{
            configs: [{
                awsClusterName: "string",
                bearerToken: "string",
                clusterConnectionType: "string",
                disableCompression: false,
                execProviderConfigs: [{
                    apiVersion: "string",
                    args: ["string"],
                    command: "string",
                    env: {
                        string: "string",
                    },
                    installHint: "string",
                }],
                password: "string",
                proxyUrl: "string",
                roleARN: "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",
        }],
        tags: ["string"],
        updatedFields: ["string"],
        upsert: false,
    }],
});
Copy
type: harness:platform:GitOpsCluster
properties:
    agentId: string
    forceDelete: false
    identifier: string
    orgId: string
    projectId: string
    requests:
        - clusters:
            - annotations:
                string: string
              clusterResources: false
              configs:
                - awsClusterName: string
                  bearerToken: string
                  clusterConnectionType: string
                  disableCompression: false
                  execProviderConfigs:
                    - apiVersion: string
                      args:
                        - string
                      command: string
                      env:
                        string: string
                      installHint: string
                  password: string
                  proxyUrl: string
                  roleARN: 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
          tags:
            - string
          updatedFields:
            - string
          upsert: false
Copy

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

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The GitOpsCluster resource accepts the following input properties:

AgentId
This property is required.
Changes to this property will trigger replacement.
string
Agent identifier of the GitOps cluster. (include scope prefix)
Identifier
This property is required.
Changes to this property will trigger replacement.
string
Identifier of the GitOps cluster.
AccountId string
Account identifier of the GitOps cluster.

Deprecated: This field is deprecated and will be removed in a future release.

ForceDelete bool
Indicates if the cluster should be deleted forcefully, regardless of existing applications using that cluster.
OrgId Changes to this property will trigger replacement. string
Organization identifier of the cluster.
ProjectId Changes to this property will trigger replacement. string
Project identifier of the GitOps cluster.
Requests List<GitOpsClusterRequest>
Cluster create or update request.
AgentId
This property is required.
Changes to this property will trigger replacement.
string
Agent identifier of the GitOps cluster. (include scope prefix)
Identifier
This property is required.
Changes to this property will trigger replacement.
string
Identifier of the GitOps cluster.
AccountId string
Account identifier of the GitOps cluster.

Deprecated: This field is deprecated and will be removed in a future release.

ForceDelete bool
Indicates if the cluster should be deleted forcefully, regardless of existing applications using that cluster.
OrgId Changes to this property will trigger replacement. string
Organization identifier of the cluster.
ProjectId Changes to this property will trigger replacement. string
Project identifier of the GitOps cluster.
Requests []GitOpsClusterRequestArgs
Cluster create or update request.
agentId
This property is required.
Changes to this property will trigger replacement.
String
Agent identifier of the GitOps cluster. (include scope prefix)
identifier
This property is required.
Changes to this property will trigger replacement.
String
Identifier of the GitOps cluster.
accountId String
Account identifier of the GitOps cluster.

Deprecated: This field is deprecated and will be removed in a future release.

forceDelete Boolean
Indicates if the cluster should be deleted forcefully, regardless of existing applications using that cluster.
orgId Changes to this property will trigger replacement. String
Organization identifier of the cluster.
projectId Changes to this property will trigger replacement. String
Project identifier of the GitOps cluster.
requests List<GitOpsClusterRequest>
Cluster create or update request.
agentId
This property is required.
Changes to this property will trigger replacement.
string
Agent identifier of the GitOps cluster. (include scope prefix)
identifier
This property is required.
Changes to this property will trigger replacement.
string
Identifier of the GitOps cluster.
accountId string
Account identifier of the GitOps cluster.

Deprecated: This field is deprecated and will be removed in a future release.

forceDelete boolean
Indicates if the cluster should be deleted forcefully, regardless of existing applications using that cluster.
orgId Changes to this property will trigger replacement. string
Organization identifier of the cluster.
projectId Changes to this property will trigger replacement. string
Project identifier of the GitOps cluster.
requests GitOpsClusterRequest[]
Cluster create or update request.
agent_id
This property is required.
Changes to this property will trigger replacement.
str
Agent identifier of the GitOps cluster. (include scope prefix)
identifier
This property is required.
Changes to this property will trigger replacement.
str
Identifier of the GitOps cluster.
account_id str
Account identifier of the GitOps cluster.

Deprecated: This field is deprecated and will be removed in a future release.

force_delete bool
Indicates if the cluster should be deleted forcefully, regardless of existing applications using that cluster.
org_id Changes to this property will trigger replacement. str
Organization identifier of the cluster.
project_id Changes to this property will trigger replacement. str
Project identifier of the GitOps cluster.
requests Sequence[GitOpsClusterRequestArgs]
Cluster create or update request.
agentId
This property is required.
Changes to this property will trigger replacement.
String
Agent identifier of the GitOps cluster. (include scope prefix)
identifier
This property is required.
Changes to this property will trigger replacement.
String
Identifier of the GitOps cluster.
accountId String
Account identifier of the GitOps cluster.

Deprecated: This field is deprecated and will be removed in a future release.

forceDelete Boolean
Indicates if the cluster should be deleted forcefully, regardless of existing applications using that cluster.
orgId Changes to this property will trigger replacement. String
Organization identifier of the cluster.
projectId Changes to this property will trigger replacement. String
Project identifier of the GitOps cluster.
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,
        force_delete: Optional[bool] = None,
        identifier: Optional[str] = None,
        org_id: Optional[str] = None,
        project_id: Optional[str] = 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)
resources:  _:    type: harness:platform:GitOpsCluster    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.

Deprecated: This field is deprecated and will be removed in a future release.

AgentId Changes to this property will trigger replacement. string
Agent identifier of the GitOps cluster. (include scope prefix)
ForceDelete bool
Indicates if the cluster should be deleted forcefully, regardless of existing applications using that cluster.
Identifier Changes to this property will trigger replacement. string
Identifier of the GitOps cluster.
OrgId Changes to this property will trigger replacement. string
Organization identifier of the cluster.
ProjectId Changes to this property will trigger replacement. string
Project identifier of the GitOps cluster.
Requests List<GitOpsClusterRequest>
Cluster create or update request.
AccountId string
Account identifier of the GitOps cluster.

Deprecated: This field is deprecated and will be removed in a future release.

AgentId Changes to this property will trigger replacement. string
Agent identifier of the GitOps cluster. (include scope prefix)
ForceDelete bool
Indicates if the cluster should be deleted forcefully, regardless of existing applications using that cluster.
Identifier Changes to this property will trigger replacement. string
Identifier of the GitOps cluster.
OrgId Changes to this property will trigger replacement. string
Organization identifier of the cluster.
ProjectId Changes to this property will trigger replacement. string
Project identifier of the GitOps cluster.
Requests []GitOpsClusterRequestArgs
Cluster create or update request.
accountId String
Account identifier of the GitOps cluster.

Deprecated: This field is deprecated and will be removed in a future release.

agentId Changes to this property will trigger replacement. String
Agent identifier of the GitOps cluster. (include scope prefix)
forceDelete Boolean
Indicates if the cluster should be deleted forcefully, regardless of existing applications using that cluster.
identifier Changes to this property will trigger replacement. String
Identifier of the GitOps cluster.
orgId Changes to this property will trigger replacement. String
Organization identifier of the cluster.
projectId Changes to this property will trigger replacement. String
Project identifier of the GitOps cluster.
requests List<GitOpsClusterRequest>
Cluster create or update request.
accountId string
Account identifier of the GitOps cluster.

Deprecated: This field is deprecated and will be removed in a future release.

agentId Changes to this property will trigger replacement. string
Agent identifier of the GitOps cluster. (include scope prefix)
forceDelete boolean
Indicates if the cluster should be deleted forcefully, regardless of existing applications using that cluster.
identifier Changes to this property will trigger replacement. string
Identifier of the GitOps cluster.
orgId Changes to this property will trigger replacement. string
Organization identifier of the cluster.
projectId Changes to this property will trigger replacement. string
Project identifier of the GitOps cluster.
requests GitOpsClusterRequest[]
Cluster create or update request.
account_id str
Account identifier of the GitOps cluster.

Deprecated: This field is deprecated and will be removed in a future release.

agent_id Changes to this property will trigger replacement. str
Agent identifier of the GitOps cluster. (include scope prefix)
force_delete bool
Indicates if the cluster should be deleted forcefully, regardless of existing applications using that cluster.
identifier Changes to this property will trigger replacement. str
Identifier of the GitOps cluster.
org_id Changes to this property will trigger replacement. str
Organization identifier of the cluster.
project_id Changes to this property will trigger replacement. str
Project identifier of the GitOps cluster.
requests Sequence[GitOpsClusterRequestArgs]
Cluster create or update request.
accountId String
Account identifier of the GitOps cluster.

Deprecated: This field is deprecated and will be removed in a future release.

agentId Changes to this property will trigger replacement. String
Agent identifier of the GitOps cluster. (include scope prefix)
forceDelete Boolean
Indicates if the cluster should be deleted forcefully, regardless of existing applications using that cluster.
identifier Changes to this property will trigger replacement. String
Identifier of the GitOps cluster.
orgId Changes to this property will trigger replacement. String
Organization identifier of the cluster.
projectId Changes to this property will trigger replacement. String
Project identifier of the GitOps cluster.
requests List<Property Map>
Cluster create or update request.

Supporting Types

GitOpsClusterRequest
, GitOpsClusterRequestArgs

Clusters List<GitOpsClusterRequestCluster>
GitOps cluster details.
Tags List<string>
Tags for the GitOps cluster. These can be used to search or filter the GitOps agents.
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.
Tags []string
Tags for the GitOps cluster. These can be used to search or filter the GitOps agents.
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.
tags List<String>
Tags for the GitOps cluster. These can be used to search or filter the GitOps agents.
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.
tags string[]
Tags for the GitOps cluster. These can be used to search or filter the GitOps agents.
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.
tags Sequence[str]
Tags for the GitOps cluster. These can be used to search or filter the GitOps agents.
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.
tags List<String>
Tags for the GitOps cluster. These can be used to search or filter the GitOps agents.
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

Configs This property is required. List<GitOpsClusterRequestClusterConfig>
GitOps cluster config.
Server This property is required. string
API server URL of the kubernetes cluster.
Annotations Dictionary<string, string>
Annotations for cluster secret metadata.
ClusterResources bool
Indicates if cluster level resources should be managed. This setting is used only if cluster is connected in a namespaced mode.
Infos List<GitOpsClusterRequestClusterInfo>
Information about cluster cache and state.
Labels Dictionary<string, string>
Labels for cluster secret metadata.
Name string
Name of the cluster. If omitted, the server address will be used.
Namespaces List<string>
List of namespaces which are accessible in that cluster. Cluster level resources will be ignored if namespace list is not empty.
Project string
The ArgoCD project name corresponding to this GitOps cluster. An empty string means that the GitOps cluster belongs to the default project created by Harness.
RefreshRequestedAts List<GitOpsClusterRequestClusterRefreshRequestedAt>
Time when cluster cache refresh has been requested.
Shard string
Shard number to be managed by a specific application controller pod. Calculated on the fly by the application controller if not specified.
Configs This property is required. []GitOpsClusterRequestClusterConfig
GitOps cluster config.
Server This property is required. string
API server URL of the kubernetes cluster.
Annotations map[string]string
Annotations for cluster secret metadata.
ClusterResources bool
Indicates if cluster level resources should be managed. This setting is used only if cluster is connected in a namespaced mode.
Infos []GitOpsClusterRequestClusterInfo
Information about cluster cache and state.
Labels map[string]string
Labels for cluster secret metadata.
Name string
Name of the cluster. If omitted, the server address will be used.
Namespaces []string
List of namespaces which are accessible in that cluster. Cluster level resources will be ignored if namespace list is not empty.
Project string
The ArgoCD project name corresponding to this GitOps cluster. An empty string means that the GitOps cluster belongs to the default project created by Harness.
RefreshRequestedAts []GitOpsClusterRequestClusterRefreshRequestedAt
Time when cluster cache refresh has been requested.
Shard string
Shard number to be managed by a specific application controller pod. Calculated on the fly by the application controller if not specified.
configs This property is required. List<GitOpsClusterRequestClusterConfig>
GitOps cluster config.
server This property is required. String
API server URL of the kubernetes cluster.
annotations Map<String,String>
Annotations for cluster secret metadata.
clusterResources Boolean
Indicates if cluster level resources should be managed. This setting is used only if cluster is connected in a namespaced mode.
infos List<GitOpsClusterRequestClusterInfo>
Information about cluster cache and state.
labels Map<String,String>
Labels for cluster secret metadata.
name String
Name of the cluster. If omitted, the server address will be used.
namespaces List<String>
List of namespaces which are accessible in that cluster. Cluster level resources will be ignored if namespace list is not empty.
project String
The ArgoCD project name corresponding to this GitOps cluster. An empty string means that the GitOps cluster belongs to the default project created by Harness.
refreshRequestedAts List<GitOpsClusterRequestClusterRefreshRequestedAt>
Time when cluster cache refresh has been requested.
shard String
Shard number to be managed by a specific application controller pod. Calculated on the fly by the application controller if not specified.
configs This property is required. GitOpsClusterRequestClusterConfig[]
GitOps cluster config.
server This property is required. string
API server URL of the kubernetes cluster.
annotations {[key: string]: string}
Annotations for cluster secret metadata.
clusterResources boolean
Indicates if cluster level resources should be managed. This setting is used only if cluster is connected in a namespaced mode.
infos GitOpsClusterRequestClusterInfo[]
Information about cluster cache and state.
labels {[key: string]: string}
Labels for cluster secret metadata.
name string
Name of the cluster. If omitted, the server address will be used.
namespaces string[]
List of namespaces which are accessible in that cluster. Cluster level resources will be ignored if namespace list is not empty.
project string
The ArgoCD project name corresponding to this GitOps cluster. An empty string means that the GitOps cluster belongs to the default project created by Harness.
refreshRequestedAts GitOpsClusterRequestClusterRefreshRequestedAt[]
Time when cluster cache refresh has been requested.
shard string
Shard number to be managed by a specific application controller pod. Calculated on the fly by the application controller if not specified.
configs This property is required. Sequence[GitOpsClusterRequestClusterConfig]
GitOps cluster config.
server This property is required. str
API server URL of the kubernetes cluster.
annotations Mapping[str, str]
Annotations for cluster secret metadata.
cluster_resources bool
Indicates if cluster level resources should be managed. This setting is used only if cluster is connected in a namespaced mode.
infos Sequence[GitOpsClusterRequestClusterInfo]
Information about cluster cache and state.
labels Mapping[str, str]
Labels for cluster secret metadata.
name str
Name of the cluster. If omitted, the server address will be used.
namespaces Sequence[str]
List of namespaces which are accessible in that cluster. Cluster level resources will be ignored if namespace list is not empty.
project str
The ArgoCD project name corresponding to this GitOps cluster. An empty string means that the GitOps cluster belongs to the default project created by Harness.
refresh_requested_ats Sequence[GitOpsClusterRequestClusterRefreshRequestedAt]
Time when cluster cache refresh has been requested.
shard str
Shard number to be managed by a specific application controller pod. Calculated on the fly by the application controller if not specified.
configs This property is required. List<Property Map>
GitOps cluster config.
server This property is required. String
API server URL of the kubernetes cluster.
annotations Map<String>
Annotations for cluster secret metadata.
clusterResources Boolean
Indicates if cluster level resources should be managed. This setting is used only if cluster is connected in a namespaced mode.
infos List<Property Map>
Information about cluster cache and state.
labels Map<String>
Labels for cluster secret metadata.
name String
Name of the cluster. If omitted, the server address will be used.
namespaces List<String>
List of namespaces which are accessible in that cluster. Cluster level resources will be ignored if namespace list is not empty.
project String
The ArgoCD project name corresponding to this GitOps cluster. An empty string means that the GitOps cluster belongs to the default project created by Harness.
refreshRequestedAts List<Property Map>
Time when cluster cache refresh has been requested.
shard String
Shard number to be managed by a specific application controller pod. Calculated on the fly by the application controller if not specified.

GitOpsClusterRequestClusterConfig
, GitOpsClusterRequestClusterConfigArgs

AwsClusterName string
AWS Cluster name. If set then AWS CLI EKS token command will be used to access cluster.
BearerToken string
Bearer authentication token the cluster.
ClusterConnectionType string
Identifies the authentication method used to connect to the cluster.
DisableCompression bool
DisableCompression bypasses automatic GZip compression requests to to the cluster's API server. Corresponds to running kubectl with --disable-compression
ExecProviderConfigs List<GitOpsClusterRequestClusterConfigExecProviderConfig>
Configuration for an exec provider.
Password string
Password of the server of the cluster.
ProxyUrl string
The URL to the proxy to be used for all requests send to the cluster's API server
RoleARN string
Optional role ARN. If set then used for AWS IAM Authenticator.
TlsClientConfigs List<GitOpsClusterRequestClusterConfigTlsClientConfig>
Settings to enable transport layer security.
Username string
Username of the server of the cluster.
AwsClusterName string
AWS Cluster name. If set then AWS CLI EKS token command will be used to access cluster.
BearerToken string
Bearer authentication token the cluster.
ClusterConnectionType string
Identifies the authentication method used to connect to the cluster.
DisableCompression bool
DisableCompression bypasses automatic GZip compression requests to to the cluster's API server. Corresponds to running kubectl with --disable-compression
ExecProviderConfigs []GitOpsClusterRequestClusterConfigExecProviderConfig
Configuration for an exec provider.
Password string
Password of the server of the cluster.
ProxyUrl string
The URL to the proxy to be used for all requests send to the cluster's API server
RoleARN string
Optional role ARN. If set then used for AWS IAM Authenticator.
TlsClientConfigs []GitOpsClusterRequestClusterConfigTlsClientConfig
Settings to enable transport layer security.
Username string
Username of the server of the cluster.
awsClusterName String
AWS Cluster name. If set then AWS CLI EKS token command will be used to access cluster.
bearerToken String
Bearer authentication token the cluster.
clusterConnectionType String
Identifies the authentication method used to connect to the cluster.
disableCompression Boolean
DisableCompression bypasses automatic GZip compression requests to to the cluster's API server. Corresponds to running kubectl with --disable-compression
execProviderConfigs List<GitOpsClusterRequestClusterConfigExecProviderConfig>
Configuration for an exec provider.
password String
Password of the server of the cluster.
proxyUrl String
The URL to the proxy to be used for all requests send to the cluster's API server
roleARN String
Optional role ARN. If set then used for AWS IAM Authenticator.
tlsClientConfigs List<GitOpsClusterRequestClusterConfigTlsClientConfig>
Settings to enable transport layer security.
username String
Username of the server of the cluster.
awsClusterName string
AWS Cluster name. If set then AWS CLI EKS token command will be used to access cluster.
bearerToken string
Bearer authentication token the cluster.
clusterConnectionType string
Identifies the authentication method used to connect to the cluster.
disableCompression boolean
DisableCompression bypasses automatic GZip compression requests to to the cluster's API server. Corresponds to running kubectl with --disable-compression
execProviderConfigs GitOpsClusterRequestClusterConfigExecProviderConfig[]
Configuration for an exec provider.
password string
Password of the server of the cluster.
proxyUrl string
The URL to the proxy to be used for all requests send to the cluster's API server
roleARN string
Optional role ARN. If set then used for AWS IAM Authenticator.
tlsClientConfigs GitOpsClusterRequestClusterConfigTlsClientConfig[]
Settings to enable transport layer security.
username string
Username of the server of the cluster.
aws_cluster_name str
AWS Cluster name. If set then AWS CLI EKS token command will be used to access cluster.
bearer_token str
Bearer authentication token the cluster.
cluster_connection_type str
Identifies the authentication method used to connect to the cluster.
disable_compression bool
DisableCompression bypasses automatic GZip compression requests to to the cluster's API server. Corresponds to running kubectl with --disable-compression
exec_provider_configs Sequence[GitOpsClusterRequestClusterConfigExecProviderConfig]
Configuration for an exec provider.
password str
Password of the server of the cluster.
proxy_url str
The URL to the proxy to be used for all requests send to the cluster's API server
role_arn str
Optional role ARN. If set then used for AWS IAM Authenticator.
tls_client_configs Sequence[GitOpsClusterRequestClusterConfigTlsClientConfig]
Settings to enable transport layer security.
username str
Username of the server of the cluster.
awsClusterName String
AWS Cluster name. If set then AWS CLI EKS token command will be used to access cluster.
bearerToken String
Bearer authentication token the cluster.
clusterConnectionType String
Identifies the authentication method used to connect to the cluster.
disableCompression Boolean
DisableCompression bypasses automatic GZip compression requests to to the cluster's API server. Corresponds to running kubectl with --disable-compression
execProviderConfigs List<Property Map>
Configuration for an exec provider.
password String
Password of the server of the cluster.
proxyUrl String
The URL to the proxy to be used for all requests send to the cluster's API server
roleARN String
Optional role ARN. If set then used for AWS IAM Authenticator.
tlsClientConfigs List<Property Map>
Settings to enable transport layer security.
username String
Username of the server of the cluster.

GitOpsClusterRequestClusterConfigExecProviderConfig
, GitOpsClusterRequestClusterConfigExecProviderConfigArgs

ApiVersion string
Preferred input version of the ExecInfo.
Args List<string>
Arguments to pass to the command when executing it.
Command string
Command to execute.
Env Dictionary<string, string>
Additional environment variables to expose to the process.
InstallHint string
Message displayed when the executable is not found.
ApiVersion string
Preferred input version of the ExecInfo.
Args []string
Arguments to pass to the command when executing it.
Command string
Command to execute.
Env map[string]string
Additional environment variables to expose to the process.
InstallHint string
Message displayed when the executable is not found.
apiVersion String
Preferred input version of the ExecInfo.
args List<String>
Arguments to pass to the command when executing it.
command String
Command to execute.
env Map<String,String>
Additional environment variables to expose to the process.
installHint String
Message displayed when the executable is not found.
apiVersion string
Preferred input version of the ExecInfo.
args string[]
Arguments to pass to the command when executing it.
command string
Command to execute.
env {[key: string]: string}
Additional environment variables to expose to the process.
installHint string
Message displayed when the executable is not found.
api_version str
Preferred input version of the ExecInfo.
args Sequence[str]
Arguments to pass to the command when executing it.
command str
Command to execute.
env Mapping[str, str]
Additional environment variables to expose to the process.
install_hint str
Message displayed when the executable is not found.
apiVersion String
Preferred input version of the ExecInfo.
args List<String>
Arguments to pass to the command when executing it.
command String
Command to execute.
env Map<String>
Additional environment variables to expose to the process.
installHint String
Message displayed when the executable is not found.

GitOpsClusterRequestClusterConfigTlsClientConfig
, GitOpsClusterRequestClusterConfigTlsClientConfigArgs

CaData string
CA data holds PEM-encoded bytes (typically read from a root certificates bundle). Use this if you are using self-signed certificates. CAData takes precedence over CAFile. The value should be base64 encoded.
CertData string
Certificate data holds PEM-encoded bytes (typically read from a client certificate file). CertData takes precedence over CertFile. Use this if you are using mTLS. The value should be base64 encoded.
Insecure bool
Indicates if the TLS connection to the cluster should be insecure.
KeyData string
Key data holds PEM-encoded bytes (typically read from a client certificate key file). KeyData takes precedence over KeyFile. Use this if you are using mTLS. The value should be base64 encoded.
ServerName string
Server name for SNI in the client to check server certificates against. If ServerName is empty, the hostname used to contact the server is used.
CaData string
CA data holds PEM-encoded bytes (typically read from a root certificates bundle). Use this if you are using self-signed certificates. CAData takes precedence over CAFile. The value should be base64 encoded.
CertData string
Certificate data holds PEM-encoded bytes (typically read from a client certificate file). CertData takes precedence over CertFile. Use this if you are using mTLS. The value should be base64 encoded.
Insecure bool
Indicates if the TLS connection to the cluster should be insecure.
KeyData string
Key data holds PEM-encoded bytes (typically read from a client certificate key file). KeyData takes precedence over KeyFile. Use this if you are using mTLS. The value should be base64 encoded.
ServerName string
Server name for SNI in the client to check server certificates against. If ServerName is empty, the hostname used to contact the server is used.
caData String
CA data holds PEM-encoded bytes (typically read from a root certificates bundle). Use this if you are using self-signed certificates. CAData takes precedence over CAFile. The value should be base64 encoded.
certData String
Certificate data holds PEM-encoded bytes (typically read from a client certificate file). CertData takes precedence over CertFile. Use this if you are using mTLS. The value should be base64 encoded.
insecure Boolean
Indicates if the TLS connection to the cluster should be insecure.
keyData String
Key data holds PEM-encoded bytes (typically read from a client certificate key file). KeyData takes precedence over KeyFile. Use this if you are using mTLS. The value should be base64 encoded.
serverName String
Server name for SNI in the client to check server certificates against. If ServerName is empty, the hostname used to contact the server is used.
caData string
CA data holds PEM-encoded bytes (typically read from a root certificates bundle). Use this if you are using self-signed certificates. CAData takes precedence over CAFile. The value should be base64 encoded.
certData string
Certificate data holds PEM-encoded bytes (typically read from a client certificate file). CertData takes precedence over CertFile. Use this if you are using mTLS. The value should be base64 encoded.
insecure boolean
Indicates if the TLS connection to the cluster should be insecure.
keyData string
Key data holds PEM-encoded bytes (typically read from a client certificate key file). KeyData takes precedence over KeyFile. Use this if you are using mTLS. The value should be base64 encoded.
serverName string
Server name for SNI in the client to check server certificates against. If ServerName is empty, the hostname used to contact the server is used.
ca_data str
CA data holds PEM-encoded bytes (typically read from a root certificates bundle). Use this if you are using self-signed certificates. CAData takes precedence over CAFile. The value should be base64 encoded.
cert_data str
Certificate data holds PEM-encoded bytes (typically read from a client certificate file). CertData takes precedence over CertFile. Use this if you are using mTLS. The value should be base64 encoded.
insecure bool
Indicates if the TLS connection to the cluster should be insecure.
key_data str
Key data holds PEM-encoded bytes (typically read from a client certificate key file). KeyData takes precedence over KeyFile. Use this if you are using mTLS. The value should be base64 encoded.
server_name str
Server name for SNI in the client to check server certificates against. If ServerName is empty, the hostname used to contact the server is used.
caData String
CA data holds PEM-encoded bytes (typically read from a root certificates bundle). Use this if you are using self-signed certificates. CAData takes precedence over CAFile. The value should be base64 encoded.
certData String
Certificate data holds PEM-encoded bytes (typically read from a client certificate file). CertData takes precedence over CertFile. Use this if you are using mTLS. The value should be base64 encoded.
insecure Boolean
Indicates if the TLS connection to the cluster should be insecure.
keyData String
Key data holds PEM-encoded bytes (typically read from a client certificate key file). KeyData takes precedence over KeyFile. Use this if you are using mTLS. The value should be base64 encoded.
serverName String
Server name for SNI in the client to check server certificates against. If ServerName is empty, the hostname used to contact the server is used.

GitOpsClusterRequestClusterInfo
, GitOpsClusterRequestClusterInfoArgs

ApiVersions List<string>
List of API versions supported by the cluster.
ApplicationsCount string
Number of applications managed by Argo CD on the cluster.
CacheInfos List<GitOpsClusterRequestClusterInfoCacheInfo>
Information about the cluster cache.
ConnectionStates List<GitOpsClusterRequestClusterInfoConnectionState>
Information about the connection to the cluster.
ServerVersion string
Kubernetes version of the cluster.
ApiVersions []string
List of API versions supported by the cluster.
ApplicationsCount string
Number of applications managed by Argo CD on the cluster.
CacheInfos []GitOpsClusterRequestClusterInfoCacheInfo
Information about the cluster cache.
ConnectionStates []GitOpsClusterRequestClusterInfoConnectionState
Information about the connection to the cluster.
ServerVersion string
Kubernetes version of the cluster.
apiVersions List<String>
List of API versions supported by the cluster.
applicationsCount String
Number of applications managed by Argo CD on the cluster.
cacheInfos List<GitOpsClusterRequestClusterInfoCacheInfo>
Information about the cluster cache.
connectionStates List<GitOpsClusterRequestClusterInfoConnectionState>
Information about the connection to the cluster.
serverVersion String
Kubernetes version of the cluster.
apiVersions string[]
List of API versions supported by the cluster.
applicationsCount string
Number of applications managed by Argo CD on the cluster.
cacheInfos GitOpsClusterRequestClusterInfoCacheInfo[]
Information about the cluster cache.
connectionStates GitOpsClusterRequestClusterInfoConnectionState[]
Information about the connection to the cluster.
serverVersion string
Kubernetes version of the cluster.
api_versions Sequence[str]
List of API versions supported by the cluster.
applications_count str
Number of applications managed by Argo CD on the cluster.
cache_infos Sequence[GitOpsClusterRequestClusterInfoCacheInfo]
Information about the cluster cache.
connection_states Sequence[GitOpsClusterRequestClusterInfoConnectionState]
Information about the connection to the cluster.
server_version str
Kubernetes version of the cluster.
apiVersions List<String>
List of API versions supported by the cluster.
applicationsCount String
Number of applications managed by Argo CD on the cluster.
cacheInfos List<Property Map>
Information about the cluster cache.
connectionStates List<Property Map>
Information about the connection to the cluster.
serverVersion String
Kubernetes version of the cluster.

GitOpsClusterRequestClusterInfoCacheInfo
, GitOpsClusterRequestClusterInfoCacheInfoArgs

ApisCount string
Number of observed kubernetes API count.
LastCacheSyncTime string
Time of most recent cache synchronization.
ResourcesCount string
Number of observed kubernetes resources.
ApisCount string
Number of observed kubernetes API count.
LastCacheSyncTime string
Time of most recent cache synchronization.
ResourcesCount string
Number of observed kubernetes resources.
apisCount String
Number of observed kubernetes API count.
lastCacheSyncTime String
Time of most recent cache synchronization.
resourcesCount String
Number of observed kubernetes resources.
apisCount string
Number of observed kubernetes API count.
lastCacheSyncTime string
Time of most recent cache synchronization.
resourcesCount string
Number of observed kubernetes resources.
apis_count str
Number of observed kubernetes API count.
last_cache_sync_time str
Time of most recent cache synchronization.
resources_count str
Number of observed kubernetes resources.
apisCount String
Number of observed kubernetes API count.
lastCacheSyncTime String
Time of most recent cache synchronization.
resourcesCount String
Number of observed kubernetes resources.

GitOpsClusterRequestClusterInfoConnectionState
, GitOpsClusterRequestClusterInfoConnectionStateArgs

AttemptedAts List<GitOpsClusterRequestClusterInfoConnectionStateAttemptedAt>
Time when cluster cache refresh has been requested.
Message string
Information about the connection status.
Status string
Current status indicator of the connection.
AttemptedAts []GitOpsClusterRequestClusterInfoConnectionStateAttemptedAt
Time when cluster cache refresh has been requested.
Message string
Information about the connection status.
Status string
Current status indicator of the connection.
attemptedAts List<GitOpsClusterRequestClusterInfoConnectionStateAttemptedAt>
Time when cluster cache refresh has been requested.
message String
Information about the connection status.
status String
Current status indicator of the connection.
attemptedAts GitOpsClusterRequestClusterInfoConnectionStateAttemptedAt[]
Time when cluster cache refresh has been requested.
message string
Information about the connection status.
status string
Current status indicator of the connection.
attempted_ats Sequence[GitOpsClusterRequestClusterInfoConnectionStateAttemptedAt]
Time when cluster cache refresh has been requested.
message str
Information about the connection status.
status str
Current status indicator of the connection.
attemptedAts List<Property Map>
Time when cluster cache refresh has been requested.
message String
Information about the connection status.
status String
Current status indicator of the connection.

GitOpsClusterRequestClusterInfoConnectionStateAttemptedAt
, GitOpsClusterRequestClusterInfoConnectionStateAttemptedAtArgs

Nanos int
Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. This field may be limited in precision depending on context.
Seconds string
Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.
Nanos int
Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. This field may be limited in precision depending on context.
Seconds string
Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.
nanos Integer
Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. This field may be limited in precision depending on context.
seconds String
Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.
nanos number
Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. This field may be limited in precision depending on context.
seconds string
Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.
nanos int
Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. This field may be limited in precision depending on context.
seconds str
Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.
nanos Number
Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. This field may be limited in precision depending on context.
seconds String
Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.

GitOpsClusterRequestClusterRefreshRequestedAt
, GitOpsClusterRequestClusterRefreshRequestedAtArgs

Nanos int
Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. This field may be limited in precision depending on context.
Seconds string
Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.
Nanos int
Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. This field may be limited in precision depending on context.
Seconds string
Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.
nanos Integer
Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. This field may be limited in precision depending on context.
seconds String
Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.
nanos number
Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. This field may be limited in precision depending on context.
seconds string
Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.
nanos int
Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. This field may be limited in precision depending on context.
seconds str
Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.
nanos Number
Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. This field may be limited in precision depending on context.
seconds String
Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.

Import

Import an Account level Gitops Cluster

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

Import an Org level Gitops Cluster

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

Import a Project level Gitops Cluster

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

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

Package Details

Repository
harness pulumi/pulumi-harness
License
Apache-2.0
Notes
This Pulumi package is based on the harness Terraform Provider.