Click or drag to resize
ServerCreateVirtualInterface Method
Creates a virtual interface for the specified network and attaches the network to the server.

Namespace: net.openstack.Core.Domain
Assembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax
public VirtualInterface CreateVirtualInterface(
	string networkId
)

Parameters

networkId
Type: SystemString
The network ID. This is obtained from CloudNetwork.Id.

Return Value

Type: VirtualInterface
A VirtualInterface object containing the details of the newly-created virtual network.
Exceptions
ExceptionCondition
ArgumentNullExceptionIf networkId is .
ArgumentExceptionIf networkId is empty.
ResponseExceptionIf the REST API request failed.
Version Information

.NET Framework

Supported in: 4.5

openstack.net

Supported in: 1.6, 1.5, 1.4, 1.3.6
See Also