Microsoft Azure · Capability

Microsoft Azure NetworkResourceProviderClient — Subnets

Microsoft Azure NetworkResourceProviderClient — Subnets. 4 operations. Lead operation: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network Virtualnetworks Virtualnetworkname Subnets. Self-contained Naftiko capability covering one Microsoft Azure business surface.

Run with Naftiko Microsoft AzureSubnets

What You Can Do

GET
Microsoftazuresubnetslist — Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network Virtualnetworks Virtualnetworkname Subnets
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-network/virtualnetworks/{virtualnetworkname}/subnets
DELETE
Microsoftazuresubnetsdelete — Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network Virtualnetworks Virtualnetworkname Subnets Subnetname
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-network/virtualnetworks/{virtualnetworkname}/subnets/{subnetname}
GET
Microsoftazuresubnetsget — Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network Virtualnetworks Virtualnetworkname Subnets Subnetname
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-network/virtualnetworks/{virtualnetworkname}/subnets/{subnetname}
PUT
Microsoftazuresubnetscreateorupdate — Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network Virtualnetworks Virtualnetworkname Subnets Subnetname
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-network/virtualnetworks/{virtualnetworkname}/subnets/{subnetname}

MCP Tools

microsoft-azure-get-subscriptions-subscriptionid

Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network Virtualnetworks Virtualnetworkname Subnets

read-only idempotent
microsoft-azure-delete-subscriptions-subscriptionid

Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network Virtualnetworks Virtualnetworkname Subnets Subnetname

idempotent
microsoft-azure-get-subscriptions-subscriptionid-2

Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network Virtualnetworks Virtualnetworkname Subnets Subnetname

read-only idempotent
microsoft-azure-put-subscriptions-subscriptionid

Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network Virtualnetworks Virtualnetworkname Subnets Subnetname

idempotent

Capability Spec

