1. Packages
  2. Cisco Meraki
  3. API Docs
  4. networks
  5. getBluetoothClients
Cisco Meraki v0.2.10 published on Wednesday, Jul 24, 2024 by Pulumi

meraki.networks.getBluetoothClients

Explore with Pulumi AI

meraki logo
Cisco Meraki v0.2.10 published on Wednesday, Jul 24, 2024 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);
    
    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)
    
    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
    	})
    }
    
    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),
        };
    });
    
    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()));
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: meraki:networks:getBluetoothClients
          Arguments:
            bluetoothClientId: string
            connectivityHistoryTimespan: 1
            includeConnectivityHistory: false
            networkId: string
    outputs:
      merakiNetworksBluetoothClientsExample: ${example.item}
    

    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>
    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]
    func GetBluetoothClients(ctx *Context, args *GetBluetoothClientsArgs, opts ...InvokeOption) (*GetBluetoothClientsResult, error)
    func GetBluetoothClientsOutput(ctx *Context, args *GetBluetoothClientsOutputArgs, opts ...InvokeOption) GetBluetoothClientsResultOutput

    > 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)
    }
    public static CompletableFuture<GetBluetoothClientsResult> getBluetoothClients(GetBluetoothClientsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: meraki:networks/getBluetoothClients:getBluetoothClients
      arguments:
        # arguments dictionary

    The following arguments are supported:

    BluetoothClientId string
    bluetoothClientId path parameter. Bluetooth client ID
    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
    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
    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
    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
    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
    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

    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 string
    Id string
    InSightAlert bool
    LastSeen int
    Mac string
    Manufacturer string
    Name string
    NetworkId string
    OutOfSightAlert bool
    SeenByDeviceMac string
    Tags List<string>
    DeviceName string
    Id string
    InSightAlert bool
    LastSeen int
    Mac string
    Manufacturer string
    Name string
    NetworkId string
    OutOfSightAlert bool
    SeenByDeviceMac string
    Tags []string
    deviceName String
    id String
    inSightAlert Boolean
    lastSeen Integer
    mac String
    manufacturer String
    name String
    networkId String
    outOfSightAlert Boolean
    seenByDeviceMac String
    tags List<String>
    deviceName string
    id string
    inSightAlert boolean
    lastSeen number
    mac string
    manufacturer string
    name string
    networkId string
    outOfSightAlert boolean
    seenByDeviceMac string
    tags string[]
    deviceName String
    id String
    inSightAlert Boolean
    lastSeen Number
    mac String
    manufacturer String
    name String
    networkId String
    outOfSightAlert Boolean
    seenByDeviceMac String
    tags List<String>

    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.10 published on Wednesday, Jul 24, 2024 by Pulumi