import * as pulumi from "@pulumi/pulumi"; /** * This data source provides details about a specific Cluster Kube Config resource in Oracle Cloud Infrastructure Container Engine service. * * Create the Kubeconfig YAML for a cluster. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testClusterKubeConfig = oci.containerengine.getClusterKubeConfig({ * clusterId: testCluster.id, * endpoint: clusterKubeConfigEndpoint, * expiration: Number(clusterKubeConfigExpiration), * tokenVersion: clusterKubeConfigTokenVersion, * }); * ``` */ export declare function getClusterKubeConfig(args: GetClusterKubeConfigArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getClusterKubeConfig. */ export interface GetClusterKubeConfigArgs { /** * The OCID of the cluster. */ clusterId: string; /** * The endpoint to target. A cluster may have multiple endpoints exposed but the kubeconfig can only target one at a time. */ endpoint?: string; /** * Deprecated. This field is no longer used. */ expiration?: number; /** * The version of the kubeconfig token. Supported value 2.0.0 */ tokenVersion?: string; } /** * A collection of values returned by getClusterKubeConfig. */ export interface GetClusterKubeConfigResult { readonly clusterId: string; /** * content of the Kubeconfig YAML for the cluster. */ readonly content: string; readonly endpoint?: string; readonly expiration?: number; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly tokenVersion?: string; } /** * This data source provides details about a specific Cluster Kube Config resource in Oracle Cloud Infrastructure Container Engine service. * * Create the Kubeconfig YAML for a cluster. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testClusterKubeConfig = oci.containerengine.getClusterKubeConfig({ * clusterId: testCluster.id, * endpoint: clusterKubeConfigEndpoint, * expiration: Number(clusterKubeConfigExpiration), * tokenVersion: clusterKubeConfigTokenVersion, * }); * ``` */ export declare function getClusterKubeConfigOutput(args: GetClusterKubeConfigOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getClusterKubeConfig. */ export interface GetClusterKubeConfigOutputArgs { /** * The OCID of the cluster. */ clusterId: pulumi.Input; /** * The endpoint to target. A cluster may have multiple endpoints exposed but the kubeconfig can only target one at a time. */ endpoint?: pulumi.Input; /** * Deprecated. This field is no longer used. */ expiration?: pulumi.Input; /** * The version of the kubeconfig token. Supported value 2.0.0 */ tokenVersion?: pulumi.Input; } //# sourceMappingURL=getClusterKubeConfig.d.ts.map