Share via


VMNicDetails Class

Definition

Hyper V VM network details.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.VMNicDetailsTypeConverter))]
public class VMNicDetails : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IVMNicDetails
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.VMNicDetailsTypeConverter))>]
type VMNicDetails = class
    interface IVMNicDetails
    interface IJsonSerializable
Public Class VMNicDetails
Implements IVMNicDetails
Inheritance
VMNicDetails
Attributes
Implements

Constructors

VMNicDetails()

Creates an new VMNicDetails instance.

Properties

EnableAcceleratedNetworkingOnRecovery

A value indicating whether the NIC has accelerated networking enabled.

EnableAcceleratedNetworkingOnTfo

Whether the TFO NIC has accelerated networking enabled.

IPConfig

The IP configurations of the NIC.

NicId

The nic Id.

RecoveryNetworkSecurityGroupId

The id of the NSG associated with the NIC.

RecoveryNicName

The name of the NIC to be used when creating target NICs.

RecoveryNicResourceGroupName

The resource group of the NIC to be used when creating target NICs.

RecoveryVMNetworkId

Recovery VM network Id.

ReplicaNicId

The replica nic Id.

ReuseExistingNic

A value indicating whether an existing NIC is allowed to be reused during failover subject to availability.

SelectionType

Selection type for failover.

SourceNicArmId

The source nic ARM Id.

TargetNicName

Target NIC name.

TfoNetworkSecurityGroupId

The NSG to be used by NIC during test failover.

TfoRecoveryNicName

The name of the NIC to be used when creating target NICs in TFO.

TfoRecoveryNicResourceGroupName

The resource group of the NIC to be used when creating target NICs in TFO.

TfoReuseExistingNic

A value indicating whether an existing NIC is allowed to be reused during test failover subject to availability.

TfoVMNetworkId

The network to be used by NIC during test failover.

VMNetworkName

VM network name.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of VMNicDetails.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of VMNicDetails.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IVMNicDetails.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of VMNicDetails into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to