UNPKG

@pulumi/gcp

Version:

A Pulumi package for creating and managing Google Cloud Platform resources.

50 lines 2.18 kB
"use strict"; // *** WARNING: this file was generated by pulumi-language-nodejs. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getMachineTypesOutput = exports.getMachineTypes = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Provides access to available Google Compute machine types in a zone for a given project. * See more about [machine type availability](https://cloud.google.com/compute/docs/regions-zones#available) in the upstream docs. * * To get more information about machine types, see: * * * [API Documentation](https://cloud.google.com/compute/docs/reference/rest/v1/machineTypes/list) * * [Comparison Guide](https://cloud.google.com/compute/docs/machine-resource) * * ## Example Usage */ function getMachineTypes(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("gcp:compute/getMachineTypes:getMachineTypes", { "filter": args.filter, "project": args.project, "zone": args.zone, }, opts); } exports.getMachineTypes = getMachineTypes; /** * Provides access to available Google Compute machine types in a zone for a given project. * See more about [machine type availability](https://cloud.google.com/compute/docs/regions-zones#available) in the upstream docs. * * To get more information about machine types, see: * * * [API Documentation](https://cloud.google.com/compute/docs/reference/rest/v1/machineTypes/list) * * [Comparison Guide](https://cloud.google.com/compute/docs/machine-resource) * * ## Example Usage */ function getMachineTypesOutput(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("gcp:compute/getMachineTypes:getMachineTypes", { "filter": args.filter, "project": args.project, "zone": args.zone, }, opts); } exports.getMachineTypesOutput = getMachineTypesOutput; //# sourceMappingURL=getMachineTypes.js.map