Partilhar via


ArmRecoveryServicesSiteRecoveryModelFactory.HyperVReplicaAzureReplicationDetails Método

Definição

Inicializa uma nova instância de HyperVReplicaAzureReplicationDetails.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.HyperVReplicaAzureReplicationDetails HyperVReplicaAzureReplicationDetails (System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryVmDiskDetails> azureVmDiskDetails = default, string recoveryAzureVmName = default, string recoveryAzureVmSize = default, string recoveryAzureStorageAccount = default, Azure.Core.ResourceIdentifier recoveryAzureLogStorageAccountId = default, DateTimeOffset? lastReplicatedOn = default, long? rpoInSeconds = default, DateTimeOffset? lastRpoCalculatedOn = default, string vmId = default, string vmProtectionState = default, string vmProtectionStateDescription = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InitialReplicationDetails initialReplicationDetails = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VmNicDetails> vmNics = default, Azure.Core.ResourceIdentifier selectedRecoveryAzureNetworkId = default, string selectedSourceNicId = default, string encryption = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryOSDetails osDetails = default, int? sourceVmRamSizeInMB = default, int? sourceVmCpuCount = default, string enableRdpOnTargetOption = default, Azure.Core.ResourceIdentifier recoveryAzureResourceGroupId = default, Azure.Core.ResourceIdentifier recoveryAvailabilitySetId = default, string targetAvailabilityZone = default, Azure.Core.ResourceIdentifier targetProximityPlacementGroupId = default, string useManagedDisks = default, string licenseType = default, string sqlServerLicenseType = default, DateTimeOffset? lastRecoveryPointReceived = default, System.Collections.Generic.IReadOnlyDictionary<string,string> targetVmTags = default, System.Collections.Generic.IReadOnlyDictionary<string,string> seedManagedDiskTags = default, System.Collections.Generic.IReadOnlyDictionary<string,string> targetManagedDiskTags = default, System.Collections.Generic.IReadOnlyDictionary<string,string> targetNicTags = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.HyperVReplicaAzureManagedDiskDetails> protectedManagedDisks = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.OSUpgradeSupportedVersions> allAvailableOSUpgradeConfigurations = default);
static member HyperVReplicaAzureReplicationDetails : seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryVmDiskDetails> * string * string * string * Azure.Core.ResourceIdentifier * Nullable<DateTimeOffset> * Nullable<int64> * Nullable<DateTimeOffset> * string * string * string * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InitialReplicationDetails * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VmNicDetails> * Azure.Core.ResourceIdentifier * string * string * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryOSDetails * Nullable<int> * Nullable<int> * string * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceIdentifier * string * string * string * Nullable<DateTimeOffset> * System.Collections.Generic.IReadOnlyDictionary<string, string> * System.Collections.Generic.IReadOnlyDictionary<string, string> * System.Collections.Generic.IReadOnlyDictionary<string, string> * System.Collections.Generic.IReadOnlyDictionary<string, string> * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.HyperVReplicaAzureManagedDiskDetails> * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.OSUpgradeSupportedVersions> -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.HyperVReplicaAzureReplicationDetails
Public Shared Function HyperVReplicaAzureReplicationDetails (Optional azureVmDiskDetails As IEnumerable(Of SiteRecoveryVmDiskDetails) = Nothing, Optional recoveryAzureVmName As String = Nothing, Optional recoveryAzureVmSize As String = Nothing, Optional recoveryAzureStorageAccount As String = Nothing, Optional recoveryAzureLogStorageAccountId As ResourceIdentifier = Nothing, Optional lastReplicatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional rpoInSeconds As Nullable(Of Long) = Nothing, Optional lastRpoCalculatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional vmId As String = Nothing, Optional vmProtectionState As String = Nothing, Optional vmProtectionStateDescription As String = Nothing, Optional initialReplicationDetails As InitialReplicationDetails = Nothing, Optional vmNics As IEnumerable(Of VmNicDetails) = Nothing, Optional selectedRecoveryAzureNetworkId As ResourceIdentifier = Nothing, Optional selectedSourceNicId As String = Nothing, Optional encryption As String = Nothing, Optional osDetails As SiteRecoveryOSDetails = Nothing, Optional sourceVmRamSizeInMB As Nullable(Of Integer) = Nothing, Optional sourceVmCpuCount As Nullable(Of Integer) = Nothing, Optional enableRdpOnTargetOption As String = Nothing, Optional recoveryAzureResourceGroupId As ResourceIdentifier = Nothing, Optional recoveryAvailabilitySetId As ResourceIdentifier = Nothing, Optional targetAvailabilityZone As String = Nothing, Optional targetProximityPlacementGroupId As ResourceIdentifier = Nothing, Optional useManagedDisks As String = Nothing, Optional licenseType As String = Nothing, Optional sqlServerLicenseType As String = Nothing, Optional lastRecoveryPointReceived As Nullable(Of DateTimeOffset) = Nothing, Optional targetVmTags As IReadOnlyDictionary(Of String, String) = Nothing, Optional seedManagedDiskTags As IReadOnlyDictionary(Of String, String) = Nothing, Optional targetManagedDiskTags As IReadOnlyDictionary(Of String, String) = Nothing, Optional targetNicTags As IReadOnlyDictionary(Of String, String) = Nothing, Optional protectedManagedDisks As IEnumerable(Of HyperVReplicaAzureManagedDiskDetails) = Nothing, Optional allAvailableOSUpgradeConfigurations As IEnumerable(Of OSUpgradeSupportedVersions) = Nothing) As HyperVReplicaAzureReplicationDetails

