Microsoft · Schema

Azure Resource Group

Represents an Azure Resource Manager resource group, which is a container that holds related resources for an Azure solution. The resource group includes resources that you want to manage as a group.

Fortune 100

Properties

Name Type Description
id string The fully qualified resource ID for the resource group
name string The name of the resource group
type string The type of the resource (Microsoft.Resources/resourceGroups)
location string The location of the resource group. It cannot be changed after creation.
managedBy stringnull The ID of the resource that manages this resource group
tags objectnull The tags attached to the resource group
properties object The resource group properties
View JSON Schema on GitHub

JSON Schema

microsoft-azure-resource-group-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://learn.microsoft.com/en-us/rest/api/schemas/microsoft/azure-resource-group.json",
  "title": "Azure Resource Group",
  "description": "Represents an Azure Resource Manager resource group, which is a container that holds related resources for an Azure solution. The resource group includes resources that you want to manage as a group.",
  "type": "object",
  "required": ["location"],
  "properties": {
    "id": {
      "type": "string",
      "description": "The fully qualified resource ID for the resource group",
      "readOnly": true
    },
    "name": {
      "type": "string",
      "description": "The name of the resource group",
      "readOnly": true,
      "pattern": "^[-\\w._()]+$",
      "maxLength": 90
    },
    "type": {
      "type": "string",
      "description": "The type of the resource (Microsoft.Resources/resourceGroups)",
      "readOnly": true
    },
    "location": {
      "type": "string",
      "description": "The location of the resource group. It cannot be changed after creation."
    },
    "managedBy": {
      "type": ["string", "null"],
      "description": "The ID of the resource that manages this resource group"
    },
    "tags": {
      "type": ["object", "null"],
      "additionalProperties": {
        "type": "string"
      },
      "description": "The tags attached to the resource group"
    },
    "properties": {
      "type": "object",
      "description": "The resource group properties",
      "properties": {
        "provisioningState": {
          "type": "string",
          "description": "The provisioning state of the resource group",
          "readOnly": true
        }
      }
    }
  }
}