Get-AzMigrateHCIJob
Azure Geçişi işinin durumunu alır.
Sözdizimi
Get-AzMigrateHCIJob
-ResourceGroupName <String>
-ProjectName <String>
[-SubscriptionId <String>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzMigrateHCIJob
-ResourceGroupName <String>
-ProjectName <String>
[-SubscriptionId <String>]
-Name <String>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzMigrateHCIJob
[-SubscriptionId <String>]
-ID <String>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzMigrateHCIJob
[-SubscriptionId <String>]
-InputObject <IMigrateIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzMigrateHCIJob
[-SubscriptionId <String>]
-ResourceGroupID <String>
-ProjectID <String>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
Get-AzMigrateHCIJob cmdlet'i bir Azure Geçişi işinin durumunu yeniden denenir.
Örnekler
Örnek 1: İş kimliğine göre alma
Get-AzMigrateHCIJob -ID "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/test-rg/providers/Microsoft.DataReplication/replicationVaults/testproj1234replicationvault/jobs/0203aa1b-1dff-4653-89a9-b90a76d1601a"
ActivityId : ActivityId: 00000000-0000-0000-0000-000000000000
AllowedAction : {Cancel}
CustomPropertyAffectedObjectDetail : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.WorkflowModelCustomPropertiesAffectedObjectDetails
CustomPropertyInstanceType : WorkflowDetails
DisplayName : Delete protected item
EndTime :
Error : {}
Id : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/test-rg/providers/Microsoft.DataReplication
/replicationVaults/testproj1234replicationvault/jobs/0203aa1b-1dff-4653-89a9-b90a76d1601a
Name : 0203aa1b-1dff-4653-89a9-b90a76d1601a
ObjectId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/test-rg/providers/Microsoft.DataReplication
/replicationVaults/testproj1234replicationvault/protectedItems/testsite-0000-0000-00000001
ObjectInternalId : 13436868-1f4c-5d4e-a252-c666179bf4df
ObjectInternalName : testmachine1
ObjectName : testsite-0000-0000-00000001
ObjectType : ProtectedItem
ReplicationProviderId : 0a870516-56c7-4460-998c-f267bd579f16
SourceFabricProviderId : a2793d98-d4f1-427f-a5a6-2d694f4a1bf7
StartTime : 8/14/2023 7:09:10 PM
State : Started
SystemDataCreatedAt :
SystemDataCreatedBy :
SystemDataCreatedByType :
SystemDataLastModifiedAt :
SystemDataLastModifiedBy :
SystemDataLastModifiedByType :
Tag : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.WorkflowModelTags
TargetFabricProviderId : 22f00372-a1b7-467f-87ce-d95e17a6e7c7
Task : {Prerequisite check, Deleting protected item}
Type : Microsoft.DataReplication/replicationVaults/jobs
Bir işi kimliğine göre alır.
Örnek 2: İş adına göre alma
Get-AzMigrateHCIJob -ResourceGroupName "test-rg" -ProjectName "testproj" -Name "0203aa1b-1dff-4653-89a9-b90a76d1601a"
ActivityId : ActivityId: 00000000-0000-0000-0000-000000000000
AllowedAction : {Cancel}
CustomPropertyAffectedObjectDetail : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.WorkflowModelCustomPropertiesAffectedObjectDetails
CustomPropertyInstanceType : WorkflowDetails
DisplayName : Delete protected item
EndTime :
Error : {}
Id : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/test-rg/providers/Microsoft.DataReplication
/replicationVaults/testproj1234replicationvault/jobs/0203aa1b-1dff-4653-89a9-b90a76d1601a
Name : 0203aa1b-1dff-4653-89a9-b90a76d1601a
ObjectId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/test-rg/providers/Microsoft.DataReplication
/replicationVaults/testproj1234replicationvault/protectedItems/testsite-0000-0000-00000001
ObjectInternalId : 13436868-1f4c-5d4e-a252-c666179bf4df
ObjectInternalName : testmachine1
ObjectName : testsite-0000-0000-00000001
ObjectType : ProtectedItem
ReplicationProviderId : 0a870516-56c7-4460-998c-f267bd579f16
SourceFabricProviderId : a2793d98-d4f1-427f-a5a6-2d694f4a1bf7
StartTime : 8/14/2023 7:09:10 PM
State : Started
SystemDataCreatedAt :
SystemDataCreatedBy :
SystemDataCreatedByType :
SystemDataLastModifiedAt :
SystemDataLastModifiedBy :
SystemDataLastModifiedByType :
Tag : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.WorkflowModelTags
TargetFabricProviderId : 22f00372-a1b7-467f-87ce-d95e17a6e7c7
Task : {Prerequisite check, Deleting protected item}
Type : Microsoft.DataReplication/replicationVaults/jobs
bir işi adına göre alır.
Örnek 3: İş giriş nesnesine göre alma
$InputObject = Get-AzMigrateHCIJob -ID "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/test-rg/providers/Microsoft.DataReplication/replicationVaults/testproj1234replicationvault/jobs/0203aa1b-1dff-4653-89a9-b90a76d1601a"
Get-AzMigrateHCIJob -InputObject $InputObject
$InputObject | Get-AzMigrateHCIJob
ActivityId : ActivityId: 00000000-0000-0000-0000-000000000000
AllowedAction : {Cancel}
CustomPropertyAffectedObjectDetail : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.WorkflowModelCustomPropertiesAffectedObjectDetails
CustomPropertyInstanceType : WorkflowDetails
DisplayName : Delete protected item
EndTime :
Error : {}
Id : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/test-rg/providers/Microsoft.DataReplication
/replicationVaults/testproj1234replicationvault/jobs/0203aa1b-1dff-4653-89a9-b90a76d1601a
Name : 0203aa1b-1dff-4653-89a9-b90a76d1601a
ObjectId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/test-rg/providers/Microsoft.DataReplication
/replicationVaults/testproj1234replicationvault/protectedItems/testsite-0000-0000-00000001
ObjectInternalId : 13436868-1f4c-5d4e-a252-c666179bf4df
ObjectInternalName : testmachine1
ObjectName : testsite-0000-0000-00000001
ObjectType : ProtectedItem
ReplicationProviderId : 0a870516-56c7-4460-998c-f267bd579f16
SourceFabricProviderId : a2793d98-d4f1-427f-a5a6-2d694f4a1bf7
StartTime : 8/14/2023 7:09:10 PM
State : Started
SystemDataCreatedAt :
SystemDataCreatedBy :
SystemDataCreatedByType :
SystemDataLastModifiedAt :
SystemDataLastModifiedBy :
SystemDataLastModifiedByType :
Tag : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.WorkflowModelTags
TargetFabricProviderId : 22f00372-a1b7-467f-87ce-d95e17a6e7c7
Task : {Prerequisite check, Deleting protected item}
Type : Microsoft.DataReplication/replicationVaults/jobs
İşin kendisi tarafından giriş nesnesi olarak bir iş alır.
Örnek 4: Kaynak grubu kimliğine ve proje kimliğine göre listeleyin.
Get-AzMigrateHCIJob -ResourceGroupID "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/test-rg" -ProjectID "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/test-rg/providers/Microsoft.Migrate/MigrateProjects/testproj"
ActivityId : ActivityId: 00000000-0000-0000-0000-000000000000
AllowedAction : {Cancel}
CustomPropertyAffectedObjectDetail : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.WorkflowModelCustomPropertiesAffectedObjectDetails
CustomPropertyInstanceType : WorkflowDetails
DisplayName : Delete protected item
EndTime :
Error : {}
Id : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/test-rg/providers/Microsoft.DataReplication
/replicationVaults/testproj1234replicationvault/jobs/0203aa1b-1dff-4653-89a9-b90a76d1601a
Name : 0203aa1b-1dff-4653-89a9-b90a76d1601a
ObjectId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/test-rg/providers/Microsoft.DataReplication
/replicationVaults/testproj1234replicationvault/protectedItems/testsite-0000-0000-00000001
ObjectInternalId : 13436868-1f4c-5d4e-a252-c666179bf4df
ObjectInternalName : testmachine1
ObjectName : testsite-0000-0000-00000001
ObjectType : ProtectedItem
ReplicationProviderId : 0a870516-56c7-4460-998c-f267bd579f16
SourceFabricProviderId : a2793d98-d4f1-427f-a5a6-2d694f4a1bf7
StartTime : 8/14/2023 7:09:10 PM
State : Started
SystemDataCreatedAt :
SystemDataCreatedBy :
SystemDataCreatedByType :
SystemDataLastModifiedAt :
SystemDataLastModifiedBy :
SystemDataLastModifiedByType :
Tag : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.WorkflowModelTags
TargetFabricProviderId : 22f00372-a1b7-467f-87ce-d95e17a6e7c7
Task : {Prerequisite check, Deleting protected item}
Type : Microsoft.DataReplication/replicationVaults/jobs
ActivityId : ActivityId: 00000000-0000-0000-0000-000000000000
AllowedAction : {}
CustomPropertyAffectedObjectDetail : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.WorkflowModelCustomPropertiesAffectedObjectDetails
CustomPropertyInstanceType :
DisplayName : Planned failover
EndTime : 8/11/2023 10:09:18 PM
Error :
Id : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/test-rg/providers/Microsoft.DataReplication
/replicationVaults/testproj1234replicationvault/jobs/f2ebb932-fa4a-47a7-b1fa-ff5aa877d5ed
Name : f2ebb932-fa4a-47a7-b1fa-ff5aa877d5ed
ObjectId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/test-rg/providers/Microsoft.DataReplication
/replicationVaults/testproj1234replicationvault/protectedItems/testsite-0000-0000-00000000/plannedFailover
ObjectInternalId : 4ef231a3-0774-5e44-8317-bed903d297a2
ObjectInternalName : testmachine2
ObjectName : testsite-0000-0000-00000000
ObjectType : ProtectedItem
ReplicationProviderId : 0a870516-56c7-4460-998c-f267bd579f16
SourceFabricProviderId : a2793d98-d4f1-427f-a5a6-2d694f4a1bf7
StartTime : 8/11/2023 9:53:48 PM
State : Succeeded
SystemDataCreatedAt :
SystemDataCreatedBy :
SystemDataCreatedByType :
SystemDataLastModifiedAt :
SystemDataLastModifiedBy :
SystemDataLastModifiedByType :
Tag : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.WorkflowModelTags
TargetFabricProviderId : 22f00372-a1b7-467f-87ce-d95e17a6e7c7
Task :
Type : Microsoft.DataReplication/replicationVaults/jobs
Bazı kaynak grubundaki bir projedeki tüm işleri kimliklere göre alır.
Örnek 5: Kaynak grubu adına ve proje adına göre listeleyin.
Get-AzMigrateHCIJob -ResourceGroupName "test-rg" -ProjectName "testproj"
ActivityId : ActivityId: 00000000-0000-0000-0000-000000000000
AllowedAction : {Cancel}
CustomPropertyAffectedObjectDetail : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.WorkflowModelCustomPropertiesAffectedObjectDetails
CustomPropertyInstanceType : WorkflowDetails
DisplayName : Delete protected item
EndTime :
Error : {}
Id : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/test-rg/providers/Microsoft.DataReplication
/replicationVaults/testproj1234replicationvault/jobs/0203aa1b-1dff-4653-89a9-b90a76d1601a
Name : 0203aa1b-1dff-4653-89a9-b90a76d1601a
ObjectId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/test-rg/providers/Microsoft.DataReplication
/replicationVaults/testproj1234replicationvault/protectedItems/testsite-0000-0000-00000001
ObjectInternalId : 13436868-1f4c-5d4e-a252-c666179bf4df
ObjectInternalName : testmachine1
ObjectName : testsite-0000-0000-00000001
ObjectType : ProtectedItem
ReplicationProviderId : 0a870516-56c7-4460-998c-f267bd579f16
SourceFabricProviderId : a2793d98-d4f1-427f-a5a6-2d694f4a1bf7
StartTime : 8/14/2023 7:09:10 PM
State : Started
SystemDataCreatedAt :
SystemDataCreatedBy :
SystemDataCreatedByType :
SystemDataLastModifiedAt :
SystemDataLastModifiedBy :
SystemDataLastModifiedByType :
Tag : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.WorkflowModelTags
TargetFabricProviderId : 22f00372-a1b7-467f-87ce-d95e17a6e7c7
Task : {Prerequisite check, Deleting protected item}
Type : Microsoft.DataReplication/replicationVaults/jobs
ActivityId : ActivityId: 00000000-0000-0000-0000-000000000000
AllowedAction : {}
CustomPropertyAffectedObjectDetail : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.WorkflowModelCustomPropertiesAffectedObjectDetails
CustomPropertyInstanceType :
DisplayName : Planned failover
EndTime : 8/11/2023 10:09:18 PM
Error :
Id : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/test-rg/providers/Microsoft.DataReplication
/replicationVaults/testproj1234replicationvault/jobs/f2ebb932-fa4a-47a7-b1fa-ff5aa877d5ed
Name : f2ebb932-fa4a-47a7-b1fa-ff5aa877d5ed
ObjectId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/test-rg/providers/Microsoft.DataReplication
/replicationVaults/testproj1234replicationvault/protectedItems/testsite-0000-0000-00000000/plannedFailover
ObjectInternalId : 4ef231a3-0774-5e44-8317-bed903d297a2
ObjectInternalName : testmachine2
ObjectName : testsite-0000-0000-00000000
ObjectType : ProtectedItem
ReplicationProviderId : 0a870516-56c7-4460-998c-f267bd579f16
SourceFabricProviderId : a2793d98-d4f1-427f-a5a6-2d694f4a1bf7
StartTime : 8/11/2023 9:53:48 PM
State : Succeeded
SystemDataCreatedAt :
SystemDataCreatedBy :
SystemDataCreatedByType :
SystemDataLastModifiedAt :
SystemDataLastModifiedBy :
SystemDataLastModifiedByType :
Tag : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.WorkflowModelTags
TargetFabricProviderId : 22f00372-a1b7-467f-87ce-d95e17a6e7c7
Task :
Type : Microsoft.DataReplication/replicationVaults/jobs
Bazı kaynak grubundaki bir projedeki tüm işleri adlara göre alır.
Parametreler
-DefaultProfile
Azure ile iletişim için kullanılan kimlik bilgileri, hesap, kiracı ve abonelik.
Tür: | PSObject |
Diğer adlar: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Gerekli: | False |
İşlem hattı girişini kabul et: | False |
Joker karakterleri kabul et: | False |
-ID
Ayrıntıların alınması gereken iş kimliğini belirtir.
Tür: | String |
Position: | Named |
Default value: | None |
Gerekli: | True |
İşlem hattı girişini kabul et: | False |
Joker karakterleri kabul et: | False |
-InputObject
Çoğaltma sunucusunun iş nesnesini belirtir. Oluşturmak için INPUTOBJECT özellikleri için NOTES bölümüne bakın ve bir karma tablo oluşturun.
Tür: | IMigrateIdentity |
Position: | Named |
Default value: | None |
Gerekli: | True |
İşlem hattı girişini kabul et: | True |
Joker karakterleri kabul et: | False |
-Name
İş tanımlayıcısı
Tür: | String |
Position: | Named |
Default value: | None |
Gerekli: | True |
İşlem hattı girişini kabul et: | False |
Joker karakterleri kabul et: | False |
-ProjectID
Sunucuların çoğaltıldığı Azure Geçişi Projesini belirtir.
Tür: | String |
Position: | Named |
Default value: | None |
Gerekli: | True |
İşlem hattı girişini kabul et: | False |
Joker karakterleri kabul et: | False |
-ProjectName
Geçiş projesinin adı.
Tür: | String |
Position: | Named |
Default value: | None |
Gerekli: | True |
İşlem hattı girişini kabul et: | False |
Joker karakterleri kabul et: | False |
-ResourceGroupID
Geçerli abonelikteki Azure Geçişi Projesinin Kaynak Grubunu belirtir.
Tür: | String |
Position: | Named |
Default value: | None |
Gerekli: | True |
İşlem hattı girişini kabul et: | False |
Joker karakterleri kabul et: | False |
-ResourceGroupName
Kurtarma hizmetleri kasasının bulunduğu kaynak grubunun adı.
Tür: | String |
Position: | Named |
Default value: | None |
Gerekli: | True |
İşlem hattı girişini kabul et: | False |
Joker karakterleri kabul et: | False |
-SubscriptionId
Azure Abonelik Kimliği.
Tür: | String |
Position: | Named |
Default value: | (Get-AzContext).Subscription.Id |
Gerekli: | False |
İşlem hattı girişini kabul et: | False |
Joker karakterleri kabul et: | False |
Girişler
Çıkışlar
Azure PowerShell