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

Get-AzMigrateHCIReplicationFabric

获取构造的详细信息。

语法

Get-AzMigrateHCIReplicationFabric
   [-SubscriptionId <String[]>]
   [-ContinuationToken <String>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzMigrateHCIReplicationFabric
   -Name <String>
   -ResourceGroupName <String>
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzMigrateHCIReplicationFabric
   -ResourceGroupName <String>
   [-SubscriptionId <String[]>]
   [-ContinuationToken <String>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzMigrateHCIReplicationFabric
   -InputObject <IMigrateIdentity>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

说明

获取构造的详细信息。

示例

示例 1:按结构名称获取

Get-AzMigrateHCIReplicationFabric -ResourceGroupName "test-rg" -Name "testsrcappreplicationfabric"

Id                           : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/test-rg/providers/Microsoft.DataReplication/replicationFabrics/testsrcappreplicationfabric
Location                     : southeastasia
Name                         : testsrcappreplicationfabric
Property                     : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.FabricModelProperties
SystemDataCreatedAt          : 8/11/2023 6:39:04 PM
SystemDataCreatedBy          : testuser@example.com
SystemDataCreatedByType      : User
SystemDataLastModifiedAt     : 8/11/2023 6:48:29 PM
SystemDataLastModifiedBy     : testuser@example.com
SystemDataLastModifiedByType : User
Tag                          : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.FabricModelTags
Type                         : Microsoft.DataReplication/replicationFabrics

按其名称检索结构。

示例 2:按结构输入对象获取

$InputObject = Get-AzMigrateHCIReplicationFabric -ResourceGroupName "test-rg" -Name "testsrcappreplicationfabric"

Get-AzMigrateHCIReplicationFabric -InputObject $InputObject

$InputObject | Get-AzMigrateHCIReplicationFabric

Id                           : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/test-rg/providers/Microsoft.DataReplication/replicationFabrics/testsrcappreplicationfabric
Location                     : southeastasia
Name                         : testsrcappreplicationfabric
Property                     : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.FabricModelProperties
SystemDataCreatedAt          : 8/11/2023 6:39:04 PM
SystemDataCreatedBy          : testuser@example.com
SystemDataCreatedByType      : User
SystemDataLastModifiedAt     : 8/11/2023 6:48:29 PM
SystemDataLastModifiedBy     : testuser@example.com
SystemDataLastModifiedByType : User
Tag                          : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.FabricModelTags
Type                         : Microsoft.DataReplication/replicationFabrics

按构造本身作为输入对象检索构造。

示例 3:按资源组名称列出

Get-AzMigrateHCIReplicationFabric -ResourceGroupName "test-rg"

Id                           : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/test-rg/providers/Microsoft.DataReplication/replicationFabrics/testsrcappreplicationfabric
Location                     : southeastasia
Name                         : testsrcappreplicationfabric
Property                     : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.FabricModelProperties
SystemDataCreatedAt          : 8/11/2023 6:39:04 PM
SystemDataCreatedBy          : testuser@example.com
SystemDataCreatedByType      : User
SystemDataLastModifiedAt     : 8/11/2023 6:48:29 PM
SystemDataLastModifiedBy     : testuser@example.com
SystemDataLastModifiedByType : User
Tag                          : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.FabricModelTags
Type                         : Microsoft.DataReplication/replicationFabrics

Id                           : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/test-rg/providers/Microsoft.DataReplication/replicationFabrics/testtgtappreplicationfabric
Location                     : southeastasia
Name                         : testtgtappreplicationfabric
Property                     : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.FabricModelProperties
SystemDataCreatedAt          : 8/11/2023 9:16:46 PM
SystemDataCreatedBy          : testuser@example.com
SystemDataCreatedByType      : User
SystemDataLastModifiedAt     : 8/11/2023 9:16:46 PM
SystemDataLastModifiedBy     : testuser@example.com
SystemDataLastModifiedByType : User
Tag                          : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.FabricModelTags
Type                         : Microsoft.DataReplication/replicationFabrics

按名称从资源组中检索所有构造。

示例 4:列出所有 fabircs

Get-AzMigrateHCIReplicationFabric

Id                           : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/test-rg/providers/Microsoft.DataReplication/replicationFabrics/testsrcappreplicationfabric
Location                     : southeastasia
Name                         : testsrcappreplicationfabric
Property                     : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.FabricModelProperties
SystemDataCreatedAt          : 8/11/2023 6:39:04 PM
SystemDataCreatedBy          : testuser@example.com
SystemDataCreatedByType      : User
SystemDataLastModifiedAt     : 8/11/2023 6:48:29 PM
SystemDataLastModifiedBy     : testuser@example.com
SystemDataLastModifiedByType : User
Tag                          : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.FabricModelTags
Type                         : Microsoft.DataReplication/replicationFabrics

Id                           : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/test-rg/providers/Microsoft.DataReplication/replicationFabrics/testtgtappreplicationfabric
Location                     : southeastasia
Name                         : testtgtappreplicationfabric
Property                     : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.FabricModelProperties
SystemDataCreatedAt          : 8/11/2023 9:16:46 PM
SystemDataCreatedBy          : testuser@example.com
SystemDataCreatedByType      : User
SystemDataLastModifiedAt     : 8/11/2023 9:16:46 PM
SystemDataLastModifiedBy     : testuser@example.com
SystemDataLastModifiedByType : User
Tag                          : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.FabricModelTags
Type                         : Microsoft.DataReplication/replicationFabrics

...

从订阅中检索所有构造。

参数

-ContinuationToken

上一次调用中的延续标记。

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

-DefaultProfile

DefaultProfile 参数不起作用。 如果对其他订阅执行 cmdlet,请使用 SubscriptionId 参数。

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

-InputObject

要构造的标识参数,请参阅 INPUTOBJECT 属性的 NOTES 部分并创建哈希表。

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

-Name

构造名称。

Type:String
Aliases:FabricName
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ResourceGroupName

资源组的名称。 此名称不区分大小写。

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

-SubscriptionId

在其中创建了迁移项目的 Azure 订阅 ID。

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

输入

IMigrateIdentity

输出

IFabricModel