Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi
meraki.networks.getWirelessConnectionStats
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as meraki from "@pulumi/meraki";
const example = meraki.networks.getWirelessConnectionStats({
apTag: "string",
band: "string",
networkId: "string",
ssid: 1,
t0: "string",
t1: "string",
timespan: 1,
vlan: 1,
});
export const merakiNetworksWirelessConnectionStatsExample = example.then(example => example.item);
import pulumi
import pulumi_meraki as meraki
example = meraki.networks.get_wireless_connection_stats(ap_tag="string",
band="string",
network_id="string",
ssid=1,
t0="string",
t1="string",
timespan=1,
vlan=1)
pulumi.export("merakiNetworksWirelessConnectionStatsExample", example.item)
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.GetWirelessConnectionStats(ctx, &networks.GetWirelessConnectionStatsArgs{
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("merakiNetworksWirelessConnectionStatsExample", example.Item)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Meraki = Pulumi.Meraki;
return await Deployment.RunAsync(() =>
{
var example = Meraki.Networks.GetWirelessConnectionStats.Invoke(new()
{
ApTag = "string",
Band = "string",
NetworkId = "string",
Ssid = 1,
T0 = "string",
T1 = "string",
Timespan = 1,
Vlan = 1,
});
return new Dictionary<string, object?>
{
["merakiNetworksWirelessConnectionStatsExample"] = example.Apply(getWirelessConnectionStatsResult => getWirelessConnectionStatsResult.Item),
};
});
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.GetWirelessConnectionStatsArgs;
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.getWirelessConnectionStats(GetWirelessConnectionStatsArgs.builder()
.apTag("string")
.band("string")
.networkId("string")
.ssid(1)
.t0("string")
.t1("string")
.timespan(1)
.vlan(1)
.build());
ctx.export("merakiNetworksWirelessConnectionStatsExample", example.applyValue(getWirelessConnectionStatsResult -> getWirelessConnectionStatsResult.item()));
}
}
variables:
example:
fn::invoke:
Function: meraki:networks:getWirelessConnectionStats
Arguments:
apTag: string
band: string
networkId: string
ssid: 1
t0: string
t1: string
timespan: 1
vlan: 1
outputs:
merakiNetworksWirelessConnectionStatsExample: ${example.item}
Using getWirelessConnectionStats
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 getWirelessConnectionStats(args: GetWirelessConnectionStatsArgs, opts?: InvokeOptions): Promise<GetWirelessConnectionStatsResult>
function getWirelessConnectionStatsOutput(args: GetWirelessConnectionStatsOutputArgs, opts?: InvokeOptions): Output<GetWirelessConnectionStatsResult>
def get_wireless_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) -> GetWirelessConnectionStatsResult
def get_wireless_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[GetWirelessConnectionStatsResult]
func GetWirelessConnectionStats(ctx *Context, args *GetWirelessConnectionStatsArgs, opts ...InvokeOption) (*GetWirelessConnectionStatsResult, error)
func GetWirelessConnectionStatsOutput(ctx *Context, args *GetWirelessConnectionStatsOutputArgs, opts ...InvokeOption) GetWirelessConnectionStatsResultOutput
> Note: This function is named GetWirelessConnectionStats
in the Go SDK.
public static class GetWirelessConnectionStats
{
public static Task<GetWirelessConnectionStatsResult> InvokeAsync(GetWirelessConnectionStatsArgs args, InvokeOptions? opts = null)
public static Output<GetWirelessConnectionStatsResult> Invoke(GetWirelessConnectionStatsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetWirelessConnectionStatsResult> getWirelessConnectionStats(GetWirelessConnectionStatsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: meraki:networks/getWirelessConnectionStats:getWirelessConnectionStats
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
getWirelessConnectionStats Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Item
Get
Wireless Connection Stats Item - 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.
- Item
Get
Wireless Connection Stats Item - 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.
- item
Get
Wireless Connection Stats Item - 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.
- item
Get
Wireless Connection Stats Item - 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.
- item
Get
Wireless Connection Stats Item - 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.
- item Property Map
- 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
GetWirelessConnectionStatsItem
Package Details
- Repository
- meraki pulumi/pulumi-meraki
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
meraki
Terraform Provider.