Dela via


Get-AzNetAppFilesVolumeQuotaRule

Hämtar information om en Azure NetApp Files -volym quouta-regel (ANF).

Syntax

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

Description

Cmdleten Get-AzNetAppFilesVolumeQuotaRule hämtar information om en ANF-volymkvotregel.

Exempel

Exempel 1

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

Det här kommandot hämtar volymkvotregeln med namnet MyVolumeQuotaRuleName från volymen "MyAnfVolume".

Parametrar

-AccountName

Det här kommandot tar bort ANF-volymkvotregeln "MyVolumeQuotaRuleName" .

Typ:String
Position:Named
standardvärde:None
Obligatorisk:True
Accept pipeline input:False
Accept wildcard characters:False

-DefaultProfile

Autentiseringsuppgifter, konto, klientorganisation och prenumeration som används för kommunikation med Azure.

Typ:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
standardvärde:None
Obligatorisk:False
Accept pipeline input:False
Accept wildcard characters:False

-Name

Namnet på ANF-delmängden

Typ:String
Aliases:SubvolumeName
Position:Named
standardvärde:None
Obligatorisk:False
Accept pipeline input:False
Accept wildcard characters:False

-PoolName

Namnet på ANF-poolen

Typ:String
Position:Named
standardvärde:None
Obligatorisk:True
Accept pipeline input:False
Accept wildcard characters:False

-ResourceGroupName

Resursgruppen för ANF VolumeQuotaRule

Typ:String
Position:Named
standardvärde:None
Obligatorisk:True
Accept pipeline input:False
Accept wildcard characters:False

-ResourceId

Resurs-ID för ANF VolumeQuotaRule

Typ:String
Position:Named
standardvärde:None
Obligatorisk:True
Accept pipeline input:True
Accept wildcard characters:False

-VolumeName

Namnet på ANF-volymen

Typ:String
Position:Named
standardvärde:None
Obligatorisk:False
Accept pipeline input:False
Accept wildcard characters:False

-VolumeObject

Volymobjektet som innehåller VolumeQuotaRule som ska returneras

Typ:PSNetAppFilesVolume
Position:Named
standardvärde:None
Obligatorisk:True
Accept pipeline input:True
Accept wildcard characters:False

Indata

String

PSNetAppFilesVolume

Utdata

PSNetAppFilesVolume