Skip to main content

azResourceGroup

Deploy an Azure Resource Group to the relevant subscription.

Attributes

AttributeTypeMandatoryValuesDefaultNotes
NameStringYes
LocationStringYes
TagObjectNo
LockObjectNo

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"
}
]
}
]
}