1. Packages
  2. Vcd Provider
  3. API Docs
  4. VappNetwork
vcd 3.14.1 published on Monday, Apr 14, 2025 by vmware

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 This property is required. string
The unique name of the resource.
args This property is required. VappNetworkArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. VappNetworkArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. VappNetworkArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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",
});
Copy
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: .VappNetworkStaticIpPoolArray{
&.VappNetworkStaticIpPoolArgs{
EndAddress: pulumi.String("string"),
StartAddress: pulumi.String("string"),
},
},
DhcpPools: .VappNetworkDhcpPoolArray{
&.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"),
})
Copy
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());
Copy
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")
Copy
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",
});
Copy
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
Copy

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 This property is required. string
Gateway of the network
VappName This property is required. string
The vApp this network belongs to.
Description string
Description of vApp network
DhcpPools List<VappNetworkDhcpPool>
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.
DnsSuffix string
A FQDN for the virtual machines on this network.
GuestVlanAllowed bool
True if Network allows guest VLAN tagging.
Name string
A unique name for the network.
Netmask string
Netmask address for a subnet.

Deprecated: Deprecated

Org string
The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations.
OrgNetworkName string
An Org network name to which vApp network is connected. If not configured, then an isolated network is created.
PrefixLength string
The subnet prefix length for the network.
RebootVappOnRemoval bool

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. (default false) 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.

RetainIpMacEnabled bool
Specifies whether the network resources such as IP/MAC of router will be retained across deployments. Default is false.
StaticIpPools List<VappNetworkStaticIpPool>
A range of IPs permitted to be used as static IPs for virtual machines; see IP Pools below for details.
VappNetworkId string
Vdc string
The name of VDC to use, optional if defined at provider level.
Gateway This property is required. string
Gateway of the network
VappName This property is required. string
The vApp this network belongs to.
Description string
Description of vApp network
DhcpPools []VappNetworkDhcpPoolArgs
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.
DnsSuffix string
A FQDN for the virtual machines on this network.
GuestVlanAllowed bool
True if Network allows guest VLAN tagging.
Name string
A unique name for the network.
Netmask string
Netmask address for a subnet.

Deprecated: Deprecated

Org string
The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations.
OrgNetworkName string
An Org network name to which vApp network is connected. If not configured, then an isolated network is created.
PrefixLength string
The subnet prefix length for the network.
RebootVappOnRemoval bool

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. (default false) 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.

RetainIpMacEnabled bool
Specifies whether the network resources such as IP/MAC of router will be retained across deployments. Default is false.
StaticIpPools []VappNetworkStaticIpPoolArgs
A range of IPs permitted to be used as static IPs for virtual machines; see IP Pools below for details.
VappNetworkId string
Vdc string
The name of VDC to use, optional if defined at provider level.
gateway This property is required. String
Gateway of the network
vappName This property is required. String
The vApp this network belongs to.
description String
Description of vApp network
dhcpPools List<VappNetworkDhcpPool>
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.
dnsSuffix String
A FQDN for the virtual machines on this network.
guestVlanAllowed Boolean
True if Network allows guest VLAN tagging.
name String
A unique name for the network.
netmask String
Netmask address for a subnet.

Deprecated: Deprecated

org String
The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations.
orgNetworkName String
An Org network name to which vApp network is connected. If not configured, then an isolated network is created.
prefixLength String
The subnet prefix length for the network.
rebootVappOnRemoval Boolean

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. (default false) 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.

retainIpMacEnabled Boolean
Specifies whether the network resources such as IP/MAC of router will be retained across deployments. Default is false.
staticIpPools List<VappNetworkStaticIpPool>
A range of IPs permitted to be used as static IPs for virtual machines; see IP Pools below for details.
vappNetworkId String
vdc String
The name of VDC to use, optional if defined at provider level.
gateway This property is required. string
Gateway of the network
vappName This property is required. string
The vApp this network belongs to.
description string
Description of vApp network
dhcpPools VappNetworkDhcpPool[]
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.
dnsSuffix string
A FQDN for the virtual machines on this network.
guestVlanAllowed boolean
True if Network allows guest VLAN tagging.
name string
A unique name for the network.
netmask string
Netmask address for a subnet.

Deprecated: Deprecated

org string
The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations.
orgNetworkName string
An Org network name to which vApp network is connected. If not configured, then an isolated network is created.
prefixLength string
The subnet prefix length for the network.
rebootVappOnRemoval boolean

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. (default false) 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.

