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_operationalinsights_clusters

v3.0.0

Published

DataFire integration for Azure Log Analytics

Readme

@datafire/azure_operationalinsights_clusters

Client library for Azure Log Analytics

Installation and Usage

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

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

Description

Azure Log Analytics API reference

Actions

Clusters_List

Gets the Log Analytics clusters in a subscription.

azure_operationalinsights_clusters.Clusters_List({
  "api-version": "",
  "subscriptionId": ""
}, context)

Input

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

Output

Clusters_ListByResourceGroup

Gets Log Analytics clusters in a resource group.

azure_operationalinsights_clusters.Clusters_ListByResourceGroup({
  "resourceGroupName": "",
  "api-version": "",
  "subscriptionId": ""
}, context)

Input

  • input object
    • resourceGroupName required string: The name of the resource group to get. The name is case insensitive.
    • api-version required string: Client Api Version.
    • subscriptionId required string: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

Output

Clusters_Delete

Deletes a cluster instance.

azure_operationalinsights_clusters.Clusters_Delete({
  "resourceGroupName": "",
  "clusterName": "",
  "api-version": "",
  "subscriptionId": ""
}, context)

Input

  • input object
    • resourceGroupName required string: The resource group name of the Log Analytics cluster.
    • clusterName required string: Name of the Log Analytics Cluster.
    • api-version required string: Client Api Version.
    • subscriptionId required string: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

Output

Output schema unknown

Clusters_Get

Gets a Log Analytics cluster instance.

azure_operationalinsights_clusters.Clusters_Get({
  "resourceGroupName": "",
  "clusterName": "",
  "api-version": "",
  "subscriptionId": ""
}, context)

Input

  • input object
    • resourceGroupName required string: The resource group name of the Log Analytics cluster.
    • clusterName required string: Name of the Log Analytics Cluster.
    • api-version required string: Client Api Version.
    • subscriptionId required string: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

Output

Clusters_Update

Updates a Log Analytics cluster.

azure_operationalinsights_clusters.Clusters_Update({
  "resourceGroupName": "",
  "clusterName": "",
  "parameters": null,
  "api-version": "",
  "subscriptionId": ""
}, context)

Input

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

Output

Clusters_CreateOrUpdate

Create or update a Log Analytics cluster.

azure_operationalinsights_clusters.Clusters_CreateOrUpdate({
  "resourceGroupName": "",
  "clusterName": "",
  "parameters": null,
  "api-version": "",
  "subscriptionId": ""
}, context)

Input

  • input object
    • resourceGroupName required string: The resource group name of the Log Analytics cluster.
    • clusterName required string: The name of the Log Analytics cluster.
    • parameters required Cluster
    • api-version required string: Client Api Version.
    • subscriptionId required string: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

Output

Definitions

Cluster

  • Cluster object: The top level Log Analytics cluster resource container.
    • identity Identity
    • properties ClusterProperties
    • id string: Resource Id
    • location string: Resource location
    • name string: Resource name
    • tags object: Resource tags
    • type string: Resource type

ClusterListResult

  • ClusterListResult object: The list clusters operation response.
    • nextLink string: The link used to get the next page of recommendations.
    • value array: A list of Log Analytics clusters.

ClusterPatch

  • ClusterPatch object: The top level Log Analytics cluster resource container.

ClusterPatchProperties

  • ClusterPatchProperties object: Log Analytics cluster patch properties.
    • encryptionKeyUri string: The Key Vault key or certificate path associated with the Log Analytics cluster.

ClusterProperties

  • ClusterProperties object: Cluster properties.
    • clusterId string: The ID associated with the cluster.
    • encryptionKeyUri string: The Key Vault key or certificate path associated with the Log Analytics cluster.
    • nextLink string: The link used to get the next page of recommendations.
    • provisioningState string (values: Creating, Succeeded, Failed, Canceled, Deleting, ProvisioningAccount): The provisioning state of the cluster.

ErrorDetails

  • ErrorDetails object: The details of the error.
    • code string: Error code.
    • message string: Error message indicating why the operation failed.
    • target string: The target of the particular error.

ErrorResponse

  • ErrorResponse object: Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message.

Identity

  • Identity object: Identity for the resource.
    • principalId string: The principal ID of resource identity.
    • tenantId string: The tenant ID of resource.
    • type required string (values: SystemAssigned, None): The identity type.

Resource

  • Resource object: The resource definition.
    • id string: Resource Id
    • location string: Resource location
    • name string: Resource name
    • tags object: Resource tags
    • type string: Resource type