Get-AzMigrateHCIServerReplication
Recupera os detalhes do servidor replicante.
Sintaxe
Get-AzMigrateHCIServerReplication
-ResourceGroupName <String>
-ProjectName <String>
[-SubscriptionId <String>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzMigrateHCIServerReplication
-ResourceGroupName <String>
-ProjectName <String>
[-SubscriptionId <String>]
-MachineName <String>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzMigrateHCIServerReplication
[-SubscriptionId <String>]
-TargetObjectID <String>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzMigrateHCIServerReplication
[-SubscriptionId <String>]
-DiscoveredMachineId <String>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzMigrateHCIServerReplication
[-SubscriptionId <String>]
-InputObject <IMigrateIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzMigrateHCIServerReplication
[-SubscriptionId <String>]
-ResourceGroupID <String>
-ProjectID <String>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
O cmdlet Get-AzMigrateHCIServerReplication recupera o objeto para o servidor replicante.
Exemplos
Exemplo 1: Obter detalhes por id
Get-AzMigrateHCIServerReplication -TargetObjectID '/subscriptions/xxx-xxx-xxx/resourceGroups/test-rg/providers/Microsoft.DataReplication/replicationVaults/proj62434replicationvault/protectedItems/503a4f02-916c-d6b0-8d14-222bbd4767e5'
Id : /subscriptions/xxx-xxx-xxx/resourceGroups/test-rg/providers/Microsoft.DataReplication/replicationVaults/proj62434replicationvault/protectedItems/503a4f02-916c-d6b0-8d14-222bbd4767e5
Name : 503a4f02-916c-d6b0-8d14-222bbd4767e5
Property : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.ProtectedItemModelProperties
SystemDataCreatedAt :
SystemDataCreatedBy :
SystemDataCreatedByType :
SystemDataLastModifiedAt :
SystemDataLastModifiedBy :
SystemDataLastModifiedByType :
Tag : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.ProtectedItemModelTags
Type : Microsoft.DataReplication/replicationVaults/protectedItems
Obter por id.
Exemplo 2: Obter detalhes por id de máquina descoberto
Get-AzMigrateHCIServerReplication -DiscoveredMachineId "/subscriptions/xxx-xxx-xxx/resourceGroups/test-rg/providers/Microsoft.OffAzure/HyperVSites/siteName1/machines/503a4f02-916c-d6b0-8d14-222bbd4767e5"
Id : /subscriptions/xxx-xxx-xxx/resourceGroups/test-rg/providers/Microsoft.DataReplication/replicationVaults/proj62434replicationvault/protectedItems/503a4f02-916c-d6b0-8d14-222bbd4767e5
Name : 503a4f02-916c-d6b0-8d14-222bbd4767e5
Property : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.ProtectedItemModelProperties
SystemDataCreatedAt :
SystemDataCreatedBy :
SystemDataCreatedByType :
SystemDataLastModifiedAt :
SystemDataLastModifiedBy :
SystemDataLastModifiedByType :
Tag : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.ProtectedItemModelTags
Type : Microsoft.DataReplication/replicationVaults/protectedItems
Obter por id de máquina descoberto.
Exemplo 3: Listar todos no projeto por nome
Get-AzMigrateServerReplication -ResourceGroupName testResourceGroup -ProjectName testProjectName
Id : /subscriptions/xxx-xxx-xxx/resourceGroups/test-rg/providers/Microsoft.DataReplication/replicationVaults/proj62434replicationvault/protectedItems/503a4f02-916c-d6b0-8d14-222bbd4767e5
Name : 503a4f02-916c-d6b0-8d14-222bbd4767e5
Property : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.ProtectedItemModelProperties
SystemDataCreatedAt :
SystemDataCreatedBy :
SystemDataCreatedByType :
SystemDataLastModifiedAt :
SystemDataLastModifiedBy :
SystemDataLastModifiedByType :
Tag : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.ProtectedItemModelTags
Type : Microsoft.DataReplication/replicationVaults/protectedItems
Id : /subscriptions/xxx-xxx-xxx/resourceGroups/test-rg/providers/Microsoft.DataReplication/replicationVaults/proj62434replicationvault/protectedItems/d758f4fb-ae5e-4ac8-bb97-1e114555fe9f
Name : d758f4fb-ae5e-4ac8-bb97-1e114555fe9f
Property : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.ProtectedItemModelProperties
SystemDataCreatedAt :
SystemDataCreatedBy :
SystemDataCreatedByType :
SystemDataLastModifiedAt :
SystemDataLastModifiedBy :
SystemDataLastModifiedByType :
Tag : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.ProtectedItemModelTags
Type : Microsoft.DataReplication/replicationVaults/protectedItems
Liste tudo.
Parâmetros
-DefaultProfile
As credenciais, a conta, o locatário e a assinatura usados para comunicação com o Azure.
Tipo: | PSObject |
Aliases: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Necessário: | False |
Aceitar entrada de pipeline: | False |
Aceitar carateres universais: | False |
-DiscoveredMachineId
Especifica o ID da máquina do servidor descoberto.
Tipo: | String |
Position: | Named |
Default value: | None |
Necessário: | True |
Aceitar entrada de pipeline: | False |
Aceitar carateres universais: | False |
-InputObject
Especifica o objeto de máquina do servidor replicador. Para construir, consulte a seção NOTAS para propriedades INPUTOBJECT e crie uma tabela de hash.
Tipo: | IMigrateIdentity |
Position: | Named |
Default value: | None |
Necessário: | True |
Aceitar entrada de pipeline: | True |
Aceitar carateres universais: | False |
-MachineName
Especifica o nome para exibição da máquina replicadora.
Tipo: | String |
Position: | Named |
Default value: | None |
Necessário: | True |
Aceitar entrada de pipeline: | False |
Aceitar carateres universais: | False |
-ProjectID
Especifica o Projeto de Migração do Azure no qual os servidores estão replicando.
Tipo: | String |
Position: | Named |
Default value: | None |
Necessário: | True |
Aceitar entrada de pipeline: | False |
Aceitar carateres universais: | False |
-ProjectName
Especifica o projeto Azure Migrate na assinatura atual.
Tipo: | String |
Position: | Named |
Default value: | None |
Necessário: | True |
Aceitar entrada de pipeline: | False |
Aceitar carateres universais: | False |
-ResourceGroupID
Especifica o Grupo de Recursos do Projeto de Migração do Azure na assinatura atual.
Tipo: | String |
Position: | Named |
Default value: | None |
Necessário: | True |
Aceitar entrada de pipeline: | False |
Aceitar carateres universais: | False |
-ResourceGroupName
Especifica o Grupo de Recursos do Projeto de Migração do Azure na assinatura atual.
Tipo: | String |
Position: | Named |
Default value: | None |
Necessário: | True |
Aceitar entrada de pipeline: | False |
Aceitar carateres universais: | False |
-SubscriptionId
ID de Subscrição do Azure.
Tipo: | String |
Position: | Named |
Default value: | (Get-AzContext).Subscription.Id |
Necessário: | False |
Aceitar entrada de pipeline: | False |
Aceitar carateres universais: | False |
-TargetObjectID
Especifica a ID ARM do servidor replicante.
Tipo: | String |
Position: | Named |
Default value: | None |
Necessário: | True |
Aceitar entrada de pipeline: | False |
Aceitar carateres universais: | False |
Entradas
Saídas
Azure PowerShell