Editar

Compartir a través de


Get-AzNetAppFilesVolumeQuotaRule

Gets details of an Azure NetApp Files (ANF) Volume Quouta Rule.

Syntax

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

The Get-AzNetAppFilesVolumeQuotaRule cmdlet gets details of an ANF Volume Quota Rule.

Examples

Example 1

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

This command gets the volume quota rule named MyVolumeQuotaRuleName from the Volume "MyAnfVolume".

Parameters

-AccountName

This command deletes the ANF volume quota rule "MyVolumeQuotaRuleName" .

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with Azure.

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Name

The name of the ANF Subvolume

Type:String
Aliases:SubvolumeName
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-PoolName

The name of the ANF pool

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ResourceGroupName

The resource group of the ANF VolumeQuotaRule

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ResourceId

The resource id of the ANF VolumeQuotaRule

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-VolumeName

The name of the ANF volume

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-VolumeObject

The volume object containing the VolumeQuotaRule to return

Type:PSNetAppFilesVolume
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

Inputs

String

PSNetAppFilesVolume

Outputs

PSNetAppFilesVolume