共用方式為


VMwareNetworkInterface Class

Definition

Network Interface model.

public class VMwareNetworkInterface : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ConnectedVMwarevSphere.Models.VMwareNetworkInterface>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ConnectedVMwarevSphere.Models.VMwareNetworkInterface>
type VMwareNetworkInterface = class
    interface IJsonModel<VMwareNetworkInterface>
    interface IPersistableModel<VMwareNetworkInterface>
Public Class VMwareNetworkInterface
Implements IJsonModel(Of VMwareNetworkInterface), IPersistableModel(Of VMwareNetworkInterface)
Inheritance
VMwareNetworkInterface
Implements

Constructors

VMwareNetworkInterface()

Initializes a new instance of VMwareNetworkInterface.

Properties

DeviceKey

Gets or sets the device key value.

IPAddresses

Gets or sets the nic ip addresses.

IPSettings

Gets or sets the ipsettings.

Label

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

MacAddress

Gets or sets the NIC MAC address.

Name

Gets or sets the name of the network interface.

NetworkId

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

NetworkMoName

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

NetworkMoRefId

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

NicType

NIC type.

PowerOnBoot

Gets or sets the power on boot.

Explicit Interface Implementations

IJsonModel<VMwareNetworkInterface>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<VMwareNetworkInterface>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<VMwareNetworkInterface>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VMwareNetworkInterface>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<VMwareNetworkInterface>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to