Cisco Meraki v0.4.1 published on Saturday, Mar 15, 2025 by Pulumi
meraki.networks.getClients
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as meraki from "@pulumi/meraki";
const example = meraki.networks.getClients({
clientId: "string",
networkId: "string",
});
export const merakiNetworksClientsExample = example.then(example => example.item);
import pulumi
import pulumi_meraki as meraki
example = meraki.networks.get_clients(client_id="string",
network_id="string")
pulumi.export("merakiNetworksClientsExample", 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.GetClients(ctx, &networks.GetClientsArgs{
ClientId: "string",
NetworkId: "string",
}, nil)
if err != nil {
return err
}
ctx.Export("merakiNetworksClientsExample", 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.GetClients.Invoke(new()
{
ClientId = "string",
NetworkId = "string",
});
return new Dictionary<string, object?>
{
["merakiNetworksClientsExample"] = example.Apply(getClientsResult => getClientsResult.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.GetClientsArgs;
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.getClients(GetClientsArgs.builder()
.clientId("string")
.networkId("string")
.build());
ctx.export("merakiNetworksClientsExample", example.applyValue(getClientsResult -> getClientsResult.item()));
}
}
variables:
example:
fn::invoke:
function: meraki:networks:getClients
arguments:
clientId: string
networkId: string
outputs:
merakiNetworksClientsExample: ${example.item}
Using getClients
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 getClients(args: GetClientsArgs, opts?: InvokeOptions): Promise<GetClientsResult>
function getClientsOutput(args: GetClientsOutputArgs, opts?: InvokeOptions): Output<GetClientsResult>
def get_clients(client_id: Optional[str] = None,
network_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetClientsResult
def get_clients_output(client_id: Optional[pulumi.Input[str]] = None,
network_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetClientsResult]
func GetClients(ctx *Context, args *GetClientsArgs, opts ...InvokeOption) (*GetClientsResult, error)
func GetClientsOutput(ctx *Context, args *GetClientsOutputArgs, opts ...InvokeOption) GetClientsResultOutput
> Note: This function is named GetClients
in the Go SDK.
public static class GetClients
{
public static Task<GetClientsResult> InvokeAsync(GetClientsArgs args, InvokeOptions? opts = null)
public static Output<GetClientsResult> Invoke(GetClientsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetClientsResult> getClients(GetClientsArgs args, InvokeOptions options)
public static Output<GetClientsResult> getClients(GetClientsArgs args, InvokeOptions options)
fn::invoke:
function: meraki:networks/getClients:getClients
arguments:
# arguments dictionary
The following arguments are supported:
- client_
id This property is required. str - clientId path parameter. Client ID
- network_
id This property is required. str - networkId path parameter. Network ID
getClients Result
The following output properties are available:
- Client
Id string - clientId path parameter. Client ID
- Id string
- The provider-assigned unique ID for this managed resource.
- Item
Get
Clients Item - Network
Id string - networkId path parameter. Network ID
- Client
Id string - clientId path parameter. Client ID
- Id string
- The provider-assigned unique ID for this managed resource.
- Item
Get
Clients Item - Network
Id string - networkId path parameter. Network ID
- client
Id String - clientId path parameter. Client ID
- id String
- The provider-assigned unique ID for this managed resource.
- item
Get
Clients Item - network
Id String - networkId path parameter. Network ID
- client
Id string - clientId path parameter. Client ID
- id string
- The provider-assigned unique ID for this managed resource.
- item
Get
Clients Item - network
Id string - networkId path parameter. Network ID
- client_
id str - clientId path parameter. Client ID
- id str
- The provider-assigned unique ID for this managed resource.
- item
Get
Clients Item - network_
id str - networkId path parameter. Network ID
- client
Id String - clientId path parameter. Client ID
- id String
- The provider-assigned unique ID for this managed resource.
- item Property Map
- network
Id String - networkId path parameter. Network ID
Supporting Types
GetClientsItem
- Cdps
This property is required. List<GetClients Item Cdp> - The Cisco discover protocol settings for the client
- Client
Vpn Connections This property is required. List<GetClients Item Client Vpn Connection> - VPN connections associated with the client
- Description
This property is required. string - Short description of the client
- First
Seen This property is required. int - Timestamp client was first seen in the network
- Id
This property is required. string - The ID of the client
- Ip
This property is required. string - The IP address of the client
- Ip6
This property is required. string - The IPv6 address of the client
- Last
Seen This property is required. int - Timestamp client was last seen in the network
- Lldps
This property is required. List<GetClients Item Lldp> - The link layer discover protocol settings for the client
- Mac
This property is required. string - The MAC address of the client
- Manufacturer
This property is required. string - Manufacturer of the client
- Os
This property is required. string - The operating system of the client
- Recent
Device Mac This property is required. string - The MAC address of the node that the device was last connected to
- Sm
Installed This property is required. bool - Status of SM for the client
- Ssid
This property is required. string - The name of the SSID that the client is connected to
- Status
This property is required. string - The connection status of the client
- Switchport
This property is required. string - The switch port that the client is connected to
- User
This property is required. string - The username of the user of the client
- Vlan
This property is required. string - The name of the VLAN that the client is connected to
- Wireless
Capabilities This property is required. string - Wireless capabilities of the client
- Cdps
This property is required. []GetClients Item Cdp - The Cisco discover protocol settings for the client
- Client
Vpn Connections This property is required. []GetClients Item Client Vpn Connection - VPN connections associated with the client
- Description
This property is required. string - Short description of the client
- First
Seen This property is required. int - Timestamp client was first seen in the network
- Id
This property is required. string - The ID of the client
- Ip
This property is required. string - The IP address of the client
- Ip6
This property is required. string - The IPv6 address of the client
- Last
Seen This property is required. int - Timestamp client was last seen in the network
- Lldps
This property is required. []GetClients Item Lldp - The link layer discover protocol settings for the client
- Mac
This property is required. string - The MAC address of the client
- Manufacturer
This property is required. string - Manufacturer of the client
- Os
This property is required. string - The operating system of the client
- Recent
Device Mac This property is required. string - The MAC address of the node that the device was last connected to
- Sm
Installed This property is required. bool - Status of SM for the client
- Ssid
This property is required. string - The name of the SSID that the client is connected to
- Status
This property is required. string - The connection status of the client
- Switchport
This property is required. string - The switch port that the client is connected to
- User
This property is required. string - The username of the user of the client
- Vlan
This property is required. string - The name of the VLAN that the client is connected to
- Wireless
Capabilities This property is required. string - Wireless capabilities of the client
- cdps
This property is required. List<GetClients Item Cdp> - The Cisco discover protocol settings for the client
- client
Vpn Connections This property is required. List<GetClients Item Client Vpn Connection> - VPN connections associated with the client
- description
This property is required. String - Short description of the client
- first
Seen This property is required. Integer - Timestamp client was first seen in the network
- id
This property is required. String - The ID of the client
- ip
This property is required. String - The IP address of the client
- ip6
This property is required. String - The IPv6 address of the client
- last
Seen This property is required. Integer - Timestamp client was last seen in the network
- lldps
This property is required. List<GetClients Item Lldp> - The link layer discover protocol settings for the client
- mac
This property is required. String - The MAC address of the client
- manufacturer
This property is required. String - Manufacturer of the client
- os
This property is required. String - The operating system of the client
- recent
Device Mac This property is required. String - The MAC address of the node that the device was last connected to
- sm
Installed This property is required. Boolean - Status of SM for the client
- ssid
This property is required. String - The name of the SSID that the client is connected to
- status
This property is required. String - The connection status of the client
- switchport
This property is required. String - The switch port that the client is connected to
- user
This property is required. String - The username of the user of the client
- vlan
This property is required. String - The name of the VLAN that the client is connected to
- wireless
Capabilities This property is required. String - Wireless capabilities of the client
- cdps
This property is required. GetClients Item Cdp[] - The Cisco discover protocol settings for the client
- client
Vpn Connections This property is required. GetClients Item Client Vpn Connection[] - VPN connections associated with the client
- description
This property is required. string - Short description of the client
- first
Seen This property is required. number - Timestamp client was first seen in the network
- id
This property is required. string - The ID of the client
- ip
This property is required. string - The IP address of the client
- ip6
This property is required. string - The IPv6 address of the client
- last
Seen This property is required. number - Timestamp client was last seen in the network
- lldps
This property is required. GetClients Item Lldp[] - The link layer discover protocol settings for the client
- mac
This property is required. string - The MAC address of the client
- manufacturer
This property is required. string - Manufacturer of the client
- os
This property is required. string - The operating system of the client
- recent
Device Mac This property is required. string - The MAC address of the node that the device was last connected to
- sm
Installed This property is required. boolean - Status of SM for the client
- ssid
This property is required. string - The name of the SSID that the client is connected to
- status
This property is required. string - The connection status of the client
- switchport
This property is required. string - The switch port that the client is connected to
- user
This property is required. string - The username of the user of the client
- vlan
This property is required. string - The name of the VLAN that the client is connected to
- wireless
Capabilities This property is required. string - Wireless capabilities of the client
- cdps
This property is required. Sequence[GetClients Item Cdp] - The Cisco discover protocol settings for the client
- client_
vpn_ connections This property is required. Sequence[GetClients Item Client Vpn Connection] - VPN connections associated with the client
- description
This property is required. str - Short description of the client
- first_
seen This property is required. int - Timestamp client was first seen in the network
- id
This property is required. str - The ID of the client
- ip
This property is required. str - The IP address of the client
- ip6
This property is required. str - The IPv6 address of the client
- last_
seen This property is required. int - Timestamp client was last seen in the network
- lldps
This property is required. Sequence[GetClients Item Lldp] - The link layer discover protocol settings for the client
- mac
This property is required. str - The MAC address of the client
- manufacturer
This property is required. str - Manufacturer of the client
- os
This property is required. str - The operating system of the client
- recent_
device_ mac This property is required. str - The MAC address of the node that the device was last connected to
- sm_
installed This property is required. bool - Status of SM for the client
- ssid
This property is required. str - The name of the SSID that the client is connected to
- status
This property is required. str - The connection status of the client
- switchport
This property is required. str - The switch port that the client is connected to
- user
This property is required. str - The username of the user of the client
- vlan
This property is required. str - The name of the VLAN that the client is connected to
- wireless_
capabilities This property is required. str - Wireless capabilities of the client
- cdps
This property is required. List<Property Map> - The Cisco discover protocol settings for the client
- client
Vpn Connections This property is required. List<Property Map> - VPN connections associated with the client
- description
This property is required. String - Short description of the client
- first
Seen This property is required. Number - Timestamp client was first seen in the network
- id
This property is required. String - The ID of the client
- ip
This property is required. String - The IP address of the client
- ip6
This property is required. String - The IPv6 address of the client
- last
Seen This property is required. Number - Timestamp client was last seen in the network
- lldps
This property is required. List<Property Map> - The link layer discover protocol settings for the client
- mac
This property is required. String - The MAC address of the client
- manufacturer
This property is required. String - Manufacturer of the client
- os
This property is required. String - The operating system of the client
- recent
Device Mac This property is required. String - The MAC address of the node that the device was last connected to
- sm
Installed This property is required. Boolean - Status of SM for the client
- ssid
This property is required. String - The name of the SSID that the client is connected to
- status
This property is required. String - The connection status of the client
- switchport
This property is required. String - The switch port that the client is connected to
- user
This property is required. String - The username of the user of the client
- vlan
This property is required. String - The name of the VLAN that the client is connected to
- wireless
Capabilities This property is required. String - Wireless capabilities of the client
GetClientsItemClientVpnConnection
- Connected
At This property is required. int - The time the client last connected to the VPN
- Disconnected
At This property is required. int - The time the client last disconnectd from the VPN
- Remote
Ip This property is required. string - The IP address of the VPN the client last connected to
- Connected
At This property is required. int - The time the client last connected to the VPN
- Disconnected
At This property is required. int - The time the client last disconnectd from the VPN
- Remote
Ip This property is required. string - The IP address of the VPN the client last connected to
- connected
At This property is required. Integer - The time the client last connected to the VPN
- disconnected
At This property is required. Integer - The time the client last disconnectd from the VPN
- remote
Ip This property is required. String - The IP address of the VPN the client last connected to
- connected
At This property is required. number - The time the client last connected to the VPN
- disconnected
At This property is required. number - The time the client last disconnectd from the VPN
- remote
Ip This property is required. string - The IP address of the VPN the client last connected to
- connected_
at This property is required. int - The time the client last connected to the VPN
- disconnected_
at This property is required. int - The time the client last disconnectd from the VPN
- remote_
ip This property is required. str - The IP address of the VPN the client last connected to
- connected
At This property is required. Number - The time the client last connected to the VPN
- disconnected
At This property is required. Number - The time the client last disconnectd from the VPN
- remote
Ip This property is required. String - The IP address of the VPN the client last connected to
Package Details
- Repository
- meraki pulumi/pulumi-meraki
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
meraki
Terraform Provider.