panos 2.0.4 published on Friday, Jul 25, 2025 by paloaltonetworks
panos.getDhcp
Explore with Pulumi AI
panos 2.0.4 published on Friday, Jul 25, 2025 by paloaltonetworks
Using getDhcp
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 getDhcp(args: GetDhcpArgs, opts?: InvokeOptions): Promise<GetDhcpResult>
function getDhcpOutput(args: GetDhcpOutputArgs, opts?: InvokeOptions): Output<GetDhcpResult>
def get_dhcp(location: Optional[GetDhcpLocation] = None,
name: Optional[str] = None,
relay: Optional[GetDhcpRelay] = None,
server: Optional[GetDhcpServer] = None,
opts: Optional[InvokeOptions] = None) -> GetDhcpResult
def get_dhcp_output(location: Optional[pulumi.Input[GetDhcpLocationArgs]] = None,
name: Optional[pulumi.Input[str]] = None,
relay: Optional[pulumi.Input[GetDhcpRelayArgs]] = None,
server: Optional[pulumi.Input[GetDhcpServerArgs]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDhcpResult]
func LookupDhcp(ctx *Context, args *LookupDhcpArgs, opts ...InvokeOption) (*LookupDhcpResult, error)
func LookupDhcpOutput(ctx *Context, args *LookupDhcpOutputArgs, opts ...InvokeOption) LookupDhcpResultOutput
> Note: This function is named LookupDhcp
in the Go SDK.
public static class GetDhcp
{
public static Task<GetDhcpResult> InvokeAsync(GetDhcpArgs args, InvokeOptions? opts = null)
public static Output<GetDhcpResult> Invoke(GetDhcpInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDhcpResult> getDhcp(GetDhcpArgs args, InvokeOptions options)
public static Output<GetDhcpResult> getDhcp(GetDhcpArgs args, InvokeOptions options)
fn::invoke:
function: panos:index/getDhcp:getDhcp
arguments:
# arguments dictionary
The following arguments are supported:
- Location
Get
Dhcp Location - The location of this object.
- Name string
- Relay
Get
Dhcp Relay - Server
Get
Dhcp Server
- Location
Get
Dhcp Location - The location of this object.
- Name string
- Relay
Get
Dhcp Relay - Server
Get
Dhcp Server
- location
Get
Dhcp Location - The location of this object.
- name String
- relay
Get
Dhcp Relay - server
Get
Dhcp Server
- location
Get
Dhcp Location - The location of this object.
- name string
- relay
Get
Dhcp Relay - server
Get
Dhcp Server
- location
Get
Dhcp Location - The location of this object.
- name str
- relay
Get
Dhcp Relay - server
Get
Dhcp Server
- location Property Map
- The location of this object.
- name String
- relay Property Map
- server Property Map
getDhcp Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Location
Get
Dhcp Location - The location of this object.
- Name string
- Relay
Get
Dhcp Relay - Server
Get
Dhcp Server
- Id string
- The provider-assigned unique ID for this managed resource.
- Location
Get
Dhcp Location - The location of this object.
- Name string
- Relay
Get
Dhcp Relay - Server
Get
Dhcp Server
- id String
- The provider-assigned unique ID for this managed resource.
- location
Get
Dhcp Location - The location of this object.
- name String
- relay
Get
Dhcp Relay - server
Get
Dhcp Server
- id string
- The provider-assigned unique ID for this managed resource.
- location
Get
Dhcp Location - The location of this object.
- name string
- relay
Get
Dhcp Relay - server
Get
Dhcp Server
- id str
- The provider-assigned unique ID for this managed resource.
- location
Get
Dhcp Location - The location of this object.
- name str
- relay
Get
Dhcp Relay - server
Get
Dhcp Server
- id String
- The provider-assigned unique ID for this managed resource.
- location Property Map
- The location of this object.
- name String
- relay Property Map
- server Property Map
Supporting Types
GetDhcpLocation
- Ngfw
Get
Dhcp Location Ngfw - Located in a specific NGFW device
- Template
Get
Dhcp Location Template - Located in a specific template
- Template
Stack GetDhcp Location Template Stack - Located in a specific template stack
- Ngfw
Get
Dhcp Location Ngfw - Located in a specific NGFW device
- Template
Get
Dhcp Location Template - Located in a specific template
- Template
Stack GetDhcp Location Template Stack - Located in a specific template stack
- ngfw
Get
Dhcp Location Ngfw - Located in a specific NGFW device
- template
Get
Dhcp Location Template - Located in a specific template
- template
Stack GetDhcp Location Template Stack - Located in a specific template stack
- ngfw
Get
Dhcp Location Ngfw - Located in a specific NGFW device
- template
Get
Dhcp Location Template - Located in a specific template
- template
Stack GetDhcp Location Template Stack - Located in a specific template stack
- ngfw
Get
Dhcp Location Ngfw - Located in a specific NGFW device
- template
Get
Dhcp Location Template - Located in a specific template
- template_
stack GetDhcp Location Template Stack - Located in a specific template stack
- ngfw Property Map
- Located in a specific NGFW device
- template Property Map
- Located in a specific template
- template
Stack Property Map - Located in a specific template stack
GetDhcpLocationNgfw
- Ngfw
Device string - The NGFW device
- Ngfw
Device string - The NGFW device
- ngfw
Device String - The NGFW device
- ngfw
Device string - The NGFW device
- ngfw_
device str - The NGFW device
- ngfw
Device String - The NGFW device
GetDhcpLocationTemplate
- Name string
- Specific Panorama template
- Ngfw
Device string - The NGFW device
- Panorama
Device string - Specific Panorama device
- Name string
- Specific Panorama template
- Ngfw
Device string - The NGFW device
- Panorama
Device string - Specific Panorama device
- name String
- Specific Panorama template
- ngfw
Device String - The NGFW device
- panorama
Device String - Specific Panorama device
- name string
- Specific Panorama template
- ngfw
Device string - The NGFW device
- panorama
Device string - Specific Panorama device
- name str
- Specific Panorama template
- ngfw_
device str - The NGFW device
- panorama_
device str - Specific Panorama device
- name String
- Specific Panorama template
- ngfw
Device String - The NGFW device
- panorama
Device String - Specific Panorama device
GetDhcpLocationTemplateStack
- Name string
- Specific Panorama template stack
- Ngfw
Device string - The NGFW device
- Panorama
Device string - Specific Panorama device
- Name string
- Specific Panorama template stack
- Ngfw
Device string - The NGFW device
- Panorama
Device string - Specific Panorama device
- name String
- Specific Panorama template stack
- ngfw
Device String - The NGFW device
- panorama
Device String - Specific Panorama device
- name string
- Specific Panorama template stack
- ngfw
Device string - The NGFW device
- panorama
Device string - Specific Panorama device
- name str
- Specific Panorama template stack
- ngfw_
device str - The NGFW device
- panorama_
device str - Specific Panorama device
- name String
- Specific Panorama template stack
- ngfw
Device String - The NGFW device
- panorama
Device String - Specific Panorama device
GetDhcpRelay
GetDhcpRelayIp
GetDhcpRelayIpv6
- enabled Boolean
- servers List<Property Map>
GetDhcpRelayIpv6Server
- interface_ String
- Specify outgoing interface when using an IPv6 multicast address for your DHCPv6 server
- name String
GetDhcpServer
- Ip
Pools List<string> - Mode string
- Option
Get
Dhcp Server Option - Probe
Ip bool - Ping IP when allocating a new IP
- Reserveds
List<Get
Dhcp Server Reserved>
- Ip
Pools []string - Mode string
- Option
Get
Dhcp Server Option - Probe
Ip bool - Ping IP when allocating a new IP
- Reserveds
[]Get
Dhcp Server Reserved
- ip
Pools List<String> - mode String
- option
Get
Dhcp Server Option - probe
Ip Boolean - Ping IP when allocating a new IP
- reserveds
List<Get
Dhcp Server Reserved>
- ip
Pools string[] - mode string
- option
Get
Dhcp Server Option - probe
Ip boolean - Ping IP when allocating a new IP
- reserveds
Get
Dhcp Server Reserved[]
- ip_
pools Sequence[str] - mode str
- option
Get
Dhcp Server Option - probe_
ip bool - Ping IP when allocating a new IP
- reserveds
Sequence[Get
Dhcp Server Reserved]
- ip
Pools List<String> - mode String
- option Property Map
- probe
Ip Boolean - Ping IP when allocating a new IP
- reserveds List<Property Map>
GetDhcpServerOption
- Dns
Get
Dhcp Server Option Dns - Dns
Suffix string - domain name
- Gateway string
- default gateway
- Inheritance
Get
Dhcp Server Option Inheritance - Lease
Get
Dhcp Server Option Lease - Nis
Get
Dhcp Server Option Nis - Ntp
Get
Dhcp Server Option Ntp - Pop3Server string
- POP3 server
- Smtp
Server string - SMTP server
- Subnet
Mask string - ip pool subnet mask
- User
Defineds List<GetDhcp Server Option User Defined> - Wins
Get
Dhcp Server Option Wins
- Dns
Get
Dhcp Server Option Dns - Dns
Suffix string - domain name
- Gateway string
- default gateway
- Inheritance
Get
Dhcp Server Option Inheritance - Lease
Get
Dhcp Server Option Lease - Nis
Get
Dhcp Server Option Nis - Ntp
Get
Dhcp Server Option Ntp - Pop3Server string
- POP3 server
- Smtp
Server string - SMTP server
- Subnet
Mask string - ip pool subnet mask
- User
Defineds []GetDhcp Server Option User Defined - Wins
Get
Dhcp Server Option Wins
- dns
Get
Dhcp Server Option Dns - dns
Suffix String - domain name
- gateway String
- default gateway
- inheritance
Get
Dhcp Server Option Inheritance - lease
Get
Dhcp Server Option Lease - nis
Get
Dhcp Server Option Nis - ntp
Get
Dhcp Server Option Ntp - pop3Server String
- POP3 server
- smtp
Server String - SMTP server
- subnet
Mask String - ip pool subnet mask
- user
Defineds List<GetDhcp Server Option User Defined> - wins
Get
Dhcp Server Option Wins
- dns
Get
Dhcp Server Option Dns - dns
Suffix string - domain name
- gateway string
- default gateway
- inheritance
Get
Dhcp Server Option Inheritance - lease
Get
Dhcp Server Option Lease - nis
Get
Dhcp Server Option Nis - ntp
Get
Dhcp Server Option Ntp - pop3Server string
- POP3 server
- smtp
Server string - SMTP server
- subnet
Mask string - ip pool subnet mask
- user
Defineds GetDhcp Server Option User Defined[] - wins
Get
Dhcp Server Option Wins
- dns
Get
Dhcp Server Option Dns - dns_
suffix str - domain name
- gateway str
- default gateway
- inheritance
Get
Dhcp Server Option Inheritance - lease
Get
Dhcp Server Option Lease - nis
Get
Dhcp Server Option Nis - ntp
Get
Dhcp Server Option Ntp - pop3_
server str - POP3 server
- smtp_
server str - SMTP server
- subnet_
mask str - ip pool subnet mask
- user_
defineds Sequence[GetDhcp Server Option User Defined] - wins
Get
Dhcp Server Option Wins
- dns Property Map
- dns
Suffix String - domain name
- gateway String
- default gateway
- inheritance Property Map
- lease Property Map
- nis Property Map
- ntp Property Map
- pop3Server String
- POP3 server
- smtp
Server String - SMTP server
- subnet
Mask String - ip pool subnet mask
- user
Defineds List<Property Map> - wins Property Map
GetDhcpServerOptionDns
GetDhcpServerOptionInheritance
- Source string
- Dynamic interface
- Source string
- Dynamic interface
- source String
- Dynamic interface
- source string
- Dynamic interface
- source str
- Dynamic interface
- source String
- Dynamic interface
GetDhcpServerOptionLease
- Timeout double
- lease(minute)
- Unlimited
Get
Dhcp Server Option Lease Unlimited
- Timeout float64
- lease(minute)
- Unlimited
Get
Dhcp Server Option Lease Unlimited
- timeout Double
- lease(minute)
- unlimited
Get
Dhcp Server Option Lease Unlimited
- timeout number
- lease(minute)
- unlimited
Get
Dhcp Server Option Lease Unlimited
- timeout float
- lease(minute)
- unlimited
Get
Dhcp Server Option Lease Unlimited
- timeout Number
- lease(minute)
- unlimited Property Map
GetDhcpServerOptionNis
GetDhcpServerOptionNtp
GetDhcpServerOptionUserDefined
GetDhcpServerOptionWins
GetDhcpServerReserved
- Description string
- Description of reserved entry, e.g. host name
- Mac string
- MAC address (format xx:xx:xx:xx:xx:xx)
- Name string
- Description string
- Description of reserved entry, e.g. host name
- Mac string
- MAC address (format xx:xx:xx:xx:xx:xx)
- Name string
- description String
- Description of reserved entry, e.g. host name
- mac String
- MAC address (format xx:xx:xx:xx:xx:xx)
- name String
- description string
- Description of reserved entry, e.g. host name
- mac string
- MAC address (format xx:xx:xx:xx:xx:xx)
- name string
- description str
- Description of reserved entry, e.g. host name
- mac str
- MAC address (format xx:xx:xx:xx:xx:xx)
- name str
- description String
- Description of reserved entry, e.g. host name
- mac String
- MAC address (format xx:xx:xx:xx:xx:xx)
- name String
Package Details
- Repository
- panos paloaltonetworks/terraform-provider-panos
- License
- Notes
- This Pulumi package is based on the
panos
Terraform Provider.
panos 2.0.4 published on Friday, Jul 25, 2025 by paloaltonetworks