Sdílet prostřednictvím


ArmRecoveryServicesSiteRecoveryModelFactory.VMwareVmDetails Method

Definition

Initializes a new instance of VMwareVmDetails.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VMwareVmDetails VMwareVmDetails (string agentGeneratedId = default, string agentInstalled = default, string osType = default, string agentVersion = default, System.Net.IPAddress ipAddress = default, string poweredOn = default, string vCenterInfrastructureId = default, string discoveryType = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageDiskDetails> diskDetails = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryHealthError> validationErrors = default);
static member VMwareVmDetails : string * string * string * string * System.Net.IPAddress * string * string * string * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageDiskDetails> * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryHealthError> -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VMwareVmDetails
Public Shared Function VMwareVmDetails (Optional agentGeneratedId As String = Nothing, Optional agentInstalled As String = Nothing, Optional osType As String = Nothing, Optional agentVersion As String = Nothing, Optional ipAddress As IPAddress = Nothing, Optional poweredOn As String = Nothing, Optional vCenterInfrastructureId As String = Nothing, Optional discoveryType As String = Nothing, Optional diskDetails As IEnumerable(Of InMageDiskDetails) = Nothing, Optional validationErrors As IEnumerable(Of SiteRecoveryHealthError) = Nothing) As VMwareVmDetails

Parameters

agentGeneratedId
String

The ID generated by the InMage agent after it gets installed on guest. This is the ID to be used during InMage CreateProtection.

agentInstalled
String

The value indicating if InMage scout agent is installed on guest.

osType
String

The OsType installed on VM.

agentVersion
String

The agent version.

ipAddress
IPAddress

The IP address.

poweredOn
String

The value indicating whether VM is powered on.

vCenterInfrastructureId
String

The VCenter infrastructure Id.

discoveryType
String

A value indicating the discovery type of the machine. Value can be vCenter or physical.

diskDetails
IEnumerable<InMageDiskDetails>

The disk details.

validationErrors
IEnumerable<SiteRecoveryHealthError>

The validation errors.

Returns

A new VMwareVmDetails instance for mocking.

Applies to