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 |
---|---|
Virtual |
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java