1. Packages
  2. Cisco Meraki
  3. API Docs
  4. networks
  5. getSmDevicesDesktopLogs
Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi

meraki.networks.getSmDevicesDesktopLogs

Explore with Pulumi AI

meraki logo
Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as meraki from "@pulumi/meraki";
    
    const example = meraki.networks.getSmDevicesDesktopLogs({
        deviceId: "string",
        endingBefore: "string",
        networkId: "string",
        perPage: 1,
        startingAfter: "string",
    });
    export const merakiNetworksSmDevicesDesktopLogsExample = example.then(example => example.items);
    
    import pulumi
    import pulumi_meraki as meraki
    
    example = meraki.networks.get_sm_devices_desktop_logs(device_id="string",
        ending_before="string",
        network_id="string",
        per_page=1,
        starting_after="string")
    pulumi.export("merakiNetworksSmDevicesDesktopLogsExample", 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.GetSmDevicesDesktopLogs(ctx, &networks.GetSmDevicesDesktopLogsArgs{
    			DeviceId:      "string",
    			EndingBefore:  pulumi.StringRef("string"),
    			NetworkId:     "string",
    			PerPage:       pulumi.IntRef(1),
    			StartingAfter: pulumi.StringRef("string"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("merakiNetworksSmDevicesDesktopLogsExample", 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.GetSmDevicesDesktopLogs.Invoke(new()
        {
            DeviceId = "string",
            EndingBefore = "string",
            NetworkId = "string",
            PerPage = 1,
            StartingAfter = "string",
        });
    
        return new Dictionary<string, object?>
        {
            ["merakiNetworksSmDevicesDesktopLogsExample"] = example.Apply(getSmDevicesDesktopLogsResult => getSmDevicesDesktopLogsResult.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.GetSmDevicesDesktopLogsArgs;
    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.getSmDevicesDesktopLogs(GetSmDevicesDesktopLogsArgs.builder()
                .deviceId("string")
                .endingBefore("string")
                .networkId("string")
                .perPage(1)
                .startingAfter("string")
                .build());
    
            ctx.export("merakiNetworksSmDevicesDesktopLogsExample", example.applyValue(getSmDevicesDesktopLogsResult -> getSmDevicesDesktopLogsResult.items()));
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: meraki:networks:getSmDevicesDesktopLogs
          Arguments:
            deviceId: string
            endingBefore: string
            networkId: string
            perPage: 1
            startingAfter: string
    outputs:
      merakiNetworksSmDevicesDesktopLogsExample: ${example.items}
    

    Using getSmDevicesDesktopLogs

    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 getSmDevicesDesktopLogs(args: GetSmDevicesDesktopLogsArgs, opts?: InvokeOptions): Promise<GetSmDevicesDesktopLogsResult>
    function getSmDevicesDesktopLogsOutput(args: GetSmDevicesDesktopLogsOutputArgs, opts?: InvokeOptions): Output<GetSmDevicesDesktopLogsResult>
    def get_sm_devices_desktop_logs(device_id: Optional[str] = None,
                                    ending_before: Optional[str] = None,
                                    network_id: Optional[str] = None,
                                    per_page: Optional[int] = None,
                                    starting_after: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetSmDevicesDesktopLogsResult
    def get_sm_devices_desktop_logs_output(device_id: Optional[pulumi.Input[str]] = None,
                                    ending_before: Optional[pulumi.Input[str]] = None,
                                    network_id: Optional[pulumi.Input[str]] = None,
                                    per_page: Optional[pulumi.Input[int]] = None,
                                    starting_after: Optional[pulumi.Input[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetSmDevicesDesktopLogsResult]
    func GetSmDevicesDesktopLogs(ctx *Context, args *GetSmDevicesDesktopLogsArgs, opts ...InvokeOption) (*GetSmDevicesDesktopLogsResult, error)
    func GetSmDevicesDesktopLogsOutput(ctx *Context, args *GetSmDevicesDesktopLogsOutputArgs, opts ...InvokeOption) GetSmDevicesDesktopLogsResultOutput

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

    public static class GetSmDevicesDesktopLogs 
    {
        public static Task<GetSmDevicesDesktopLogsResult> InvokeAsync(GetSmDevicesDesktopLogsArgs args, InvokeOptions? opts = null)
        public static Output<GetSmDevicesDesktopLogsResult> Invoke(GetSmDevicesDesktopLogsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSmDevicesDesktopLogsResult> getSmDevicesDesktopLogs(GetSmDevicesDesktopLogsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: meraki:networks/getSmDevicesDesktopLogs:getSmDevicesDesktopLogs
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DeviceId string
    deviceId path parameter. Device ID
    NetworkId string
    networkId path parameter. Network ID
    EndingBefore string
    endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
    PerPage int
    perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000.
    StartingAfter string
    startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
    DeviceId string
    deviceId path parameter. Device ID
    NetworkId string
    networkId path parameter. Network ID
    EndingBefore string
    endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
    PerPage int
    perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000.
    StartingAfter string
    startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
    deviceId String
    deviceId path parameter. Device ID
    networkId String
    networkId path parameter. Network ID
    endingBefore String
    endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
    perPage Integer
    perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000.
    startingAfter String
    startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
    deviceId string
    deviceId path parameter. Device ID
    networkId string
    networkId path parameter. Network ID
    endingBefore string
    endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
    perPage number
    perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000.
    startingAfter string
    startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
    device_id str
    deviceId path parameter. Device ID
    network_id str
    networkId path parameter. Network ID
    ending_before str
    endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
    per_page int
    perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000.
    starting_after str
    startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
    deviceId String
    deviceId path parameter. Device ID
    networkId String
    networkId path parameter. Network ID
    endingBefore String
    endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
    perPage Number
    perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000.
    startingAfter String
    startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.

    getSmDevicesDesktopLogs Result

    The following output properties are available:

    DeviceId string
    deviceId path parameter. Device ID
    Id string
    The provider-assigned unique ID for this managed resource.
    Items List<GetSmDevicesDesktopLogsItem>
    Array of ResponseSmGetNetworkSmDeviceDesktopLogs
    NetworkId string
    networkId path parameter. Network ID
    EndingBefore string
    endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
    PerPage int
    perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000.
    StartingAfter string
    startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
    DeviceId string
    deviceId path parameter. Device ID
    Id string
    The provider-assigned unique ID for this managed resource.
    Items []GetSmDevicesDesktopLogsItem
    Array of ResponseSmGetNetworkSmDeviceDesktopLogs
    NetworkId string
    networkId path parameter. Network ID
    EndingBefore string
    endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
    PerPage int
    perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000.
    StartingAfter string
    startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
    deviceId String
    deviceId path parameter. Device ID
    id String
    The provider-assigned unique ID for this managed resource.
    items List<GetSmDevicesDesktopLogsItem>
    Array of ResponseSmGetNetworkSmDeviceDesktopLogs
    networkId String
    networkId path parameter. Network ID
    endingBefore String
    endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
    perPage Integer
    perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000.
    startingAfter String
    startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
    deviceId string
    deviceId path parameter. Device ID
    id string
    The provider-assigned unique ID for this managed resource.
    items GetSmDevicesDesktopLogsItem[]
    Array of ResponseSmGetNetworkSmDeviceDesktopLogs
    networkId string
    networkId path parameter. Network ID
    endingBefore string
    endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
    perPage number
    perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000.
    startingAfter string
    startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
    device_id str
    deviceId path parameter. Device ID
    id str
    The provider-assigned unique ID for this managed resource.
    items Sequence[GetSmDevicesDesktopLogsItem]
    Array of ResponseSmGetNetworkSmDeviceDesktopLogs
    network_id str
    networkId path parameter. Network ID
    ending_before str
    endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
    per_page int
    perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000.
    starting_after str
    startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
    deviceId String
    deviceId path parameter. Device ID
    id String
    The provider-assigned unique ID for this managed resource.
    items List<Property Map>
    Array of ResponseSmGetNetworkSmDeviceDesktopLogs
    networkId String
    networkId path parameter. Network ID
    endingBefore String
    endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
    perPage Number
    perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000.
    startingAfter String
    startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.

    Supporting Types

    GetSmDevicesDesktopLogsItem

    DhcpServer string
    The IP address of the DCHP Server.
    DnsServer string
    The DNS Server during the connection.
    Gateway string
    The gateway IP the device was connected to.
    Ip string
    The IP of the device during connection.
    MeasuredAt string
    The time the data was measured at.
    NetworkDevice string
    The network device for the device used for connection.
    NetworkDriver string
    The network driver for the device.
    NetworkMtu string
    The network max transmission unit.
    PublicIp string
    The public IP address of the device.
    Subnet string
    The subnet of the device connection.
    Ts string
    The time the connection was logged.
    User string
    The user during connection.
    WifiAuth string
    The type of authentication used by the SSID.
    WifiBssid string
    The MAC of the access point the device is connected to.
    WifiChannel string
    Channel through which the connection is routing.
    WifiNoise string
    The wireless signal power level received by the device.
    WifiRssi string
    The Received Signal Strength Indicator for the device.
    WifiSsid string
    The name of the network the device is connected to.
    DhcpServer string
    The IP address of the DCHP Server.
    DnsServer string
    The DNS Server during the connection.
    Gateway string
    The gateway IP the device was connected to.
    Ip string
    The IP of the device during connection.
    MeasuredAt string
    The time the data was measured at.
    NetworkDevice string
    The network device for the device used for connection.
    NetworkDriver string
    The network driver for the device.
    NetworkMtu string
    The network max transmission unit.
    PublicIp string
    The public IP address of the device.
    Subnet string
    The subnet of the device connection.
    Ts string
    The time the connection was logged.
    User string
    The user during connection.
    WifiAuth string
    The type of authentication used by the SSID.
    WifiBssid string
    The MAC of the access point the device is connected to.
    WifiChannel string
    Channel through which the connection is routing.
    WifiNoise string
    The wireless signal power level received by the device.
    WifiRssi string
    The Received Signal Strength Indicator for the device.
    WifiSsid string
    The name of the network the device is connected to.
    dhcpServer String
    The IP address of the DCHP Server.
    dnsServer String
    The DNS Server during the connection.
    gateway String
    The gateway IP the device was connected to.
    ip String
    The IP of the device during connection.
    measuredAt String
    The time the data was measured at.
    networkDevice String
    The network device for the device used for connection.
    networkDriver String
    The network driver for the device.
    networkMtu String
    The network max transmission unit.
    publicIp String
    The public IP address of the device.
    subnet String
    The subnet of the device connection.
    ts String
    The time the connection was logged.
    user String
    The user during connection.
    wifiAuth String
    The type of authentication used by the SSID.
    wifiBssid String
    The MAC of the access point the device is connected to.
    wifiChannel String
    Channel through which the connection is routing.
    wifiNoise String
    The wireless signal power level received by the device.
    wifiRssi String
    The Received Signal Strength Indicator for the device.
    wifiSsid String
    The name of the network the device is connected to.
    dhcpServer string
    The IP address of the DCHP Server.
    dnsServer string
    The DNS Server during the connection.
    gateway string
    The gateway IP the device was connected to.
    ip string
    The IP of the device during connection.
    measuredAt string
    The time the data was measured at.
    networkDevice string
    The network device for the device used for connection.
    networkDriver string
    The network driver for the device.
    networkMtu string
    The network max transmission unit.
    publicIp string
    The public IP address of the device.
    subnet string
    The subnet of the device connection.
    ts string
    The time the connection was logged.
    user string
    The user during connection.
    wifiAuth string
    The type of authentication used by the SSID.
    wifiBssid string
    The MAC of the access point the device is connected to.
    wifiChannel string
    Channel through which the connection is routing.
    wifiNoise string
    The wireless signal power level received by the device.
    wifiRssi string
    The Received Signal Strength Indicator for the device.
    wifiSsid string
    The name of the network the device is connected to.
    dhcp_server str
    The IP address of the DCHP Server.
    dns_server str
    The DNS Server during the connection.
    gateway str
    The gateway IP the device was connected to.
    ip str
    The IP of the device during connection.
    measured_at str
    The time the data was measured at.
    network_device str
    The network device for the device used for connection.
    network_driver str
    The network driver for the device.
    network_mtu str
    The network max transmission unit.
    public_ip str
    The public IP address of the device.
    subnet str
    The subnet of the device connection.
    ts str
    The time the connection was logged.
    user str
    The user during connection.
    wifi_auth str
    The type of authentication used by the SSID.
    wifi_bssid str
    The MAC of the access point the device is connected to.
    wifi_channel str
    Channel through which the connection is routing.
    wifi_noise str
    The wireless signal power level received by the device.
    wifi_rssi str
    The Received Signal Strength Indicator for the device.
    wifi_ssid str
    The name of the network the device is connected to.
    dhcpServer String
    The IP address of the DCHP Server.
    dnsServer String
    The DNS Server during the connection.
    gateway String
    The gateway IP the device was connected to.
    ip String
    The IP of the device during connection.
    measuredAt String
    The time the data was measured at.
    networkDevice String
    The network device for the device used for connection.
    networkDriver String
    The network driver for the device.
    networkMtu String
    The network max transmission unit.
    publicIp String
    The public IP address of the device.
    subnet String
    The subnet of the device connection.
    ts String
    The time the connection was logged.
    user String
    The user during connection.
    wifiAuth String
    The type of authentication used by the SSID.
    wifiBssid String
    The MAC of the access point the device is connected to.
    wifiChannel String
    Channel through which the connection is routing.
    wifiNoise String
    The wireless signal power level received by the device.
    wifiRssi String
    The Received Signal Strength Indicator for the device.
    wifiSsid String
    The name of the network the device is connected to.

    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.4 published on Friday, Jun 14, 2024 by Pulumi