@pulumi/harness
Version:
A Pulumi package for creating and managing Harness resources.
132 lines (131 loc) • 3.57 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Datasource for looking up a Kubernetes connector.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as harness from "@pulumi/harness";
*
* const example = harness.platform.getKubernetesConnector({
* identifier: "identifier",
* });
* ```
*/
export declare function getKubernetesConnector(args: GetKubernetesConnectorArgs, opts?: pulumi.InvokeOptions): Promise<GetKubernetesConnectorResult>;
/**
* A collection of arguments for invoking getKubernetesConnector.
*/
export interface GetKubernetesConnectorArgs {
/**
* Unique identifier of the resource.
*/
identifier: string;
/**
* Name of the resource.
*/
name?: string;
/**
* Unique identifier of the organization.
*/
orgId?: string;
/**
* Unique identifier of the project.
*/
projectId?: string;
}
/**
* A collection of values returned by getKubernetesConnector.
*/
export interface GetKubernetesConnectorResult {
/**
* Client key and certificate config for the connector.
*/
readonly clientKeyCerts: outputs.platform.GetKubernetesConnectorClientKeyCert[];
/**
* Selectors to use for the delegate.
*/
readonly delegateSelectors: string[];
/**
* Description of the resource.
*/
readonly description: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* Unique identifier of the resource.
*/
readonly identifier: string;
/**
* Credentials are inherited from the delegate.
*/
readonly inheritFromDelegates: outputs.platform.GetKubernetesConnectorInheritFromDelegate[];
/**
* Name of the resource.
*/
readonly name?: string;
/**
* OpenID configuration for the connector.
*/
readonly openidConnects: outputs.platform.GetKubernetesConnectorOpenidConnect[];
/**
* Unique identifier of the organization.
*/
readonly orgId?: string;
/**
* Unique identifier of the project.
*/
readonly projectId?: string;
/**
* Service account for the connector.
*/
readonly serviceAccounts: outputs.platform.GetKubernetesConnectorServiceAccount[];
/**
* Tags to associate with the resource.
*/
readonly tags: string[];
/**
* Username and password for the connector.
*/
readonly usernamePasswords: outputs.platform.GetKubernetesConnectorUsernamePassword[];
}
/**
* Datasource for looking up a Kubernetes connector.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as harness from "@pulumi/harness";
*
* const example = harness.platform.getKubernetesConnector({
* identifier: "identifier",
* });
* ```
*/
export declare function getKubernetesConnectorOutput(args: GetKubernetesConnectorOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetKubernetesConnectorResult>;
/**
* A collection of arguments for invoking getKubernetesConnector.
*/
export interface GetKubernetesConnectorOutputArgs {
/**
* Unique identifier of the resource.
*/
identifier: pulumi.Input<string>;
/**
* Name of the resource.
*/
name?: pulumi.Input<string>;
/**
* Unique identifier of the organization.
*/
orgId?: pulumi.Input<string>;
/**
* Unique identifier of the project.
*/
projectId?: pulumi.Input<string>;
}