UNPKG

@pulumi/f5bigip

Version:

A Pulumi package for creating and managing F5 BigIP resources.

58 lines 1.91 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.getIruleOutput = exports.getIrule = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Use this data source (`f5bigip.ltm.IRule`) to get the ltm irule details available on BIG-IP * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as f5bigip from "@pulumi/f5bigip"; * * const test = f5bigip.ltm.getIrule({ * name: "terraform_irule", * partition: "Common", * }); * export const bigipIrule = test.then(test => test.irule); * ``` */ function getIrule(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("f5bigip:ltm/getIrule:getIrule", { "irule": args.irule, "name": args.name, "partition": args.partition, }, opts); } exports.getIrule = getIrule; /** * Use this data source (`f5bigip.ltm.IRule`) to get the ltm irule details available on BIG-IP * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as f5bigip from "@pulumi/f5bigip"; * * const test = f5bigip.ltm.getIrule({ * name: "terraform_irule", * partition: "Common", * }); * export const bigipIrule = test.then(test => test.irule); * ``` */ function getIruleOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("f5bigip:ltm/getIrule:getIrule", { "irule": args.irule, "name": args.name, "partition": args.partition, }, opts); } exports.getIruleOutput = getIruleOutput; //# sourceMappingURL=getIrule.js.map