UNPKG

@lbrlabs/pulumi-scaleway

Version:

A Pulumi package for creating and managing scaleway cloud resources.

54 lines 2.04 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.getAvailabilityZonesOutput = exports.getAvailabilityZones = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Use this data source to get the available zones information based on its Region. * * For technical and legal reasons, some products are split by Region or by Availability Zones. When using such product, * you can choose the location that better fits your need (country, latency, …). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const main = scaleway.getAvailabilityZones({ * region: "nl-ams", * }); * ``` */ function getAvailabilityZones(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("scaleway:index/getAvailabilityZones:getAvailabilityZones", { "region": args.region, }, opts); } exports.getAvailabilityZones = getAvailabilityZones; /** * Use this data source to get the available zones information based on its Region. * * For technical and legal reasons, some products are split by Region or by Availability Zones. When using such product, * you can choose the location that better fits your need (country, latency, …). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const main = scaleway.getAvailabilityZones({ * region: "nl-ams", * }); * ``` */ function getAvailabilityZonesOutput(args, opts) { return pulumi.output(args).apply((a) => getAvailabilityZones(a, opts)); } exports.getAvailabilityZonesOutput = getAvailabilityZonesOutput; //# sourceMappingURL=getAvailabilityZones.js.map