Microsoft Azure · Capability

Microsoft Azure Azure Cosmos DB for PostgreSQL — ClusterOperations

Microsoft Azure Azure Cosmos DB for PostgreSQL — ClusterOperations. 4 operations. Lead operation: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Dbforpostgresql Servergroupsv2 Clustername Promote. Self-contained Naftiko capability covering one Microsoft Azure business surface.

Run with Naftiko Microsoft AzureClusterOperations

What You Can Do

POST
Microsoftazureclusterspromotereadreplica — Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Dbforpostgresql Servergroupsv2 Clustername Promote
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-dbforpostgresql/servergroupsv2/{clustername}/promote
POST
Microsoftazureclustersrestart — Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Dbforpostgresql Servergroupsv2 Clustername Restart
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-dbforpostgresql/servergroupsv2/{clustername}/restart
POST
Microsoftazureclustersstart — Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Dbforpostgresql Servergroupsv2 Clustername Start
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-dbforpostgresql/servergroupsv2/{clustername}/start
POST
Microsoftazureclustersstop — Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Dbforpostgresql Servergroupsv2 Clustername Stop
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-dbforpostgresql/servergroupsv2/{clustername}/stop

MCP Tools

microsoft-azure-post-subscriptions-subscriptionid

Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Dbforpostgresql Servergroupsv2 Clustername Promote

microsoft-azure-post-subscriptions-subscriptionid-2

Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Dbforpostgresql Servergroupsv2 Clustername Restart

microsoft-azure-post-subscriptions-subscriptionid-3

Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Dbforpostgresql Servergroupsv2 Clustername Start

microsoft-azure-post-subscriptions-subscriptionid-4

Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Dbforpostgresql Servergroupsv2 Clustername Stop

Capability Spec

azure-cosmos-db-for-postgresql-clusteroperations.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Azure Azure Cosmos DB for PostgreSQL — ClusterOperations
  description: 'Microsoft Azure Azure Cosmos DB for PostgreSQL — ClusterOperations. 4 operations. Lead operation: Microsoft
    Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Dbforpostgresql Servergroupsv2
    Clustername Promote. Self-contained Naftiko capability covering one Microsoft Azure business surface.'
  tags:
  - Microsoft Azure
  - ClusterOperations
  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: azure-cosmos-db-for-postgresql-clusteroperations
    baseUri: https://management.azure.com
    description: Microsoft Azure Azure Cosmos DB for PostgreSQL — ClusterOperations business capability. Self-contained, no
      shared references.
    resources:
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/promote
      operations:
      - name: microsoftazureclusterspromotereadreplica
        method: POST
        description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Dbforpostgresql Servergroupsv2 Clustername Promote
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: promoteRequest
          in: body
          type: string
          description: The parameter for enabling geo-redundant backup while promoting read replica.
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/restart
      operations:
      - name: microsoftazureclustersrestart
        method: POST
        description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Dbforpostgresql Servergroupsv2 Clustername Restart
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/start
      operations:
      - name: microsoftazureclustersstart
        method: POST
        description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Dbforpostgresql Servergroupsv2 Clustername Start
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/stop
      operations:
      - name: microsoftazureclustersstop
        method: POST
        description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Dbforpostgresql Servergroupsv2 Clustername Stop
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: azure-cosmos-db-for-postgresql-clusteroperations-rest
    port: 8080
    description: REST adapter for Microsoft Azure Azure Cosmos DB for PostgreSQL — ClusterOperations. One Spectral-compliant
      resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-dbforpostgresql/servergroupsv2/{clustername}/promote
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: POST
        name: microsoftazureclusterspromotereadreplica
        description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Dbforpostgresql Servergroupsv2 Clustername Promote
        call: azure-cosmos-db-for-postgresql-clusteroperations.microsoftazureclusterspromotereadreplica
        with:
          promoteRequest: rest.promoteRequest
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-dbforpostgresql/servergroupsv2/{clustername}/restart
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: POST
        name: microsoftazureclustersrestart
        description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Dbforpostgresql Servergroupsv2 Clustername Restart
        call: azure-cosmos-db-for-postgresql-clusteroperations.microsoftazureclustersrestart
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-dbforpostgresql/servergroupsv2/{clustername}/start
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: POST
        name: microsoftazureclustersstart
        description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Dbforpostgresql Servergroupsv2 Clustername Start
        call: azure-cosmos-db-for-postgresql-clusteroperations.microsoftazureclustersstart
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-dbforpostgresql/servergroupsv2/{clustername}/stop
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: POST
        name: microsoftazureclustersstop
        description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Dbforpostgresql Servergroupsv2 Clustername Stop
        call: azure-cosmos-db-for-postgresql-clusteroperations.microsoftazureclustersstop
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: azure-cosmos-db-for-postgresql-clusteroperations-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Azure Azure Cosmos DB for PostgreSQL — ClusterOperations. One tool per consumed
      operation, routed inline through this capability's consumes block.
    tools:
    - name: microsoft-azure-post-subscriptions-subscriptionid
      description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
        Dbforpostgresql Servergroupsv2 Clustername Promote
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: azure-cosmos-db-for-postgresql-clusteroperations.microsoftazureclusterspromotereadreplica
      with:
        promoteRequest: tools.promoteRequest
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-post-subscriptions-subscriptionid-2
      description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
        Dbforpostgresql Servergroupsv2 Clustername Restart
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: azure-cosmos-db-for-postgresql-clusteroperations.microsoftazureclustersrestart
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-post-subscriptions-subscriptionid-3
      description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
        Dbforpostgresql Servergroupsv2 Clustername Start
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: azure-cosmos-db-for-postgresql-clusteroperations.microsoftazureclustersstart
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-post-subscriptions-subscriptionid-4
      description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
        Dbforpostgresql Servergroupsv2 Clustername Stop
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: azure-cosmos-db-for-postgresql-clusteroperations.microsoftazureclustersstop
      outputParameters:
      - type: object
        mapping: $.