naftiko: 1.0.0-alpha2 info: label: Azure Virtual Network REST API — Virtual Networks description: 'Azure Virtual Network REST API — Virtual Networks. 6 operations. Lead operation: Azure Virtual Network REST API List by subscription. 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: microsoft-azure-networking-virtual-networks baseUri: https://management.azure.com description: Azure Virtual Network REST 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: listvirtualnetworksbysubscription method: GET description: Azure Virtual Network REST API List by subscription 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: listvirtualnetworksbyresourcegroup method: GET description: Azure Virtual Network REST API List by resource group outputRawFormat: json outputParameters: - name: result type: object value: $. - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{name} operations: - name: getvirtualnetworks method: GET description: Azure Virtual Network REST API Get resource outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createorupdatevirtualnetworks method: PUT description: Azure Virtual Network REST API Create or update resource outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: updatevirtualnetworks method: PATCH description: Azure Virtual Network REST API Update resource outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deletevirtualnetworks method: DELETE description: Azure Virtual Network REST API Delete resource outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.MICROSOFT_AZURE_NETWORKING_API_KEY}}' exposes: - type: rest namespace: microsoft-azure-networking-virtual-networks-rest port: 8080 description: REST adapter for Azure Virtual Network REST 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: listvirtualnetworksbysubscription description: Azure Virtual Network REST API List by subscription call: microsoft-azure-networking-virtual-networks.listvirtualnetworksbysubscription 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: listvirtualnetworksbyresourcegroup description: Azure Virtual Network REST API List by resource group call: microsoft-azure-networking-virtual-networks.listvirtualnetworksbyresourcegroup outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-network/virtualnetworks/{name} name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof. operations: - method: GET name: getvirtualnetworks description: Azure Virtual Network REST API Get resource call: microsoft-azure-networking-virtual-networks.getvirtualnetworks outputParameters: - type: object mapping: $. - method: PUT name: createorupdatevirtualnetworks description: Azure Virtual Network REST API Create or update resource call: microsoft-azure-networking-virtual-networks.createorupdatevirtualnetworks with: body: rest.body outputParameters: - type: object mapping: $. - method: PATCH name: updatevirtualnetworks description: Azure Virtual Network REST API Update resource call: microsoft-azure-networking-virtual-networks.updatevirtualnetworks with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletevirtualnetworks description: Azure Virtual Network REST API Delete resource call: microsoft-azure-networking-virtual-networks.deletevirtualnetworks outputParameters: - type: object mapping: $. - type: mcp namespace: microsoft-azure-networking-virtual-networks-mcp port: 9090 transport: http description: MCP adapter for Azure Virtual Network REST API — Virtual Networks. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: azure-virtual-network-rest-api description: Azure Virtual Network REST API List by subscription hints: readOnly: true destructive: false idempotent: true call: microsoft-azure-networking-virtual-networks.listvirtualnetworksbysubscription outputParameters: - type: object mapping: $. - name: azure-virtual-network-rest-api-2 description: Azure Virtual Network REST API List by resource group hints: readOnly: true destructive: false idempotent: true call: microsoft-azure-networking-virtual-networks.listvirtualnetworksbyresourcegroup outputParameters: - type: object mapping: $. - name: azure-virtual-network-rest-api-3 description: Azure Virtual Network REST API Get resource hints: readOnly: true destructive: false idempotent: true call: microsoft-azure-networking-virtual-networks.getvirtualnetworks outputParameters: - type: object mapping: $. - name: azure-virtual-network-rest-api-4 description: Azure Virtual Network REST API Create or update resource hints: readOnly: false destructive: false idempotent: true call: microsoft-azure-networking-virtual-networks.createorupdatevirtualnetworks with: body: tools.body outputParameters: - type: object mapping: $. - name: azure-virtual-network-rest-api-5 description: Azure Virtual Network REST API Update resource hints: readOnly: false destructive: false idempotent: true call: microsoft-azure-networking-virtual-networks.updatevirtualnetworks with: body: tools.body outputParameters: - type: object mapping: $. - name: azure-virtual-network-rest-api-6 description: Azure Virtual Network REST API Delete resource hints: readOnly: false destructive: true idempotent: true call: microsoft-azure-networking-virtual-networks.deletevirtualnetworks outputParameters: - type: object mapping: $.