Microsoft Azure · Capability

Microsoft Azure RunCommandsClient — VirtualMachineScaleSetVMRunCommands

Microsoft Azure RunCommandsClient — VirtualMachineScaleSetVMRunCommands. 5 operations. Lead operation: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Compute Virtualmachinescalesets Vmscalesetname Virtualmachines Instanceid Runcommands. Self-contained Naftiko capability covering one Microsoft Azure business surface.

Run with Naftiko Microsoft AzureVirtualMachineScaleSetVMRunCommands

What You Can Do

GET
Microsoftazurevirtualmachinescalesetvmruncommandslist — Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Compute Virtualmachinescalesets Vmscalesetname Virtualmachines Instanceid Runcommands
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-compute/virtualmachinescalesets/{vmscalesetname}/virtualmachines/{instanceid}/runcommands
PUT
Microsoftazurevirtualmachinescalesetvmruncommandscreateorupdate — Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Compute Virtualmachinescalesets Vmscalesetname Virtualmachines Instanceid Runcommands Runcommandname
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-compute/virtualmachinescalesets/{vmscalesetname}/virtualmachines/{instanceid}/runcommands/{runcommandname}
PATCH
Microsoftazurevirtualmachinescalesetvmruncommandsupdate — Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Compute Virtualmachinescalesets Vmscalesetname Virtualmachines Instanceid Runcommands Runcommandname
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-compute/virtualmachinescalesets/{vmscalesetname}/virtualmachines/{instanceid}/runcommands/{runcommandname}
DELETE
Microsoftazurevirtualmachinescalesetvmruncommandsdelete — Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Compute Virtualmachinescalesets Vmscalesetname Virtualmachines Instanceid Runcommands Runcommandname
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-compute/virtualmachinescalesets/{vmscalesetname}/virtualmachines/{instanceid}/runcommands/{runcommandname}
GET
Microsoftazurevirtualmachinescalesetvmruncommandsget — Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Compute Virtualmachinescalesets Vmscalesetname Virtualmachines Instanceid Runcommands Runcommandname
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-compute/virtualmachinescalesets/{vmscalesetname}/virtualmachines/{instanceid}/runcommands/{runcommandname}

MCP Tools

microsoft-azure-get-subscriptions-subscriptionid

Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Compute Virtualmachinescalesets Vmscalesetname Virtualmachines Instanceid Runcommands

read-only idempotent
microsoft-azure-put-subscriptions-subscriptionid

Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Compute Virtualmachinescalesets Vmscalesetname Virtualmachines Instanceid Runcommands Runcommandname

idempotent
microsoft-azure-patch-subscriptions-subscriptionid

Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Compute Virtualmachinescalesets Vmscalesetname Virtualmachines Instanceid Runcommands Runcommandname

idempotent
microsoft-azure-delete-subscriptions-subscriptionid

Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Compute Virtualmachinescalesets Vmscalesetname Virtualmachines Instanceid Runcommands Runcommandname

idempotent
microsoft-azure-get-subscriptions-subscriptionid-2

Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Compute Virtualmachinescalesets Vmscalesetname Virtualmachines Instanceid Runcommands Runcommandname

read-only idempotent

Capability Spec

