你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Get-AzMigrateReplicationEligibilityResult

Validates whether a given VM can be protected or not in which case returns list of errors.

Syntax

Get-AzMigrateReplicationEligibilityResult
   -ResourceGroupName <String>
   -VirtualMachineName <String>
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzMigrateReplicationEligibilityResult
   -InputObject <IMigrateIdentity>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzMigrateReplicationEligibilityResult
   -ResourceGroupName <String>
   -VirtualMachineName <String>
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

Description

Validates whether a given VM can be protected or not in which case returns list of errors.

Examples

Example 1: {{ Add title here }}

{{ Add code here }}

{{ Add output here }}

{{ Add description here }}

Example 2: {{ Add title here }}

{{ Add code here }}

{{ Add output here }}

{{ Add description here }}

Parameters

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with Azure.

Type:PSObject
Aliases:AzureRMContext, AzureCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-InputObject

Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

Type:IMigrateIdentity
Position:Named
Default value:None
Accept pipeline input:True
Accept wildcard characters:False

-ResourceGroupName

The name of the resource group where the recovery services vault is present.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-SubscriptionId

Azure Subscription Id in which migrate project was created.

Type:String[]
Position:Named
Default value:(Get-AzContext).Subscription.Id
Accept pipeline input:False
Accept wildcard characters:False

-VirtualMachineName

Virtual Machine name.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

IMigrateIdentity

Outputs

IReplicationEligibilityResults

Notes

ALIASES

COMPLEX PARAMETER PROPERTIES

To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.

INPUTOBJECT <IMigrateIdentity>: Identity Parameter

  • [AccountName <String>]: Run as account ARM name.
  • [AlertSettingName <String>]: The name of the email notification configuration.
  • [ClusterName <String>]: Cluster ARM name.
  • [DatabaseInstanceName <String>]: Unique name of a database instance in Azure migration hub.
  • [DatabaseName <String>]: Unique name of a database in Azure migration hub.
  • [EventName <String>]: Unique name of an event within a migrate project.
  • [FabricName <String>]: Fabric name.
  • [HostName <String>]: Host ARM name.
  • [Id <String>]: Resource identity path
  • [IntentObjectName <String>]: Replication protection intent name.
  • [JobName <String>]: Job ARM name.
  • [LogicalNetworkName <String>]: Logical network name.
  • [MachineName <String>]: Machine ARM name.
  • [MappingName <String>]: Protection Container mapping name.
  • [MigrateProjectName <String>]: Name of the Azure Migrate project.
  • [MigrationItemName <String>]: Migration item name.
  • [MigrationRecoveryPointName <String>]: The migration recovery point name.
  • [NetworkMappingName <String>]: Network mapping name.
  • [NetworkName <String>]: Primary network name.
  • [OperationStatusName <String>]: Operation status ARM name.
  • [PolicyName <String>]: Replication policy name.
  • [ProtectableItemName <String>]: Protectable item name.
  • [ProtectionContainerName <String>]: Protection container name.
  • [ProviderName <String>]: Recovery services provider name.
  • [RecoveryPlanName <String>]: Name of the recovery plan.
  • [RecoveryPointName <String>]: The recovery point name.
  • [ReplicatedProtectedItemName <String>]: Replication protected item name.
  • [ReplicationProtectedItemName <String>]: The name of the protected item on which the agent is to be updated.
  • [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive.
  • [ResourceName <String>]: The name of the recovery services vault.
  • [SiteName <String>]: Site name.
  • [SolutionName <String>]: Unique name of a migration solution within a migrate project.
  • [StorageClassificationMappingName <String>]: Storage classification mapping name.
  • [StorageClassificationName <String>]: Storage classification name.
  • [SubscriptionId <String>]: The ID of the target subscription.
  • [VaultSettingName <String>]: Vault setting name.
  • [VcenterName <String>]: VCenter ARM name.
  • [VirtualMachineName <String>]: Virtual Machine name.