UNPKG

@lbrlabs/pulumi-scaleway

Version:

A Pulumi package for creating and managing scaleway cloud resources.

50 lines 1.88 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.getRedisClusterOutput = exports.getRedisCluster = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Gets information about a Redis cluster. For further information check our [api documentation](https://developers.scaleway.com/en/products/redis/api/v1alpha1/#clusters-a85816) * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const myCluster = scaleway.getRedisCluster({ * clusterId: "11111111-1111-1111-1111-111111111111", * }); * ``` */ function getRedisCluster(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("scaleway:index/getRedisCluster:getRedisCluster", { "clusterId": args.clusterId, "name": args.name, "zone": args.zone, }, opts); } exports.getRedisCluster = getRedisCluster; /** * Gets information about a Redis cluster. For further information check our [api documentation](https://developers.scaleway.com/en/products/redis/api/v1alpha1/#clusters-a85816) * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const myCluster = scaleway.getRedisCluster({ * clusterId: "11111111-1111-1111-1111-111111111111", * }); * ``` */ function getRedisClusterOutput(args, opts) { return pulumi.output(args).apply((a) => getRedisCluster(a, opts)); } exports.getRedisClusterOutput = getRedisClusterOutput; //# sourceMappingURL=getRedisCluster.js.map