NetworkProfile Constructors
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.
Overloads
NetworkProfile() |
Initializes a new instance of the NetworkProfile class. |
NetworkProfile(IList<NetworkInterfaceReference>, String, IList<VirtualMachineNetworkInterfaceConfiguration>) |
Initializes a new instance of the NetworkProfile class. |
NetworkProfile()
Initializes a new instance of the NetworkProfile class.
public NetworkProfile ();
Public Sub New ()
Applies to
NetworkProfile(IList<NetworkInterfaceReference>, String, IList<VirtualMachineNetworkInterfaceConfiguration>)
Initializes a new instance of the NetworkProfile class.
public NetworkProfile (System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.NetworkInterfaceReference> networkInterfaces = default, string networkApiVersion = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.VirtualMachineNetworkInterfaceConfiguration> networkInterfaceConfigurations = default);
new Microsoft.Azure.Management.Compute.Models.NetworkProfile : System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.NetworkInterfaceReference> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.VirtualMachineNetworkInterfaceConfiguration> -> Microsoft.Azure.Management.Compute.Models.NetworkProfile
Public Sub New (Optional networkInterfaces As IList(Of NetworkInterfaceReference) = Nothing, Optional networkApiVersion As String = Nothing, Optional networkInterfaceConfigurations As IList(Of VirtualMachineNetworkInterfaceConfiguration) = Nothing)
Parameters
- networkInterfaces
- IList<NetworkInterfaceReference>
Specifies the list of resource Ids for the network interfaces associated with the virtual machine.
- networkApiVersion
- String
specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations. Possible values include: '2020-11-01'
- networkInterfaceConfigurations
- IList<VirtualMachineNetworkInterfaceConfiguration>
Specifies the networking configurations that will be used to create the virtual machine networking resources.
Applies to
Azure SDK for .NET