Harness v0.4.4 published on Tuesday, Nov 12, 2024 by Pulumi
harness.cluster.getOrchestrator
Explore with Pulumi AI
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());
}
}
variables:
example:
fn::invoke:
Function: harness:cluster:getOrchestrator
Arguments:
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?: InvokeOptions): Output<GetOrchestratorResult>
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]
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 CompletableFuture<GetOrchestratorResult> getOrchestrator(GetOrchestratorArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: harness:cluster/getOrchestrator:getOrchestrator
arguments:
# arguments dictionary
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
- 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
- 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
- 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
- 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
- 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
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
- 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
- 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
- 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
- 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
- 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
Package Details
- Repository
- harness pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harness
Terraform Provider.