Edit

Share via


New-AzQuotaLimitObject

Create an in-memory object for LimitObject.

Syntax

Default (Default)

New-AzQuotaLimitObject
    -Value <Int32>
    [-LimitType <String>]
    [<CommonParameters>]

Description

Create an in-memory object for LimitObject.

Examples

Example 1: Create an in-memory object for LimitValue

New-AzQuotaLimitObject -Value 1003
LimitObjectType LimitType Value
--------------- --------- -----
LimitValue                1003

This command create an in-memory object for LimitValue as value of the parameter Limit in the New/Update-AzQuota cmdlet.

Parameters

-LimitType

The quota or usages limit types.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Value

The quota/limit value.

Parameter properties

Type:Int32
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

LimitObject