IWithPrimaryNetwork Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The stage of the network interface definition allowing to specify the virtual network for primary IP configuration.
public interface IWithPrimaryNetwork
type IWithPrimaryNetwork = interface
Public Interface IWithPrimaryNetwork
- Derived
Methods
WithExistingPrimaryNetwork(INetwork) |
Associate an existing virtual network with the network interface's primary IP configuration. |
WithNewPrimaryNetwork(ICreatable<INetwork>) |
Create a new virtual network to associate with the network interface's primary IP configuration, based on the provided definition. |
WithNewPrimaryNetwork(String) |
Creates a new virtual network to associate with the network interface's primary IP configuration. The virtual network will be created in the same resource group and region as of network interface, it will be created with the specified address space and a default subnet covering the entirety of the network IP address space. |
WithNewPrimaryNetwork(String, String) |
Creates a new virtual network to associate with the network interface's primary IP configuration. The virtual network will be created in the same resource group and region as of network interface, it will be created with the specified address space and a default subnet covering the entirety of the network IP address space. |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應