Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi
meraki.networks.getSmDevicesWlanLists
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as meraki from "@pulumi/meraki";
const example = meraki.networks.getSmDevicesWlanLists({
deviceId: "string",
networkId: "string",
});
export const merakiNetworksSmDevicesWlanListsExample = example.then(example => example.items);
import pulumi
import pulumi_meraki as meraki
example = meraki.networks.get_sm_devices_wlan_lists(device_id="string",
network_id="string")
pulumi.export("merakiNetworksSmDevicesWlanListsExample", 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.GetSmDevicesWlanLists(ctx, &networks.GetSmDevicesWlanListsArgs{
DeviceId: "string",
NetworkId: "string",
}, nil)
if err != nil {
return err
}
ctx.Export("merakiNetworksSmDevicesWlanListsExample", 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.GetSmDevicesWlanLists.Invoke(new()
{
DeviceId = "string",
NetworkId = "string",
});
return new Dictionary<string, object?>
{
["merakiNetworksSmDevicesWlanListsExample"] = example.Apply(getSmDevicesWlanListsResult => getSmDevicesWlanListsResult.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.GetSmDevicesWlanListsArgs;
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.getSmDevicesWlanLists(GetSmDevicesWlanListsArgs.builder()
.deviceId("string")
.networkId("string")
.build());
ctx.export("merakiNetworksSmDevicesWlanListsExample", example.applyValue(getSmDevicesWlanListsResult -> getSmDevicesWlanListsResult.items()));
}
}
variables:
example:
fn::invoke:
Function: meraki:networks:getSmDevicesWlanLists
Arguments:
deviceId: string
networkId: string
outputs:
merakiNetworksSmDevicesWlanListsExample: ${example.items}
Using getSmDevicesWlanLists
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 getSmDevicesWlanLists(args: GetSmDevicesWlanListsArgs, opts?: InvokeOptions): Promise<GetSmDevicesWlanListsResult>
function getSmDevicesWlanListsOutput(args: GetSmDevicesWlanListsOutputArgs, opts?: InvokeOptions): Output<GetSmDevicesWlanListsResult>
def get_sm_devices_wlan_lists(device_id: Optional[str] = None,
network_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSmDevicesWlanListsResult
def get_sm_devices_wlan_lists_output(device_id: Optional[pulumi.Input[str]] = None,
network_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSmDevicesWlanListsResult]
func GetSmDevicesWlanLists(ctx *Context, args *GetSmDevicesWlanListsArgs, opts ...InvokeOption) (*GetSmDevicesWlanListsResult, error)
func GetSmDevicesWlanListsOutput(ctx *Context, args *GetSmDevicesWlanListsOutputArgs, opts ...InvokeOption) GetSmDevicesWlanListsResultOutput
> Note: This function is named GetSmDevicesWlanLists
in the Go SDK.
public static class GetSmDevicesWlanLists
{
public static Task<GetSmDevicesWlanListsResult> InvokeAsync(GetSmDevicesWlanListsArgs args, InvokeOptions? opts = null)
public static Output<GetSmDevicesWlanListsResult> Invoke(GetSmDevicesWlanListsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSmDevicesWlanListsResult> getSmDevicesWlanLists(GetSmDevicesWlanListsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: meraki:networks/getSmDevicesWlanLists:getSmDevicesWlanLists
arguments:
# arguments dictionary
The following arguments are supported:
- device_
id str - deviceId path parameter. Device ID
- network_
id str - networkId path parameter. Network ID
getSmDevicesWlanLists Result
The following output properties are available:
- Device
Id string - deviceId path parameter. Device ID
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
List<Get
Sm Devices Wlan Lists Item> - Array of ResponseSmGetNetworkSmDeviceWlanLists
- Network
Id string - networkId path parameter. Network ID
- Device
Id string - deviceId path parameter. Device ID
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
[]Get
Sm Devices Wlan Lists Item - Array of ResponseSmGetNetworkSmDeviceWlanLists
- Network
Id string - networkId path parameter. Network ID
- device
Id String - deviceId path parameter. Device ID
- id String
- The provider-assigned unique ID for this managed resource.
- items
List<Get
Sm Devices Wlan Lists Item> - Array of ResponseSmGetNetworkSmDeviceWlanLists
- network
Id String - networkId path parameter. Network ID
- device
Id string - deviceId path parameter. Device ID
- id string
- The provider-assigned unique ID for this managed resource.
- items
Get
Sm Devices Wlan Lists Item[] - Array of ResponseSmGetNetworkSmDeviceWlanLists
- network
Id string - networkId path parameter. Network ID
- device_
id str - deviceId path parameter. Device ID
- id str
- The provider-assigned unique ID for this managed resource.
- items
Sequence[Get
Sm Devices Wlan Lists Item] - Array of ResponseSmGetNetworkSmDeviceWlanLists
- network_
id str - networkId path parameter. Network ID
- device
Id String - deviceId path parameter. Device ID
- id String
- The provider-assigned unique ID for this managed resource.
- items List<Property Map>
- Array of ResponseSmGetNetworkSmDeviceWlanLists
- network
Id String - networkId path parameter. Network ID
Supporting Types
GetSmDevicesWlanListsItem
- created_
at str - When the Meraki record for the wlanList was created.
- id str
- The Meraki managed Id of the wlanList record.
- xml str
- An XML string containing the WLAN List for the device.
Package Details
- Repository
- meraki pulumi/pulumi-meraki
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
meraki
Terraform Provider.