Set-​AC​SQuota

Updates an existing Storage quota resource

Syntax

Set-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 Set-ACSQuota cmdlet to update an existing Storage Quota resource.

Examples

Example 1:

@{paragraph=PS C:\>}



$ResourceGroup = "System"
$Location = "Redmond"
// Get an existing quota resource named 'BasicStorage_Quota' and Update its NumberOfStorageAccounts property
Get-ACSQuota -Location $Location | Set-ACSQuota -Location $location -NumberOfStorageAccounts 40

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 location of the quota resource.

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

Specifies the name of the quota resource. If not specified all quota resources are returned for a given Location.

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