Partilhar via


ArmRecoveryServicesSiteRecoveryModelFactory.VmmVmDetails Método

Definição

Inicializa uma nova instância de VmmVmDetails.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VmmVmDetails VmmVmDetails (string sourceItemId = default, string generation = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryOSDetails osDetails = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryDiskDetails> diskDetails = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.HyperVVmDiskPresenceStatus? hasPhysicalDisk = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.HyperVVmDiskPresenceStatus? hasFibreChannelAdapter = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.HyperVVmDiskPresenceStatus? hasSharedVhd = default, string hyperVHostId = default);
static member VmmVmDetails : string * string * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryOSDetails * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryDiskDetails> * Nullable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.HyperVVmDiskPresenceStatus> * Nullable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.HyperVVmDiskPresenceStatus> * Nullable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.HyperVVmDiskPresenceStatus> * string -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VmmVmDetails
Public Shared Function VmmVmDetails (Optional sourceItemId As String = Nothing, Optional generation As String = Nothing, Optional osDetails As SiteRecoveryOSDetails = Nothing, Optional diskDetails As IEnumerable(Of SiteRecoveryDiskDetails) = Nothing, Optional hasPhysicalDisk As Nullable(Of HyperVVmDiskPresenceStatus) = Nothing, Optional hasFibreChannelAdapter As Nullable(Of HyperVVmDiskPresenceStatus) = Nothing, Optional hasSharedVhd As Nullable(Of HyperVVmDiskPresenceStatus) = Nothing, Optional hyperVHostId As String = Nothing) As VmmVmDetails

Parâmetros

sourceItemId
String

A ID de origem do objeto.

generation
String

A ID do objeto na malha.

osDetails
SiteRecoveryOSDetails

A hora da última replicação.

diskDetails
IEnumerable<SiteRecoveryDiskDetails>

O último tempo de failover bem-sucedido.

hasPhysicalDisk
Nullable<HyperVVmDiskPresenceStatus>

Um valor que indica se a VM tem um disco físico anexado. Valor de cadeia de caracteres da enumeração SrsDataContract.PresenceStatus.

hasFibreChannelAdapter
Nullable<HyperVVmDiskPresenceStatus>

Um valor que indica se a VM tem um adaptador fibre channel anexado. Valor de cadeia de caracteres da enumeração SrsDataContract.PresenceStatus.

hasSharedVhd
Nullable<HyperVVmDiskPresenceStatus>

Um valor que indica se a VM tem um VHD compartilhado anexado. Valor de cadeia de caracteres da enumeração SrsDataContract.PresenceStatus.

hyperVHostId
String

A ID do host hyper-v na malha.

Retornos

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

Aplica-se a