libvirt.Network
Explore with Pulumi AI
Manages a VM network resource within libvirt. For more information see the official documentation.
Create Network Resource
new Network(name: string, args?: NetworkArgs, opts?: CustomResourceOptions);
@overload
def Network(resource_name: str,
opts: Optional[ResourceOptions] = None,
addresses: Optional[Sequence[str]] = None,
autostart: Optional[bool] = None,
bridge: Optional[str] = None,
dhcp: Optional[NetworkDhcpArgs] = None,
dns: Optional[NetworkDnsArgs] = None,
dnsmasq_options: Optional[NetworkDnsmasqOptionsArgs] = None,
domain: Optional[str] = None,
mode: Optional[str] = None,
mtu: Optional[int] = None,
name: Optional[str] = None,
routes: Optional[Sequence[NetworkRouteArgs]] = None,
xml: Optional[NetworkXmlArgs] = None)
@overload
def Network(resource_name: str,
args: Optional[NetworkArgs] = None,
opts: Optional[ResourceOptions] = None)
func NewNetwork(ctx *Context, name string, args *NetworkArgs, opts ...ResourceOption) (*Network, error)
public Network(string name, NetworkArgs? args = null, CustomResourceOptions? opts = null)
public Network(String name, NetworkArgs args)
public Network(String name, NetworkArgs args, CustomResourceOptions options)
type: libvirt:Network
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NetworkArgs
- 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 NetworkArgs
- 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 NetworkArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NetworkArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NetworkArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Network Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Network resource accepts the following input properties:
- Addresses List<string>
A list of (0 or 1) IPv4 and (0 or 1) IPv6 subnets in CIDR notation. This defines the subnets associated to that network. This argument is also used to define the address on the real host. If
dhcp { enabled = true }
addresses is also used to define the address range served by the DHCP server. No DHCP server will be started ifaddresses
is omitted.- Autostart bool
Set to
true
to start the network on host boot up. If not specifiedfalse
is assumed.- Bridge string
The bridge device defines the name of a bridge device which will be used to construct the virtual network (when not provided, it will be automatically obtained by libvirt in
none
,nat
,route
andopen
modes).- Dhcp
Network
Dhcp DHCP configuration. You need to use it in conjuction with the adresses variable.
- Dns
Network
Dns configuration of DNS specific settings for the network
- Dnsmasq
Options NetworkDnsmasq Options configuration of Dnsmasq options for the network You need to provide a list of option name and value pairs.
- Domain string
The domain used by the DNS server.
- Mode string
One of:
- Mtu int
The MTU to set for the underlying network interfaces. When not supplied, libvirt will use the default for the interface, usually 1500. Libvirt version 5.1 and greater will advertise this value to nodes via DHCP.
- Name string
A unique name for the resource, required by libvirt. Changing this forces a new resource to be created.
- Routes
List<Network
Route> a list of static routes. A
cidr
and agateway
must be provided. Thegateway
must be reachable via the bridge interface.- Xml
Network
Xml
- Addresses []string
A list of (0 or 1) IPv4 and (0 or 1) IPv6 subnets in CIDR notation. This defines the subnets associated to that network. This argument is also used to define the address on the real host. If
dhcp { enabled = true }
addresses is also used to define the address range served by the DHCP server. No DHCP server will be started ifaddresses
is omitted.- Autostart bool
Set to
true
to start the network on host boot up. If not specifiedfalse
is assumed.- Bridge string
The bridge device defines the name of a bridge device which will be used to construct the virtual network (when not provided, it will be automatically obtained by libvirt in
none
,nat
,route
andopen
modes).- Dhcp
Network
Dhcp Args DHCP configuration. You need to use it in conjuction with the adresses variable.
- Dns
Network
Dns Args configuration of DNS specific settings for the network
- Dnsmasq
Options NetworkDnsmasq Options Args configuration of Dnsmasq options for the network You need to provide a list of option name and value pairs.
- Domain string
The domain used by the DNS server.
- Mode string
One of:
- Mtu int
The MTU to set for the underlying network interfaces. When not supplied, libvirt will use the default for the interface, usually 1500. Libvirt version 5.1 and greater will advertise this value to nodes via DHCP.
- Name string
A unique name for the resource, required by libvirt. Changing this forces a new resource to be created.
- Routes
[]Network
Route Args a list of static routes. A
cidr
and agateway
must be provided. Thegateway
must be reachable via the bridge interface.- Xml
Network
Xml Args
- addresses List<String>
A list of (0 or 1) IPv4 and (0 or 1) IPv6 subnets in CIDR notation. This defines the subnets associated to that network. This argument is also used to define the address on the real host. If
dhcp { enabled = true }
addresses is also used to define the address range served by the DHCP server. No DHCP server will be started ifaddresses
is omitted.- autostart Boolean
Set to
true
to start the network on host boot up. If not specifiedfalse
is assumed.- bridge String
The bridge device defines the name of a bridge device which will be used to construct the virtual network (when not provided, it will be automatically obtained by libvirt in
none
,nat
,route
andopen
modes).- dhcp
Network
Dhcp DHCP configuration. You need to use it in conjuction with the adresses variable.
- dns
Network
Dns configuration of DNS specific settings for the network
- dnsmasq
Options NetworkDnsmasq Options configuration of Dnsmasq options for the network You need to provide a list of option name and value pairs.
- domain String
The domain used by the DNS server.
- mode String
One of:
- mtu Integer
The MTU to set for the underlying network interfaces. When not supplied, libvirt will use the default for the interface, usually 1500. Libvirt version 5.1 and greater will advertise this value to nodes via DHCP.
- name String
A unique name for the resource, required by libvirt. Changing this forces a new resource to be created.
- routes
List<Network
Route> a list of static routes. A
cidr
and agateway
must be provided. Thegateway
must be reachable via the bridge interface.- xml
Network
Xml
- addresses string[]
A list of (0 or 1) IPv4 and (0 or 1) IPv6 subnets in CIDR notation. This defines the subnets associated to that network. This argument is also used to define the address on the real host. If
dhcp { enabled = true }
addresses is also used to define the address range served by the DHCP server. No DHCP server will be started ifaddresses
is omitted.- autostart boolean
Set to
true
to start the network on host boot up. If not specifiedfalse
is assumed.- bridge string
The bridge device defines the name of a bridge device which will be used to construct the virtual network (when not provided, it will be automatically obtained by libvirt in
none
,nat
,route
andopen
modes).- dhcp
Network
Dhcp DHCP configuration. You need to use it in conjuction with the adresses variable.
- dns
Network
Dns configuration of DNS specific settings for the network
- dnsmasq
Options NetworkDnsmasq Options configuration of Dnsmasq options for the network You need to provide a list of option name and value pairs.
- domain string
The domain used by the DNS server.
- mode string
One of:
- mtu number
The MTU to set for the underlying network interfaces. When not supplied, libvirt will use the default for the interface, usually 1500. Libvirt version 5.1 and greater will advertise this value to nodes via DHCP.
- name string
A unique name for the resource, required by libvirt. Changing this forces a new resource to be created.
- routes
Network
Route[] a list of static routes. A
cidr
and agateway
must be provided. Thegateway
must be reachable via the bridge interface.- xml
Network
Xml
- addresses Sequence[str]
A list of (0 or 1) IPv4 and (0 or 1) IPv6 subnets in CIDR notation. This defines the subnets associated to that network. This argument is also used to define the address on the real host. If
dhcp { enabled = true }
addresses is also used to define the address range served by the DHCP server. No DHCP server will be started ifaddresses
is omitted.- autostart bool
Set to
true
to start the network on host boot up. If not specifiedfalse
is assumed.- bridge str
The bridge device defines the name of a bridge device which will be used to construct the virtual network (when not provided, it will be automatically obtained by libvirt in
none
,nat
,route
andopen
modes).- dhcp
Network
Dhcp Args DHCP configuration. You need to use it in conjuction with the adresses variable.
- dns
Network
Dns Args configuration of DNS specific settings for the network
- dnsmasq_
options NetworkDnsmasq Options Args configuration of Dnsmasq options for the network You need to provide a list of option name and value pairs.
- domain str
The domain used by the DNS server.
- mode str
One of:
- mtu int
The MTU to set for the underlying network interfaces. When not supplied, libvirt will use the default for the interface, usually 1500. Libvirt version 5.1 and greater will advertise this value to nodes via DHCP.
- name str
A unique name for the resource, required by libvirt. Changing this forces a new resource to be created.
- routes
Sequence[Network
Route Args] a list of static routes. A
cidr
and agateway
must be provided. Thegateway
must be reachable via the bridge interface.- xml
Network
Xml Args
- addresses List<String>
A list of (0 or 1) IPv4 and (0 or 1) IPv6 subnets in CIDR notation. This defines the subnets associated to that network. This argument is also used to define the address on the real host. If
dhcp { enabled = true }
addresses is also used to define the address range served by the DHCP server. No DHCP server will be started ifaddresses
is omitted.- autostart Boolean
Set to
true
to start the network on host boot up. If not specifiedfalse
is assumed.- bridge String
The bridge device defines the name of a bridge device which will be used to construct the virtual network (when not provided, it will be automatically obtained by libvirt in
none
,nat
,route
andopen
modes).- dhcp Property Map
DHCP configuration. You need to use it in conjuction with the adresses variable.
- dns Property Map
configuration of DNS specific settings for the network
- dnsmasq
Options Property Map configuration of Dnsmasq options for the network You need to provide a list of option name and value pairs.
- domain String
The domain used by the DNS server.
- mode String
One of:
- mtu Number
The MTU to set for the underlying network interfaces. When not supplied, libvirt will use the default for the interface, usually 1500. Libvirt version 5.1 and greater will advertise this value to nodes via DHCP.
- name String
A unique name for the resource, required by libvirt. Changing this forces a new resource to be created.
- routes List<Property Map>
a list of static routes. A
cidr
and agateway
must be provided. Thegateway
must be reachable via the bridge interface.- xml Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the Network resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Id string
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
- id string
The provider-assigned unique ID for this managed resource.
- id str
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
Look up Existing Network Resource
Get an existing Network 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?: NetworkState, opts?: CustomResourceOptions): Network
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
addresses: Optional[Sequence[str]] = None,
autostart: Optional[bool] = None,
bridge: Optional[str] = None,
dhcp: Optional[NetworkDhcpArgs] = None,
dns: Optional[NetworkDnsArgs] = None,
dnsmasq_options: Optional[NetworkDnsmasqOptionsArgs] = None,
domain: Optional[str] = None,
mode: Optional[str] = None,
mtu: Optional[int] = None,
name: Optional[str] = None,
routes: Optional[Sequence[NetworkRouteArgs]] = None,
xml: Optional[NetworkXmlArgs] = None) -> Network
func GetNetwork(ctx *Context, name string, id IDInput, state *NetworkState, opts ...ResourceOption) (*Network, error)
public static Network Get(string name, Input<string> id, NetworkState? state, CustomResourceOptions? opts = null)
public static Network get(String name, Output<String> id, NetworkState 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.
- Addresses List<string>
A list of (0 or 1) IPv4 and (0 or 1) IPv6 subnets in CIDR notation. This defines the subnets associated to that network. This argument is also used to define the address on the real host. If
dhcp { enabled = true }
addresses is also used to define the address range served by the DHCP server. No DHCP server will be started ifaddresses
is omitted.- Autostart bool
Set to
true
to start the network on host boot up. If not specifiedfalse
is assumed.- Bridge string
The bridge device defines the name of a bridge device which will be used to construct the virtual network (when not provided, it will be automatically obtained by libvirt in
none
,nat
,route
andopen
modes).- Dhcp
Network
Dhcp DHCP configuration. You need to use it in conjuction with the adresses variable.
- Dns
Network
Dns configuration of DNS specific settings for the network
- Dnsmasq
Options NetworkDnsmasq Options configuration of Dnsmasq options for the network You need to provide a list of option name and value pairs.
- Domain string
The domain used by the DNS server.
- Mode string
One of:
- Mtu int
The MTU to set for the underlying network interfaces. When not supplied, libvirt will use the default for the interface, usually 1500. Libvirt version 5.1 and greater will advertise this value to nodes via DHCP.
- Name string
A unique name for the resource, required by libvirt. Changing this forces a new resource to be created.
- Routes
List<Network
Route> a list of static routes. A
cidr
and agateway
must be provided. Thegateway
must be reachable via the bridge interface.- Xml
Network
Xml
- Addresses []string
A list of (0 or 1) IPv4 and (0 or 1) IPv6 subnets in CIDR notation. This defines the subnets associated to that network. This argument is also used to define the address on the real host. If
dhcp { enabled = true }
addresses is also used to define the address range served by the DHCP server. No DHCP server will be started ifaddresses
is omitted.- Autostart bool
Set to
true
to start the network on host boot up. If not specifiedfalse
is assumed.- Bridge string
The bridge device defines the name of a bridge device which will be used to construct the virtual network (when not provided, it will be automatically obtained by libvirt in
none
,nat
,route
andopen
modes).- Dhcp
Network
Dhcp Args DHCP configuration. You need to use it in conjuction with the adresses variable.
- Dns
Network
Dns Args configuration of DNS specific settings for the network
- Dnsmasq
Options NetworkDnsmasq Options Args configuration of Dnsmasq options for the network You need to provide a list of option name and value pairs.
- Domain string
The domain used by the DNS server.
- Mode string
One of:
- Mtu int
The MTU to set for the underlying network interfaces. When not supplied, libvirt will use the default for the interface, usually 1500. Libvirt version 5.1 and greater will advertise this value to nodes via DHCP.
- Name string
A unique name for the resource, required by libvirt. Changing this forces a new resource to be created.
- Routes
[]Network
Route Args a list of static routes. A
cidr
and agateway
must be provided. Thegateway
must be reachable via the bridge interface.- Xml
Network
Xml Args
- addresses List<String>
A list of (0 or 1) IPv4 and (0 or 1) IPv6 subnets in CIDR notation. This defines the subnets associated to that network. This argument is also used to define the address on the real host. If
dhcp { enabled = true }
addresses is also used to define the address range served by the DHCP server. No DHCP server will be started ifaddresses
is omitted.- autostart Boolean
Set to
true
to start the network on host boot up. If not specifiedfalse
is assumed.- bridge String
The bridge device defines the name of a bridge device which will be used to construct the virtual network (when not provided, it will be automatically obtained by libvirt in
none
,nat
,route
andopen
modes).- dhcp
Network
Dhcp DHCP configuration. You need to use it in conjuction with the adresses variable.
- dns
Network
Dns configuration of DNS specific settings for the network
- dnsmasq
Options NetworkDnsmasq Options configuration of Dnsmasq options for the network You need to provide a list of option name and value pairs.
- domain String
The domain used by the DNS server.
- mode String
One of:
- mtu Integer
The MTU to set for the underlying network interfaces. When not supplied, libvirt will use the default for the interface, usually 1500. Libvirt version 5.1 and greater will advertise this value to nodes via DHCP.
- name String
A unique name for the resource, required by libvirt. Changing this forces a new resource to be created.
- routes
List<Network
Route> a list of static routes. A
cidr
and agateway
must be provided. Thegateway
must be reachable via the bridge interface.- xml
Network
Xml
- addresses string[]
A list of (0 or 1) IPv4 and (0 or 1) IPv6 subnets in CIDR notation. This defines the subnets associated to that network. This argument is also used to define the address on the real host. If
dhcp { enabled = true }
addresses is also used to define the address range served by the DHCP server. No DHCP server will be started ifaddresses
is omitted.- autostart boolean
Set to
true
to start the network on host boot up. If not specifiedfalse
is assumed.- bridge string
The bridge device defines the name of a bridge device which will be used to construct the virtual network (when not provided, it will be automatically obtained by libvirt in
none
,nat
,route
andopen
modes).- dhcp
Network
Dhcp DHCP configuration. You need to use it in conjuction with the adresses variable.
- dns
Network
Dns configuration of DNS specific settings for the network
- dnsmasq
Options NetworkDnsmasq Options configuration of Dnsmasq options for the network You need to provide a list of option name and value pairs.
- domain string
The domain used by the DNS server.
- mode string
One of:
- mtu number
The MTU to set for the underlying network interfaces. When not supplied, libvirt will use the default for the interface, usually 1500. Libvirt version 5.1 and greater will advertise this value to nodes via DHCP.
- name string
A unique name for the resource, required by libvirt. Changing this forces a new resource to be created.
- routes
Network
Route[] a list of static routes. A
cidr
and agateway
must be provided. Thegateway
must be reachable via the bridge interface.- xml
Network
Xml
- addresses Sequence[str]
A list of (0 or 1) IPv4 and (0 or 1) IPv6 subnets in CIDR notation. This defines the subnets associated to that network. This argument is also used to define the address on the real host. If
dhcp { enabled = true }
addresses is also used to define the address range served by the DHCP server. No DHCP server will be started ifaddresses
is omitted.- autostart bool
Set to
true
to start the network on host boot up. If not specifiedfalse
is assumed.- bridge str
The bridge device defines the name of a bridge device which will be used to construct the virtual network (when not provided, it will be automatically obtained by libvirt in
none
,nat
,route
andopen
modes).- dhcp
Network
Dhcp Args DHCP configuration. You need to use it in conjuction with the adresses variable.
- dns
Network
Dns Args configuration of DNS specific settings for the network
- dnsmasq_
options NetworkDnsmasq Options Args configuration of Dnsmasq options for the network You need to provide a list of option name and value pairs.
- domain str
The domain used by the DNS server.
- mode str
One of:
- mtu int
The MTU to set for the underlying network interfaces. When not supplied, libvirt will use the default for the interface, usually 1500. Libvirt version 5.1 and greater will advertise this value to nodes via DHCP.
- name str
A unique name for the resource, required by libvirt. Changing this forces a new resource to be created.
- routes
Sequence[Network
Route Args] a list of static routes. A
cidr
and agateway
must be provided. Thegateway
must be reachable via the bridge interface.- xml
Network
Xml Args
- addresses List<String>
A list of (0 or 1) IPv4 and (0 or 1) IPv6 subnets in CIDR notation. This defines the subnets associated to that network. This argument is also used to define the address on the real host. If
dhcp { enabled = true }
addresses is also used to define the address range served by the DHCP server. No DHCP server will be started ifaddresses
is omitted.- autostart Boolean
Set to
true
to start the network on host boot up. If not specifiedfalse
is assumed.- bridge String
The bridge device defines the name of a bridge device which will be used to construct the virtual network (when not provided, it will be automatically obtained by libvirt in
none
,nat
,route
andopen
modes).- dhcp Property Map
DHCP configuration. You need to use it in conjuction with the adresses variable.
- dns Property Map
configuration of DNS specific settings for the network
- dnsmasq
Options Property Map configuration of Dnsmasq options for the network You need to provide a list of option name and value pairs.
- domain String
The domain used by the DNS server.
- mode String
One of:
- mtu Number
The MTU to set for the underlying network interfaces. When not supplied, libvirt will use the default for the interface, usually 1500. Libvirt version 5.1 and greater will advertise this value to nodes via DHCP.
- name String
A unique name for the resource, required by libvirt. Changing this forces a new resource to be created.
- routes List<Property Map>
a list of static routes. A
cidr
and agateway
must be provided. Thegateway
must be reachable via the bridge interface.- xml Property Map
Supporting Types
NetworkDhcp, NetworkDhcpArgs
- Enabled bool
when false, disable the DHCP server
- Enabled bool
when false, disable the DHCP server
- enabled Boolean
when false, disable the DHCP server
- enabled boolean
when false, disable the DHCP server
- enabled bool
when false, disable the DHCP server
- enabled Boolean
when false, disable the DHCP server
NetworkDns, NetworkDnsArgs
- Enabled bool
when false, disable the DHCP server
- Forwarders
List<Network
Dns Forwarder> Either
address
,domain
, or both must be set- Hosts
List<Network
Dns Host> a DNS host entry block. You can have one or more of these blocks in your DNS definition. You must specify both
ip
andhostname
.- Local
Only bool true/false: true means 'do not forward unresolved requests for this domain to the part DNS server
- Srvs
List<Network
Dns Srv> a DNS SRV entry block. You can have one or more of these blocks in your DNS definition. You must specify
service
andprotocol
.
- Enabled bool
when false, disable the DHCP server
- Forwarders
[]Network
Dns Forwarder Either
address
,domain
, or both must be set- Hosts
[]Network
Dns Host a DNS host entry block. You can have one or more of these blocks in your DNS definition. You must specify both
ip
andhostname
.- Local
Only bool true/false: true means 'do not forward unresolved requests for this domain to the part DNS server
- Srvs
[]Network
Dns Srv a DNS SRV entry block. You can have one or more of these blocks in your DNS definition. You must specify
service
andprotocol
.
- enabled Boolean
when false, disable the DHCP server
- forwarders
List<Network
Dns Forwarder> Either
address
,domain
, or both must be set- hosts
List<Network
Dns Host> a DNS host entry block. You can have one or more of these blocks in your DNS definition. You must specify both
ip
andhostname
.- local
Only Boolean true/false: true means 'do not forward unresolved requests for this domain to the part DNS server
- srvs
List<Network
Dns Srv> a DNS SRV entry block. You can have one or more of these blocks in your DNS definition. You must specify
service
andprotocol
.
- enabled boolean
when false, disable the DHCP server
- forwarders
Network
Dns Forwarder[] Either
address
,domain
, or both must be set- hosts
Network
Dns Host[] a DNS host entry block. You can have one or more of these blocks in your DNS definition. You must specify both
ip
andhostname
.- local
Only boolean true/false: true means 'do not forward unresolved requests for this domain to the part DNS server
- srvs
Network
Dns Srv[] a DNS SRV entry block. You can have one or more of these blocks in your DNS definition. You must specify
service
andprotocol
.
- enabled bool
when false, disable the DHCP server
- forwarders
Sequence[Network
Dns Forwarder] Either
address
,domain
, or both must be set- hosts
Sequence[Network
Dns Host] a DNS host entry block. You can have one or more of these blocks in your DNS definition. You must specify both
ip
andhostname
.- local_
only bool true/false: true means 'do not forward unresolved requests for this domain to the part DNS server
- srvs
Sequence[Network
Dns Srv] a DNS SRV entry block. You can have one or more of these blocks in your DNS definition. You must specify
service
andprotocol
.
- enabled Boolean
when false, disable the DHCP server
- forwarders List<Property Map>
Either
address
,domain
, or both must be set- hosts List<Property Map>
a DNS host entry block. You can have one or more of these blocks in your DNS definition. You must specify both
ip
andhostname
.- local
Only Boolean true/false: true means 'do not forward unresolved requests for this domain to the part DNS server
- srvs List<Property Map>
a DNS SRV entry block. You can have one or more of these blocks in your DNS definition. You must specify
service
andprotocol
.
NetworkDnsForwarder, NetworkDnsForwarderArgs
NetworkDnsHost, NetworkDnsHostArgs
NetworkDnsSrv, NetworkDnsSrvArgs
NetworkDnsmasqOptions, NetworkDnsmasqOptionsArgs
- Options
List<Network
Dnsmasq Options Option> a Dnsmasq option entry block. You can have one or more of these blocks in your definition. You must specify both
option_name
andoption_value
.
- Options
[]Network
Dnsmasq Options Option a Dnsmasq option entry block. You can have one or more of these blocks in your definition. You must specify both
option_name
andoption_value
.
- options
List<Network
Dnsmasq Options Option> a Dnsmasq option entry block. You can have one or more of these blocks in your definition. You must specify both
option_name
andoption_value
.
- options
Network
Dnsmasq Options Option[] a Dnsmasq option entry block. You can have one or more of these blocks in your definition. You must specify both
option_name
andoption_value
.
- options
Sequence[Network
Dnsmasq Options Option] a Dnsmasq option entry block. You can have one or more of these blocks in your definition. You must specify both
option_name
andoption_value
.
- options List<Property Map>
a Dnsmasq option entry block. You can have one or more of these blocks in your definition. You must specify both
option_name
andoption_value
.
NetworkDnsmasqOptionsOption, NetworkDnsmasqOptionsOptionArgs
- Option
Name string - Option
Value string
- Option
Name string - Option
Value string
- option
Name String - option
Value String
- option
Name string - option
Value string
- option_
name str - option_
value str
- option
Name String - option
Value String
NetworkRoute, NetworkRouteArgs
NetworkXml, NetworkXmlArgs
- Xslt string
- Xslt string
- xslt String
- xslt string
- xslt str
- xslt String
Package Details
- Repository
- libvirt pulumi/pulumi-libvirt
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
libvirt
Terraform Provider.