Microsoft Azure · Capability

Microsoft Azure Purview Metadata Policies Service REST API Document — MetadataPolicy

Microsoft Azure Purview Metadata Policies Service REST API Document — MetadataPolicy. 3 operations. Lead operation: Microsoft Azure Get Metadatapolicies. Self-contained Naftiko capability covering one Microsoft Azure business surface.

Run with Naftiko Microsoft AzureMetadataPolicy

What You Can Do

GET
Microsoftazuremetadatapolicylistall — Microsoft Azure Get Metadatapolicies
/v1/metadatapolicies
PUT
Microsoftazuremetadatapolicyupdate — Microsoft Azure Put Metadatapolicies Policyid
/v1/metadatapolicies/{policyid}
GET
Microsoftazuremetadatapolicyget — Microsoft Azure Get Metadatapolicies Policyid
/v1/metadatapolicies/{policyid}

MCP Tools

microsoft-azure-get-metadatapolicies

Microsoft Azure Get Metadatapolicies

read-only idempotent
microsoft-azure-put-metadatapolicies-policyid

Microsoft Azure Put Metadatapolicies Policyid

idempotent
microsoft-azure-get-metadatapolicies-policyid

Microsoft Azure Get Metadatapolicies Policyid

read-only idempotent

Capability Spec

purview-metadata-policies-service-rest-api-document-metadatapolicy.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Azure Purview Metadata Policies Service REST API Document — MetadataPolicy
  description: 'Microsoft Azure Purview Metadata Policies Service REST API Document — MetadataPolicy. 3 operations. Lead operation:
    Microsoft Azure Get Metadatapolicies. Self-contained Naftiko capability covering one Microsoft Azure business surface.'
  tags:
  - Microsoft Azure
  - MetadataPolicy
  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: purview-metadata-policies-service-rest-api-document-metadatapolicy
    baseUri: ''
    description: Microsoft Azure Purview Metadata Policies Service REST API Document — MetadataPolicy business capability.
      Self-contained, no shared references.
    resources:
    - name: metadataPolicies
      path: /metadataPolicies
      operations:
      - name: microsoftazuremetadatapolicylistall
        method: GET
        description: Microsoft Azure Get Metadatapolicies
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: collectionName
          in: query
          type: string
          description: The name of an existing collection for which one policy needs to be fetched.
    - name: metadataPolicies-policyId
      path: /metadataPolicies/{policyId}
      operations:
      - name: microsoftazuremetadatapolicyupdate
        method: PUT
        description: Microsoft Azure Put Metadatapolicies Policyid
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: policyId
          in: path
          type: string
          description: Unique policy id.
          required: true
        - name: body
          in: body
          type: string
          description: Policy to be updated.
      - name: microsoftazuremetadatapolicyget
        method: GET
        description: Microsoft Azure Get Metadatapolicies Policyid
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: policyId
          in: path
          type: string
          description: Id of an existing policy that needs to be fetched.
          required: true
  exposes:
  - type: rest
    namespace: purview-metadata-policies-service-rest-api-document-metadatapolicy-rest
    port: 8080
    description: REST adapter for Microsoft Azure Purview Metadata Policies Service REST API Document — MetadataPolicy. One
      Spectral-compliant resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/metadatapolicies
      name: metadatapolicies
      description: REST surface for metadataPolicies.
      operations:
      - method: GET
        name: microsoftazuremetadatapolicylistall
        description: Microsoft Azure Get Metadatapolicies
        call: purview-metadata-policies-service-rest-api-document-metadatapolicy.microsoftazuremetadatapolicylistall
        with:
          collectionName: rest.collectionName
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/metadatapolicies/{policyid}
      name: metadatapolicies-policyid
      description: REST surface for metadataPolicies-policyId.
      operations:
      - method: PUT
        name: microsoftazuremetadatapolicyupdate
        description: Microsoft Azure Put Metadatapolicies Policyid
        call: purview-metadata-policies-service-rest-api-document-metadatapolicy.microsoftazuremetadatapolicyupdate
        with:
          policyId: rest.policyId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: microsoftazuremetadatapolicyget
        description: Microsoft Azure Get Metadatapolicies Policyid
        call: purview-metadata-policies-service-rest-api-document-metadatapolicy.microsoftazuremetadatapolicyget
        with:
          policyId: rest.policyId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: purview-metadata-policies-service-rest-api-document-metadatapolicy-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Azure Purview Metadata Policies Service REST API Document — MetadataPolicy. One
      tool per consumed operation, routed inline through this capability's consumes block.
    tools:
    - name: microsoft-azure-get-metadatapolicies
      description: Microsoft Azure Get Metadatapolicies
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: purview-metadata-policies-service-rest-api-document-metadatapolicy.microsoftazuremetadatapolicylistall
      with:
        collectionName: tools.collectionName
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-put-metadatapolicies-policyid
      description: Microsoft Azure Put Metadatapolicies Policyid
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: purview-metadata-policies-service-rest-api-document-metadatapolicy.microsoftazuremetadatapolicyupdate
      with:
        policyId: tools.policyId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-get-metadatapolicies-policyid
      description: Microsoft Azure Get Metadatapolicies Policyid
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: purview-metadata-policies-service-rest-api-document-metadatapolicy.microsoftazuremetadatapolicyget
      with:
        policyId: tools.policyId
      outputParameters:
      - type: object
        mapping: $.