@pulumi/meraki
Version:
A Pulumi package for creating and managing Cisco Meraki resources. Based on terraform-provider-meraki: version v0.2.0
76 lines • 2.55 kB
JavaScript
;
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getWebhooksLogsOutput = exports.getWebhooksLogs = 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.getWebhooksLogs({
* endingBefore: "string",
* organizationId: "string",
* perPage: 1,
* startingAfter: "string",
* t0: "string",
* t1: "string",
* timespan: 1,
* url: "string",
* });
* export const merakiOrganizationsWebhooksLogsExample = example.then(example => example.items);
* ```
*/
function getWebhooksLogs(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("meraki:organizations/getWebhooksLogs:getWebhooksLogs", {
"endingBefore": args.endingBefore,
"organizationId": args.organizationId,
"perPage": args.perPage,
"startingAfter": args.startingAfter,
"t0": args.t0,
"t1": args.t1,
"timespan": args.timespan,
"url": args.url,
}, opts);
}
exports.getWebhooksLogs = getWebhooksLogs;
/**
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as meraki from "@pulumi/meraki";
*
* const example = meraki.organizations.getWebhooksLogs({
* endingBefore: "string",
* organizationId: "string",
* perPage: 1,
* startingAfter: "string",
* t0: "string",
* t1: "string",
* timespan: 1,
* url: "string",
* });
* export const merakiOrganizationsWebhooksLogsExample = example.then(example => example.items);
* ```
*/
function getWebhooksLogsOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("meraki:organizations/getWebhooksLogs:getWebhooksLogs", {
"endingBefore": args.endingBefore,
"organizationId": args.organizationId,
"perPage": args.perPage,
"startingAfter": args.startingAfter,
"t0": args.t0,
"t1": args.t1,
"timespan": args.timespan,
"url": args.url,
}, opts);
}
exports.getWebhooksLogsOutput = getWebhooksLogsOutput;
//# sourceMappingURL=getWebhooksLogs.js.map