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