sdwan.CiscoDhcpServerFeatureTemplate
Explore with Pulumi AI
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
- Device
Types 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
- Address
Pool string - Configure IPv4 prefix range of the DHCP address pool
- Address
Pool stringVariable - Variable name
- Default
Gateway string - Set IP address of default gateway
- Default
Gateway stringVariable - Variable name
- Dns
Servers List<string> - Configure one or more DNS server IP addresses
- Dns
Servers stringVariable - Variable name
- Domain
Name string - Set domain name client uses to resolve hostnames
- Domain
Name stringVariable - Variable name
- Exclude
Addresses List<string> - Configure IPv4 address to exclude from DHCP address pool
- Exclude
Addresses stringVariable - Variable name
- Interface
Mtu int - Set MTU on interface to DHCP client - Range:
68
-65535
- Interface
Mtu stringVariable - Variable name
- Lease
Time int - Configure how long a DHCP-assigned IP address is valid - Range:
60
-31536000
- Default value:86400
- Lease
Time stringVariable - Variable name
- Name string
- The name of the feature template
- Options
List<Cisco
Dhcp Server Feature Template Option> - Configure Options Code
- Static
Leases List<CiscoDhcp Server Feature Template Static Lease> - Configure static IP addresses
- Tftp
Servers List<string> - Configure TFTP server IP addresses
- Tftp
Servers stringVariable - Variable name
- Description string
- The description of the feature template
- Device
Types []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
- Address
Pool string - Configure IPv4 prefix range of the DHCP address pool
- Address
Pool stringVariable - Variable name
- Default
Gateway string - Set IP address of default gateway
- Default
Gateway stringVariable - Variable name
- Dns
Servers []string - Configure one or more DNS server IP addresses
- Dns
Servers stringVariable - Variable name
- Domain
Name string - Set domain name client uses to resolve hostnames
- Domain
Name stringVariable - Variable name
- Exclude
Addresses []string - Configure IPv4 address to exclude from DHCP address pool
- Exclude
Addresses stringVariable - Variable name
- Interface
Mtu int - Set MTU on interface to DHCP client - Range:
68
-65535
- Interface
Mtu stringVariable - Variable name
- Lease
Time int - Configure how long a DHCP-assigned IP address is valid - Range:
60
-31536000
- Default value:86400
- Lease
Time stringVariable - Variable name
- Name string
- The name of the feature template
- Options
[]Cisco
Dhcp Server Feature Template Option Args - Configure Options Code
- Static
Leases []CiscoDhcp Server Feature Template Static Lease Args - Configure static IP addresses
- Tftp
Servers []string - Configure TFTP server IP addresses
- Tftp
Servers stringVariable - Variable name
- description String
- The description of the feature template
- device
Types 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
- address
Pool String - Configure IPv4 prefix range of the DHCP address pool
- address
Pool StringVariable - Variable name
- default
Gateway String - Set IP address of default gateway
- default
Gateway StringVariable - Variable name
- dns
Servers List<String> - Configure one or more DNS server IP addresses
- dns
Servers StringVariable - Variable name
- domain
Name String - Set domain name client uses to resolve hostnames
- domain
Name StringVariable - Variable name
- exclude
Addresses List<String> - Configure IPv4 address to exclude from DHCP address pool
- exclude
Addresses StringVariable - Variable name
- interface
Mtu Integer - Set MTU on interface to DHCP client - Range:
68
-65535
- interface
Mtu StringVariable - Variable name
- lease
Time Integer - Configure how long a DHCP-assigned IP address is valid - Range:
60
-31536000
- Default value:86400
- lease
Time StringVariable - Variable name
- name String
- The name of the feature template
- options
List<Cisco
Dhcp Server Feature Template Option> - Configure Options Code
- static
Leases List<CiscoDhcp Server Feature Template Static Lease> - Configure static IP addresses
- tftp
Servers List<String> - Configure TFTP server IP addresses
- tftp
Servers StringVariable - Variable name
- description string
- The description of the feature template
- device
Types 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
- address
Pool string - Configure IPv4 prefix range of the DHCP address pool
- address
Pool stringVariable - Variable name
- default
Gateway string - Set IP address of default gateway
- default
Gateway stringVariable - Variable name
- dns
Servers string[] - Configure one or more DNS server IP addresses
- dns
Servers stringVariable - Variable name
- domain
Name string - Set domain name client uses to resolve hostnames
- domain
Name stringVariable - Variable name
- exclude
Addresses string[] - Configure IPv4 address to exclude from DHCP address pool
- exclude
Addresses stringVariable - Variable name
- interface
Mtu number - Set MTU on interface to DHCP client - Range:
68
-65535
- interface
Mtu stringVariable - Variable name
- lease
Time number - Configure how long a DHCP-assigned IP address is valid - Range:
60
-31536000
- Default value:86400
- lease
Time stringVariable - Variable name
- name string
- The name of the feature template
- options
Cisco
Dhcp Server Feature Template Option[] - Configure Options Code
- static
Leases CiscoDhcp Server Feature Template Static Lease[] - Configure static IP addresses
- tftp
Servers string[] - Configure TFTP server IP addresses
- tftp
Servers stringVariable - 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_ strvariable - Variable name
- default_
gateway str - Set IP address of default gateway
- default_
gateway_ strvariable - Variable name
- dns_
servers Sequence[str] - Configure one or more DNS server IP addresses
- dns_
servers_ strvariable - Variable name
- domain_
name str - Set domain name client uses to resolve hostnames
- domain_
name_ strvariable - Variable name
- exclude_
addresses Sequence[str] - Configure IPv4 address to exclude from DHCP address pool
- exclude_
addresses_ strvariable - Variable name
- interface_
mtu int - Set MTU on interface to DHCP client - Range:
68
-65535
- interface_
mtu_ strvariable - Variable name
- lease_
time int - Configure how long a DHCP-assigned IP address is valid - Range:
60
-31536000
- Default value:86400
- lease_
time_ strvariable - Variable name
- name str
- The name of the feature template
- options
Sequence[Cisco
Dhcp Server Feature Template Option Args] - Configure Options Code
- static_
leases Sequence[CiscoDhcp Server Feature Template Static Lease Args] - Configure static IP addresses
- tftp_
servers Sequence[str] - Configure TFTP server IP addresses
- tftp_
servers_ strvariable - Variable name
- description String
- The description of the feature template
- device
Types 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
- address
Pool String - Configure IPv4 prefix range of the DHCP address pool
- address
Pool StringVariable - Variable name
- default
Gateway String - Set IP address of default gateway
- default
Gateway StringVariable - Variable name
- dns
Servers List<String> - Configure one or more DNS server IP addresses
- dns
Servers StringVariable - Variable name
- domain
Name String - Set domain name client uses to resolve hostnames
- domain
Name StringVariable - Variable name
- exclude
Addresses List<String> - Configure IPv4 address to exclude from DHCP address pool
- exclude
Addresses StringVariable - Variable name
- interface
Mtu Number - Set MTU on interface to DHCP client - Range:
68
-65535
- interface
Mtu StringVariable - Variable name
- lease
Time Number - Configure how long a DHCP-assigned IP address is valid - Range:
60
-31536000
- Default value:86400
- lease
Time StringVariable - Variable name
- name String
- The name of the feature template
- options List<Property Map>
- Configure Options Code
- static
Leases List<Property Map> - Configure static IP addresses
- tftp
Servers List<String> - Configure TFTP server IP addresses
- tftp
Servers StringVariable - 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.
- Template
Type string - The template type
- Version int
- The version of the feature template
- Id string
- The provider-assigned unique ID for this managed resource.
- Template
Type string - The template type
- Version int
- The version of the feature template
- id String
- The provider-assigned unique ID for this managed resource.
- template
Type String - The template type
- version Integer
- The version of the feature template
- id string
- The provider-assigned unique ID for this managed resource.
- template
Type 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.
- template
Type 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.
- Address
Pool string - Configure IPv4 prefix range of the DHCP address pool
- Address
Pool stringVariable - Variable name
- Default
Gateway string - Set IP address of default gateway
- Default
Gateway stringVariable - Variable name
- Description string
- The description of the feature template
- Device
Types 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
- Dns
Servers List<string> - Configure one or more DNS server IP addresses
- Dns
Servers stringVariable - Variable name
- Domain
Name string - Set domain name client uses to resolve hostnames
- Domain
Name stringVariable - Variable name
- Exclude
Addresses List<string> - Configure IPv4 address to exclude from DHCP address pool
- Exclude
Addresses stringVariable - Variable name
- Interface
Mtu int - Set MTU on interface to DHCP client - Range:
68
-65535
- Interface
Mtu stringVariable - Variable name
- Lease
Time int - Configure how long a DHCP-assigned IP address is valid - Range:
60
-31536000
- Default value:86400
- Lease
Time stringVariable - Variable name
- Name string
- The name of the feature template
- Options
List<Cisco
Dhcp Server Feature Template Option> - Configure Options Code
- Static
Leases List<CiscoDhcp Server Feature Template Static Lease> - Configure static IP addresses
- Template
Type string - The template type
- Tftp
Servers List<string> - Configure TFTP server IP addresses
- Tftp
Servers stringVariable - Variable name
- Version int
- The version of the feature template
- Address
Pool string - Configure IPv4 prefix range of the DHCP address pool
- Address
Pool stringVariable - Variable name
- Default
Gateway string - Set IP address of default gateway
- Default
Gateway stringVariable - Variable name
- Description string
- The description of the feature template
- Device
Types []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
- Dns
Servers []string - Configure one or more DNS server IP addresses
- Dns
Servers stringVariable - Variable name
- Domain
Name string - Set domain name client uses to resolve hostnames
- Domain
Name stringVariable - Variable name
- Exclude
Addresses []string - Configure IPv4 address to exclude from DHCP address pool
- Exclude
Addresses stringVariable - Variable name
- Interface
Mtu int - Set MTU on interface to DHCP client - Range:
68
-65535
- Interface
Mtu stringVariable - Variable name
- Lease
Time int - Configure how long a DHCP-assigned IP address is valid - Range:
60
-31536000
- Default value:86400
- Lease
Time stringVariable - Variable name
- Name string
- The name of the feature template
- Options
[]Cisco
Dhcp Server Feature Template Option Args - Configure Options Code
- Static
Leases []CiscoDhcp Server Feature Template Static Lease Args - Configure static IP addresses
- Template
Type string - The template type
- Tftp
Servers []string - Configure TFTP server IP addresses
- Tftp
Servers stringVariable - Variable name
- Version int
- The version of the feature template
- address
Pool String - Configure IPv4 prefix range of the DHCP address pool
- address
Pool StringVariable - Variable name
- default
Gateway String - Set IP address of default gateway
- default
Gateway StringVariable - Variable name
- description String
- The description of the feature template
- device
Types 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
- dns
Servers List<String> - Configure one or more DNS server IP addresses
- dns
Servers StringVariable - Variable name
- domain
Name String - Set domain name client uses to resolve hostnames
- domain
Name StringVariable - Variable name
- exclude
Addresses List<String> - Configure IPv4 address to exclude from DHCP address pool
- exclude
Addresses StringVariable - Variable name
- interface
Mtu Integer - Set MTU on interface to DHCP client - Range:
68
-65535
- interface
Mtu StringVariable - Variable name
- lease
Time Integer - Configure how long a DHCP-assigned IP address is valid - Range:
60
-31536000
- Default value:86400
- lease
Time StringVariable - Variable name
- name String
- The name of the feature template
- options
List<Cisco
Dhcp Server Feature Template Option> - Configure Options Code
- static
Leases List<CiscoDhcp Server Feature Template Static Lease> - Configure static IP addresses
- template
Type String - The template type
- tftp
Servers List<String> - Configure TFTP server IP addresses
- tftp
Servers StringVariable - Variable name
- version Integer
- The version of the feature template
- address
Pool string - Configure IPv4 prefix range of the DHCP address pool
- address
Pool stringVariable - Variable name
- default
Gateway string - Set IP address of default gateway
- default
Gateway stringVariable - Variable name
- description string
- The description of the feature template
- device
Types 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
- dns
Servers string[] - Configure one or more DNS server IP addresses
- dns
Servers stringVariable - Variable name
- domain
Name string - Set domain name client uses to resolve hostnames
- domain
Name stringVariable - Variable name
- exclude
Addresses string[] - Configure IPv4 address to exclude from DHCP address pool
- exclude
Addresses stringVariable - Variable name
- interface
Mtu number - Set MTU on interface to DHCP client - Range:
68
-65535
- interface
Mtu stringVariable - Variable name
- lease
Time number - Configure how long a DHCP-assigned IP address is valid - Range:
60
-31536000
- Default value:86400
- lease
Time stringVariable - Variable name
- name string
- The name of the feature template
- options
Cisco
Dhcp Server Feature Template Option[] - Configure Options Code
- static
Leases CiscoDhcp Server Feature Template Static Lease[] - Configure static IP addresses
- template
Type string - The template type
- tftp
Servers string[] - Configure TFTP server IP addresses
- tftp
Servers stringVariable - Variable name
- version number
- The version of the feature template
- address_
pool str - Configure IPv4 prefix range of the DHCP address pool
- address_
pool_ strvariable - Variable name
- default_
gateway str - Set IP address of default gateway
- default_
gateway_ strvariable - 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_ strvariable - Variable name
- domain_
name str - Set domain name client uses to resolve hostnames
- domain_
name_ strvariable - Variable name
- exclude_
addresses Sequence[str] - Configure IPv4 address to exclude from DHCP address pool
- exclude_
addresses_ strvariable - Variable name
- interface_
mtu int - Set MTU on interface to DHCP client - Range:
68
-65535
- interface_
mtu_ strvariable - Variable name
- lease_
time int - Configure how long a DHCP-assigned IP address is valid - Range:
60
-31536000
- Default value:86400
- lease_
time_ strvariable - Variable name
- name str
- The name of the feature template
- options
Sequence[Cisco
Dhcp Server Feature Template Option Args] - Configure Options Code
- static_
leases Sequence[CiscoDhcp Server Feature Template Static Lease Args] - Configure static IP addresses
- template_
type str - The template type
- tftp_
servers Sequence[str] - Configure TFTP server IP addresses
- tftp_
servers_ strvariable - Variable name
- version int
- The version of the feature template
- address
Pool String - Configure IPv4 prefix range of the DHCP address pool
- address
Pool StringVariable - Variable name
- default
Gateway String - Set IP address of default gateway
- default
Gateway StringVariable - Variable name
- description String
- The description of the feature template
- device
Types 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
- dns
Servers List<String> - Configure one or more DNS server IP addresses
- dns
Servers StringVariable - Variable name
- domain
Name String - Set domain name client uses to resolve hostnames
- domain
Name StringVariable - Variable name
- exclude
Addresses List<String> - Configure IPv4 address to exclude from DHCP address pool
- exclude
Addresses StringVariable - Variable name
- interface
Mtu Number - Set MTU on interface to DHCP client - Range:
68
-65535
- interface
Mtu StringVariable - Variable name
- lease
Time Number - Configure how long a DHCP-assigned IP address is valid - Range:
60
-31536000
- Default value:86400
- lease
Time StringVariable - Variable name
- name String
- The name of the feature template
- options List<Property Map>
- Configure Options Code
- static
Leases List<Property Map> - Configure static IP addresses
- template
Type String - The template type
- tftp
Servers List<String> - Configure TFTP server IP addresses
- tftp
Servers StringVariable - Variable name
- version Number
- The version of the feature template
Supporting Types
CiscoDhcpServerFeatureTemplateOption, CiscoDhcpServerFeatureTemplateOptionArgs
- Ascii string
- Set ASCII value
- Ascii
Variable string - Variable name
- Hex string
- Set HEX value
- Hex
Variable string - Variable name
- Ip
Address stringVariable - Variable name
- Ip
Addresses List<string> - Set ip address
- Option
Code int - Set Option Code
- Range:
1
-254
- Range:
- Option
Code stringVariable - Variable name
- Optional bool
- Indicates if list item is considered optional.
- Ascii string
- Set ASCII value
- Ascii
Variable string - Variable name
- Hex string
- Set HEX value
- Hex
Variable string - Variable name
- Ip
Address stringVariable - Variable name
- Ip
Addresses []string - Set ip address
- Option
Code int - Set Option Code
- Range:
1
-254
- Range:
- Option
Code stringVariable - Variable name
- Optional bool
- Indicates if list item is considered optional.
- ascii String
- Set ASCII value
- ascii
Variable String - Variable name
- hex String
- Set HEX value
- hex
Variable String - Variable name
- ip
Address StringVariable - Variable name
- ip
Addresses List<String> - Set ip address
- option
Code Integer - Set Option Code
- Range:
1
-254
- Range:
- option
Code StringVariable - Variable name
- optional Boolean
- Indicates if list item is considered optional.
- ascii string
- Set ASCII value
- ascii
Variable string - Variable name
- hex string
- Set HEX value
- hex
Variable string - Variable name
- ip
Address stringVariable - Variable name
- ip
Addresses string[] - Set ip address
- option
Code number - Set Option Code
- Range:
1
-254
- Range:
- option
Code stringVariable - 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_ strvariable - Variable name
- ip_
addresses Sequence[str] - Set ip address
- option_
code int - Set Option Code
- Range:
1
-254
- Range:
- option_
code_ strvariable - Variable name
- optional bool
- Indicates if list item is considered optional.
- ascii String
- Set ASCII value
- ascii
Variable String - Variable name
- hex String
- Set HEX value
- hex
Variable String - Variable name
- ip
Address StringVariable - Variable name
- ip
Addresses List<String> - Set ip address
- option
Code Number - Set Option Code
- Range:
1
-254
- Range:
- option
Code StringVariable - Variable name
- optional Boolean
- Indicates if list item is considered optional.
CiscoDhcpServerFeatureTemplateStaticLease, CiscoDhcpServerFeatureTemplateStaticLeaseArgs
- Hostname string
- Set client’s hostname
- Hostname
Variable string - Variable name
- Ip
Address string - Set client’s static IP address
- Ip
Address stringVariable - Variable name
- Mac
Address string - Set MAC address of client
- Mac
Address stringVariable - Variable name
- Optional bool
- Indicates if list item is considered optional.
- Hostname string
- Set client’s hostname
- Hostname
Variable string - Variable name
- Ip
Address string - Set client’s static IP address
- Ip
Address stringVariable - Variable name
- Mac
Address string - Set MAC address of client
- Mac
Address stringVariable - Variable name
- Optional bool
- Indicates if list item is considered optional.
- hostname String
- Set client’s hostname
- hostname
Variable String - Variable name
- ip
Address String - Set client’s static IP address
- ip
Address StringVariable - Variable name
- mac
Address String - Set MAC address of client
- mac
Address StringVariable - Variable name
- optional Boolean
- Indicates if list item is considered optional.
- hostname string
- Set client’s hostname
- hostname
Variable string - Variable name
- ip
Address string - Set client’s static IP address
- ip
Address stringVariable - Variable name
- mac
Address string - Set MAC address of client
- mac
Address stringVariable - 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_ strvariable - Variable name
- mac_
address str - Set MAC address of client
- mac_
address_ strvariable - Variable name
- optional bool
- Indicates if list item is considered optional.
- hostname String
- Set client’s hostname
- hostname
Variable String - Variable name
- ip
Address String - Set client’s static IP address
- ip
Address StringVariable - Variable name
- mac
Address String - Set MAC address of client
- mac
Address StringVariable - 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.