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,
account_id: Optional[str] = None,
agent_id: Optional[str] = None,
identifier: Optional[str] = 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 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.
Constructor 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",
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",
ExecProviderConfigs = new[]
{
new Harness.Platform.Inputs.GitOpsClusterRequestClusterConfigExecProviderConfigArgs
{
ApiVersion = "string",
Args = new[]
{
"string",
},
Command = "string",
Env =
{
{ "string", "string" },
},
InstallHint = "string",
},
},
Password = "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,
},
},
});
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"),
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"),
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"),
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),
},
},
})
var gitOpsClusterResource = new GitOpsCluster("gitOpsClusterResource", GitOpsClusterArgs.builder()
.accountId("string")
.agentId("string")
.identifier("string")
.orgId("string")
.projectId("string")
.requests(GitOpsClusterRequestArgs.builder()
.clusters(GitOpsClusterRequestClusterArgs.builder()
.configs(GitOpsClusterRequestClusterConfigArgs.builder()
.awsClusterName("string")
.bearerToken("string")
.clusterConnectionType("string")
.execProviderConfigs(GitOpsClusterRequestClusterConfigExecProviderConfigArgs.builder()
.apiVersion("string")
.args("string")
.command("string")
.env(Map.of("string", "string"))
.installHint("string")
.build())
.password("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());
git_ops_cluster_resource = harness.platform.GitOpsCluster("gitOpsClusterResource",
account_id="string",
agent_id="string",
identifier="string",
org_id="string",
project_id="string",
requests=[{
"clusters": [{
"configs": [{
"aws_cluster_name": "string",
"bearer_token": "string",
"cluster_connection_type": "string",
"exec_provider_configs": [{
"api_version": "string",
"args": ["string"],
"command": "string",
"env": {
"string": "string",
},
"install_hint": "string",
}],
"password": "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,
}])
const gitOpsClusterResource = new harness.platform.GitOpsCluster("gitOpsClusterResource", {
accountId: "string",
agentId: "string",
identifier: "string",
orgId: "string",
projectId: "string",
requests: [{
clusters: [{
configs: [{
awsClusterName: "string",
bearerToken: "string",
clusterConnectionType: "string",
execProviderConfigs: [{
apiVersion: "string",
args: ["string"],
command: "string",
env: {
string: "string",
},
installHint: "string",
}],
password: "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,
}],
});
type: harness:platform:GitOpsCluster
properties:
accountId: string
agentId: string
identifier: string
orgId: string
projectId: string
requests:
- clusters:
- annotations:
string: string
clusterResources: false
configs:
- awsClusterName: string
bearerToken: string
clusterConnectionType: string
execProviderConfigs:
- apiVersion: string
args:
- string
command: string
env:
string: string
installHint: string
password: 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
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:
- Account
Id string - Account identifier of the GitOps cluster.
- Agent
Id string - Agent identifier of the GitOps cluster. (include scope prefix)
- Identifier string
- Identifier of the GitOps cluster.
- Org
Id string - Organization identifier of the cluster.
- Project
Id string - Project identifier of the GitOps cluster.
- Requests
List<Git
Ops Cluster Request> - Cluster create or update request.
- Account
Id string - Account identifier of the GitOps cluster.
- Agent
Id string - Agent identifier of the GitOps cluster. (include scope prefix)
- Identifier string
- Identifier of the GitOps cluster.
- Org
Id string - Organization identifier of the cluster.
- Project
Id string - Project identifier of the GitOps cluster.
- Requests
[]Git
Ops Cluster Request Args - Cluster create or update request.
- account
Id String - Account identifier of the GitOps cluster.
- agent
Id String - Agent identifier of the GitOps cluster. (include scope prefix)
- identifier String
- Identifier of the GitOps cluster.
- org
Id String - Organization identifier of the cluster.
- project
Id String - Project identifier of the GitOps cluster.
- requests
List<Git
Ops Cluster Request> - Cluster create or update request.
- account
Id string - Account identifier of the GitOps cluster.
- agent
Id string - Agent identifier of the GitOps cluster. (include scope prefix)
- identifier string
- Identifier of the GitOps cluster.
- org
Id string - Organization identifier of the cluster.
- project
Id string - Project identifier of the GitOps cluster.
- requests
Git
Ops Cluster Request[] - Cluster create or update request.
- account_
id str - Account identifier of the GitOps cluster.
- agent_
id str - Agent identifier of the GitOps cluster. (include scope prefix)
- identifier str
- Identifier of the GitOps cluster.
- org_
id str - Organization identifier of the cluster.
- project_
id str - Project identifier of the GitOps cluster.
- requests
Sequence[Git
Ops Cluster Request Args] - Cluster create or update request.
- account
Id String - Account identifier of the GitOps cluster.
- agent
Id String - Agent identifier of the GitOps cluster. (include scope prefix)
- identifier String
- Identifier of the GitOps cluster.
- org
Id String - Organization identifier of the cluster.
- project
Id 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,
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)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Account
Id string - Account identifier of the GitOps cluster.
- Agent
Id string - Agent identifier of the GitOps cluster. (include scope prefix)
- Identifier string
- Identifier of the GitOps cluster.
- Org
Id string - Organization identifier of the cluster.
- Project
Id string - Project identifier of the GitOps cluster.
- Requests
List<Git
Ops Cluster Request> - Cluster create or update request.
- Account
Id string - Account identifier of the GitOps cluster.
- Agent
Id string - Agent identifier of the GitOps cluster. (include scope prefix)
- Identifier string
- Identifier of the GitOps cluster.
- Org
Id string - Organization identifier of the cluster.
- Project
Id string - Project identifier of the GitOps cluster.
- Requests
[]Git
Ops Cluster Request Args - Cluster create or update request.
- account
Id String - Account identifier of the GitOps cluster.
- agent
Id String - Agent identifier of the GitOps cluster. (include scope prefix)
- identifier String
- Identifier of the GitOps cluster.
- org
Id String - Organization identifier of the cluster.
- project
Id String - Project identifier of the GitOps cluster.
- requests
List<Git
Ops Cluster Request> - Cluster create or update request.
- account
Id string - Account identifier of the GitOps cluster.
- agent
Id string - Agent identifier of the GitOps cluster. (include scope prefix)
- identifier string
- Identifier of the GitOps cluster.
- org
Id string - Organization identifier of the cluster.
- project
Id string - Project identifier of the GitOps cluster.
- requests
Git
Ops Cluster Request[] - Cluster create or update request.
- account_
id str - Account identifier of the GitOps cluster.
- agent_
id str - Agent identifier of the GitOps cluster. (include scope prefix)
- identifier str
- Identifier of the GitOps cluster.
- org_
id str - Organization identifier of the cluster.
- project_
id str - Project identifier of the GitOps cluster.
- requests
Sequence[Git
Ops Cluster Request Args] - Cluster create or update request.
- account
Id String - Account identifier of the GitOps cluster.
- agent
Id String - Agent identifier of the GitOps cluster. (include scope prefix)
- identifier String
- Identifier of the GitOps cluster.
- org
Id String - Organization identifier of the cluster.
- project
Id String - Project identifier of the GitOps cluster.
- requests List<Property Map>
- Cluster create or update request.
Supporting Types
GitOpsClusterRequest, GitOpsClusterRequestArgs
- Clusters
List<Git
Ops Cluster Request Cluster> - GitOps cluster details.
- List<string>
- Tags for the GitOps cluster. These can be used to search or filter the GitOps agents.
- Updated
Fields List<string> - Fields which are updated.
- Upsert bool
- Indicates if the GitOps cluster should be updated if existing and inserted if not.
- Clusters
[]Git
Ops Cluster Request Cluster - GitOps cluster details.
- []string
- Tags for the GitOps cluster. These can be used to search or filter the GitOps agents.
- Updated
Fields []string - Fields which are updated.
- Upsert bool
- Indicates if the GitOps cluster should be updated if existing and inserted if not.
- clusters
List<Git
Ops Cluster Request Cluster> - GitOps cluster details.
- List<String>
- Tags for the GitOps cluster. These can be used to search or filter the GitOps agents.
- updated
Fields List<String> - Fields which are updated.
- upsert Boolean
- Indicates if the GitOps cluster should be updated if existing and inserted if not.
- clusters
Git
Ops Cluster Request Cluster[] - GitOps cluster details.
- string[]
- Tags for the GitOps cluster. These can be used to search or filter the GitOps agents.
- updated
Fields string[] - Fields which are updated.
- upsert boolean
- Indicates if the GitOps cluster should be updated if existing and inserted if not.
- clusters
Sequence[Git
Ops Cluster Request Cluster] - GitOps cluster details.
- 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.
- List<String>
- Tags for the GitOps cluster. These can be used to search or filter the GitOps agents.
- updated
Fields 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
List<Git
Ops Cluster Request Cluster Config> - GitOps cluster config.
- Server string
- API server URL of the kubernetes cluster.
- Annotations Dictionary<string, string>
- 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
List<Git
Ops Cluster Request Cluster Info> - 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.
- Refresh
Requested List<GitAts Ops Cluster Request Cluster Refresh Requested At> - Time when cluster cache refresh has been requested.
- string
- Shard number to be managed by a specific application controller pod. Calculated on the fly by the application controller if not specified.
- Configs
[]Git
Ops Cluster Request Cluster Config - GitOps cluster config.
- Server string
- API server URL of the kubernetes cluster.
- Annotations map[string]string
- 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
[]Git
Ops Cluster Request Cluster Info - 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.
- Refresh
Requested []GitAts Ops Cluster Request Cluster Refresh Requested At - Time when cluster cache refresh has been requested.
- string
- Shard number to be managed by a specific application controller pod. Calculated on the fly by the application controller if not specified.
- configs
List<Git
Ops Cluster Request Cluster Config> - GitOps cluster config.
- server String
- API server URL of the kubernetes cluster.
- annotations Map<String,String>
- Annotations for cluster secret metadata.
- cluster
Resources Boolean - Indicates if cluster level resources should be managed. This setting is used only if cluster is connected in a namespaced mode.
- infos
List<Git
Ops Cluster Request Cluster Info> - 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.
- refresh
Requested List<GitAts Ops Cluster Request Cluster Refresh Requested At> - Time when cluster cache refresh has been requested.
- String
- Shard number to be managed by a specific application controller pod. Calculated on the fly by the application controller if not specified.
- configs
Git
Ops Cluster Request Cluster Config[] - GitOps cluster config.
- server string
- API server URL of the kubernetes cluster.
- annotations {[key: string]: string}
- Annotations for cluster secret metadata.
- cluster
Resources boolean - Indicates if cluster level resources should be managed. This setting is used only if cluster is connected in a namespaced mode.
- infos
Git
Ops Cluster Request Cluster Info[] - 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.
- refresh
Requested GitAts Ops Cluster Request Cluster Refresh Requested At[] - Time when cluster cache refresh has been requested.
- string
- Shard number to be managed by a specific application controller pod. Calculated on the fly by the application controller if not specified.
- configs
Sequence[Git
Ops Cluster Request Cluster Config] - GitOps cluster config.
- server 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[Git
Ops Cluster Request Cluster Info] - 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_ Sequence[Gitats Ops Cluster Request Cluster Refresh Requested At] - Time when cluster cache refresh has been requested.
- str
- Shard number to be managed by a specific application controller pod. Calculated on the fly by the application controller if not specified.
- configs List<Property Map>
- GitOps cluster config.
- server String
- API server URL of the kubernetes cluster.
- annotations Map<String>
- Annotations for cluster secret metadata.
- cluster
Resources 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.
- refresh
Requested List<Property Map>Ats - Time when cluster cache refresh has been requested.
- 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
- Aws
Cluster stringName - AWS Cluster name. If set then AWS CLI EKS token command will be used to access cluster.
- Bearer
Token string - Bearer authentication token the cluster.
- Cluster
Connection stringType - Identifies the authentication method used to connect to the cluster.
- Exec
Provider List<GitConfigs Ops Cluster Request Cluster Config Exec Provider Config> - Configuration for an exec provider.
- Password string
- Password of the server of the cluster.
- Role
ARN string - Optional role ARN. If set then used for AWS IAM Authenticator.
- Tls
Client List<GitConfigs Ops Cluster Request Cluster Config Tls Client Config> - Settings to enable transport layer security.
- Username string
- Username of the server of the cluster.
- Aws
Cluster stringName - AWS Cluster name. If set then AWS CLI EKS token command will be used to access cluster.
- Bearer
Token string - Bearer authentication token the cluster.
- Cluster
Connection stringType - Identifies the authentication method used to connect to the cluster.
- Exec
Provider []GitConfigs Ops Cluster Request Cluster Config Exec Provider Config - Configuration for an exec provider.
- Password string
- Password of the server of the cluster.
- Role
ARN string - Optional role ARN. If set then used for AWS IAM Authenticator.
- Tls
Client []GitConfigs Ops Cluster Request Cluster Config Tls Client Config - Settings to enable transport layer security.
- Username string
- Username of the server of the cluster.
- aws
Cluster StringName - AWS Cluster name. If set then AWS CLI EKS token command will be used to access cluster.
- bearer
Token String - Bearer authentication token the cluster.
- cluster
Connection StringType - Identifies the authentication method used to connect to the cluster.
- exec
Provider List<GitConfigs Ops Cluster Request Cluster Config Exec Provider Config> - Configuration for an exec provider.
- password String
- Password of the server of the cluster.
- role
ARN String - Optional role ARN. If set then used for AWS IAM Authenticator.
- tls
Client List<GitConfigs Ops Cluster Request Cluster Config Tls Client Config> - Settings to enable transport layer security.
- username String
- Username of the server of the cluster.
- aws
Cluster stringName - AWS Cluster name. If set then AWS CLI EKS token command will be used to access cluster.
- bearer
Token string - Bearer authentication token the cluster.
- cluster
Connection stringType - Identifies the authentication method used to connect to the cluster.
- exec
Provider GitConfigs Ops Cluster Request Cluster Config Exec Provider Config[] - Configuration for an exec provider.
- password string
- Password of the server of the cluster.
- role
ARN string - Optional role ARN. If set then used for AWS IAM Authenticator.
- tls
Client GitConfigs Ops Cluster Request Cluster Config Tls Client Config[] - Settings to enable transport layer security.
- username string
- Username of the server of the cluster.
- aws_
cluster_ strname - 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_ strtype - Identifies the authentication method used to connect to the cluster.
- exec_
provider_ Sequence[Gitconfigs Ops Cluster Request Cluster Config Exec Provider Config] - Configuration for an exec provider.
- password str
- Password of the server of the cluster.
- role_
arn str - Optional role ARN. If set then used for AWS IAM Authenticator.
- tls_
client_ Sequence[Gitconfigs Ops Cluster Request Cluster Config Tls Client Config] - Settings to enable transport layer security.
- username str
- Username of the server of the cluster.
- aws
Cluster StringName - AWS Cluster name. If set then AWS CLI EKS token command will be used to access cluster.
- bearer
Token String - Bearer authentication token the cluster.
- cluster
Connection StringType - Identifies the authentication method used to connect to the cluster.
- exec
Provider List<Property Map>Configs - Configuration for an exec provider.
- password String
- Password of the server of the cluster.
- role
ARN String - Optional role ARN. If set then used for AWS IAM Authenticator.
- tls
Client List<Property Map>Configs - Settings to enable transport layer security.
- username String
- Username of the server of the cluster.
GitOpsClusterRequestClusterConfigExecProviderConfig, GitOpsClusterRequestClusterConfigExecProviderConfigArgs
- Api
Version 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.
- Install
Hint string - Message displayed when the executable is not found.
- Api
Version 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.
- Install
Hint string - Message displayed when the executable is not found.
- api
Version 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.
- install
Hint String - Message displayed when the executable is not found.
- api
Version 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.
- install
Hint 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.
- api
Version 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.
- install
Hint String - Message displayed when the executable is not found.
GitOpsClusterRequestClusterConfigTlsClientConfig, GitOpsClusterRequestClusterConfigTlsClientConfigArgs
- Ca
Data 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.
- Cert
Data 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.
- Key
Data 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.
- Server
Name 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 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.
- Cert
Data 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.
- Key
Data 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.
- Server
Name 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 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.
- cert
Data 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.
- key
Data 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.
- server
Name 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 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.
- cert
Data 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.
- key
Data 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.
- server
Name 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.
- ca
Data 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.
- cert
Data 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.
- key
Data 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.
- server
Name 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
- Api
Versions List<string> - List of API versions supported by the cluster.
- Applications
Count string - Number of applications managed by Argo CD on the cluster.
- Cache
Infos List<GitOps Cluster Request Cluster Info Cache Info> - Information about the cluster cache.
- Connection
States List<GitOps Cluster Request Cluster Info Connection State> - Information about the connection to the cluster.
- Server
Version string - Kubernetes version of the cluster.
- Api
Versions []string - List of API versions supported by the cluster.
- Applications
Count string - Number of applications managed by Argo CD on the cluster.
- Cache
Infos []GitOps Cluster Request Cluster Info Cache Info - Information about the cluster cache.
- Connection
States []GitOps Cluster Request Cluster Info Connection State - Information about the connection to the cluster.
- Server
Version string - Kubernetes version of the cluster.
- api
Versions List<String> - List of API versions supported by the cluster.
- applications
Count String - Number of applications managed by Argo CD on the cluster.
- cache
Infos List<GitOps Cluster Request Cluster Info Cache Info> - Information about the cluster cache.
- connection
States List<GitOps Cluster Request Cluster Info Connection State> - Information about the connection to the cluster.
- server
Version String - Kubernetes version of the cluster.
- api
Versions string[] - List of API versions supported by the cluster.
- applications
Count string - Number of applications managed by Argo CD on the cluster.
- cache
Infos GitOps Cluster Request Cluster Info Cache Info[] - Information about the cluster cache.
- connection
States GitOps Cluster Request Cluster Info Connection State[] - Information about the connection to the cluster.
- server
Version 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[GitOps Cluster Request Cluster Info Cache Info] - Information about the cluster cache.
- connection_
states Sequence[GitOps Cluster Request Cluster Info Connection State] - Information about the connection to the cluster.
- server_
version str - Kubernetes version of the cluster.
- api
Versions List<String> - List of API versions supported by the cluster.
- applications
Count String - Number of applications managed by Argo CD on the cluster.
- cache
Infos List<Property Map> - Information about the cluster cache.
- connection
States List<Property Map> - Information about the connection to the cluster.
- server
Version String - Kubernetes version of the cluster.
GitOpsClusterRequestClusterInfoCacheInfo, GitOpsClusterRequestClusterInfoCacheInfoArgs
- Apis
Count string - Number of observed kubernetes API count.
- Last
Cache stringSync Time - Time of most recent cache synchronization.
- Resources
Count string - Number of observed kubernetes resources.
- Apis
Count string - Number of observed kubernetes API count.
- Last
Cache stringSync Time - Time of most recent cache synchronization.
- Resources
Count string - Number of observed kubernetes resources.
- apis
Count String - Number of observed kubernetes API count.
- last
Cache StringSync Time - Time of most recent cache synchronization.
- resources
Count String - Number of observed kubernetes resources.
- apis
Count string - Number of observed kubernetes API count.
- last
Cache stringSync Time - Time of most recent cache synchronization.
- resources
Count string - Number of observed kubernetes resources.
- apis_
count str - Number of observed kubernetes API count.
- last_
cache_ strsync_ time - Time of most recent cache synchronization.
- resources_
count str - Number of observed kubernetes resources.
- apis
Count String - Number of observed kubernetes API count.
- last
Cache StringSync Time - Time of most recent cache synchronization.
- resources
Count String - Number of observed kubernetes resources.
GitOpsClusterRequestClusterInfoConnectionState, GitOpsClusterRequestClusterInfoConnectionStateArgs
- Attempted
Ats List<GitOps Cluster Request Cluster Info Connection State Attempted At> - 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 []GitOps Cluster Request Cluster Info Connection State Attempted At - 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 List<GitOps Cluster Request Cluster Info Connection State Attempted At> - 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 GitOps Cluster Request Cluster Info Connection State Attempted At[] - 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[GitOps Cluster Request Cluster Info Connection State Attempted At] - Time when cluster cache refresh has been requested.
- message str
- Information about the connection status.
- status str
- Current status indicator of the connection.
- attempted
Ats 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>
Import an Org level Gitops Cluster
$ pulumi import harness:platform/gitOpsCluster:GitOpsCluster example <organization_id>/<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 pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harness
Terraform Provider.