@pulumi/meraki
Version:
A Pulumi package for creating and managing Cisco Meraki resources. Based on terraform-provider-meraki: version v0.2.0
60 lines • 2.14 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.getAlertsHistoryOutput = exports.getAlertsHistory = 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.getAlertsHistory({
* endingBefore: "string",
* networkId: "string",
* perPage: 1,
* startingAfter: "string",
* });
* export const merakiNetworksAlertsHistoryExample = example.then(example => example.items);
* ```
*/
function getAlertsHistory(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("meraki:networks/getAlertsHistory:getAlertsHistory", {
"endingBefore": args.endingBefore,
"networkId": args.networkId,
"perPage": args.perPage,
"startingAfter": args.startingAfter,
}, opts);
}
exports.getAlertsHistory = getAlertsHistory;
/**
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as meraki from "@pulumi/meraki";
*
* const example = meraki.networks.getAlertsHistory({
* endingBefore: "string",
* networkId: "string",
* perPage: 1,
* startingAfter: "string",
* });
* export const merakiNetworksAlertsHistoryExample = example.then(example => example.items);
* ```
*/
function getAlertsHistoryOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("meraki:networks/getAlertsHistory:getAlertsHistory", {
"endingBefore": args.endingBefore,
"networkId": args.networkId,
"perPage": args.perPage,
"startingAfter": args.startingAfter,
}, opts);
}
exports.getAlertsHistoryOutput = getAlertsHistoryOutput;
//# sourceMappingURL=getAlertsHistory.js.map