@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.getSmDevicesDesktopLogsOutput = exports.getSmDevicesDesktopLogs = 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.getSmDevicesDesktopLogs({
* deviceId: "string",
* endingBefore: "string",
* networkId: "string",
* perPage: 1,
* startingAfter: "string",
* });
* export const merakiNetworksSmDevicesDesktopLogsExample = example.then(example => example.items);
* ```
*/
function getSmDevicesDesktopLogs(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("meraki:networks/getSmDevicesDesktopLogs:getSmDevicesDesktopLogs", {
"deviceId": args.deviceId,
"endingBefore": args.endingBefore,
"networkId": args.networkId,
"perPage": args.perPage,
"startingAfter": args.startingAfter,
}, opts);
}
exports.getSmDevicesDesktopLogs = getSmDevicesDesktopLogs;
/**
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as meraki from "@pulumi/meraki";
*
* const example = meraki.networks.getSmDevicesDesktopLogs({
* deviceId: "string",
* endingBefore: "string",
* networkId: "string",
* perPage: 1,
* startingAfter: "string",
* });
* export const merakiNetworksSmDevicesDesktopLogsExample = example.then(example => example.items);
* ```
*/
function getSmDevicesDesktopLogsOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("meraki:networks/getSmDevicesDesktopLogs:getSmDevicesDesktopLogs", {
"deviceId": args.deviceId,
"endingBefore": args.endingBefore,
"networkId": args.networkId,
"perPage": args.perPage,
"startingAfter": args.startingAfter,
}, opts);
}
exports.getSmDevicesDesktopLogsOutput = getSmDevicesDesktopLogsOutput;
//# sourceMappingURL=getSmDevicesDesktopLogs.js.map