共用方式為


Get-AzNetAppFilesVolumeRestoreStatus

取得磁碟區的還原狀態

語法

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

Description

Get-AzNetAppFilesVolumeRestoreStatus CmdLet 會從磁碟區的備份取得還原的狀態

範例

範例 1

Get-AzNetAppFilesVolumeRestoreStatus -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

-InputObject

要取得還原狀態的磁碟區物件

類型: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

-PoolObject

包含要傳回還原狀態之磁碟區的集區物件

類型:PSNetAppFilesPool
Position:Named
預設值:None
必要:True
接受管線輸入:True
接受萬用字元:False

-ResourceGroupName

ANF 磁碟區的資源群組

類型:String
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-ResourceId

ANF 磁碟區的資源標識碼

類型:String
Position:Named
預設值:None
必要:True
接受管線輸入:True
接受萬用字元:False

輸入

String

PSNetAppFilesPool

PSNetAppFilesVolume

輸出

PSNetAppFilesVolumeRestoreStatus