azResourceGroup

Use the resource azResourceGroup to deploy an Azure Resource Group to the relevant subscription.

Attributes

Attribute Type Mandatory Values Default Notes
Name String Yes
Location String Yes
Tag Object No
Lock Object No

Input by YAML

Object model for YAML deployment:

azResourceGroup:
    # Mandatory
  - Name: 'string'
    Location: 'string'
    # Optional
    Tag:
      'keyvalue-pairs'
    Lock:
      - Name: 'string'
        Level: 'string'             # CanNotDelete, ReadOnly
        Notes: 'string'

Input by JSON

Object model for JSON deployment:

{
  "azResourceGroup": [
    {
      "Name": "string",
      "Location": "string",
      "Tag": {
        "key": "value"
      },
      "Lock": [
        {
          "Name": "string",
          "Level": "string",
          "Notes": "string"
        }
      ]
    }
  ]
}