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