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

meraki.networks.SwitchStacksRoutingInterfacesDhcp

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 = new meraki.networks.SwitchStacksRoutingInterfacesDhcp("example", {
        bootFileName: "home_boot_file",
        bootNextServer: "1.2.3.4",
        bootOptionsEnabled: true,
        dhcpLeaseTime: "1 day",
        dhcpMode: "dhcpServer",
        dhcpOptions: [{
            code: "5",
            type: "text",
            value: "five",
        }],
        dhcpRelayServerIps: ["1.2.3.4"],
        dnsCustomNameservers: ["8.8.8.8, 8.8.4.4"],
        dnsNameserversOption: "custom",
        fixedIpAssignments: [{
            ip: "192.168.1.12",
            mac: "22:33:44:55:66:77",
            name: "Cisco Meraki valued client",
        }],
        interfaceId: "string",
        networkId: "string",
        reservedIpRanges: [{
            comment: "A reserved IP range",
            end: "192.168.1.10",
            start: "192.168.1.1",
        }],
        switchStackId: "string",
    });
    export const merakiNetworksSwitchStacksRoutingInterfacesDhcpExample = example;
    
    import pulumi
    import pulumi_meraki as meraki
    
    example = meraki.networks.SwitchStacksRoutingInterfacesDhcp("example",
        boot_file_name="home_boot_file",
        boot_next_server="1.2.3.4",
        boot_options_enabled=True,
        dhcp_lease_time="1 day",
        dhcp_mode="dhcpServer",
        dhcp_options=[meraki.networks.SwitchStacksRoutingInterfacesDhcpDhcpOptionArgs(
            code="5",
            type="text",
            value="five",
        )],
        dhcp_relay_server_ips=["1.2.3.4"],
        dns_custom_nameservers=["8.8.8.8, 8.8.4.4"],
        dns_nameservers_option="custom",
        fixed_ip_assignments=[meraki.networks.SwitchStacksRoutingInterfacesDhcpFixedIpAssignmentArgs(
            ip="192.168.1.12",
            mac="22:33:44:55:66:77",
            name="Cisco Meraki valued client",
        )],
        interface_id="string",
        network_id="string",
        reserved_ip_ranges=[meraki.networks.SwitchStacksRoutingInterfacesDhcpReservedIpRangeArgs(
            comment="A reserved IP range",
            end="192.168.1.10",
            start="192.168.1.1",
        )],
        switch_stack_id="string")
    pulumi.export("merakiNetworksSwitchStacksRoutingInterfacesDhcpExample", example)
    
    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.NewSwitchStacksRoutingInterfacesDhcp(ctx, "example", &networks.SwitchStacksRoutingInterfacesDhcpArgs{
    			BootFileName:       pulumi.String("home_boot_file"),
    			BootNextServer:     pulumi.String("1.2.3.4"),
    			BootOptionsEnabled: pulumi.Bool(true),
    			DhcpLeaseTime:      pulumi.String("1 day"),
    			DhcpMode:           pulumi.String("dhcpServer"),
    			DhcpOptions: networks.SwitchStacksRoutingInterfacesDhcpDhcpOptionArray{
    				&networks.SwitchStacksRoutingInterfacesDhcpDhcpOptionArgs{
    					Code:  pulumi.String("5"),
    					Type:  pulumi.String("text"),
    					Value: pulumi.String("five"),
    				},
    			},
    			DhcpRelayServerIps: pulumi.StringArray{
    				pulumi.String("1.2.3.4"),
    			},
    			DnsCustomNameservers: pulumi.StringArray{
    				pulumi.String("8.8.8.8, 8.8.4.4"),
    			},
    			DnsNameserversOption: pulumi.String("custom"),
    			FixedIpAssignments: networks.SwitchStacksRoutingInterfacesDhcpFixedIpAssignmentArray{
    				&networks.SwitchStacksRoutingInterfacesDhcpFixedIpAssignmentArgs{
    					Ip:   pulumi.String("192.168.1.12"),
    					Mac:  pulumi.String("22:33:44:55:66:77"),
    					Name: pulumi.String("Cisco Meraki valued client"),
    				},
    			},
    			InterfaceId: pulumi.String("string"),
    			NetworkId:   pulumi.String("string"),
    			ReservedIpRanges: networks.SwitchStacksRoutingInterfacesDhcpReservedIpRangeArray{
    				&networks.SwitchStacksRoutingInterfacesDhcpReservedIpRangeArgs{
    					Comment: pulumi.String("A reserved IP range"),
    					End:     pulumi.String("192.168.1.10"),
    					Start:   pulumi.String("192.168.1.1"),
    				},
    			},
    			SwitchStackId: pulumi.String("string"),
    		})
    		if err != nil {
    			return err
    		}
    		ctx.Export("merakiNetworksSwitchStacksRoutingInterfacesDhcpExample", example)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Meraki = Pulumi.Meraki;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Meraki.Networks.SwitchStacksRoutingInterfacesDhcp("example", new()
        {
            BootFileName = "home_boot_file",
            BootNextServer = "1.2.3.4",
            BootOptionsEnabled = true,
            DhcpLeaseTime = "1 day",
            DhcpMode = "dhcpServer",
            DhcpOptions = new[]
            {
                new Meraki.Networks.Inputs.SwitchStacksRoutingInterfacesDhcpDhcpOptionArgs
                {
                    Code = "5",
                    Type = "text",
                    Value = "five",
                },
            },
            DhcpRelayServerIps = new[]
            {
                "1.2.3.4",
            },
            DnsCustomNameservers = new[]
            {
                "8.8.8.8, 8.8.4.4",
            },
            DnsNameserversOption = "custom",
            FixedIpAssignments = new[]
            {
                new Meraki.Networks.Inputs.SwitchStacksRoutingInterfacesDhcpFixedIpAssignmentArgs
                {
                    Ip = "192.168.1.12",
                    Mac = "22:33:44:55:66:77",
                    Name = "Cisco Meraki valued client",
                },
            },
            InterfaceId = "string",
            NetworkId = "string",
            ReservedIpRanges = new[]
            {
                new Meraki.Networks.Inputs.SwitchStacksRoutingInterfacesDhcpReservedIpRangeArgs
                {
                    Comment = "A reserved IP range",
                    End = "192.168.1.10",
                    Start = "192.168.1.1",
                },
            },
            SwitchStackId = "string",
        });
    
        return new Dictionary<string, object?>
        {
            ["merakiNetworksSwitchStacksRoutingInterfacesDhcpExample"] = example,
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.meraki.networks.SwitchStacksRoutingInterfacesDhcp;
    import com.pulumi.meraki.networks.SwitchStacksRoutingInterfacesDhcpArgs;
    import com.pulumi.meraki.networks.inputs.SwitchStacksRoutingInterfacesDhcpDhcpOptionArgs;
    import com.pulumi.meraki.networks.inputs.SwitchStacksRoutingInterfacesDhcpFixedIpAssignmentArgs;
    import com.pulumi.meraki.networks.inputs.SwitchStacksRoutingInterfacesDhcpReservedIpRangeArgs;
    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) {
            var example = new SwitchStacksRoutingInterfacesDhcp("example", SwitchStacksRoutingInterfacesDhcpArgs.builder()
                .bootFileName("home_boot_file")
                .bootNextServer("1.2.3.4")
                .bootOptionsEnabled(true)
                .dhcpLeaseTime("1 day")
                .dhcpMode("dhcpServer")
                .dhcpOptions(SwitchStacksRoutingInterfacesDhcpDhcpOptionArgs.builder()
                    .code("5")
                    .type("text")
                    .value("five")
                    .build())
                .dhcpRelayServerIps("1.2.3.4")
                .dnsCustomNameservers("8.8.8.8, 8.8.4.4")
                .dnsNameserversOption("custom")
                .fixedIpAssignments(SwitchStacksRoutingInterfacesDhcpFixedIpAssignmentArgs.builder()
                    .ip("192.168.1.12")
                    .mac("22:33:44:55:66:77")
                    .name("Cisco Meraki valued client")
                    .build())
                .interfaceId("string")
                .networkId("string")
                .reservedIpRanges(SwitchStacksRoutingInterfacesDhcpReservedIpRangeArgs.builder()
                    .comment("A reserved IP range")
                    .end("192.168.1.10")
                    .start("192.168.1.1")
                    .build())
                .switchStackId("string")
                .build());
    
            ctx.export("merakiNetworksSwitchStacksRoutingInterfacesDhcpExample", example);
        }
    }
    
    resources:
      example:
        type: meraki:networks:SwitchStacksRoutingInterfacesDhcp
        properties:
          bootFileName: home_boot_file
          bootNextServer: 1.2.3.4
          bootOptionsEnabled: true
          dhcpLeaseTime: 1 day
          dhcpMode: dhcpServer
          dhcpOptions:
            - code: '5'
              type: text
              value: five
          dhcpRelayServerIps:
            - 1.2.3.4
          dnsCustomNameservers:
            - 8.8.8.8, 8.8.4.4
          dnsNameserversOption: custom
          fixedIpAssignments:
            - ip: 192.168.1.12
              mac: 22:33:44:55:66:77
              name: Cisco Meraki valued client
          interfaceId: string
          networkId: string
          reservedIpRanges:
            - comment: A reserved IP range
              end: 192.168.1.10
              start: 192.168.1.1
          switchStackId: string
    outputs:
      merakiNetworksSwitchStacksRoutingInterfacesDhcpExample: ${example}
    

    Create SwitchStacksRoutingInterfacesDhcp Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new SwitchStacksRoutingInterfacesDhcp(name: string, args: SwitchStacksRoutingInterfacesDhcpArgs, opts?: CustomResourceOptions);
    @overload
    def SwitchStacksRoutingInterfacesDhcp(resource_name: str,
                                          args: SwitchStacksRoutingInterfacesDhcpArgs,
                                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def SwitchStacksRoutingInterfacesDhcp(resource_name: str,
                                          opts: Optional[ResourceOptions] = None,
                                          interface_id: Optional[str] = None,
                                          switch_stack_id: Optional[str] = None,
                                          network_id: Optional[str] = None,
                                          dhcp_relay_server_ips: Optional[Sequence[str]] = None,
                                          dhcp_mode: Optional[str] = None,
                                          dhcp_options: Optional[Sequence[SwitchStacksRoutingInterfacesDhcpDhcpOptionArgs]] = None,
                                          boot_file_name: Optional[str] = None,
                                          dns_custom_nameservers: Optional[Sequence[str]] = None,
                                          dns_nameservers_option: Optional[str] = None,
                                          fixed_ip_assignments: Optional[Sequence[SwitchStacksRoutingInterfacesDhcpFixedIpAssignmentArgs]] = None,
                                          dhcp_lease_time: Optional[str] = None,
                                          boot_options_enabled: Optional[bool] = None,
                                          reserved_ip_ranges: Optional[Sequence[SwitchStacksRoutingInterfacesDhcpReservedIpRangeArgs]] = None,
                                          boot_next_server: Optional[str] = None)
    func NewSwitchStacksRoutingInterfacesDhcp(ctx *Context, name string, args SwitchStacksRoutingInterfacesDhcpArgs, opts ...ResourceOption) (*SwitchStacksRoutingInterfacesDhcp, error)
    public SwitchStacksRoutingInterfacesDhcp(string name, SwitchStacksRoutingInterfacesDhcpArgs args, CustomResourceOptions? opts = null)
    public SwitchStacksRoutingInterfacesDhcp(String name, SwitchStacksRoutingInterfacesDhcpArgs args)
    public SwitchStacksRoutingInterfacesDhcp(String name, SwitchStacksRoutingInterfacesDhcpArgs args, CustomResourceOptions options)
    
    type: meraki:networks:SwitchStacksRoutingInterfacesDhcp
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args SwitchStacksRoutingInterfacesDhcpArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args SwitchStacksRoutingInterfacesDhcpArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args SwitchStacksRoutingInterfacesDhcpArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SwitchStacksRoutingInterfacesDhcpArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SwitchStacksRoutingInterfacesDhcpArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var switchStacksRoutingInterfacesDhcpResource = new Meraki.Networks.SwitchStacksRoutingInterfacesDhcp("switchStacksRoutingInterfacesDhcpResource", new()
    {
        InterfaceId = "string",
        SwitchStackId = "string",
        NetworkId = "string",
        DhcpRelayServerIps = new[]
        {
            "string",
        },
        DhcpMode = "string",
        DhcpOptions = new[]
        {
            new Meraki.Networks.Inputs.SwitchStacksRoutingInterfacesDhcpDhcpOptionArgs
            {
                Code = "string",
                Type = "string",
                Value = "string",
            },
        },
        BootFileName = "string",
        DnsCustomNameservers = new[]
        {
            "string",
        },
        DnsNameserversOption = "string",
        FixedIpAssignments = new[]
        {
            new Meraki.Networks.Inputs.SwitchStacksRoutingInterfacesDhcpFixedIpAssignmentArgs
            {
                Ip = "string",
                Mac = "string",
                Name = "string",
            },
        },
        DhcpLeaseTime = "string",
        BootOptionsEnabled = false,
        ReservedIpRanges = new[]
        {
            new Meraki.Networks.Inputs.SwitchStacksRoutingInterfacesDhcpReservedIpRangeArgs
            {
                Comment = "string",
                End = "string",
                Start = "string",
            },
        },
        BootNextServer = "string",
    });
    
    example, err := networks.NewSwitchStacksRoutingInterfacesDhcp(ctx, "switchStacksRoutingInterfacesDhcpResource", &networks.SwitchStacksRoutingInterfacesDhcpArgs{
    	InterfaceId:   pulumi.String("string"),
    	SwitchStackId: pulumi.String("string"),
    	NetworkId:     pulumi.String("string"),
    	DhcpRelayServerIps: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	DhcpMode: pulumi.String("string"),
    	DhcpOptions: networks.SwitchStacksRoutingInterfacesDhcpDhcpOptionArray{
    		&networks.SwitchStacksRoutingInterfacesDhcpDhcpOptionArgs{
    			Code:  pulumi.String("string"),
    			Type:  pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    	BootFileName: pulumi.String("string"),
    	DnsCustomNameservers: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	DnsNameserversOption: pulumi.String("string"),
    	FixedIpAssignments: networks.SwitchStacksRoutingInterfacesDhcpFixedIpAssignmentArray{
    		&networks.SwitchStacksRoutingInterfacesDhcpFixedIpAssignmentArgs{
    			Ip:   pulumi.String("string"),
    			Mac:  pulumi.String("string"),
    			Name: pulumi.String("string"),
    		},
    	},
    	DhcpLeaseTime:      pulumi.String("string"),
    	BootOptionsEnabled: pulumi.Bool(false),
    	ReservedIpRanges: networks.SwitchStacksRoutingInterfacesDhcpReservedIpRangeArray{
    		&networks.SwitchStacksRoutingInterfacesDhcpReservedIpRangeArgs{
    			Comment: pulumi.String("string"),
    			End:     pulumi.String("string"),
    			Start:   pulumi.String("string"),
    		},
    	},
    	BootNextServer: pulumi.String("string"),
    })
    
    var switchStacksRoutingInterfacesDhcpResource = new SwitchStacksRoutingInterfacesDhcp("switchStacksRoutingInterfacesDhcpResource", SwitchStacksRoutingInterfacesDhcpArgs.builder()
        .interfaceId("string")
        .switchStackId("string")
        .networkId("string")
        .dhcpRelayServerIps("string")
        .dhcpMode("string")
        .dhcpOptions(SwitchStacksRoutingInterfacesDhcpDhcpOptionArgs.builder()
            .code("string")
            .type("string")
            .value("string")
            .build())
        .bootFileName("string")
        .dnsCustomNameservers("string")
        .dnsNameserversOption("string")
        .fixedIpAssignments(SwitchStacksRoutingInterfacesDhcpFixedIpAssignmentArgs.builder()
            .ip("string")
            .mac("string")
            .name("string")
            .build())
        .dhcpLeaseTime("string")
        .bootOptionsEnabled(false)
        .reservedIpRanges(SwitchStacksRoutingInterfacesDhcpReservedIpRangeArgs.builder()
            .comment("string")
            .end("string")
            .start("string")
            .build())
        .bootNextServer("string")
        .build());
    
    switch_stacks_routing_interfaces_dhcp_resource = meraki.networks.SwitchStacksRoutingInterfacesDhcp("switchStacksRoutingInterfacesDhcpResource",
        interface_id="string",
        switch_stack_id="string",
        network_id="string",
        dhcp_relay_server_ips=["string"],
        dhcp_mode="string",
        dhcp_options=[meraki.networks.SwitchStacksRoutingInterfacesDhcpDhcpOptionArgs(
            code="string",
            type="string",
            value="string",
        )],
        boot_file_name="string",
        dns_custom_nameservers=["string"],
        dns_nameservers_option="string",
        fixed_ip_assignments=[meraki.networks.SwitchStacksRoutingInterfacesDhcpFixedIpAssignmentArgs(
            ip="string",
            mac="string",
            name="string",
        )],
        dhcp_lease_time="string",
        boot_options_enabled=False,
        reserved_ip_ranges=[meraki.networks.SwitchStacksRoutingInterfacesDhcpReservedIpRangeArgs(
            comment="string",
            end="string",
            start="string",
        )],
        boot_next_server="string")
    
    const switchStacksRoutingInterfacesDhcpResource = new meraki.networks.SwitchStacksRoutingInterfacesDhcp("switchStacksRoutingInterfacesDhcpResource", {
        interfaceId: "string",
        switchStackId: "string",
        networkId: "string",
        dhcpRelayServerIps: ["string"],
        dhcpMode: "string",
        dhcpOptions: [{
            code: "string",
            type: "string",
            value: "string",
        }],
        bootFileName: "string",
        dnsCustomNameservers: ["string"],
        dnsNameserversOption: "string",
        fixedIpAssignments: [{
            ip: "string",
            mac: "string",
            name: "string",
        }],
        dhcpLeaseTime: "string",
        bootOptionsEnabled: false,
        reservedIpRanges: [{
            comment: "string",
            end: "string",
            start: "string",
        }],
        bootNextServer: "string",
    });
    
    type: meraki:networks:SwitchStacksRoutingInterfacesDhcp
    properties:
        bootFileName: string
        bootNextServer: string
        bootOptionsEnabled: false
        dhcpLeaseTime: string
        dhcpMode: string
        dhcpOptions:
            - code: string
              type: string
              value: string
        dhcpRelayServerIps:
            - string
        dnsCustomNameservers:
            - string
        dnsNameserversOption: string
        fixedIpAssignments:
            - ip: string
              mac: string
              name: string
        interfaceId: string
        networkId: string
        reservedIpRanges:
            - comment: string
              end: string
              start: string
        switchStackId: string
    

    SwitchStacksRoutingInterfacesDhcp Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The SwitchStacksRoutingInterfacesDhcp resource accepts the following input properties:

    InterfaceId string
    interfaceId path parameter. Interface ID
    NetworkId string
    networkId path parameter. Network ID
    SwitchStackId string
    switchStackId path parameter. Switch stack ID
    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<SwitchStacksRoutingInterfacesDhcpDhcpOption>
    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<SwitchStacksRoutingInterfacesDhcpFixedIpAssignment>
    Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface
    ReservedIpRanges List<SwitchStacksRoutingInterfacesDhcpReservedIpRange>
    Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface
    InterfaceId string
    interfaceId path parameter. Interface ID
    NetworkId string
    networkId path parameter. Network ID
    SwitchStackId string
    switchStackId path parameter. Switch stack ID
    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 []SwitchStacksRoutingInterfacesDhcpDhcpOptionArgs
    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 []SwitchStacksRoutingInterfacesDhcpFixedIpAssignmentArgs
    Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface
    ReservedIpRanges []SwitchStacksRoutingInterfacesDhcpReservedIpRangeArgs
    Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface
    interfaceId String
    interfaceId path parameter. Interface ID
    networkId String
    networkId path parameter. Network ID
    switchStackId String
    switchStackId path parameter. Switch stack ID
    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<SwitchStacksRoutingInterfacesDhcpDhcpOption>
    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<SwitchStacksRoutingInterfacesDhcpFixedIpAssignment>
    Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface
    reservedIpRanges List<SwitchStacksRoutingInterfacesDhcpReservedIpRange>
    Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface
    interfaceId string
    interfaceId path parameter. Interface ID
    networkId string
    networkId path parameter. Network ID
    switchStackId string
    switchStackId path parameter. Switch stack ID
    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 SwitchStacksRoutingInterfacesDhcpDhcpOption[]
    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 SwitchStacksRoutingInterfacesDhcpFixedIpAssignment[]
    Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface
    reservedIpRanges SwitchStacksRoutingInterfacesDhcpReservedIpRange[]
    Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface
    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
    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[SwitchStacksRoutingInterfacesDhcpDhcpOptionArgs]
    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[SwitchStacksRoutingInterfacesDhcpFixedIpAssignmentArgs]
    Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface
    reserved_ip_ranges Sequence[SwitchStacksRoutingInterfacesDhcpReservedIpRangeArgs]
    Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface
    interfaceId String
    interfaceId path parameter. Interface ID
    networkId String
    networkId path parameter. Network ID
    switchStackId String
    switchStackId path parameter. Switch stack ID
    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

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SwitchStacksRoutingInterfacesDhcp resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing SwitchStacksRoutingInterfacesDhcp Resource

    Get an existing SwitchStacksRoutingInterfacesDhcp resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: SwitchStacksRoutingInterfacesDhcpState, opts?: CustomResourceOptions): SwitchStacksRoutingInterfacesDhcp
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            boot_file_name: Optional[str] = None,
            boot_next_server: Optional[str] = None,
            boot_options_enabled: Optional[bool] = None,
            dhcp_lease_time: Optional[str] = None,
            dhcp_mode: Optional[str] = None,
            dhcp_options: Optional[Sequence[SwitchStacksRoutingInterfacesDhcpDhcpOptionArgs]] = None,
            dhcp_relay_server_ips: Optional[Sequence[str]] = None,
            dns_custom_nameservers: Optional[Sequence[str]] = None,
            dns_nameservers_option: Optional[str] = None,
            fixed_ip_assignments: Optional[Sequence[SwitchStacksRoutingInterfacesDhcpFixedIpAssignmentArgs]] = None,
            interface_id: Optional[str] = None,
            network_id: Optional[str] = None,
            reserved_ip_ranges: Optional[Sequence[SwitchStacksRoutingInterfacesDhcpReservedIpRangeArgs]] = None,
            switch_stack_id: Optional[str] = None) -> SwitchStacksRoutingInterfacesDhcp
    func GetSwitchStacksRoutingInterfacesDhcp(ctx *Context, name string, id IDInput, state *SwitchStacksRoutingInterfacesDhcpState, opts ...ResourceOption) (*SwitchStacksRoutingInterfacesDhcp, error)
    public static SwitchStacksRoutingInterfacesDhcp Get(string name, Input<string> id, SwitchStacksRoutingInterfacesDhcpState? state, CustomResourceOptions? opts = null)
    public static SwitchStacksRoutingInterfacesDhcp get(String name, Output<String> id, SwitchStacksRoutingInterfacesDhcpState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    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<SwitchStacksRoutingInterfacesDhcpDhcpOption>
    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<SwitchStacksRoutingInterfacesDhcpFixedIpAssignment>
    Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface
    InterfaceId string
    interfaceId path parameter. Interface ID
    NetworkId string
    networkId path parameter. Network ID
    ReservedIpRanges List<SwitchStacksRoutingInterfacesDhcpReservedIpRange>
    Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface
    SwitchStackId string
    switchStackId path parameter. Switch stack ID
    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 []SwitchStacksRoutingInterfacesDhcpDhcpOptionArgs
    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 []SwitchStacksRoutingInterfacesDhcpFixedIpAssignmentArgs
    Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface
    InterfaceId string
    interfaceId path parameter. Interface ID
    NetworkId string
    networkId path parameter. Network ID
    ReservedIpRanges []SwitchStacksRoutingInterfacesDhcpReservedIpRangeArgs
    Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface
    SwitchStackId string
    switchStackId path parameter. Switch stack ID
    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<SwitchStacksRoutingInterfacesDhcpDhcpOption>
    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<SwitchStacksRoutingInterfacesDhcpFixedIpAssignment>
    Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface
    interfaceId String
    interfaceId path parameter. Interface ID
    networkId String
    networkId path parameter. Network ID
    reservedIpRanges List<SwitchStacksRoutingInterfacesDhcpReservedIpRange>
    Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface
    switchStackId String
    switchStackId path parameter. Switch stack ID
    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 SwitchStacksRoutingInterfacesDhcpDhcpOption[]
    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 SwitchStacksRoutingInterfacesDhcpFixedIpAssignment[]
    Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface
    interfaceId string
    interfaceId path parameter. Interface ID
    networkId string
    networkId path parameter. Network ID
    reservedIpRanges SwitchStacksRoutingInterfacesDhcpReservedIpRange[]
    Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface
    switchStackId string
    switchStackId path parameter. Switch stack ID
    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[SwitchStacksRoutingInterfacesDhcpDhcpOptionArgs]
    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[SwitchStacksRoutingInterfacesDhcpFixedIpAssignmentArgs]
    Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface
    interface_id str
    interfaceId path parameter. Interface ID
    network_id str
    networkId path parameter. Network ID
    reserved_ip_ranges Sequence[SwitchStacksRoutingInterfacesDhcpReservedIpRangeArgs]
    Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface
    switch_stack_id str
    switchStackId path parameter. Switch stack ID
    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
    interfaceId String
    interfaceId path parameter. Interface ID
    networkId String
    networkId path parameter. Network ID
    reservedIpRanges List<Property Map>
    Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface
    switchStackId String
    switchStackId path parameter. Switch stack ID

    Supporting Types

    SwitchStacksRoutingInterfacesDhcpDhcpOption, SwitchStacksRoutingInterfacesDhcpDhcpOptionArgs

    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

    SwitchStacksRoutingInterfacesDhcpFixedIpAssignment, SwitchStacksRoutingInterfacesDhcpFixedIpAssignmentArgs

    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

    SwitchStacksRoutingInterfacesDhcpReservedIpRange, SwitchStacksRoutingInterfacesDhcpReservedIpRangeArgs

    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

    Import

    $ pulumi import meraki:networks/switchStacksRoutingInterfacesDhcp:SwitchStacksRoutingInterfacesDhcp example "interface_id,network_id,switch_stack_id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    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