vcd 3.14.1 published on Monday, Apr 14, 2025 by vmware
vcd.getExternalNetwork
Explore with Pulumi AI
Provides a VMware Cloud Director external network data source. This can be used to reference external networks and their properties.
Supported in provider v2.5+
This resource is deprecated in favor of
vcd.ExternalNetworkV2
Using getExternalNetwork
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getExternalNetwork(args: GetExternalNetworkArgs, opts?: InvokeOptions): Promise<GetExternalNetworkResult>
function getExternalNetworkOutput(args: GetExternalNetworkOutputArgs, opts?: InvokeOptions): Output<GetExternalNetworkResult>
def get_external_network(id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetExternalNetworkResult
def get_external_network_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetExternalNetworkResult]
func LookupExternalNetwork(ctx *Context, args *LookupExternalNetworkArgs, opts ...InvokeOption) (*LookupExternalNetworkResult, error)
func LookupExternalNetworkOutput(ctx *Context, args *LookupExternalNetworkOutputArgs, opts ...InvokeOption) LookupExternalNetworkResultOutput
> Note: This function is named LookupExternalNetwork
in the Go SDK.
public static class GetExternalNetwork
{
public static Task<GetExternalNetworkResult> InvokeAsync(GetExternalNetworkArgs args, InvokeOptions? opts = null)
public static Output<GetExternalNetworkResult> Invoke(GetExternalNetworkInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetExternalNetworkResult> getExternalNetwork(GetExternalNetworkArgs args, InvokeOptions options)
public static Output<GetExternalNetworkResult> getExternalNetwork(GetExternalNetworkArgs args, InvokeOptions options)
fn::invoke:
function: vcd:index/getExternalNetwork:getExternalNetwork
arguments:
# arguments dictionary
The following arguments are supported:
getExternalNetwork Result
The following output properties are available:
- Description string
- Network friendly description
- Id string
- Ip
Scopes List<GetExternal Network Ip Scope> - A list of IP scopes for the network. See IP Scope for details.
- Name string
- Retain
Net boolInfo Across Deployments - Specifies whether the network resources such as IP/MAC of router will be retained across deployments.
- Vsphere
Networks List<GetExternal Network Vsphere Network> - A list of DV_PORTGROUP or NETWORK objects names that back this network. Each referenced DV_PORTGROUP or NETWORK must exist on a vCenter server registered with the system. See vSphere Network for details.
- Description string
- Network friendly description
- Id string
- Ip
Scopes []GetExternal Network Ip Scope - A list of IP scopes for the network. See IP Scope for details.
- Name string
- Retain
Net boolInfo Across Deployments - Specifies whether the network resources such as IP/MAC of router will be retained across deployments.
- Vsphere
Networks []GetExternal Network Vsphere Network - A list of DV_PORTGROUP or NETWORK objects names that back this network. Each referenced DV_PORTGROUP or NETWORK must exist on a vCenter server registered with the system. See vSphere Network for details.
- description String
- Network friendly description
- id String
- ip
Scopes List<GetExternal Network Ip Scope> - A list of IP scopes for the network. See IP Scope for details.
- name String
- retain
Net BooleanInfo Across Deployments - Specifies whether the network resources such as IP/MAC of router will be retained across deployments.
- vsphere
Networks List<GetExternal Network Vsphere Network> - A list of DV_PORTGROUP or NETWORK objects names that back this network. Each referenced DV_PORTGROUP or NETWORK must exist on a vCenter server registered with the system. See vSphere Network for details.
- description string
- Network friendly description
- id string
- ip
Scopes GetExternal Network Ip Scope[] - A list of IP scopes for the network. See IP Scope for details.
- name string
- retain
Net booleanInfo Across Deployments - Specifies whether the network resources such as IP/MAC of router will be retained across deployments.
- vsphere
Networks GetExternal Network Vsphere Network[] - A list of DV_PORTGROUP or NETWORK objects names that back this network. Each referenced DV_PORTGROUP or NETWORK must exist on a vCenter server registered with the system. See vSphere Network for details.
- description str
- Network friendly description
- id str
- ip_
scopes Sequence[GetExternal Network Ip Scope] - A list of IP scopes for the network. See IP Scope for details.
- name str
- retain_
net_ boolinfo_ across_ deployments - Specifies whether the network resources such as IP/MAC of router will be retained across deployments.
- vsphere_
networks Sequence[GetExternal Network Vsphere Network] - A list of DV_PORTGROUP or NETWORK objects names that back this network. Each referenced DV_PORTGROUP or NETWORK must exist on a vCenter server registered with the system. See vSphere Network for details.
- description String
- Network friendly description
- id String
- ip
Scopes List<Property Map> - A list of IP scopes for the network. See IP Scope for details.
- name String
- retain
Net BooleanInfo Across Deployments - Specifies whether the network resources such as IP/MAC of router will be retained across deployments.
- vsphere
Networks List<Property Map> - A list of DV_PORTGROUP or NETWORK objects names that back this network. Each referenced DV_PORTGROUP or NETWORK must exist on a vCenter server registered with the system. See vSphere Network for details.
Supporting Types
GetExternalNetworkIpScope
- Dns1 string
- Dns2 string
- Dns
Suffix string - Gateway string
- Netmask string
- Static
Ip List<GetPools External Network Ip Scope Static Ip Pool>
- Dns1 string
- Dns2 string
- Dns
Suffix string - Gateway string
- Netmask string
- Static
Ip []GetPools External Network Ip Scope Static Ip Pool
- dns1 String
- dns2 String
- dns
Suffix String - gateway String
- netmask String
- static
Ip List<GetPools External Network Ip Scope Static Ip Pool>
- dns1 string
- dns2 string
- dns
Suffix string - gateway string
- netmask string
- static
Ip GetPools External Network Ip Scope Static Ip Pool[]
- dns1 String
- dns2 String
- dns
Suffix String - gateway String
- netmask String
- static
Ip List<Property Map>Pools
GetExternalNetworkIpScopeStaticIpPool
- 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
GetExternalNetworkVsphereNetwork
Package Details
- Repository
- vcd vmware/terraform-provider-vcd
- License
- Notes
- This Pulumi package is based on the
vcd
Terraform Provider.