import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Gets information about a Kubernetes Cluster. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const myKey = scaleway.getK8sCluster({ * clusterId: "11111111-1111-1111-1111-111111111111", * }); * ``` */ export declare function getK8sCluster(args?: GetK8sClusterArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getK8sCluster. */ export interface GetK8sClusterArgs { /** * The cluster ID. Only one of `name` and `clusterId` should be specified. */ clusterId?: string; /** * The cluster name. Only one of `name` and `clusterId` should be specified. */ name?: string; /** * The ID of the project the cluster is associated with. */ projectId?: string; /** * `region`) The region in which the cluster exists. */ region?: string; } /** * A collection of values returned by getK8sCluster. */ export interface GetK8sClusterResult { /** * The list of [admission plugins](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/) enabled on the cluster. */ readonly admissionPlugins: string[]; readonly apiserverCertSans: string[]; /** * The URL of the Kubernetes API server. */ readonly apiserverUrl: string; /** * The auto upgrade configuration. */ readonly autoUpgrades: outputs.GetK8sClusterAutoUpgrade[]; /** * The configuration options for the [Kubernetes cluster autoscaler](https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler). */ readonly autoscalerConfigs: outputs.GetK8sClusterAutoscalerConfig[]; readonly clusterId?: string; /** * The Container Network Interface (CNI) for the Kubernetes cluster. */ readonly cni: string; /** * The creation date of the cluster. */ readonly createdAt: string; /** * A description for the Kubernetes cluster. */ readonly description: string; /** * The list of [feature gates](https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/) enabled on the cluster. */ readonly featureGates: string[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly kubeconfigs: outputs.GetK8sClusterKubeconfig[]; readonly name?: string; readonly openIdConnectConfigs: outputs.GetK8sClusterOpenIdConnectConfig[]; /** * The ID of the organization the cluster is associated with. */ readonly organizationId: string; /** * The ID of the private network of the cluster. */ readonly privateNetworkId: string; readonly projectId?: string; /** * The region in which the cluster is. */ readonly region?: string; /** * The status of the Kubernetes cluster. */ readonly status: string; /** * The tags associated with the Kubernetes cluster. */ readonly tags: string[]; /** * The type of the Kubernetes cluster. */ readonly type: string; /** * The last update date of the cluster. */ readonly updatedAt: string; /** * True if a newer Kubernetes version is available. */ readonly upgradeAvailable: boolean; /** * The version of the Kubernetes cluster. */ readonly version: string; /** * The DNS wildcard that points to all ready nodes. */ readonly wildcardDns: string; } /** * Gets information about a Kubernetes Cluster. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const myKey = scaleway.getK8sCluster({ * clusterId: "11111111-1111-1111-1111-111111111111", * }); * ``` */ export declare function getK8sClusterOutput(args?: GetK8sClusterOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getK8sCluster. */ export interface GetK8sClusterOutputArgs { /** * The cluster ID. Only one of `name` and `clusterId` should be specified. */ clusterId?: pulumi.Input; /** * The cluster name. Only one of `name` and `clusterId` should be specified. */ name?: pulumi.Input; /** * The ID of the project the cluster is associated with. */ projectId?: pulumi.Input; /** * `region`) The region in which the cluster exists. */ region?: pulumi.Input; }