Microsoft Azure · Capability

Microsoft Azure Metrics Advisor — Credential

Microsoft Azure Metrics Advisor — Credential. 5 operations. Lead operation: Microsoft Azure Create A New Data Source Credential. Self-contained Naftiko capability covering one Microsoft Azure business surface.

Run with Naftiko Microsoft AzureCredential

What You Can Do

POST
Microsoftazurecreatecredential — Microsoft Azure Create A New Data Source Credential
/v1/credentials
GET
Microsoftazurelistcredentials — Microsoft Azure List All Credentials
/v1/credentials
PATCH
Microsoftazureupdatecredential — Microsoft Azure Update A Data Source Credential
/v1/credentials/{credentialid}
DELETE
Microsoftazuredeletecredential — Microsoft Azure Delete A Data Source Credential
/v1/credentials/{credentialid}
GET
Microsoftazuregetcredential — Microsoft Azure Get A Data Source Credential
/v1/credentials/{credentialid}

MCP Tools

microsoft-azure-create-new-data

Microsoft Azure Create A New Data Source Credential

microsoft-azure-list-all-credentials

Microsoft Azure List All Credentials

read-only idempotent
microsoft-azure-update-data-source

Microsoft Azure Update A Data Source Credential

idempotent
microsoft-azure-delete-data-source

Microsoft Azure Delete A Data Source Credential

idempotent
microsoft-azure-get-data-source

Microsoft Azure Get A Data Source Credential

read-only idempotent

Capability Spec

metrics-advisor-credential.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Azure Metrics Advisor — Credential
  description: 'Microsoft Azure Metrics Advisor — Credential. 5 operations. Lead operation: Microsoft Azure Create A New Data
    Source Credential. Self-contained Naftiko capability covering one Microsoft Azure business surface.'
  tags:
  - Microsoft Azure
  - Credential
  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: metrics-advisor-credential
    baseUri: ''
    description: Microsoft Azure Metrics Advisor — Credential business capability. Self-contained, no shared references.
    resources:
    - name: credentials
      path: /credentials
      operations:
      - name: microsoftazurecreatecredential
        method: POST
        description: Microsoft Azure Create A New Data Source Credential
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: string
          description: Create data source credential request
          required: true
      - name: microsoftazurelistcredentials
        method: GET
        description: Microsoft Azure List All Credentials
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $skip
          in: query
          type: integer
          description: for paging, skipped number
        - name: $maxpagesize
          in: query
          type: integer
          description: the maximum number of items in one page
    - name: credentials-credentialId
      path: /credentials/{credentialId}
      operations:
      - name: microsoftazureupdatecredential
        method: PATCH
        description: Microsoft Azure Update A Data Source Credential
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: credentialId
          in: path
          type: string
          description: Data source credential unique ID
          required: true
        - name: body
          in: body
          type: string
          description: Update data source credential request
          required: true
      - name: microsoftazuredeletecredential
        method: DELETE
        description: Microsoft Azure Delete A Data Source Credential
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: credentialId
          in: path
          type: string
          description: Data source credential unique ID
          required: true
      - name: microsoftazuregetcredential
        method: GET
        description: Microsoft Azure Get A Data Source Credential
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: credentialId
          in: path
          type: string
          description: Data source credential unique ID
          required: true
  exposes:
  - type: rest
    namespace: metrics-advisor-credential-rest
    port: 8080
    description: REST adapter for Microsoft Azure Metrics Advisor — Credential. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/credentials
      name: credentials
      description: REST surface for credentials.
      operations:
      - method: POST
        name: microsoftazurecreatecredential
        description: Microsoft Azure Create A New Data Source Credential
        call: metrics-advisor-credential.microsoftazurecreatecredential
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: microsoftazurelistcredentials
        description: Microsoft Azure List All Credentials
        call: metrics-advisor-credential.microsoftazurelistcredentials
        with:
          $skip: rest.$skip
          $maxpagesize: rest.$maxpagesize
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/credentials/{credentialid}
      name: credentials-credentialid
      description: REST surface for credentials-credentialId.
      operations:
      - method: PATCH
        name: microsoftazureupdatecredential
        description: Microsoft Azure Update A Data Source Credential
        call: metrics-advisor-credential.microsoftazureupdatecredential
        with:
          credentialId: rest.credentialId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: microsoftazuredeletecredential
        description: Microsoft Azure Delete A Data Source Credential
        call: metrics-advisor-credential.microsoftazuredeletecredential
        with:
          credentialId: rest.credentialId
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: microsoftazuregetcredential
        description: Microsoft Azure Get A Data Source Credential
        call: metrics-advisor-credential.microsoftazuregetcredential
        with:
          credentialId: rest.credentialId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: metrics-advisor-credential-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Azure Metrics Advisor — Credential. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: microsoft-azure-create-new-data
      description: Microsoft Azure Create A New Data Source Credential
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: metrics-advisor-credential.microsoftazurecreatecredential
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-list-all-credentials
      description: Microsoft Azure List All Credentials
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: metrics-advisor-credential.microsoftazurelistcredentials
      with:
        $skip: tools.$skip
        $maxpagesize: tools.$maxpagesize
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-update-data-source
      description: Microsoft Azure Update A Data Source Credential
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: metrics-advisor-credential.microsoftazureupdatecredential
      with:
        credentialId: tools.credentialId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-delete-data-source
      description: Microsoft Azure Delete A Data Source Credential
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: metrics-advisor-credential.microsoftazuredeletecredential
      with:
        credentialId: tools.credentialId
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-get-data-source
      description: Microsoft Azure Get A Data Source Credential
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: metrics-advisor-credential.microsoftazuregetcredential
      with:
        credentialId: tools.credentialId
      outputParameters:
      - type: object
        mapping: $.