Share via


VMNicInputDetails Class

Definition

Hyper V VM network input details.

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

Constructors

VMNicInputDetails()

Creates an new VMNicInputDetails instance.

Properties

EnableAcceleratedNetworkingOnRecovery

Whether the NIC has accelerated networking enabled.

EnableAcceleratedNetworkingOnTfo

Whether the test NIC has accelerated networking enabled.

IPConfig

The IP configurations to be used by NIC during test failover and failover.

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.

ReuseExistingNic

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

SelectionType

Selection type for failover.

TargetNicName

Target NIC name.

TfoNetworkSecurityGroupId

The NSG to be used by NIC during test failover.

TfoNicName

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

TfoNicResourceGroupName

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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of VMNicInputDetails.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of VMNicInputDetails.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of VMNicInputDetails into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to