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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@datafire/azure_azsadmin_plan

v3.0.0

Published

DataFire integration for SubscriptionsManagementClient

Readme

@datafire/azure_azsadmin_plan

Client library for SubscriptionsManagementClient

Installation and Usage

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

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

Description

The Admin Subscriptions Management Client.

Actions

Plans_ListAll

List all plans across all subscriptions.

azure_azsadmin_plan.Plans_ListAll({
  "subscriptionId": "",
  "api-version": ""
}, context)

Input

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

Output

Plans_List

Get the list of plans under a resource group.

azure_azsadmin_plan.Plans_List({
  "subscriptionId": "",
  "resourceGroupName": "",
  "api-version": ""
}, context)

Input

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

Output

Plans_Delete

Delete the specified plan.

azure_azsadmin_plan.Plans_Delete({
  "subscriptionId": "",
  "resourceGroupName": "",
  "plan": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Subscription credentials which uniquely identify Microsoft Azure subscription.The subscription ID forms part of the URI for every service call.
    • resourceGroupName required string: The resource group the resource is located under.
    • plan required string: Name of the plan.
    • api-version required string: Client Api Version.

Output

Output schema unknown

Plans_Get

Get the specified plan.

azure_azsadmin_plan.Plans_Get({
  "subscriptionId": "",
  "resourceGroupName": "",
  "plan": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Subscription credentials which uniquely identify Microsoft Azure subscription.The subscription ID forms part of the URI for every service call.
    • resourceGroupName required string: The resource group the resource is located under.
    • plan required string: Name of the plan.
    • api-version required string: Client Api Version.

Output

Plans_CreateOrUpdate

Create or update the plan.

azure_azsadmin_plan.Plans_CreateOrUpdate({
  "subscriptionId": "",
  "resourceGroupName": "",
  "plan": "",
  "api-version": "",
  "newPlan": {}
}, context)

Input

  • input object
    • subscriptionId required string: Subscription credentials which uniquely identify Microsoft Azure subscription.The subscription ID forms part of the URI for every service call.
    • resourceGroupName required string: The resource group the resource is located under.
    • plan required string: Name of the plan.
    • api-version required string: Client Api Version.
    • newPlan required Plan

Output

Plans_ListMetricDefinitions

Get the metric definitions of the specified plan.

azure_azsadmin_plan.Plans_ListMetricDefinitions({
  "subscriptionId": "",
  "resourceGroupName": "",
  "plan": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Subscription credentials which uniquely identify Microsoft Azure subscription.The subscription ID forms part of the URI for every service call.
    • resourceGroupName required string: The resource group the resource is located under.
    • plan required string: Name of the plan.
    • api-version required string: Client Api Version.

Output

  • output object: List of metric definitions.
    • nextLink string: Continuation token
    • value array: Array of metric definitions.
      • items object: Metric Definition
        • metricAvailabilities array: List of metric definitions.
          • items object: Metric Definition
            • retention string: the retention. Metrics may be queried for this interval.
            • timeGrain string: The time grain. Metrics will be available for this time grain.
        • name string: Metric definition name.
        • primaryAggregationType string (values: None, Average, Total, Minimum, Maximum, Last): The primary aggregation type for resource metric.
        • unit string (values: Count, Bytes, Seconds, CountPerSecond, BytesPerSecond): The resource metric unit.

Plans_ListMetrics

Get the metrics of the specified plan.

azure_azsadmin_plan.Plans_ListMetrics({
  "subscriptionId": "",
  "resourceGroupName": "",
  "plan": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Subscription credentials which uniquely identify Microsoft Azure subscription.The subscription ID forms part of the URI for every service call.
    • resourceGroupName required string: The resource group the resource is located under.
    • plan required string: Name of the plan.
    • api-version required string: Client Api Version.

Output

  • output object: List of metrics.
    • nextLink string: Continuation token
    • value array: List of metrics.
      • items object: The resource metric set that represents the metrics for a particular resource.
        • endTime string: End time of the metric.
        • metricUnit string (values: Count, Bytes, Seconds, CountPerSecond, BytesPerSecond): The resource metric unit.
        • metricValues array: List of metric values.
          • items object: Metric value
            • average number: Average value for metric sample period.
            • count integer: Number of measurements for metric sample period.
            • maximum number: Maximum value for metric sample period.
            • minimum number: Minimum value for metric sample period.
            • properties object: Extended properties.
            • timeStamp string: Timestamp of when the metric value was collected.
            • total number: Total value for metric sample period.
        • startTime string: Start time of the metric.
        • timeGrain string: Timespan of the metric.

Definitions

Plan

  • Plan object: A plan represents a package of quotas and capabilities that are offered tenants. A tenant can acquire this plan through an offer to upgrade his access to underlying cloud services.
    • properties PlanProperties
    • id string: URI of the resource.
    • location string: Location of the resource
    • name string: Name of the resource.
    • tags object: List of key-value pairs.
    • type string: Type of resource.

PlanList

  • PlanList object: List of plans
    • nextLink string: Continuation token
    • value array: Array of plans.

PlanProperties

  • PlanProperties object: Properties of a plan.
    • description string: Description of the plan.
    • displayName string: Display name.
    • externalReferenceId string: External reference identifier.
    • name string: Name of the plan.
    • quotaIds array: Quota identifiers under the plan.
      • items string
    • skuIds array: SKU identifiers.
      • items string
    • subscriptionCount integer: Subscription count.