UNPKG

@pulumi/meraki

Version:

A Pulumi package for creating and managing Cisco Meraki resources. Based on terraform-provider-meraki: version v0.2.0

48 lines 1.89 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.getSwitchDhcpServerPolicyOutput = exports.getSwitchDhcpServerPolicy = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as meraki from "@pulumi/meraki"; * * const example = meraki.networks.getSwitchDhcpServerPolicy({ * networkId: "string", * }); * export const merakiNetworksSwitchDhcpServerPolicyExample = example.then(example => example.item); * ``` */ function getSwitchDhcpServerPolicy(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getSwitchDhcpServerPolicy:getSwitchDhcpServerPolicy", { "networkId": args.networkId, }, opts); } exports.getSwitchDhcpServerPolicy = getSwitchDhcpServerPolicy; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as meraki from "@pulumi/meraki"; * * const example = meraki.networks.getSwitchDhcpServerPolicy({ * networkId: "string", * }); * export const merakiNetworksSwitchDhcpServerPolicyExample = example.then(example => example.item); * ``` */ function getSwitchDhcpServerPolicyOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("meraki:networks/getSwitchDhcpServerPolicy:getSwitchDhcpServerPolicy", { "networkId": args.networkId, }, opts); } exports.getSwitchDhcpServerPolicyOutput = getSwitchDhcpServerPolicyOutput; //# sourceMappingURL=getSwitchDhcpServerPolicy.js.map