DhcpInterface data source
Using getDhcpInterface
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 getDhcpInterface(args: GetDhcpInterfaceArgs, opts?: InvokeOptions): Promise<GetDhcpInterfaceResult>
function getDhcpInterfaceOutput(args: GetDhcpInterfaceOutputArgs, opts?: InvokeOptions): Output<GetDhcpInterfaceResult>def get_dhcp_interface(id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDhcpInterfaceResult
def get_dhcp_interface_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDhcpInterfaceResult]func LookupDhcpInterface(ctx *Context, args *LookupDhcpInterfaceArgs, opts ...InvokeOption) (*LookupDhcpInterfaceResult, error)
func LookupDhcpInterfaceOutput(ctx *Context, args *LookupDhcpInterfaceOutputArgs, opts ...InvokeOption) LookupDhcpInterfaceResultOutput> Note: This function is named LookupDhcpInterface in the Go SDK.
public static class GetDhcpInterface
{
public static Task<GetDhcpInterfaceResult> InvokeAsync(GetDhcpInterfaceArgs args, InvokeOptions? opts = null)
public static Output<GetDhcpInterfaceResult> Invoke(GetDhcpInterfaceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDhcpInterfaceResult> getDhcpInterface(GetDhcpInterfaceArgs args, InvokeOptions options)
public static Output<GetDhcpInterfaceResult> getDhcpInterface(GetDhcpInterfaceArgs args, InvokeOptions options)
fn::invoke:
function: scm:index/getDhcpInterface:getDhcpInterface
arguments:
# arguments dictionaryThe following arguments are supported:
getDhcpInterface Result
The following output properties are available:
- Device string
- The device in which the resource is defined
- Folder string
- Id string
- UUID of the resource
- Name string
- Interface name
- Relay
Get
Dhcp Interface Relay - Server
Get
Dhcp Interface Server - Snippet string
- Tfid string
- Device string
- The device in which the resource is defined
- Folder string
- Id string
- UUID of the resource
- Name string
- Interface name
- Relay
Get
Dhcp Interface Relay - Server
Get
Dhcp Interface Server - Snippet string
- Tfid string
- device String
- The device in which the resource is defined
- folder String
- id String
- UUID of the resource
- name String
- Interface name
- relay
Get
Dhcp Interface Relay - server
Get
Dhcp Interface Server - snippet String
- tfid String
- device string
- The device in which the resource is defined
- folder string
- id string
- UUID of the resource
- name string
- Interface name
- relay
Get
Dhcp Interface Relay - server
Get
Dhcp Interface Server - snippet string
- tfid string
- device str
- The device in which the resource is defined
- folder str
- id str
- UUID of the resource
- name str
- Interface name
- relay
Get
Dhcp Interface Relay - server
Get
Dhcp Interface Server - snippet str
- tfid str
- device String
- The device in which the resource is defined
- folder String
- id String
- UUID of the resource
- name String
- Interface name
- relay Property Map
- server Property Map
- snippet String
- tfid String
Supporting Types
GetDhcpInterfaceRelay
GetDhcpInterfaceRelayIp
GetDhcpInterfaceServer
- Ip
Pools List<string> - List of IP address pools
- Mode string
- DHCP server mode
- Option
Get
Dhcp Interface Server Option - Option
- Probe
Ip bool - Ping IP before allocating?
- Reserveds
List<Get
Dhcp Interface Server Reserved> - List of IP reservations
- Ip
Pools []string - List of IP address pools
- Mode string
- DHCP server mode
- Option
Get
Dhcp Interface Server Option - Option
- Probe
Ip bool - Ping IP before allocating?
- Reserveds
[]Get
Dhcp Interface Server Reserved - List of IP reservations
- ip
Pools List<String> - List of IP address pools
- mode String
- DHCP server mode
- option
Get
Dhcp Interface Server Option - Option
- probe
Ip Boolean - Ping IP before allocating?
- reserveds
List<Get
Dhcp Interface Server Reserved> - List of IP reservations
- ip
Pools string[] - List of IP address pools
- mode string
- DHCP server mode
- option
Get
Dhcp Interface Server Option - Option
- probe
Ip boolean - Ping IP before allocating?
- reserveds
Get
Dhcp Interface Server Reserved[] - List of IP reservations
- ip_
pools Sequence[str] - List of IP address pools
- mode str
- DHCP server mode
- option
Get
Dhcp Interface Server Option - Option
- probe_
ip bool - Ping IP before allocating?
- reserveds
Sequence[Get
Dhcp Interface Server Reserved] - List of IP reservations
- ip
Pools List<String> - List of IP address pools
- mode String
- DHCP server mode
- option Property Map
- Option
- probe
Ip Boolean - Ping IP before allocating?
- reserveds List<Property Map>
- List of IP reservations
GetDhcpInterfaceServerOption
- Dns
Get
Dhcp Interface Server Option Dns - Dns
- Dns
Suffix string - DNS suffix
- Gateway string
- Default gateway
- Inheritance
Get
Dhcp Interface Server Option Inheritance - Inheritance
- Lease
Get
Dhcp Interface Server Option Lease - Lease
- Nis
Get
Dhcp Interface Server Option Nis - Nis
- Ntp
Get
Dhcp Interface Server Option Ntp - Ntp
- Pop3Server string
- POP3 server
- Smtp
Server string - SMTP server
- Subnet
Mask string - Subnet mask
- User
Defineds List<GetDhcp Interface Server Option User Defined> - Custom DHCP options
- Wins
Get
Dhcp Interface Server Option Wins - Wins
- Dns
Get
Dhcp Interface Server Option Dns - Dns
- Dns
Suffix string - DNS suffix
- Gateway string
- Default gateway
- Inheritance
Get
Dhcp Interface Server Option Inheritance - Inheritance
- Lease
Get
Dhcp Interface Server Option Lease - Lease
- Nis
Get
Dhcp Interface Server Option Nis - Nis
- Ntp
Get
Dhcp Interface Server Option Ntp - Ntp
- Pop3Server string
- POP3 server
- Smtp
Server string - SMTP server
- Subnet
Mask string - Subnet mask
- User
Defineds []GetDhcp Interface Server Option User Defined - Custom DHCP options
- Wins
Get
Dhcp Interface Server Option Wins - Wins
- dns
Get
Dhcp Interface Server Option Dns - Dns
- dns
Suffix String - DNS suffix
- gateway String
- Default gateway
- inheritance
Get
Dhcp Interface Server Option Inheritance - Inheritance
- lease
Get
Dhcp Interface Server Option Lease - Lease
- nis
Get
Dhcp Interface Server Option Nis - Nis
- ntp
Get
Dhcp Interface Server Option Ntp - Ntp
- pop3Server String
- POP3 server
- smtp
Server String - SMTP server
- subnet
Mask String - Subnet mask
- user
Defineds List<GetDhcp Interface Server Option User Defined> - Custom DHCP options
- wins
Get
Dhcp Interface Server Option Wins - Wins
- dns
Get
Dhcp Interface Server Option Dns - Dns
- dns
Suffix string - DNS suffix
- gateway string
- Default gateway
- inheritance
Get
Dhcp Interface Server Option Inheritance - Inheritance
- lease
Get
Dhcp Interface Server Option Lease - Lease
- nis
Get
Dhcp Interface Server Option Nis - Nis
- ntp
Get
Dhcp Interface Server Option Ntp - Ntp
- pop3Server string
- POP3 server
- smtp
Server string - SMTP server
- subnet
Mask string - Subnet mask
- user
Defineds GetDhcp Interface Server Option User Defined[] - Custom DHCP options
- wins
Get
Dhcp Interface Server Option Wins - Wins
- dns
Get
Dhcp Interface Server Option Dns - Dns
- dns_
suffix str - DNS suffix
- gateway str
- Default gateway
- inheritance
Get
Dhcp Interface Server Option Inheritance - Inheritance
- lease
Get
Dhcp Interface Server Option Lease - Lease
- nis
Get
Dhcp Interface Server Option Nis - Nis
- ntp
Get
Dhcp Interface Server Option Ntp - Ntp
- pop3_
server str - POP3 server
- smtp_
server str - SMTP server
- subnet_
mask str - Subnet mask
- user_
defineds Sequence[GetDhcp Interface Server Option User Defined] - Custom DHCP options
- wins
Get
Dhcp Interface Server Option Wins - Wins
- dns Property Map
- Dns
- dns
Suffix String - DNS suffix
- gateway String
- Default gateway
- inheritance Property Map
- Inheritance
- lease Property Map
- Lease
- nis Property Map
- Nis
- ntp Property Map
- Ntp
- pop3Server String
- POP3 server
- smtp
Server String - SMTP server
- subnet
Mask String - Subnet mask
- user
Defineds List<Property Map> - Custom DHCP options
- wins Property Map
- Wins
GetDhcpInterfaceServerOptionDns
GetDhcpInterfaceServerOptionInheritance
- Source string
- Interface from which to inherit lease options
- Source string
- Interface from which to inherit lease options
- source String
- Interface from which to inherit lease options
- source string
- Interface from which to inherit lease options
- source str
- Interface from which to inherit lease options
- source String
- Interface from which to inherit lease options
GetDhcpInterfaceServerOptionLease
- Timeout int
- DHCP lease timeout (minutes)
- Unlimited
Get
Dhcp Interface Server Option Lease Unlimited Unlimited
ℹ️ Note: You must specify exactly one of
timeoutandunlimited.
- Timeout int
- DHCP lease timeout (minutes)
- Unlimited
Get
Dhcp Interface Server Option Lease Unlimited Unlimited
ℹ️ Note: You must specify exactly one of
timeoutandunlimited.
- timeout Integer
- DHCP lease timeout (minutes)
- unlimited
Get
Dhcp Interface Server Option Lease Unlimited Unlimited
ℹ️ Note: You must specify exactly one of
timeoutandunlimited.
- timeout number
- DHCP lease timeout (minutes)
- unlimited
Get
Dhcp Interface Server Option Lease Unlimited Unlimited
ℹ️ Note: You must specify exactly one of
timeoutandunlimited.
- timeout int
- DHCP lease timeout (minutes)
- unlimited
Get
Dhcp Interface Server Option Lease Unlimited Unlimited
ℹ️ Note: You must specify exactly one of
timeoutandunlimited.
- timeout Number
- DHCP lease timeout (minutes)
- unlimited Property Map
Unlimited
ℹ️ Note: You must specify exactly one of
timeoutandunlimited.
GetDhcpInterfaceServerOptionNis
GetDhcpInterfaceServerOptionNtp
GetDhcpInterfaceServerOptionUserDefined
GetDhcpInterfaceServerOptionWins
GetDhcpInterfaceServerReserved
- Description string
- Reservation description
- Mac string
- Reserved MAC address
- Name string
- Reserved IP address
- Description string
- Reservation description
- Mac string
- Reserved MAC address
- Name string
- Reserved IP address
- description String
- Reservation description
- mac String
- Reserved MAC address
- name String
- Reserved IP address
- description string
- Reservation description
- mac string
- Reserved MAC address
- name string
- Reserved IP address
- description str
- Reservation description
- mac str
- Reserved MAC address
- name str
- Reserved IP address
- description String
- Reservation description
- mac String
- Reserved MAC address
- name String
- Reserved IP address
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scmTerraform Provider.
