Set-AzsNetworkQuota
Create or update a quota.
Set-AzsNetworkQuota
-Name <String>
[-Location <String>]
[-SubscriptionId <String>]
[-MaxLoadBalancersPerSubscription <Int64>]
[-MaxNicsPerSubscription <Int64>]
[-MaxPublicIpsPerSubscription <Int64>]
[-MaxSecurityGroupsPerSubscription <Int64>]
[-MaxVirtualNetworkGatewayConnectionsPerSubscription <Int64>]
[-MaxVirtualNetworkGatewaysPerSubscription <Int64>]
[-MaxVnetsPerSubscription <Int64>]
[-Tag <Hashtable>]
[-DefaultProfile <PSObject>]
[-Confirm]
[-WhatIf]
[<CommonParameters>]
Set-AzsNetworkQuota
-Name <String>
-Quota \<IQuota>
[-Location <String>]
[-SubscriptionId <String>]
[-DefaultProfile <PSObject>]
[-Confirm]
[-WhatIf]
[<CommonParameters>]
Create or update a quota.
Set-AzsNetworkQuota -Name NetworkQuota1 -MaxVnetsPerSubscription 20
Update a network quota by name.
Set-AzsNetworkQuota -Name NetworkQuota1 -MaxPublicIpsPerSubscription 75 -MaxNicsPerSubscription 100
Update a network quota by name.
Prompts you for confirmation before running the cmdlet.
Type: | System.Management.Automation.SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
The credentials, account, tenant, and subscription used for communication with Azure.
Type: | System.Management.Automation.PSObject |
Aliases: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Location of the resource.
Type: | System.String |
Position: | Named |
Default value: | (Get-AzLocation)[0].Name |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Maximum number of load balancers a tenant subscription can provision.
Type: | System.Int64 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Maximum number of NICs a tenant subscription can provision.
Type: | System.Int64 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Maximum number of public IP addresses a tenant subscription can provision.
Type: | System.Int64 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Maximum number of security groups a tenant subscription can provision.
Type: | System.Int64 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Maximum number of virtual network gateway Connections a tenant subscription can provision.
Type: | System.Int64 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Maximum number of virtual network gateways a tenant subscription can provision.
Type: | System.Int64 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Maximum number of virtual networks a tenant subscription can provision.
Type: | System.Int64 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Name of the resource.
Type: | System.String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Network quota resource. To construct, see NOTES section for QUOTA properties and create a hash table.
Type: | Microsoft.Azure.PowerShell.Cmdlets.NetworkAdmin.Models.Api20150615.IQuota |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
Type: | System.String |
Position: | Named |
Default value: | (Get-AzContext).Subscription.Id |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
List of key value pairs.
Type: | System.Collections.Hashtable |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | System.Management.Automation.SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Microsoft.Azure.PowerShell.Cmdlets.NetworkAdmin.Models.Api20150615.IQuota
Microsoft.Azure.PowerShell.Cmdlets.NetworkAdmin.Models.Api20150615.IQuota
COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
QUOTA <IQuota>: Network quota resource.
[Tag \<IResourceTags>]
: List of key value pairs.[(Any) <String>]
: This indicates any property can be added to this object.
[MaxLoadBalancersPerSubscription <Int64?>]
: Maximum number of load balancers a tenant subscription can provision.[MaxNicsPerSubscription <Int64?>]
: Maximum number of NICs a tenant subscription can provision.[MaxPublicIpsPerSubscription <Int64?>]
: Maximum number of public IP addresses a tenant subscription can provision.[MaxSecurityGroupsPerSubscription <Int64?>]
: Maximum number of security groups a tenant subscription can provision.[MaxVirtualNetworkGatewayConnectionsPerSubscription <Int64?>]
: Maximum number of virtual network gateway Connections a tenant subscription can provision.[MaxVirtualNetworkGatewaysPerSubscription <Int64?>]
: Maximum number of virtual network gateways a tenant subscription can provision.[MaxVnetsPerSubscription <Int64?>]
: Maximum number of virtual networks a tenant subscription can provision.