@pulumi/linode
Version:
A Pulumi package for creating and managing linode cloud resources.
56 lines • 1.96 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.getKernelOutput = exports.getKernel = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* Provides information about a Linode kernel
* For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-kernel).
*
* ## Example Usage
*
* The following example shows how one might use this data source to access information about a Linode kernel.
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as linode from "@pulumi/linode";
*
* const latest = linode.getKernel({
* id: "linode/latest-64bit",
* });
* ```
*/
function getKernel(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("linode:index/getKernel:getKernel", {
"id": args.id,
}, opts);
}
exports.getKernel = getKernel;
/**
* Provides information about a Linode kernel
* For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-kernel).
*
* ## Example Usage
*
* The following example shows how one might use this data source to access information about a Linode kernel.
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as linode from "@pulumi/linode";
*
* const latest = linode.getKernel({
* id: "linode/latest-64bit",
* });
* ```
*/
function getKernelOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("linode:index/getKernel:getKernel", {
"id": args.id,
}, opts);
}
exports.getKernelOutput = getKernelOutput;
//# sourceMappingURL=getKernel.js.map
;