1. Packages
  2. Panos Provider
  3. API Docs
  4. getDhcp
panos 2.0.4 published on Friday, Jul 25, 2025 by paloaltonetworks

panos.getDhcp

Explore with Pulumi AI

panos logo
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:

    getDhcp Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Location GetDhcpLocation
    The location of this object.
    Name string
    Relay GetDhcpRelay
    Server GetDhcpServer
    Id string
    The provider-assigned unique ID for this managed resource.
    Location GetDhcpLocation
    The location of this object.
    Name string
    Relay GetDhcpRelay
    Server GetDhcpServer
    id String
    The provider-assigned unique ID for this managed resource.
    location GetDhcpLocation
    The location of this object.
    name String
    relay GetDhcpRelay
    server GetDhcpServer
    id string
    The provider-assigned unique ID for this managed resource.
    location GetDhcpLocation
    The location of this object.
    name string
    relay GetDhcpRelay
    server GetDhcpServer
    id str
    The provider-assigned unique ID for this managed resource.
    location GetDhcpLocation
    The location of this object.
    name str
    relay GetDhcpRelay
    server GetDhcpServer
    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 GetDhcpLocationNgfw
    Located in a specific NGFW device
    Template GetDhcpLocationTemplate
    Located in a specific template
    TemplateStack GetDhcpLocationTemplateStack
    Located in a specific template stack
    Ngfw GetDhcpLocationNgfw
    Located in a specific NGFW device
    Template GetDhcpLocationTemplate
    Located in a specific template
    TemplateStack GetDhcpLocationTemplateStack
    Located in a specific template stack
    ngfw GetDhcpLocationNgfw
    Located in a specific NGFW device
    template GetDhcpLocationTemplate
    Located in a specific template
    templateStack GetDhcpLocationTemplateStack
    Located in a specific template stack
    ngfw GetDhcpLocationNgfw
    Located in a specific NGFW device
    template GetDhcpLocationTemplate
    Located in a specific template
    templateStack GetDhcpLocationTemplateStack
    Located in a specific template stack
    ngfw GetDhcpLocationNgfw
    Located in a specific NGFW device
    template GetDhcpLocationTemplate
    Located in a specific template
    template_stack GetDhcpLocationTemplateStack
    Located in a specific template stack
    ngfw Property Map
    Located in a specific NGFW device
    template Property Map
    Located in a specific template
    templateStack Property Map
    Located in a specific template stack

    GetDhcpLocationNgfw

    NgfwDevice string
    The NGFW device
    NgfwDevice string
    The NGFW device
    ngfwDevice String
    The NGFW device
    ngfwDevice string
    The NGFW device
    ngfw_device str
    The NGFW device
    ngfwDevice String
    The NGFW device

    GetDhcpLocationTemplate

    Name string
    Specific Panorama template
    NgfwDevice string
    The NGFW device
    PanoramaDevice string
    Specific Panorama device
    Name string
    Specific Panorama template
    NgfwDevice string
    The NGFW device
    PanoramaDevice string
    Specific Panorama device
    name String
    Specific Panorama template
    ngfwDevice String
    The NGFW device
    panoramaDevice String
    Specific Panorama device
    name string
    Specific Panorama template
    ngfwDevice string
    The NGFW device
    panoramaDevice 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
    ngfwDevice String
    The NGFW device
    panoramaDevice String
    Specific Panorama device

    GetDhcpLocationTemplateStack

    Name string
    Specific Panorama template stack
    NgfwDevice string
    The NGFW device
    PanoramaDevice string
    Specific Panorama device
    Name string
    Specific Panorama template stack
    NgfwDevice string
    The NGFW device
    PanoramaDevice string
    Specific Panorama device
    name String
    Specific Panorama template stack
    ngfwDevice String
    The NGFW device
    panoramaDevice String
    Specific Panorama device
    name string
    Specific Panorama template stack
    ngfwDevice string
    The NGFW device
    panoramaDevice 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
    ngfwDevice String
    The NGFW device
    panoramaDevice String
    Specific Panorama device

    GetDhcpRelay

    GetDhcpRelayIp

    Enabled bool
    Servers List<string>
    Enabled bool
    Servers []string
    enabled Boolean
    servers List<String>
    enabled boolean
    servers string[]
    enabled bool
    servers Sequence[str]
    enabled Boolean
    servers List<String>

    GetDhcpRelayIpv6

    GetDhcpRelayIpv6Server

    Interface string
    Specify outgoing interface when using an IPv6 multicast address for your DHCPv6 server
    Name string
    Interface string
    Specify outgoing interface when using an IPv6 multicast address for your DHCPv6 server
    Name string
    interface_ String
    Specify outgoing interface when using an IPv6 multicast address for your DHCPv6 server
    name String
    interface string
    Specify outgoing interface when using an IPv6 multicast address for your DHCPv6 server
    name string
    interface str
    Specify outgoing interface when using an IPv6 multicast address for your DHCPv6 server
    name str
    interface String
    Specify outgoing interface when using an IPv6 multicast address for your DHCPv6 server
    name String

    GetDhcpServer

    IpPools List<string>
    Mode string
    Option GetDhcpServerOption
    ProbeIp bool
    Ping IP when allocating a new IP
    Reserveds List<GetDhcpServerReserved>
    IpPools []string
    Mode string
    Option GetDhcpServerOption
    ProbeIp bool
    Ping IP when allocating a new IP
    Reserveds []GetDhcpServerReserved
    ipPools List<String>
    mode String
    option GetDhcpServerOption
    probeIp Boolean
    Ping IP when allocating a new IP
    reserveds List<GetDhcpServerReserved>
    ipPools string[]
    mode string
    option GetDhcpServerOption
    probeIp boolean
    Ping IP when allocating a new IP
    reserveds GetDhcpServerReserved[]
    ip_pools Sequence[str]
    mode str
    option GetDhcpServerOption
    probe_ip bool
    Ping IP when allocating a new IP
    reserveds Sequence[GetDhcpServerReserved]
    ipPools List<String>
    mode String
    option Property Map
    probeIp Boolean
    Ping IP when allocating a new IP
    reserveds List<Property Map>

    GetDhcpServerOption

    GetDhcpServerOptionDns

    Primary string
    DNS primary server ip address
    Secondary string
    DNS secondary server ip address
    Primary string
    DNS primary server ip address
    Secondary string
    DNS secondary server ip address
    primary String
    DNS primary server ip address
    secondary String
    DNS secondary server ip address
    primary string
    DNS primary server ip address
    secondary string
    DNS secondary server ip address
    primary str
    DNS primary server ip address
    secondary str
    DNS secondary server ip address
    primary String
    DNS primary server ip address
    secondary String
    DNS secondary server ip address

    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 Number
    lease(minute)
    unlimited Property Map

    GetDhcpServerOptionNis

    Primary string
    NIS primary server ip address
    Secondary string
    NIS secondary server ip address
    Primary string
    NIS primary server ip address
    Secondary string
    NIS secondary server ip address
    primary String
    NIS primary server ip address
    secondary String
    NIS secondary server ip address
    primary string
    NIS primary server ip address
    secondary string
    NIS secondary server ip address
    primary str
    NIS primary server ip address
    secondary str
    NIS secondary server ip address
    primary String
    NIS primary server ip address
    secondary String
    NIS secondary server ip address

    GetDhcpServerOptionNtp

    Primary string
    NTP primary server ip address
    Secondary string
    NTP secondary server ip address
    Primary string
    NTP primary server ip address
    Secondary string
    NTP secondary server ip address
    primary String
    NTP primary server ip address
    secondary String
    NTP secondary server ip address
    primary string
    NTP primary server ip address
    secondary string
    NTP secondary server ip address
    primary str
    NTP primary server ip address
    secondary str
    NTP secondary server ip address
    primary String
    NTP primary server ip address
    secondary String
    NTP secondary server ip address

    GetDhcpServerOptionUserDefined

    Asciis List<string>
    Code double
    option code
    Hexes List<string>
    Inherited bool
    Inherited from DHCP server inheritance source
    Ips List<string>
    Name string
    VendorClassIdentifier string
    Asciis []string
    Code float64
    option code
    Hexes []string
    Inherited bool
    Inherited from DHCP server inheritance source
    Ips []string
    Name string
    VendorClassIdentifier string
    asciis List<String>
    code Double
    option code
    hexes List<String>
    inherited Boolean
    Inherited from DHCP server inheritance source
    ips List<String>
    name String
    vendorClassIdentifier String
    asciis string[]
    code number
    option code
    hexes string[]
    inherited boolean
    Inherited from DHCP server inheritance source
    ips string[]
    name string
    vendorClassIdentifier string
    asciis Sequence[str]
    code float
    option code
    hexes Sequence[str]
    inherited bool
    Inherited from DHCP server inheritance source
    ips Sequence[str]
    name str
    vendor_class_identifier str
    asciis List<String>
    code Number
    option code
    hexes List<String>
    inherited Boolean
    Inherited from DHCP server inheritance source
    ips List<String>
    name String
    vendorClassIdentifier String

    GetDhcpServerOptionWins

    Primary string
    WINS primary server ip address
    Secondary string
    WINS secondary server ip address
    Primary string
    WINS primary server ip address
    Secondary string
    WINS secondary server ip address
    primary String
    WINS primary server ip address
    secondary String
    WINS secondary server ip address
    primary string
    WINS primary server ip address
    secondary string
    WINS secondary server ip address
    primary str
    WINS primary server ip address
    secondary str
    WINS secondary server ip address
    primary String
    WINS primary server ip address
    secondary String
    WINS secondary server ip address

    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 logo
    panos 2.0.4 published on Friday, Jul 25, 2025 by paloaltonetworks