1. Packages
  2. Cisco Catalyst SD-WAN Provider
  3. API Docs
  4. getServiceDhcpServerFeature
Cisco Catalyst SD-WAN v0.3.0 published on Friday, Mar 28, 2025 by Pulumi

sdwan.getServiceDhcpServerFeature

Explore with Pulumi AI

Cisco Catalyst SD-WAN v0.3.0 published on Friday, Mar 28, 2025 by Pulumi

This data source can read the Service DHCP Server Feature.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as sdwan from "@pulumi/sdwan";

const example = sdwan.getServiceDhcpServerFeature({
    id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
    featureProfileId: "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
});
Copy
import pulumi
import pulumi_sdwan as sdwan

example = sdwan.get_service_dhcp_server_feature(id="f6b2c44c-693c-4763-b010-895aa3d236bd",
    feature_profile_id="f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac")
Copy
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.LookupServiceDhcpServerFeature(ctx, &sdwan.LookupServiceDhcpServerFeatureArgs{
			Id:               "f6b2c44c-693c-4763-b010-895aa3d236bd",
			FeatureProfileId: "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Sdwan = Pulumi.Sdwan;

return await Deployment.RunAsync(() => 
{
    var example = Sdwan.GetServiceDhcpServerFeature.Invoke(new()
    {
        Id = "f6b2c44c-693c-4763-b010-895aa3d236bd",
        FeatureProfileId = "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
    });

});
Copy
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.GetServiceDhcpServerFeatureArgs;
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.getServiceDhcpServerFeature(GetServiceDhcpServerFeatureArgs.builder()
            .id("f6b2c44c-693c-4763-b010-895aa3d236bd")
            .featureProfileId("f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac")
            .build());

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: sdwan:getServiceDhcpServerFeature
      arguments:
        id: f6b2c44c-693c-4763-b010-895aa3d236bd
        featureProfileId: f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac
Copy

Using getServiceDhcpServerFeature

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 getServiceDhcpServerFeature(args: GetServiceDhcpServerFeatureArgs, opts?: InvokeOptions): Promise<GetServiceDhcpServerFeatureResult>
function getServiceDhcpServerFeatureOutput(args: GetServiceDhcpServerFeatureOutputArgs, opts?: InvokeOptions): Output<GetServiceDhcpServerFeatureResult>
Copy
def get_service_dhcp_server_feature(feature_profile_id: Optional[str] = None,
                                    id: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetServiceDhcpServerFeatureResult
def get_service_dhcp_server_feature_output(feature_profile_id: Optional[pulumi.Input[str]] = None,
                                    id: Optional[pulumi.Input[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetServiceDhcpServerFeatureResult]
Copy
func LookupServiceDhcpServerFeature(ctx *Context, args *LookupServiceDhcpServerFeatureArgs, opts ...InvokeOption) (*LookupServiceDhcpServerFeatureResult, error)
func LookupServiceDhcpServerFeatureOutput(ctx *Context, args *LookupServiceDhcpServerFeatureOutputArgs, opts ...InvokeOption) LookupServiceDhcpServerFeatureResultOutput
Copy

> Note: This function is named LookupServiceDhcpServerFeature in the Go SDK.

public static class GetServiceDhcpServerFeature 
{
    public static Task<GetServiceDhcpServerFeatureResult> InvokeAsync(GetServiceDhcpServerFeatureArgs args, InvokeOptions? opts = null)
    public static Output<GetServiceDhcpServerFeatureResult> Invoke(GetServiceDhcpServerFeatureInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetServiceDhcpServerFeatureResult> getServiceDhcpServerFeature(GetServiceDhcpServerFeatureArgs args, InvokeOptions options)
public static Output<GetServiceDhcpServerFeatureResult> getServiceDhcpServerFeature(GetServiceDhcpServerFeatureArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: sdwan:index/getServiceDhcpServerFeature:getServiceDhcpServerFeature
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

FeatureProfileId This property is required. string
Feature Profile ID
Id This property is required. string
The id of the Feature
FeatureProfileId This property is required. string
Feature Profile ID
Id This property is required. string
The id of the Feature
featureProfileId This property is required. String
Feature Profile ID
id This property is required. String
The id of the Feature
featureProfileId This property is required. string
Feature Profile ID
id This property is required. string
The id of the Feature
feature_profile_id This property is required. str
Feature Profile ID
id This property is required. str
The id of the Feature
featureProfileId This property is required. String
Feature Profile ID
id This property is required. String
The id of the Feature

getServiceDhcpServerFeature Result

The following output properties are available:

DefaultGateway string
Set IP address of default gateway
DefaultGatewayVariable string
Variable name
Description string
The description of the Feature
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
ExcludeVariable string
Variable name
Excludes List<string>
Configure IPv4 address to exclude from DHCP address pool
FeatureProfileId string
Feature Profile ID
Id string
The id of the Feature
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
NetworkAddress string
Network Address
NetworkAddressVariable string
Variable name
OptionCodes List<GetServiceDhcpServerFeatureOptionCode>
Configure Options Code
StaticLeases List<GetServiceDhcpServerFeatureStaticLease>
Configure static IP addresses
SubnetMask string
Subnet Mask
SubnetMaskVariable string
Variable name
TftpServers List<string>
Configure TFTP server IP addresses
TftpServersVariable string
Variable name
Version int
The version of the Feature
DefaultGateway string
Set IP address of default gateway
DefaultGatewayVariable string
Variable name
Description string
The description of the Feature
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
ExcludeVariable string
Variable name
Excludes []string
Configure IPv4 address to exclude from DHCP address pool
FeatureProfileId string
Feature Profile ID
Id string
The id of the Feature
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
NetworkAddress string
Network Address
NetworkAddressVariable string
Variable name
OptionCodes []GetServiceDhcpServerFeatureOptionCode
Configure Options Code
StaticLeases []GetServiceDhcpServerFeatureStaticLease
Configure static IP addresses
SubnetMask string
Subnet Mask
SubnetMaskVariable string
Variable name
TftpServers []string
Configure TFTP server IP addresses
TftpServersVariable string
Variable name
Version int
The version of the Feature
defaultGateway String
Set IP address of default gateway
defaultGatewayVariable String
Variable name
description String
The description of the Feature
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
excludeVariable String
Variable name
excludes List<String>
Configure IPv4 address to exclude from DHCP address pool
featureProfileId String
Feature Profile ID
id String
The id of the Feature
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
networkAddress String
Network Address
networkAddressVariable String
Variable name
optionCodes List<GetServiceDhcpServerFeatureOptionCode>
Configure Options Code
staticLeases List<GetServiceDhcpServerFeatureStaticLease>
Configure static IP addresses
subnetMask String
Subnet Mask
subnetMaskVariable String
Variable name
tftpServers List<String>
Configure TFTP server IP addresses
tftpServersVariable String
Variable name
version Integer
The version of the Feature
defaultGateway string
Set IP address of default gateway
defaultGatewayVariable string
Variable name
description string
The description of the Feature
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
excludeVariable string
Variable name
excludes string[]
Configure IPv4 address to exclude from DHCP address pool
featureProfileId string
Feature Profile ID
id string
The id of the Feature
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
networkAddress string
Network Address
networkAddressVariable string
Variable name
optionCodes GetServiceDhcpServerFeatureOptionCode[]
Configure Options Code
staticLeases GetServiceDhcpServerFeatureStaticLease[]
Configure static IP addresses
subnetMask string
Subnet Mask
subnetMaskVariable string
Variable name
tftpServers string[]
Configure TFTP server IP addresses
tftpServersVariable string
Variable name
version number
The version of the Feature
default_gateway str
Set IP address of default gateway
default_gateway_variable str
Variable name
description str
The description of the Feature
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_variable str
Variable name
excludes Sequence[str]
Configure IPv4 address to exclude from DHCP address pool
feature_profile_id str
Feature Profile ID
id str
The id of the Feature
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
network_address str
Network Address
network_address_variable str
Variable name
option_codes Sequence[GetServiceDhcpServerFeatureOptionCode]
Configure Options Code
static_leases Sequence[GetServiceDhcpServerFeatureStaticLease]
Configure static IP addresses
subnet_mask str
Subnet Mask
subnet_mask_variable str
Variable name
tftp_servers Sequence[str]
Configure TFTP server IP addresses
tftp_servers_variable str
Variable name
version int
The version of the Feature
defaultGateway String
Set IP address of default gateway
defaultGatewayVariable String
Variable name
description String
The description of the Feature
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
excludeVariable String
Variable name
excludes List<String>
Configure IPv4 address to exclude from DHCP address pool
featureProfileId String
Feature Profile ID
id String
The id of the Feature
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
networkAddress String
Network Address
networkAddressVariable String
Variable name
optionCodes List<Property Map>
Configure Options Code
staticLeases List<Property Map>
Configure static IP addresses
subnetMask String
Subnet Mask
subnetMaskVariable String
Variable name
tftpServers List<String>
Configure TFTP server IP addresses
tftpServersVariable String
Variable name
version Number
The version of the Feature

Supporting Types

GetServiceDhcpServerFeatureOptionCode

Ascii This property is required. string
Set ASCII value
AsciiVariable This property is required. string
Variable name
Code This property is required. int
Set Option Code
CodeVariable This property is required. string
Variable name
Hex This property is required. string
Set HEX value
HexVariable This property is required. string
Variable name
IpVariable This property is required. string
Variable name
Ips This property is required. List<string>
Set ip address
Ascii This property is required. string
Set ASCII value
AsciiVariable This property is required. string
Variable name
Code This property is required. int
Set Option Code
CodeVariable This property is required. string
Variable name
Hex This property is required. string
Set HEX value
HexVariable This property is required. string
Variable name
IpVariable This property is required. string
Variable name
Ips This property is required. []string
Set ip address
ascii This property is required. String
Set ASCII value
asciiVariable This property is required. String
Variable name
code This property is required. Integer
Set Option Code
codeVariable This property is required. String
Variable name
hex This property is required. String
Set HEX value
hexVariable This property is required. String
Variable name
ipVariable This property is required. String
Variable name
ips This property is required. List<String>
Set ip address
ascii This property is required. string
Set ASCII value
asciiVariable This property is required. string
Variable name
code This property is required. number
Set Option Code
codeVariable This property is required. string
Variable name
hex This property is required. string
Set HEX value
hexVariable This property is required. string
Variable name
ipVariable This property is required. string
Variable name
ips This property is required. string[]
Set ip address
ascii This property is required. str
Set ASCII value
ascii_variable This property is required. str
Variable name
code This property is required. int
Set Option Code
code_variable This property is required. str
Variable name
hex This property is required. str
Set HEX value
hex_variable This property is required. str
Variable name
ip_variable This property is required. str
Variable name
ips This property is required. Sequence[str]
Set ip address
ascii This property is required. String
Set ASCII value
asciiVariable This property is required. String
Variable name
code This property is required. Number
Set Option Code
codeVariable This property is required. String
Variable name
hex This property is required. String
Set HEX value
hexVariable This property is required. String
Variable name
ipVariable This property is required. String
Variable name
ips This property is required. List<String>
Set ip address

GetServiceDhcpServerFeatureStaticLease

IpAddress This property is required. string
Set client’s static IP address
IpAddressVariable This property is required. string
Variable name
MacAddress This property is required. string
Set MAC address of client
MacAddressVariable This property is required. string
Variable name
IpAddress This property is required. string
Set client’s static IP address
IpAddressVariable This property is required. string
Variable name
MacAddress This property is required. string
Set MAC address of client
MacAddressVariable This property is required. string
Variable name
ipAddress This property is required. String
Set client’s static IP address
ipAddressVariable This property is required. String
Variable name
macAddress This property is required. String
Set MAC address of client
macAddressVariable This property is required. String
Variable name
ipAddress This property is required. string
Set client’s static IP address
ipAddressVariable This property is required. string
Variable name
macAddress This property is required. string
Set MAC address of client
macAddressVariable This property is required. string
Variable name
ip_address This property is required. str
Set client’s static IP address
ip_address_variable This property is required. str
Variable name
mac_address This property is required. str
Set MAC address of client
mac_address_variable This property is required. str
Variable name
ipAddress This property is required. String
Set client’s static IP address
ipAddressVariable This property is required. String
Variable name
macAddress This property is required. String
Set MAC address of client
macAddressVariable This property is required. String
Variable name

Package Details

Repository
sdwan pulumi/pulumi-sdwan
License
Apache-2.0
Notes
This Pulumi package is based on the sdwan Terraform Provider.
Cisco Catalyst SD-WAN v0.3.0 published on Friday, Mar 28, 2025 by Pulumi