Get-CIVAppNetwork

This cmdlet retrieves the vApp networks available on a vCloud Director server.

Syntax

[-ConnectionType  <CIVAppNetworkConnectionType[]>]
[-Name  <String[]>]
[-Server  <CIServer[]>]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
optional
ConnectionType
CIVAppNetworkConnectionType[] named Specifies the type of connectivity between the vApp networks you want to retrieve and their parent organization networks. This parameter accepts Direct, Fenced, Routed, and Isolated values.
optional
Name
String[] named Specifies the names of the vApp networks you want to retrieve.
optional
Server
CIServer[] named Specifies the cloud servers on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-CIServer.

-Id  <String[]>
[-Server  <CIServer[]>]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
Id
String[] named Specifies the IDs of the vApp networks that you want to retrieve. Note: When a list of values is specified for the Id parameter, the returned objects would have an ID that matches exactly one of the string values in that list.
optional
Server
CIServer[] named Specifies the cloud servers on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-CIServer.

-ParentOrgVdcNetwork  <OrgNetworkBase[]>
[-ConnectionType  <CIVAppNetworkConnectionType[]>]
[-Name  <String[]>]
[-Server  <CIServer[]>]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
ParentOrgVdcNetwork
OrgNetworkBase[] named
  • pipeline
  • Specifies the parent organization vDC networks of the vApp networks you want to retrieve.
    optional
    ConnectionType
    CIVAppNetworkConnectionType[] named Specifies the type of connectivity between the vApp networks you want to retrieve and their parent organization networks. This parameter accepts Direct, Fenced, Routed, and Isolated values.
    optional
    Name
    String[] named Specifies the names of the vApp networks you want to retrieve.
    optional
    Server
    CIServer[] named Specifies the cloud servers on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-CIServer.

    -VApp  <CIVApp[]>
    [-ConnectionType  <CIVAppNetworkConnectionType[]>]
    [-Name  <String[]>]
    [-Server  <CIServer[]>]
    [CommonParameters]

    Parameters

    Required Parameter Name Type Position Features Description
    required
    VApp
    CIVApp[] named
  • pipeline
  • Specifies the vApps for which you want to retrieve vApp networks.
    optional
    ConnectionType
    CIVAppNetworkConnectionType[] named Specifies the type of connectivity between the vApp networks you want to retrieve and their parent organization networks. This parameter accepts Direct, Fenced, Routed, and Isolated values.
    optional
    Name
    String[] named Specifies the names of the vApp networks you want to retrieve.
    optional
    Server
    CIServer[] named Specifies the cloud servers on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-CIServer.

    Output

    VMware.VimAutomation.Cloud.Types.V1.CIVAppNetwork

    Examples


    Example 1

    Get-CIVAppNetwork -ConnectionType Direct

    Retrieves all vApp networks that are directly connected to a parent organization network and are available to the user.

    Example 2

    $myVApp = Get-CIVApp -Name 'MyVApp'
    Get-CIVAppNetwork -VApp $myVApp

    Retrieves all vApp networks for the specified vApp.

    Example 3

    $parentOrgNetwork = Get-OrgNetwork -Name 'MyOrgNetwork'
    Get-CIVAppNetwork -ParentOrgNetwork 'MyOrgNetwork'

    Retrieves all vApp networks that are connected to the specified parent organization network.

    Related Commands

    Feedback

    Was this page helpful?