UNPKG

@pulumiverse/scaleway

Version:

A Pulumi package for creating and managing Scaleway cloud resources.

36 lines 1.35 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.getClusterOutput = exports.getCluster = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Gets information about a Kubernetes Cluster. */ function getCluster(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("scaleway:kubernetes/getCluster:getCluster", { "clusterId": args.clusterId, "name": args.name, "projectId": args.projectId, "region": args.region, }, opts); } exports.getCluster = getCluster; /** * Gets information about a Kubernetes Cluster. */ function getClusterOutput(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("scaleway:kubernetes/getCluster:getCluster", { "clusterId": args.clusterId, "name": args.name, "projectId": args.projectId, "region": args.region, }, opts); } exports.getClusterOutput = getClusterOutput; //# sourceMappingURL=getCluster.js.map