Compartir vía


VirtualMachine.DefinitionStages.WithSubnet Interface

public interface WithSubnet

The stage of a virtual machine definition allowing to specify the virtual network subnet for a new primary network interface.

Method Summary

Modifier and Type Method and Description
VirtualMachine.DefinitionStages.WithPrivateIP withSubnet(String name)

Associates a subnet with the virtual machine's primary network interface.

Method Details

withSubnet

public WithPrivateIP withSubnet(String name)

Associates a subnet with the virtual machine's primary network interface.

Parameters:

name - the subnet name

Returns:

the next stage of the definition

Applies to