UNPKG

@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
"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.getProfileOutput = exports.getProfile = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * <!-- subcategory:Profiles -->Single Metadata Profile. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as readarr from "@pulumi/readarr"; * * const example = readarr.Metadata.getProfile({ * name: "Example", * }); * ``` */ function getProfile(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("readarr:Metadata/getProfile:getProfile", { "name": args.name, }, opts); } exports.getProfile = getProfile; /** * <!-- subcategory:Profiles -->Single Metadata Profile. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as readarr from "@pulumi/readarr"; * * const example = readarr.Metadata.getProfile({ * name: "Example", * }); * ``` */ function getProfileOutput(args, opts) { return pulumi.output(args).apply((a) => getProfile(a, opts)); } exports.getProfileOutput = getProfileOutput; //# sourceMappingURL=getProfile.js.map