UNPKG

@pulumiverse/scaleway

Version:

A Pulumi package for creating and managing Scaleway cloud resources.

40 lines 1.68 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 Redis™ cluster. * * For further information refer to the Managed Database for Redis™ [API documentation](https://developers.scaleway.com/en/products/redis/api/v1alpha1/#clusters-a85816). */ function getCluster(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("scaleway:redis/getCluster:getCluster", { "clusterId": args.clusterId, "name": args.name, "projectId": args.projectId, "zone": args.zone, }, opts); } exports.getCluster = getCluster; /** * Gets information about a Redis™ cluster. * * For further information refer to the Managed Database for Redis™ [API documentation](https://developers.scaleway.com/en/products/redis/api/v1alpha1/#clusters-a85816). */ function getClusterOutput(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("scaleway:redis/getCluster:getCluster", { "clusterId": args.clusterId, "name": args.name, "projectId": args.projectId, "zone": args.zone, }, opts); } exports.getClusterOutput = getClusterOutput; //# sourceMappingURL=getCluster.js.map