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

meraki.devices.getCellularGatewayLan

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.devices.getCellularGatewayLan({
        serial: "string",
    });
    export const merakiDevicesCellularGatewayLanExample = example.then(example => example.item);
    
    import pulumi
    import pulumi_meraki as meraki
    
    example = meraki.devices.get_cellular_gateway_lan(serial="string")
    pulumi.export("merakiDevicesCellularGatewayLanExample", example.item)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-meraki/sdk/go/meraki/devices"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := devices.LookupCellularGatewayLan(ctx, &devices.LookupCellularGatewayLanArgs{
    			Serial: "string",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("merakiDevicesCellularGatewayLanExample", example.Item)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Meraki = Pulumi.Meraki;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Meraki.Devices.GetCellularGatewayLan.Invoke(new()
        {
            Serial = "string",
        });
    
        return new Dictionary<string, object?>
        {
            ["merakiDevicesCellularGatewayLanExample"] = example.Apply(getCellularGatewayLanResult => getCellularGatewayLanResult.Item),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.meraki.devices.DevicesFunctions;
    import com.pulumi.meraki.devices.inputs.GetCellularGatewayLanArgs;
    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 = DevicesFunctions.getCellularGatewayLan(GetCellularGatewayLanArgs.builder()
                .serial("string")
                .build());
    
            ctx.export("merakiDevicesCellularGatewayLanExample", example.applyValue(getCellularGatewayLanResult -> getCellularGatewayLanResult.item()));
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: meraki:devices:getCellularGatewayLan
          Arguments:
            serial: string
    outputs:
      merakiDevicesCellularGatewayLanExample: ${example.item}
    

    Using getCellularGatewayLan

    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 getCellularGatewayLan(args: GetCellularGatewayLanArgs, opts?: InvokeOptions): Promise<GetCellularGatewayLanResult>
    function getCellularGatewayLanOutput(args: GetCellularGatewayLanOutputArgs, opts?: InvokeOptions): Output<GetCellularGatewayLanResult>
    def get_cellular_gateway_lan(serial: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetCellularGatewayLanResult
    def get_cellular_gateway_lan_output(serial: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetCellularGatewayLanResult]
    func LookupCellularGatewayLan(ctx *Context, args *LookupCellularGatewayLanArgs, opts ...InvokeOption) (*LookupCellularGatewayLanResult, error)
    func LookupCellularGatewayLanOutput(ctx *Context, args *LookupCellularGatewayLanOutputArgs, opts ...InvokeOption) LookupCellularGatewayLanResultOutput

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

    public static class GetCellularGatewayLan 
    {
        public static Task<GetCellularGatewayLanResult> InvokeAsync(GetCellularGatewayLanArgs args, InvokeOptions? opts = null)
        public static Output<GetCellularGatewayLanResult> Invoke(GetCellularGatewayLanInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCellularGatewayLanResult> getCellularGatewayLan(GetCellularGatewayLanArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: meraki:devices/getCellularGatewayLan:getCellularGatewayLan
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Serial string
    serial path parameter.
    Serial string
    serial path parameter.
    serial String
    serial path parameter.
    serial string
    serial path parameter.
    serial str
    serial path parameter.
    serial String
    serial path parameter.

    getCellularGatewayLan Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Item GetCellularGatewayLanItem
    Serial string
    serial path parameter.
    Id string
    The provider-assigned unique ID for this managed resource.
    Item GetCellularGatewayLanItem
    Serial string
    serial path parameter.
    id String
    The provider-assigned unique ID for this managed resource.
    item GetCellularGatewayLanItem
    serial String
    serial path parameter.
    id string
    The provider-assigned unique ID for this managed resource.
    item GetCellularGatewayLanItem
    serial string
    serial path parameter.
    id str
    The provider-assigned unique ID for this managed resource.
    item GetCellularGatewayLanItem
    serial str
    serial path parameter.
    id String
    The provider-assigned unique ID for this managed resource.
    item Property Map
    serial String
    serial path parameter.

    Supporting Types

    GetCellularGatewayLanItem

    DeviceLanIp string
    Lan IP of the MG
    DeviceName string
    Name of the MG.
    DeviceSubnet string
    Subnet configuration of the MG.
    FixedIpAssignments List<GetCellularGatewayLanItemFixedIpAssignment>
    list of all fixed IP assignments for a single MG
    ReservedIpRanges List<GetCellularGatewayLanItemReservedIpRange>
    list of all reserved IP ranges for a single MG
    DeviceLanIp string
    Lan IP of the MG
    DeviceName string
    Name of the MG.
    DeviceSubnet string
    Subnet configuration of the MG.
    FixedIpAssignments []GetCellularGatewayLanItemFixedIpAssignment
    list of all fixed IP assignments for a single MG
    ReservedIpRanges []GetCellularGatewayLanItemReservedIpRange
    list of all reserved IP ranges for a single MG
    deviceLanIp String
    Lan IP of the MG
    deviceName String
    Name of the MG.
    deviceSubnet String
    Subnet configuration of the MG.
    fixedIpAssignments List<GetCellularGatewayLanItemFixedIpAssignment>
    list of all fixed IP assignments for a single MG
    reservedIpRanges List<GetCellularGatewayLanItemReservedIpRange>
    list of all reserved IP ranges for a single MG
    deviceLanIp string
    Lan IP of the MG
    deviceName string
    Name of the MG.
    deviceSubnet string
    Subnet configuration of the MG.
    fixedIpAssignments GetCellularGatewayLanItemFixedIpAssignment[]
    list of all fixed IP assignments for a single MG
    reservedIpRanges GetCellularGatewayLanItemReservedIpRange[]
    list of all reserved IP ranges for a single MG
    device_lan_ip str
    Lan IP of the MG
    device_name str
    Name of the MG.
    device_subnet str
    Subnet configuration of the MG.
    fixed_ip_assignments Sequence[GetCellularGatewayLanItemFixedIpAssignment]
    list of all fixed IP assignments for a single MG
    reserved_ip_ranges Sequence[GetCellularGatewayLanItemReservedIpRange]
    list of all reserved IP ranges for a single MG
    deviceLanIp String
    Lan IP of the MG
    deviceName String
    Name of the MG.
    deviceSubnet String
    Subnet configuration of the MG.
    fixedIpAssignments List<Property Map>
    list of all fixed IP assignments for a single MG
    reservedIpRanges List<Property Map>
    list of all reserved IP ranges for a single MG

    GetCellularGatewayLanItemFixedIpAssignment

    Ip string
    The IP address you want to assign to a specific server or device
    Mac string
    The MAC address of the server or device that hosts the internal resource that you wish to receive the specified IP address
    Name string
    A descriptive name of the assignment
    Ip string
    The IP address you want to assign to a specific server or device
    Mac string
    The MAC address of the server or device that hosts the internal resource that you wish to receive the specified IP address
    Name string
    A descriptive name of the assignment
    ip String
    The IP address you want to assign to a specific server or device
    mac String
    The MAC address of the server or device that hosts the internal resource that you wish to receive the specified IP address
    name String
    A descriptive name of the assignment
    ip string
    The IP address you want to assign to a specific server or device
    mac string
    The MAC address of the server or device that hosts the internal resource that you wish to receive the specified IP address
    name string
    A descriptive name of the assignment
    ip str
    The IP address you want to assign to a specific server or device
    mac str
    The MAC address of the server or device that hosts the internal resource that you wish to receive the specified IP address
    name str
    A descriptive name of the assignment
    ip String
    The IP address you want to assign to a specific server or device
    mac String
    The MAC address of the server or device that hosts the internal resource that you wish to receive the specified IP address
    name String
    A descriptive name of the assignment

    GetCellularGatewayLanItemReservedIpRange

    Comment string
    Comment explaining the reserved IP range
    End string
    Ending IP included in the reserved range of IPs
    Start string
    Starting IP included in the reserved range of IPs
    Comment string
    Comment explaining the reserved IP range
    End string
    Ending IP included in the reserved range of IPs
    Start string
    Starting IP included in the reserved range of IPs
    comment String
    Comment explaining the reserved IP range
    end String
    Ending IP included in the reserved range of IPs
    start String
    Starting IP included in the reserved range of IPs
    comment string
    Comment explaining the reserved IP range
    end string
    Ending IP included in the reserved range of IPs
    start string
    Starting IP included in the reserved range of IPs
    comment str
    Comment explaining the reserved IP range
    end str
    Ending IP included in the reserved range of IPs
    start str
    Starting IP included in the reserved range of IPs
    comment String
    Comment explaining the reserved IP range
    end String
    Ending IP included in the reserved range of IPs
    start String
    Starting IP included in the reserved range of IPs

    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