Cisco Meraki v0.3.2 published on Tuesday, Sep 24, 2024 by Pulumi
meraki.networks.getWirelessClientCountHistory
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as meraki from "@pulumi/meraki";
const example = meraki.networks.getWirelessClientCountHistory({
apTag: "string",
autoResolution: false,
band: "string",
clientId: "string",
deviceSerial: "string",
networkId: "string",
resolution: 1,
ssid: 1,
t0: "string",
t1: "string",
timespan: 1,
});
export const merakiNetworksWirelessClientCountHistoryExample = example.then(example => example.items);
import pulumi
import pulumi_meraki as meraki
example = meraki.networks.get_wireless_client_count_history(ap_tag="string",
auto_resolution=False,
band="string",
client_id="string",
device_serial="string",
network_id="string",
resolution=1,
ssid=1,
t0="string",
t1="string",
timespan=1)
pulumi.export("merakiNetworksWirelessClientCountHistoryExample", 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.GetWirelessClientCountHistory(ctx, &networks.GetWirelessClientCountHistoryArgs{
ApTag: pulumi.StringRef("string"),
AutoResolution: pulumi.BoolRef(false),
Band: pulumi.StringRef("string"),
ClientId: pulumi.StringRef("string"),
DeviceSerial: pulumi.StringRef("string"),
NetworkId: "string",
Resolution: pulumi.IntRef(1),
Ssid: pulumi.IntRef(1),
T0: pulumi.StringRef("string"),
T1: pulumi.StringRef("string"),
Timespan: pulumi.Float64Ref(1),
}, nil)
if err != nil {
return err
}
ctx.Export("merakiNetworksWirelessClientCountHistoryExample", 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.GetWirelessClientCountHistory.Invoke(new()
{
ApTag = "string",
AutoResolution = false,
Band = "string",
ClientId = "string",
DeviceSerial = "string",
NetworkId = "string",
Resolution = 1,
Ssid = 1,
T0 = "string",
T1 = "string",
Timespan = 1,
});
return new Dictionary<string, object?>
{
["merakiNetworksWirelessClientCountHistoryExample"] = example.Apply(getWirelessClientCountHistoryResult => getWirelessClientCountHistoryResult.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.GetWirelessClientCountHistoryArgs;
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.getWirelessClientCountHistory(GetWirelessClientCountHistoryArgs.builder()
.apTag("string")
.autoResolution(false)
.band("string")
.clientId("string")
.deviceSerial("string")
.networkId("string")
.resolution(1)
.ssid(1)
.t0("string")
.t1("string")
.timespan(1)
.build());
ctx.export("merakiNetworksWirelessClientCountHistoryExample", example.applyValue(getWirelessClientCountHistoryResult -> getWirelessClientCountHistoryResult.items()));
}
}
variables:
example:
fn::invoke:
Function: meraki:networks:getWirelessClientCountHistory
Arguments:
apTag: string
autoResolution: false
band: string
clientId: string
deviceSerial: string
networkId: string
resolution: 1
ssid: 1
t0: string
t1: string
timespan: 1
outputs:
merakiNetworksWirelessClientCountHistoryExample: ${example.items}
Using getWirelessClientCountHistory
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 getWirelessClientCountHistory(args: GetWirelessClientCountHistoryArgs, opts?: InvokeOptions): Promise<GetWirelessClientCountHistoryResult>
function getWirelessClientCountHistoryOutput(args: GetWirelessClientCountHistoryOutputArgs, opts?: InvokeOptions): Output<GetWirelessClientCountHistoryResult>
def get_wireless_client_count_history(ap_tag: Optional[str] = None,
auto_resolution: Optional[bool] = None,
band: Optional[str] = None,
client_id: Optional[str] = None,
device_serial: Optional[str] = None,
network_id: Optional[str] = None,
resolution: Optional[int] = None,
ssid: Optional[int] = None,
t0: Optional[str] = None,
t1: Optional[str] = None,
timespan: Optional[float] = None,
opts: Optional[InvokeOptions] = None) -> GetWirelessClientCountHistoryResult
def get_wireless_client_count_history_output(ap_tag: Optional[pulumi.Input[str]] = None,
auto_resolution: Optional[pulumi.Input[bool]] = None,
band: Optional[pulumi.Input[str]] = None,
client_id: Optional[pulumi.Input[str]] = None,
device_serial: Optional[pulumi.Input[str]] = None,
network_id: Optional[pulumi.Input[str]] = None,
resolution: Optional[pulumi.Input[int]] = 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,
opts: Optional[InvokeOptions] = None) -> Output[GetWirelessClientCountHistoryResult]
func GetWirelessClientCountHistory(ctx *Context, args *GetWirelessClientCountHistoryArgs, opts ...InvokeOption) (*GetWirelessClientCountHistoryResult, error)
func GetWirelessClientCountHistoryOutput(ctx *Context, args *GetWirelessClientCountHistoryOutputArgs, opts ...InvokeOption) GetWirelessClientCountHistoryResultOutput
> Note: This function is named GetWirelessClientCountHistory
in the Go SDK.
public static class GetWirelessClientCountHistory
{
public static Task<GetWirelessClientCountHistoryResult> InvokeAsync(GetWirelessClientCountHistoryArgs args, InvokeOptions? opts = null)
public static Output<GetWirelessClientCountHistoryResult> Invoke(GetWirelessClientCountHistoryInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetWirelessClientCountHistoryResult> getWirelessClientCountHistory(GetWirelessClientCountHistoryArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: meraki:networks/getWirelessClientCountHistory:getWirelessClientCountHistory
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.
- Auto
Resolution bool - autoResolution query parameter. Automatically select a data resolution based on the given timespan; this overrides the value specified by the 'resolution' parameter. The default setting is false.
- Band string
- band query parameter. Filter results by band (either '2.4', '5' or '6').
- Client
Id string - clientId query parameter. Filter results by network client to return per-device client counts over time inner joined by the queried client's connection history.
- Device
Serial string - deviceSerial query parameter. Filter results by device.
- Resolution int
- resolution query parameter. The time resolution in seconds for returned data. The valid resolutions are: 300, 600, 1200, 3600, 14400, 86400. The default is 86400.
- Ssid int
- ssid query parameter. Filter results by SSID number.
- T0 string
- t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 31 days from today.
- T1 string
- t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 31 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 31 days. The default is 7 days.
- Network
Id string - networkId path parameter. Network ID
- Ap
Tag string - apTag query parameter. Filter results by AP tag.
- Auto
Resolution bool - autoResolution query parameter. Automatically select a data resolution based on the given timespan; this overrides the value specified by the 'resolution' parameter. The default setting is false.
- Band string
- band query parameter. Filter results by band (either '2.4', '5' or '6').
- Client
Id string - clientId query parameter. Filter results by network client to return per-device client counts over time inner joined by the queried client's connection history.
- Device
Serial string - deviceSerial query parameter. Filter results by device.
- Resolution int
- resolution query parameter. The time resolution in seconds for returned data. The valid resolutions are: 300, 600, 1200, 3600, 14400, 86400. The default is 86400.
- Ssid int
- ssid query parameter. Filter results by SSID number.
- T0 string
- t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 31 days from today.
- T1 string
- t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 31 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 31 days. The default is 7 days.
- network
Id String - networkId path parameter. Network ID
- ap
Tag String - apTag query parameter. Filter results by AP tag.
- auto
Resolution Boolean - autoResolution query parameter. Automatically select a data resolution based on the given timespan; this overrides the value specified by the 'resolution' parameter. The default setting is false.
- band String
- band query parameter. Filter results by band (either '2.4', '5' or '6').
- client
Id String - clientId query parameter. Filter results by network client to return per-device client counts over time inner joined by the queried client's connection history.
- device
Serial String - deviceSerial query parameter. Filter results by device.
- resolution Integer
- resolution query parameter. The time resolution in seconds for returned data. The valid resolutions are: 300, 600, 1200, 3600, 14400, 86400. The default is 86400.
- ssid Integer
- ssid query parameter. Filter results by SSID number.
- t0 String
- t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 31 days from today.
- t1 String
- t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 31 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 31 days. The default is 7 days.
- network
Id string - networkId path parameter. Network ID
- ap
Tag string - apTag query parameter. Filter results by AP tag.
- auto
Resolution boolean - autoResolution query parameter. Automatically select a data resolution based on the given timespan; this overrides the value specified by the 'resolution' parameter. The default setting is false.
- band string
- band query parameter. Filter results by band (either '2.4', '5' or '6').
- client
Id string - clientId query parameter. Filter results by network client to return per-device client counts over time inner joined by the queried client's connection history.
- device
Serial string - deviceSerial query parameter. Filter results by device.
- resolution number
- resolution query parameter. The time resolution in seconds for returned data. The valid resolutions are: 300, 600, 1200, 3600, 14400, 86400. The default is 86400.
- ssid number
- ssid query parameter. Filter results by SSID number.
- t0 string
- t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 31 days from today.
- t1 string
- t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 31 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 31 days. The default is 7 days.
- network_
id str - networkId path parameter. Network ID
- ap_
tag str - apTag query parameter. Filter results by AP tag.
- auto_
resolution bool - autoResolution query parameter. Automatically select a data resolution based on the given timespan; this overrides the value specified by the 'resolution' parameter. The default setting is false.
- band str
- band query parameter. Filter results by band (either '2.4', '5' or '6').
- client_
id str - clientId query parameter. Filter results by network client to return per-device client counts over time inner joined by the queried client's connection history.
- device_
serial str - deviceSerial query parameter. Filter results by device.
- resolution int
- resolution query parameter. The time resolution in seconds for returned data. The valid resolutions are: 300, 600, 1200, 3600, 14400, 86400. The default is 86400.
- ssid int
- ssid query parameter. Filter results by SSID number.
- t0 str
- t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 31 days from today.
- t1 str
- t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 31 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 31 days. The default is 7 days.
- network
Id String - networkId path parameter. Network ID
- ap
Tag String - apTag query parameter. Filter results by AP tag.
- auto
Resolution Boolean - autoResolution query parameter. Automatically select a data resolution based on the given timespan; this overrides the value specified by the 'resolution' parameter. The default setting is false.
- band String
- band query parameter. Filter results by band (either '2.4', '5' or '6').
- client
Id String - clientId query parameter. Filter results by network client to return per-device client counts over time inner joined by the queried client's connection history.
- device
Serial String - deviceSerial query parameter. Filter results by device.
- resolution Number
- resolution query parameter. The time resolution in seconds for returned data. The valid resolutions are: 300, 600, 1200, 3600, 14400, 86400. The default is 86400.
- ssid Number
- ssid query parameter. Filter results by SSID number.
- t0 String
- t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 31 days from today.
- t1 String
- t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 31 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 31 days. The default is 7 days.
getWirelessClientCountHistory Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
List<Get
Wireless Client Count History Item> - Array of ResponseWirelessGetNetworkWirelessClientCountHistory
- Network
Id string - networkId path parameter. Network ID
- Ap
Tag string - apTag query parameter. Filter results by AP tag.
- Auto
Resolution bool - autoResolution query parameter. Automatically select a data resolution based on the given timespan; this overrides the value specified by the 'resolution' parameter. The default setting is false.
- Band string
- band query parameter. Filter results by band (either '2.4', '5' or '6').
- Client
Id string - clientId query parameter. Filter results by network client to return per-device client counts over time inner joined by the queried client's connection history.
- Device
Serial string - deviceSerial query parameter. Filter results by device.
- Resolution int
- resolution query parameter. The time resolution in seconds for returned data. The valid resolutions are: 300, 600, 1200, 3600, 14400, 86400. The default is 86400.
- Ssid int
- ssid query parameter. Filter results by SSID number.
- T0 string
- t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 31 days from today.
- T1 string
- t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 31 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 31 days. The default is 7 days.
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
[]Get
Wireless Client Count History Item - Array of ResponseWirelessGetNetworkWirelessClientCountHistory
- Network
Id string - networkId path parameter. Network ID
- Ap
Tag string - apTag query parameter. Filter results by AP tag.
- Auto
Resolution bool - autoResolution query parameter. Automatically select a data resolution based on the given timespan; this overrides the value specified by the 'resolution' parameter. The default setting is false.
- Band string
- band query parameter. Filter results by band (either '2.4', '5' or '6').
- Client
Id string - clientId query parameter. Filter results by network client to return per-device client counts over time inner joined by the queried client's connection history.
- Device
Serial string - deviceSerial query parameter. Filter results by device.
- Resolution int
- resolution query parameter. The time resolution in seconds for returned data. The valid resolutions are: 300, 600, 1200, 3600, 14400, 86400. The default is 86400.
- Ssid int
- ssid query parameter. Filter results by SSID number.
- T0 string
- t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 31 days from today.
- T1 string
- t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 31 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 31 days. The default is 7 days.
- id String
- The provider-assigned unique ID for this managed resource.
- items
List<Get
Wireless Client Count History Item> - Array of ResponseWirelessGetNetworkWirelessClientCountHistory
- network
Id String - networkId path parameter. Network ID
- ap
Tag String - apTag query parameter. Filter results by AP tag.
- auto
Resolution Boolean - autoResolution query parameter. Automatically select a data resolution based on the given timespan; this overrides the value specified by the 'resolution' parameter. The default setting is false.
- band String
- band query parameter. Filter results by band (either '2.4', '5' or '6').
- client
Id String - clientId query parameter. Filter results by network client to return per-device client counts over time inner joined by the queried client's connection history.
- device
Serial String - deviceSerial query parameter. Filter results by device.
- resolution Integer
- resolution query parameter. The time resolution in seconds for returned data. The valid resolutions are: 300, 600, 1200, 3600, 14400, 86400. The default is 86400.
- ssid Integer
- ssid query parameter. Filter results by SSID number.
- t0 String
- t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 31 days from today.
- t1 String
- t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 31 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 31 days. The default is 7 days.
- id string
- The provider-assigned unique ID for this managed resource.
- items
Get
Wireless Client Count History Item[] - Array of ResponseWirelessGetNetworkWirelessClientCountHistory
- network
Id string - networkId path parameter. Network ID
- ap
Tag string - apTag query parameter. Filter results by AP tag.
- auto
Resolution boolean - autoResolution query parameter. Automatically select a data resolution based on the given timespan; this overrides the value specified by the 'resolution' parameter. The default setting is false.
- band string
- band query parameter. Filter results by band (either '2.4', '5' or '6').
- client
Id string - clientId query parameter. Filter results by network client to return per-device client counts over time inner joined by the queried client's connection history.
- device
Serial string - deviceSerial query parameter. Filter results by device.
- resolution number
- resolution query parameter. The time resolution in seconds for returned data. The valid resolutions are: 300, 600, 1200, 3600, 14400, 86400. The default is 86400.
- ssid number
- ssid query parameter. Filter results by SSID number.
- t0 string
- t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 31 days from today.
- t1 string
- t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 31 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 31 days. The default is 7 days.
- id str
- The provider-assigned unique ID for this managed resource.
- items
Sequence[Get
Wireless Client Count History Item] - Array of ResponseWirelessGetNetworkWirelessClientCountHistory
- network_
id str - networkId path parameter. Network ID
- ap_
tag str - apTag query parameter. Filter results by AP tag.
- auto_
resolution bool - autoResolution query parameter. Automatically select a data resolution based on the given timespan; this overrides the value specified by the 'resolution' parameter. The default setting is false.
- band str
- band query parameter. Filter results by band (either '2.4', '5' or '6').
- client_
id str - clientId query parameter. Filter results by network client to return per-device client counts over time inner joined by the queried client's connection history.
- device_
serial str - deviceSerial query parameter. Filter results by device.
- resolution int
- resolution query parameter. The time resolution in seconds for returned data. The valid resolutions are: 300, 600, 1200, 3600, 14400, 86400. The default is 86400.
- ssid int
- ssid query parameter. Filter results by SSID number.
- t0 str
- t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 31 days from today.
- t1 str
- t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 31 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 31 days. The default is 7 days.
- id String
- The provider-assigned unique ID for this managed resource.
- items List<Property Map>
- Array of ResponseWirelessGetNetworkWirelessClientCountHistory
- network
Id String - networkId path parameter. Network ID
- ap
Tag String - apTag query parameter. Filter results by AP tag.
- auto
Resolution Boolean - autoResolution query parameter. Automatically select a data resolution based on the given timespan; this overrides the value specified by the 'resolution' parameter. The default setting is false.
- band String
- band query parameter. Filter results by band (either '2.4', '5' or '6').
- client
Id String - clientId query parameter. Filter results by network client to return per-device client counts over time inner joined by the queried client's connection history.
- device
Serial String - deviceSerial query parameter. Filter results by device.
- resolution Number
- resolution query parameter. The time resolution in seconds for returned data. The valid resolutions are: 300, 600, 1200, 3600, 14400, 86400. The default is 86400.
- ssid Number
- ssid query parameter. Filter results by SSID number.
- t0 String
- t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 31 days from today.
- t1 String
- t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 31 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 31 days. The default is 7 days.
Supporting Types
GetWirelessClientCountHistoryItem
- Client
Count int - Number of connected clients
- End
Ts string - The end time of the query range
- Start
Ts string - The start time of the query range
- Client
Count int - Number of connected clients
- End
Ts string - The end time of the query range
- Start
Ts string - The start time of the query range
- client
Count Integer - Number of connected clients
- end
Ts String - The end time of the query range
- start
Ts String - The start time of the query range
- client
Count number - Number of connected clients
- end
Ts string - The end time of the query range
- start
Ts string - The start time of the query range
- client_
count int - Number of connected clients
- end_
ts str - The end time of the query range
- start_
ts str - The start time of the query range
- client
Count Number - Number of connected clients
- end
Ts String - The end time of the query range
- start
Ts String - The start time of the query range
Package Details
- Repository
- meraki pulumi/pulumi-meraki
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
meraki
Terraform Provider.