Share via


Microsoft.Quota quotas

Bicep resource definition

The quotas resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Quota/quotas resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.Quota/quotas@2025-03-15-preview' = {
  scope: resourceSymbolicName or scope
  name: 'string'
  properties: {
    limit: {
      limitObjectType: 'string'
      // For remaining properties, see LimitJsonObject objects
    }
    name: {
      value: 'string'
    }
    properties: any(...)
    resourceType: 'string'
  }
}

LimitJsonObject objects

Set the limitObjectType property to specify the type of object.

For LimitValue, use:

{
  limitObjectType: 'LimitValue'
  limitType: 'string'
  value: int
}

Property Values

Microsoft.Quota/quotas

Name Description Value
name The resource name string (required)
properties Quota properties for the specified resource, based on the API called, Quotas or Usages. QuotaProperties
scope Use when creating a resource at a scope that is different than the deployment scope. Set this property to the symbolic name of a resource to apply the extension resource.

LimitJsonObject

Name Description Value
limitObjectType Set to 'LimitValue' for type LimitObject. 'LimitValue' (required)

LimitObject

Name Description Value
limitObjectType The limit object type. 'LimitValue' (required)
limitType The quota or usages limit types. 'Independent'
'Shared'
value The quota/limit value int (required)

QuotaProperties

Name Description Value
limit Resource quota limit properties. LimitJsonObject
name Resource name provided by the resource provider. Use this property name when requesting quota. ResourceName
properties Additional properties for the specific resource provider. any
resourceType The name of the resource type. Optional field. string

ResourceName

Name Description Value
value Resource name. string

ARM template resource definition

The quotas resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Quota/quotas resource, add the following JSON to your template.

{
  "type": "Microsoft.Quota/quotas",
  "apiVersion": "2025-03-15-preview",
  "name": "string",
  "properties": {
    "limit": {
      "limitObjectType": "string"
      // For remaining properties, see LimitJsonObject objects
    },
    "name": {
      "value": "string"
    },
    "properties": {},
    "resourceType": "string"
  }
}

LimitJsonObject objects

Set the limitObjectType property to specify the type of object.

For LimitValue, use:

{
  "limitObjectType": "LimitValue",
  "limitType": "string",
  "value": "int"
}

Property Values

Microsoft.Quota/quotas

Name Description Value
apiVersion The api version '2025-03-15-preview'
name The resource name string (required)
properties Quota properties for the specified resource, based on the API called, Quotas or Usages. QuotaProperties
type The resource type 'Microsoft.Quota/quotas'

LimitJsonObject

Name Description Value
limitObjectType Set to 'LimitValue' for type LimitObject. 'LimitValue' (required)

LimitObject

Name Description Value
limitObjectType The limit object type. 'LimitValue' (required)
limitType The quota or usages limit types. 'Independent'
'Shared'
value The quota/limit value int (required)

QuotaProperties

Name Description Value
limit Resource quota limit properties. LimitJsonObject
name Resource name provided by the resource provider. Use this property name when requesting quota. ResourceName
properties Additional properties for the specific resource provider. any
resourceType The name of the resource type. Optional field. string

ResourceName

Name Description Value
value Resource name. string

Usage Examples

Terraform (AzAPI provider) resource definition

The quotas resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Quota/quotas resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Quota/quotas@2025-03-15-preview"
  name = "string"
  parent_id = "string"
  body = {
    properties = {
      limit = {
        limitObjectType = "string"
        // For remaining properties, see LimitJsonObject objects
      }
      name = {
        value = "string"
      }
      properties = ?
      resourceType = "string"
    }
  }
}

LimitJsonObject objects

Set the limitObjectType property to specify the type of object.

For LimitValue, use:

{
  limitObjectType = "LimitValue"
  limitType = "string"
  value = int
}

Property Values

Microsoft.Quota/quotas

Name Description Value
name The resource name string (required)
parent_id The ID of the resource to apply this extension resource to. string (required)
properties Quota properties for the specified resource, based on the API called, Quotas or Usages. QuotaProperties
type The resource type "Microsoft.Quota/quotas@2025-03-15-preview"

LimitJsonObject

Name Description Value
limitObjectType Set to 'LimitValue' for type LimitObject. 'LimitValue' (required)

LimitObject

Name Description Value
limitObjectType The limit object type. 'LimitValue' (required)
limitType The quota or usages limit types. 'Independent'
'Shared'
value The quota/limit value int (required)

QuotaProperties

Name Description Value
limit Resource quota limit properties. LimitJsonObject
name Resource name provided by the resource provider. Use this property name when requesting quota. ResourceName
properties Additional properties for the specific resource provider. any
resourceType The name of the resource type. Optional field. string

ResourceName

Name Description Value
value Resource name. string