1. Packages
  2. Cisco Meraki Provider
  3. API Docs
  4. networks
  5. getBluetoothClients
Cisco Meraki v0.4.1 published on Saturday, Mar 15, 2025 by Pulumi

meraki.networks.getBluetoothClients

Explore with Pulumi AI

Cisco Meraki v0.4.1 published on Saturday, Mar 15, 2025 by Pulumi

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as meraki from "@pulumi/meraki";

const example = meraki.networks.getBluetoothClients({
    bluetoothClientId: "string",
    connectivityHistoryTimespan: 1,
    includeConnectivityHistory: false,
    networkId: "string",
});
export const merakiNetworksBluetoothClientsExample = example.then(example => example.item);
Copy
import pulumi
import pulumi_meraki as meraki

example = meraki.networks.get_bluetooth_clients(bluetooth_client_id="string",
    connectivity_history_timespan=1,
    include_connectivity_history=False,
    network_id="string")
pulumi.export("merakiNetworksBluetoothClientsExample", example.item)
Copy
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.GetBluetoothClients(ctx, &networks.GetBluetoothClientsArgs{
			BluetoothClientId:           "string",
			ConnectivityHistoryTimespan: pulumi.IntRef(1),
			IncludeConnectivityHistory:  pulumi.BoolRef(false),
			NetworkId:                   "string",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("merakiNetworksBluetoothClientsExample", example.Item)
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Meraki = Pulumi.Meraki;

return await Deployment.RunAsync(() => 
{
    var example = Meraki.Networks.GetBluetoothClients.Invoke(new()
    {
        BluetoothClientId = "string",
        ConnectivityHistoryTimespan = 1,
        IncludeConnectivityHistory = false,
        NetworkId = "string",
    });

    return new Dictionary<string, object?>
    {
        ["merakiNetworksBluetoothClientsExample"] = example.Apply(getBluetoothClientsResult => getBluetoothClientsResult.Item),
    };
});
Copy
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.GetBluetoothClientsArgs;
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.getBluetoothClients(GetBluetoothClientsArgs.builder()
            .bluetoothClientId("string")
            .connectivityHistoryTimespan(1)
            .includeConnectivityHistory(false)
            .networkId("string")
            .build());

        ctx.export("merakiNetworksBluetoothClientsExample", example.applyValue(getBluetoothClientsResult -> getBluetoothClientsResult.item()));
    }
}
Copy
variables:
  example:
    fn::invoke:
      function: meraki:networks:getBluetoothClients
      arguments:
        bluetoothClientId: string
        connectivityHistoryTimespan: 1
        includeConnectivityHistory: false
        networkId: string
outputs:
  merakiNetworksBluetoothClientsExample: ${example.item}
Copy

