1. Packages
  2. Cisco Catalyst SD-WAN Provider
  3. API Docs
  4. ServiceDhcpServerFeature
Cisco Catalyst SD-WAN v0.3.0 published on Friday, Mar 28, 2025 by Pulumi

sdwan.ServiceDhcpServerFeature

Explore with Pulumi AI

This resource can manage a Service DHCP Server Feature.

  • Minimum SD-WAN Manager version: 20.12.0

Example Usage

Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sdwan.ServiceDhcpServerFeature;
import com.pulumi.sdwan.ServiceDhcpServerFeatureArgs;
import com.pulumi.sdwan.inputs.ServiceDhcpServerFeatureStaticLeaseArgs;
import com.pulumi.sdwan.inputs.ServiceDhcpServerFeatureOptionCodeArgs;
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 ServiceDhcpServerFeature("example", ServiceDhcpServerFeatureArgs.builder()
            .name("Example")
            .description("My Example")
            .featureProfileId("f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac")
            .networkAddress("1.2.3.4")
            .subnetMask("255.255.255.0")
            .excludes("192.168.1.1")
            .leaseTime(86400)
            .interfaceMtu(65535)
            .domainName("example.com")
            .defaultGateway("1.2.3.4")
            .dnsServers("8.8.8.8")
            .tftpServers("1.1.1.1")
            .staticLeases(ServiceDhcpServerFeatureStaticLeaseArgs.builder()
                .mac_address("01:02:03:04:05:06")
                .ip_address("1.2.3.4")
                .build())
            .optionCodes(ServiceDhcpServerFeatureOptionCodeArgs.builder()
                .code(250)
                .ascii("example")
                .build())
            .build());

    }
}
Copy
resources:
  example:
    type: sdwan:ServiceDhcpServerFeature
    properties:
      name: Example
      description: My Example
      featureProfileId: f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac
      networkAddress: 1.2.3.4
      subnetMask: 255.255.255.0
      excludes:
        - 192.168.1.1
      leaseTime: 86400
      interfaceMtu: 65535
      domainName: example.com
      defaultGateway: 1.2.3.4
      dnsServers:
        - 8.8.8.8
      tftpServers:
        - 1.1.1.1
      staticLeases:
        - mac_address: 01:02:03:04:05:06
          ip_address: 1.2.3.4
      optionCodes:
        - code: 250
          ascii: example
Copy

Create ServiceDhcpServerFeature Resource

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

Constructor syntax

new ServiceDhcpServerFeature(name: string, args: ServiceDhcpServerFeatureArgs, opts?: CustomResourceOptions);
@overload
def ServiceDhcpServerFeature(resource_name: str,
                             args: ServiceDhcpServerFeatureArgs,
                             opts: Optional[ResourceOptions] = None)

@overload
def ServiceDhcpServerFeature(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             feature_profile_id: Optional[str] = None,
                             interface_mtu: Optional[int] = None,
                             dns_servers: Optional[Sequence[str]] = None,
                             lease_time: Optional[int] = None,
                             dns_servers_variable: Optional[str] = None,
                             domain_name: Optional[str] = None,
                             domain_name_variable: Optional[str] = None,
                             exclude_variable: Optional[str] = None,
                             excludes: Optional[Sequence[str]] = None,
                             lease_time_variable: Optional[str] = None,
                             default_gateway: Optional[str] = None,
                             tftp_servers_variable: Optional[str] = None,
                             description: Optional[str] = None,
                             default_gateway_variable: Optional[str] = None,
                             name: Optional[str] = None,
                             network_address: Optional[str] = None,
                             network_address_variable: Optional[str] = None,
                             option_codes: Optional[Sequence[ServiceDhcpServerFeatureOptionCodeArgs]] = None,
                             static_leases: Optional[Sequence[ServiceDhcpServerFeatureStaticLeaseArgs]] = None,
                             subnet_mask: Optional[str] = None,
                             subnet_mask_variable: Optional[str] = None,
                             tftp_servers: Optional[Sequence[str]] = None,
                             interface_mtu_variable: Optional[str] = None)
