Cisco Catalyst SD-WAN v0.3.0 published on Friday, Mar 28, 2025 by Pulumi
sdwan.getCiscoDhcpServerFeatureTemplate
Explore with Pulumi AI
This data source can read the Cisco DHCP Server feature template.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as sdwan from "@pulumi/sdwan";
const example = sdwan.getCiscoDhcpServerFeatureTemplate({
    id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
});
import pulumi
import pulumi_sdwan as sdwan
example = sdwan.get_cisco_dhcp_server_feature_template(id="f6b2c44c-693c-4763-b010-895aa3d236bd")
package main
import (
	"github.com/pulumi/pulumi-sdwan/sdk/go/sdwan"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := sdwan.LookupCiscoDhcpServerFeatureTemplate(ctx, &sdwan.LookupCiscoDhcpServerFeatureTemplateArgs{
			Id: pulumi.StringRef("f6b2c44c-693c-4763-b010-895aa3d236bd"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Sdwan = Pulumi.Sdwan;
return await Deployment.RunAsync(() => 
{
    var example = Sdwan.GetCiscoDhcpServerFeatureTemplate.Invoke(new()
    {
        Id = "f6b2c44c-693c-4763-b010-895aa3d236bd",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sdwan.SdwanFunctions;
import com.pulumi.sdwan.inputs.GetCiscoDhcpServerFeatureTemplateArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var example = SdwanFunctions.getCiscoDhcpServerFeatureTemplate(GetCiscoDhcpServerFeatureTemplateArgs.builder()
            .id("f6b2c44c-693c-4763-b010-895aa3d236bd")
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: sdwan:getCiscoDhcpServerFeatureTemplate
      arguments:
        id: f6b2c44c-693c-4763-b010-895aa3d236bd
Using getCiscoDhcpServerFeatureTemplate
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCiscoDhcpServerFeatureTemplate(args: GetCiscoDhcpServerFeatureTemplateArgs, opts?: InvokeOptions): Promise<GetCiscoDhcpServerFeatureTemplateResult>
function getCiscoDhcpServerFeatureTemplateOutput(args: GetCiscoDhcpServerFeatureTemplateOutputArgs, opts?: InvokeOptions): Output<GetCiscoDhcpServerFeatureTemplateResult>def get_cisco_dhcp_server_feature_template(id: Optional[str] = None,
                                           name: Optional[str] = None,
                                           opts: Optional[InvokeOptions] = None) -> GetCiscoDhcpServerFeatureTemplateResult
def get_cisco_dhcp_server_feature_template_output(id: Optional[pulumi.Input[str]] = None,
                                           name: Optional[pulumi.Input[str]] = None,
                                           opts: Optional[InvokeOptions] = None) -> Output[GetCiscoDhcpServerFeatureTemplateResult]func LookupCiscoDhcpServerFeatureTemplate(ctx *Context, args *LookupCiscoDhcpServerFeatureTemplateArgs, opts ...InvokeOption) (*LookupCiscoDhcpServerFeatureTemplateResult, error)
func LookupCiscoDhcpServerFeatureTemplateOutput(ctx *Context, args *LookupCiscoDhcpServerFeatureTemplateOutputArgs, opts ...InvokeOption) LookupCiscoDhcpServerFeatureTemplateResultOutput> Note: This function is named LookupCiscoDhcpServerFeatureTemplate in the Go SDK.
public static class GetCiscoDhcpServerFeatureTemplate 
{
    public static Task<GetCiscoDhcpServerFeatureTemplateResult> InvokeAsync(GetCiscoDhcpServerFeatureTemplateArgs args, InvokeOptions? opts = null)
    public static Output<GetCiscoDhcpServerFeatureTemplateResult> Invoke(GetCiscoDhcpServerFeatureTemplateInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCiscoDhcpServerFeatureTemplateResult> getCiscoDhcpServerFeatureTemplate(GetCiscoDhcpServerFeatureTemplateArgs args, InvokeOptions options)
public static Output<GetCiscoDhcpServerFeatureTemplateResult> getCiscoDhcpServerFeatureTemplate(GetCiscoDhcpServerFeatureTemplateArgs args, InvokeOptions options)
fn::invoke:
  function: sdwan:index/getCiscoDhcpServerFeatureTemplate:getCiscoDhcpServerFeatureTemplate
  arguments:
    # arguments dictionaryThe following arguments are supported:
getCiscoDhcpServerFeatureTemplate Result
The following output properties are available:
- AddressPool string
- Configure IPv4 prefix range of the DHCP address pool
- AddressPool stringVariable 
- Variable name
- DefaultGateway string
- Set IP address of default gateway
- DefaultGateway stringVariable 
- Variable name
- Description string
- The description of the feature template
- DeviceTypes List<string>
- List of supported device types
- DnsServers List<string>
- Configure one or more DNS server IP addresses
- DnsServers stringVariable 
- Variable name
- DomainName string
- Set domain name client uses to resolve hostnames
- DomainName stringVariable 
- Variable name
- ExcludeAddresses List<string>
- Configure IPv4 address to exclude from DHCP address pool
- ExcludeAddresses stringVariable 
- Variable name
- Id string
- The id of the feature template
- InterfaceMtu int
- Set MTU on interface to DHCP client
- InterfaceMtu stringVariable 
- Variable name
- LeaseTime int
- Configure how long a DHCP-assigned IP address is valid
- LeaseTime stringVariable 
- Variable name
- Name string
- The name of the feature template
- Options
List<GetCisco Dhcp Server Feature Template Option> 
- Configure Options Code
- StaticLeases List<GetCisco Dhcp Server Feature Template Static Lease> 
- Configure static IP addresses
- TemplateType string
- The template type
- TftpServers List<string>
- Configure TFTP server IP addresses
- TftpServers stringVariable 
- Variable name
- Version int
- The version of the feature template
- AddressPool string
- Configure IPv4 prefix range of the DHCP address pool
- AddressPool stringVariable 
- Variable name
- DefaultGateway string
- Set IP address of default gateway
- DefaultGateway stringVariable 
- Variable name
- Description string
- The description of the feature template
- DeviceTypes []string
- List of supported device types
- DnsServers []string
- Configure one or more DNS server IP addresses
- DnsServers stringVariable 
- Variable name
- DomainName string
- Set domain name client uses to resolve hostnames
- DomainName stringVariable 
- Variable name
- ExcludeAddresses []string
- Configure IPv4 address to exclude from DHCP address pool
- ExcludeAddresses stringVariable 
- Variable name
- Id string
- The id of the feature template
- InterfaceMtu int
- Set MTU on interface to DHCP client
- InterfaceMtu stringVariable 
- Variable name
- LeaseTime int
- Configure how long a DHCP-assigned IP address is valid
- LeaseTime stringVariable 
- Variable name
- Name string
- The name of the feature template
- Options
[]GetCisco Dhcp Server Feature Template Option 
- Configure Options Code
- StaticLeases []GetCisco Dhcp Server Feature Template Static Lease 
- Configure static IP addresses
- TemplateType string
- The template type
- TftpServers []string
- Configure TFTP server IP addresses
- TftpServers stringVariable 
- Variable name
- Version int
- The version of the feature template
- addressPool String
- Configure IPv4 prefix range of the DHCP address pool
- addressPool StringVariable 
- Variable name
- defaultGateway String
- Set IP address of default gateway
- defaultGateway StringVariable 
- Variable name
- description String
- The description of the feature template
- deviceTypes List<String>
- List of supported device types
- dnsServers List<String>
- Configure one or more DNS server IP addresses
- dnsServers StringVariable 
- Variable name
- domainName String
- Set domain name client uses to resolve hostnames
- domainName StringVariable 
- Variable name
- excludeAddresses List<String>
- Configure IPv4 address to exclude from DHCP address pool
- excludeAddresses StringVariable 
- Variable name
- id String
- The id of the feature template
- interfaceMtu Integer
- Set MTU on interface to DHCP client
- interfaceMtu StringVariable 
- Variable name
- leaseTime Integer
- Configure how long a DHCP-assigned IP address is valid
- leaseTime StringVariable 
- Variable name
- name String
- The name of the feature template
- options
List<GetCisco Dhcp Server Feature Template Option> 
- Configure Options Code
- staticLeases List<GetCisco Dhcp Server Feature Template Static Lease> 
- Configure static IP addresses
- templateType String
- The template type
- tftpServers List<String>
- Configure TFTP server IP addresses
- tftpServers StringVariable 
- Variable name
- version Integer
- The version of the feature template
- addressPool string
- Configure IPv4 prefix range of the DHCP address pool
- addressPool stringVariable 
- Variable name
- defaultGateway string
- Set IP address of default gateway
- defaultGateway stringVariable 
- Variable name
- description string
- The description of the feature template
- deviceTypes string[]
- List of supported device types
- dnsServers string[]
- Configure one or more DNS server IP addresses
- dnsServers stringVariable 
- Variable name
- domainName string
- Set domain name client uses to resolve hostnames
- domainName stringVariable 
- Variable name
- excludeAddresses string[]
- Configure IPv4 address to exclude from DHCP address pool
- excludeAddresses stringVariable 
- Variable name
- id string
- The id of the feature template
- interfaceMtu number
- Set MTU on interface to DHCP client
- interfaceMtu stringVariable 
- Variable name
- leaseTime number
- Configure how long a DHCP-assigned IP address is valid
- leaseTime stringVariable 
- Variable name
- name string
- The name of the feature template
- options
GetCisco Dhcp Server Feature Template Option[] 
- Configure Options Code
- staticLeases GetCisco Dhcp Server Feature Template Static Lease[] 
- Configure static IP addresses
- templateType string
- The template type
- tftpServers string[]
- Configure TFTP server IP addresses
- tftpServers stringVariable 
- Variable name
- version number
- The version of the feature template
- address_pool str
- Configure IPv4 prefix range of the DHCP address pool
- address_pool_ strvariable 
- Variable name
- default_gateway str
- Set IP address of default gateway
- default_gateway_ strvariable 
- Variable name
- description str
- The description of the feature template
- device_types Sequence[str]
- List of supported device types
- dns_servers Sequence[str]
- Configure one or more DNS server IP addresses
- dns_servers_ strvariable 
- Variable name
- domain_name str
- Set domain name client uses to resolve hostnames
- domain_name_ strvariable 
- Variable name
- exclude_addresses Sequence[str]
- Configure IPv4 address to exclude from DHCP address pool
- exclude_addresses_ strvariable 
- Variable name
- id str
- The id of the feature template
- interface_mtu int
- Set MTU on interface to DHCP client
- interface_mtu_ strvariable 
- Variable name
- lease_time int
- Configure how long a DHCP-assigned IP address is valid
- lease_time_ strvariable 
- Variable name
- name str
- The name of the feature template
- options
Sequence[GetCisco Dhcp Server Feature Template Option] 
- Configure Options Code
- static_leases Sequence[GetCisco Dhcp Server Feature Template Static Lease] 
- Configure static IP addresses
- template_type str
- The template type
- tftp_servers Sequence[str]
- Configure TFTP server IP addresses
- tftp_servers_ strvariable 
- Variable name
- version int
- The version of the feature template
- addressPool String
- Configure IPv4 prefix range of the DHCP address pool
- addressPool StringVariable 
- Variable name
- defaultGateway String
- Set IP address of default gateway
- defaultGateway StringVariable 
- Variable name
- description String
- The description of the feature template
- deviceTypes List<String>
- List of supported device types
- dnsServers List<String>
- Configure one or more DNS server IP addresses
- dnsServers StringVariable 
- Variable name
- domainName String
- Set domain name client uses to resolve hostnames
- domainName StringVariable 
- Variable name
- excludeAddresses List<String>
- Configure IPv4 address to exclude from DHCP address pool
- excludeAddresses StringVariable 
- Variable name
- id String
- The id of the feature template
- interfaceMtu Number
- Set MTU on interface to DHCP client
- interfaceMtu StringVariable 
- Variable name
- leaseTime Number
- Configure how long a DHCP-assigned IP address is valid
- leaseTime StringVariable 
- Variable name
- name String
- The name of the feature template
- options List<Property Map>
- Configure Options Code
- staticLeases List<Property Map>
- Configure static IP addresses
- templateType String
- The template type
- tftpServers List<String>
- Configure TFTP server IP addresses
- tftpServers StringVariable 
- Variable name
- version Number
- The version of the feature template
Supporting Types
GetCiscoDhcpServerFeatureTemplateOption      
- Ascii string
- Set ASCII value
- AsciiVariable string
- Variable name
- Hex string
- Set HEX value
- HexVariable string
- Variable name
- IpAddress stringVariable 
- Variable name
- IpAddresses List<string>
- Set ip address
- OptionCode int
- Set Option Code
- OptionCode stringVariable 
- Variable name
- Optional bool
- Indicates if list item is considered optional.
- Ascii string
- Set ASCII value
- AsciiVariable string
- Variable name
- Hex string
- Set HEX value
- HexVariable string
- Variable name
- IpAddress stringVariable 
- Variable name
- IpAddresses []string
- Set ip address
- OptionCode int
- Set Option Code
- OptionCode stringVariable 
- Variable name
- Optional bool
- Indicates if list item is considered optional.
- ascii String
- Set ASCII value
- asciiVariable String
- Variable name
- hex String
- Set HEX value
- hexVariable String
- Variable name
- ipAddress StringVariable 
- Variable name
- ipAddresses List<String>
- Set ip address
- optionCode Integer
- Set Option Code
- optionCode StringVariable 
- Variable name
- optional Boolean
- Indicates if list item is considered optional.
- ascii string
- Set ASCII value
- asciiVariable string
- Variable name
- hex string
- Set HEX value
- hexVariable string
- Variable name
- ipAddress stringVariable 
- Variable name
- ipAddresses string[]
- Set ip address
- optionCode number
- Set Option Code
- optionCode stringVariable 
- Variable name
- optional boolean
- Indicates if list item is considered optional.
- ascii str
- Set ASCII value
- ascii_variable str
- Variable name
- hex str
- Set HEX value
- hex_variable str
- Variable name
- ip_address_ strvariable 
- Variable name
- ip_addresses Sequence[str]
- Set ip address
- option_code int
- Set Option Code
- option_code_ strvariable 
- Variable name
- optional bool
- Indicates if list item is considered optional.
- ascii String
- Set ASCII value
- asciiVariable String
- Variable name
- hex String
- Set HEX value
- hexVariable String
- Variable name
- ipAddress StringVariable 
- Variable name
- ipAddresses List<String>
- Set ip address
- optionCode Number
- Set Option Code
- optionCode StringVariable 
- Variable name
- optional Boolean
- Indicates if list item is considered optional.
GetCiscoDhcpServerFeatureTemplateStaticLease       
- Hostname string
- Set client’s hostname
- HostnameVariable string
- Variable name
- IpAddress string
- Set client’s static IP address
- IpAddress stringVariable 
- Variable name
- MacAddress string
- Set MAC address of client
- MacAddress stringVariable 
- Variable name
- Optional bool
- Indicates if list item is considered optional.
- Hostname string
- Set client’s hostname
- HostnameVariable string
- Variable name
- IpAddress string
- Set client’s static IP address
- IpAddress stringVariable 
- Variable name
- MacAddress string
- Set MAC address of client
- MacAddress stringVariable 
- Variable name
- Optional bool
- Indicates if list item is considered optional.
- hostname String
- Set client’s hostname
- hostnameVariable String
- Variable name
- ipAddress String
- Set client’s static IP address
- ipAddress StringVariable 
- Variable name
- macAddress String
- Set MAC address of client
- macAddress StringVariable 
- Variable name
- optional Boolean
- Indicates if list item is considered optional.
- hostname string
- Set client’s hostname
- hostnameVariable string
- Variable name
- ipAddress string
- Set client’s static IP address
- ipAddress stringVariable 
- Variable name
- macAddress string
- Set MAC address of client
- macAddress stringVariable 
- Variable name
- optional boolean
- Indicates if list item is considered optional.
- hostname str
- Set client’s hostname
- hostname_variable str
- Variable name
- ip_address str
- Set client’s static IP address
- ip_address_ strvariable 
- Variable name
- mac_address str
- Set MAC address of client
- mac_address_ strvariable 
- Variable name
- optional bool
- Indicates if list item is considered optional.
- hostname String
- Set client’s hostname
- hostnameVariable String
- Variable name
- ipAddress String
- Set client’s static IP address
- ipAddress StringVariable 
- Variable name
- macAddress String
- Set MAC address of client
- macAddress StringVariable 
- Variable name
- optional Boolean
- Indicates if list item is considered optional.
Package Details
- Repository
- sdwan pulumi/pulumi-sdwan
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the sdwanTerraform Provider.
