Compartilhar via


ArmRecoveryServicesSiteRecoveryModelFactory.VmNicDetails Método

Definição

Inicializa uma nova instância de VmNicDetails.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VmNicDetails VmNicDetails (string nicId = default, string replicaNicId = default, Azure.Core.ResourceIdentifier sourceNicArmId = default, string vmNetworkName = default, Azure.Core.ResourceIdentifier recoveryVmNetworkId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.HyperVIPConfigDetails> ipConfigs = default, string selectionType = default, string recoveryNetworkSecurityGroupId = default, bool? isAcceleratedNetworkingOnRecoveryEnabled = default, Azure.Core.ResourceIdentifier tfoVmNetworkId = default, string tfoNetworkSecurityGroupId = default, bool? isAcceleratedNetworkingOnTfoEnabled = default, string recoveryNicName = default, string recoveryNicResourceGroupName = default, bool? isReuseExistingNicAllowed = default, string tfoRecoveryNicName = default, string tfoRecoveryNicResourceGroupName = default, bool? isTfoReuseExistingNicAllowed = default, string targetNicName = default);
static member VmNicDetails : string * string * Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceIdentifier * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.HyperVIPConfigDetails> * string * string * Nullable<bool> * Azure.Core.ResourceIdentifier * string * Nullable<bool> * string * string * Nullable<bool> * string * string * Nullable<bool> * string -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VmNicDetails
Public Shared Function VmNicDetails (Optional nicId As String = Nothing, Optional replicaNicId As String = Nothing, Optional sourceNicArmId As ResourceIdentifier = Nothing, Optional vmNetworkName As String = Nothing, Optional recoveryVmNetworkId As ResourceIdentifier = Nothing, Optional ipConfigs As IEnumerable(Of HyperVIPConfigDetails) = Nothing, Optional selectionType As String = Nothing, Optional recoveryNetworkSecurityGroupId As String = Nothing, Optional isAcceleratedNetworkingOnRecoveryEnabled As Nullable(Of Boolean) = Nothing, Optional tfoVmNetworkId As ResourceIdentifier = Nothing, Optional tfoNetworkSecurityGroupId As String = Nothing, Optional isAcceleratedNetworkingOnTfoEnabled As Nullable(Of Boolean) = Nothing, Optional recoveryNicName As String = Nothing, Optional recoveryNicResourceGroupName As String = Nothing, Optional isReuseExistingNicAllowed As Nullable(Of Boolean) = Nothing, Optional tfoRecoveryNicName As String = Nothing, Optional tfoRecoveryNicResourceGroupName As String = Nothing, Optional isTfoReuseExistingNicAllowed As Nullable(Of Boolean) = Nothing, Optional targetNicName As String = Nothing) As VmNicDetails

Parâmetros

nicId
String

A ID da nic.

replicaNicId
String

A réplica ID nic.

sourceNicArmId
ResourceIdentifier

A ID do ARM nic de origem.

vmNetworkName
String

Nome da rede da VM.

recoveryVmNetworkId
ResourceIdentifier

ID de rede de VM de recuperação.

ipConfigs
IEnumerable<HyperVIPConfigDetails>

As configurações de IP da NIC.

selectionType
String

Tipo de seleção para failover.

recoveryNetworkSecurityGroupId
String

A ID do NSG associado à NIC.

isAcceleratedNetworkingOnRecoveryEnabled
Nullable<Boolean>

Um valor que indica se a NIC acelerou a rede habilitada.

tfoVmNetworkId
ResourceIdentifier

A rede a ser usada pela NIC durante o failover de teste.

tfoNetworkSecurityGroupId
String

O NSG a ser usado pela NIC durante o failover de teste.

isAcceleratedNetworkingOnTfoEnabled
Nullable<Boolean>

Se a NIC de TFO acelerou a rede habilitada.

recoveryNicName
String

O nome da NIC a ser usada ao criar NICs de destino.

recoveryNicResourceGroupName
String

O grupo de recursos da NIC a ser usado ao criar NICs de destino.

isReuseExistingNicAllowed
Nullable<Boolean>

Um valor que indica se uma NIC existente tem permissão para ser reutilizado durante o failover sujeito à disponibilidade.

tfoRecoveryNicName
String

O nome da NIC a ser usada ao criar NICs de destino no TFO.

tfoRecoveryNicResourceGroupName
String

O grupo de recursos da NIC a ser usado ao criar NICs de destino no TFO.

isTfoReuseExistingNicAllowed
Nullable<Boolean>

Um valor que indica se uma NIC existente tem permissão para ser reutilizado durante o failover de teste sujeito à disponibilidade.

targetNicName
String

Nome nic de destino.

Retornos

Uma nova VmNicDetails instância para zombar.

Aplica-se a