func NewServiceDhcpServerFeature(ctx *Context, name string, args ServiceDhcpServerFeatureArgs, opts ...ResourceOption) (*ServiceDhcpServerFeature, error)
public ServiceDhcpServerFeature(string name, ServiceDhcpServerFeatureArgs args, CustomResourceOptions? opts = null)
public ServiceDhcpServerFeature(String name, ServiceDhcpServerFeatureArgs args)
public ServiceDhcpServerFeature(String name, ServiceDhcpServerFeatureArgs args, CustomResourceOptions options)
type: sdwan:ServiceDhcpServerFeature
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ServiceDhcpServerFeatureArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ServiceDhcpServerFeatureArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ServiceDhcpServerFeatureArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ServiceDhcpServerFeatureArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ServiceDhcpServerFeatureArgs
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 serviceDhcpServerFeatureResource = new Sdwan.ServiceDhcpServerFeature("serviceDhcpServerFeatureResource", new()
{
    FeatureProfileId = "string",
    InterfaceMtu = 0,
    DnsServers = new[]
    {
        "string",
    },
    LeaseTime = 0,
    DnsServersVariable = "string",
    DomainName = "string",
    DomainNameVariable = "string",
    ExcludeVariable = "string",
    Excludes = new[]
    {
        "string",
    },
    LeaseTimeVariable = "string",
    DefaultGateway = "string",
    TftpServersVariable = "string",
    Description = "string",
    DefaultGatewayVariable = "string",
    Name = "string",
    NetworkAddress = "string",
    NetworkAddressVariable = "string",
    OptionCodes = new[]
    {
        new Sdwan.Inputs.ServiceDhcpServerFeatureOptionCodeArgs
        {
            Ascii = "string",
            AsciiVariable = "string",
            Code = 0,
            CodeVariable = "string",
            Hex = "string",
            HexVariable = "string",
            IpVariable = "string",
            Ips = new[]
            {
                "string",
            },
        },
    },
    StaticLeases = new[]
    {
        new Sdwan.Inputs.ServiceDhcpServerFeatureStaticLeaseArgs
        {
            IpAddress = "string",
            IpAddressVariable = "string",
            MacAddress = "string",
            MacAddressVariable = "string",
        },
    },
    SubnetMask = "string",
    SubnetMaskVariable = "string",
    TftpServers = new[]
    {
        "string",
    },
    InterfaceMtuVariable = "string",
});
Copy
example, err := sdwan.NewServiceDhcpServerFeature(ctx, "serviceDhcpServerFeatureResource", &sdwan.ServiceDhcpServerFeatureArgs{
	FeatureProfileId: pulumi.String("string"),
	InterfaceMtu:     pulumi.Int(0),
	DnsServers: pulumi.StringArray{
		pulumi.String("string"),
	},
	LeaseTime:          pulumi.Int(0),
	DnsServersVariable: pulumi.String("string"),
	DomainName:         pulumi.String("string"),
	DomainNameVariable: pulumi.String("string"),
	ExcludeVariable:    pulumi.String("string"),
	Excludes: pulumi.StringArray{
		pulumi.String("string"),
	},
	LeaseTimeVariable:      pulumi.String("string"),
	DefaultGateway:         pulumi.String("string"),
	TftpServersVariable:    pulumi.String("string"),
	Description:            pulumi.String("string"),
	DefaultGatewayVariable: pulumi.String("string"),
	Name:                   pulumi.String("string"),
	NetworkAddress:         pulumi.String("string"),
	NetworkAddressVariable: pulumi.String("string"),
	OptionCodes: sdwan.ServiceDhcpServerFeatureOptionCodeArray{
		&sdwan.ServiceDhcpServerFeatureOptionCodeArgs{
			Ascii:         pulumi.String("string"),
			AsciiVariable: pulumi.String("string"),
			Code:          pulumi.Int(0),
			CodeVariable:  pulumi.String("string"),
			Hex:           pulumi.String("string"),
			HexVariable:   pulumi.String("string"),
			IpVariable:    pulumi.String("string"),
			Ips: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
	},
	StaticLeases: sdwan.ServiceDhcpServerFeatureStaticLeaseArray{
		&sdwan.ServiceDhcpServerFeatureStaticLeaseArgs{
			IpAddress:          pulumi.String("string"),
			IpAddressVariable:  pulumi.String("string"),
			MacAddress:         pulumi.String("string"),
			MacAddressVariable: pulumi.String("string"),
		},
	},
	SubnetMask:         pulumi.String("string"),
	SubnetMaskVariable: pulumi.String("string"),
	TftpServers: pulumi.StringArray{
		pulumi.String("string"),
	},
	InterfaceMtuVariable: pulumi.String("string"),
})
Copy
var serviceDhcpServerFeatureResource = new ServiceDhcpServerFeature("serviceDhcpServerFeatureResource", ServiceDhcpServerFeatureArgs.builder()
    .featureProfileId("string")
    .interfaceMtu(0)
    .dnsServers("string")
    .leaseTime(0)
    .dnsServersVariable("string")
    .domainName("string")
    .domainNameVariable("string")
    .excludeVariable("string")
    .excludes("string")
    .leaseTimeVariable("string")
    .defaultGateway("string")
    .tftpServersVariable("string")
    .description("string")
    .defaultGatewayVariable("string")
    .name("string")
    .networkAddress("string")
    .networkAddressVariable("string")
    .optionCodes(ServiceDhcpServerFeatureOptionCodeArgs.builder()
        .ascii("string")
        .asciiVariable("string")
        .code(0)
        .codeVariable("string")
        .hex("string")
        .hexVariable("string")
        .ipVariable("string")
        .ips("string")
        .build())
    .staticLeases(ServiceDhcpServerFeatureStaticLeaseArgs.builder()
        .ipAddress("string")
        .ipAddressVariable("string")
        .macAddress("string")
        .macAddressVariable("string")
        .build())
    .subnetMask("string")
    .subnetMaskVariable("string")
    .tftpServers("string")
    .interfaceMtuVariable("string")
    .build());
Copy
service_dhcp_server_feature_resource = sdwan.ServiceDhcpServerFeature("serviceDhcpServerFeatureResource",
    feature_profile_id="string",
    interface_mtu=0,
    dns_servers=["string"],
    lease_time=0,
    dns_servers_variable="string",
    domain_name="string",
    domain_name_variable="string",
    exclude_variable="string",
    excludes=["string"],
    lease_time_variable="string",
    default_gateway="string",
    tftp_servers_variable="string",
    description="string",
    default_gateway_variable="string",
    name="string",
    network_address="string",
    network_address_variable="string",
    option_codes=[{
        "ascii": "string",
        "ascii_variable": "string",
        "code": 0,
        "code_variable": "string",
        "hex": "string",
        "hex_variable": "string",
        "ip_variable": "string",
        "ips": ["string"],
    }],
    static_leases=[{
        "ip_address": "string",
        "ip_address_variable": "string",
        "mac_address": "string",
        "mac_address_variable": "string",
    }],
    subnet_mask="string",
    subnet_mask_variable="string",
    tftp_servers=["string"],
    interface_mtu_variable="string")
Copy
const serviceDhcpServerFeatureResource = new sdwan.ServiceDhcpServerFeature("serviceDhcpServerFeatureResource", {
    featureProfileId: "string",
    interfaceMtu: 0,
    dnsServers: ["string"],
    leaseTime: 0,
    dnsServersVariable: "string",
    domainName: "string",
    domainNameVariable: "string",
    excludeVariable: "string",
    excludes: ["string"],
    leaseTimeVariable: "string",
    defaultGateway: "string",
    tftpServersVariable: "string",
    description: "string",
    defaultGatewayVariable: "string",
    name: "string",
    networkAddress: "string",
    networkAddressVariable: "string",
    optionCodes: [{
        ascii: "string",
        asciiVariable: "string",
        code: 0,
        codeVariable: "string",
        hex: "string",
        hexVariable: "string",
        ipVariable: "string",
        ips: ["string"],
    }],
    staticLeases: [{
        ipAddress: "string",
        ipAddressVariable: "string",
        macAddress: "string",
        macAddressVariable: "string",
    }],
    subnetMask: "string",
    subnetMaskVariable: "string",
    tftpServers: ["string"],
    interfaceMtuVariable: "string",
});
Copy
type: sdwan:ServiceDhcpServerFeature
properties:
    defaultGateway: string
    defaultGatewayVariable: string
    description: string
    dnsServers:
        - string
    dnsServersVariable: string
    domainName: string
    domainNameVariable: string
    excludeVariable: string
    excludes:
        - string
    featureProfileId: string
    interfaceMtu: 0
    interfaceMtuVariable: string
    leaseTime: 0
    leaseTimeVariable: string
    name: string
    networkAddress: string
    networkAddressVariable: string
    optionCodes:
        - ascii: string
          asciiVariable: string
          code: 0
          codeVariable: string
          hex: string
          hexVariable: string
          ipVariable: string
          ips:
            - string
    staticLeases:
        - ipAddress: string
          ipAddressVariable: string
          macAddress: string
          macAddressVariable: string
    subnetMask: string
    subnetMaskVariable: string
    tftpServers:
        - string
    tftpServersVariable: string
Copy

ServiceDhcpServerFeature Resource Properties

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

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The ServiceDhcpServerFeature resource accepts the following input properties:

FeatureProfileId This property is required. string
Feature Profile ID
DefaultGateway string
Set IP address of default gateway
DefaultGatewayVariable string
Variable name
Description string
The description of the Feature
DnsServers List<string>
Configure one or more DNS server IP addresses
DnsServersVariable string
Variable name
DomainName string
Set domain name client uses to resolve hostnames
DomainNameVariable string
Variable name
ExcludeVariable string
Variable name
Excludes List<string>
Configure IPv4 address to exclude from DHCP address pool
InterfaceMtu int
Set MTU on interface to DHCP client - Range: 68-65535
InterfaceMtuVariable string
Variable name
LeaseTime int
Configure how long a DHCP-assigned IP address is valid - Range: 60-31536000 - Default value: 86400
LeaseTimeVariable string
Variable name
Name string
The name of the Feature
NetworkAddress string
Network Address
NetworkAddressVariable string
Variable name
OptionCodes List<ServiceDhcpServerFeatureOptionCode>
Configure Options Code
StaticLeases List<ServiceDhcpServerFeatureStaticLease>
Configure static IP addresses
SubnetMask string
Subnet Mask - Choices: 255.255.255.255, 255.255.255.254, 255.255.255.252, 255.255.255.248, 255.255.255.240, 255.255.255.224, 255.255.255.192, 255.255.255.128, 255.255.255.0, 255.255.254.0, 255.255.252.0, 255.255.248.0, 255.255.240.0, 255.255.224.0, 255.255.192.0, 255.255.128.0, 255.255.0.0, 255.254.0.0, 255.252.0.0, 255.240.0.0, 255.224.0.0, 255.192.0.0, 255.128.0.0, 255.0.0.0, 254.0.0.0, 252.0.0.0, 248.0.0.0, 240.0.0.0, 224.0.0.0, 192.0.0.0, 128.0.0.0, 0.0.0.0
SubnetMaskVariable string
Variable name
TftpServers List<string>
Configure TFTP server IP addresses
TftpServersVariable string
Variable name
FeatureProfileId This property is required. string
Feature Profile ID
DefaultGateway string
Set IP address of default gateway
DefaultGatewayVariable string
Variable name
Description string
The description of the Feature
DnsServers []string
Configure one or more DNS server IP addresses
DnsServersVariable string
Variable name
DomainName string
Set domain name client uses to resolve hostnames
DomainNameVariable string
Variable name
ExcludeVariable string
Variable name
Excludes []string
Configure IPv4 address to exclude from DHCP address pool
InterfaceMtu int
Set MTU on interface to DHCP client - Range: 68-65535
InterfaceMtuVariable string
Variable name
LeaseTime int
Configure how long a DHCP-assigned IP address is valid - Range: 60-31536000 - Default value: 86400
LeaseTimeVariable string
Variable name
Name string
The name of the Feature
NetworkAddress string
Network Address
NetworkAddressVariable string
Variable name
OptionCodes []ServiceDhcpServerFeatureOptionCodeArgs
Configure Options Code
StaticLeases []ServiceDhcpServerFeatureStaticLeaseArgs
Configure static IP addresses
SubnetMask string
Subnet Mask - Choices: 255.255.255.255, 255.255.255.254, 255.255.255.252, 255.255.255.248, 255.255.255.240, 255.255.255.224, 255.255.255.192, 255.255.255.128, 255.255.255.0, 255.255.254.0, 255.255.252.0, 255.255.248.0, 255.255.240.0, 255.255.224.0, 255.255.192.0, 255.255.128.0, 255.255.0.0, 255.254.0.0, 255.252.0.0, 255.240.0.0, 255.224.0.0, 255.192.0.0, 255.128.0.0, 255.0.0.0, 254.0.0.0, 252.0.0.0, 248.0.0.0, 240.0.0.0, 224.0.0.0, 192.0.0.0, 128.0.0.0, 0.0.0.0
SubnetMaskVariable string
Variable name
TftpServers []string
Configure TFTP server IP addresses
TftpServersVariable string
Variable name
featureProfileId This property is required. String
Feature Profile ID
defaultGateway String
Set IP address of default gateway
defaultGatewayVariable String
Variable name
description String
The description of the Feature
dnsServers List<String>
Configure one or more DNS server IP addresses
dnsServersVariable String
Variable name
domainName String
Set domain name client uses to resolve hostnames
domainNameVariable String
Variable name
excludeVariable String
Variable name
excludes List<String>
Configure IPv4 address to exclude from DHCP address pool
interfaceMtu Integer
Set MTU on interface to DHCP client - Range: 68-65535
interfaceMtuVariable String
Variable name
leaseTime Integer
Configure how long a DHCP-assigned IP address is valid - Range: 60-31536000 - Default value: 86400
leaseTimeVariable String
Variable name
name String
The name of the Feature
networkAddress String
Network Address
networkAddressVariable String
Variable name
optionCodes List<ServiceDhcpServerFeatureOptionCode>
Configure Options Code
staticLeases List<ServiceDhcpServerFeatureStaticLease>
Configure static IP addresses
subnetMask String
Subnet Mask - Choices: 255.255.255.255, 255.255.255.254, 255.255.255.252, 255.255.255.248, 255.255.255.240, 255.255.255.224, 255.255.255.192, 255.255.255.128, 255.255.255.0, 255.255.254.0, 255.255.252.0, 255.255.248.0, 255.255.240.0, 255.255.224.0, 255.255.192.0, 255.255.128.0, 255.255.0.0, 255.254.0.0, 255.252.0.0, 255.240.0.0, 255.224.0.0, 255.192.0.0, 255.128.0.0, 255.0.0.0, 254.0.0.0, 252.0.0.0, 248.0.0.0, 240.0.0.0, 224.0.0.0, 192.0.0.0, 128.0.0.0, 0.0.0.0
subnetMaskVariable String
Variable name
tftpServers List<String>
Configure TFTP server IP addresses
tftpServersVariable String
Variable name
featureProfileId This property is required. string
Feature Profile ID
defaultGateway string
Set IP address of default gateway
defaultGatewayVariable string
Variable name
description string
The description of the Feature
dnsServers string[]
Configure one or more DNS server IP addresses
dnsServersVariable string
Variable name
domainName string
Set domain name client uses to resolve hostnames
domainNameVariable string
Variable name
excludeVariable string
Variable name
excludes string[]
Configure IPv4 address to exclude from DHCP address pool
interfaceMtu number
Set MTU on interface to DHCP client - Range: 68-65535
interfaceMtuVariable string
Variable name
leaseTime number
Configure how long a DHCP-assigned IP address is valid - Range: 60-31536000 - Default value: 86400
leaseTimeVariable string
Variable name
name string
The name of the Feature
networkAddress string
Network Address
networkAddressVariable string
Variable name
optionCodes ServiceDhcpServerFeatureOptionCode[]
Configure Options Code
staticLeases ServiceDhcpServerFeatureStaticLease[]
Configure static IP addresses
subnetMask string
Subnet Mask - Choices: 255.255.255.255, 255.255.255.254, 255.255.255.252, 255.255.255.248, 255.255.255.240, 255.255.255.224, 255.255.255.192, 255.255.255.128, 255.255.255.0, 255.255.254.0, 255.255.252.0, 255.255.248.0, 255.255.240.0, 255.255.224.0, 255.255.192.0, 255.255.128.0, 255.255.0.0, 255.254.0.0, 255.252.0.0, 255.240.0.0, 255.224.0.0, 255.192.0.0, 255.128.0.0, 255.0.0.0, 254.0.0.0, 252.0.0.0, 248.0.0.0, 240.0.0.0, 224.0.0.0, 192.0.0.0, 128.0.0.0, 0.0.0.0
subnetMaskVariable string
Variable name
tftpServers string[]
Configure TFTP server IP addresses
tftpServersVariable string
Variable name
feature_profile_id This property is required. str
Feature Profile ID
default_gateway str
Set IP address of default gateway
default_gateway_variable str
Variable name
description str
The description of the Feature
dns_servers Sequence[str]
Configure one or more DNS server IP addresses
dns_servers_variable str
Variable name
domain_name str
Set domain name client uses to resolve hostnames
domain_name_variable str
Variable name
exclude_variable str
Variable name
excludes Sequence[str]
Configure IPv4 address to exclude from DHCP address pool
interface_mtu int
Set MTU on interface to DHCP client - Range: 68-65535
interface_mtu_variable str
Variable name
lease_time int
Configure how long a DHCP-assigned IP address is valid - Range: 60-31536000 - Default value: 86400
lease_time_variable str
Variable name
name str
The name of the Feature
network_address str
Network Address
network_address_variable str
Variable name
option_codes Sequence[ServiceDhcpServerFeatureOptionCodeArgs]
Configure Options Code
static_leases Sequence[ServiceDhcpServerFeatureStaticLeaseArgs]
Configure static IP addresses
subnet_mask str
Subnet Mask - Choices: 255.255.255.255, 255.255.255.254, 255.255.255.252, 255.255.255.248, 255.255.255.240, 255.255.255.224, 255.255.255.192, 255.255.255.128, 255.255.255.0, 255.255.254.0, 255.255.252.0, 255.255.248.0, 255.255.240.0, 255.255.224.0, 255.255.192.0, 255.255.128.0, 255.255.0.0, 255.254.0.0, 255.252.0.0, 255.240.0.0, 255.224.0.0, 255.192.0.0, 255.128.0.0, 255.0.0.0, 254.0.0.0, 252.0.0.0, 248.0.0.0, 240.0.0.0, 224.0.0.0, 192.0.0.0, 128.0.0.0, 0.0.0.0
subnet_mask_variable str
Variable name
tftp_servers Sequence[str]
Configure TFTP server IP addresses
tftp_servers_variable str
Variable name
featureProfileId This property is required. String
Feature Profile ID
defaultGateway String
Set IP address of default gateway
defaultGatewayVariable String
Variable name
description String
The description of the Feature
dnsServers List<String>
Configure one or more DNS server IP addresses
dnsServersVariable String
Variable name
domainName String
Set domain name client uses to resolve hostnames
domainNameVariable String
Variable name
excludeVariable String
Variable name
excludes List<String>
Configure IPv4 address to exclude from DHCP address pool
interfaceMtu Number
Set MTU on interface to DHCP client - Range: 68-65535
interfaceMtuVariable String
Variable name
leaseTime Number
Configure how long a DHCP-assigned IP address is valid - Range: 60-31536000 - Default value: 86400
leaseTimeVariable String
Variable name
name String
The name of the Feature
networkAddress String
Network Address
networkAddressVariable String
Variable name
optionCodes List<Property Map>
Configure Options Code
staticLeases List<Property Map>
Configure static IP addresses
subnetMask String
Subnet Mask - Choices: 255.255.255.255, 255.255.255.254, 255.255.255.252, 255.255.255.248, 255.255.255.240, 255.255.255.224, 255.255.255.192, 255.255.255.128, 255.255.255.0, 255.255.254.0, 255.255.252.0, 255.255.248.0, 255.255.240.0, 255.255.224.0, 255.255.192.0, 255.255.128.0, 255.255.0.0, 255.254.0.0, 255.252.0.0, 255.240.0.0, 255.224.0.0, 255.192.0.0, 255.128.0.0, 255.0.0.0, 254.0.0.0, 252.0.0.0, 248.0.0.0, 240.0.0.0, 224.0.0.0, 192.0.0.0, 128.0.0.0, 0.0.0.0
subnetMaskVariable String
Variable name
tftpServers List<String>
Configure TFTP server IP addresses
tftpServersVariable String
Variable name

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Version int
The version of the Feature
Id string
The provider-assigned unique ID for this managed resource.
Version int
The version of the Feature
id String
The provider-assigned unique ID for this managed resource.
version Integer
The version of the Feature
id string
The provider-assigned unique ID for this managed resource.
version number
The version of the Feature
id str
The provider-assigned unique ID for this managed resource.
version int
The version of the Feature
id String
The provider-assigned unique ID for this managed resource.
version Number
The version of the Feature

Look up Existing ServiceDhcpServerFeature Resource

Get an existing ServiceDhcpServerFeature 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?: ServiceDhcpServerFeatureState, opts?: CustomResourceOptions): ServiceDhcpServerFeature
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        default_gateway: Optional[str] = None,
        default_gateway_variable: Optional[str] = None,
        description: Optional[str] = None,
        dns_servers: Optional[Sequence[str]] = None,
        dns_servers_variable: Optional[str] = None,
        domain_name: Optional[str] = None,
        domain_name_variable: Optional[str] = None,
        exclude_variable: Optional[str] = None,
        excludes: Optional[Sequence[str]] = None,
        feature_profile_id: Optional[str] = None,
        interface_mtu: Optional[int] = None,
        interface_mtu_variable: Optional[str] = None,
        lease_time: Optional[int] = None,
        lease_time_variable: Optional[str] = None,
        name: Optional[str] = None,
        network_address: Optional[str] = None,
        network_address_variable: Optional[str] = None,
        option_codes: Optional[Sequence[ServiceDhcpServerFeatureOptionCodeArgs]] = None,
        static_leases: Optional[Sequence[ServiceDhcpServerFeatureStaticLeaseArgs]] = None,
        subnet_mask: Optional[str] = None,
        subnet_mask_variable: Optional[str] = None,
        tftp_servers: Optional[Sequence[str]] = None,
        tftp_servers_variable: Optional[str] = None,
        version: Optional[int] = None) -> ServiceDhcpServerFeature
func GetServiceDhcpServerFeature(ctx *Context, name string, id IDInput, state *ServiceDhcpServerFeatureState, opts ...ResourceOption) (*ServiceDhcpServerFeature, error)
public static ServiceDhcpServerFeature Get(string name, Input<string> id, ServiceDhcpServerFeatureState? state, CustomResourceOptions? opts = null)
public static ServiceDhcpServerFeature get(String name, Output<String> id, ServiceDhcpServerFeatureState state, CustomResourceOptions options)
resources:  _:    type: sdwan:ServiceDhcpServerFeature    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
DefaultGateway string
Set IP address of default gateway
DefaultGatewayVariable string
Variable name
Description string
The description of the Feature
DnsServers List<string>
Configure one or more DNS server IP addresses
DnsServersVariable string
Variable name
DomainName string
Set domain name client uses to resolve hostnames
DomainNameVariable string
Variable name
ExcludeVariable string
Variable name
Excludes List<string>
Configure IPv4 address to exclude from DHCP address pool
FeatureProfileId string
Feature Profile ID
InterfaceMtu int
Set MTU on interface to DHCP client - Range: 68-65535
InterfaceMtuVariable string
Variable name
LeaseTime int
Configure how long a DHCP-assigned IP address is valid - Range: 60-31536000 - Default value: 86400
LeaseTimeVariable string
Variable name
Name string
The name of the Feature
NetworkAddress string
Network Address
NetworkAddressVariable string
Variable name
OptionCodes List<ServiceDhcpServerFeatureOptionCode>
Configure Options Code
StaticLeases List<ServiceDhcpServerFeatureStaticLease>
Configure static IP addresses
SubnetMask string
Subnet Mask - Choices: 255.255.255.255, 255.255.255.254, 255.255.255.252, 255.255.255.248, 255.255.255.240, 255.255.255.224, 255.255.255.192, 255.255.255.128, 255.255.255.0, 255.255.254.0, 255.255.252.0, 255.255.248.0, 255.255.240.0, 255.255.224.0, 255.255.192.0, 255.255.128.0, 255.255.0.0, 255.254.0.0, 255.252.0.0, 255.240.0.0, 255.224.0.0, 255.192.0.0, 255.128.0.0, 255.0.0.0, 254.0.0.0, 252.0.0.0, 248.0.0.0, 240.0.0.0, 224.0.0.0, 192.0.0.0, 128.0.0.0, 0.0.0.0
SubnetMaskVariable string
Variable name
TftpServers List<string>
Configure TFTP server IP addresses
TftpServersVariable string
Variable name
Version int
The version of the Feature
DefaultGateway string
Set IP address of default gateway
DefaultGatewayVariable string
Variable name
Description string
The description of the Feature
DnsServers []string
Configure one or more DNS server IP addresses
DnsServersVariable string
Variable name
DomainName string
Set domain name client uses to resolve hostnames
DomainNameVariable string
Variable name
ExcludeVariable string
Variable name
Excludes []string
Configure IPv4 address to exclude from DHCP address pool
FeatureProfileId string
Feature Profile ID
InterfaceMtu int
Set MTU on interface to DHCP client - Range: 68-65535
InterfaceMtuVariable string
Variable name
LeaseTime int
Configure how long a DHCP-assigned IP address is valid - Range: 60-31536000 - Default value: 86400
LeaseTimeVariable string
Variable name
Name string
The name of the Feature
NetworkAddress string
Network Address
NetworkAddressVariable string
Variable name
OptionCodes []ServiceDhcpServerFeatureOptionCodeArgs
Configure Options Code
StaticLeases []ServiceDhcpServerFeatureStaticLeaseArgs
Configure static IP addresses
SubnetMask string
Subnet Mask - Choices: 255.255.255.255, 255.255.255.254, 255.255.255.252, 255.255.255.248, 255.255.255.240, 255.255.255.224, 255.255.255.192, 255.255.255.128, 255.255.255.0, 255.255.254.0, 255.255.252.0, 255.255.248.0, 255.255.240.0, 255.255.224.0, 255.255.192.0, 255.255.128.0, 255.255.0.0, 255.254.0.0, 255.252.0.0, 255.240.0.0, 255.224.0.0, 255.192.0.0, 255.128.0.0, 255.0.0.0, 254.0.0.0, 252.0.0.0, 248.0.0.0, 240.0.0.0, 224.0.0.0, 192.0.0.0, 128.0.0.0, 0.0.0.0
SubnetMaskVariable string
Variable name
TftpServers []string
Configure TFTP server IP addresses
TftpServersVariable string
Variable name
Version int
The version of the Feature
defaultGateway String
Set IP address of default gateway
defaultGatewayVariable String
Variable name
description String
The description of the Feature
dnsServers List<String>
Configure one or more DNS server IP addresses
dnsServersVariable String
Variable name
domainName String
Set domain name client uses to resolve hostnames
domainNameVariable String
Variable name
excludeVariable String
Variable name
excludes List<String>
Configure IPv4 address to exclude from DHCP address pool
featureProfileId String
Feature Profile ID
interfaceMtu Integer
Set MTU on interface to DHCP client - Range: 68-65535
interfaceMtuVariable String
Variable name
leaseTime Integer
Configure how long a DHCP-assigned IP address is valid - Range: 60-31536000 - Default value: 86400
leaseTimeVariable String
Variable name
name String
The name of the Feature
networkAddress String
Network Address
networkAddressVariable String
Variable name
optionCodes List<ServiceDhcpServerFeatureOptionCode>
Configure Options Code
staticLeases List<ServiceDhcpServerFeatureStaticLease>
Configure static IP addresses
subnetMask String
Subnet Mask - Choices: 255.255.255.255, 255.255.255.254, 255.255.255.252, 255.255.255.248, 255.255.255.240, 255.255.255.224, 255.255.255.192, 255.255.255.128, 255.255.255.0, 255.255.254.0, 255.255.252.0, 255.255.248.0, 255.255.240.0, 255.255.224.0, 255.255.192.0, 255.255.128.0, 255.255.0.0, 255.254.0.0, 255.252.0.0, 255.240.0.0, 255.224.0.0, 255.192.0.0, 255.128.0.0, 255.0.0.0, 254.0.0.0, 252.0.0.0, 248.0.0.0, 240.0.0.0, 224.0.0.0, 192.0.0.0, 128.0.0.0, 0.0.0.0
subnetMaskVariable String
Variable name
tftpServers List<String>
Configure TFTP server IP addresses
tftpServersVariable String
Variable name
version Integer
The version of the Feature
defaultGateway string
Set IP address of default gateway
defaultGatewayVariable string
Variable name
description string
The description of the Feature
dnsServers string[]
Configure one or more DNS server IP addresses
dnsServersVariable string
Variable name
domainName string
Set domain name client uses to resolve hostnames
domainNameVariable string
Variable name
excludeVariable string
Variable name
excludes string[]
Configure IPv4 address to exclude from DHCP address pool
featureProfileId string
Feature Profile ID
interfaceMtu number
Set MTU on interface to DHCP client - Range: 68-65535
interfaceMtuVariable string
Variable name
leaseTime number
Configure how long a DHCP-assigned IP address is valid - Range: 60-31536000 - Default value: 86400
leaseTimeVariable string
Variable name
name string
The name of the Feature
networkAddress string
Network Address
networkAddressVariable string
Variable name
optionCodes ServiceDhcpServerFeatureOptionCode[]
Configure Options Code
staticLeases ServiceDhcpServerFeatureStaticLease[]
Configure static IP addresses
subnetMask string
Subnet Mask - Choices: 255.255.255.255, 255.255.255.254, 255.255.255.252, 255.255.255.248, 255.255.255.240, 255.255.255.224, 255.255.255.192, 255.255.255.128, 255.255.255.0, 255.255.254.0, 255.255.252.0, 255.255.248.0, 255.255.240.0, 255.255.224.0, 255.255.192.0, 255.255.128.0, 255.255.0.0, 255.254.0.0, 255.252.0.0, 255.240.0.0, 255.224.0.0, 255.192.0.0, 255.128.0.0, 255.0.0.0, 254.0.0.0, 252.0.0.0, 248.0.0.0, 240.0.0.0, 224.0.0.0, 192.0.0.0, 128.0.0.0, 0.0.0.0
subnetMaskVariable string
Variable name
tftpServers string[]
Configure TFTP server IP addresses
tftpServersVariable string
Variable name
version number
The version of the Feature
default_gateway str
Set IP address of default gateway
default_gateway_variable str
Variable name
description str
The description of the Feature
dns_servers Sequence[str]
Configure one or more DNS server IP addresses
dns_servers_variable str
Variable name
domain_name str
Set domain name client uses to resolve hostnames
domain_name_variable str
Variable name
exclude_variable str
Variable name
excludes Sequence[str]
Configure IPv4 address to exclude from DHCP address pool
feature_profile_id str
Feature Profile ID
interface_mtu int
Set MTU on interface to DHCP client - Range: 68-65535
interface_mtu_variable str
Variable name
lease_time int
Configure how long a DHCP-assigned IP address is valid - Range: 60-31536000 - Default value: 86400
lease_time_variable str
Variable name
name str
The name of the Feature
network_address str
Network Address
network_address_variable str
Variable name
option_codes Sequence[ServiceDhcpServerFeatureOptionCodeArgs]
Configure Options Code
static_leases Sequence[ServiceDhcpServerFeatureStaticLeaseArgs]
Configure static IP addresses
subnet_mask str
Subnet Mask - Choices: 255.255.255.255, 255.255.255.254, 255.255.255.252, 255.255.255.248, 255.255.255.240, 255.255.255.224, 255.255.255.192, 255.255.255.128, 255.255.255.0, 255.255.254.0, 255.255.252.0, 255.255.248.0, 255.255.240.0, 255.255.224.0, 255.255.192.0, 255.255.128.0, 255.255.0.0, 255.254.0.0, 255.252.0.0, 255.240.0.0, 255.224.0.0, 255.192.0.0, 255.128.0.0, 255.0.0.0, 254.0.0.0, 252.0.0.0, 248.0.0.0, 240.0.0.0, 224.0.0.0, 192.0.0.0, 128.0.0.0, 0.0.0.0
subnet_mask_variable str
Variable name
tftp_servers Sequence[str]
Configure TFTP server IP addresses
tftp_servers_variable str
Variable name
version int
The version of the Feature
defaultGateway String
Set IP address of default gateway
defaultGatewayVariable String
Variable name
description String
The description of the Feature
dnsServers List<String>
Configure one or more DNS server IP addresses
dnsServersVariable String
Variable name
domainName String
Set domain name client uses to resolve hostnames
domainNameVariable String
Variable name
excludeVariable String
Variable name
excludes List<String>
Configure IPv4 address to exclude from DHCP address pool
featureProfileId String
Feature Profile ID
interfaceMtu Number
Set MTU on interface to DHCP client - Range: 68-65535
interfaceMtuVariable String
Variable name
leaseTime Number
Configure how long a DHCP-assigned IP address is valid - Range: 60-31536000 - Default value: 86400
leaseTimeVariable String
Variable name
name String
The name of the Feature
networkAddress String
Network Address
networkAddressVariable String
Variable name
optionCodes List<Property Map>
Configure Options Code
staticLeases List<Property Map>
Configure static IP addresses
subnetMask String
Subnet Mask - Choices: 255.255.255.255, 255.255.255.254, 255.255.255.252, 255.255.255.248, 255.255.255.240, 255.255.255.224, 255.255.255.192, 255.255.255.128, 255.255.255.0, 255.255.254.0, 255.255.252.0, 255.255.248.0, 255.255.240.0, 255.255.224.0, 255.255.192.0, 255.255.128.0, 255.255.0.0, 255.254.0.0, 255.252.0.0, 255.240.0.0, 255.224.0.0, 255.192.0.0, 255.128.0.0, 255.0.0.0, 254.0.0.0, 252.0.0.0, 248.0.0.0, 240.0.0.0, 224.0.0.0, 192.0.0.0, 128.0.0.0, 0.0.0.0
subnetMaskVariable String
Variable name
tftpServers List<String>
Configure TFTP server IP addresses
tftpServersVariable String
Variable name
version Number
The version of the Feature

Supporting Types

ServiceDhcpServerFeatureOptionCode
, ServiceDhcpServerFeatureOptionCodeArgs

Ascii string
Set ASCII value
AsciiVariable string
Variable name
Code int
Set Option Code

  • Range: 1-254
CodeVariable string
Variable name
Hex string
Set HEX value
HexVariable string
Variable name
IpVariable string
Variable name
Ips List<string>
Set ip address
Ascii string
Set ASCII value
AsciiVariable string
Variable name
Code int
Set Option Code

  • Range: 1-254
CodeVariable string
Variable name
Hex string
Set HEX value
HexVariable string
Variable name
IpVariable string
Variable name
Ips []string
Set ip address
ascii String
Set ASCII value
asciiVariable String
Variable name
code Integer
Set Option Code

  • Range: 1-254
codeVariable String
Variable name
hex String
Set HEX value
hexVariable String
Variable name
ipVariable String
Variable name
ips List<String>
Set ip address
ascii string
Set ASCII value
asciiVariable string
Variable name
code number
Set Option Code

  • Range: 1-254
codeVariable string
Variable name
hex string
Set HEX value
hexVariable string
Variable name
ipVariable string
Variable name
ips string[]
Set ip address
ascii str
Set ASCII value
ascii_variable str
Variable name
code int
Set Option Code

  • Range: 1-254
code_variable str
Variable name
hex str
Set HEX value
hex_variable str
Variable name
ip_variable str
Variable name
ips Sequence[str]
Set ip address
ascii String
Set ASCII value
asciiVariable String
Variable name
code Number
Set Option Code

  • Range: 1-254
codeVariable String
Variable name
hex String
Set HEX value
hexVariable String
Variable name
ipVariable String
Variable name
ips List<String>
Set ip address

ServiceDhcpServerFeatureStaticLease
, ServiceDhcpServerFeatureStaticLeaseArgs

IpAddress string
Set client’s static IP address
IpAddressVariable string
Variable name
MacAddress string
Set MAC address of client
MacAddressVariable string
Variable name
IpAddress string
Set client’s static IP address
IpAddressVariable string
Variable name
MacAddress string
Set MAC address of client
MacAddressVariable string
Variable name
ipAddress String
Set client’s static IP address
ipAddressVariable String
Variable name
macAddress String
Set MAC address of client
macAddressVariable String
Variable name
ipAddress string
Set client’s static IP address
ipAddressVariable string
Variable name
macAddress string
Set MAC address of client
macAddressVariable string
Variable name
ip_address str
Set client’s static IP address
ip_address_variable str
Variable name
mac_address str
Set MAC address of client
mac_address_variable str
Variable name
ipAddress String
Set client’s static IP address
ipAddressVariable String
Variable name
macAddress String
Set MAC address of client
macAddressVariable String
Variable name

Import

Expected import identifier with the format: “service_dhcp_server_feature_id,feature_profile_id”

$ pulumi import sdwan:index/serviceDhcpServerFeature:ServiceDhcpServerFeature example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"
Copy

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

Package Details

Repository
sdwan pulumi/pulumi-sdwan
License
Apache-2.0
Notes
This Pulumi package is based on the sdwan Terraform Provider.