Get-AzNetAppFilesVolume
取得 Azure NetApp Files (ANF) 磁碟區的詳細數據。
語法
Get-AzNetAppFilesVolume
-ResourceGroupName <String>
-AccountName <String>
-PoolName <String>
[-Name <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzNetAppFilesVolume
[-Name <String>]
-PoolObject <PSNetAppFilesPool>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzNetAppFilesVolume
-ResourceId <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Get-AzNetAppFilesVolume Cmdlet 會取得 ANF 磁碟區的詳細數據。
範例
範例 1:取得 ANF 磁碟區
Get-AzNetAppFilesVolume -ResourceGroupName "MyRG" -AccountName "MyAnfAccount" -PoolName "MyAnfPool" -Name "MyAnfVolume"
ResourceGroupName : MyRG
Location : westus2
Id : /subscriptions/subsId/resourceGroups/MyRG/providers/Microsoft.NetApp/netAppAccounts/MyAnfAccount/capacityPools/MyAnfPool/volumes/MyAnfVolume
Name : MyAnfAccount/MyAnfPool/MyAnfVolume
Type : Microsoft.NetApp/netAppAccounts/capacityPools/volumes
Tags :
FileSystemId : 3e2773a7-2a72-d003-0637-1a8b1fa3eaaf
CreationToken :
ServiceLevel : Premium
UsageThreshold : 1099511627776
ProvisioningState : Succeeded
SubnetId : /subscriptions/subsId/resourceGroups/MyRG/providers/Microsoft.Network/virtualNetworks/MyRG-vnet/subnets/default
此命令會從集區 「MyAnfPool」 取得名為 MyAnfVolume 的磁碟區。
參數
-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 |
必要: | False |
接受管線輸入: | 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 |
輸入
輸出
相關連結
- New-AzNetAppFilesVolume
- Update-AzNetAppFilesVolume
- Remove-AzNetAppFilesVolume
- Restore-AzNetAppFilesVolume
- Set-AzNetAppFilesVolumePool
- Get-AzNetAppFilesVolumeBackupStatus
- Get-AzNetAppFilesVolumeRestoreStatus
- Approve-AzNetAppFilesReplication
- Initialize-AzNetAppFilesReplication
- Resume-AzNetAppFilesReplication
- Remove-AzNetAppFilesReplication