VirtualMachine.DefinitionStages.WithPrimaryNetworkInterface Interface
public interface WithPrimaryNetworkInterface
The stage of a virtual machine definition allowing to specify the primary network interface.
Method Summary
Modifier and Type | Method and Description |
---|---|
Virtual |
withExistingPrimaryNetworkInterface(NetworkInterface networkInterface)
Associates an existing network interface with the virtual machine as its primary network interface. |
Virtual |
withNewPrimaryNetworkInterface(Creatable<NetworkInterface> creatable)
Creates a new network interface to associate with the virtual machine as its primary network interface, based on the provided definition. |
Method Details
withExistingPrimaryNetworkInterface
public WithOS withExistingPrimaryNetworkInterface(NetworkInterface networkInterface)
Associates an existing network interface with the virtual machine as its primary network interface.
Parameters:
Returns:
withNewPrimaryNetworkInterface
public WithOS withNewPrimaryNetworkInterface(Creatable
Creates a new network interface to associate with the virtual machine as its primary network interface, based on the provided definition.
Parameters:
Returns:
Applies to
Azure SDK for Java
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示