1. Packages
  2. Cisco Meraki
  3. API Docs
  4. networks
  5. getWirelessDevicesConnectionStats
Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi

meraki.networks.getWirelessDevicesConnectionStats

Explore with Pulumi AI

meraki logo
Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi

    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:

    NetworkId string
    networkId path parameter. Network ID
    ApTag 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
    NetworkId string
    networkId path parameter. Network ID
    ApTag 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
    networkId String
    networkId path parameter. Network ID
    apTag 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
    networkId string
    networkId path parameter. Network ID
    apTag 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
    networkId String
    networkId path parameter. Network ID
    apTag 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<GetWirelessDevicesConnectionStatsItem>
    Array of ResponseWirelessGetNetworkWirelessDevicesConnectionStats
    NetworkId string
    networkId path parameter. Network ID
    ApTag 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 []GetWirelessDevicesConnectionStatsItem
    Array of ResponseWirelessGetNetworkWirelessDevicesConnectionStats
    NetworkId string
    networkId path parameter. Network ID
    ApTag 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<GetWirelessDevicesConnectionStatsItem>
    Array of ResponseWirelessGetNetworkWirelessDevicesConnectionStats
    networkId String
    networkId path parameter. Network ID
    apTag 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 GetWirelessDevicesConnectionStatsItem[]
    Array of ResponseWirelessGetNetworkWirelessDevicesConnectionStats
    networkId string
    networkId path parameter. Network ID
    apTag 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[GetWirelessDevicesConnectionStatsItem]
    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
    networkId String
    networkId path parameter. Network ID
    apTag 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

    ConnectionStats GetWirelessDevicesConnectionStatsItemConnectionStats
    The connection stats of the device
    Serial string
    The serial number for the device
    ConnectionStats GetWirelessDevicesConnectionStatsItemConnectionStats
    The connection stats of the device
    Serial string
    The serial number for the device
    connectionStats GetWirelessDevicesConnectionStatsItemConnectionStats
    The connection stats of the device
    serial String
    The serial number for the device
    connectionStats GetWirelessDevicesConnectionStatsItemConnectionStats
    The connection stats of the device
    serial string
    The serial number for the device
    connection_stats GetWirelessDevicesConnectionStatsItemConnectionStats
    The connection stats of the device
    serial str
    The serial number for the device
    connectionStats Property Map
    The connection stats of the device
    serial String
    The serial number for the device

    GetWirelessDevicesConnectionStatsItemConnectionStats

    Assoc int
    The number of failed association attempts
    Auth int
    The number of failed authentication attempts
    Dhcp int
    The number of failed DHCP attempts
    Dns int
    The number of failed DNS attempts
    Success int
    The number of successful connection attempts
    Assoc int
    The number of failed association attempts
    Auth int
    The number of failed authentication attempts
    Dhcp int
    The number of failed DHCP attempts
    Dns int
    The number of failed DNS attempts
    Success int
    The number of successful connection attempts
    assoc Integer
    The number of failed association attempts
    auth Integer
    The number of failed authentication attempts
    dhcp Integer
    The number of failed DHCP attempts
    dns Integer
    The number of failed DNS attempts
    success Integer
    The number of successful connection attempts
    assoc number
    The number of failed association attempts
    auth number
    The number of failed authentication attempts
    dhcp number
    The number of failed DHCP attempts
    dns number
    The number of failed DNS attempts
    success number
    The number of successful connection attempts
    assoc int
    The number of failed association attempts
    auth int
    The number of failed authentication attempts
    dhcp int
    The number of failed DHCP attempts
    dns int
    The number of failed DNS attempts
    success int
    The number of successful connection attempts
    assoc Number
    The number of failed association attempts
    auth Number
    The number of failed authentication attempts
    dhcp Number
    The number of failed DHCP attempts
    dns Number
    The number of failed DNS attempts
    success Number
    The number of successful connection attempts

    Package Details

    Repository
    meraki pulumi/pulumi-meraki
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the meraki Terraform Provider.
    meraki logo
    Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi