azVirtualNetwork
Use the resource azVirtualNetwork to deploy an Azure Virtual Network to the relevant subscription.
Attributes
Attribute | Type | Mandatory | Values | Default | Notes |
---|---|---|---|---|---|
Name | String | ||||
ResourceGroupName | String | ||||
Location | String | ||||
AddressPrefix | String | ||||
DdosProtectionPlan | String | ||||
Peering | Object | ||||
Tag | Object | ||||
Lock | Object |
Peering
Attribute | Type | Mandatory | Values | Default | Notes |
---|---|---|---|---|---|
Name | String | ||||
VNet | String | ||||
ResourceGroupName | String |
Input by YAML
Object model for YAML deployment:
azVirtualNetwork:
# Mandatory
- Name: 'string'
ResourceGroupName: 'string'
Location: 'string'
AddressPrefix: 'string'
# Optional
DdosProtectionPlan: 'string'
Peering:
- Name: 'string'
VNet: 'string'
ResourceGroupName: 'string'
Tag:
'keyvalue-pairs'
Lock:
- Name: 'string'
Level: 'string' # CanNotDelete, ReadOnly
Notes: 'string'
Input by JSON
Object model for JSON deployment:
{
"azVirtualNetwork": [
{
"Name": "string",
"ResourceGroupName": "string",
"Location": "string",
"AddressPrefix": "string",
"DdosProtectionPlan": "string",
"Peering": [
{
"Name": "string",
"VNet": "string",
"ResourceGroupName": "string"
}
],
"Tag": {
"key": "value"
},
"Lock": [
{
"Name": "string",
"Level": "string",
"Notes": "string"
}
]
}
]
}