Using getBluetoothClients

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 getBluetoothClients(args: GetBluetoothClientsArgs, opts?: InvokeOptions): Promise<GetBluetoothClientsResult>
function getBluetoothClientsOutput(args: GetBluetoothClientsOutputArgs, opts?: InvokeOptions): Output<GetBluetoothClientsResult>
Copy
def get_bluetooth_clients(bluetooth_client_id: Optional[str] = None,
                          connectivity_history_timespan: Optional[int] = None,
                          include_connectivity_history: Optional[bool] = None,
                          network_id: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetBluetoothClientsResult
def get_bluetooth_clients_output(bluetooth_client_id: Optional[pulumi.Input[str]] = None,
                          connectivity_history_timespan: Optional[pulumi.Input[int]] = None,
                          include_connectivity_history: Optional[pulumi.Input[bool]] = None,
                          network_id: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetBluetoothClientsResult]
Copy
func GetBluetoothClients(ctx *Context, args *GetBluetoothClientsArgs, opts ...InvokeOption) (*GetBluetoothClientsResult, error)
func GetBluetoothClientsOutput(ctx *Context, args *GetBluetoothClientsOutputArgs, opts ...InvokeOption) GetBluetoothClientsResultOutput
Copy

> Note: This function is named GetBluetoothClients in the Go SDK.

public static class GetBluetoothClients 
{
    public static Task<GetBluetoothClientsResult> InvokeAsync(GetBluetoothClientsArgs args, InvokeOptions? opts = null)
    public static Output<GetBluetoothClientsResult> Invoke(GetBluetoothClientsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetBluetoothClientsResult> getBluetoothClients(GetBluetoothClientsArgs args, InvokeOptions options)
public static Output<GetBluetoothClientsResult> getBluetoothClients(GetBluetoothClientsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: meraki:networks/getBluetoothClients:getBluetoothClients
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

BluetoothClientId This property is required. string
bluetoothClientId path parameter. Bluetooth client ID
NetworkId This property is required. string
networkId path parameter. Network ID
ConnectivityHistoryTimespan int
connectivityHistoryTimespan query parameter. The timespan, in seconds, for the connectivityHistory data. By default 1 day, 86400, will be used.
IncludeConnectivityHistory bool
includeConnectivityHistory query parameter. Include the connectivity history for this client
BluetoothClientId This property is required. string
bluetoothClientId path parameter. Bluetooth client ID
NetworkId This property is required. string
networkId path parameter. Network ID
ConnectivityHistoryTimespan int
connectivityHistoryTimespan query parameter. The timespan, in seconds, for the connectivityHistory data. By default 1 day, 86400, will be used.
IncludeConnectivityHistory bool
includeConnectivityHistory query parameter. Include the connectivity history for this client
bluetoothClientId This property is required. String
bluetoothClientId path parameter. Bluetooth client ID
networkId This property is required. String
networkId path parameter. Network ID
connectivityHistoryTimespan Integer
connectivityHistoryTimespan query parameter. The timespan, in seconds, for the connectivityHistory data. By default 1 day, 86400, will be used.
includeConnectivityHistory Boolean
includeConnectivityHistory query parameter. Include the connectivity history for this client
bluetoothClientId This property is required. string
bluetoothClientId path parameter. Bluetooth client ID
networkId This property is required. string
networkId path parameter. Network ID
connectivityHistoryTimespan number
connectivityHistoryTimespan query parameter. The timespan, in seconds, for the connectivityHistory data. By default 1 day, 86400, will be used.
includeConnectivityHistory boolean
includeConnectivityHistory query parameter. Include the connectivity history for this client
bluetooth_client_id This property is required. str
bluetoothClientId path parameter. Bluetooth client ID
network_id This property is required. str
networkId path parameter. Network ID
connectivity_history_timespan int
connectivityHistoryTimespan query parameter. The timespan, in seconds, for the connectivityHistory data. By default 1 day, 86400, will be used.
include_connectivity_history bool
includeConnectivityHistory query parameter. Include the connectivity history for this client
bluetoothClientId This property is required. String
bluetoothClientId path parameter. Bluetooth client ID
networkId This property is required. String
networkId path parameter. Network ID
connectivityHistoryTimespan Number
connectivityHistoryTimespan query parameter. The timespan, in seconds, for the connectivityHistory data. By default 1 day, 86400, will be used.
includeConnectivityHistory Boolean
includeConnectivityHistory query parameter. Include the connectivity history for this client

getBluetoothClients Result

The following output properties are available:

BluetoothClientId string
bluetoothClientId path parameter. Bluetooth client ID
Id string
The provider-assigned unique ID for this managed resource.
Item GetBluetoothClientsItem
NetworkId string
networkId path parameter. Network ID
ConnectivityHistoryTimespan int
connectivityHistoryTimespan query parameter. The timespan, in seconds, for the connectivityHistory data. By default 1 day, 86400, will be used.
IncludeConnectivityHistory bool
includeConnectivityHistory query parameter. Include the connectivity history for this client
BluetoothClientId string
bluetoothClientId path parameter. Bluetooth client ID
Id string
The provider-assigned unique ID for this managed resource.
Item GetBluetoothClientsItem
NetworkId string
networkId path parameter. Network ID
ConnectivityHistoryTimespan int
connectivityHistoryTimespan query parameter. The timespan, in seconds, for the connectivityHistory data. By default 1 day, 86400, will be used.
IncludeConnectivityHistory bool
includeConnectivityHistory query parameter. Include the connectivity history for this client
bluetoothClientId String
bluetoothClientId path parameter. Bluetooth client ID
id String
The provider-assigned unique ID for this managed resource.
item GetBluetoothClientsItem
networkId String
networkId path parameter. Network ID
connectivityHistoryTimespan Integer
connectivityHistoryTimespan query parameter. The timespan, in seconds, for the connectivityHistory data. By default 1 day, 86400, will be used.
includeConnectivityHistory Boolean
includeConnectivityHistory query parameter. Include the connectivity history for this client
bluetoothClientId string
bluetoothClientId path parameter. Bluetooth client ID
id string
The provider-assigned unique ID for this managed resource.
item GetBluetoothClientsItem
networkId string
networkId path parameter. Network ID
connectivityHistoryTimespan number
connectivityHistoryTimespan query parameter. The timespan, in seconds, for the connectivityHistory data. By default 1 day, 86400, will be used.
includeConnectivityHistory boolean
includeConnectivityHistory query parameter. Include the connectivity history for this client
bluetooth_client_id str
bluetoothClientId path parameter. Bluetooth client ID
id str
The provider-assigned unique ID for this managed resource.
item GetBluetoothClientsItem
network_id str
networkId path parameter. Network ID
connectivity_history_timespan int
connectivityHistoryTimespan query parameter. The timespan, in seconds, for the connectivityHistory data. By default 1 day, 86400, will be used.
include_connectivity_history bool
includeConnectivityHistory query parameter. Include the connectivity history for this client
bluetoothClientId String
bluetoothClientId path parameter. Bluetooth client ID
id String
The provider-assigned unique ID for this managed resource.
item Property Map
networkId String
networkId path parameter. Network ID
connectivityHistoryTimespan Number
connectivityHistoryTimespan query parameter. The timespan, in seconds, for the connectivityHistory data. By default 1 day, 86400, will be used.
includeConnectivityHistory Boolean
includeConnectivityHistory query parameter. Include the connectivity history for this client

Supporting Types

GetBluetoothClientsItem

DeviceName This property is required. string
Id This property is required. string
InSightAlert This property is required. bool
LastSeen This property is required. int
Mac This property is required. string
Manufacturer This property is required. string
Name This property is required. string
NetworkId This property is required. string
OutOfSightAlert This property is required. bool
SeenByDeviceMac This property is required. string
Tags This property is required. List<string>
DeviceName This property is required. string
Id This property is required. string
InSightAlert This property is required. bool
LastSeen This property is required. int
Mac This property is required. string
Manufacturer This property is required. string
Name This property is required. string
NetworkId This property is required. string
OutOfSightAlert This property is required. bool
SeenByDeviceMac This property is required. string
Tags This property is required. []string
deviceName This property is required. String
id This property is required. String
inSightAlert This property is required. Boolean
lastSeen This property is required. Integer
mac This property is required. String
manufacturer This property is required. String
name This property is required. String
networkId This property is required. String
outOfSightAlert This property is required. Boolean
seenByDeviceMac This property is required. String
tags This property is required. List<String>
deviceName This property is required. string
id This property is required. string
inSightAlert This property is required. boolean
lastSeen This property is required. number
mac This property is required. string
manufacturer This property is required. string
name This property is required. string
networkId This property is required. string
outOfSightAlert This property is required. boolean
seenByDeviceMac This property is required. string
tags This property is required. string[]
device_name This property is required. str
id This property is required. str
in_sight_alert This property is required. bool
last_seen This property is required. int
mac This property is required. str
manufacturer This property is required. str
name This property is required. str
network_id This property is required. str
out_of_sight_alert This property is required. bool
seen_by_device_mac This property is required. str
tags This property is required. Sequence[str]
deviceName This property is required. String
id This property is required. String
inSightAlert This property is required. Boolean
lastSeen This property is required. Number
mac This property is required. String
manufacturer This property is required. String
name This property is required. String
networkId This property is required. String
outOfSightAlert This property is required. Boolean
seenByDeviceMac This property is required. String
tags This property is required. List<String>

Package Details

Repository
meraki pulumi/pulumi-meraki
License
Apache-2.0
Notes
This Pulumi package is based on the meraki Terraform Provider.
Cisco Meraki v0.4.1 published on Saturday, Mar 15, 2025 by Pulumi