meraki.networks.SwitchStacksRoutingInterfacesDhcp
Explore with Pulumi AI
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
- SwitchStack stringId 
- switchStackId path parameter. Switch stack ID
- BootFile stringName 
- The PXE boot server file name for the DHCP server running on the switch stack interface
- BootNext stringServer 
- The PXE boot server IP for the DHCP server running on the switch stack interface
- BootOptions boolEnabled 
- Enable DHCP boot options to provide PXE boot options configs for the dhcp server running on the switch stack interface
- DhcpLease stringTime 
- 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<SwitchStacks Routing Interfaces Dhcp Dhcp Option> 
- Array of DHCP options consisting of code, type and value for the DHCP server running on the switch stack interface
- DhcpRelay List<string>Server Ips 
- The DHCP relay server IPs to which DHCP packets would get relayed for the switch stack interface
- DnsCustom List<string>Nameservers 
- The DHCP name server IPs when DHCP name server option is 'custom'
- DnsNameservers stringOption 
- The DHCP name server option for the dhcp server running on the switch stack interface ('googlePublicDns', 'openDns' or 'custom')
- FixedIp List<SwitchAssignments Stacks Routing Interfaces Dhcp Fixed Ip Assignment> 
- Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface
- ReservedIp List<SwitchRanges Stacks Routing Interfaces Dhcp Reserved Ip Range> 
- 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
- SwitchStack stringId 
- switchStackId path parameter. Switch stack ID
- BootFile stringName 
- The PXE boot server file name for the DHCP server running on the switch stack interface
- BootNext stringServer 
- The PXE boot server IP for the DHCP server running on the switch stack interface
- BootOptions boolEnabled 
- Enable DHCP boot options to provide PXE boot options configs for the dhcp server running on the switch stack interface
- DhcpLease stringTime 
- 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 []SwitchStacks Routing Interfaces Dhcp Dhcp Option Args 
- Array of DHCP options consisting of code, type and value for the DHCP server running on the switch stack interface
- DhcpRelay []stringServer Ips 
- The DHCP relay server IPs to which DHCP packets would get relayed for the switch stack interface
- DnsCustom []stringNameservers 
- The DHCP name server IPs when DHCP name server option is 'custom'
- DnsNameservers stringOption 
- The DHCP name server option for the dhcp server running on the switch stack interface ('googlePublicDns', 'openDns' or 'custom')
- FixedIp []SwitchAssignments Stacks Routing Interfaces Dhcp Fixed Ip Assignment Args 
- Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface
- ReservedIp []SwitchRanges Stacks Routing Interfaces Dhcp Reserved Ip Range Args 
- 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
- switchStack StringId 
- switchStackId path parameter. Switch stack ID
- bootFile StringName 
- The PXE boot server file name for the DHCP server running on the switch stack interface
- bootNext StringServer 
- The PXE boot server IP for the DHCP server running on the switch stack interface
- bootOptions BooleanEnabled 
- Enable DHCP boot options to provide PXE boot options configs for the dhcp server running on the switch stack interface
- dhcpLease StringTime 
- 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<SwitchStacks Routing Interfaces Dhcp Dhcp Option> 
- Array of DHCP options consisting of code, type and value for the DHCP server running on the switch stack interface
- dhcpRelay List<String>Server Ips 
- The DHCP relay server IPs to which DHCP packets would get relayed for the switch stack interface
- dnsCustom List<String>Nameservers 
- The DHCP name server IPs when DHCP name server option is 'custom'
- dnsNameservers StringOption 
- The DHCP name server option for the dhcp server running on the switch stack interface ('googlePublicDns', 'openDns' or 'custom')
- fixedIp List<SwitchAssignments Stacks Routing Interfaces Dhcp Fixed Ip Assignment> 
- Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface
- reservedIp List<SwitchRanges Stacks Routing Interfaces Dhcp Reserved Ip Range> 
- 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
- switchStack stringId 
- switchStackId path parameter. Switch stack ID
- bootFile stringName 
- The PXE boot server file name for the DHCP server running on the switch stack interface
- bootNext stringServer 
- The PXE boot server IP for the DHCP server running on the switch stack interface
- bootOptions booleanEnabled 
- Enable DHCP boot options to provide PXE boot options configs for the dhcp server running on the switch stack interface
- dhcpLease stringTime 
- 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 SwitchStacks Routing Interfaces Dhcp Dhcp Option[] 
- Array of DHCP options consisting of code, type and value for the DHCP server running on the switch stack interface
- dhcpRelay string[]Server Ips 
- The DHCP relay server IPs to which DHCP packets would get relayed for the switch stack interface
- dnsCustom string[]Nameservers 
- The DHCP name server IPs when DHCP name server option is 'custom'
- dnsNameservers stringOption 
- The DHCP name server option for the dhcp server running on the switch stack interface ('googlePublicDns', 'openDns' or 'custom')
- fixedIp SwitchAssignments Stacks Routing Interfaces Dhcp Fixed Ip Assignment[] 
- Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface
- reservedIp SwitchRanges Stacks Routing Interfaces Dhcp Reserved Ip Range[] 
- 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_ strid 
- switchStackId path parameter. Switch stack ID
- boot_file_ strname 
- The PXE boot server file name for the DHCP server running on the switch stack interface
- boot_next_ strserver 
- The PXE boot server IP for the DHCP server running on the switch stack interface
- boot_options_ boolenabled 
- Enable DHCP boot options to provide PXE boot options configs for the dhcp server running on the switch stack interface
- dhcp_lease_ strtime 
- 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[SwitchStacks Routing Interfaces Dhcp Dhcp Option Args] 
- Array of DHCP options consisting of code, type and value for the DHCP server running on the switch stack interface
- dhcp_relay_ Sequence[str]server_ ips 
- The DHCP relay server IPs to which DHCP packets would get relayed for the switch stack interface
- dns_custom_ Sequence[str]nameservers 
- The DHCP name server IPs when DHCP name server option is 'custom'
- dns_nameservers_ stroption 
- The DHCP name server option for the dhcp server running on the switch stack interface ('googlePublicDns', 'openDns' or 'custom')
- fixed_ip_ Sequence[Switchassignments Stacks Routing Interfaces Dhcp Fixed Ip Assignment Args] 
- Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface
- reserved_ip_ Sequence[Switchranges Stacks Routing Interfaces Dhcp Reserved Ip Range Args] 
- 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
- switchStack StringId 
- switchStackId path parameter. Switch stack ID
- bootFile StringName 
- The PXE boot server file name for the DHCP server running on the switch stack interface
- bootNext StringServer 
- The PXE boot server IP for the DHCP server running on the switch stack interface
- bootOptions BooleanEnabled 
- Enable DHCP boot options to provide PXE boot options configs for the dhcp server running on the switch stack interface
- dhcpLease StringTime 
- 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
- dhcpRelay List<String>Server Ips 
- The DHCP relay server IPs to which DHCP packets would get relayed for the switch stack interface
- dnsCustom List<String>Nameservers 
- The DHCP name server IPs when DHCP name server option is 'custom'
- dnsNameservers StringOption 
- The DHCP name server option for the dhcp server running on the switch stack interface ('googlePublicDns', 'openDns' or 'custom')
- fixedIp List<Property Map>Assignments 
- Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface
- reservedIp List<Property Map>Ranges 
- 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) -> SwitchStacksRoutingInterfacesDhcpfunc 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.
- BootFile stringName 
- The PXE boot server file name for the DHCP server running on the switch stack interface
- BootNext stringServer 
- The PXE boot server IP for the DHCP server running on the switch stack interface
- BootOptions boolEnabled 
- Enable DHCP boot options to provide PXE boot options configs for the dhcp server running on the switch stack interface
- DhcpLease stringTime 
- 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<SwitchStacks Routing Interfaces Dhcp Dhcp Option> 
- Array of DHCP options consisting of code, type and value for the DHCP server running on the switch stack interface
- DhcpRelay List<string>Server Ips 
- The DHCP relay server IPs to which DHCP packets would get relayed for the switch stack interface
- DnsCustom List<string>Nameservers 
- The DHCP name server IPs when DHCP name server option is 'custom'
- DnsNameservers stringOption 
- The DHCP name server option for the dhcp server running on the switch stack interface ('googlePublicDns', 'openDns' or 'custom')
- FixedIp List<SwitchAssignments Stacks Routing Interfaces Dhcp Fixed Ip Assignment> 
- 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
- ReservedIp List<SwitchRanges Stacks Routing Interfaces Dhcp Reserved Ip Range> 
- Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface
- SwitchStack stringId 
- switchStackId path parameter. Switch stack ID
- BootFile stringName 
- The PXE boot server file name for the DHCP server running on the switch stack interface
- BootNext stringServer 
- The PXE boot server IP for the DHCP server running on the switch stack interface
- BootOptions boolEnabled 
- Enable DHCP boot options to provide PXE boot options configs for the dhcp server running on the switch stack interface
- DhcpLease stringTime 
- 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 []SwitchStacks Routing Interfaces Dhcp Dhcp Option Args 
- Array of DHCP options consisting of code, type and value for the DHCP server running on the switch stack interface
- DhcpRelay []stringServer Ips 
- The DHCP relay server IPs to which DHCP packets would get relayed for the switch stack interface
- DnsCustom []stringNameservers 
- The DHCP name server IPs when DHCP name server option is 'custom'
- DnsNameservers stringOption 
- The DHCP name server option for the dhcp server running on the switch stack interface ('googlePublicDns', 'openDns' or 'custom')
- FixedIp []SwitchAssignments Stacks Routing Interfaces Dhcp Fixed Ip Assignment Args 
- 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
- ReservedIp []SwitchRanges Stacks Routing Interfaces Dhcp Reserved Ip Range Args 
- Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface
- SwitchStack stringId 
- switchStackId path parameter. Switch stack ID
- bootFile StringName 
- The PXE boot server file name for the DHCP server running on the switch stack interface
- bootNext StringServer 
- The PXE boot server IP for the DHCP server running on the switch stack interface
- bootOptions BooleanEnabled 
- Enable DHCP boot options to provide PXE boot options configs for the dhcp server running on the switch stack interface
- dhcpLease StringTime 
- 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<SwitchStacks Routing Interfaces Dhcp Dhcp Option> 
- Array of DHCP options consisting of code, type and value for the DHCP server running on the switch stack interface
- dhcpRelay List<String>Server Ips 
- The DHCP relay server IPs to which DHCP packets would get relayed for the switch stack interface
- dnsCustom List<String>Nameservers 
- The DHCP name server IPs when DHCP name server option is 'custom'
- dnsNameservers StringOption 
- The DHCP name server option for the dhcp server running on the switch stack interface ('googlePublicDns', 'openDns' or 'custom')
- fixedIp List<SwitchAssignments Stacks Routing Interfaces Dhcp Fixed Ip Assignment> 
- 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
- reservedIp List<SwitchRanges Stacks Routing Interfaces Dhcp Reserved Ip Range> 
- Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface
- switchStack StringId 
- switchStackId path parameter. Switch stack ID
- bootFile stringName 
- The PXE boot server file name for the DHCP server running on the switch stack interface
- bootNext stringServer 
- The PXE boot server IP for the DHCP server running on the switch stack interface
- bootOptions booleanEnabled 
- Enable DHCP boot options to provide PXE boot options configs for the dhcp server running on the switch stack interface
- dhcpLease stringTime 
- 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 SwitchStacks Routing Interfaces Dhcp Dhcp Option[] 
- Array of DHCP options consisting of code, type and value for the DHCP server running on the switch stack interface
- dhcpRelay string[]Server Ips 
- The DHCP relay server IPs to which DHCP packets would get relayed for the switch stack interface
- dnsCustom string[]Nameservers 
- The DHCP name server IPs when DHCP name server option is 'custom'
- dnsNameservers stringOption 
- The DHCP name server option for the dhcp server running on the switch stack interface ('googlePublicDns', 'openDns' or 'custom')
- fixedIp SwitchAssignments Stacks Routing Interfaces Dhcp Fixed Ip Assignment[] 
- 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
- reservedIp SwitchRanges Stacks Routing Interfaces Dhcp Reserved Ip Range[] 
- Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface
- switchStack stringId 
- switchStackId path parameter. Switch stack ID
- boot_file_ strname 
- The PXE boot server file name for the DHCP server running on the switch stack interface
- boot_next_ strserver 
- The PXE boot server IP for the DHCP server running on the switch stack interface
- boot_options_ boolenabled 
- Enable DHCP boot options to provide PXE boot options configs for the dhcp server running on the switch stack interface
- dhcp_lease_ strtime 
- 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[SwitchStacks Routing Interfaces Dhcp Dhcp Option Args] 
- Array of DHCP options consisting of code, type and value for the DHCP server running on the switch stack interface
- dhcp_relay_ Sequence[str]server_ ips 
- The DHCP relay server IPs to which DHCP packets would get relayed for the switch stack interface
- dns_custom_ Sequence[str]nameservers 
- The DHCP name server IPs when DHCP name server option is 'custom'
- dns_nameservers_ stroption 
- The DHCP name server option for the dhcp server running on the switch stack interface ('googlePublicDns', 'openDns' or 'custom')
- fixed_ip_ Sequence[Switchassignments Stacks Routing Interfaces Dhcp Fixed Ip Assignment Args] 
- 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_ Sequence[Switchranges Stacks Routing Interfaces Dhcp Reserved Ip Range Args] 
- Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface
- switch_stack_ strid 
- switchStackId path parameter. Switch stack ID
- bootFile StringName 
- The PXE boot server file name for the DHCP server running on the switch stack interface
- bootNext StringServer 
- The PXE boot server IP for the DHCP server running on the switch stack interface
- bootOptions BooleanEnabled 
- Enable DHCP boot options to provide PXE boot options configs for the dhcp server running on the switch stack interface
- dhcpLease StringTime 
- 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
- dhcpRelay List<String>Server Ips 
- The DHCP relay server IPs to which DHCP packets would get relayed for the switch stack interface
- dnsCustom List<String>Nameservers 
- The DHCP name server IPs when DHCP name server option is 'custom'
- dnsNameservers StringOption 
- The DHCP name server option for the dhcp server running on the switch stack interface ('googlePublicDns', 'openDns' or 'custom')
- fixedIp List<Property Map>Assignments 
- 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
- reservedIp List<Property Map>Ranges 
- Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface
- switchStack StringId 
- switchStackId path parameter. Switch stack ID
Supporting Types
SwitchStacksRoutingInterfacesDhcpDhcpOption, SwitchStacksRoutingInterfacesDhcpDhcpOptionArgs              
SwitchStacksRoutingInterfacesDhcpFixedIpAssignment, SwitchStacksRoutingInterfacesDhcpFixedIpAssignmentArgs                
SwitchStacksRoutingInterfacesDhcpReservedIpRange, SwitchStacksRoutingInterfacesDhcpReservedIpRangeArgs                
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 merakiTerraform Provider.
