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

meraki.networks.getSmTrustedAccessConfigs

Explore with Pulumi AI

Example Usage

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

const example = meraki.networks.getSmTrustedAccessConfigs({
    endingBefore: "string",
    networkId: "string",
    perPage: 1,
    startingAfter: "string",
});
export const merakiNetworksSmTrustedAccessConfigsExample = example.then(example => example.items);
Copy
import pulumi
import pulumi_meraki as meraki

example = meraki.networks.get_sm_trusted_access_configs(ending_before="string",
    network_id="string",
    per_page=1,
    starting_after="string")
pulumi.export("merakiNetworksSmTrustedAccessConfigsExample", example.items)
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.GetSmTrustedAccessConfigs(ctx, &networks.GetSmTrustedAccessConfigsArgs{
			EndingBefore:  pulumi.StringRef("string"),
			NetworkId:     "string",
			PerPage:       pulumi.IntRef(1),
			StartingAfter: pulumi.StringRef("string"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("merakiNetworksSmTrustedAccessConfigsExample", example.Items)
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Meraki = Pulumi.Meraki;

return await Deployment.RunAsync(() => 
{
    var example = Meraki.Networks.GetSmTrustedAccessConfigs.Invoke(new()
    {
        EndingBefore = "string",
        NetworkId = "string",
        PerPage = 1,
        StartingAfter = "string",
    });

    return new Dictionary<string, object?>
    {
        ["merakiNetworksSmTrustedAccessConfigsExample"] = example.Apply(getSmTrustedAccessConfigsResult => getSmTrustedAccessConfigsResult.Items),
    };
});
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.GetSmTrustedAccessConfigsArgs;
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.getSmTrustedAccessConfigs(GetSmTrustedAccessConfigsArgs.builder()
            .endingBefore("string")
            .networkId("string")
            .perPage(1)
            .startingAfter("string")
            .build());

        ctx.export("merakiNetworksSmTrustedAccessConfigsExample", example.applyValue(getSmTrustedAccessConfigsResult -> getSmTrustedAccessConfigsResult.items()));
    }
}
Copy
variables:
  example:
    fn::invoke:
      function: meraki:networks:getSmTrustedAccessConfigs
      arguments:
        endingBefore: string
        networkId: string
        perPage: 1
        startingAfter: string
outputs:
  merakiNetworksSmTrustedAccessConfigsExample: ${example.items}
Copy

Using getSmTrustedAccessConfigs

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 getSmTrustedAccessConfigs(args: GetSmTrustedAccessConfigsArgs, opts?: InvokeOptions): Promise<GetSmTrustedAccessConfigsResult>
function getSmTrustedAccessConfigsOutput(args: GetSmTrustedAccessConfigsOutputArgs, opts?: InvokeOptions): Output<GetSmTrustedAccessConfigsResult>
Copy
def get_sm_trusted_access_configs(ending_before: Optional[str] = None,
                                  network_id: Optional[str] = None,
                                  per_page: Optional[int] = None,
                                  starting_after: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetSmTrustedAccessConfigsResult
def get_sm_trusted_access_configs_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[GetSmTrustedAccessConfigsResult]
Copy
func GetSmTrustedAccessConfigs(ctx *Context, args *GetSmTrustedAccessConfigsArgs, opts ...InvokeOption) (*GetSmTrustedAccessConfigsResult, error)
func GetSmTrustedAccessConfigsOutput(ctx *Context, args *GetSmTrustedAccessConfigsOutputArgs, opts ...InvokeOption) GetSmTrustedAccessConfigsResultOutput
Copy

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

public static class GetSmTrustedAccessConfigs 
{
    public static Task<GetSmTrustedAccessConfigsResult> InvokeAsync(GetSmTrustedAccessConfigsArgs args, InvokeOptions? opts = null)
    public static Output<GetSmTrustedAccessConfigsResult> Invoke(GetSmTrustedAccessConfigsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetSmTrustedAccessConfigsResult> getSmTrustedAccessConfigs(GetSmTrustedAccessConfigsArgs args, InvokeOptions options)
public static Output<GetSmTrustedAccessConfigsResult> getSmTrustedAccessConfigs(GetSmTrustedAccessConfigsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: meraki:networks/getSmTrustedAccessConfigs:getSmTrustedAccessConfigs
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

NetworkId This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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.

getSmTrustedAccessConfigs Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
Items List<GetSmTrustedAccessConfigsItem>
Array of ResponseSmGetNetworkSmTrustedAccessConfigs
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 []GetSmTrustedAccessConfigsItem
Array of ResponseSmGetNetworkSmTrustedAccessConfigs
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<GetSmTrustedAccessConfigsItem>
Array of ResponseSmGetNetworkSmTrustedAccessConfigs
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 GetSmTrustedAccessConfigsItem[]
Array of ResponseSmGetNetworkSmTrustedAccessConfigs
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[GetSmTrustedAccessConfigsItem]
Array of ResponseSmGetNetworkSmTrustedAccessConfigs
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 ResponseSmGetNetworkSmTrustedAccessConfigs
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

GetSmTrustedAccessConfigsItem

AccessEndAt This property is required. string
time that access ends
AccessStartAt This property is required. string
time that access starts
AdditionalEmailText This property is required. string
Optional email text
Id This property is required. string
device ID
Name This property is required. string
device name
NotifyTimeBeforeAccessEnds This property is required. int
Time before access expiration reminder email sends
Scope This property is required. string
scope
SendExpirationEmails This property is required. bool
Send Email Notifications
SsidName This property is required. string
SSID name
Tags This property is required. List<string>
device tags
TimeboundType This property is required. string
type of access period, either a static range or a dynamic period
AccessEndAt This property is required. string
time that access ends
AccessStartAt This property is required. string
time that access starts
AdditionalEmailText This property is required. string
Optional email text
Id This property is required. string
device ID
Name This property is required. string
device name
NotifyTimeBeforeAccessEnds This property is required. int
Time before access expiration reminder email sends
Scope This property is required. string
scope
SendExpirationEmails This property is required. bool
Send Email Notifications
SsidName This property is required. string
SSID name
Tags This property is required. []string
device tags
TimeboundType This property is required. string
type of access period, either a static range or a dynamic period
accessEndAt This property is required. String
time that access ends
accessStartAt This property is required. String
time that access starts
additionalEmailText This property is required. String
Optional email text
id This property is required. String
device ID
name This property is required. String
device name
notifyTimeBeforeAccessEnds This property is required. Integer
Time before access expiration reminder email sends
scope This property is required. String
scope
sendExpirationEmails This property is required. Boolean
Send Email Notifications
ssidName This property is required. String
SSID name
tags This property is required. List<String>
device tags
timeboundType This property is required. String
type of access period, either a static range or a dynamic period
accessEndAt This property is required. string
time that access ends
accessStartAt This property is required. string
time that access starts
additionalEmailText This property is required. string
Optional email text
id This property is required. string
device ID
name This property is required. string
device name
notifyTimeBeforeAccessEnds This property is required. number
Time before access expiration reminder email sends
scope This property is required. string
scope
sendExpirationEmails This property is required. boolean
Send Email Notifications
ssidName This property is required. string
SSID name
tags This property is required. string[]
device tags
timeboundType This property is required. string
type of access period, either a static range or a dynamic period
access_end_at This property is required. str
time that access ends
access_start_at This property is required. str
time that access starts
additional_email_text This property is required. str
Optional email text
id This property is required. str
device ID
name This property is required. str
device name
notify_time_before_access_ends This property is required. int
Time before access expiration reminder email sends
scope This property is required. str
scope
send_expiration_emails This property is required. bool
Send Email Notifications
ssid_name This property is required. str
SSID name
tags This property is required. Sequence[str]
device tags
timebound_type This property is required. str
type of access period, either a static range or a dynamic period
accessEndAt This property is required. String
time that access ends
accessStartAt This property is required. String
time that access starts
additionalEmailText This property is required. String
Optional email text
id This property is required. String
device ID
name This property is required. String
device name
notifyTimeBeforeAccessEnds This property is required. Number
Time before access expiration reminder email sends
scope This property is required. String
scope
sendExpirationEmails This property is required. Boolean
Send Email Notifications
ssidName This property is required. String
SSID name
tags This property is required. List<String>
device tags
timeboundType This property is required. String
type of access period, either a static range or a dynamic period

Package Details

Repository
meraki pulumi/pulumi-meraki
License
Apache-2.0
Notes
This Pulumi package is based on the meraki Terraform Provider.