UNPKG

@pulumi/f5bigip

Version:

A Pulumi package for creating and managing F5 BigIP resources.

54 lines 1.77 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.getMonitorOutput = exports.getMonitor = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Use this data source (`f5bigip.ltm.Monitor`) to get the ltm monitor details available on BIG-IP * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as f5bigip from "@pulumi/f5bigip"; * * const monitor_TC1 = f5bigip.ltm.getMonitor({ * name: "test-monitor", * partition: "Common", * }); * ``` */ function getMonitor(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("f5bigip:ltm/getMonitor:getMonitor", { "name": args.name, "partition": args.partition, }, opts); } exports.getMonitor = getMonitor; /** * Use this data source (`f5bigip.ltm.Monitor`) to get the ltm monitor details available on BIG-IP * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as f5bigip from "@pulumi/f5bigip"; * * const monitor_TC1 = f5bigip.ltm.getMonitor({ * name: "test-monitor", * partition: "Common", * }); * ``` */ function getMonitorOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("f5bigip:ltm/getMonitor:getMonitor", { "name": args.name, "partition": args.partition, }, opts); } exports.getMonitorOutput = getMonitorOutput; //# sourceMappingURL=getMonitor.js.map