retainIpMacEnabled boolean
Specifies whether the network resources such as IP/MAC of router will be retained across deployments. Default is false.
staticIpPools VappNetworkStaticIpPool[]
A range of IPs permitted to be used as static IPs for virtual machines; see IP Pools below for details.
vappNetworkId string
vdc string
The name of VDC to use, optional if defined at provider level.
gateway This property is required. str
Gateway of the network
vapp_name This property is required. str
The vApp this network belongs to.
description str
Description of vApp network
dhcp_pools Sequence[VappNetworkDhcpPoolArgs]
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_allowed bool
True if Network allows guest VLAN tagging.
name str
A unique name for the network.
netmask str
Netmask address for a subnet.

Deprecated: Deprecated

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_name str
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_on_removal bool

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. (default false) 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_mac_enabled bool
Specifies whether the network resources such as IP/MAC of router will be retained across deployments. Default is false.
static_ip_pools Sequence[VappNetworkStaticIpPoolArgs]
A range of IPs permitted to be used as static IPs for virtual machines; see IP Pools below for details.
vapp_network_id str
vdc str
The name of VDC to use, optional if defined at provider level.
gateway This property is required. String
Gateway of the network
vappName This property is required. String
The vApp this network belongs to.
description String
Description of vApp network
dhcpPools 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.
dnsSuffix String
A FQDN for the virtual machines on this network.
guestVlanAllowed Boolean
True if Network allows guest VLAN tagging.
name String
A unique name for the network.
netmask String
Netmask address for a subnet.

Deprecated: Deprecated

org String
The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations.
orgNetworkName String
An Org network name to which vApp network is connected. If not configured, then an isolated network is created.
prefixLength String
The subnet prefix length for the network.
rebootVappOnRemoval Boolean

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. (default false) 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.

retainIpMacEnabled Boolean
Specifies whether the network resources such as IP/MAC of router will be retained across deployments. Default is false.
staticIpPools List<Property Map>
A range of IPs permitted to be used as static IPs for virtual machines; see IP Pools below for details.
vappNetworkId String
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Description string
Description of vApp network
DhcpPools List<VappNetworkDhcpPool>
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.
DnsSuffix string
A FQDN for the virtual machines on this network.
Gateway string
Gateway of the network
GuestVlanAllowed bool
True if Network allows guest VLAN tagging.
Name string
A unique name for the network.
Netmask string
Netmask address for a subnet.

Deprecated: Deprecated

Org string
The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations.
OrgNetworkName string
An Org network name to which vApp network is connected. If not configured, then an isolated network is created.
PrefixLength string
The subnet prefix length for the network.
RebootVappOnRemoval bool

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. (default false) 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.

RetainIpMacEnabled bool
Specifies whether the network resources such as IP/MAC of router will be retained across deployments. Default is false.
StaticIpPools List<VappNetworkStaticIpPool>
A range of IPs permitted to be used as static IPs for virtual machines; see IP Pools below for details.
VappName string
The vApp this network belongs to.
VappNetworkId string
Vdc string
The name of VDC to use, optional if defined at provider level.
Description string
Description of vApp network
DhcpPools []VappNetworkDhcpPoolArgs
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.
DnsSuffix string
A FQDN for the virtual machines on this network.
Gateway string
Gateway of the network
GuestVlanAllowed bool
True if Network allows guest VLAN tagging.
Name string
A unique name for the network.
Netmask string
Netmask address for a subnet.

Deprecated: Deprecated

Org string
The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations.
OrgNetworkName string
An Org network name to which vApp network is connected. If not configured, then an isolated network is created.
PrefixLength string
The subnet prefix length for the network.
RebootVappOnRemoval bool

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. (default false) 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.

RetainIpMacEnabled bool
Specifies whether the network resources such as IP/MAC of router will be retained across deployments. Default is false.
StaticIpPools []VappNetworkStaticIpPoolArgs
A range of IPs permitted to be used as static IPs for virtual machines; see IP Pools below for details.
VappName string
The vApp this network belongs to.
VappNetworkId string
Vdc string
The name of VDC to use, optional if defined at provider level.
description String
Description of vApp network
dhcpPools List<VappNetworkDhcpPool>
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.
dnsSuffix String
A FQDN for the virtual machines on this network.
gateway String
Gateway of the network
guestVlanAllowed Boolean
True if Network allows guest VLAN tagging.
name String
A unique name for the network.
netmask String
Netmask address for a subnet.

Deprecated: Deprecated

