UNPKG

@pulumi/linode

Version:

A Pulumi package for creating and managing linode cloud resources.

52 lines 2 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.getInstanceNetworkingOutput = exports.getInstanceNetworking = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Provides details about the networking configuration of an Instance. * For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-linode-config-interfaces). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as linode from "@pulumi/linode"; * * const example = linode.getInstanceNetworking({ * linodeId: 123, * }); * ``` */ function getInstanceNetworking(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("linode:index/getInstanceNetworking:getInstanceNetworking", { "linodeId": args.linodeId, }, opts); } exports.getInstanceNetworking = getInstanceNetworking; /** * Provides details about the networking configuration of an Instance. * For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-linode-config-interfaces). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as linode from "@pulumi/linode"; * * const example = linode.getInstanceNetworking({ * linodeId: 123, * }); * ``` */ function getInstanceNetworkingOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("linode:index/getInstanceNetworking:getInstanceNetworking", { "linodeId": args.linodeId, }, opts); } exports.getInstanceNetworkingOutput = getInstanceNetworkingOutput; //# sourceMappingURL=getInstanceNetworking.js.map