1. Packages
  2. Cisco Catalyst SD-WAN
  3. API Docs
  4. getCiscoDhcpServerFeatureTemplate
Cisco Catalyst SD-WAN v0.1.1 published on Friday, May 31, 2024 by Pulumi

sdwan.getCiscoDhcpServerFeatureTemplate

Explore with Pulumi AI

sdwan logo
Cisco Catalyst SD-WAN v0.1.1 published on Friday, May 31, 2024 by Pulumi

    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: sdwan:index/getCiscoDhcpServerFeatureTemplate:getCiscoDhcpServerFeatureTemplate
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The id of the feature template
    Name string
    The name of the feature template
    Id string
    The id of the feature template
    Name string
    The name of the feature template
    id String
    The id of the feature template
    name String
    The name of the feature template
    id string
    The id of the feature template
    name string
    The name of the feature template
    id str
    The id of the feature template
    name str
    The name of the feature template
    id String
    The id of the feature template
    name String
    The name of the feature template

    getCiscoDhcpServerFeatureTemplate Result

    The following output properties are available:

    AddressPool string
    Configure IPv4 prefix range of the DHCP address pool
    AddressPoolVariable string
    Variable name
    DefaultGateway string
    Set IP address of default gateway
    DefaultGatewayVariable string
    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
    DnsServersVariable string
    Variable name
    DomainName string
    Set domain name client uses to resolve hostnames
    DomainNameVariable string
    Variable name
    ExcludeAddresses List<string>
    Configure IPv4 address to exclude from DHCP address pool
    ExcludeAddressesVariable string
    Variable name
    Id string
    The id of the feature template
    InterfaceMtu int
    Set MTU on interface to DHCP client
    InterfaceMtuVariable string
    Variable name
    LeaseTime int
    Configure how long a DHCP-assigned IP address is valid
    LeaseTimeVariable string
    Variable name
    Name string
    The name of the feature template
    Options List<GetCiscoDhcpServerFeatureTemplateOption>
    Configure Options Code
    StaticLeases List<GetCiscoDhcpServerFeatureTemplateStaticLease>
    Configure static IP addresses
    TemplateType string
    The template type
    TftpServers List<string>
    Configure TFTP server IP addresses
    TftpServersVariable string
    Variable name
    Version int
    The version of the feature template
    AddressPool string
    Configure IPv4 prefix range of the DHCP address pool
    AddressPoolVariable string
    Variable name
    DefaultGateway string
    Set IP address of default gateway
    DefaultGatewayVariable string
    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
    DnsServersVariable string
    Variable name
    DomainName string
    Set domain name client uses to resolve hostnames
    DomainNameVariable string
    Variable name
    ExcludeAddresses []string
    Configure IPv4 address to exclude from DHCP address pool
    ExcludeAddressesVariable string
    Variable name
    Id string
    The id of the feature template
    InterfaceMtu int
    Set MTU on interface to DHCP client
    InterfaceMtuVariable string
    Variable name
    LeaseTime int
    Configure how long a DHCP-assigned IP address is valid
    LeaseTimeVariable string
    Variable name
    Name string
    The name of the feature template
    Options []GetCiscoDhcpServerFeatureTemplateOption
    Configure Options Code
    StaticLeases []GetCiscoDhcpServerFeatureTemplateStaticLease
    Configure static IP addresses
    TemplateType string
    The template type
    TftpServers []string
    Configure TFTP server IP addresses
    TftpServersVariable string
    Variable name
    Version int
    The version of the feature template
    addressPool String
    Configure IPv4 prefix range of the DHCP address pool
    addressPoolVariable String
    Variable name
    defaultGateway String
    Set IP address of default gateway
    defaultGatewayVariable String
    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
    dnsServersVariable String
    Variable name
    domainName String
    Set domain name client uses to resolve hostnames
    domainNameVariable String
    Variable name
    excludeAddresses List<String>
    Configure IPv4 address to exclude from DHCP address pool
    excludeAddressesVariable String
    Variable name
    id String
    The id of the feature template
    interfaceMtu Integer
    Set MTU on interface to DHCP client
    interfaceMtuVariable String
    Variable name
    leaseTime Integer
    Configure how long a DHCP-assigned IP address is valid
    leaseTimeVariable String
    Variable name
    name String
    The name of the feature template
    options List<GetCiscoDhcpServerFeatureTemplateOption>
    Configure Options Code
    staticLeases List<GetCiscoDhcpServerFeatureTemplateStaticLease>
    Configure static IP addresses
    templateType String
    The template type
    tftpServers List<String>
    Configure TFTP server IP addresses
    tftpServersVariable String
    Variable name
    version Integer
    The version of the feature template
    addressPool string
    Configure IPv4 prefix range of the DHCP address pool
    addressPoolVariable string
    Variable name
    defaultGateway string
    Set IP address of default gateway
    defaultGatewayVariable string
    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
    dnsServersVariable string
    Variable name
    domainName string
    Set domain name client uses to resolve hostnames
    domainNameVariable string
    Variable name
    excludeAddresses string[]
    Configure IPv4 address to exclude from DHCP address pool
    excludeAddressesVariable string
    Variable name
    id string
    The id of the feature template
    interfaceMtu number
    Set MTU on interface to DHCP client
    interfaceMtuVariable string
    Variable name
    leaseTime number
    Configure how long a DHCP-assigned IP address is valid
    leaseTimeVariable string
    Variable name
    name string
    The name of the feature template
    options GetCiscoDhcpServerFeatureTemplateOption[]
    Configure Options Code
    staticLeases GetCiscoDhcpServerFeatureTemplateStaticLease[]
    Configure static IP addresses
    templateType string
    The template type
    tftpServers string[]
    Configure TFTP server IP addresses
    tftpServersVariable string
    Variable name
    version number
    The version of the feature template
    address_pool str
    Configure IPv4 prefix range of the DHCP address pool
    address_pool_variable str
    Variable name
    default_gateway str
    Set IP address of default gateway
    default_gateway_variable str
    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_variable str
    Variable name
    domain_name str
    Set domain name client uses to resolve hostnames
    domain_name_variable str
    Variable name
    exclude_addresses Sequence[str]
    Configure IPv4 address to exclude from DHCP address pool
    exclude_addresses_variable str
    Variable name
    id str
    The id of the feature template
    interface_mtu int
    Set MTU on interface to DHCP client
    interface_mtu_variable str
    Variable name
    lease_time int
    Configure how long a DHCP-assigned IP address is valid
    lease_time_variable str
    Variable name
    name str
    The name of the feature template
    options Sequence[GetCiscoDhcpServerFeatureTemplateOption]
    Configure Options Code
    static_leases Sequence[GetCiscoDhcpServerFeatureTemplateStaticLease]
    Configure static IP addresses
    template_type str
    The template type
    tftp_servers Sequence[str]
    Configure TFTP server IP addresses
    tftp_servers_variable str
    Variable name
    version int
    The version of the feature template
    addressPool String
    Configure IPv4 prefix range of the DHCP address pool
    addressPoolVariable String
    Variable name
    defaultGateway String
    Set IP address of default gateway
    defaultGatewayVariable String
    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
    dnsServersVariable String
    Variable name
    domainName String
    Set domain name client uses to resolve hostnames
    domainNameVariable String
    Variable name
    excludeAddresses List<String>
    Configure IPv4 address to exclude from DHCP address pool
    excludeAddressesVariable String
    Variable name
    id String
    The id of the feature template
    interfaceMtu Number
    Set MTU on interface to DHCP client
    interfaceMtuVariable String
    Variable name
    leaseTime Number
    Configure how long a DHCP-assigned IP address is valid
    leaseTimeVariable String
    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
    tftpServersVariable String
    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
    IpAddressVariable string
    Variable name
    IpAddresses List<string>
    Set ip address
    OptionCode int
    Set Option Code
    OptionCodeVariable string
    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
    IpAddressVariable string
    Variable name
    IpAddresses []string
    Set ip address
    OptionCode int
    Set Option Code
    OptionCodeVariable string
    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
    ipAddressVariable String
    Variable name
    ipAddresses List<String>
    Set ip address
    optionCode Integer
    Set Option Code
    optionCodeVariable String
    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
    ipAddressVariable string
    Variable name
    ipAddresses string[]
    Set ip address
    optionCode number
    Set Option Code
    optionCodeVariable string
    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_variable str
    Variable name
    ip_addresses Sequence[str]
    Set ip address
    option_code int
    Set Option Code
    option_code_variable str
    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
    ipAddressVariable String
    Variable name
    ipAddresses List<String>
    Set ip address
    optionCode Number
    Set Option Code
    optionCodeVariable String
    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
    IpAddressVariable string
    Variable name
    MacAddress string
    Set MAC address of client
    MacAddressVariable string
    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
    IpAddressVariable string
    Variable name
    MacAddress string
    Set MAC address of client
    MacAddressVariable string
    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
    ipAddressVariable String
    Variable name
    macAddress String
    Set MAC address of client
    macAddressVariable String
    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
    ipAddressVariable string
    Variable name
    macAddress string
    Set MAC address of client
    macAddressVariable string
    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_variable str
    Variable name
    mac_address str
    Set MAC address of client
    mac_address_variable str
    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
    ipAddressVariable String
    Variable name
    macAddress String
    Set MAC address of client
    macAddressVariable String
    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 sdwan Terraform Provider.
    sdwan logo
    Cisco Catalyst SD-WAN v0.1.1 published on Friday, May 31, 2024 by Pulumi