networkresourceproviderclient-subnets.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Azure NetworkResourceProviderClient — Subnets
  description: 'Microsoft Azure NetworkResourceProviderClient — Subnets. 4 operations. Lead operation: Microsoft Azure Get
    Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network Virtualnetworks Virtualnetworkname
    Subnets. Self-contained Naftiko capability covering one Microsoft Azure business surface.'
  tags:
  - Microsoft Azure
  - Subnets
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_AZURE_API_KEY: MICROSOFT_AZURE_API_KEY
capability:
  consumes:
  - type: http
    namespace: networkresourceproviderclient-subnets
    baseUri: https://management.azure.com
    description: Microsoft Azure NetworkResourceProviderClient — Subnets business capability. Self-contained, no shared references.
    resources:
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualnetworks/{virtualNetworkName}/subnets
      operations:
      - name: microsoftazuresubnetslist
        method: GET
        description: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Network Virtualnetworks Virtualnetworkname Subnets
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: resourceGroupName
          in: path
          type: string
          description: The name of the resource group.
          required: true
        - name: virtualNetworkName
          in: path
          type: string
          description: The name of the virtual network.
          required: true
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualnetworks/{virtualNetworkName}/subnets/{subnetName}
      operations:
      - name: microsoftazuresubnetsdelete
        method: DELETE
        description: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Network Virtualnetworks Virtualnetworkname Subnets Subnetname
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: resourceGroupName
          in: path
          type: string
          description: The name of the resource group.
          required: true
        - name: virtualNetworkName
          in: path
          type: string
          description: The name of the virtual network.
          required: true
        - name: subnetName
          in: path
          type: string
          description: The name of the subnet.
          required: true
      - name: microsoftazuresubnetsget
        method: GET
        description: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Network Virtualnetworks Virtualnetworkname Subnets Subnetname
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: resourceGroupName
          in: path
          type: string
          description: The name of the resource group.
          required: true
        - name: virtualNetworkName
          in: path
          type: string
          description: The name of the virtual network.
          required: true
        - name: subnetName
          in: path
          type: string
          description: The name of the subnet.
          required: true
      - name: microsoftazuresubnetscreateorupdate
        method: PUT
        description: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Network Virtualnetworks Virtualnetworkname Subnets Subnetname
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: resourceGroupName
          in: path
          type: string
          description: The name of the resource group.
          required: true
        - name: virtualNetworkName
          in: path
          type: string
          description: The name of the virtual network.
          required: true
        - name: subnetName
          in: path
          type: string
          description: The name of the subnet.
          required: true
        - name: subnetParameters
          in: body
          type: string
          description: Parameters supplied to the create/update Subnet operation
          required: true
  exposes:
  - type: rest
    namespace: networkresourceproviderclient-subnets-rest
    port: 8080
    description: REST adapter for Microsoft Azure NetworkResourceProviderClient — Subnets. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-network/virtualnetworks/{virtualnetworkname}/subnets
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: GET
        name: microsoftazuresubnetslist
        description: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Network Virtualnetworks Virtualnetworkname Subnets
        call: networkresourceproviderclient-subnets.microsoftazuresubnetslist
        with:
          resourceGroupName: rest.resourceGroupName
          virtualNetworkName: rest.virtualNetworkName
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-network/virtualnetworks/{virtualnetworkname}/subnets/{subnetname}
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: DELETE
        name: microsoftazuresubnetsdelete
        description: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Network Virtualnetworks Virtualnetworkname Subnets Subnetname
        call: networkresourceproviderclient-subnets.microsoftazuresubnetsdelete
        with:
          resourceGroupName: rest.resourceGroupName
          virtualNetworkName: rest.virtualNetworkName
          subnetName: rest.subnetName
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: microsoftazuresubnetsget
        description: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Network Virtualnetworks Virtualnetworkname Subnets Subnetname
        call: networkresourceproviderclient-subnets.microsoftazuresubnetsget
        with:
          resourceGroupName: rest.resourceGroupName
          virtualNetworkName: rest.virtualNetworkName
          subnetName: rest.subnetName
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: microsoftazuresubnetscreateorupdate
        description: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Network Virtualnetworks Virtualnetworkname Subnets Subnetname
        call: networkresourceproviderclient-subnets.microsoftazuresubnetscreateorupdate
        with:
          resourceGroupName: rest.resourceGroupName
          virtualNetworkName: rest.virtualNetworkName
          subnetName: rest.subnetName
          subnetParameters: rest.subnetParameters
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: networkresourceproviderclient-subnets-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Azure NetworkResourceProviderClient — Subnets. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: microsoft-azure-get-subscriptions-subscriptionid
      description: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network
        Virtualnetworks Virtualnetworkname Subnets
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: networkresourceproviderclient-subnets.microsoftazuresubnetslist
      with:
        resourceGroupName: tools.resourceGroupName
        virtualNetworkName: tools.virtualNetworkName
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-delete-subscriptions-subscriptionid
      description: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
        Network Virtualnetworks Virtualnetworkname Subnets Subnetname
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: networkresourceproviderclient-subnets.microsoftazuresubnetsdelete
      with:
        resourceGroupName: tools.resourceGroupName
        virtualNetworkName: tools.virtualNetworkName
        subnetName: tools.subnetName
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-get-subscriptions-subscriptionid-2
      description: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network
        Virtualnetworks Virtualnetworkname Subnets Subnetname
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: networkresourceproviderclient-subnets.microsoftazuresubnetsget
      with:
        resourceGroupName: tools.resourceGroupName
        virtualNetworkName: tools.virtualNetworkName
        subnetName: tools.subnetName
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-put-subscriptions-subscriptionid
      description: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network
        Virtualnetworks Virtualnetworkname Subnets Subnetname
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: networkresourceproviderclient-subnets.microsoftazuresubnetscreateorupdate
      with:
        resourceGroupName: tools.resourceGroupName
        virtualNetworkName: tools.virtualNetworkName
        subnetName: tools.subnetName
        subnetParameters: tools.subnetParameters
      outputParameters:
      - type: object
        mapping: $.