org String
The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations.
orgNetworkName String
An Org network name to which vApp network is connected. If not configured, then an isolated network is created.
prefixLength String
The subnet prefix length for the network.
rebootVappOnRemoval Boolean

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. (default false) 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.

retainIpMacEnabled Boolean
Specifies whether the network resources such as IP/MAC of router will be retained across deployments. Default is false.
staticIpPools List<VappNetworkStaticIpPool>
A range of IPs permitted to be used as static IPs for virtual machines; see IP Pools below for details.
vappName String
The vApp this network belongs to.
vappNetworkId String
vdc String
The name of VDC to use, optional if defined at provider level.
description string
Description of vApp network
dhcpPools VappNetworkDhcpPool[]
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.
dnsSuffix string
A FQDN for the virtual machines on this network.
gateway string
Gateway of the network
guestVlanAllowed boolean
True if Network allows guest VLAN tagging.
name string
A unique name for the network.
netmask string
Netmask address for a subnet.

Deprecated: Deprecated

org string
The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations.
orgNetworkName string
An Org network name to which vApp network is connected. If not configured, then an isolated network is created.
prefixLength string
The subnet prefix length for the network.
rebootVappOnRemoval boolean

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. (default false) 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.

retainIpMacEnabled boolean
Specifies whether the network resources such as IP/MAC of router will be retained across deployments. Default is false.
staticIpPools VappNetworkStaticIpPool[]
A range of IPs permitted to be used as static IPs for virtual machines; see IP Pools below for details.
vappName string
The vApp this network belongs to.
vappNetworkId string
vdc string
The name of VDC to use, optional if defined at provider level.
description str
Description of vApp network
dhcp_pools Sequence[VappNetworkDhcpPoolArgs]
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_allowed bool
True if Network allows guest VLAN tagging.
name str
A unique name for the network.
netmask str
Netmask address for a subnet.

Deprecated: Deprecated

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_name str
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_on_removal bool

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. (default false) 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_mac_enabled bool
Specifies whether the network resources such as IP/MAC of router will be retained across deployments. Default is false.
static_ip_pools Sequence[VappNetworkStaticIpPoolArgs]
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_id str
vdc str
The name of VDC to use, optional if defined at provider level.
description String
Description of vApp network
dhcpPools 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.
dnsSuffix String
A FQDN for the virtual machines on this network.
gateway String
Gateway of the network
guestVlanAllowed Boolean
True if Network allows guest VLAN tagging.
name String
A unique name for the network.
netmask String
Netmask address for a subnet.

Deprecated: Deprecated

org String
The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations.
orgNetworkName String
An Org network name to which vApp network is connected. If not configured, then an isolated network is created.
prefixLength String
The subnet prefix length for the network.
rebootVappOnRemoval Boolean

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. (default false) 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.

retainIpMacEnabled Boolean
Specifies whether the network resources such as IP/MAC of router will be retained across deployments. Default is false.
staticIpPools List<Property Map>
A range of IPs permitted to be used as static IPs for virtual machines; see IP Pools below for details.
vappName String
The vApp this network belongs to.
vappNetworkId String
vdc String
The name of VDC to use, optional if defined at provider level.

Supporting Types

VappNetworkDhcpPool
, VappNetworkDhcpPoolArgs

StartAddress This property is required. string
DefaultLeaseTime double
Enabled bool
EndAddress string
MaxLeaseTime double
StartAddress This property is required. string
DefaultLeaseTime float64
Enabled bool
EndAddress string
MaxLeaseTime float64
startAddress This property is required. String
defaultLeaseTime Double
enabled Boolean
endAddress String
maxLeaseTime Double
startAddress This property is required. string
defaultLeaseTime number
enabled boolean
endAddress string
maxLeaseTime number
start_address This property is required. str
default_lease_time float
enabled bool
end_address str
max_lease_time float
startAddress This property is required. String
defaultLeaseTime Number
enabled Boolean
endAddress String
maxLeaseTime Number

VappNetworkStaticIpPool
, VappNetworkStaticIpPoolArgs

EndAddress This property is required. string
StartAddress This property is required. string
EndAddress This property is required. string
StartAddress This property is required. string
endAddress This property is required. String
startAddress This property is required. String
endAddress This property is required. string
startAddress This property is required. string
end_address This property is required. str
start_address This property is required. str
endAddress This property is required. String
startAddress This property is required. String

Package Details

Repository
vcd vmware/terraform-provider-vcd
License
Notes
This Pulumi package is based on the vcd Terraform Provider.