[
  [
    {
      "id": "/subscriptions/subscriptionID/resourceGroups/resourceGroup1/providers/Microsoft.Test/type1/resource1",
      "name": {
        "value": "metric1"
      },
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M"
        },
        {
          "timeGrain": "PT5M"
        }
      ]
    },
    {
      "id": "/subscriptions/subscriptionID/resourceGroups/resourceGroup1/providers/Microsoft.Test/type1/resource1",
      "name": {
        "value": "metric2"
      },
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M"
        },
        {
          "timeGrain": "PT5M"
        }
      ]
    },
    {
      "id": "/subscriptions/subscriptionID/resourceGroups/resourceGroup1/providers/Microsoft.Test/type1/resource1",
      "name": {
        "value": "metric3"
      },
      "metricAvailabilities": [
        {
          "timeGrain": "PT5M"
        }
      ]
    }
  ],
  [
    {
      "id": "/subscriptions/subscriptionID/resourceGroups/resourceGroup1/providers/Microsoft.Test/type2/resource2",
      "name": {
        "value": "metric1"
      },
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M"
        },
        {
          "timeGrain": "PT5M"
        }
      ]
    },
    {
      "id": "/subscriptions/subscriptionID/resourceGroups/resourceGroup1/providers/Microsoft.Test/type2/resource2",
      "name": {
        "value": "metric2"
      },
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M"
        }
      ]
    }
  ],
  [
    {
      "id": "/subscriptions/subscriptionID/resourceGroups/resourceGroup2/providers/Microsoft.Test/type1/resource3",
      "name": {
        "value": "metric1"
      },
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M"
        },
        {
          "timeGrain": "PT5M"
        }
      ]
    },
    {
      "id": "/subscriptions/subscriptionID/resourceGroups/resourceGroup2/providers/Microsoft.Test/type1/resource3",
      "name": {
        "value": "metric2"
      },
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M"
        },
        {
          "timeGrain": "PT5M"
        }
      ]
    },
    {
      "id": "/subscriptions/subscriptionID/resourceGroups/resourceGroup2/providers/Microsoft.Test/type1/resource3",
      "name": {
        "value": "metric3"
      },
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M"
        },
        {
          "timeGrain": "PT5M"
        }
      ]
    }
  ]
]