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

harness.cluster.getOrchestrator

Explore with Pulumi AI

Harness v0.7.1 published on Saturday, Mar 29, 2025 by Pulumi

Data source for retrieving a Harness ClusterOrchestrator.

Example Usage

Coming soon!
Coming soon!
Coming soon!
Coming soon!
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.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var example = ClusterFunctions.getOrchestrator(GetOrchestratorArgs.builder()
            .identifier("identifier")
            .build());

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: harness:cluster:getOrchestrator
      arguments:
        identifier: identifier
Copy

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?: InvokeOptions): Output<GetOrchestratorResult>
Copy
def get_orchestrator(cluster_endpoint: Optional[str] = None,
                     k8s_connector_id: Optional[str] = None,
                     name: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetOrchestratorResult
def get_orchestrator_output(cluster_endpoint: Optional[pulumi.Input[str]] = None,
                     k8s_connector_id: Optional[pulumi.Input[str]] = None,
                     name: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetOrchestratorResult]
Copy
func LookupOrchestrator(ctx *Context, args *LookupOrchestratorArgs, opts ...InvokeOption) (*LookupOrchestratorResult, error)
func LookupOrchestratorOutput(ctx *Context, args *LookupOrchestratorOutputArgs, opts ...InvokeOption) LookupOrchestratorResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetOrchestratorResult> getOrchestrator(GetOrchestratorArgs args, InvokeOptions options)
public static Output<GetOrchestratorResult> getOrchestrator(GetOrchestratorArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: harness:cluster/getOrchestrator:getOrchestrator
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ClusterEndpoint This property is required. string
Endpoint of the k8s cluster being onboarded under the orchestrator
Name This property is required. string
Name of the Orchestrator
K8sConnectorId string
ID of the Harness Kubernetes Connector Being used
ClusterEndpoint This property is required. string
Endpoint of the k8s cluster being onboarded under the orchestrator
Name This property is required. string
Name of the Orchestrator
K8sConnectorId string
ID of the Harness Kubernetes Connector Being used
clusterEndpoint This property is required. String
Endpoint of the k8s cluster being onboarded under the orchestrator
name This property is required. String
Name of the Orchestrator
k8sConnectorId String
ID of the Harness Kubernetes Connector Being used
clusterEndpoint This property is required. string
Endpoint of the k8s cluster being onboarded under the orchestrator
name This property is required. string
Name of the Orchestrator
k8sConnectorId string
ID of the Harness Kubernetes Connector Being used
cluster_endpoint This property is required. str
Endpoint of the k8s cluster being onboarded under the orchestrator
name This property is required. str
Name of the Orchestrator
k8s_connector_id str
ID of the Harness Kubernetes Connector Being used
clusterEndpoint This property is required. String
Endpoint of the k8s cluster being onboarded under the orchestrator
name This property is required. String
Name of the Orchestrator
k8sConnectorId String
ID of the Harness Kubernetes Connector Being used

getOrchestrator Result

The following output properties are available:

ClusterEndpoint 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
K8sConnectorId string
ID of the Harness Kubernetes Connector Being used
ClusterEndpoint 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
K8sConnectorId string
ID of the Harness Kubernetes Connector Being used
clusterEndpoint 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
k8sConnectorId String
ID of the Harness Kubernetes Connector Being used
clusterEndpoint 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
k8sConnectorId string
ID of the Harness Kubernetes Connector Being used
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_id str
ID of the Harness Kubernetes Connector Being used
clusterEndpoint 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
k8sConnectorId String
ID of the Harness Kubernetes Connector Being used

Package Details

Repository
harness pulumi/pulumi-harness
License
Apache-2.0
Notes
This Pulumi package is based on the harness Terraform Provider.
Harness v0.7.1 published on Saturday, Mar 29, 2025 by Pulumi