共用方式為


ScVmmNetworkInterface Class

Definition

Network Interface model.

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

Constructors

ScVmmNetworkInterface()

Initializes a new instance of ScVmmNetworkInterface.

Properties

DisplayName

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

Gets the nic ipv4 addresses.

IPv4AddressType

Gets or sets the ipv4 address type.

IPv6Addresses

Gets the nic ipv6 addresses.

IPv6AddressType

Gets or sets the ipv6 address type.

MacAddress

Gets or sets the nic MAC address.

MacAddressType

Gets or sets the mac address type.

Name

Gets or sets the name of the network interface.

NetworkName

Gets the name of the virtual network in vmmServer that the nic is connected to.

NicId

Gets or sets the nic id.

VirtualNetworkId

Gets or sets the ARM Id of the Microsoft.ScVmm/virtualNetwork resource to connect the nic.

Explicit Interface Implementations

IJsonModel<ScVmmNetworkInterface>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ScVmmNetworkInterface>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ScVmmNetworkInterface>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ScVmmNetworkInterface>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ScVmmNetworkInterface>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to