UNPKG

@lbrlabs/pulumi-scaleway

Version:

A Pulumi package for creating and managing scaleway cloud resources.

52 lines 1.77 kB
"use strict"; // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getKubernetesNodePoolOutput = exports.getKubernetesNodePool = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * 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.getKubernetesNodePool({ * poolId: "11111111-1111-1111-1111-111111111111", * }); * ``` */ function getKubernetesNodePool(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("scaleway:index/getKubernetesNodePool:getKubernetesNodePool", { "clusterId": args.clusterId, "name": args.name, "poolId": args.poolId, "region": args.region, "size": args.size, }, opts); } exports.getKubernetesNodePool = getKubernetesNodePool; /** * 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.getKubernetesNodePool({ * poolId: "11111111-1111-1111-1111-111111111111", * }); * ``` */ function getKubernetesNodePoolOutput(args, opts) { return pulumi.output(args).apply((a) => getKubernetesNodePool(a, opts)); } exports.getKubernetesNodePoolOutput = getKubernetesNodePoolOutput; //# sourceMappingURL=getKubernetesNodePool.js.map