Microsoft Azure · Capability

Microsoft Azure Microsoft.DatabaseWatcher — Targets

Microsoft Azure Microsoft.DatabaseWatcher — Targets. 4 operations. Lead operation: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Databasewatcher Watchers Watchername Targets. Self-contained Naftiko capability covering one Microsoft Azure business surface.

Run with Naftiko Microsoft AzureTargets

What You Can Do

GET
Microsoftazuretargetslistbywatcher — Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Databasewatcher Watchers Watchername Targets
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-databasewatcher/watchers/{watchername}/targets
GET
Microsoftazuretargetsget — Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Databasewatcher Watchers Watchername Targets Targetname
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-databasewatcher/watchers/{watchername}/targets/{targetname}
PUT
Microsoftazuretargetscreateorupdate — Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Databasewatcher Watchers Watchername Targets Targetname
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-databasewatcher/watchers/{watchername}/targets/{targetname}
DELETE
Microsoftazuretargetsdelete — Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Databasewatcher Watchers Watchername Targets Targetname
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-databasewatcher/watchers/{watchername}/targets/{targetname}

MCP Tools

microsoft-azure-get-subscriptions-subscriptionid

Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Databasewatcher Watchers Watchername Targets

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

Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Databasewatcher Watchers Watchername Targets Targetname

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

Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Databasewatcher Watchers Watchername Targets Targetname

idempotent
microsoft-azure-delete-subscriptions-subscriptionid

Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Databasewatcher Watchers Watchername Targets Targetname

idempotent

Capability Spec

microsoftdatabasewatcher-targets.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Azure Microsoft.DatabaseWatcher — Targets
  description: 'Microsoft Azure Microsoft.DatabaseWatcher — Targets. 4 operations. Lead operation: Microsoft Azure Get Subscriptions
    Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Databasewatcher Watchers Watchername Targets. Self-contained
    Naftiko capability covering one Microsoft Azure business surface.'
  tags:
  - Microsoft Azure
  - Targets
  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: microsoftdatabasewatcher-targets
    baseUri: https://management.azure.com
    description: Microsoft Azure Microsoft.DatabaseWatcher — Targets business capability. Self-contained, no shared references.
    resources:
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}/targets
      operations:
      - name: microsoftazuretargetslistbywatcher
        method: GET
        description: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Databasewatcher Watchers Watchername Targets
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: watcherName
          in: path
          type: string
          description: The database watcher name.
          required: true
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}/targets/{targetName}
      operations:
      - name: microsoftazuretargetsget
        method: GET
        description: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Databasewatcher Watchers Watchername Targets Targetname
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: watcherName
          in: path
          type: string
          description: The database watcher name.
          required: true
        - name: targetName
          in: path
          type: string
          description: The target resource name.
          required: true
      - name: microsoftazuretargetscreateorupdate
        method: PUT
        description: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Databasewatcher Watchers Watchername Targets Targetname
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: watcherName
          in: path
          type: string
          description: The database watcher name.
          required: true
        - name: targetName
          in: path
          type: string
          description: The target resource name.
          required: true
        - name: resource
          in: body
          type: string
          description: Resource create parameters.
          required: true
      - name: microsoftazuretargetsdelete
        method: DELETE
        description: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Databasewatcher Watchers Watchername Targets Targetname
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: watcherName
          in: path
          type: string
          description: The database watcher name.
          required: true
        - name: targetName
          in: path
          type: string
          description: The target resource name.
          required: true
  exposes:
  - type: rest
    namespace: microsoftdatabasewatcher-targets-rest
    port: 8080
    description: REST adapter for Microsoft Azure Microsoft.DatabaseWatcher — Targets. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-databasewatcher/watchers/{watchername}/targets
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: GET
        name: microsoftazuretargetslistbywatcher
        description: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Databasewatcher Watchers Watchername Targets
        call: microsoftdatabasewatcher-targets.microsoftazuretargetslistbywatcher
        with:
          watcherName: rest.watcherName
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-databasewatcher/watchers/{watchername}/targets/{targetname}
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: GET
        name: microsoftazuretargetsget
        description: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Databasewatcher Watchers Watchername Targets Targetname
        call: microsoftdatabasewatcher-targets.microsoftazuretargetsget
        with:
          watcherName: rest.watcherName
          targetName: rest.targetName
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: microsoftazuretargetscreateorupdate
        description: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Databasewatcher Watchers Watchername Targets Targetname
        call: microsoftdatabasewatcher-targets.microsoftazuretargetscreateorupdate
        with:
          watcherName: rest.watcherName
          targetName: rest.targetName
          resource: rest.resource
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: microsoftazuretargetsdelete
        description: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Databasewatcher Watchers Watchername Targets Targetname
        call: microsoftdatabasewatcher-targets.microsoftazuretargetsdelete
        with:
          watcherName: rest.watcherName
          targetName: rest.targetName
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: microsoftdatabasewatcher-targets-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Azure Microsoft.DatabaseWatcher — Targets. 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 Databasewatcher
        Watchers Watchername Targets
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoftdatabasewatcher-targets.microsoftazuretargetslistbywatcher
      with:
        watcherName: tools.watcherName
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-get-subscriptions-subscriptionid-2
      description: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Databasewatcher
        Watchers Watchername Targets Targetname
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoftdatabasewatcher-targets.microsoftazuretargetsget
      with:
        watcherName: tools.watcherName
        targetName: tools.targetName
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-put-subscriptions-subscriptionid
      description: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Databasewatcher
        Watchers Watchername Targets Targetname
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: microsoftdatabasewatcher-targets.microsoftazuretargetscreateorupdate
      with:
        watcherName: tools.watcherName
        targetName: tools.targetName
        resource: tools.resource
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-delete-subscriptions-subscriptionid
      description: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
        Databasewatcher Watchers Watchername Targets Targetname
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: microsoftdatabasewatcher-targets.microsoftazuretargetsdelete
      with:
        watcherName: tools.watcherName
        targetName: tools.targetName
      outputParameters:
      - type: object
        mapping: $.