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

Get-AzNetAppFilesVolumeReplication

获取卷的副本 (replica)

语法

Get-AzNetAppFilesVolumeReplication
   -ResourceGroupName <String>
   -AccountName <String>
   -PoolName <String>
   -Name <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzNetAppFilesVolumeReplication
   -ResourceId <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzNetAppFilesVolumeReplication
   -PoolObject <PSNetAppFilesPool>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

说明

Get-AzNetAppFilesVolumeRestoreStatus cmdLet 获取卷的复制

示例

示例 1

Get-AzNetAppFilesVolumeReplication -ResourceGroupName MyGroup -AccountName MyAccount -PoolName MyPool -Name MyVolume

此命令获取名为“MyVolume”的卷的复制。

参数

-AccountName

ANF 帐户的名称

类型:String
Position:Named
默认值:None
必需:True
接受管道输入:False
接受通配符:False

-DefaultProfile

用于与 Azure 通信的凭据、帐户、租户和订阅。

类型:IAzureContextContainer
别名:AzContext, AzureRmContext, AzureCredential
Position:Named
默认值:None
必需:False
接受管道输入:False
接受通配符:False

-Name

ANF 卷的名称

类型:String
别名:VolumeName
Position:Named
默认值:None
必需:True
接受管道输入:False
接受通配符:False

-PoolName

ANF 池的名称

类型:String
Position:Named
默认值:None
必需:True
接受管道输入:False
接受通配符:False

-PoolObject

包含要返回的卷的池对象

类型:PSNetAppFilesPool
Position:Named
默认值:None
必需:True
接受管道输入:True
接受通配符:False

-ResourceGroupName

ANF 卷的资源组

类型:String
Position:Named
默认值:None
必需:True
接受管道输入:False
接受通配符:False

-ResourceId

ANF 卷的资源 ID

类型:String
Position:Named
默认值:None
必需:True
接受管道输入:True
接受通配符:False

输入

String

PSNetAppFilesPool

输出

PSNetAppFilesVolume