Parâmetros

azureVmDiskDetails
IEnumerable<SiteRecoveryVmDiskDetails>

Detalhes do disco da VM do Azure.

recoveryAzureVmName
String

Nome fornecido pelo Azure de recuperação.

recoveryAzureVmSize
String

O tamanho da VM do Azure de recuperação.

recoveryAzureStorageAccount
String

A conta de armazenamento do Azure de recuperação.

recoveryAzureLogStorageAccountId
ResourceIdentifier

A ID do ARM da conta de armazenamento de log usada para replicação. Isso será definido como nulo se nenhuma conta de armazenamento de log tiver sido fornecida durante a habilitação da proteção.

lastReplicatedOn
Nullable<DateTimeOffset>

A hora da última replicação.

rpoInSeconds
Nullable<Int64>

Último valor de RPO.

lastRpoCalculatedOn
Nullable<DateTimeOffset>

A hora calculada do último RPO.

vmId
String

A ID da máquina virtual.

vmProtectionState
String

O estado de proteção da VM.

vmProtectionStateDescription
String

A descrição do estado de proteção para a VM.

initialReplicationDetails
InitialReplicationDetails

Detalhes da replicação inicial.

vmNics
IEnumerable<VmNicDetails>

Os detalhes da Rede PE.

selectedRecoveryAzureNetworkId
ResourceIdentifier

A ID de rede do Azure de recuperação selecionada.

selectedSourceNicId
String

A ID nic de origem selecionada que será usada como a nic primária durante o failover.

encryption
String

As informações de criptografia.

osDetails
SiteRecoveryOSDetails

As informações do sistema operacional.

sourceVmRamSizeInMB
Nullable<Int32>

O tamanho da RAM da VM no lado primário.

sourceVmCpuCount
Nullable<Int32>

A contagem de CPU da VM no lado primário.

enableRdpOnTargetOption
String

A opção selecionada para habilitar RDP\SSH na VM de destino após o failover. Valor de cadeia de caracteres de enumeração SrsDataContract.EnableRDPOnTargetOption.

recoveryAzureResourceGroupId
ResourceIdentifier

A ID do grupo de recursos de destino.

recoveryAvailabilitySetId
ResourceIdentifier

A ID do conjunto de disponibilidade de recuperação.

targetAvailabilityZone
String

A zona de disponibilidade de destino.

targetProximityPlacementGroupId
ResourceIdentifier

A ID do grupo de posicionamento por proximidade de destino.

useManagedDisks
String

Um valor que indica se os discos gerenciados devem ser usados durante o failover.

licenseType
String

Tipo de licença da VM a ser usada.

sqlServerLicenseType
String

O tipo de licença SQL Server.

lastRecoveryPointReceived
Nullable<DateTimeOffset>

O último ponto de recuperação recebeu a hora.

targetVmTags
IReadOnlyDictionary<String,String>

As marcas de VM de destino.

seedManagedDiskTags
IReadOnlyDictionary<String,String>

As marcas para os discos gerenciados de propagação.

targetManagedDiskTags
IReadOnlyDictionary<String,String>

As marcas para os discos gerenciados de destino.

targetNicTags
IReadOnlyDictionary<String,String>

As marcas para as NICs de destino.

protectedManagedDisks
IEnumerable<HyperVReplicaAzureManagedDiskDetails>

A lista de discos gerenciados protegidos.

allAvailableOSUpgradeConfigurations
IEnumerable<OSUpgradeSupportedVersions>

Um valor que indica todas as configurações de atualização do sistema operacional insubstituível disponíveis.

Retornos

Uma nova HyperVReplicaAzureReplicationDetails instância para simulação.

Aplica-se a