你当前正在访问 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
上一次调用中的延续标记。
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-DefaultProfile
DefaultProfile 参数不起作用。 如果对其他订阅执行 cmdlet,请使用 SubscriptionId 参数。
类型: | PSObject |
别名: | AzureRMContext, AzureCredential |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-InputObject
要构造的标识参数,请参阅 INPUTOBJECT 属性的 NOTES 部分并创建哈希表。
类型: | IMigrateIdentity |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | True |
接受通配符: | False |
-Name
构造名称。
类型: | String |
别名: | FabricName |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
-ResourceGroupName
资源组的名称。 名称不区分大小写。
类型: | String |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
-SubscriptionId
在其中创建了迁移项目的 Azure 订阅 ID。
类型: | String[] |
Position: | Named |
默认值: | (Get-AzContext).Subscription.Id |
必需: | False |
接受管道输入: | False |
接受通配符: | False |