Microsoft Azure · Capability

Microsoft Azure PolicyClient — Variables

Microsoft Azure PolicyClient — Variables. 8 operations. Lead operation: Microsoft Azure Retrieves All Variables That Are At This Management Group Level. Self-contained Naftiko capability covering one Microsoft Azure business surface.

Run with Naftiko Microsoft AzureVariables

What You Can Do

GET
Microsoftazurevariableslistformanagementgroup — Microsoft Azure Retrieves All Variables That Are At This Management Group Level
/v1/providers/microsoft-management/managementgroups/{managementgroupid}/providers/microsoft-authorization/variables
DELETE
Microsoftazurevariablesdeleteatmanagementgroup — Microsoft Azure Deletes A Variable
/v1/providers/microsoft-management/managementgroups/{managementgroupid}/providers/microsoft-authorization/variables/{variablename}
PUT
Microsoftazurevariablescreateorupdateatmanagementgroup — Microsoft Azure Creates Or Updates A Variable
/v1/providers/microsoft-management/managementgroups/{managementgroupid}/providers/microsoft-authorization/variables/{variablename}
GET
Microsoftazurevariablesgetatmanagementgroup — Microsoft Azure Retrieves A Variable
/v1/providers/microsoft-management/managementgroups/{managementgroupid}/providers/microsoft-authorization/variables/{variablename}
GET
Microsoftazurevariableslist — Microsoft Azure Retrieves All Variables That Are At This Subscription Level
/v1/subscriptions/{subscriptionid}/providers/microsoft-authorization/variables
DELETE
Microsoftazurevariablesdelete — Microsoft Azure Deletes A Variable
/v1/subscriptions/{subscriptionid}/providers/microsoft-authorization/variables/{variablename}
PUT
Microsoftazurevariablescreateorupdate — Microsoft Azure Creates Or Updates A Variable
/v1/subscriptions/{subscriptionid}/providers/microsoft-authorization/variables/{variablename}
GET
Microsoftazurevariablesget — Microsoft Azure Retrieves A Variable
/v1/subscriptions/{subscriptionid}/providers/microsoft-authorization/variables/{variablename}

MCP Tools

microsoft-azure-retrieves-all-variables

Microsoft Azure Retrieves All Variables That Are At This Management Group Level

read-only idempotent
microsoft-azure-deletes-variable

Microsoft Azure Deletes A Variable

idempotent
microsoft-azure-creates-updates-variable

Microsoft Azure Creates Or Updates A Variable

idempotent
microsoft-azure-retrieves-variable

Microsoft Azure Retrieves A Variable

read-only idempotent
microsoft-azure-retrieves-all-variables-2

Microsoft Azure Retrieves All Variables That Are At This Subscription Level

read-only idempotent
microsoft-azure-deletes-variable-2

Microsoft Azure Deletes A Variable

idempotent
microsoft-azure-creates-updates-variable-2

Microsoft Azure Creates Or Updates A Variable

idempotent
microsoft-azure-retrieves-variable-2

Microsoft Azure Retrieves A Variable

read-only idempotent

Capability Spec

