azure::network¶
Creates a virtual network.
Example¶
azure::network network-example
name: "network-example"
resource-group: $(azure::resource-group resource-group-network-example)
address-spaces: [
"10.0.0.0/27",
"10.1.0.0/27"
]
subnet
address-prefix: "10.0.0.0/28"
name: "subnet1"
end
subnet
address-prefix: "10.0.0.16/28"
name: "subnet2"
end
tags: {
Name: "resource-group-network-example"
}
end
Attributes¶
Attribute | Description |
---|---|
name | Name of the Network. (Required) |
resource-group | The Resource Group under which the Network would reside. (Required) |
address-spaces set | Address spaces for the Network. (Required) |
subnet set subresource | Subnets for the Network.
|
tags map | The tags for the Network. |
Outputs¶
Attribute | Description |
---|---|
id | The ID of the Network. |
vm-protection-enabled | Is VM protection enabled for the Network. |
ddos-protection-enabled | Is DDos protection enabled for the Network. |
ddos-protection-plan-id | The Ddos protection ID if present for the Network. |
dns-server-i-ps set | The DNS Server IPs for the Network. |