@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
112 lines • 3.55 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* The `scaleway.kubernetes.getVersion` data source is used to retrieve information about a Kubernetes version.
*
* Refer to the Kubernetes [documentation](https://www.scaleway.com/en/docs/compute/kubernetes/) and [API documentation](https://www.scaleway.com/en/developers/api/kubernetes/) for more information.
*
* You can also use the [scaleway-cli](https://github.com/scaleway/scaleway-cli) with `scw k8s version list` to list all available versions.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumiverse/scaleway";
*
* // Use the latest version
* const latest = scaleway.kubernetes.getVersion({
* name: "latest",
* });
* ```
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumiverse/scaleway";
*
* // Use a specific version
* const byName = scaleway.kubernetes.getVersion({
* name: "1.26.0",
* });
* ```
*/
export declare function getVersion(args: GetVersionArgs, opts?: pulumi.InvokeOptions): Promise<GetVersionResult>;
/**
* A collection of arguments for invoking getVersion.
*/
export interface GetVersionArgs {
/**
* The name of the Kubernetes version.
*/
name: string;
/**
* `region`) The region in which the version exists.
*/
region?: string;
}
/**
* A collection of values returned by getVersion.
*/
export interface GetVersionResult {
/**
* The list of supported Container Network Interface (CNI) plugins for this version.
*/
readonly availableCnis: string[];
/**
* The list of supported container runtimes for this version.
*/
readonly availableContainerRuntimes: string[];
/**
* The list of supported feature gates for this version.
*/
readonly availableFeatureGates: string[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly majorMinorOnly: string;
readonly name: string;
readonly region?: string;
}
/**
* The `scaleway.kubernetes.getVersion` data source is used to retrieve information about a Kubernetes version.
*
* Refer to the Kubernetes [documentation](https://www.scaleway.com/en/docs/compute/kubernetes/) and [API documentation](https://www.scaleway.com/en/developers/api/kubernetes/) for more information.
*
* You can also use the [scaleway-cli](https://github.com/scaleway/scaleway-cli) with `scw k8s version list` to list all available versions.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumiverse/scaleway";
*
* // Use the latest version
* const latest = scaleway.kubernetes.getVersion({
* name: "latest",
* });
* ```
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumiverse/scaleway";
*
* // Use a specific version
* const byName = scaleway.kubernetes.getVersion({
* name: "1.26.0",
* });
* ```
*/
export declare function getVersionOutput(args: GetVersionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVersionResult>;
/**
* A collection of arguments for invoking getVersion.
*/
export interface GetVersionOutputArgs {
/**
* The name of the Kubernetes version.
*/
name: pulumi.Input<string>;
/**
* `region`) The region in which the version exists.
*/
region?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=getVersion.d.ts.map