Get-AzNetAppFilesSnapshot
取得 Azure NetApp Files (ANF) 快照集的詳細數據。
語法
Get-AzNetAppFilesSnapshot
-ResourceGroupName <String>
-AccountName <String>
-PoolName <String>
-VolumeName <String>
[-Name <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzNetAppFilesSnapshot
[-Name <String>]
-VolumeObject <PSNetAppFilesVolume>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzNetAppFilesSnapshot
-ResourceId <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Get-AzNetAppFilesSnapshot Cmdlet 會取得 ANF 快照集的詳細數據。
範例
範例 1:取得 ANF 快照集
Get-AzNetAppFilesSnapshot -ResourceGroupName "MyRG" -AccountName "MyAnfAccount" -PoolName "MyAnfPool" -VolumeName "MyAnfVolume" -Name "MyAnfSnapshot"
ResourceGroupName : MyRG
Location : westus2
Id : /subscriptions/subsId/resourceGroups/MyRG/providers/Microsoft.NetApp/netAppAccounts/MyAnfAccount/capacityPools/MyAnfPool/volumes/MyAnfVolume/snapshots/MyAnfSnapshot
Name : MyAnfAccount/MyAnfPool/MyAnfVolume/MyAnfSnapshot
Type : Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots
Tags :
FileSystemId : 3e2773a7-2a72-d003-0637-1a8b1fa3eaaf
SnapshotId : ca7c4ebd-91cb-0e30-91f5-9154050033df
Created :
ProvisioningState : Succeeded
此命令會從磁碟區 「MyAnfVolume」 取得名為 MyAnfSnapshot 的快照集。
參數
-AccountName
ANF 帳戶的名稱
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-DefaultProfile
用於與 Azure 通訊的認證、帳戶、租用戶和訂用帳戶。
類型: | IAzureContextContainer |
別名: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-Name
ANF 快照集的名稱
類型: | String |
別名: | SnapshotName |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-PoolName
ANF 集區的名稱
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-ResourceGroupName
ANF 磁碟區的資源群組
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-ResourceId
ANF 快照集的資源標識碼
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
-VolumeName
ANF 磁碟區的名稱
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-VolumeObject
包含要傳回之快照集的磁碟區物件
類型: | PSNetAppFilesVolume |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
輸入
輸出
相關連結
- New-AzNetAppFilesSnapshot
- Remove-AzNetAppFilesSnapshot
- Get-AzNetAppFilesSnapshotPolicy
- New-AzNetAppFilesSnapshotPolicy
- Update-AzNetAppFilesSnapshotPolicy
- Remove-AzNetAppFilesSnapshotPolicy
- Set-AzNetAppFilesSnapshotPolicy
- Get-AzNetAppFilesVolume
- New-AzNetAppFilesVolume
- Update-AzNetAppFilesVolume
- Remove-AzNetAppFilesVolume