1. Packages
  2. Meraki Provider
  3. API Docs
  4. networks
  5. getSmUserAccessDevices
Cisco Meraki v0.3.2 published on Tuesday, Sep 24, 2024 by Pulumi

meraki.networks.getSmUserAccessDevices

Explore with Pulumi AI

meraki logo
Cisco Meraki v0.3.2 published on Tuesday, Sep 24, 2024 by Pulumi

    Example Usage

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

    Using getSmUserAccessDevices

    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 getSmUserAccessDevices(args: GetSmUserAccessDevicesArgs, opts?: InvokeOptions): Promise<GetSmUserAccessDevicesResult>
    function getSmUserAccessDevicesOutput(args: GetSmUserAccessDevicesOutputArgs, opts?: InvokeOptions): Output<GetSmUserAccessDevicesResult>
    def get_sm_user_access_devices(ending_before: Optional[str] = None,
                                   network_id: Optional[str] = None,
                                   per_page: Optional[int] = None,
                                   starting_after: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetSmUserAccessDevicesResult
    def get_sm_user_access_devices_output(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[GetSmUserAccessDevicesResult]
    func GetSmUserAccessDevices(ctx *Context, args *GetSmUserAccessDevicesArgs, opts ...InvokeOption) (*GetSmUserAccessDevicesResult, error)
    func GetSmUserAccessDevicesOutput(ctx *Context, args *GetSmUserAccessDevicesOutputArgs, opts ...InvokeOption) GetSmUserAccessDevicesResultOutput

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

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

    The following arguments are supported:

    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 100.
    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.
    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 100.
    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.
    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 100.
    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.
    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 100.
    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.
    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 100.
    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.
    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 100.
    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.

    getSmUserAccessDevices Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Items List<GetSmUserAccessDevicesItem>
    Array of ResponseSmGetNetworkSmUserAccessDevices
    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 100.
    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.
    Id string
    The provider-assigned unique ID for this managed resource.
    Items []GetSmUserAccessDevicesItem
    Array of ResponseSmGetNetworkSmUserAccessDevices
    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 100.
    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.
    id String
    The provider-assigned unique ID for this managed resource.
    items List<GetSmUserAccessDevicesItem>
    Array of ResponseSmGetNetworkSmUserAccessDevices
    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 100.
    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.
    id string
    The provider-assigned unique ID for this managed resource.
    items GetSmUserAccessDevicesItem[]
    Array of ResponseSmGetNetworkSmUserAccessDevices
    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 100.
    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.
    id str
    The provider-assigned unique ID for this managed resource.
    items Sequence[GetSmUserAccessDevicesItem]
    Array of ResponseSmGetNetworkSmUserAccessDevices
    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 100.
    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.
    id String
    The provider-assigned unique ID for this managed resource.
    items List<Property Map>
    Array of ResponseSmGetNetworkSmUserAccessDevices
    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 100.
    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

    GetSmUserAccessDevicesItem

    Email string
    user email
    Id string
    device ID
    Mac string
    mac address
    Name string
    device name
    SystemType string
    system type
    Tags List<string>
    device tags
    TrustedAccessConnections List<GetSmUserAccessDevicesItemTrustedAccessConnection>
    Array of trusted access configs
    Username string
    username
    Email string
    user email
    Id string
    device ID
    Mac string
    mac address
    Name string
    device name
    SystemType string
    system type
    Tags []string
    device tags
    TrustedAccessConnections []GetSmUserAccessDevicesItemTrustedAccessConnection
    Array of trusted access configs
    Username string
    username
    email String
    user email
    id String
    device ID
    mac String
    mac address
    name String
    device name
    systemType String
    system type
    tags List<String>
    device tags
    trustedAccessConnections List<GetSmUserAccessDevicesItemTrustedAccessConnection>
    Array of trusted access configs
    username String
    username
    email string
    user email
    id string
    device ID
    mac string
    mac address
    name string
    device name
    systemType string
    system type
    tags string[]
    device tags
    trustedAccessConnections GetSmUserAccessDevicesItemTrustedAccessConnection[]
    Array of trusted access configs
    username string
    username
    email str
    user email
    id str
    device ID
    mac str
    mac address
    name str
    device name
    system_type str
    system type
    tags Sequence[str]
    device tags
    trusted_access_connections Sequence[GetSmUserAccessDevicesItemTrustedAccessConnection]
    Array of trusted access configs
    username str
    username
    email String
    user email
    id String
    device ID
    mac String
    mac address
    name String
    device name
    systemType String
    system type
    tags List<String>
    device tags
    trustedAccessConnections List<Property Map>
    Array of trusted access configs
    username String
    username

    GetSmUserAccessDevicesItemTrustedAccessConnection

    DownloadedAt string
    time that config was downloaded
    LastConnectedAt string
    time of last connection
    ScepCompletedAt string
    time that SCEP completed
    TrustedAccessConfigId string
    config id
    DownloadedAt string
    time that config was downloaded
    LastConnectedAt string
    time of last connection
    ScepCompletedAt string
    time that SCEP completed
    TrustedAccessConfigId string
    config id
    downloadedAt String
    time that config was downloaded
    lastConnectedAt String
    time of last connection
    scepCompletedAt String
    time that SCEP completed
    trustedAccessConfigId String
    config id
    downloadedAt string
    time that config was downloaded
    lastConnectedAt string
    time of last connection
    scepCompletedAt string
    time that SCEP completed
    trustedAccessConfigId string
    config id
    downloaded_at str
    time that config was downloaded
    last_connected_at str
    time of last connection
    scep_completed_at str
    time that SCEP completed
    trusted_access_config_id str
    config id
    downloadedAt String
    time that config was downloaded
    lastConnectedAt String
    time of last connection
    scepCompletedAt String
    time that SCEP completed
    trustedAccessConfigId String
    config id

    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.3.2 published on Tuesday, Sep 24, 2024 by Pulumi