1. Packages
  2. Cisco Catalyst SD-WAN
  3. API Docs
  4. CiscoDhcpServerFeatureTemplate
Cisco Catalyst SD-WAN v0.2.0 published on Friday, Nov 1, 2024 by Pulumi

sdwan.CiscoDhcpServerFeatureTemplate

Explore with Pulumi AI

sdwan logo
Cisco Catalyst SD-WAN v0.2.0 published on Friday, Nov 1, 2024 by Pulumi

    This resource can manage a Cisco DHCP Server feature template.

    • Minimum SD-WAN Manager version: 15.0.0

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.sdwan.CiscoDhcpServerFeatureTemplate;
    import com.pulumi.sdwan.CiscoDhcpServerFeatureTemplateArgs;
    import com.pulumi.sdwan.inputs.CiscoDhcpServerFeatureTemplateStaticLeaseArgs;
    import com.pulumi.sdwan.inputs.CiscoDhcpServerFeatureTemplateOptionArgs;
    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) {
            var example = new CiscoDhcpServerFeatureTemplate("example", CiscoDhcpServerFeatureTemplateArgs.builder()
                .name("Example")
                .description("My Example")
                .deviceTypes("vedge-C8000V")
                .addressPool("10.1.1.0/24")
                .excludeAddresses(            
                    "10.1.1.1-10.1.1.5",
                    "10.1.1.254")
                .leaseTime(600)
                .interfaceMtu(1500)
                .domainName("cisco.com")
                .defaultGateway("10.1.1.254")
                .dnsServers("1.2.3.4")
                .tftpServers("1.2.3.4")
                .staticLeases(CiscoDhcpServerFeatureTemplateStaticLeaseArgs.builder()
                    .mac_address("11:11:11:11:11:11")
                    .ip_address("10.1.1.10")
                    .hostname("HOST1")
                    .build())
                .options(CiscoDhcpServerFeatureTemplateOptionArgs.builder()
                    .option_code(10)
                    .ascii("abc")
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: sdwan:CiscoDhcpServerFeatureTemplate
        properties:
          name: Example
          description: My Example
          deviceTypes:
            - vedge-C8000V
          addressPool: 10.1.1.0/24
          excludeAddresses:
            - 10.1.1.1-10.1.1.5
            - 10.1.1.254
          leaseTime: 600
          interfaceMtu: 1500
          domainName: cisco.com
          defaultGateway: 10.1.1.254
          dnsServers:
            - 1.2.3.4
          tftpServers:
            - 1.2.3.4
          staticLeases:
            - mac_address: 11:11:11:11:11:11
              ip_address: 10.1.1.10
              hostname: HOST1
          options:
            - option_code: 10
              ascii: abc
    

    Create CiscoDhcpServerFeatureTemplate Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new CiscoDhcpServerFeatureTemplate(name: string, args: CiscoDhcpServerFeatureTemplateArgs, opts?: CustomResourceOptions);
    @overload
    def CiscoDhcpServerFeatureTemplate(resource_name: str,
                                       args: CiscoDhcpServerFeatureTemplateArgs,
                                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def CiscoDhcpServerFeatureTemplate(resource_name: str,
                                       opts: Optional[ResourceOptions] = None,
                                       description: Optional[str] = None,
                                       device_types: Optional[Sequence[str]] = None,
                                       exclude_addresses: Optional[Sequence[str]] = None,
                                       exclude_addresses_variable: Optional[str] = None,
                                       default_gateway: Optional[str] = None,
                                       address_pool_variable: Optional[str] = None,
                                       dns_servers: Optional[Sequence[str]] = None,
                                       dns_servers_variable: Optional[str] = None,
                                       domain_name: Optional[str] = None,
                                       domain_name_variable: Optional[str] = None,
                                       address_pool: Optional[str] = None,
                                       default_gateway_variable: Optional[str] = None,
                                       interface_mtu: Optional[int] = None,
                                       interface_mtu_variable: Optional[str] = None,
                                       lease_time: Optional[int] = None,
                                       lease_time_variable: Optional[str] = None,
                                       name: Optional[str] = None,
                                       options: Optional[Sequence[CiscoDhcpServerFeatureTemplateOptionArgs]] = None,
                                       static_leases: Optional[Sequence[CiscoDhcpServerFeatureTemplateStaticLeaseArgs]] = None,
                                       tftp_servers: Optional[Sequence[str]] = None,
                                       tftp_servers_variable: Optional[str] = None)
    func NewCiscoDhcpServerFeatureTemplate(ctx *Context, name string, args CiscoDhcpServerFeatureTemplateArgs, opts ...ResourceOption) (*CiscoDhcpServerFeatureTemplate, error)
    public CiscoDhcpServerFeatureTemplate(string name, CiscoDhcpServerFeatureTemplateArgs args, CustomResourceOptions? opts = null)
    public CiscoDhcpServerFeatureTemplate(String name, CiscoDhcpServerFeatureTemplateArgs args)
    public CiscoDhcpServerFeatureTemplate(String name, CiscoDhcpServerFeatureTemplateArgs args, CustomResourceOptions options)
    
    type: sdwan:CiscoDhcpServerFeatureTemplate
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args CiscoDhcpServerFeatureTemplateArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args CiscoDhcpServerFeatureTemplateArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args CiscoDhcpServerFeatureTemplateArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CiscoDhcpServerFeatureTemplateArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CiscoDhcpServerFeatureTemplateArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var ciscoDhcpServerFeatureTemplateResource = new Sdwan.CiscoDhcpServerFeatureTemplate("ciscoDhcpServerFeatureTemplateResource", new()
    {
        Description = "string",
        DeviceTypes = new[]
        {
            "string",
        },
        ExcludeAddresses = new[]
        {
            "string",
        },
        ExcludeAddressesVariable = "string",
        DefaultGateway = "string",
        AddressPoolVariable = "string",
        DnsServers = new[]
        {
            "string",
        },
        DnsServersVariable = "string",
        DomainName = "string",
        DomainNameVariable = "string",
        AddressPool = "string",
        DefaultGatewayVariable = "string",
        InterfaceMtu = 0,
        InterfaceMtuVariable = "string",
        LeaseTime = 0,
        LeaseTimeVariable = "string",
        Name = "string",
        Options = new[]
        {
            new Sdwan.Inputs.CiscoDhcpServerFeatureTemplateOptionArgs
            {
                Ascii = "string",
                AsciiVariable = "string",
                Hex = "string",
                HexVariable = "string",
                IpAddressVariable = "string",
                IpAddresses = new[]
                {
                    "string",
                },
                OptionCode = 0,
                OptionCodeVariable = "string",
                Optional = false,
            },
        },
        StaticLeases = new[]
        {
            new Sdwan.Inputs.CiscoDhcpServerFeatureTemplateStaticLeaseArgs
            {
                Hostname = "string",
                HostnameVariable = "string",
                IpAddress = "string",
                IpAddressVariable = "string",
                MacAddress = "string",
                MacAddressVariable = "string",
                Optional = false,
            },
        },
        TftpServers = new[]
        {
            "string",
        },
        TftpServersVariable = "string",
    });
    
    example, err := sdwan.NewCiscoDhcpServerFeatureTemplate(ctx, "ciscoDhcpServerFeatureTemplateResource", &sdwan.CiscoDhcpServerFeatureTemplateArgs{
    	Description: pulumi.String("string"),
    	DeviceTypes: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ExcludeAddresses: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ExcludeAddressesVariable: pulumi.String("string"),
    	DefaultGateway:           pulumi.String("string"),
    	AddressPoolVariable:      pulumi.String("string"),
    	DnsServers: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	DnsServersVariable:     pulumi.String("string"),
    	DomainName:             pulumi.String("string"),
    	DomainNameVariable:     pulumi.String("string"),
    	AddressPool:            pulumi.String("string"),
    	DefaultGatewayVariable: pulumi.String("string"),
    	InterfaceMtu:           pulumi.Int(0),
    	InterfaceMtuVariable:   pulumi.String("string"),
    	LeaseTime:              pulumi.Int(0),
    	LeaseTimeVariable:      pulumi.String("string"),
    	Name:                   pulumi.String("string"),
    	Options: sdwan.CiscoDhcpServerFeatureTemplateOptionArray{
    		&sdwan.CiscoDhcpServerFeatureTemplateOptionArgs{
    			Ascii:             pulumi.String("string"),
    			AsciiVariable:     pulumi.String("string"),
    			Hex:               pulumi.String("string"),
    			HexVariable:       pulumi.String("string"),
    			IpAddressVariable: pulumi.String("string"),
    			IpAddresses: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			OptionCode:         pulumi.Int(0),
    			OptionCodeVariable: pulumi.String("string"),
    			Optional:           pulumi.Bool(false),
    		},
    	},
    	StaticLeases: sdwan.CiscoDhcpServerFeatureTemplateStaticLeaseArray{
    		&sdwan.CiscoDhcpServerFeatureTemplateStaticLeaseArgs{
    			Hostname:           pulumi.String("string"),
    			HostnameVariable:   pulumi.String("string"),
    			IpAddress:          pulumi.String("string"),
    			IpAddressVariable:  pulumi.String("string"),
    			MacAddress:         pulumi.String("string"),
    			MacAddressVariable: pulumi.String("string"),
    			Optional:           pulumi.Bool(false),
    		},
    	},
    	TftpServers: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	TftpServersVariable: pulumi.String("string"),
    })
    
    var ciscoDhcpServerFeatureTemplateResource = new CiscoDhcpServerFeatureTemplate("ciscoDhcpServerFeatureTemplateResource", CiscoDhcpServerFeatureTemplateArgs.builder()
        .description("string")
        .deviceTypes("string")
        .excludeAddresses("string")
        .excludeAddressesVariable("string")
        .defaultGateway("string")
        .addressPoolVariable("string")
        .dnsServers("string")
        .dnsServersVariable("string")
        .domainName("string")
        .domainNameVariable("string")
        .addressPool("string")
        .defaultGatewayVariable("string")
        .interfaceMtu(0)
        .interfaceMtuVariable("string")
        .leaseTime(0)
        .leaseTimeVariable("string")
        .name("string")
        .options(CiscoDhcpServerFeatureTemplateOptionArgs.builder()
            .ascii("string")
            .asciiVariable("string")
            .hex("string")
            .hexVariable("string")
            .ipAddressVariable("string")
            .ipAddresses("string")
            .optionCode(0)
            .optionCodeVariable("string")
            .optional(false)
            .build())
        .staticLeases(CiscoDhcpServerFeatureTemplateStaticLeaseArgs.builder()
            .hostname("string")
            .hostnameVariable("string")
            .ipAddress("string")
            .ipAddressVariable("string")
            .macAddress("string")
            .macAddressVariable("string")
            .optional(false)
            .build())
        .tftpServers("string")
        .tftpServersVariable("string")
        .build());
    
    cisco_dhcp_server_feature_template_resource = sdwan.CiscoDhcpServerFeatureTemplate("ciscoDhcpServerFeatureTemplateResource",
        description="string",
        device_types=["string"],
        exclude_addresses=["string"],
        exclude_addresses_variable="string",
        default_gateway="string",
        address_pool_variable="string",
        dns_servers=["string"],
        dns_servers_variable="string",
        domain_name="string",
        domain_name_variable="string",
        address_pool="string",
        default_gateway_variable="string",
        interface_mtu=0,
        interface_mtu_variable="string",
        lease_time=0,
        lease_time_variable="string",
        name="string",
        options=[{
            "ascii": "string",
            "ascii_variable": "string",
            "hex": "string",
            "hex_variable": "string",
            "ip_address_variable": "string",
            "ip_addresses": ["string"],
            "option_code": 0,
            "option_code_variable": "string",
            "optional": False,
        }],
        static_leases=[{
            "hostname": "string",
            "hostname_variable": "string",
            "ip_address": "string",
            "ip_address_variable": "string",
            "mac_address": "string",
            "mac_address_variable": "string",
            "optional": False,
        }],
        tftp_servers=["string"],
        tftp_servers_variable="string")
    
    const ciscoDhcpServerFeatureTemplateResource = new sdwan.CiscoDhcpServerFeatureTemplate("ciscoDhcpServerFeatureTemplateResource", {
        description: "string",
        deviceTypes: ["string"],
        excludeAddresses: ["string"],
        excludeAddressesVariable: "string",
        defaultGateway: "string",
        addressPoolVariable: "string",
        dnsServers: ["string"],
        dnsServersVariable: "string",
        domainName: "string",
        domainNameVariable: "string",
        addressPool: "string",
        defaultGatewayVariable: "string",
        interfaceMtu: 0,
        interfaceMtuVariable: "string",
        leaseTime: 0,
        leaseTimeVariable: "string",
        name: "string",
        options: [{
            ascii: "string",
            asciiVariable: "string",
            hex: "string",
            hexVariable: "string",
            ipAddressVariable: "string",
            ipAddresses: ["string"],
            optionCode: 0,
            optionCodeVariable: "string",
            optional: false,
        }],
        staticLeases: [{
            hostname: "string",
            hostnameVariable: "string",
            ipAddress: "string",
            ipAddressVariable: "string",
            macAddress: "string",
            macAddressVariable: "string",
            optional: false,
        }],
        tftpServers: ["string"],
        tftpServersVariable: "string",
    });
    
    type: sdwan:CiscoDhcpServerFeatureTemplate
    properties:
        addressPool: string
        addressPoolVariable: string
        defaultGateway: string
        defaultGatewayVariable: string
        description: string
        deviceTypes:
            - string
        dnsServers:
            - string
        dnsServersVariable: string
        domainName: string
        domainNameVariable: string
        excludeAddresses:
            - string
        excludeAddressesVariable: string
        interfaceMtu: 0
        interfaceMtuVariable: string
        leaseTime: 0
        leaseTimeVariable: string
        name: string
        options:
            - ascii: string
              asciiVariable: string
              hex: string
              hexVariable: string
              ipAddressVariable: string
              ipAddresses:
                - string
              optionCode: 0
              optionCodeVariable: string
              optional: false
        staticLeases:
            - hostname: string
              hostnameVariable: string
              ipAddress: string
              ipAddressVariable: string
              macAddress: string
              macAddressVariable: string
              optional: false
        tftpServers:
            - string
        tftpServersVariable: string
    

    CiscoDhcpServerFeatureTemplate Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The CiscoDhcpServerFeatureTemplate resource accepts the following input properties:

    Description string
    The description of the feature template
    DeviceTypes List<string>
    List of supported device types - Choices: vedge-C8000V, vedge-C8300-1N1S-4T2X, vedge-C8300-1N1S-6T, vedge-C8300-2N2S-6T, vedge-C8300-2N2S-4T2X, vedge-C8500-12X4QC, vedge-C8500-12X, vedge-C8500-20X6C, vedge-C8500L-8S4X, vedge-C8200-1N-4T, vedge-C8200L-1N-4T
    AddressPool string
    Configure IPv4 prefix range of the DHCP address pool
    AddressPoolVariable string
    Variable name
    DefaultGateway string
    Set IP address of default gateway
    DefaultGatewayVariable string
    Variable name
    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
    ExcludeAddresses List<string>
    Configure IPv4 address to exclude from DHCP address pool
    ExcludeAddressesVariable string
    Variable name
    InterfaceMtu int
    Set MTU on interface to DHCP client - Range: 68-65535
    InterfaceMtuVariable string
    Variable name
    LeaseTime int
    Configure how long a DHCP-assigned IP address is valid - Range: 60-31536000 - Default value: 86400
    LeaseTimeVariable string
    Variable name
    Name string
    The name of the feature template
    Options List<CiscoDhcpServerFeatureTemplateOption>
    Configure Options Code
    StaticLeases List<CiscoDhcpServerFeatureTemplateStaticLease>
    Configure static IP addresses
    TftpServers List<string>
    Configure TFTP server IP addresses
    TftpServersVariable string
    Variable name
    Description string
    The description of the feature template
    DeviceTypes []string
    List of supported device types - Choices: vedge-C8000V, vedge-C8300-1N1S-4T2X, vedge-C8300-1N1S-6T, vedge-C8300-2N2S-6T, vedge-C8300-2N2S-4T2X, vedge-C8500-12X4QC, vedge-C8500-12X, vedge-C8500-20X6C, vedge-C8500L-8S4X, vedge-C8200-1N-4T, vedge-C8200L-1N-4T
    AddressPool string
    Configure IPv4 prefix range of the DHCP address pool
    AddressPoolVariable string
    Variable name
    DefaultGateway string
    Set IP address of default gateway
    DefaultGatewayVariable string
    Variable name
    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
    ExcludeAddresses []string
    Configure IPv4 address to exclude from DHCP address pool
    ExcludeAddressesVariable string
    Variable name
    InterfaceMtu int
    Set MTU on interface to DHCP client - Range: 68-65535
    InterfaceMtuVariable string
    Variable name
    LeaseTime int
    Configure how long a DHCP-assigned IP address is valid - Range: 60-31536000 - Default value: 86400
    LeaseTimeVariable string
    Variable name
    Name string
    The name of the feature template
    Options []CiscoDhcpServerFeatureTemplateOptionArgs
    Configure Options Code
    StaticLeases []CiscoDhcpServerFeatureTemplateStaticLeaseArgs
    Configure static IP addresses
    TftpServers []string
    Configure TFTP server IP addresses
    TftpServersVariable string
    Variable name
    description String
    The description of the feature template
    deviceTypes List<String>
    List of supported device types - Choices: vedge-C8000V, vedge-C8300-1N1S-4T2X, vedge-C8300-1N1S-6T, vedge-C8300-2N2S-6T, vedge-C8300-2N2S-4T2X, vedge-C8500-12X4QC, vedge-C8500-12X, vedge-C8500-20X6C, vedge-C8500L-8S4X, vedge-C8200-1N-4T, vedge-C8200L-1N-4T
    addressPool String
    Configure IPv4 prefix range of the DHCP address pool
    addressPoolVariable String
    Variable name
    defaultGateway String
    Set IP address of default gateway
    defaultGatewayVariable String
    Variable name
    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
    excludeAddresses List<String>
    Configure IPv4 address to exclude from DHCP address pool
    excludeAddressesVariable String
    Variable name
    interfaceMtu Integer
    Set MTU on interface to DHCP client - Range: 68-65535
    interfaceMtuVariable String
    Variable name
    leaseTime Integer
    Configure how long a DHCP-assigned IP address is valid - Range: 60-31536000 - Default value: 86400
    leaseTimeVariable String
    Variable name
    name String
    The name of the feature template
    options List<CiscoDhcpServerFeatureTemplateOption>
    Configure Options Code
    staticLeases List<CiscoDhcpServerFeatureTemplateStaticLease>
    Configure static IP addresses
    tftpServers List<String>
    Configure TFTP server IP addresses
    tftpServersVariable String
    Variable name
    description string
    The description of the feature template
    deviceTypes string[]
    List of supported device types - Choices: vedge-C8000V, vedge-C8300-1N1S-4T2X, vedge-C8300-1N1S-6T, vedge-C8300-2N2S-6T, vedge-C8300-2N2S-4T2X, vedge-C8500-12X4QC, vedge-C8500-12X, vedge-C8500-20X6C, vedge-C8500L-8S4X, vedge-C8200-1N-4T, vedge-C8200L-1N-4T
    addressPool string
    Configure IPv4 prefix range of the DHCP address pool
    addressPoolVariable string
    Variable name
    defaultGateway string
    Set IP address of default gateway
    defaultGatewayVariable string
    Variable name
    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
    excludeAddresses string[]
    Configure IPv4 address to exclude from DHCP address pool
    excludeAddressesVariable string
    Variable name
    interfaceMtu number
    Set MTU on interface to DHCP client - Range: 68-65535
    interfaceMtuVariable string
    Variable name
    leaseTime number
    Configure how long a DHCP-assigned IP address is valid - Range: 60-31536000 - Default value: 86400
    leaseTimeVariable string
    Variable name
    name string
    The name of the feature template
    options CiscoDhcpServerFeatureTemplateOption[]
    Configure Options Code
    staticLeases CiscoDhcpServerFeatureTemplateStaticLease[]
    Configure static IP addresses
    tftpServers string[]
    Configure TFTP server IP addresses
    tftpServersVariable string
    Variable name
    description str
    The description of the feature template
    device_types Sequence[str]
    List of supported device types - Choices: vedge-C8000V, vedge-C8300-1N1S-4T2X, vedge-C8300-1N1S-6T, vedge-C8300-2N2S-6T, vedge-C8300-2N2S-4T2X, vedge-C8500-12X4QC, vedge-C8500-12X, vedge-C8500-20X6C, vedge-C8500L-8S4X, vedge-C8200-1N-4T, vedge-C8200L-1N-4T
    address_pool str
    Configure IPv4 prefix range of the DHCP address pool
    address_pool_variable str
    Variable name
    default_gateway str
    Set IP address of default gateway
    default_gateway_variable str
    Variable name
    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_addresses Sequence[str]
    Configure IPv4 address to exclude from DHCP address pool
    exclude_addresses_variable str
    Variable name
    interface_mtu int
    Set MTU on interface to DHCP client - Range: 68-65535
    interface_mtu_variable str
    Variable name
    lease_time int
    Configure how long a DHCP-assigned IP address is valid - Range: 60-31536000 - Default value: 86400
    lease_time_variable str
    Variable name
    name str
    The name of the feature template
    options Sequence[CiscoDhcpServerFeatureTemplateOptionArgs]
    Configure Options Code
    static_leases Sequence[CiscoDhcpServerFeatureTemplateStaticLeaseArgs]
    Configure static IP addresses
    tftp_servers Sequence[str]
    Configure TFTP server IP addresses
    tftp_servers_variable str
    Variable name
    description String
    The description of the feature template
    deviceTypes List<String>
    List of supported device types - Choices: vedge-C8000V, vedge-C8300-1N1S-4T2X, vedge-C8300-1N1S-6T, vedge-C8300-2N2S-6T, vedge-C8300-2N2S-4T2X, vedge-C8500-12X4QC, vedge-C8500-12X, vedge-C8500-20X6C, vedge-C8500L-8S4X, vedge-C8200-1N-4T, vedge-C8200L-1N-4T
    addressPool String
    Configure IPv4 prefix range of the DHCP address pool
    addressPoolVariable String
    Variable name
    defaultGateway String
    Set IP address of default gateway
    defaultGatewayVariable String
    Variable name
    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
    excludeAddresses List<String>
    Configure IPv4 address to exclude from DHCP address pool
    excludeAddressesVariable String
    Variable name
    interfaceMtu Number
    Set MTU on interface to DHCP client - Range: 68-65535
    interfaceMtuVariable String
    Variable name
    leaseTime Number
    Configure how long a DHCP-assigned IP address is valid - Range: 60-31536000 - Default value: 86400
    leaseTimeVariable String
    Variable name
    name String
    The name of the feature template
    options List<Property Map>
    Configure Options Code
    staticLeases List<Property Map>
    Configure static IP addresses
    tftpServers List<String>
    Configure TFTP server IP addresses
    tftpServersVariable String
    Variable name

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CiscoDhcpServerFeatureTemplate resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    TemplateType string
    The template type
    Version int
    The version of the feature template
    Id string
    The provider-assigned unique ID for this managed resource.
    TemplateType string
    The template type
    Version int
    The version of the feature template
    id String
    The provider-assigned unique ID for this managed resource.
    templateType String
    The template type
    version Integer
    The version of the feature template
    id string
    The provider-assigned unique ID for this managed resource.
    templateType string
    The template type
    version number
    The version of the feature template
    id str
    The provider-assigned unique ID for this managed resource.
    template_type str
    The template type
    version int
    The version of the feature template
    id String
    The provider-assigned unique ID for this managed resource.
    templateType String
    The template type
    version Number
    The version of the feature template

    Look up Existing CiscoDhcpServerFeatureTemplate Resource

    Get an existing CiscoDhcpServerFeatureTemplate resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: CiscoDhcpServerFeatureTemplateState, opts?: CustomResourceOptions): CiscoDhcpServerFeatureTemplate
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            address_pool: Optional[str] = None,
            address_pool_variable: Optional[str] = None,
            default_gateway: Optional[str] = None,
            default_gateway_variable: Optional[str] = None,
            description: Optional[str] = None,
            device_types: Optional[Sequence[str]] = None,
            dns_servers: Optional[Sequence[str]] = None,
            dns_servers_variable: Optional[str] = None,
            domain_name: Optional[str] = None,
            domain_name_variable: Optional[str] = None,
            exclude_addresses: Optional[Sequence[str]] = None,
            exclude_addresses_variable: Optional[str] = None,
            interface_mtu: Optional[int] = None,
            interface_mtu_variable: Optional[str] = None,
            lease_time: Optional[int] = None,
            lease_time_variable: Optional[str] = None,
            name: Optional[str] = None,
            options: Optional[Sequence[CiscoDhcpServerFeatureTemplateOptionArgs]] = None,
            static_leases: Optional[Sequence[CiscoDhcpServerFeatureTemplateStaticLeaseArgs]] = None,
            template_type: Optional[str] = None,
            tftp_servers: Optional[Sequence[str]] = None,
            tftp_servers_variable: Optional[str] = None,
            version: Optional[int] = None) -> CiscoDhcpServerFeatureTemplate
    func GetCiscoDhcpServerFeatureTemplate(ctx *Context, name string, id IDInput, state *CiscoDhcpServerFeatureTemplateState, opts ...ResourceOption) (*CiscoDhcpServerFeatureTemplate, error)
    public static CiscoDhcpServerFeatureTemplate Get(string name, Input<string> id, CiscoDhcpServerFeatureTemplateState? state, CustomResourceOptions? opts = null)
    public static CiscoDhcpServerFeatureTemplate get(String name, Output<String> id, CiscoDhcpServerFeatureTemplateState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AddressPool string
    Configure IPv4 prefix range of the DHCP address pool
    AddressPoolVariable string
    Variable name
    DefaultGateway string
    Set IP address of default gateway
    DefaultGatewayVariable string
    Variable name
    Description string
    The description of the feature template
    DeviceTypes List<string>
    List of supported device types - Choices: vedge-C8000V, vedge-C8300-1N1S-4T2X, vedge-C8300-1N1S-6T, vedge-C8300-2N2S-6T, vedge-C8300-2N2S-4T2X, vedge-C8500-12X4QC, vedge-C8500-12X, vedge-C8500-20X6C, vedge-C8500L-8S4X, vedge-C8200-1N-4T, vedge-C8200L-1N-4T
    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
    ExcludeAddresses List<string>
    Configure IPv4 address to exclude from DHCP address pool
    ExcludeAddressesVariable string
    Variable name
    InterfaceMtu int
    Set MTU on interface to DHCP client - Range: 68-65535
    InterfaceMtuVariable string
    Variable name
    LeaseTime int
    Configure how long a DHCP-assigned IP address is valid - Range: 60-31536000 - Default value: 86400
    LeaseTimeVariable string
    Variable name
    Name string
    The name of the feature template
    Options List<CiscoDhcpServerFeatureTemplateOption>
    Configure Options Code
    StaticLeases List<CiscoDhcpServerFeatureTemplateStaticLease>
    Configure static IP addresses
    TemplateType string
    The template type
    TftpServers List<string>
    Configure TFTP server IP addresses
    TftpServersVariable string
    Variable name
    Version int
    The version of the feature template
    AddressPool string
    Configure IPv4 prefix range of the DHCP address pool
    AddressPoolVariable string
    Variable name
    DefaultGateway string
    Set IP address of default gateway
    DefaultGatewayVariable string
    Variable name
    Description string
    The description of the feature template
    DeviceTypes []string
    List of supported device types - Choices: vedge-C8000V, vedge-C8300-1N1S-4T2X, vedge-C8300-1N1S-6T, vedge-C8300-2N2S-6T, vedge-C8300-2N2S-4T2X, vedge-C8500-12X4QC, vedge-C8500-12X, vedge-C8500-20X6C, vedge-C8500L-8S4X, vedge-C8200-1N-4T, vedge-C8200L-1N-4T
    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
    ExcludeAddresses []string
    Configure IPv4 address to exclude from DHCP address pool
    ExcludeAddressesVariable string
    Variable name
    InterfaceMtu int
    Set MTU on interface to DHCP client - Range: 68-65535
    InterfaceMtuVariable string
    Variable name
    LeaseTime int
    Configure how long a DHCP-assigned IP address is valid - Range: 60-31536000 - Default value: 86400
    LeaseTimeVariable string
    Variable name
    Name string
    The name of the feature template
    Options []CiscoDhcpServerFeatureTemplateOptionArgs
    Configure Options Code
    StaticLeases []CiscoDhcpServerFeatureTemplateStaticLeaseArgs
    Configure static IP addresses
    TemplateType string
    The template type
    TftpServers []string
    Configure TFTP server IP addresses
    TftpServersVariable string
    Variable name
    Version int
    The version of the feature template
    addressPool String
    Configure IPv4 prefix range of the DHCP address pool
    addressPoolVariable String
    Variable name
    defaultGateway String
    Set IP address of default gateway
    defaultGatewayVariable String
    Variable name
    description String
    The description of the feature template
    deviceTypes List<String>
    List of supported device types - Choices: vedge-C8000V, vedge-C8300-1N1S-4T2X, vedge-C8300-1N1S-6T, vedge-C8300-2N2S-6T, vedge-C8300-2N2S-4T2X, vedge-C8500-12X4QC, vedge-C8500-12X, vedge-C8500-20X6C, vedge-C8500L-8S4X, vedge-C8200-1N-4T, vedge-C8200L-1N-4T
    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
    excludeAddresses List<String>
    Configure IPv4 address to exclude from DHCP address pool
    excludeAddressesVariable String
    Variable name
    interfaceMtu Integer
    Set MTU on interface to DHCP client - Range: 68-65535
    interfaceMtuVariable String
    Variable name
    leaseTime Integer
    Configure how long a DHCP-assigned IP address is valid - Range: 60-31536000 - Default value: 86400
    leaseTimeVariable String
    Variable name
    name String
    The name of the feature template
    options List<CiscoDhcpServerFeatureTemplateOption>
    Configure Options Code
    staticLeases List<CiscoDhcpServerFeatureTemplateStaticLease>
    Configure static IP addresses
    templateType String
    The template type
    tftpServers List<String>
    Configure TFTP server IP addresses
    tftpServersVariable String
    Variable name
    version Integer
    The version of the feature template
    addressPool string
    Configure IPv4 prefix range of the DHCP address pool
    addressPoolVariable string
    Variable name
    defaultGateway string
    Set IP address of default gateway
    defaultGatewayVariable string
    Variable name
    description string
    The description of the feature template
    deviceTypes string[]
    List of supported device types - Choices: vedge-C8000V, vedge-C8300-1N1S-4T2X, vedge-C8300-1N1S-6T, vedge-C8300-2N2S-6T, vedge-C8300-2N2S-4T2X, vedge-C8500-12X4QC, vedge-C8500-12X, vedge-C8500-20X6C, vedge-C8500L-8S4X, vedge-C8200-1N-4T, vedge-C8200L-1N-4T
    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
    excludeAddresses string[]
    Configure IPv4 address to exclude from DHCP address pool
    excludeAddressesVariable string
    Variable name
    interfaceMtu number
    Set MTU on interface to DHCP client - Range: 68-65535
    interfaceMtuVariable string
    Variable name
    leaseTime number
    Configure how long a DHCP-assigned IP address is valid - Range: 60-31536000 - Default value: 86400
    leaseTimeVariable string
    Variable name
    name string
    The name of the feature template
    options CiscoDhcpServerFeatureTemplateOption[]
    Configure Options Code
    staticLeases CiscoDhcpServerFeatureTemplateStaticLease[]
    Configure static IP addresses
    templateType string
    The template type
    tftpServers string[]
    Configure TFTP server IP addresses
    tftpServersVariable string
    Variable name
    version number
    The version of the feature template
    address_pool str
    Configure IPv4 prefix range of the DHCP address pool
    address_pool_variable str
    Variable name
    default_gateway str
    Set IP address of default gateway
    default_gateway_variable str
    Variable name
    description str
    The description of the feature template
    device_types Sequence[str]
    List of supported device types - Choices: vedge-C8000V, vedge-C8300-1N1S-4T2X, vedge-C8300-1N1S-6T, vedge-C8300-2N2S-6T, vedge-C8300-2N2S-4T2X, vedge-C8500-12X4QC, vedge-C8500-12X, vedge-C8500-20X6C, vedge-C8500L-8S4X, vedge-C8200-1N-4T, vedge-C8200L-1N-4T
    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_addresses Sequence[str]
    Configure IPv4 address to exclude from DHCP address pool
    exclude_addresses_variable str
    Variable name
    interface_mtu int
    Set MTU on interface to DHCP client - Range: 68-65535
    interface_mtu_variable str
    Variable name
    lease_time int
    Configure how long a DHCP-assigned IP address is valid - Range: 60-31536000 - Default value: 86400
    lease_time_variable str
    Variable name
    name str
    The name of the feature template
    options Sequence[CiscoDhcpServerFeatureTemplateOptionArgs]
    Configure Options Code
    static_leases Sequence[CiscoDhcpServerFeatureTemplateStaticLeaseArgs]
    Configure static IP addresses
    template_type str
    The template type
    tftp_servers Sequence[str]
    Configure TFTP server IP addresses
    tftp_servers_variable str
    Variable name
    version int
    The version of the feature template
    addressPool String
    Configure IPv4 prefix range of the DHCP address pool
    addressPoolVariable String
    Variable name
    defaultGateway String
    Set IP address of default gateway
    defaultGatewayVariable String
    Variable name
    description String
    The description of the feature template
    deviceTypes List<String>
    List of supported device types - Choices: vedge-C8000V, vedge-C8300-1N1S-4T2X, vedge-C8300-1N1S-6T, vedge-C8300-2N2S-6T, vedge-C8300-2N2S-4T2X, vedge-C8500-12X4QC, vedge-C8500-12X, vedge-C8500-20X6C, vedge-C8500L-8S4X, vedge-C8200-1N-4T, vedge-C8200L-1N-4T
    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
    excludeAddresses List<String>
    Configure IPv4 address to exclude from DHCP address pool
    excludeAddressesVariable String
    Variable name
    interfaceMtu Number
    Set MTU on interface to DHCP client - Range: 68-65535
    interfaceMtuVariable String
    Variable name
    leaseTime Number
    Configure how long a DHCP-assigned IP address is valid - Range: 60-31536000 - Default value: 86400
    leaseTimeVariable String
    Variable name
    name String
    The name of the feature template
    options List<Property Map>
    Configure Options Code
    staticLeases List<Property Map>
    Configure static IP addresses
    templateType String
    The template type
    tftpServers List<String>
    Configure TFTP server IP addresses
    tftpServersVariable String
    Variable name
    version Number
    The version of the feature template

    Supporting Types

    CiscoDhcpServerFeatureTemplateOption, CiscoDhcpServerFeatureTemplateOptionArgs

    Ascii string
    Set ASCII value
    AsciiVariable string
    Variable name
    Hex string
    Set HEX value
    HexVariable string
    Variable name
    IpAddressVariable string
    Variable name
    IpAddresses List<string>
    Set ip address
    OptionCode int
    Set Option Code

    • Range: 1-254
    OptionCodeVariable string
    Variable name
    Optional bool
    Indicates if list item is considered optional.
    Ascii string
    Set ASCII value
    AsciiVariable string
    Variable name
    Hex string
    Set HEX value
    HexVariable string
    Variable name
    IpAddressVariable string
    Variable name
    IpAddresses []string
    Set ip address
    OptionCode int
    Set Option Code

    • Range: 1-254
    OptionCodeVariable string
    Variable name
    Optional bool
    Indicates if list item is considered optional.
    ascii String
    Set ASCII value
    asciiVariable String
    Variable name
    hex String
    Set HEX value
    hexVariable String
    Variable name
    ipAddressVariable String
    Variable name
    ipAddresses List<String>
    Set ip address
    optionCode Integer
    Set Option Code

    • Range: 1-254
    optionCodeVariable String
    Variable name
    optional Boolean
    Indicates if list item is considered optional.
    ascii string
    Set ASCII value
    asciiVariable string
    Variable name
    hex string
    Set HEX value
    hexVariable string
    Variable name
    ipAddressVariable string
    Variable name
    ipAddresses string[]
    Set ip address
    optionCode number
    Set Option Code

    • Range: 1-254
    optionCodeVariable string
    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_variable str
    Variable name
    ip_addresses Sequence[str]
    Set ip address
    option_code int
    Set Option Code

    • Range: 1-254
    option_code_variable str
    Variable name
    optional bool
    Indicates if list item is considered optional.
    ascii String
    Set ASCII value
    asciiVariable String
    Variable name
    hex String
    Set HEX value
    hexVariable String
    Variable name
    ipAddressVariable String
    Variable name
    ipAddresses List<String>
    Set ip address
    optionCode Number
    Set Option Code

    • Range: 1-254
    optionCodeVariable String
    Variable name
    optional Boolean
    Indicates if list item is considered optional.

    CiscoDhcpServerFeatureTemplateStaticLease, CiscoDhcpServerFeatureTemplateStaticLeaseArgs

    Hostname string
    Set client’s hostname
    HostnameVariable string
    Variable name
    IpAddress string
    Set client’s static IP address
    IpAddressVariable string
    Variable name
    MacAddress string
    Set MAC address of client
    MacAddressVariable string
    Variable name
    Optional bool
    Indicates if list item is considered optional.
    Hostname string
    Set client’s hostname
    HostnameVariable string
    Variable name
    IpAddress string
    Set client’s static IP address
    IpAddressVariable string
    Variable name
    MacAddress string
    Set MAC address of client
    MacAddressVariable string
    Variable name
    Optional bool
    Indicates if list item is considered optional.
    hostname String
    Set client’s hostname
    hostnameVariable String
    Variable name
    ipAddress String
    Set client’s static IP address
    ipAddressVariable String
    Variable name
    macAddress String
    Set MAC address of client
    macAddressVariable String
    Variable name
    optional Boolean
    Indicates if list item is considered optional.
    hostname string
    Set client’s hostname
    hostnameVariable string
    Variable name
    ipAddress string
    Set client’s static IP address
    ipAddressVariable string
    Variable name
    macAddress string
    Set MAC address of client
    macAddressVariable string
    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_variable str
    Variable name
    mac_address str
    Set MAC address of client
    mac_address_variable str
    Variable name
    optional bool
    Indicates if list item is considered optional.
    hostname String
    Set client’s hostname
    hostnameVariable String
    Variable name
    ipAddress String
    Set client’s static IP address
    ipAddressVariable String
    Variable name
    macAddress String
    Set MAC address of client
    macAddressVariable String
    Variable name
    optional Boolean
    Indicates if list item is considered optional.

    Import

    $ pulumi import sdwan:index/ciscoDhcpServerFeatureTemplate:CiscoDhcpServerFeatureTemplate example "f6b2c44c-693c-4763-b010-895aa3d236bd"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    sdwan pulumi/pulumi-sdwan
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the sdwan Terraform Provider.
    sdwan logo
    Cisco Catalyst SD-WAN v0.2.0 published on Friday, Nov 1, 2024 by Pulumi