@pulumi/linode
Version:
A Pulumi package for creating and managing linode cloud resources.
56 lines • 1.93 kB
JavaScript
;
// *** 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.getIpv6RangeOutput = exports.getIpv6Range = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* Provides information about a Linode IPv6 Range.
* For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-ipv6-range).
*
* ## Example Usage
*
* Get information about an IPv6 range assigned to a Linode:
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as linode from "@pulumi/linode";
*
* const range_info = linode.getIpv6Range({
* range: "2001:0db8::",
* });
* ```
*/
function getIpv6Range(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("linode:index/getIpv6Range:getIpv6Range", {
"range": args.range,
}, opts);
}
exports.getIpv6Range = getIpv6Range;
/**
* Provides information about a Linode IPv6 Range.
* For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-ipv6-range).
*
* ## Example Usage
*
* Get information about an IPv6 range assigned to a Linode:
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as linode from "@pulumi/linode";
*
* const range_info = linode.getIpv6Range({
* range: "2001:0db8::",
* });
* ```
*/
function getIpv6RangeOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("linode:index/getIpv6Range:getIpv6Range", {
"range": args.range,
}, opts);
}
exports.getIpv6RangeOutput = getIpv6RangeOutput;
//# sourceMappingURL=getIpv6Range.js.map