Microsoft · Capability

Microsoft Azure REST API — Deployments

Microsoft Azure REST API — Deployments. 1 operations. Lead operation: Microsoft Create or update a deployment. Self-contained Naftiko capability covering one Microsoft business surface.

Run with Naftiko MicrosoftDeployments

What You Can Do

PUT
Createorupdatedeployment — Microsoft Create or update a deployment
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-resources/deployments/{deploymentname}

MCP Tools

microsoft-create-update-deployment

Microsoft Create or update a deployment

idempotent

Capability Spec

azure-rest-deployments.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Azure REST API — Deployments
  description: 'Microsoft Azure REST API — Deployments. 1 operations. Lead operation: Microsoft Create or update a deployment.
    Self-contained Naftiko capability covering one Microsoft business surface.'
  tags:
  - Microsoft
  - Deployments
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_API_KEY: MICROSOFT_API_KEY
capability:
  consumes:
  - type: http
    namespace: azure-rest-deployments
    baseUri: https://management.azure.com
    description: Microsoft Azure REST API — Deployments business capability. Self-contained, no shared references.
    resources:
    - name: subscriptions-subscriptionId-resourcegroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}
      operations:
      - name: createorupdatedeployment
        method: PUT
        description: Microsoft Create or update a deployment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: deploymentName
          in: path
          type: string
          description: The name of the deployment
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.MICROSOFT_API_KEY}}'
  exposes:
  - type: rest
    namespace: azure-rest-deployments-rest
    port: 8080
    description: REST adapter for Microsoft Azure REST API — Deployments. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-resources/deployments/{deploymentname}
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourcegroups-resourceGroupName-providers-Microsof.
      operations:
      - method: PUT
        name: createorupdatedeployment
        description: Microsoft Create or update a deployment
        call: azure-rest-deployments.createorupdatedeployment
        with:
          deploymentName: rest.deploymentName
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: azure-rest-deployments-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Azure REST API — Deployments. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: microsoft-create-update-deployment
      description: Microsoft Create or update a deployment
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: azure-rest-deployments.createorupdatedeployment
      with:
        deploymentName: tools.deploymentName
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.