azSubnet
Use the resource azSubnet to deploy an Azure Subnet for a Virtual Network.
Attributes
Attribute | Type | Values | Notes |
---|---|---|---|
Name | String | ||
ResourceGroupName | String | ||
VNetName | String | ||
AddressPrefix | String | ||
NetworkSecurityGroup | String | ||
RouteTable | String | ||
DelegateToService | String | ||
Lock | Lock Object | ||
Tag | Tag Hashtable |
Input by YAML
The following illustrates the full list of attributes and structure for the azSubnet resource in YAML:
azSubnet:
- Name: '<string>'
# Mandatory
ResourceGroupName: '<string>'
VNetName: '<string>'
AddressPrefix: '<string>'
# Optional
NetworkSecurityGroup: '<string>'
RouteTable: '<string>'
DelegateToService: '<string>'
Tag:
<keyvalue-pairs>
Lock:
- Name: '<string>'
Level: '<string>' # CanNotDelete, ReadOnly
Notes: '<string>'
Input by JSON
The following illustrates the full list of attributes and structure for the azSubnet resource in JSON:
{
"azSubnet": [
{
"Name": "<string>",
"ResourceGroupName": "<string>",
"VNetName": "<string>",
"AddressPrefix": "<string>",
"NetworkSecurityGroup": "<string>",
"RouteTable": "<string>",
"DelegateToService": "<string>",
"Tag": {
"<key>": "<value>"
},
"Lock": [
{
"Name": "<string>",
"Level": "<string>",
"Notes": "<string>"
}
]
}
]
}