@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.18 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.getApiRequestsOverviewOutput = exports.getApiRequestsOverview = 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.organizations.getApiRequestsOverview({
* organizationId: "string",
* t0: "string",
* t1: "string",
* timespan: 1,
* });
* export const merakiOrganizationsApiRequestsOverviewExample = example.then(example => example.item);
* ```
*/
function getApiRequestsOverview(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("meraki:organizations/getApiRequestsOverview:getApiRequestsOverview", {
"organizationId": args.organizationId,
"t0": args.t0,
"t1": args.t1,
"timespan": args.timespan,
}, opts);
}
exports.getApiRequestsOverview = getApiRequestsOverview;
/**
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as meraki from "@pulumi/meraki";
*
* const example = meraki.organizations.getApiRequestsOverview({
* organizationId: "string",
* t0: "string",
* t1: "string",
* timespan: 1,
* });
* export const merakiOrganizationsApiRequestsOverviewExample = example.then(example => example.item);
* ```
*/
function getApiRequestsOverviewOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("meraki:organizations/getApiRequestsOverview:getApiRequestsOverview", {
"organizationId": args.organizationId,
"t0": args.t0,
"t1": args.t1,
"timespan": args.timespan,
}, opts);
}
exports.getApiRequestsOverviewOutput = getApiRequestsOverviewOutput;
//# sourceMappingURL=getApiRequestsOverview.js.map