VirtualNetworks interface

Interface representing a VirtualNetworks.

Methods

get(string, string, string, VirtualNetworksGetOptionalParams)

Return virtual network by its name

list(string, string, string, VirtualNetworksListOptionalParams)

Return list of virtual networks in location for private cloud

Method Details

get(string, string, string, VirtualNetworksGetOptionalParams)

Return virtual network by its name

function get(regionId: string, pcName: string, virtualNetworkName: string, options?: VirtualNetworksGetOptionalParams): Promise<VirtualNetwork>

Parameters

regionId

string

The region Id (westus, eastus)

pcName

string

The private cloud name

virtualNetworkName

string

virtual network id (vsphereId)

options
VirtualNetworksGetOptionalParams

The options parameters.

Returns

Promise<VirtualNetwork>

list(string, string, string, VirtualNetworksListOptionalParams)

Return list of virtual networks in location for private cloud

function list(regionId: string, pcName: string, resourcePoolName: string, options?: VirtualNetworksListOptionalParams): PagedAsyncIterableIterator<VirtualNetwork, VirtualNetwork[], PageSettings>

Parameters

regionId

string

The region Id (westus, eastus)

pcName

string

The private cloud name

resourcePoolName

string

Resource pool used to derive vSphere cluster which contains virtual networks

options
VirtualNetworksListOptionalParams

The options parameters.

Returns