runcommandsclient-virtualmachinescalesetvmruncommands.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Azure RunCommandsClient — VirtualMachineScaleSetVMRunCommands
  description: 'Microsoft Azure RunCommandsClient — VirtualMachineScaleSetVMRunCommands. 5 operations. Lead operation: Microsoft
    Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Compute Virtualmachinescalesets
    Vmscalesetname Virtualmachines Instanceid Runcommands. Self-contained Naftiko capability covering one Microsoft Azure
    business surface.'
  tags:
  - Microsoft Azure
  - VirtualMachineScaleSetVMRunCommands
  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: runcommandsclient-virtualmachinescalesetvmruncommands
    baseUri: https://management.azure.com
    description: Microsoft Azure RunCommandsClient — VirtualMachineScaleSetVMRunCommands business capability. Self-contained,
      no shared references.
    resources:
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/runCommands
      operations:
      - name: microsoftazurevirtualmachinescalesetvmruncommandslist
        method: GET
        description: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Compute Virtualmachinescalesets Vmscalesetname Virtualmachines Instanceid Runcommands
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: resourceGroupName
          in: path
          type: string
          description: The name of the resource group.
          required: true
        - name: vmScaleSetName
          in: path
          type: string
          description: The name of the VM scale set.
          required: true
        - name: instanceId
          in: path
          type: string
          description: The instance ID of the virtual machine.
          required: true
        - name: $expand
          in: query
          type: string
          description: The expand expression to apply on the operation.
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/runCommands/{runCommandName}
      operations:
      - name: microsoftazurevirtualmachinescalesetvmruncommandscreateorupdate
        method: PUT
        description: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Compute Virtualmachinescalesets Vmscalesetname Virtualmachines Instanceid Runcommands Runcommandname
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: resourceGroupName
          in: path
          type: string
          description: The name of the resource group.
          required: true
        - name: vmScaleSetName
          in: path
          type: string
          description: The name of the VM scale set.
          required: true
        - name: instanceId
          in: path
          type: string
          description: The instance ID of the virtual machine.
          required: true
        - name: runCommandName
          in: path
          type: string
          description: The name of the virtual machine run command.
          required: true
        - name: runCommand
          in: body
          type: string
          description: Parameters supplied to the Create Virtual Machine RunCommand operation.
          required: true
      - name: microsoftazurevirtualmachinescalesetvmruncommandsupdate
        method: PATCH
        description: Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Compute Virtualmachinescalesets Vmscalesetname Virtualmachines Instanceid Runcommands Runcommandname
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: resourceGroupName
          in: path
          type: string
          description: The name of the resource group.
          required: true
        - name: vmScaleSetName
          in: path
          type: string
          description: The name of the VM scale set.
          required: true
        - name: instanceId
          in: path
          type: string
          description: The instance ID of the virtual machine.
          required: true
        - name: runCommandName
          in: path
          type: string
          description: The name of the virtual machine run command.
          required: true
        - name: runCommand
          in: body
          type: string
          description: Parameters supplied to the Update Virtual Machine RunCommand operation.
          required: true
      - name: microsoftazurevirtualmachinescalesetvmruncommandsdelete
        method: DELETE
        description: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Compute Virtualmachinescalesets Vmscalesetname Virtualmachines Instanceid Runcommands Runcommandname
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: resourceGroupName
          in: path
          type: string
          description: The name of the resource group.
          required: true
        - name: vmScaleSetName
          in: path
          type: string
          description: The name of the VM scale set.
          required: true
        - name: instanceId
          in: path
          type: string
          description: The instance ID of the virtual machine.
          required: true
        - name: runCommandName
          in: path
          type: string
          description: The name of the virtual machine run command.
          required: true
      - name: microsoftazurevirtualmachinescalesetvmruncommandsget
        method: GET
        description: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Compute Virtualmachinescalesets Vmscalesetname Virtualmachines Instanceid Runcommands Runcommandname
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: resourceGroupName
          in: path
          type: string
          description: The name of the resource group.
          required: true
        - name: vmScaleSetName
          in: path
          type: string
          description: The name of the VM scale set.
          required: true
        - name: instanceId
          in: path
          type: string
          description: The instance ID of the virtual machine.
          required: true
        - name: runCommandName
          in: path
          type: string
          description: The name of the virtual machine run command.
          required: true
        - name: $expand
          in: query
          type: string
          description: The expand expression to apply on the operation.
  exposes:
  - type: rest
    namespace: runcommandsclient-virtualmachinescalesetvmruncommands-rest
    port: 8080
    description: REST adapter for Microsoft Azure RunCommandsClient — VirtualMachineScaleSetVMRunCommands. One Spectral-compliant
      resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-compute/virtualmachinescalesets/{vmscalesetname}/virtualmachines/{instanceid}/runcommands
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: GET
        name: microsoftazurevirtualmachinescalesetvmruncommandslist
        description: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Compute Virtualmachinescalesets Vmscalesetname Virtualmachines Instanceid Runcommands
        call: runcommandsclient-virtualmachinescalesetvmruncommands.microsoftazurevirtualmachinescalesetvmruncommandslist
        with:
          resourceGroupName: rest.resourceGroupName
          vmScaleSetName: rest.vmScaleSetName
          instanceId: rest.instanceId
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-compute/virtualmachinescalesets/{vmscalesetname}/virtualmachines/{instanceid}/runcommands/{runcommandname}
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: PUT
        name: microsoftazurevirtualmachinescalesetvmruncommandscreateorupdate
        description: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Compute Virtualmachinescalesets Vmscalesetname Virtualmachines Instanceid Runcommands Runcommandname
        call: runcommandsclient-virtualmachinescalesetvmruncommands.microsoftazurevirtualmachinescalesetvmruncommandscreateorupdate
        with:
          resourceGroupName: rest.resourceGroupName
          vmScaleSetName: rest.vmScaleSetName
          instanceId: rest.instanceId
          runCommandName: rest.runCommandName
          runCommand: rest.runCommand
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: microsoftazurevirtualmachinescalesetvmruncommandsupdate
        description: Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Compute Virtualmachinescalesets Vmscalesetname Virtualmachines Instanceid Runcommands Runcommandname
        call: runcommandsclient-virtualmachinescalesetvmruncommands.microsoftazurevirtualmachinescalesetvmruncommandsupdate
        with:
          resourceGroupName: rest.resourceGroupName
          vmScaleSetName: rest.vmScaleSetName
          instanceId: rest.instanceId
          runCommandName: rest.runCommandName
          runCommand: rest.runCommand
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: microsoftazurevirtualmachinescalesetvmruncommandsdelete
        description: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Compute Virtualmachinescalesets Vmscalesetname Virtualmachines Instanceid Runcommands Runcommandname
        call: runcommandsclient-virtualmachinescalesetvmruncommands.microsoftazurevirtualmachinescalesetvmruncommandsdelete
        with:
          resourceGroupName: rest.resourceGroupName
          vmScaleSetName: rest.vmScaleSetName
          instanceId: rest.instanceId
          runCommandName: rest.runCommandName
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: microsoftazurevirtualmachinescalesetvmruncommandsget
        description: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
          Compute Virtualmachinescalesets Vmscalesetname Virtualmachines Instanceid Runcommands Runcommandname
        call: runcommandsclient-virtualmachinescalesetvmruncommands.microsoftazurevirtualmachinescalesetvmruncommandsget
        with:
          resourceGroupName: rest.resourceGroupName
          vmScaleSetName: rest.vmScaleSetName
          instanceId: rest.instanceId
          runCommandName: rest.runCommandName
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: runcommandsclient-virtualmachinescalesetvmruncommands-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Azure RunCommandsClient — VirtualMachineScaleSetVMRunCommands. One tool per consumed
      operation, routed inline through this capability's consumes block.
    tools:
    - name: microsoft-azure-get-subscriptions-subscriptionid
      description: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Compute
        Virtualmachinescalesets Vmscalesetname Virtualmachines Instanceid Runcommands
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: runcommandsclient-virtualmachinescalesetvmruncommands.microsoftazurevirtualmachinescalesetvmruncommandslist
      with:
        resourceGroupName: tools.resourceGroupName
        vmScaleSetName: tools.vmScaleSetName
        instanceId: tools.instanceId
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-put-subscriptions-subscriptionid
      description: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Compute
        Virtualmachinescalesets Vmscalesetname Virtualmachines Instanceid Runcommands Runcommandname
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: runcommandsclient-virtualmachinescalesetvmruncommands.microsoftazurevirtualmachinescalesetvmruncommandscreateorupdate
      with:
        resourceGroupName: tools.resourceGroupName
        vmScaleSetName: tools.vmScaleSetName
        instanceId: tools.instanceId
        runCommandName: tools.runCommandName
        runCommand: tools.runCommand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-patch-subscriptions-subscriptionid
      description: Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
        Compute Virtualmachinescalesets Vmscalesetname Virtualmachines Instanceid Runcommands Runcommandname
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: runcommandsclient-virtualmachinescalesetvmruncommands.microsoftazurevirtualmachinescalesetvmruncommandsupdate
      with:
        resourceGroupName: tools.resourceGroupName
        vmScaleSetName: tools.vmScaleSetName
        instanceId: tools.instanceId
        runCommandName: tools.runCommandName
        runCommand: tools.runCommand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-delete-subscriptions-subscriptionid
      description: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft
        Compute Virtualmachinescalesets Vmscalesetname Virtualmachines Instanceid Runcommands Runcommandname
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: runcommandsclient-virtualmachinescalesetvmruncommands.microsoftazurevirtualmachinescalesetvmruncommandsdelete
      with:
        resourceGroupName: tools.resourceGroupName
        vmScaleSetName: tools.vmScaleSetName
        instanceId: tools.instanceId
        runCommandName: tools.runCommandName
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-get-subscriptions-subscriptionid-2
      description: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Compute
        Virtualmachinescalesets Vmscalesetname Virtualmachines Instanceid Runcommands Runcommandname
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: runcommandsclient-virtualmachinescalesetvmruncommands.microsoftazurevirtualmachinescalesetvmruncommandsget
      with:
        resourceGroupName: tools.resourceGroupName
        vmScaleSetName: tools.vmScaleSetName
        instanceId: tools.instanceId
        runCommandName: tools.runCommandName
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.