Modifier

Partager via


Get-AzNetAppFilesQuotaAvailability

Check quota availability

Syntax

Get-AzNetAppFilesQuotaAvailability
   -ResourceGroupName <String>
   -Location <String>
   -Type <String>
   -Name <String>
   [-Zone <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

Check if a quota is available

Examples

Example 1

$quotaAvailability = Get-AzNetAppFilesQuotaAvailability -ResourceGroupName "MyRG" -Location "westus" -Type "Microsoft.NetApp/netAppAccounts" -Name "quotaName"

Check if a quota quotaName is available

Parameters

-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

-Location

The location of the resource

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

-Name

Name of the resource to verify

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

-ResourceGroupName

The resource group of the ANF resource

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

-Type

Resource type used for verification

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

-Zone

Logical availability zone

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

Inputs

None

Outputs

PSRegionInfo