policyclient-variables.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Azure PolicyClient — Variables
  description: 'Microsoft Azure PolicyClient — Variables. 8 operations. Lead operation: Microsoft Azure Retrieves All Variables
    That Are At This Management Group Level. Self-contained Naftiko capability covering one Microsoft Azure business surface.'
  tags:
  - Microsoft Azure
  - Variables
  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: policyclient-variables
    baseUri: https://management.azure.com
    description: Microsoft Azure PolicyClient — Variables business capability. Self-contained, no shared references.
    resources:
    - name: providers-Microsoft.Management-managementGroups-managementGroupId-providers-Micr
      path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/variables
      operations:
      - name: microsoftazurevariableslistformanagementgroup
        method: GET
        description: Microsoft Azure Retrieves All Variables That Are At This Management Group Level
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: providers-Microsoft.Management-managementGroups-managementGroupId-providers-Micr
      path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/variables/{variableName}
      operations:
      - name: microsoftazurevariablesdeleteatmanagementgroup
        method: DELETE
        description: Microsoft Azure Deletes A Variable
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: microsoftazurevariablescreateorupdateatmanagementgroup
        method: PUT
        description: Microsoft Azure Creates Or Updates A Variable
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: parameters
          in: body
          type: string
          description: Parameters for the variable.
          required: true
      - name: microsoftazurevariablesgetatmanagementgroup
        method: GET
        description: Microsoft Azure Retrieves A Variable
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: subscriptions-subscriptionId-providers-Microsoft.Authorization-variables
      path: /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/variables
      operations:
      - name: microsoftazurevariableslist
        method: GET
        description: Microsoft Azure Retrieves All Variables That Are At This Subscription Level
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: subscriptions-subscriptionId-providers-Microsoft.Authorization-variables-variabl
      path: /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/variables/{variableName}
      operations:
      - name: microsoftazurevariablesdelete
        method: DELETE
        description: Microsoft Azure Deletes A Variable
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: microsoftazurevariablescreateorupdate
        method: PUT
        description: Microsoft Azure Creates Or Updates A Variable
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: parameters
          in: body
          type: string
          description: Parameters for the variable.
          required: true
      - name: microsoftazurevariablesget
        method: GET
        description: Microsoft Azure Retrieves A Variable
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: policyclient-variables-rest
    port: 8080
    description: REST adapter for Microsoft Azure PolicyClient — Variables. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/providers/microsoft-management/managementgroups/{managementgroupid}/providers/microsoft-authorization/variables
      name: providers-microsoft-management-managementgroups-managementgroupid-providers-micr
      description: REST surface for providers-Microsoft.Management-managementGroups-managementGroupId-providers-Micr.
      operations:
      - method: GET
        name: microsoftazurevariableslistformanagementgroup
        description: Microsoft Azure Retrieves All Variables That Are At This Management Group Level
        call: policyclient-variables.microsoftazurevariableslistformanagementgroup
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/providers/microsoft-management/managementgroups/{managementgroupid}/providers/microsoft-authorization/variables/{variablename}
      name: providers-microsoft-management-managementgroups-managementgroupid-providers-micr
      description: REST surface for providers-Microsoft.Management-managementGroups-managementGroupId-providers-Micr.
      operations:
      - method: DELETE
        name: microsoftazurevariablesdeleteatmanagementgroup
        description: Microsoft Azure Deletes A Variable
        call: policyclient-variables.microsoftazurevariablesdeleteatmanagementgroup
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: microsoftazurevariablescreateorupdateatmanagementgroup
        description: Microsoft Azure Creates Or Updates A Variable
        call: policyclient-variables.microsoftazurevariablescreateorupdateatmanagementgroup
        with:
          parameters: rest.parameters
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: microsoftazurevariablesgetatmanagementgroup
        description: Microsoft Azure Retrieves A Variable
        call: policyclient-variables.microsoftazurevariablesgetatmanagementgroup
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/providers/microsoft-authorization/variables
      name: subscriptions-subscriptionid-providers-microsoft-authorization-variables
      description: REST surface for subscriptions-subscriptionId-providers-Microsoft.Authorization-variables.
      operations:
      - method: GET
        name: microsoftazurevariableslist
        description: Microsoft Azure Retrieves All Variables That Are At This Subscription Level
        call: policyclient-variables.microsoftazurevariableslist
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/providers/microsoft-authorization/variables/{variablename}
      name: subscriptions-subscriptionid-providers-microsoft-authorization-variables-variabl
      description: REST surface for subscriptions-subscriptionId-providers-Microsoft.Authorization-variables-variabl.
      operations:
      - method: DELETE
        name: microsoftazurevariablesdelete
        description: Microsoft Azure Deletes A Variable
        call: policyclient-variables.microsoftazurevariablesdelete
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: microsoftazurevariablescreateorupdate
        description: Microsoft Azure Creates Or Updates A Variable
        call: policyclient-variables.microsoftazurevariablescreateorupdate
        with:
          parameters: rest.parameters
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: microsoftazurevariablesget
        description: Microsoft Azure Retrieves A Variable
        call: policyclient-variables.microsoftazurevariablesget
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: policyclient-variables-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Azure PolicyClient — Variables. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: microsoft-azure-retrieves-all-variables
      description: Microsoft Azure Retrieves All Variables That Are At This Management Group Level
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: policyclient-variables.microsoftazurevariableslistformanagementgroup
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-deletes-variable
      description: Microsoft Azure Deletes A Variable
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: policyclient-variables.microsoftazurevariablesdeleteatmanagementgroup
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-creates-updates-variable
      description: Microsoft Azure Creates Or Updates A Variable
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: policyclient-variables.microsoftazurevariablescreateorupdateatmanagementgroup
      with:
        parameters: tools.parameters
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-retrieves-variable
      description: Microsoft Azure Retrieves A Variable
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: policyclient-variables.microsoftazurevariablesgetatmanagementgroup
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-retrieves-all-variables-2
      description: Microsoft Azure Retrieves All Variables That Are At This Subscription Level
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: policyclient-variables.microsoftazurevariableslist
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-deletes-variable-2
      description: Microsoft Azure Deletes A Variable
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: policyclient-variables.microsoftazurevariablesdelete
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-creates-updates-variable-2
      description: Microsoft Azure Creates Or Updates A Variable
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: policyclient-variables.microsoftazurevariablescreateorupdate
      with:
        parameters: tools.parameters
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-retrieves-variable-2
      description: Microsoft Azure Retrieves A Variable
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: policyclient-variables.microsoftazurevariablesget
      outputParameters:
      - type: object
        mapping: $.