Skip to main content

Virtual Networks

List Virtual Networks

Retrieve all virtual networks across subscriptions

Response

value
array
Array of virtual network objects
subscriptionId
string
Azure subscription ID
resourceGroup
string
Resource group name
network
string
Virtual network name
subnets
array
List of subnet names within the VNet

Error Responses

Status Codes:
  • 401 - Unauthorized
  • 500 - Internal server error

Create Virtual Network

Create a new virtual network

Request Body

subscriptionId
string
required
Azure subscription ID
vnetName
string
required
Virtual network name
rgName
string
required
Resource group name
location
string
required
Azure region (e.g., “westeurope”, “eastus”)

Response

message
string
Success message with VNet name and location

VNet Configuration

  • Address Space: 10.0.0.0/16 (default)

Error Responses

Status Codes:
  • 200 - Virtual network created
  • 400 - Missing required parameters
  • 401 - Unauthorized
  • 500 - Internal server error

Subnets

Create Subnet

Create a new subnet within a virtual network

Request Body

subscriptionId
string
required
Azure subscription ID
rgName
string
required
Resource group name
vnetName
string
required
Virtual network name
subnetName
string
required
Subnet name
addressPrefix
string
default:"10.0.1.0/24"
CIDR address prefix for the subnet

Response

message
string
Success message with subnet and VNet names
subnet
string
Created subnet name

Error Responses

Status Codes:
  • 200 - Subnet created successfully
  • 400 - Missing required parameters
  • 401 - Unauthorized
  • 500 - Internal server error

Network Security

Network Security Groups (NSGs) and other advanced networking features can be managed through the Azure portal or Azure CLI. The Multi-Cloud Manager focuses on core networking resources.

Build docs developers (and LLMs) love