Cisco Meraki v0.3.2 published on Tuesday, Sep 24, 2024 by Pulumi
meraki.networks.getWirelessDevicesConnectionStats
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as meraki from "@pulumi/meraki";
const example = meraki.networks.getWirelessDevicesConnectionStats({
apTag: "string",
band: "string",
networkId: "string",
ssid: 1,
t0: "string",
t1: "string",
timespan: 1,
vlan: 1,
});
export const merakiNetworksWirelessDevicesConnectionStatsExample = example.then(example => example.items);
import pulumi
import pulumi_meraki as meraki
example = meraki.networks.get_wireless_devices_connection_stats(ap_tag="string",
band="string",
network_id="string",
ssid=1,
t0="string",
t1="string",
timespan=1,
vlan=1)
pulumi.export("merakiNetworksWirelessDevicesConnectionStatsExample", example.items)
package main
import (
"github.com/pulumi/pulumi-meraki/sdk/go/meraki/networks"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := networks.GetWirelessDevicesConnectionStats(ctx, &networks.GetWirelessDevicesConnectionStatsArgs{
ApTag: pulumi.StringRef("string"),
Band: pulumi.StringRef("string"),
NetworkId: "string",
Ssid: pulumi.IntRef(1),
T0: pulumi.StringRef("string"),
T1: pulumi.StringRef("string"),
Timespan: pulumi.Float64Ref(1),
Vlan: pulumi.IntRef(1),
}, nil)
if err != nil {
return err
}
ctx.Export("merakiNetworksWirelessDevicesConnectionStatsExample", example.Items)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Meraki = Pulumi.Meraki;
return await Deployment.RunAsync(() =>
{
var example = Meraki.Networks.GetWirelessDevicesConnectionStats.Invoke(new()
{
ApTag = "string",
Band = "string",
NetworkId = "string",
Ssid = 1,
T0 = "string",
T1 = "string",
Timespan = 1,
Vlan = 1,
});
return new Dictionary<string, object?>
{
["merakiNetworksWirelessDevicesConnectionStatsExample"] = example.Apply(getWirelessDevicesConnectionStatsResult => getWirelessDevicesConnectionStatsResult.Items),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.meraki.networks.NetworksFunctions;
import com.pulumi.meraki.networks.inputs.GetWirelessDevicesConnectionStatsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = NetworksFunctions.getWirelessDevicesConnectionStats(GetWirelessDevicesConnectionStatsArgs.builder()
.apTag("string")
.band("string")
.networkId("string")
.ssid(1)
.t0("string")
.t1("string")
.timespan(1)
.vlan(1)
.build());
ctx.export("merakiNetworksWirelessDevicesConnectionStatsExample", example.applyValue(getWirelessDevicesConnectionStatsResult -> getWirelessDevicesConnectionStatsResult.items()));
}
}
variables:
example:
fn::invoke:
Function: meraki:networks:getWirelessDevicesConnectionStats
Arguments:
apTag: string
band: string
networkId: string
ssid: 1
t0: string
t1: string
timespan: 1
vlan: 1
outputs:
merakiNetworksWirelessDevicesConnectionStatsExample: ${example.items}
Using getWirelessDevicesConnectionStats
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getWirelessDevicesConnectionStats(args: GetWirelessDevicesConnectionStatsArgs, opts?: InvokeOptions): Promise<GetWirelessDevicesConnectionStatsResult>
function getWirelessDevicesConnectionStatsOutput(args: GetWirelessDevicesConnectionStatsOutputArgs, opts?: InvokeOptions): Output<GetWirelessDevicesConnectionStatsResult>
def get_wireless_devices_connection_stats(ap_tag: Optional[str] = None,
band: Optional[str] = None,
network_id: Optional[str] = None,
ssid: Optional[int] = None,
t0: Optional[str] = None,
t1: Optional[str] = None,
timespan: Optional[float] = None,
vlan: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetWirelessDevicesConnectionStatsResult
def get_wireless_devices_connection_stats_output(ap_tag: Optional[pulumi.Input[str]] = None,
band: Optional[pulumi.Input[str]] = None,
network_id: Optional[pulumi.Input[str]] = None,
ssid: Optional[pulumi.Input[int]] = None,
t0: Optional[pulumi.Input[str]] = None,
t1: Optional[pulumi.Input[str]] = None,
timespan: Optional[pulumi.Input[float]] = None,
vlan: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetWirelessDevicesConnectionStatsResult]
func GetWirelessDevicesConnectionStats(ctx *Context, args *GetWirelessDevicesConnectionStatsArgs, opts ...InvokeOption) (*GetWirelessDevicesConnectionStatsResult, error)
func GetWirelessDevicesConnectionStatsOutput(ctx *Context, args *GetWirelessDevicesConnectionStatsOutputArgs, opts ...InvokeOption) GetWirelessDevicesConnectionStatsResultOutput
> Note: This function is named GetWirelessDevicesConnectionStats
in the Go SDK.
public static class GetWirelessDevicesConnectionStats
{
public static Task<GetWirelessDevicesConnectionStatsResult> InvokeAsync(GetWirelessDevicesConnectionStatsArgs args, InvokeOptions? opts = null)
public static Output<GetWirelessDevicesConnectionStatsResult> Invoke(GetWirelessDevicesConnectionStatsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetWirelessDevicesConnectionStatsResult> getWirelessDevicesConnectionStats(GetWirelessDevicesConnectionStatsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: meraki:networks/getWirelessDevicesConnectionStats:getWirelessDevicesConnectionStats
arguments:
# arguments dictionary
The following arguments are supported:
- Network
Id string - networkId path parameter. Network ID
- Ap
Tag string - apTag query parameter. Filter results by AP Tag
- Band 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.
- Ssid int
- ssid query parameter. Filter results by SSID
- T0 string
- t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 180 days from today.
- T1 string
- t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 7 days after t0.
- Timespan double
- 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.
- Vlan int
- vlan query parameter. Filter results by VLAN
- Network
Id string - networkId path parameter. Network ID
- Ap
Tag string - apTag query parameter. Filter results by AP Tag
- Band 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.
- Ssid int
- ssid query parameter. Filter results by SSID
- T0 string
- t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 180 days from today.
- T1 string
- t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 7 days after t0.
- Timespan float64
- 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.
- Vlan int
- vlan query parameter. Filter results by VLAN
- network
Id String - networkId path parameter. Network ID
- ap
Tag String - apTag query parameter. Filter results by AP Tag
- band 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.
- ssid Integer
- ssid query parameter. Filter results by SSID
- t0 String
- t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 180 days from today.
- t1 String
- t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 7 days after t0.
- timespan Double
- 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.
- vlan Integer
- vlan query parameter. Filter results by VLAN
- network
Id string - networkId path parameter. Network ID
- ap
Tag string - apTag query parameter. Filter results by AP Tag
- band 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.
- ssid number
- ssid query parameter. Filter results by SSID
- t0 string
- t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 180 days from today.
- t1 string
- t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 7 days after t0.
- timespan number
- 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.
- vlan number
- vlan query parameter. Filter results by VLAN
- network_
id str - networkId path parameter. Network ID
- ap_
tag str - apTag query parameter. Filter results by AP Tag
- band str
- 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.
- ssid int
- ssid query parameter. Filter results by SSID
- t0 str
- t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 180 days from today.
- t1 str
- t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 7 days after t0.
- timespan float
- 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.
- vlan int
- vlan query parameter. Filter results by VLAN
- network
Id String - networkId path parameter. Network ID
- ap
Tag String - apTag query parameter. Filter results by AP Tag
- band 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.
- ssid Number
- ssid query parameter. Filter results by SSID
- t0 String
- t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 180 days from today.
- t1 String
- t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 7 days after t0.
- timespan Number
- 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.
- vlan Number
- vlan query parameter. Filter results by VLAN
getWirelessDevicesConnectionStats Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
List<Get
Wireless Devices Connection Stats Item> - Array of ResponseWirelessGetNetworkWirelessDevicesConnectionStats
- Network
Id string - networkId path parameter. Network ID
- Ap
Tag string - apTag query parameter. Filter results by AP Tag
- Band 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.
- Ssid int
- ssid query parameter. Filter results by SSID
- T0 string
- t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 180 days from today.
- T1 string
- t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 7 days after t0.
- Timespan double
- 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.
- Vlan int
- vlan query parameter. Filter results by VLAN
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
[]Get
Wireless Devices Connection Stats Item - Array of ResponseWirelessGetNetworkWirelessDevicesConnectionStats
- Network
Id string - networkId path parameter. Network ID
- Ap
Tag string - apTag query parameter. Filter results by AP Tag
- Band 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.
- Ssid int
- ssid query parameter. Filter results by SSID
- T0 string
- t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 180 days from today.
- T1 string
- t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 7 days after t0.
- Timespan float64
- 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.
- Vlan int
- vlan query parameter. Filter results by VLAN
- id String
- The provider-assigned unique ID for this managed resource.
- items
List<Get
Wireless Devices Connection Stats Item> - Array of ResponseWirelessGetNetworkWirelessDevicesConnectionStats
- network
Id String - networkId path parameter. Network ID
- ap
Tag String - apTag query parameter. Filter results by AP Tag
- band 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.
- ssid Integer
- ssid query parameter. Filter results by SSID
- t0 String
- t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 180 days from today.
- t1 String
- t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 7 days after t0.
- timespan Double
- 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.
- vlan Integer
- vlan query parameter. Filter results by VLAN
- id string
- The provider-assigned unique ID for this managed resource.
- items
Get
Wireless Devices Connection Stats Item[] - Array of ResponseWirelessGetNetworkWirelessDevicesConnectionStats
- network
Id string - networkId path parameter. Network ID
- ap
Tag string - apTag query parameter. Filter results by AP Tag
- band 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.
- ssid number
- ssid query parameter. Filter results by SSID
- t0 string
- t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 180 days from today.
- t1 string
- t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 7 days after t0.
- timespan number
- 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.
- vlan number
- vlan query parameter. Filter results by VLAN
- id str
- The provider-assigned unique ID for this managed resource.
- items
Sequence[Get
Wireless Devices Connection Stats Item] - Array of ResponseWirelessGetNetworkWirelessDevicesConnectionStats
- network_
id str - networkId path parameter. Network ID
- ap_
tag str - apTag query parameter. Filter results by AP Tag
- band str
- 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.
- ssid int
- ssid query parameter. Filter results by SSID
- t0 str
- t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 180 days from today.
- t1 str
- t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 7 days after t0.
- timespan float
- 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.
- vlan int
- vlan query parameter. Filter results by VLAN
- id String
- The provider-assigned unique ID for this managed resource.
- items List<Property Map>
- Array of ResponseWirelessGetNetworkWirelessDevicesConnectionStats
- network
Id String - networkId path parameter. Network ID
- ap
Tag String - apTag query parameter. Filter results by AP Tag
- band 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.
- ssid Number
- ssid query parameter. Filter results by SSID
- t0 String
- t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 180 days from today.
- t1 String
- t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 7 days after t0.
- timespan Number
- 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.
- vlan Number
- vlan query parameter. Filter results by VLAN
Supporting Types
GetWirelessDevicesConnectionStatsItem
- Connection
Stats GetWireless Devices Connection Stats Item Connection Stats - The connection stats of the device
- Serial string
- The serial number for the device
- Connection
Stats GetWireless Devices Connection Stats Item Connection Stats - The connection stats of the device
- Serial string
- The serial number for the device
- connection
Stats GetWireless Devices Connection Stats Item Connection Stats - The connection stats of the device
- serial String
- The serial number for the device
- connection
Stats GetWireless Devices Connection Stats Item Connection Stats - The connection stats of the device
- serial string
- The serial number for the device
- connection_
stats GetWireless Devices Connection Stats Item Connection Stats - The connection stats of the device
- serial str
- The serial number for the device
- connection
Stats Property Map - The connection stats of the device
- serial String
- The serial number for the device
GetWirelessDevicesConnectionStatsItemConnectionStats
Package Details
- Repository
- meraki pulumi/pulumi-meraki
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
meraki
Terraform Provider.