ArmScVmmModelFactory.ScVmmNetworkInterface Method
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.
Initializes a new instance of ScVmmNetworkInterface.
public static Azure.ResourceManager.ScVmm.Models.ScVmmNetworkInterface ScVmmNetworkInterface (string name = default, string displayName = default, System.Collections.Generic.IEnumerable<string> ipv4Addresses = default, System.Collections.Generic.IEnumerable<string> ipv6Addresses = default, string macAddress = default, Azure.Core.ResourceIdentifier virtualNetworkId = default, string networkName = default, Azure.ResourceManager.ScVmm.Models.AllocationMethod? ipv4AddressType = default, Azure.ResourceManager.ScVmm.Models.AllocationMethod? ipv6AddressType = default, Azure.ResourceManager.ScVmm.Models.AllocationMethod? macAddressType = default, string nicId = default);
static member ScVmmNetworkInterface : string * string * seq<string> * seq<string> * string * Azure.Core.ResourceIdentifier * string * Nullable<Azure.ResourceManager.ScVmm.Models.AllocationMethod> * Nullable<Azure.ResourceManager.ScVmm.Models.AllocationMethod> * Nullable<Azure.ResourceManager.ScVmm.Models.AllocationMethod> * string -> Azure.ResourceManager.ScVmm.Models.ScVmmNetworkInterface
Public Shared Function ScVmmNetworkInterface (Optional name As String = Nothing, Optional displayName As String = Nothing, Optional ipv4Addresses As IEnumerable(Of String) = Nothing, Optional ipv6Addresses As IEnumerable(Of String) = Nothing, Optional macAddress As String = Nothing, Optional virtualNetworkId As ResourceIdentifier = Nothing, Optional networkName As String = Nothing, Optional ipv4AddressType As Nullable(Of AllocationMethod) = Nothing, Optional ipv6AddressType As Nullable(Of AllocationMethod) = Nothing, Optional macAddressType As Nullable(Of AllocationMethod) = Nothing, Optional nicId As String = Nothing) As ScVmmNetworkInterface
Parameters
- name
- String
Gets or sets the name of the network interface.
- displayName
- String
Gets the display name of the network interface as shown in the vmmServer. This is the fallback label for a NIC when the name is not set.
- ipv4Addresses
- IEnumerable<String>
Gets the nic ipv4 addresses.
- ipv6Addresses
- IEnumerable<String>
Gets the nic ipv6 addresses.
- macAddress
- String
Gets or sets the nic MAC address.
- virtualNetworkId
- ResourceIdentifier
Gets or sets the ARM Id of the Microsoft.ScVmm/virtualNetwork resource to connect the nic.
- networkName
- String
Gets the name of the virtual network in vmmServer that the nic is connected to.
- ipv4AddressType
- Nullable<AllocationMethod>
Gets or sets the ipv4 address type.
- ipv6AddressType
- Nullable<AllocationMethod>
Gets or sets the ipv6 address type.
- macAddressType
- Nullable<AllocationMethod>
Gets or sets the mac address type.
- nicId
- String
Gets or sets the nic id.
Returns
A new ScVmmNetworkInterface instance for mocking.
Applies to
Azure SDK for .NET