New-​AC​SQuota

Create a new storage quota resource

Syntax

New-ACSQuota
   [[-SubscriptionId] <String>]
   [[-Token] <String>]
   [[-AdminUri] <Uri>]
   [-Location] <String>
   [-Name] <String>
   -CapacityInGB <Int32>
   [-InformationAction <ActionPreference>]
   [-InformationVariable <String>]
   -NumberOfStorageAccounts <Int32>
   [-SkipCertificateValidation]
   [-Confirm]
   [-WhatIf]
   [<CommonParameters>]

Description

Service admin can use New-ACSQuota cmdlet to create a new Storage Quota resource

Examples

Example 1:

@{paragraph=PS C:\>}



$ResourceGroup = "System"
$Location = "Redmond"
// Create a new quota resource named 'BasicStorage_Quota'
New-ACSQuota -Location $location -QuotaName "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
Type:String
Position:3
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Name

Specifies the name of the quota resource

Type:String
Position:4
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

-AdminUri
Type:Uri
Position:2
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Confirm
Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InformationAction

Specifies how this cmdlet responds to an information event.The acceptable values for this parameter are:- Continue

  • Ignore
  • Inquire
  • SilentlyContinue
  • Stop
  • Suspend
Type:ActionPreference
Aliases:infa
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InformationVariable

Specifies an information variable.

Type:String
Aliases:iv
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SkipCertificateValidation
Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SubscriptionId
Type:String
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Token
Type:String
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-WhatIf
Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Outputs

Microsoft.AzureStack.AzureConsistentStorage.Commands.QuotaResponse