@pulumi/harness
Version:
A Pulumi package for creating and managing Harness resources.
65 lines (64 loc) • 1.83 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Data source for retrieving a Harness ClusterOrchestrator.
*/
export declare function getOrchestrator(args: GetOrchestratorArgs, opts?: pulumi.InvokeOptions): Promise<GetOrchestratorResult>;
/**
* A collection of arguments for invoking getOrchestrator.
*/
export interface GetOrchestratorArgs {
/**
* Endpoint of the k8s cluster being onboarded under the orchestrator
*/
clusterEndpoint: string;
/**
* ID of the Harness Kubernetes Connector Being used
*/
k8sConnectorId?: string;
/**
* Name of the Orchestrator
*/
name: string;
}
/**
* A collection of values returned by getOrchestrator.
*/
export interface GetOrchestratorResult {
/**
* Endpoint of the k8s cluster being onboarded under the orchestrator
*/
readonly clusterEndpoint: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* ID of the Harness Kubernetes Connector Being used
*/
readonly k8sConnectorId?: string;
/**
* Name of the Orchestrator
*/
readonly name: string;
}
/**
* Data source for retrieving a Harness ClusterOrchestrator.
*/
export declare function getOrchestratorOutput(args: GetOrchestratorOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetOrchestratorResult>;
/**
* A collection of arguments for invoking getOrchestrator.
*/
export interface GetOrchestratorOutputArgs {
/**
* Endpoint of the k8s cluster being onboarded under the orchestrator
*/
clusterEndpoint: pulumi.Input<string>;
/**
* ID of the Harness Kubernetes Connector Being used
*/
k8sConnectorId?: pulumi.Input<string>;
/**
* Name of the Orchestrator
*/
name: pulumi.Input<string>;
}