New-AzQuotaLimitObject

Create an in-memory object for LimitObject.

Syntax

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.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Value

The quota/limit value.

Type:Int32
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

Outputs

LimitObject