Viewing docs for Harness v0.17.8
published on Friday, Nov 6, 2026 by Pulumi
published on Friday, Nov 6, 2026 by Pulumi
Viewing docs for Harness v0.17.8
published on Friday, Nov 6, 2026 by Pulumi
published on Friday, Nov 6, 2026 by Pulumi
Data source for retrieving a Harness ClusterOrchestrator.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as harness from "@pulumi/harness";
const example = harness.cluster.getOrchestrator({
identifier: "identifier",
});
import pulumi
import pulumi_harness as harness
example = harness.cluster.get_orchestrator(identifier="identifier")
package main
import (
"github.com/pulumi/pulumi-harness/sdk/go/harness/cluster"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cluster.LookupOrchestrator(ctx, &cluster.LookupOrchestratorArgs{
Identifier: "identifier",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Harness = Pulumi.Harness;
return await Deployment.RunAsync(() =>
{
var example = Harness.Cluster.GetOrchestrator.Invoke(new()
{
Identifier = "identifier",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.harness.cluster.ClusterFunctions;
import com.pulumi.harness.cluster.inputs.GetOrchestratorArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = ClusterFunctions.getOrchestrator(GetOrchestratorArgs.builder()
.identifier("identifier")
.build());
}
}
variables:
example:
fn::invoke:
function: harness:cluster:getOrchestrator
arguments:
identifier: identifier
terraform {
required_providers {
harness = {
source = "pulumi/harness"
}
}
}
data "harness_cluster_orchestrator" "example" {
identifier = "identifier"
}
Using getOrchestrator
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getOrchestrator(args: GetOrchestratorArgs, opts?: InvokeOptions): Promise<GetOrchestratorResult>
function getOrchestratorOutput(args: GetOrchestratorOutputArgs, opts?: InvokeOutputOptions): Output<GetOrchestratorResult>def get_orchestrator(cluster_endpoint: Optional[str] = None,
k8s_connector_id: Optional[str] = None,
name: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetOrchestratorResult
def get_orchestrator_output(cluster_endpoint: pulumi.Input[Optional[str]] = None,
k8s_connector_id: pulumi.Input[Optional[str]] = None,
name: pulumi.Input[Optional[str]] = None,
region: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetOrchestratorResult]func LookupOrchestrator(ctx *Context, args *LookupOrchestratorArgs, opts ...InvokeOption) (*LookupOrchestratorResult, error)
func LookupOrchestratorOutput(ctx *Context, args *LookupOrchestratorOutputArgs, opts ...InvokeOption) LookupOrchestratorResultOutput> Note: This function is named LookupOrchestrator in the Go SDK.
public static class GetOrchestrator
{
public static Task<GetOrchestratorResult> InvokeAsync(GetOrchestratorArgs args, InvokeOptions? opts = null)
public static Output<GetOrchestratorResult> Invoke(GetOrchestratorInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetOrchestratorResult> Invoke(GetOrchestratorInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetOrchestratorResult> getOrchestrator(GetOrchestratorArgs args, InvokeOptions options)
public static Output<GetOrchestratorResult> getOrchestrator(GetOrchestratorArgs args, InvokeOptions options)
public static Output<GetOrchestratorResult> getOrchestrator(GetOrchestratorArgs args, InvokeOutputOptions options)
fn::invoke:
function: harness:cluster/getOrchestrator:getOrchestrator
arguments:
# arguments dictionarydata "harness_cluster_get_orchestrator" "name" {
# arguments
}The following arguments are supported:
- Cluster
Endpoint string - Endpoint of the k8s cluster being onboarded under the orchestrator
- Name string
- Name of the Orchestrator
- K8s
Connector stringId - ID of the Harness Kubernetes Connector Being used
- Region string
- Region of the k8s cluster
- Cluster
Endpoint string - Endpoint of the k8s cluster being onboarded under the orchestrator
- Name string
- Name of the Orchestrator
- K8s
Connector stringId - ID of the Harness Kubernetes Connector Being used
- Region string
- Region of the k8s cluster
- cluster_
endpoint string - Endpoint of the k8s cluster being onboarded under the orchestrator
- name string
- Name of the Orchestrator
- k8s_
connector_ stringid - ID of the Harness Kubernetes Connector Being used
- region string
- Region of the k8s cluster
- cluster
Endpoint String - Endpoint of the k8s cluster being onboarded under the orchestrator
- name String
- Name of the Orchestrator
- k8s
Connector StringId - ID of the Harness Kubernetes Connector Being used
- region String
- Region of the k8s cluster
- cluster
Endpoint string - Endpoint of the k8s cluster being onboarded under the orchestrator
- name string
- Name of the Orchestrator
- k8s
Connector stringId - ID of the Harness Kubernetes Connector Being used
- region string
- Region of the k8s cluster
- cluster_
endpoint str - Endpoint of the k8s cluster being onboarded under the orchestrator
- name str
- Name of the Orchestrator
- k8s_
connector_ strid - ID of the Harness Kubernetes Connector Being used
- region str
- Region of the k8s cluster
- cluster
Endpoint String - Endpoint of the k8s cluster being onboarded under the orchestrator
- name String
- Name of the Orchestrator
- k8s
Connector StringId - ID of the Harness Kubernetes Connector Being used
- region String
- Region of the k8s cluster
getOrchestrator Result
The following output properties are available:
- Cluster
Endpoint string - Endpoint of the k8s cluster being onboarded under the orchestrator
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Name of the Orchestrator
- K8s
Connector stringId - ID of the Harness Kubernetes Connector Being used
- Region string
- Region of the k8s cluster
- Cluster
Endpoint string - Endpoint of the k8s cluster being onboarded under the orchestrator
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Name of the Orchestrator
- K8s
Connector stringId - ID of the Harness Kubernetes Connector Being used
- Region string
- Region of the k8s cluster
- cluster_
endpoint string - Endpoint of the k8s cluster being onboarded under the orchestrator
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Name of the Orchestrator
- k8s_
connector_ stringid - ID of the Harness Kubernetes Connector Being used
- region string
- Region of the k8s cluster
- cluster
Endpoint String - Endpoint of the k8s cluster being onboarded under the orchestrator
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Name of the Orchestrator
- k8s
Connector StringId - ID of the Harness Kubernetes Connector Being used
- region String
- Region of the k8s cluster
- cluster
Endpoint string - Endpoint of the k8s cluster being onboarded under the orchestrator
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Name of the Orchestrator
- k8s
Connector stringId - ID of the Harness Kubernetes Connector Being used
- region string
- Region of the k8s cluster
- cluster_
endpoint str - Endpoint of the k8s cluster being onboarded under the orchestrator
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Name of the Orchestrator
- k8s_
connector_ strid - ID of the Harness Kubernetes Connector Being used
- region str
- Region of the k8s cluster
- cluster
Endpoint String - Endpoint of the k8s cluster being onboarded under the orchestrator
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Name of the Orchestrator
- k8s
Connector StringId - ID of the Harness Kubernetes Connector Being used
- region String
- Region of the k8s cluster
Package Details
- Repository
- harness pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harnessTerraform Provider.
Viewing docs for Harness v0.17.8
published on Friday, Nov 6, 2026 by Pulumi
published on Friday, Nov 6, 2026 by Pulumi