次の方法で共有


ArmConnectedVMwarevSphereModelFactory.VMwareNetworkInterface Method

Definition

Initializes a new instance of VMwareNetworkInterface.

public static Azure.ResourceManager.ConnectedVMwarevSphere.Models.VMwareNetworkInterface VMwareNetworkInterface (string name = default, string label = default, System.Collections.Generic.IEnumerable<string> ipAddresses = default, string macAddress = default, string networkId = default, Azure.ResourceManager.ConnectedVMwarevSphere.Models.VMwareNicType? nicType = default, Azure.ResourceManager.ConnectedVMwarevSphere.Models.PowerOnBootOption? powerOnBoot = default, string networkMoRefId = default, string networkMoName = default, int? deviceKey = default, Azure.ResourceManager.ConnectedVMwarevSphere.Models.NicIPSettings ipSettings = default);
static member VMwareNetworkInterface : string * string * seq<string> * string * string * Nullable<Azure.ResourceManager.ConnectedVMwarevSphere.Models.VMwareNicType> * Nullable<Azure.ResourceManager.ConnectedVMwarevSphere.Models.PowerOnBootOption> * string * string * Nullable<int> * Azure.ResourceManager.ConnectedVMwarevSphere.Models.NicIPSettings -> Azure.ResourceManager.ConnectedVMwarevSphere.Models.VMwareNetworkInterface
Public Shared Function VMwareNetworkInterface (Optional name As String = Nothing, Optional label As String = Nothing, Optional ipAddresses As IEnumerable(Of String) = Nothing, Optional macAddress As String = Nothing, Optional networkId As String = Nothing, Optional nicType As Nullable(Of VMwareNicType) = Nothing, Optional powerOnBoot As Nullable(Of PowerOnBootOption) = Nothing, Optional networkMoRefId As String = Nothing, Optional networkMoName As String = Nothing, Optional deviceKey As Nullable(Of Integer) = Nothing, Optional ipSettings As NicIPSettings = Nothing) As VMwareNetworkInterface

Parameters

name
String

Gets or sets the name of the network interface.

label
String

Gets or sets the label of the virtual network in vCenter that the nic is connected to.

ipAddresses
IEnumerable<String>

Gets or sets the nic ip addresses.

macAddress
String

Gets or sets the NIC MAC address.

networkId
String

Gets or sets the ARM Id of the network resource to connect the virtual machine.

nicType
Nullable<VMwareNicType>

NIC type.

powerOnBoot
Nullable<PowerOnBootOption>

Gets or sets the power on boot.

networkMoRefId
String

Gets or sets the vCenter MoRef (Managed Object Reference) ID of the virtual network that the nic is connected to.

networkMoName
String

Gets or sets the name of the virtual network in vCenter that the nic is connected to.

deviceKey
Nullable<Int32>

Gets or sets the device key value.

ipSettings
NicIPSettings

Gets or sets the ipsettings.

Returns

A new VMwareNetworkInterface instance for mocking.

Applies to