New-​Azs​Storage​Quota

Creates a Storage quota resource in the specified location.

Syntax

New-AzsStorageQuota
   -CapacityInGB <Int32>
   [-Confirm]
   -Location <String>
   -Name <String>
   -NumberOfStorageAccounts <Int32>
   [-SkipCertificateValidation]
   [-WhatIf]
   [<CommonParameters>]

Description

The New-AzsStorageQuota cmdlet creates a Storage quota resource in the specified location.

Examples

Example 1

New-ACSQuota -Location "Redmond" -Name "BasicStorage_Quota" -NumberOfStorageAccounts 20  -CapacityInGB 500

Required Parameters

-CapacityInGB

Specifies the value for maximum capacity that a tenant can use who subscribes to this quota resource.

Type:Int32
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Location

Specifies the geolocation of the quota resource.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Name

Specifies the name of the quota resource that this cmdlet creates.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-NumberOfStorageAccounts

Specifies the value for maximum number of storage accounts that a tenant can create who subscribes to this quota resource.

Type:Int32
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SkipCertificateValidation

Indicates that the cmdlet does not validate the certificate.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False