Cisco Catalyst SD-WAN v0.1.1 published on Friday, May 31, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: sdwan:index/getCiscoDhcpServerFeatureTemplate:getCiscoDhcpServerFeatureTemplate
arguments:
# arguments dictionary
The following arguments are supported:
getCiscoDhcpServerFeatureTemplate Result
The following output properties are available:
- Address
Pool string - Configure IPv4 prefix range of the DHCP address pool
- Address
Pool stringVariable - Variable name
- Default
Gateway string - Set IP address of default gateway
- Default
Gateway stringVariable - Variable name
- Description string
- The description of the feature template
- Device
Types List<string> - List of supported device types
- Dns
Servers List<string> - Configure one or more DNS server IP addresses
- Dns
Servers stringVariable - Variable name
- Domain
Name string - Set domain name client uses to resolve hostnames
- Domain
Name stringVariable - Variable name
- Exclude
Addresses List<string> - Configure IPv4 address to exclude from DHCP address pool
- Exclude
Addresses stringVariable - Variable name
- Id string
- The id of the feature template
- Interface
Mtu int - Set MTU on interface to DHCP client
- Interface
Mtu stringVariable - Variable name
- Lease
Time int - Configure how long a DHCP-assigned IP address is valid
- Lease
Time stringVariable - Variable name
- Name string
- The name of the feature template
- Options
List<Get
Cisco Dhcp Server Feature Template Option> - Configure Options Code
- Static
Leases List<GetCisco Dhcp Server Feature Template Static Lease> - Configure static IP addresses
- Template
Type string - The template type
- Tftp
Servers List<string> - Configure TFTP server IP addresses
- Tftp
Servers stringVariable - Variable name
- Version int
- The version of the feature template
- Address
Pool string - Configure IPv4 prefix range of the DHCP address pool
- Address
Pool stringVariable - Variable name
- Default
Gateway string - Set IP address of default gateway
- Default
Gateway stringVariable - Variable name
- Description string
- The description of the feature template
- Device
Types []string - List of supported device types
- Dns
Servers []string - Configure one or more DNS server IP addresses
- Dns
Servers stringVariable - Variable name
- Domain
Name string - Set domain name client uses to resolve hostnames
- Domain
Name stringVariable - Variable name
- Exclude
Addresses []string - Configure IPv4 address to exclude from DHCP address pool
- Exclude
Addresses stringVariable - Variable name
- Id string
- The id of the feature template
- Interface
Mtu int - Set MTU on interface to DHCP client
- Interface
Mtu stringVariable - Variable name
- Lease
Time int - Configure how long a DHCP-assigned IP address is valid
- Lease
Time stringVariable - Variable name
- Name string
- The name of the feature template
- Options
[]Get
Cisco Dhcp Server Feature Template Option - Configure Options Code
- Static
Leases []GetCisco Dhcp Server Feature Template Static Lease - Configure static IP addresses
- Template
Type string - The template type
- Tftp
Servers []string - Configure TFTP server IP addresses
- Tftp
Servers stringVariable - Variable name
- Version int
- The version of the feature template
- address
Pool String - Configure IPv4 prefix range of the DHCP address pool
- address
Pool StringVariable - Variable name
- default
Gateway String - Set IP address of default gateway
- default
Gateway StringVariable - Variable name
- description String
- The description of the feature template
- device
Types List<String> - List of supported device types
- dns
Servers List<String> - Configure one or more DNS server IP addresses
- dns
Servers StringVariable - Variable name
- domain
Name String - Set domain name client uses to resolve hostnames
- domain
Name StringVariable - Variable name
- exclude
Addresses List<String> - Configure IPv4 address to exclude from DHCP address pool
- exclude
Addresses StringVariable - Variable name
- id String
- The id of the feature template
- interface
Mtu Integer - Set MTU on interface to DHCP client
- interface
Mtu StringVariable - Variable name
- lease
Time Integer - Configure how long a DHCP-assigned IP address is valid
- lease
Time StringVariable - Variable name
- name String
- The name of the feature template
- options
List<Get
Cisco Dhcp Server Feature Template Option> - Configure Options Code
- static
Leases List<GetCisco Dhcp Server Feature Template Static Lease> - Configure static IP addresses
- template
Type String - The template type
- tftp
Servers List<String> - Configure TFTP server IP addresses
- tftp
Servers StringVariable - Variable name
- version Integer
- The version of the feature template
- address
Pool string - Configure IPv4 prefix range of the DHCP address pool
- address
Pool stringVariable - Variable name
- default
Gateway string - Set IP address of default gateway
- default
Gateway stringVariable - Variable name
- description string
- The description of the feature template
- device
Types string[] - List of supported device types
- dns
Servers string[] - Configure one or more DNS server IP addresses
- dns
Servers stringVariable - Variable name
- domain
Name string - Set domain name client uses to resolve hostnames
- domain
Name stringVariable - Variable name
- exclude
Addresses string[] - Configure IPv4 address to exclude from DHCP address pool
- exclude
Addresses stringVariable - Variable name
- id string
- The id of the feature template
- interface
Mtu number - Set MTU on interface to DHCP client
- interface
Mtu stringVariable - Variable name
- lease
Time number - Configure how long a DHCP-assigned IP address is valid
- lease
Time stringVariable - Variable name
- name string
- The name of the feature template
- options
Get
Cisco Dhcp Server Feature Template Option[] - Configure Options Code
- static
Leases GetCisco Dhcp Server Feature Template Static Lease[] - Configure static IP addresses
- template
Type string - The template type
- tftp
Servers string[] - Configure TFTP server IP addresses
- tftp
Servers 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[Get
Cisco 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
- address
Pool String - Configure IPv4 prefix range of the DHCP address pool
- address
Pool StringVariable - Variable name
- default
Gateway String - Set IP address of default gateway
- default
Gateway StringVariable - Variable name
- description String
- The description of the feature template
- device
Types List<String> - List of supported device types
- dns
Servers List<String> - Configure one or more DNS server IP addresses
- dns
Servers StringVariable - Variable name
- domain
Name String - Set domain name client uses to resolve hostnames
- domain
Name StringVariable - Variable name
- exclude
Addresses List<String> - Configure IPv4 address to exclude from DHCP address pool
- exclude
Addresses StringVariable - Variable name
- id String
- The id of the feature template
- interface
Mtu Number - Set MTU on interface to DHCP client
- interface
Mtu StringVariable - Variable name
- lease
Time Number - Configure how long a DHCP-assigned IP address is valid
- lease
Time StringVariable - Variable name
- name String
- The name of the feature template
- options List<Property Map>
- Configure Options Code
- static
Leases List<Property Map> - Configure static IP addresses
- template
Type String - The template type
- tftp
Servers List<String> - Configure TFTP server IP addresses
- tftp
Servers StringVariable - Variable name
- version Number
- The version of the feature template
Supporting Types
GetCiscoDhcpServerFeatureTemplateOption
- Ascii string
- Set ASCII value
- Ascii
Variable string - Variable name
- Hex string
- Set HEX value
- Hex
Variable string - Variable name
- Ip
Address stringVariable - Variable name
- Ip
Addresses List<string> - Set ip address
- Option
Code int - Set Option Code
- Option
Code stringVariable - Variable name
- Optional bool
- Indicates if list item is considered optional.
- Ascii string
- Set ASCII value
- Ascii
Variable string - Variable name
- Hex string
- Set HEX value
- Hex
Variable string - Variable name
- Ip
Address stringVariable - Variable name
- Ip
Addresses []string - Set ip address
- Option
Code int - Set Option Code
- Option
Code stringVariable - Variable name
- Optional bool
- Indicates if list item is considered optional.
- ascii String
- Set ASCII value
- ascii
Variable String - Variable name
- hex String
- Set HEX value
- hex
Variable String - Variable name
- ip
Address StringVariable - Variable name
- ip
Addresses List<String> - Set ip address
- option
Code Integer - Set Option Code
- option
Code StringVariable - Variable name
- optional Boolean
- Indicates if list item is considered optional.
- ascii string
- Set ASCII value
- ascii
Variable string - Variable name
- hex string
- Set HEX value
- hex
Variable string - Variable name
- ip
Address stringVariable - Variable name
- ip
Addresses string[] - Set ip address
- option
Code number - Set Option Code
- option
Code 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
- ascii
Variable String - Variable name
- hex String
- Set HEX value
- hex
Variable String - Variable name
- ip
Address StringVariable - Variable name
- ip
Addresses List<String> - Set ip address
- option
Code Number - Set Option Code
- option
Code StringVariable - Variable name
- optional Boolean
- Indicates if list item is considered optional.
GetCiscoDhcpServerFeatureTemplateStaticLease
- Hostname string
- Set client’s hostname
- Hostname
Variable string - Variable name
- Ip
Address string - Set client’s static IP address
- Ip
Address stringVariable - Variable name
- Mac
Address string - Set MAC address of client
- Mac
Address stringVariable - Variable name
- Optional bool
- Indicates if list item is considered optional.
- Hostname string
- Set client’s hostname
- Hostname
Variable string - Variable name
- Ip
Address string - Set client’s static IP address
- Ip
Address stringVariable - Variable name
- Mac
Address string - Set MAC address of client
- Mac
Address stringVariable - Variable name
- Optional bool
- Indicates if list item is considered optional.
- hostname String
- Set client’s hostname
- hostname
Variable String - Variable name
- ip
Address String - Set client’s static IP address
- ip
Address StringVariable - Variable name
- mac
Address String - Set MAC address of client
- mac
Address StringVariable - Variable name
- optional Boolean
- Indicates if list item is considered optional.
- hostname string
- Set client’s hostname
- hostname
Variable string - Variable name
- ip
Address string - Set client’s static IP address
- ip
Address stringVariable - Variable name
- mac
Address string - Set MAC address of client
- mac
Address 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
- hostname
Variable String - Variable name
- ip
Address String - Set client’s static IP address
- ip
Address StringVariable - Variable name
- mac
Address String - Set MAC address of client
- mac
Address 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
sdwan
Terraform Provider.