UNPKG

@pulumi/meraki

Version:

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

104 lines 3.63 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.getEventsOutput = exports.getEvents = 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.getEvents({ * clientIp: "string", * clientMac: "string", * clientName: "string", * deviceMac: "string", * deviceName: "string", * deviceSerial: "string", * endingBefore: "string", * excludedEventTypes: ["string"], * includedEventTypes: ["string"], * networkId: "string", * perPage: 1, * productType: "string", * smDeviceMac: "string", * smDeviceName: "string", * startingAfter: "string", * }); * export const merakiNetworksEventsExample = example.then(example => example.item); * ``` */ function getEvents(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("meraki:networks/getEvents:getEvents", { "clientIp": args.clientIp, "clientMac": args.clientMac, "clientName": args.clientName, "deviceMac": args.deviceMac, "deviceName": args.deviceName, "deviceSerial": args.deviceSerial, "endingBefore": args.endingBefore, "excludedEventTypes": args.excludedEventTypes, "includedEventTypes": args.includedEventTypes, "networkId": args.networkId, "perPage": args.perPage, "productType": args.productType, "smDeviceMac": args.smDeviceMac, "smDeviceName": args.smDeviceName, "startingAfter": args.startingAfter, }, opts); } exports.getEvents = getEvents; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as meraki from "@pulumi/meraki"; * * const example = meraki.networks.getEvents({ * clientIp: "string", * clientMac: "string", * clientName: "string", * deviceMac: "string", * deviceName: "string", * deviceSerial: "string", * endingBefore: "string", * excludedEventTypes: ["string"], * includedEventTypes: ["string"], * networkId: "string", * perPage: 1, * productType: "string", * smDeviceMac: "string", * smDeviceName: "string", * startingAfter: "string", * }); * export const merakiNetworksEventsExample = example.then(example => example.item); * ``` */ function getEventsOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("meraki:networks/getEvents:getEvents", { "clientIp": args.clientIp, "clientMac": args.clientMac, "clientName": args.clientName, "deviceMac": args.deviceMac, "deviceName": args.deviceName, "deviceSerial": args.deviceSerial, "endingBefore": args.endingBefore, "excludedEventTypes": args.excludedEventTypes, "includedEventTypes": args.includedEventTypes, "networkId": args.networkId, "perPage": args.perPage, "productType": args.productType, "smDeviceMac": args.smDeviceMac, "smDeviceName": args.smDeviceName, "startingAfter": args.startingAfter, }, opts); } exports.getEventsOutput = getEventsOutput; //# sourceMappingURL=getEvents.js.map