VirtualMachine.DefinitionStages.WithNetwork Interface
public interface WithNetwork extends VirtualMachine.DefinitionStages.WithPrimaryNetworkInterface
The stage of a virtual machine definition allowing to specify a virtual network with the new primary network interface.
Method Summary
Modifier and Type | Method and Description |
---|---|
Virtual |
withExistingPrimaryNetwork(Network network)
Associates an existing virtual network with the virtual machine's primary network interface. |
Virtual |
withNewPrimaryNetwork(Creatable<Network> creatable)
Creates a new virtual network to associate with the virtual machine's primary network interface, based on the provided definition. |
Virtual |
withNewPrimaryNetwork(String addressSpace)
Creates a new virtual network to associate with the virtual machine's primary network interface. The virtual network will be created in the same resource group and region as of virtual machine, it will be created with the specified address space and a default subnet covering the entirety of the network IP address space. |
Inherited Members
Method Details
withExistingPrimaryNetwork
public WithSubnet withExistingPrimaryNetwork(Network network)
Associates an existing virtual network with the virtual machine's primary network interface.
Parameters:
Returns:
withNewPrimaryNetwork
public WithPrivateIP withNewPrimaryNetwork(Creatable
Creates a new virtual network to associate with the virtual machine's primary network interface, based on the provided definition.
Parameters:
Returns:
withNewPrimaryNetwork
public WithPrivateIP withNewPrimaryNetwork(String addressSpace)
Creates a new virtual network to associate with the virtual machine's primary network interface.
The virtual network will be created in the same resource group and region as of virtual machine, it will be created with the specified address space and a default subnet covering the entirety of the network IP address space.
Parameters:
Returns:
Applies to
Azure SDK for Java
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示