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

meraki.networks.getSwitchStacksRoutingInterfacesDhcp

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.networks.getSwitchStacksRoutingInterfacesDhcp({
        interfaceId: "string",
        networkId: "string",
        switchStackId: "string",
    });
    export const merakiNetworksSwitchStacksRoutingInterfacesDhcpExample = example.then(example => example.item);
    
    import pulumi
    import pulumi_meraki as meraki
    
    example = meraki.networks.get_switch_stacks_routing_interfaces_dhcp(interface_id="string",
        network_id="string",
        switch_stack_id="string")
    pulumi.export("merakiNetworksSwitchStacksRoutingInterfacesDhcpExample", example.item)
    
    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.LookupSwitchStacksRoutingInterfacesDhcp(ctx, &networks.LookupSwitchStacksRoutingInterfacesDhcpArgs{
    			InterfaceId:   "string",
    			NetworkId:     "string",
    			SwitchStackId: "string",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("merakiNetworksSwitchStacksRoutingInterfacesDhcpExample", example.Item)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Meraki = Pulumi.Meraki;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Meraki.Networks.GetSwitchStacksRoutingInterfacesDhcp.Invoke(new()
        {
            InterfaceId = "string",
            NetworkId = "string",
            SwitchStackId = "string",
        });
    
        return new Dictionary<string, object?>
        {
            ["merakiNetworksSwitchStacksRoutingInterfacesDhcpExample"] = example.Apply(getSwitchStacksRoutingInterfacesDhcpResult => getSwitchStacksRoutingInterfacesDhcpResult.Item),
        };
    });
    
    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.GetSwitchStacksRoutingInterfacesDhcpArgs;
    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.getSwitchStacksRoutingInterfacesDhcp(GetSwitchStacksRoutingInterfacesDhcpArgs.builder()
                .interfaceId("string")
                .networkId("string")
                .switchStackId("string")
                .build());
    
            ctx.export("merakiNetworksSwitchStacksRoutingInterfacesDhcpExample", example.applyValue(getSwitchStacksRoutingInterfacesDhcpResult -> getSwitchStacksRoutingInterfacesDhcpResult.item()));
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: meraki:networks:getSwitchStacksRoutingInterfacesDhcp
          Arguments:
            interfaceId: string
            networkId: string
            switchStackId: string
    outputs:
      merakiNetworksSwitchStacksRoutingInterfacesDhcpExample: ${example.item}
    

    Using getSwitchStacksRoutingInterfacesDhcp

    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 getSwitchStacksRoutingInterfacesDhcp(args: GetSwitchStacksRoutingInterfacesDhcpArgs, opts?: InvokeOptions): Promise<GetSwitchStacksRoutingInterfacesDhcpResult>
    function getSwitchStacksRoutingInterfacesDhcpOutput(args: GetSwitchStacksRoutingInterfacesDhcpOutputArgs, opts?: InvokeOptions): Output<GetSwitchStacksRoutingInterfacesDhcpResult>
    def get_switch_stacks_routing_interfaces_dhcp(interface_id: Optional[str] = None,
                                                  network_id: Optional[str] = None,
                                                  switch_stack_id: Optional[str] = None,
                                                  opts: Optional[InvokeOptions] = None) -> GetSwitchStacksRoutingInterfacesDhcpResult
    def get_switch_stacks_routing_interfaces_dhcp_output(interface_id: Optional[pulumi.Input[str]] = None,
                                                  network_id: Optional[pulumi.Input[str]] = None,
                                                  switch_stack_id: Optional[pulumi.Input[str]] = None,
                                                  opts: Optional[InvokeOptions] = None) -> Output[GetSwitchStacksRoutingInterfacesDhcpResult]
    func LookupSwitchStacksRoutingInterfacesDhcp(ctx *Context, args *LookupSwitchStacksRoutingInterfacesDhcpArgs, opts ...InvokeOption) (*LookupSwitchStacksRoutingInterfacesDhcpResult, error)
    func LookupSwitchStacksRoutingInterfacesDhcpOutput(ctx *Context, args *LookupSwitchStacksRoutingInterfacesDhcpOutputArgs, opts ...InvokeOption) LookupSwitchStacksRoutingInterfacesDhcpResultOutput

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

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

    The following arguments are supported:

    InterfaceId string
    interfaceId path parameter. Interface ID
    NetworkId string
    networkId path parameter. Network ID
    SwitchStackId string
    switchStackId path parameter. Switch stack ID
    InterfaceId string
    interfaceId path parameter. Interface ID
    NetworkId string
    networkId path parameter. Network ID
    SwitchStackId string
    switchStackId path parameter. Switch stack ID
    interfaceId String
    interfaceId path parameter. Interface ID
    networkId String
    networkId path parameter. Network ID
    switchStackId String
    switchStackId path parameter. Switch stack ID
    interfaceId string
    interfaceId path parameter. Interface ID
    networkId string
    networkId path parameter. Network ID
    switchStackId string
    switchStackId path parameter. Switch stack ID
    interface_id str
    interfaceId path parameter. Interface ID
    network_id str
    networkId path parameter. Network ID
    switch_stack_id str
    switchStackId path parameter. Switch stack ID
    interfaceId String
    interfaceId path parameter. Interface ID
    networkId String
    networkId path parameter. Network ID
    switchStackId String
    switchStackId path parameter. Switch stack ID

    getSwitchStacksRoutingInterfacesDhcp Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    InterfaceId string
    interfaceId path parameter. Interface ID
    Item GetSwitchStacksRoutingInterfacesDhcpItem
    NetworkId string
    networkId path parameter. Network ID
    SwitchStackId string
    switchStackId path parameter. Switch stack ID
    Id string
    The provider-assigned unique ID for this managed resource.
    InterfaceId string
    interfaceId path parameter. Interface ID
    Item GetSwitchStacksRoutingInterfacesDhcpItem
    NetworkId string
    networkId path parameter. Network ID
    SwitchStackId string
    switchStackId path parameter. Switch stack ID
    id String
    The provider-assigned unique ID for this managed resource.
    interfaceId String
    interfaceId path parameter. Interface ID
    item GetSwitchStacksRoutingInterfacesDhcpItem
    networkId String
    networkId path parameter. Network ID
    switchStackId String
    switchStackId path parameter. Switch stack ID
    id string
    The provider-assigned unique ID for this managed resource.
    interfaceId string
    interfaceId path parameter. Interface ID
    item GetSwitchStacksRoutingInterfacesDhcpItem
    networkId string
    networkId path parameter. Network ID
    switchStackId string
    switchStackId path parameter. Switch stack ID
    id str
    The provider-assigned unique ID for this managed resource.
    interface_id str
    interfaceId path parameter. Interface ID
    item GetSwitchStacksRoutingInterfacesDhcpItem
    network_id str
    networkId path parameter. Network ID
    switch_stack_id str
    switchStackId path parameter. Switch stack ID
    id String
    The provider-assigned unique ID for this managed resource.
    interfaceId String
    interfaceId path parameter. Interface ID
    item Property Map
    networkId String
    networkId path parameter. Network ID
    switchStackId String
    switchStackId path parameter. Switch stack ID

    Supporting Types

    GetSwitchStacksRoutingInterfacesDhcpItem

    BootFileName string
    The PXE boot server file name for the DHCP server running on the switch stack interface
    BootNextServer string
    The PXE boot server IP for the DHCP server running on the switch stack interface
    BootOptionsEnabled bool
    Enable DHCP boot options to provide PXE boot options configs for the dhcp server running on the switch stack interface
    DhcpLeaseTime string
    The DHCP lease time config for the dhcp server running on the switch stack interface ('30 minutes', '1 hour', '4 hours', '12 hours', '1 day' or '1 week')
    DhcpMode string
    The DHCP mode options for the switch stack interface ('dhcpDisabled', 'dhcpRelay' or 'dhcpServer')
    DhcpOptions List<GetSwitchStacksRoutingInterfacesDhcpItemDhcpOption>
    Array of DHCP options consisting of code, type and value for the DHCP server running on the switch stack interface
    DhcpRelayServerIps List<string>
    The DHCP relay server IPs to which DHCP packets would get relayed for the switch stack interface
    DnsCustomNameservers List<string>
    The DHCP name server IPs when DHCP name server option is 'custom'
    DnsNameserversOption string
    The DHCP name server option for the dhcp server running on the switch stack interface ('googlePublicDns', 'openDns' or 'custom')
    FixedIpAssignments List<GetSwitchStacksRoutingInterfacesDhcpItemFixedIpAssignment>
    Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface
    ReservedIpRanges List<GetSwitchStacksRoutingInterfacesDhcpItemReservedIpRange>
    Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface
    BootFileName string
    The PXE boot server file name for the DHCP server running on the switch stack interface
    BootNextServer string
    The PXE boot server IP for the DHCP server running on the switch stack interface
    BootOptionsEnabled bool
    Enable DHCP boot options to provide PXE boot options configs for the dhcp server running on the switch stack interface
    DhcpLeaseTime string
    The DHCP lease time config for the dhcp server running on the switch stack interface ('30 minutes', '1 hour', '4 hours', '12 hours', '1 day' or '1 week')
    DhcpMode string
    The DHCP mode options for the switch stack interface ('dhcpDisabled', 'dhcpRelay' or 'dhcpServer')
    DhcpOptions []GetSwitchStacksRoutingInterfacesDhcpItemDhcpOption
    Array of DHCP options consisting of code, type and value for the DHCP server running on the switch stack interface
    DhcpRelayServerIps []string
    The DHCP relay server IPs to which DHCP packets would get relayed for the switch stack interface
    DnsCustomNameservers []string
    The DHCP name server IPs when DHCP name server option is 'custom'
    DnsNameserversOption string
    The DHCP name server option for the dhcp server running on the switch stack interface ('googlePublicDns', 'openDns' or 'custom')
    FixedIpAssignments []GetSwitchStacksRoutingInterfacesDhcpItemFixedIpAssignment
    Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface
    ReservedIpRanges []GetSwitchStacksRoutingInterfacesDhcpItemReservedIpRange
    Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface
    bootFileName String
    The PXE boot server file name for the DHCP server running on the switch stack interface
    bootNextServer String
    The PXE boot server IP for the DHCP server running on the switch stack interface
    bootOptionsEnabled Boolean
    Enable DHCP boot options to provide PXE boot options configs for the dhcp server running on the switch stack interface
    dhcpLeaseTime String
    The DHCP lease time config for the dhcp server running on the switch stack interface ('30 minutes', '1 hour', '4 hours', '12 hours', '1 day' or '1 week')
    dhcpMode String
    The DHCP mode options for the switch stack interface ('dhcpDisabled', 'dhcpRelay' or 'dhcpServer')
    dhcpOptions List<GetSwitchStacksRoutingInterfacesDhcpItemDhcpOption>
    Array of DHCP options consisting of code, type and value for the DHCP server running on the switch stack interface
    dhcpRelayServerIps List<String>
    The DHCP relay server IPs to which DHCP packets would get relayed for the switch stack interface
    dnsCustomNameservers List<String>
    The DHCP name server IPs when DHCP name server option is 'custom'
    dnsNameserversOption String
    The DHCP name server option for the dhcp server running on the switch stack interface ('googlePublicDns', 'openDns' or 'custom')
    fixedIpAssignments List<GetSwitchStacksRoutingInterfacesDhcpItemFixedIpAssignment>
    Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface
    reservedIpRanges List<GetSwitchStacksRoutingInterfacesDhcpItemReservedIpRange>
    Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface
    bootFileName string
    The PXE boot server file name for the DHCP server running on the switch stack interface
    bootNextServer string
    The PXE boot server IP for the DHCP server running on the switch stack interface
    bootOptionsEnabled boolean
    Enable DHCP boot options to provide PXE boot options configs for the dhcp server running on the switch stack interface
    dhcpLeaseTime string
    The DHCP lease time config for the dhcp server running on the switch stack interface ('30 minutes', '1 hour', '4 hours', '12 hours', '1 day' or '1 week')
    dhcpMode string
    The DHCP mode options for the switch stack interface ('dhcpDisabled', 'dhcpRelay' or 'dhcpServer')
    dhcpOptions GetSwitchStacksRoutingInterfacesDhcpItemDhcpOption[]
    Array of DHCP options consisting of code, type and value for the DHCP server running on the switch stack interface
    dhcpRelayServerIps string[]
    The DHCP relay server IPs to which DHCP packets would get relayed for the switch stack interface
    dnsCustomNameservers string[]
    The DHCP name server IPs when DHCP name server option is 'custom'
    dnsNameserversOption string
    The DHCP name server option for the dhcp server running on the switch stack interface ('googlePublicDns', 'openDns' or 'custom')
    fixedIpAssignments GetSwitchStacksRoutingInterfacesDhcpItemFixedIpAssignment[]
    Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface
    reservedIpRanges GetSwitchStacksRoutingInterfacesDhcpItemReservedIpRange[]
    Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface
    boot_file_name str
    The PXE boot server file name for the DHCP server running on the switch stack interface
    boot_next_server str
    The PXE boot server IP for the DHCP server running on the switch stack interface
    boot_options_enabled bool
    Enable DHCP boot options to provide PXE boot options configs for the dhcp server running on the switch stack interface
    dhcp_lease_time str
    The DHCP lease time config for the dhcp server running on the switch stack interface ('30 minutes', '1 hour', '4 hours', '12 hours', '1 day' or '1 week')
    dhcp_mode str
    The DHCP mode options for the switch stack interface ('dhcpDisabled', 'dhcpRelay' or 'dhcpServer')
    dhcp_options Sequence[GetSwitchStacksRoutingInterfacesDhcpItemDhcpOption]
    Array of DHCP options consisting of code, type and value for the DHCP server running on the switch stack interface
    dhcp_relay_server_ips Sequence[str]
    The DHCP relay server IPs to which DHCP packets would get relayed for the switch stack interface
    dns_custom_nameservers Sequence[str]
    The DHCP name server IPs when DHCP name server option is 'custom'
    dns_nameservers_option str
    The DHCP name server option for the dhcp server running on the switch stack interface ('googlePublicDns', 'openDns' or 'custom')
    fixed_ip_assignments Sequence[GetSwitchStacksRoutingInterfacesDhcpItemFixedIpAssignment]
    Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface
    reserved_ip_ranges Sequence[GetSwitchStacksRoutingInterfacesDhcpItemReservedIpRange]
    Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface
    bootFileName String
    The PXE boot server file name for the DHCP server running on the switch stack interface
    bootNextServer String
    The PXE boot server IP for the DHCP server running on the switch stack interface
    bootOptionsEnabled Boolean
    Enable DHCP boot options to provide PXE boot options configs for the dhcp server running on the switch stack interface
    dhcpLeaseTime String
    The DHCP lease time config for the dhcp server running on the switch stack interface ('30 minutes', '1 hour', '4 hours', '12 hours', '1 day' or '1 week')
    dhcpMode String
    The DHCP mode options for the switch stack interface ('dhcpDisabled', 'dhcpRelay' or 'dhcpServer')
    dhcpOptions List<Property Map>
    Array of DHCP options consisting of code, type and value for the DHCP server running on the switch stack interface
    dhcpRelayServerIps List<String>
    The DHCP relay server IPs to which DHCP packets would get relayed for the switch stack interface
    dnsCustomNameservers List<String>
    The DHCP name server IPs when DHCP name server option is 'custom'
    dnsNameserversOption String
    The DHCP name server option for the dhcp server running on the switch stack interface ('googlePublicDns', 'openDns' or 'custom')
    fixedIpAssignments List<Property Map>
    Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface
    reservedIpRanges List<Property Map>
    Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface

    GetSwitchStacksRoutingInterfacesDhcpItemDhcpOption

    Code string
    The code for DHCP option which should be from 2 to 254
    Type string
    The type of the DHCP option which should be one of ('text', 'ip', 'integer' or 'hex')
    Value string
    The value of the DHCP option
    Code string
    The code for DHCP option which should be from 2 to 254
    Type string
    The type of the DHCP option which should be one of ('text', 'ip', 'integer' or 'hex')
    Value string
    The value of the DHCP option
    code String
    The code for DHCP option which should be from 2 to 254
    type String
    The type of the DHCP option which should be one of ('text', 'ip', 'integer' or 'hex')
    value String
    The value of the DHCP option
    code string
    The code for DHCP option which should be from 2 to 254
    type string
    The type of the DHCP option which should be one of ('text', 'ip', 'integer' or 'hex')
    value string
    The value of the DHCP option
    code str
    The code for DHCP option which should be from 2 to 254
    type str
    The type of the DHCP option which should be one of ('text', 'ip', 'integer' or 'hex')
    value str
    The value of the DHCP option
    code String
    The code for DHCP option which should be from 2 to 254
    type String
    The type of the DHCP option which should be one of ('text', 'ip', 'integer' or 'hex')
    value String
    The value of the DHCP option

    GetSwitchStacksRoutingInterfacesDhcpItemFixedIpAssignment

    Ip string
    The IP address of the client which has fixed IP address assigned to it
    Mac string
    The MAC address of the client which has fixed IP address
    Name string
    The name of the client which has fixed IP address
    Ip string
    The IP address of the client which has fixed IP address assigned to it
    Mac string
    The MAC address of the client which has fixed IP address
    Name string
    The name of the client which has fixed IP address
    ip String
    The IP address of the client which has fixed IP address assigned to it
    mac String
    The MAC address of the client which has fixed IP address
    name String
    The name of the client which has fixed IP address
    ip string
    The IP address of the client which has fixed IP address assigned to it
    mac string
    The MAC address of the client which has fixed IP address
    name string
    The name of the client which has fixed IP address
    ip str
    The IP address of the client which has fixed IP address assigned to it
    mac str
    The MAC address of the client which has fixed IP address
    name str
    The name of the client which has fixed IP address
    ip String
    The IP address of the client which has fixed IP address assigned to it
    mac String
    The MAC address of the client which has fixed IP address
    name String
    The name of the client which has fixed IP address

    GetSwitchStacksRoutingInterfacesDhcpItemReservedIpRange

    Comment string
    The comment for the reserved IP range
    End string
    The ending IP address of the reserved IP range
    Start string
    The starting IP address of the reserved IP range
    Comment string
    The comment for the reserved IP range
    End string
    The ending IP address of the reserved IP range
    Start string
    The starting IP address of the reserved IP range
    comment String
    The comment for the reserved IP range
    end String
    The ending IP address of the reserved IP range
    start String
    The starting IP address of the reserved IP range
    comment string
    The comment for the reserved IP range
    end string
    The ending IP address of the reserved IP range
    start string
    The starting IP address of the reserved IP range
    comment str
    The comment for the reserved IP range
    end str
    The ending IP address of the reserved IP range
    start str
    The starting IP address of the reserved IP range
    comment String
    The comment for the reserved IP range
    end String
    The ending IP address of the reserved IP range
    start String
    The starting IP address of the reserved IP range

    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