Azure Networking · Capability

Azure Networking Azure Virtual Networks API — Virtual Networks

Azure Networking Azure Virtual Networks API — Virtual Networks. 5 operations. Lead operation: Azure Networking List all virtual networks. Self-contained Naftiko capability covering one Microsoft Azure Networking business surface.

Run with Naftiko Microsoft Azure NetworkingVirtual Networks

What You Can Do

GET
Virtualnetworkslistall — Azure Networking List all virtual networks
/v1/subscriptions/{subscriptionid}/providers/microsoft-network/virtualnetworks
GET
Virtualnetworkslist — Azure Networking List virtual networks
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-network/virtualnetworks
GET
Virtualnetworksget — Azure Networking Get virtual network
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-network/virtualnetworks/{virtualnetworkname}
PUT
Virtualnetworkscreateorupdate — Azure Networking Create or update virtual network
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-network/virtualnetworks/{virtualnetworkname}
DELETE
Virtualnetworksdelete — Azure Networking Delete virtual network
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-network/virtualnetworks/{virtualnetworkname}

MCP Tools

azure-networking-list-all-virtual

Azure Networking List all virtual networks

read-only idempotent
azure-networking-list-virtual-networks

Azure Networking List virtual networks

read-only idempotent
azure-networking-get-virtual-network

Azure Networking Get virtual network

read-only idempotent
azure-networking-create-update-virtual

Azure Networking Create or update virtual network

idempotent
azure-networking-delete-virtual-network

Azure Networking Delete virtual network

idempotent

Capability Spec

azure-networking-virtual-networks-virtual-networks.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Azure Networking Azure Virtual Networks API — Virtual Networks
  description: 'Azure Networking Azure Virtual Networks API — Virtual Networks. 5 operations. Lead operation: Azure Networking
    List all virtual networks. Self-contained Naftiko capability covering one Microsoft Azure Networking business surface.'
  tags:
  - Microsoft Azure Networking
  - Virtual Networks
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_AZURE_NETWORKING_API_KEY: MICROSOFT_AZURE_NETWORKING_API_KEY
capability:
  consumes:
  - type: http
    namespace: azure-networking-virtual-networks-virtual-networks
    baseUri: https://management.azure.com
    description: Azure Networking Azure Virtual Networks API — Virtual Networks business capability. Self-contained, no shared
      references.
    resources:
    - name: subscriptions-subscriptionId-providers-Microsoft.Network-virtualNetworks
      path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualNetworks
      operations:
      - name: virtualnetworkslistall
        method: GET
        description: Azure Networking List all virtual networks
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks
      operations:
      - name: virtualnetworkslist
        method: GET
        description: Azure Networking List virtual networks
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}
      operations:
      - name: virtualnetworksget
        method: GET
        description: Azure Networking Get virtual network
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: virtualnetworkscreateorupdate
        method: PUT
        description: Azure Networking Create or update virtual network
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: virtualnetworksdelete
        method: DELETE
        description: Azure Networking Delete virtual network
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.MICROSOFT_AZURE_NETWORKING_API_KEY}}'
  exposes:
  - type: rest
    namespace: azure-networking-virtual-networks-virtual-networks-rest
    port: 8080
    description: REST adapter for Azure Networking Azure Virtual Networks API — Virtual Networks. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/subscriptions/{subscriptionid}/providers/microsoft-network/virtualnetworks
      name: subscriptions-subscriptionid-providers-microsoft-network-virtualnetworks
      description: REST surface for subscriptions-subscriptionId-providers-Microsoft.Network-virtualNetworks.
      operations:
      - method: GET
        name: virtualnetworkslistall
        description: Azure Networking List all virtual networks
        call: azure-networking-virtual-networks-virtual-networks.virtualnetworkslistall
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-network/virtualnetworks
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: GET
        name: virtualnetworkslist
        description: Azure Networking List virtual networks
        call: azure-networking-virtual-networks-virtual-networks.virtualnetworkslist
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-network/virtualnetworks/{virtualnetworkname}
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: GET
        name: virtualnetworksget
        description: Azure Networking Get virtual network
        call: azure-networking-virtual-networks-virtual-networks.virtualnetworksget
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: virtualnetworkscreateorupdate
        description: Azure Networking Create or update virtual network
        call: azure-networking-virtual-networks-virtual-networks.virtualnetworkscreateorupdate
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: virtualnetworksdelete
        description: Azure Networking Delete virtual network
        call: azure-networking-virtual-networks-virtual-networks.virtualnetworksdelete
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: azure-networking-virtual-networks-virtual-networks-mcp
    port: 9090
    transport: http
    description: MCP adapter for Azure Networking Azure Virtual Networks API — Virtual Networks. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: azure-networking-list-all-virtual
      description: Azure Networking List all virtual networks
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: azure-networking-virtual-networks-virtual-networks.virtualnetworkslistall
      outputParameters:
      - type: object
        mapping: $.
    - name: azure-networking-list-virtual-networks
      description: Azure Networking List virtual networks
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: azure-networking-virtual-networks-virtual-networks.virtualnetworkslist
      outputParameters:
      - type: object
        mapping: $.
    - name: azure-networking-get-virtual-network
      description: Azure Networking Get virtual network
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: azure-networking-virtual-networks-virtual-networks.virtualnetworksget
      outputParameters:
      - type: object
        mapping: $.
    - name: azure-networking-create-update-virtual
      description: Azure Networking Create or update virtual network
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: azure-networking-virtual-networks-virtual-networks.virtualnetworkscreateorupdate
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: azure-networking-delete-virtual-network
      description: Azure Networking Delete virtual network
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: azure-networking-virtual-networks-virtual-networks.virtualnetworksdelete
      outputParameters:
      - type: object
        mapping: $.