@maienm/pulumi-readarr
Version:
A Pulumi package for creating and managing Readarr resources. Based on terraform-provider-readarr: version v2.1.0
47 lines • 1.43 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.getAuthorOutput = exports.getAuthor = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* <!-- subcategory:Authors -->Single Author.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as readarr from "@pulumi/readarr";
*
* const example = readarr.Authors.getAuthor({
* foreignAuthorId: "123715",
* });
* ```
*/
function getAuthor(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("readarr:Authors/getAuthor:getAuthor", {
"foreignAuthorId": args.foreignAuthorId,
}, opts);
}
exports.getAuthor = getAuthor;
/**
* <!-- subcategory:Authors -->Single Author.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as readarr from "@pulumi/readarr";
*
* const example = readarr.Authors.getAuthor({
* foreignAuthorId: "123715",
* });
* ```
*/
function getAuthorOutput(args, opts) {
return pulumi.output(args).apply((a) => getAuthor(a, opts));
}
exports.getAuthorOutput = getAuthorOutput;
//# sourceMappingURL=getAuthor.js.map