UNPKG

@pulumi/meraki

Version:

A Pulumi package for creating and managing Cisco Meraki resources. Based on terraform-provider-meraki: version v0.2.0

122 lines (121 loc) 5.18 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * ## 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); * ``` */ export declare function getSmDevicesDesktopLogs(args: GetSmDevicesDesktopLogsArgs, opts?: pulumi.InvokeOptions): Promise<GetSmDevicesDesktopLogsResult>; /** * A collection of arguments for invoking getSmDevicesDesktopLogs. */ export interface GetSmDevicesDesktopLogsArgs { /** * deviceId path parameter. Device ID */ deviceId: string; /** * endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. */ endingBefore?: string; /** * networkId path parameter. Network ID */ networkId: string; /** * perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000. */ perPage?: number; /** * startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. */ startingAfter?: string; } /** * A collection of values returned by getSmDevicesDesktopLogs. */ export interface GetSmDevicesDesktopLogsResult { /** * deviceId path parameter. Device ID */ readonly deviceId: string; /** * endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. */ readonly endingBefore?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Array of ResponseSmGetNetworkSmDeviceDesktopLogs */ readonly items: outputs.networks.GetSmDevicesDesktopLogsItem[]; /** * networkId path parameter. Network ID */ readonly networkId: string; /** * perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000. */ readonly perPage?: number; /** * startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. */ readonly startingAfter?: string; } /** * ## 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); * ``` */ export declare function getSmDevicesDesktopLogsOutput(args: GetSmDevicesDesktopLogsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSmDevicesDesktopLogsResult>; /** * A collection of arguments for invoking getSmDevicesDesktopLogs. */ export interface GetSmDevicesDesktopLogsOutputArgs { /** * deviceId path parameter. Device ID */ deviceId: pulumi.Input<string>; /** * endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. */ endingBefore?: pulumi.Input<string>; /** * networkId path parameter. Network ID */ networkId: pulumi.Input<string>; /** * perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000. */ perPage?: pulumi.Input<number>; /** * startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. */ startingAfter?: pulumi.Input<string>; }