共用方式為


Get-AzNetAppFilesVolumeQuotaRule

取得 Azure NetApp Files (ANF) 磁碟區 Quouta 規則的詳細數據。

語法

Get-AzNetAppFilesVolumeQuotaRule
   -ResourceGroupName <String>
   -AccountName <String>
   -PoolName <String>
   [-VolumeName <String>]
   [-Name <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzNetAppFilesVolumeQuotaRule
   [-Name <String>]
   -VolumeObject <PSNetAppFilesVolume>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzNetAppFilesVolumeQuotaRule
   -ResourceId <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

Get-AzNetAppFilesVolumeQuotaRule Cmdlet 會取得 ANF 磁碟區配額規則的詳細數據。

範例

範例 1

Get-AzNetAppFilesVolumeQuotaRule -ResourceGroupName "MyRG" -AccountName "MyAnfAccount" -VolumeName "MyAnfVolume" -Name "MyVolumeQuotaRuleName"

此命令會從磁碟區 「MyAnfVolume」 取得名為 MyVolumeQuotaRuleName 的磁碟區配額規則。

參數

-AccountName

這個指令會移除 ANF 磁碟區配額規則 「MyVolumeQuotaRuleName」 。

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

-DefaultProfile

用於與 Azure 通訊的認證、帳戶、租用戶和訂用帳戶。

類型:IAzureContextContainer
別名:AzContext, AzureRmContext, AzureCredential
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-Name

ANF 子卷的名稱

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

-PoolName

ANF 集區的名稱

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

-ResourceGroupName

ANF VolumeQuotaRule 的資源群組

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

-ResourceId

ANF VolumeQuotaRule 的資源標識符

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

-VolumeName

ANF 磁碟區的名稱

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

-VolumeObject

包含要傳回之 VolumeQuotaRule 的 volume 物件

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

輸入

輸出