Cisco Meraki v0.3.2 published on Tuesday, Sep 24, 2024 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);
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)
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
})
}
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),
};
});
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()));
}
}
variables:
example:
fn::invoke:
Function: meraki:networks:getSmTrustedAccessConfigs
Arguments:
endingBefore: string
networkId: string
perPage: 1
startingAfter: string
outputs:
merakiNetworksSmTrustedAccessConfigsExample: ${example.items}
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>
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]
func GetSmTrustedAccessConfigs(ctx *Context, args *GetSmTrustedAccessConfigsArgs, opts ...InvokeOption) (*GetSmTrustedAccessConfigsResult, error)
func GetSmTrustedAccessConfigsOutput(ctx *Context, args *GetSmTrustedAccessConfigsOutputArgs, opts ...InvokeOption) GetSmTrustedAccessConfigsResultOutput
> 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)
}
public static CompletableFuture<GetSmTrustedAccessConfigsResult> getSmTrustedAccessConfigs(GetSmTrustedAccessConfigsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: meraki:networks/getSmTrustedAccessConfigs:getSmTrustedAccessConfigs
arguments:
# arguments dictionary
The following arguments are supported:
- Network
Id string - networkId path parameter. Network ID
- Ending
Before 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.
- Per
Page int - perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 100.
- Starting
After 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 string - networkId path parameter. Network ID
- Ending
Before 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.
- Per
Page int - perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 100.
- Starting
After 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 String - networkId path parameter. Network ID
- ending
Before 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.
- per
Page Integer - perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 100.
- starting
After 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 string - networkId path parameter. Network ID
- ending
Before 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.
- per
Page number - perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 100.
- starting
After 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.
- network
Id String - networkId path parameter. Network ID
- ending
Before 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.
- per
Page Number - perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 100.
- starting
After 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<Get
Sm Trusted Access Configs Item> - Array of ResponseSmGetNetworkSmTrustedAccessConfigs
- Network
Id string - networkId path parameter. Network ID
- Ending
Before 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.
- Per
Page int - perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 100.
- Starting
After 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
[]Get
Sm Trusted Access Configs Item - Array of ResponseSmGetNetworkSmTrustedAccessConfigs
- Network
Id string - networkId path parameter. Network ID
- Ending
Before 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.
- Per
Page int - perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 100.
- Starting
After 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<Get
Sm Trusted Access Configs Item> - Array of ResponseSmGetNetworkSmTrustedAccessConfigs
- network
Id String - networkId path parameter. Network ID
- ending
Before 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.
- per
Page Integer - perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 100.
- starting
After 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
Get
Sm Trusted Access Configs Item[] - Array of ResponseSmGetNetworkSmTrustedAccessConfigs
- network
Id string - networkId path parameter. Network ID
- ending
Before 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.
- per
Page number - perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 100.
- starting
After 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[Get
Sm Trusted Access Configs Item] - 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
- network
Id String - networkId path parameter. Network ID
- ending
Before 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.
- per
Page Number - perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 100.
- starting
After 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
- Access
End stringAt - time that access ends
- Access
Start stringAt - time that access starts
- Additional
Email stringText - Optional email text
- Id string
- device ID
- Name string
- device name
- Notify
Time intBefore Access Ends - Time before access expiration reminder email sends
- Scope string
- scope
- Send
Expiration boolEmails - Send Email Notifications
- Ssid
Name string - SSID name
- List<string>
- device tags
- Timebound
Type string - type of access period, either a static range or a dynamic period
- Access
End stringAt - time that access ends
- Access
Start stringAt - time that access starts
- Additional
Email stringText - Optional email text
- Id string
- device ID
- Name string
- device name
- Notify
Time intBefore Access Ends - Time before access expiration reminder email sends
- Scope string
- scope
- Send
Expiration boolEmails - Send Email Notifications
- Ssid
Name string - SSID name
- []string
- device tags
- Timebound
Type string - type of access period, either a static range or a dynamic period
- access
End StringAt - time that access ends
- access
Start StringAt - time that access starts
- additional
Email StringText - Optional email text
- id String
- device ID
- name String
- device name
- notify
Time IntegerBefore Access Ends - Time before access expiration reminder email sends
- scope String
- scope
- send
Expiration BooleanEmails - Send Email Notifications
- ssid
Name String - SSID name
- List<String>
- device tags
- timebound
Type String - type of access period, either a static range or a dynamic period
- access
End stringAt - time that access ends
- access
Start stringAt - time that access starts
- additional
Email stringText - Optional email text
- id string
- device ID
- name string
- device name
- notify
Time numberBefore Access Ends - Time before access expiration reminder email sends
- scope string
- scope
- send
Expiration booleanEmails - Send Email Notifications
- ssid
Name string - SSID name
- string[]
- device tags
- timebound
Type string - type of access period, either a static range or a dynamic period
- access_
end_ strat - time that access ends
- access_
start_ strat - time that access starts
- additional_
email_ strtext - Optional email text
- id str
- device ID
- name str
- device name
- notify_
time_ intbefore_ access_ ends - Time before access expiration reminder email sends
- scope str
- scope
- send_
expiration_ boolemails - Send Email Notifications
- ssid_
name str - SSID name
- Sequence[str]
- device tags
- timebound_
type str - type of access period, either a static range or a dynamic period
- access
End StringAt - time that access ends
- access
Start StringAt - time that access starts
- additional
Email StringText - Optional email text
- id String
- device ID
- name String
- device name
- notify
Time NumberBefore Access Ends - Time before access expiration reminder email sends
- scope String
- scope
- send
Expiration BooleanEmails - Send Email Notifications
- ssid
Name String - SSID name
- List<String>
- device tags
- timebound
Type 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.