vnet
Virtual Network
NetworkingAzure
General
General information about the service.
Description
Fundamental building block for private networks in Azure.
Namespace and Entity
Microsoft.Network/virtualNetworksReferences
Chat
Powered by AITalk to this service to learn more about it.
Suggested questions:
Naming
The conventions, rules, and restrictions for naming this service.
Naming Convention
vnet-Length
2-64
Valid Characters
Alphanumerics, hyphens, underscores.
Scope
resource group
Code
Deploy your infrastructure as code using your preferred tooling.
Official Documentation
terraform
1resource "azurerm_virtual_network" "main" {2 name = "vnet-${var.project}-${var.environment}-${var.location_short}"3 location = azurerm_resource_group.main.location4 resource_group_name = azurerm_resource_group.main.name5 address_space = ["10.0.0.0/16"]67 dns_servers = var.dns_servers89 tags = var.tags10}1112resource "azurerm_subnet" "default" {13 name = "snet-default"14 resource_group_name = azurerm_resource_group.main.name15 virtual_network_name = azurerm_virtual_network.main.name16 address_prefixes = ["10.0.1.0/24"]17}
Utilities
Utilities to support app deployment or configuration.