vcd.VappNetwork
Explore with Pulumi AI
Create VappNetwork Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VappNetwork(name: string, args: VappNetworkArgs, opts?: CustomResourceOptions);
@overload
def VappNetwork(resource_name: str,
args: VappNetworkArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VappNetwork(resource_name: str,
opts: Optional[ResourceOptions] = None,
gateway: Optional[str] = None,
vapp_name: Optional[str] = None,
netmask: Optional[str] = None,
org: Optional[str] = None,
dns_suffix: Optional[str] = None,
dns1: Optional[str] = None,
guest_vlan_allowed: Optional[bool] = None,
name: Optional[str] = None,
description: Optional[str] = None,
dns2: Optional[str] = None,
org_network_name: Optional[str] = None,
prefix_length: Optional[str] = None,
reboot_vapp_on_removal: Optional[bool] = None,
retain_ip_mac_enabled: Optional[bool] = None,
static_ip_pools: Optional[Sequence[VappNetworkStaticIpPoolArgs]] = None,
dhcp_pools: Optional[Sequence[VappNetworkDhcpPoolArgs]] = None,
vapp_network_id: Optional[str] = None,
vdc: Optional[str] = None)
func NewVappNetwork(ctx *Context, name string, args VappNetworkArgs, opts ...ResourceOption) (*VappNetwork, error)
public VappNetwork(string name, VappNetworkArgs args, CustomResourceOptions? opts = null)
public VappNetwork(String name, VappNetworkArgs args)
public VappNetwork(String name, VappNetworkArgs args, CustomResourceOptions options)
type: vcd:VappNetwork
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 VappNetworkArgs
- 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 VappNetworkArgs
- 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 VappNetworkArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VappNetworkArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VappNetworkArgs
- 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 vappNetworkResource = new Vcd.VappNetwork("vappNetworkResource", new()
{
Gateway = "string",
VappName = "string",
Org = "string",
DnsSuffix = "string",
Dns1 = "string",
GuestVlanAllowed = false,
Name = "string",
Description = "string",
Dns2 = "string",
OrgNetworkName = "string",
PrefixLength = "string",
RebootVappOnRemoval = false,
RetainIpMacEnabled = false,
StaticIpPools = new[]
{
new Vcd.Inputs.VappNetworkStaticIpPoolArgs
{
EndAddress = "string",
StartAddress = "string",
},
},
DhcpPools = new[]
{
new Vcd.Inputs.VappNetworkDhcpPoolArgs
{
StartAddress = "string",
DefaultLeaseTime = 0,
Enabled = false,
EndAddress = "string",
MaxLeaseTime = 0,
},
},
VappNetworkId = "string",
Vdc = "string",
});
example, err := vcd.NewVappNetwork(ctx, "vappNetworkResource", &vcd.VappNetworkArgs{
Gateway: pulumi.String("string"),
VappName: pulumi.String("string"),
Org: pulumi.String("string"),
DnsSuffix: pulumi.String("string"),
Dns1: pulumi.String("string"),
GuestVlanAllowed: pulumi.Bool(false),
Name: pulumi.String("string"),
Description: pulumi.String("string"),
Dns2: pulumi.String("string"),
OrgNetworkName: pulumi.String("string"),
PrefixLength: pulumi.String("string"),
RebootVappOnRemoval: pulumi.Bool(false),
RetainIpMacEnabled: pulumi.Bool(false),
StaticIpPools: vcd.VappNetworkStaticIpPoolArray{
&vcd.VappNetworkStaticIpPoolArgs{
EndAddress: pulumi.String("string"),
StartAddress: pulumi.String("string"),
},
},
DhcpPools: vcd.VappNetworkDhcpPoolArray{
&vcd.VappNetworkDhcpPoolArgs{
StartAddress: pulumi.String("string"),
DefaultLeaseTime: pulumi.Float64(0),
Enabled: pulumi.Bool(false),
EndAddress: pulumi.String("string"),
MaxLeaseTime: pulumi.Float64(0),
},
},
VappNetworkId: pulumi.String("string"),
Vdc: pulumi.String("string"),
})
var vappNetworkResource = new VappNetwork("vappNetworkResource", VappNetworkArgs.builder()
.gateway("string")
.vappName("string")
.org("string")
.dnsSuffix("string")
.dns1("string")
.guestVlanAllowed(false)
.name("string")
.description("string")
.dns2("string")
.orgNetworkName("string")
.prefixLength("string")
.rebootVappOnRemoval(false)
.retainIpMacEnabled(false)
.staticIpPools(VappNetworkStaticIpPoolArgs.builder()
.endAddress("string")
.startAddress("string")
.build())
.dhcpPools(VappNetworkDhcpPoolArgs.builder()
.startAddress("string")
.defaultLeaseTime(0)
.enabled(false)
.endAddress("string")
.maxLeaseTime(0)
.build())
.vappNetworkId("string")
.vdc("string")
.build());
vapp_network_resource = vcd.VappNetwork("vappNetworkResource",
gateway="string",
vapp_name="string",
org="string",
dns_suffix="string",
dns1="string",
guest_vlan_allowed=False,
name="string",
description="string",
dns2="string",
org_network_name="string",
prefix_length="string",
reboot_vapp_on_removal=False,
retain_ip_mac_enabled=False,
static_ip_pools=[{
"end_address": "string",
"start_address": "string",
}],
dhcp_pools=[{
"start_address": "string",
"default_lease_time": 0,
"enabled": False,
"end_address": "string",
"max_lease_time": 0,
}],
vapp_network_id="string",
vdc="string")
const vappNetworkResource = new vcd.VappNetwork("vappNetworkResource", {
gateway: "string",
vappName: "string",
org: "string",
dnsSuffix: "string",
dns1: "string",
guestVlanAllowed: false,
name: "string",
description: "string",
dns2: "string",
orgNetworkName: "string",
prefixLength: "string",
rebootVappOnRemoval: false,
retainIpMacEnabled: false,
staticIpPools: [{
endAddress: "string",
startAddress: "string",
}],
dhcpPools: [{
startAddress: "string",
defaultLeaseTime: 0,
enabled: false,
endAddress: "string",
maxLeaseTime: 0,
}],
vappNetworkId: "string",
vdc: "string",
});
type: vcd:VappNetwork
properties:
description: string
dhcpPools:
- defaultLeaseTime: 0
enabled: false
endAddress: string
maxLeaseTime: 0
startAddress: string
dns1: string
dns2: string
dnsSuffix: string
gateway: string
guestVlanAllowed: false
name: string
org: string
orgNetworkName: string
prefixLength: string
rebootVappOnRemoval: false
retainIpMacEnabled: false
staticIpPools:
- endAddress: string
startAddress: string
vappName: string
vappNetworkId: string
vdc: string
VappNetwork 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 VappNetwork resource accepts the following input properties:
- Gateway string
- Gateway of the network
- Vapp
Name string - The vApp this network belongs to.
- Description string
- Description of vApp network
- Dhcp
Pools List<VappNetwork Dhcp Pool> - A range of IPs to issue to virtual machines that don't have a static IP; see IP Pools below for details.
- Dns1 string
- First DNS server to use.
- Dns2 string
- Second DNS server to use.
- Dns
Suffix string - A FQDN for the virtual machines on this network.
- Guest
Vlan boolAllowed - True if Network allows guest VLAN tagging.
- Name string
- A unique name for the network.
- Netmask string
- Netmask address for a subnet.
- Org string
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations.
- Org
Network stringName - An Org network name to which vApp network is connected. If not configured, then an isolated network is created.
- Prefix
Length string - The subnet prefix length for the network.
- Reboot
Vapp boolOn Removal VCD 10.4.1+ API prohibits removal of vApp network from a powered on vApp. Set to
true
to power off the vApp during vApp network removal. If the vApp's original state was powered on, it will be powered back on after removing the network. (defaultfalse
) Note. It only affects delete operation for the resource and will never power cycle vApp during update operations. Changing this value will cause plan change, but update will be a no-op operation.- Retain
Ip boolMac Enabled - Specifies whether the network resources such as IP/MAC of router will be retained across deployments. Default is false.
- Static
Ip List<VappPools Network Static Ip Pool> - A range of IPs permitted to be used as static IPs for virtual machines; see IP Pools below for details.
- Vapp
Network stringId - Vdc string
- The name of VDC to use, optional if defined at provider level.
- Gateway string
- Gateway of the network
- Vapp
Name string - The vApp this network belongs to.
- Description string
- Description of vApp network
- Dhcp
Pools []VappNetwork Dhcp Pool Args - A range of IPs to issue to virtual machines that don't have a static IP; see IP Pools below for details.
- Dns1 string
- First DNS server to use.
- Dns2 string
- Second DNS server to use.
- Dns
Suffix string - A FQDN for the virtual machines on this network.
- Guest
Vlan boolAllowed - True if Network allows guest VLAN tagging.
- Name string
- A unique name for the network.
- Netmask string
- Netmask address for a subnet.
- Org string
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations.
- Org
Network stringName - An Org network name to which vApp network is connected. If not configured, then an isolated network is created.
- Prefix
Length string - The subnet prefix length for the network.
- Reboot
Vapp boolOn Removal VCD 10.4.1+ API prohibits removal of vApp network from a powered on vApp. Set to
true
to power off the vApp during vApp network removal. If the vApp's original state was powered on, it will be powered back on after removing the network. (defaultfalse
) Note. It only affects delete operation for the resource and will never power cycle vApp during update operations. Changing this value will cause plan change, but update will be a no-op operation.- Retain
Ip boolMac Enabled - Specifies whether the network resources such as IP/MAC of router will be retained across deployments. Default is false.
- Static
Ip []VappPools Network Static Ip Pool Args - A range of IPs permitted to be used as static IPs for virtual machines; see IP Pools below for details.
- Vapp
Network stringId - Vdc string
- The name of VDC to use, optional if defined at provider level.
- gateway String
- Gateway of the network
- vapp
Name String - The vApp this network belongs to.
- description String
- Description of vApp network
- dhcp
Pools List<VappNetwork Dhcp Pool> - A range of IPs to issue to virtual machines that don't have a static IP; see IP Pools below for details.
- dns1 String
- First DNS server to use.
- dns2 String
- Second DNS server to use.
- dns
Suffix String - A FQDN for the virtual machines on this network.
- guest
Vlan BooleanAllowed - True if Network allows guest VLAN tagging.
- name String
- A unique name for the network.
- netmask String
- Netmask address for a subnet.
- org String
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations.
- org
Network StringName - An Org network name to which vApp network is connected. If not configured, then an isolated network is created.
- prefix
Length String - The subnet prefix length for the network.
- reboot
Vapp BooleanOn Removal VCD 10.4.1+ API prohibits removal of vApp network from a powered on vApp. Set to
true
to power off the vApp during vApp network removal. If the vApp's original state was powered on, it will be powered back on after removing the network. (defaultfalse
) Note. It only affects delete operation for the resource and will never power cycle vApp during update operations. Changing this value will cause plan change, but update will be a no-op operation.- retain
Ip BooleanMac Enabled - Specifies whether the network resources such as IP/MAC of router will be retained across deployments. Default is false.
- static
Ip List<VappPools Network Static Ip Pool> - A range of IPs permitted to be used as static IPs for virtual machines; see IP Pools below for details.
- vapp
Network StringId - vdc String
- The name of VDC to use, optional if defined at provider level.
- gateway string
- Gateway of the network
- vapp
Name string - The vApp this network belongs to.
- description string
- Description of vApp network
- dhcp
Pools VappNetwork Dhcp Pool[] - A range of IPs to issue to virtual machines that don't have a static IP; see IP Pools below for details.
- dns1 string
- First DNS server to use.
- dns2 string
- Second DNS server to use.
- dns
Suffix string - A FQDN for the virtual machines on this network.
- guest
Vlan booleanAllowed - True if Network allows guest VLAN tagging.
- name string
- A unique name for the network.
- netmask string
- Netmask address for a subnet.
- org string
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations.
- org
Network stringName - An Org network name to which vApp network is connected. If not configured, then an isolated network is created.
- prefix
Length string - The subnet prefix length for the network.
- reboot
Vapp booleanOn Removal VCD 10.4.1+ API prohibits removal of vApp network from a powered on vApp. Set to
true
to power off the vApp during vApp network removal. If the vApp's original state was powered on, it will be powered back on after removing the network. (defaultfalse
) Note. It only affects delete operation for the resource and will never power cycle vApp during update operations. Changing this value will cause plan change, but update will be a no-op operation.- retain
Ip booleanMac Enabled - Specifies whether the network resources such as IP/MAC of router will be retained across deployments. Default is false.
- static
Ip VappPools Network Static Ip Pool[] - A range of IPs permitted to be used as static IPs for virtual machines; see IP Pools below for details.
- vapp
Network stringId - vdc string
- The name of VDC to use, optional if defined at provider level.
- gateway str
- Gateway of the network
- vapp_
name str - The vApp this network belongs to.
- description str
- Description of vApp network
- dhcp_
pools Sequence[VappNetwork Dhcp Pool Args] - A range of IPs to issue to virtual machines that don't have a static IP; see IP Pools below for details.
- dns1 str
- First DNS server to use.
- dns2 str
- Second DNS server to use.
- dns_
suffix str - A FQDN for the virtual machines on this network.
- guest_
vlan_ boolallowed - True if Network allows guest VLAN tagging.
- name str
- A unique name for the network.
- netmask str
- Netmask address for a subnet.
- org str
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations.
- org_
network_ strname - An Org network name to which vApp network is connected. If not configured, then an isolated network is created.
- prefix_
length str - The subnet prefix length for the network.
- reboot_
vapp_ boolon_ removal VCD 10.4.1+ API prohibits removal of vApp network from a powered on vApp. Set to
true
to power off the vApp during vApp network removal. If the vApp's original state was powered on, it will be powered back on after removing the network. (defaultfalse
) Note. It only affects delete operation for the resource and will never power cycle vApp during update operations. Changing this value will cause plan change, but update will be a no-op operation.- retain_
ip_ boolmac_ enabled - Specifies whether the network resources such as IP/MAC of router will be retained across deployments. Default is false.
- static_
ip_ Sequence[Vapppools Network Static Ip Pool Args] - A range of IPs permitted to be used as static IPs for virtual machines; see IP Pools below for details.
- vapp_
network_ strid - vdc str
- The name of VDC to use, optional if defined at provider level.
- gateway String
- Gateway of the network
- vapp
Name String - The vApp this network belongs to.
- description String
- Description of vApp network
- dhcp
Pools List<Property Map> - A range of IPs to issue to virtual machines that don't have a static IP; see IP Pools below for details.
- dns1 String
- First DNS server to use.
- dns2 String
- Second DNS server to use.
- dns
Suffix String - A FQDN for the virtual machines on this network.
- guest
Vlan BooleanAllowed - True if Network allows guest VLAN tagging.
- name String
- A unique name for the network.
- netmask String
- Netmask address for a subnet.
- org String
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations.
- org
Network StringName - An Org network name to which vApp network is connected. If not configured, then an isolated network is created.
- prefix
Length String - The subnet prefix length for the network.
- reboot
Vapp BooleanOn Removal VCD 10.4.1+ API prohibits removal of vApp network from a powered on vApp. Set to
true
to power off the vApp during vApp network removal. If the vApp's original state was powered on, it will be powered back on after removing the network. (defaultfalse
) Note. It only affects delete operation for the resource and will never power cycle vApp during update operations. Changing this value will cause plan change, but update will be a no-op operation.- retain
Ip BooleanMac Enabled - Specifies whether the network resources such as IP/MAC of router will be retained across deployments. Default is false.
- static
Ip List<Property Map>Pools - A range of IPs permitted to be used as static IPs for virtual machines; see IP Pools below for details.
- vapp
Network StringId - vdc String
- The name of VDC to use, optional if defined at provider level.
Outputs
All input properties are implicitly available as output properties. Additionally, the VappNetwork 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 VappNetwork Resource
Get an existing VappNetwork 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?: VappNetworkState, opts?: CustomResourceOptions): VappNetwork
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
dhcp_pools: Optional[Sequence[VappNetworkDhcpPoolArgs]] = None,
dns1: Optional[str] = None,
dns2: Optional[str] = None,
dns_suffix: Optional[str] = None,
gateway: Optional[str] = None,
guest_vlan_allowed: Optional[bool] = None,
name: Optional[str] = None,
netmask: Optional[str] = None,
org: Optional[str] = None,
org_network_name: Optional[str] = None,
prefix_length: Optional[str] = None,
reboot_vapp_on_removal: Optional[bool] = None,
retain_ip_mac_enabled: Optional[bool] = None,
static_ip_pools: Optional[Sequence[VappNetworkStaticIpPoolArgs]] = None,
vapp_name: Optional[str] = None,
vapp_network_id: Optional[str] = None,
vdc: Optional[str] = None) -> VappNetwork
func GetVappNetwork(ctx *Context, name string, id IDInput, state *VappNetworkState, opts ...ResourceOption) (*VappNetwork, error)
public static VappNetwork Get(string name, Input<string> id, VappNetworkState? state, CustomResourceOptions? opts = null)
public static VappNetwork get(String name, Output<String> id, VappNetworkState state, CustomResourceOptions options)
resources: _: type: vcd:VappNetwork get: id: ${id}
- 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.
- Description string
- Description of vApp network
- Dhcp
Pools List<VappNetwork Dhcp Pool> - A range of IPs to issue to virtual machines that don't have a static IP; see IP Pools below for details.
- Dns1 string
- First DNS server to use.
- Dns2 string
- Second DNS server to use.
- Dns
Suffix string - A FQDN for the virtual machines on this network.
- Gateway string
- Gateway of the network
- Guest
Vlan boolAllowed - True if Network allows guest VLAN tagging.
- Name string
- A unique name for the network.
- Netmask string
- Netmask address for a subnet.
- Org string
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations.
- Org
Network stringName - An Org network name to which vApp network is connected. If not configured, then an isolated network is created.
- Prefix
Length string - The subnet prefix length for the network.
- Reboot
Vapp boolOn Removal VCD 10.4.1+ API prohibits removal of vApp network from a powered on vApp. Set to
true
to power off the vApp during vApp network removal. If the vApp's original state was powered on, it will be powered back on after removing the network. (defaultfalse
) Note. It only affects delete operation for the resource and will never power cycle vApp during update operations. Changing this value will cause plan change, but update will be a no-op operation.- Retain
Ip boolMac Enabled - Specifies whether the network resources such as IP/MAC of router will be retained across deployments. Default is false.
- Static
Ip List<VappPools Network Static Ip Pool> - A range of IPs permitted to be used as static IPs for virtual machines; see IP Pools below for details.
- Vapp
Name string - The vApp this network belongs to.
- Vapp
Network stringId - Vdc string
- The name of VDC to use, optional if defined at provider level.
- Description string
- Description of vApp network
- Dhcp
Pools []VappNetwork Dhcp Pool Args - A range of IPs to issue to virtual machines that don't have a static IP; see IP Pools below for details.
- Dns1 string
- First DNS server to use.
- Dns2 string
- Second DNS server to use.
- Dns
Suffix string - A FQDN for the virtual machines on this network.
- Gateway string
- Gateway of the network
- Guest
Vlan boolAllowed - True if Network allows guest VLAN tagging.
- Name string
- A unique name for the network.
- Netmask string
- Netmask address for a subnet.
- Org string
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations.
- Org
Network stringName - An Org network name to which vApp network is connected. If not configured, then an isolated network is created.
- Prefix
Length string - The subnet prefix length for the network.
- Reboot
Vapp boolOn Removal VCD 10.4.1+ API prohibits removal of vApp network from a powered on vApp. Set to
true
to power off the vApp during vApp network removal. If the vApp's original state was powered on, it will be powered back on after removing the network. (defaultfalse
) Note. It only affects delete operation for the resource and will never power cycle vApp during update operations. Changing this value will cause plan change, but update will be a no-op operation.- Retain
Ip boolMac Enabled - Specifies whether the network resources such as IP/MAC of router will be retained across deployments. Default is false.
- Static
Ip []VappPools Network Static Ip Pool Args - A range of IPs permitted to be used as static IPs for virtual machines; see IP Pools below for details.
- Vapp
Name string - The vApp this network belongs to.
- Vapp
Network stringId - Vdc string
- The name of VDC to use, optional if defined at provider level.
- description String
- Description of vApp network
- dhcp
Pools List<VappNetwork Dhcp Pool> - A range of IPs to issue to virtual machines that don't have a static IP; see IP Pools below for details.
- dns1 String
- First DNS server to use.
- dns2 String
- Second DNS server to use.
- dns
Suffix String - A FQDN for the virtual machines on this network.
- gateway String
- Gateway of the network
- guest
Vlan BooleanAllowed - True if Network allows guest VLAN tagging.
- name String
- A unique name for the network.
- netmask String
- Netmask address for a subnet.
- org String
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations.
- org
Network StringName - An Org network name to which vApp network is connected. If not configured, then an isolated network is created.
- prefix
Length String - The subnet prefix length for the network.
- reboot
Vapp BooleanOn Removal VCD 10.4.1+ API prohibits removal of vApp network from a powered on vApp. Set to
true
to power off the vApp during vApp network removal. If the vApp's original state was powered on, it will be powered back on after removing the network. (defaultfalse
) Note. It only affects delete operation for the resource and will never power cycle vApp during update operations. Changing this value will cause plan change, but update will be a no-op operation.- retain
Ip BooleanMac Enabled - Specifies whether the network resources such as IP/MAC of router will be retained across deployments. Default is false.
- static
Ip List<VappPools Network Static Ip Pool> - A range of IPs permitted to be used as static IPs for virtual machines; see IP Pools below for details.
- vapp
Name String - The vApp this network belongs to.
- vapp
Network StringId - vdc String
- The name of VDC to use, optional if defined at provider level.
- description string
- Description of vApp network
- dhcp
Pools VappNetwork Dhcp Pool[] - A range of IPs to issue to virtual machines that don't have a static IP; see IP Pools below for details.
- dns1 string
- First DNS server to use.
- dns2 string
- Second DNS server to use.
- dns
Suffix string - A FQDN for the virtual machines on this network.
- gateway string
- Gateway of the network
- guest
Vlan booleanAllowed - True if Network allows guest VLAN tagging.
- name string
- A unique name for the network.
- netmask string
- Netmask address for a subnet.
- org string
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations.
- org
Network stringName - An Org network name to which vApp network is connected. If not configured, then an isolated network is created.
- prefix
Length string - The subnet prefix length for the network.
- reboot
Vapp booleanOn Removal VCD 10.4.1+ API prohibits removal of vApp network from a powered on vApp. Set to
true
to power off the vApp during vApp network removal. If the vApp's original state was powered on, it will be powered back on after removing the network. (defaultfalse
) Note. It only affects delete operation for the resource and will never power cycle vApp during update operations. Changing this value will cause plan change, but update will be a no-op operation.- retain
Ip booleanMac Enabled - Specifies whether the network resources such as IP/MAC of router will be retained across deployments. Default is false.
- static
Ip VappPools Network Static Ip Pool[] - A range of IPs permitted to be used as static IPs for virtual machines; see IP Pools below for details.
- vapp
Name string - The vApp this network belongs to.
- vapp
Network stringId - vdc string
- The name of VDC to use, optional if defined at provider level.
- description str
- Description of vApp network
- dhcp_
pools Sequence[VappNetwork Dhcp Pool Args] - A range of IPs to issue to virtual machines that don't have a static IP; see IP Pools below for details.
- dns1 str
- First DNS server to use.
- dns2 str
- Second DNS server to use.
- dns_
suffix str - A FQDN for the virtual machines on this network.
- gateway str
- Gateway of the network
- guest_
vlan_ boolallowed - True if Network allows guest VLAN tagging.
- name str
- A unique name for the network.
- netmask str
- Netmask address for a subnet.
- org str
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations.
- org_
network_ strname - An Org network name to which vApp network is connected. If not configured, then an isolated network is created.
- prefix_
length str - The subnet prefix length for the network.
- reboot_
vapp_ boolon_ removal VCD 10.4.1+ API prohibits removal of vApp network from a powered on vApp. Set to
true
to power off the vApp during vApp network removal. If the vApp's original state was powered on, it will be powered back on after removing the network. (defaultfalse
) Note. It only affects delete operation for the resource and will never power cycle vApp during update operations. Changing this value will cause plan change, but update will be a no-op operation.- retain_
ip_ boolmac_ enabled - Specifies whether the network resources such as IP/MAC of router will be retained across deployments. Default is false.
- static_
ip_ Sequence[Vapppools Network Static Ip Pool Args] - A range of IPs permitted to be used as static IPs for virtual machines; see IP Pools below for details.
- vapp_
name str - The vApp this network belongs to.
- vapp_
network_ strid - vdc str
- The name of VDC to use, optional if defined at provider level.
- description String
- Description of vApp network
- dhcp
Pools List<Property Map> - A range of IPs to issue to virtual machines that don't have a static IP; see IP Pools below for details.
- dns1 String
- First DNS server to use.
- dns2 String
- Second DNS server to use.
- dns
Suffix String - A FQDN for the virtual machines on this network.
- gateway String
- Gateway of the network
- guest
Vlan BooleanAllowed - True if Network allows guest VLAN tagging.
- name String
- A unique name for the network.
- netmask String
- Netmask address for a subnet.
- org String
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations.
- org
Network StringName - An Org network name to which vApp network is connected. If not configured, then an isolated network is created.
- prefix
Length String - The subnet prefix length for the network.
- reboot
Vapp BooleanOn Removal VCD 10.4.1+ API prohibits removal of vApp network from a powered on vApp. Set to
true
to power off the vApp during vApp network removal. If the vApp's original state was powered on, it will be powered back on after removing the network. (defaultfalse
) Note. It only affects delete operation for the resource and will never power cycle vApp during update operations. Changing this value will cause plan change, but update will be a no-op operation.- retain
Ip BooleanMac Enabled - Specifies whether the network resources such as IP/MAC of router will be retained across deployments. Default is false.
- static
Ip List<Property Map>Pools - A range of IPs permitted to be used as static IPs for virtual machines; see IP Pools below for details.
- vapp
Name String - The vApp this network belongs to.
- vapp
Network StringId - vdc String
- The name of VDC to use, optional if defined at provider level.
Supporting Types
VappNetworkDhcpPool, VappNetworkDhcpPoolArgs
- Start
Address string - Default
Lease doubleTime - Enabled bool
- End
Address string - Max
Lease doubleTime
- Start
Address string - Default
Lease float64Time - Enabled bool
- End
Address string - Max
Lease float64Time
- start
Address String - default
Lease DoubleTime - enabled Boolean
- end
Address String - max
Lease DoubleTime
- start
Address string - default
Lease numberTime - enabled boolean
- end
Address string - max
Lease numberTime
- start_
address str - default_
lease_ floattime - enabled bool
- end_
address str - max_
lease_ floattime
- start
Address String - default
Lease NumberTime - enabled Boolean
- end
Address String - max
Lease NumberTime
VappNetworkStaticIpPool, VappNetworkStaticIpPoolArgs
- End
Address string - Start
Address string
- End
Address string - Start
Address string
- end
Address String - start
Address String
- end
Address string - start
Address string
- end_
address str - start_
address str
- end
Address String - start
Address String
Package Details
- Repository
- vcd vmware/terraform-provider-vcd
- License
- Notes
- This Pulumi package is based on the
vcd
Terraform Provider.