import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Gets information about a Kubernetes Cluster's Pool. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const myKey = scaleway.getK8sPool({ * poolId: "11111111-1111-1111-1111-111111111111", * }); * ``` */ export declare function getK8sPool(args?: GetK8sPoolArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getK8sPool. */ export interface GetK8sPoolArgs { /** * The cluster ID. Required when `name` is set. */ clusterId?: string; /** * The pool name. Only one of `name` and `poolId` should be specified. `clusterId` should be specified with `name`. */ name?: string; /** * The pool's ID. Only one of `name` and `poolId` should be specified. */ poolId?: string; /** * `region`) The region in which the pool exists. */ region?: string; /** * The size of the pool. */ size?: number; } /** * A collection of values returned by getK8sPool. */ export interface GetK8sPoolResult { /** * True if the autohealing feature is enabled for this pool. */ readonly autohealing: boolean; /** * True if the autoscaling feature is enabled for this pool. */ readonly autoscaling: boolean; readonly clusterId?: string; /** * The container runtime of the pool. */ readonly containerRuntime: string; /** * The creation date of the pool. */ readonly createdAt: string; readonly currentSize: number; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly kubeletArgs: { [key: string]: string; }; /** * The maximum size of the pool, used by the autoscaling feature. */ readonly maxSize: number; /** * The minimum size of the pool, used by the autoscaling feature. */ readonly minSize: number; /** * The name of the node. */ readonly name?: string; /** * The commercial type of the pool instances. */ readonly nodeType: string; /** * (List of) The nodes in the default pool. */ readonly nodes: outputs.GetK8sPoolNode[]; /** * [placement group](https://developers.scaleway.com/en/products/instance/api/#placement-groups-d8f653) the nodes of the pool are attached to. */ readonly placementGroupId: string; readonly poolId?: string; readonly publicIpDisabled: boolean; readonly region?: string; readonly rootVolumeSizeInGb: number; readonly rootVolumeType: string; /** * The size of the pool. */ readonly size?: number; /** * The status of the node. */ readonly status: string; /** * The tags associated with the pool. */ readonly tags: string[]; /** * The last update date of the pool. */ readonly updatedAt: string; readonly upgradePolicies: outputs.GetK8sPoolUpgradePolicy[]; /** * The version of the pool. */ readonly version: string; readonly waitForPoolReady: boolean; readonly zone: string; } /** * Gets information about a Kubernetes Cluster's Pool. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const myKey = scaleway.getK8sPool({ * poolId: "11111111-1111-1111-1111-111111111111", * }); * ``` */ export declare function getK8sPoolOutput(args?: GetK8sPoolOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getK8sPool. */ export interface GetK8sPoolOutputArgs { /** * The cluster ID. Required when `name` is set. */ clusterId?: pulumi.Input; /** * The pool name. Only one of `name` and `poolId` should be specified. `clusterId` should be specified with `name`. */ name?: pulumi.Input; /** * The pool's ID. Only one of `name` and `poolId` should be specified. */ poolId?: pulumi.Input; /** * `region`) The region in which the pool exists. */ region?: pulumi.Input; /** * The size of the pool. */ size?: pulumi.Input; }