Share via


HyperVNetworkAdapter Class

Definition

Second level object represented in responses as part of Machine REST resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001.HyperVNetworkAdapterTypeConverter))]
public class HyperVNetworkAdapter : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001.IHyperVNetworkAdapter
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001.HyperVNetworkAdapterTypeConverter))>]
type HyperVNetworkAdapter = class
    interface IHyperVNetworkAdapter
    interface IJsonSerializable
Public Class HyperVNetworkAdapter
Implements IHyperVNetworkAdapter
Inheritance
HyperVNetworkAdapter
Attributes
Implements

Constructors

HyperVNetworkAdapter()

Creates an new HyperVNetworkAdapter instance.

Properties

IPAddressList

IP addresses for the machine.

IPAddressType

Type of the IP address.

MacAddress

Mac address of the NIC.

NetworkId

Network Id.

NetworkName

Network Name.

NicId

NIC Id.

NicType

Mac address of the NIC.

StaticIPAddress

Static IP address.

SubnetName

Name of the VM subnet within the virtual network the NIC is attached to.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of HyperVNetworkAdapter.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of HyperVNetworkAdapter.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001.IHyperVNetworkAdapter.

FromJsonString(String)

Creates a new instance of HyperVNetworkAdapter, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of HyperVNetworkAdapter into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to