UNPKG

@pulumi/meraki

Version:

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

161 lines (160 loc) 5.35 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.devices.getWirelessConnectionStats({ * apTag: "string", * band: "string", * serial: "string", * ssid: 1, * t0: "string", * t1: "string", * timespan: 1, * vlan: 1, * }); * export const merakiDevicesWirelessConnectionStatsExample = example.then(example => example.item); * ``` */ export declare function getWirelessConnectionStats(args: GetWirelessConnectionStatsArgs, opts?: pulumi.InvokeOptions): Promise<GetWirelessConnectionStatsResult>; /** * A collection of arguments for invoking getWirelessConnectionStats. */ export interface GetWirelessConnectionStatsArgs { /** * apTag query parameter. Filter results by AP Tag */ apTag?: string; /** * band query parameter. Filter results by band (either '2.4', '5' or '6'). Note that data prior to February 2020 will not have band information. */ band?: string; /** * serial path parameter. */ serial: string; /** * ssid query parameter. Filter results by SSID */ ssid?: number; /** * t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 180 days from today. */ t0?: string; /** * t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 7 days after t0. */ t1?: string; /** * timespan query parameter. The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days. */ timespan?: number; /** * vlan query parameter. Filter results by VLAN */ vlan?: number; } /** * A collection of values returned by getWirelessConnectionStats. */ export interface GetWirelessConnectionStatsResult { /** * apTag query parameter. Filter results by AP Tag */ readonly apTag?: string; /** * band query parameter. Filter results by band (either '2.4', '5' or '6'). Note that data prior to February 2020 will not have band information. */ readonly band?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly item: outputs.devices.GetWirelessConnectionStatsItem; /** * serial path parameter. */ readonly serial: string; /** * ssid query parameter. Filter results by SSID */ readonly ssid?: number; /** * t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 180 days from today. */ readonly t0?: string; /** * t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 7 days after t0. */ readonly t1?: string; /** * timespan query parameter. The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days. */ readonly timespan?: number; /** * vlan query parameter. Filter results by VLAN */ readonly vlan?: number; } /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as meraki from "@pulumi/meraki"; * * const example = meraki.devices.getWirelessConnectionStats({ * apTag: "string", * band: "string", * serial: "string", * ssid: 1, * t0: "string", * t1: "string", * timespan: 1, * vlan: 1, * }); * export const merakiDevicesWirelessConnectionStatsExample = example.then(example => example.item); * ``` */ export declare function getWirelessConnectionStatsOutput(args: GetWirelessConnectionStatsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetWirelessConnectionStatsResult>; /** * A collection of arguments for invoking getWirelessConnectionStats. */ export interface GetWirelessConnectionStatsOutputArgs { /** * apTag query parameter. Filter results by AP Tag */ apTag?: pulumi.Input<string>; /** * band query parameter. Filter results by band (either '2.4', '5' or '6'). Note that data prior to February 2020 will not have band information. */ band?: pulumi.Input<string>; /** * serial path parameter. */ serial: pulumi.Input<string>; /** * ssid query parameter. Filter results by SSID */ ssid?: pulumi.Input<number>; /** * t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 180 days from today. */ t0?: pulumi.Input<string>; /** * t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 7 days after t0. */ t1?: pulumi.Input<string>; /** * timespan query parameter. The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days. */ timespan?: pulumi.Input<number>; /** * vlan query parameter. Filter results by VLAN */ vlan?: pulumi.Input<number>; }