@pulumi/meraki
Version:
A Pulumi package for creating and managing Cisco Meraki resources. Based on terraform-provider-meraki: version v0.2.0
32 lines • 1.2 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.getSwitchPortsOutput = exports.getSwitchPorts = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* ## Example Usage
*/
function getSwitchPorts(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("meraki:devices/getSwitchPorts:getSwitchPorts", {
"portId": args.portId,
"serial": args.serial,
}, opts);
}
exports.getSwitchPorts = getSwitchPorts;
/**
* ## Example Usage
*/
function getSwitchPortsOutput(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("meraki:devices/getSwitchPorts:getSwitchPorts", {
"portId": args.portId,
"serial": args.serial,
}, opts);
}
exports.getSwitchPortsOutput = getSwitchPortsOutput;
//# sourceMappingURL=getSwitchPorts.js.map