npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@datafire/azure_compute_runcommands

v5.0.0

Published

DataFire integration for RunCommandsClient

Readme

@datafire/azure_compute_runcommands

Client library for RunCommandsClient

Installation and Usage

npm install --save @datafire/azure_compute_runcommands
let azure_compute_runcommands = require('@datafire/azure_compute_runcommands').create({
  access_token: "",
  refresh_token: "",
  client_id: "",
  client_secret: "",
  redirect_uri: ""
});

.then(data => {
  console.log(data);
});

Description

The Run Commands Client.

Actions

VirtualMachineRunCommands_List

Lists all available run commands for a subscription in a location.

azure_compute_runcommands.VirtualMachineRunCommands_List({
  "location": "",
  "api-version": "",
  "subscriptionId": ""
}, context)

Input

  • input object
    • location required string: The location upon which run commands is queried.
    • api-version required string: Client Api Version.
    • subscriptionId required string: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

Output

VirtualMachineRunCommands_Get

Gets specific run command for a subscription in a location.

azure_compute_runcommands.VirtualMachineRunCommands_Get({
  "location": "",
  "commandId": "",
  "api-version": "",
  "subscriptionId": ""
}, context)

Input

  • input object
    • location required string: The location upon which run commands is queried.
    • commandId required string: The command id.
    • api-version required string: Client Api Version.
    • subscriptionId required string: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

Output

VirtualMachineScaleSetVMs_RunCommand

Run command on a virtual machine in a VM scale set.

azure_compute_runcommands.VirtualMachineScaleSetVMs_RunCommand({
  "resourceGroupName": "",
  "vmScaleSetName": "",
  "instanceId": "",
  "parameters": null,
  "api-version": "",
  "subscriptionId": ""
}, context)

Input

  • input object
    • resourceGroupName required string: The name of the resource group.
    • vmScaleSetName required string: The name of the VM scale set.
    • instanceId required string: The instance ID of the virtual machine.
    • parameters required RunCommandInput
    • api-version required string: Client Api Version.
    • subscriptionId required string: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

Output

VirtualMachines_RunCommand

Run command on the VM.

azure_compute_runcommands.VirtualMachines_RunCommand({
  "resourceGroupName": "",
  "vmName": "",
  "parameters": null,
  "api-version": "",
  "subscriptionId": ""
}, context)

Input

  • input object
    • resourceGroupName required string: The name of the resource group.
    • vmName required string: The name of the virtual machine.
    • parameters required RunCommandInput
    • api-version required string: Client Api Version.
    • subscriptionId required string: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

Output

Definitions

InstanceViewStatus

  • InstanceViewStatus object: Instance view status.
    • code string: The status code.
    • displayStatus string: The short localizable label for the status.
    • level string (values: Info, Warning, Error): The level code.
    • message string: The detailed status message, including for alerts and error messages.
    • time string: The time of the status.

RunCommandDocument

  • RunCommandDocument object: Describes the properties of a Run Command.
    • parameters array: The parameters used by the script.
    • script required array: The script to be executed.
      • items string
    • $schema required string: The VM run command schema.
    • description required string: The VM run command description.
    • id required string: The VM run command id.
    • label required string: The VM run command label.
    • osType required string (values: Windows, Linux): The Operating System type.

RunCommandDocumentBase

  • RunCommandDocumentBase object: Describes the properties of a Run Command metadata.
    • $schema required string: The VM run command schema.
    • description required string: The VM run command description.
    • id required string: The VM run command id.
    • label required string: The VM run command label.
    • osType required string (values: Windows, Linux): The Operating System type.

RunCommandInput

  • RunCommandInput object: Capture Virtual Machine parameters.
    • commandId required string: The run command id.
    • parameters array: The run command parameters.
    • script array: Optional. The script to be executed. When this value is given, the given script will override the default script of the command.
      • items string

RunCommandInputParameter

  • RunCommandInputParameter object: Describes the properties of a run command parameter.
    • name required string: The run command parameter name.
    • value required string: The run command parameter value.

RunCommandListResult

  • RunCommandListResult object: The List Virtual Machine operation response.
    • nextLink string: The uri to fetch the next page of run commands. Call ListNext() with this to fetch the next page of run commands.
    • value required array: The list of virtual machine run commands.

RunCommandParameterDefinition

  • RunCommandParameterDefinition object: Describes the properties of a run command parameter.
    • defaultValue string: The run command parameter default value.
    • name required string: The run command parameter name.
    • required boolean: The run command parameter required.
    • type required string: The run command parameter type.

RunCommandResult

  • RunCommandResult object