你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Get-AzNetAppFilesReplicationStatus
获取复制的状态
语法
Get-AzNetAppFilesReplicationStatus
-ResourceGroupName <String>
-AccountName <String>
-PoolName <String>
-Name <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzNetAppFilesReplicationStatus
-ResourceId <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzNetAppFilesReplicationStatus
-InputObject <PSNetAppFilesVolume>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
说明
获取复制的状态
示例
示例 1
Get-AzNetAppFilesReplicationStatus -ResourceGroupName "MyRG" -AccountName "MyAnfAccount" -PoolName "MyAnfPool" -VolumeName "MyVol"
Healthy : true
RelationshipStatus : Idle
MirrorState : Mirrored
TotalProgress : 1024
ErrorMessage :
此命令获取 MyVol 上的复制状态
参数
-AccountName
复制目标卷的 ANF 帐户的名称
类型: | String |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
-DefaultProfile
用于与 Azure 通信的凭据、帐户、租户和订阅。
类型: | IAzureContextContainer |
别名: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-InputObject
要获取复制状态的 ANF 复制目标卷对象
类型: | PSNetAppFilesVolume |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | True |
接受通配符: | False |
-Name
ANF 复制目标卷的名称
类型: | String |
别名: | VolumeName |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
-PoolName
复制目标卷的 ANF 池的名称
类型: | String |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
-ResourceGroupName
ANF 复制目标卷的资源组
类型: | String |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
-ResourceId
ANF 复制目标卷的资源 ID
类型: | String |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | True |
接受通配符: | False |