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_azsadmin_shares

v3.0.0

Published

DataFire integration for StorageManagementClient

Readme

@datafire/azure_azsadmin_shares

Client library for StorageManagementClient

Installation and Usage

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

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

Description

The Admin Storage Management Client.

Actions

Shares_List

Returns a list of storage shares.

azure_azsadmin_shares.Shares_List({
  "subscriptionId": "",
  "resourceGroupName": "",
  "farmId": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Subscription Id.
    • resourceGroupName required string: Resource group name.
    • farmId required string: Farm Id.
    • api-version required string: REST Api Version.

Output

Shares_Get

Returns a storage share.

azure_azsadmin_shares.Shares_Get({
  "subscriptionId": "",
  "resourceGroupName": "",
  "farmId": "",
  "shareName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Subscription Id.
    • resourceGroupName required string: Resource group name.
    • farmId required string: Farm Id.
    • shareName required string: Share name.
    • api-version required string: REST Api Version.

Output

Shares_ListMetricDefinitions

Returns a list of metric definitions for a storage share.

azure_azsadmin_shares.Shares_ListMetricDefinitions({
  "subscriptionId": "",
  "resourceGroupName": "",
  "farmId": "",
  "shareName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Subscription Id.
    • resourceGroupName required string: Resource group name.
    • farmId required string: Farm Id.
    • shareName required string: Share name.
    • api-version required string: REST Api Version.

Output

  • output object: Pageable list of metric definitions.
    • nextLink string: URI to the next page.
    • value array: List of metric definitions.
      • items object: Metric definition.
        • metricAvailabilities array: Metric availabilities.
          • items object: Metric availability.
            • retention string: Retention of metric.
            • timeGrain string: Time grain.
        • name object: Localizable string.
          • localizedValue string: Localized value of the string.
          • value string: Value of the string.
        • primaryAggregationType string (values: None, Average, Total, Minimum, Maximum, Last): Aggregate type.
        • unit string (values: Count, Bytes, Seconds, CountPerSecond, BytesPerSecond): Metric unit.

Shares_ListMetrics

Returns a list of metrics for a storage share.

azure_azsadmin_shares.Shares_ListMetrics({
  "subscriptionId": "",
  "resourceGroupName": "",
  "farmId": "",
  "shareName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Subscription Id.
    • resourceGroupName required string: Resource group name.
    • farmId required string: Farm Id.
    • shareName required string: Share name.
    • api-version required string: REST Api Version.

Output

  • output object: Pageable list of metrics.
    • nextLink string: URI to the next page.
    • value array: List of metrics.
      • items object: Metric information.
        • endTime string: Metric end time.
        • metricUnit string (values: Count, Bytes, Seconds, CountPerSecond, BytesPerSecond): Metric unit.
        • metricValues array: List of metric values.
          • items object: Metric value.
            • average number: Average value of metric.
            • count integer: Count of metric values.
            • maximum number: Maximum value of metric.
            • minimum number: Minimum value of metric.
            • properties string: Metric value properties.
            • timeStamp string: Timestamp of metric value.
            • total number: Total value of metric.
        • name object: Localizable string.
          • localizedValue string: Localized value of the string.
          • value string: Value of the string.
        • startTime string: Metric start time.
        • timeGrain string: Metric time grain.

Definitions

Share

  • Share object: Storage share.
    • properties ShareProperties
    • id string: Resource ID.
    • location string: Resource location.
    • name string: Resource Name.
    • tags object: Resource tags.
    • type string: Resource type.

ShareList

  • ShareList array: List of storage shares.

ShareProperties

  • ShareProperties object: Storage share properties.
    • freeCapacity integer: The free space of the storage share in bytes.
    • healthStatus string (values: Unknown, Healthy, Warning, Critical): Current health status.
    • shareName string: The name of the storage share.
    • totalCapacity integer: The total capacity of the storage share in bytes.
    • uncPath string: The UNC path to the storage share.
    • usedCapacity integer: The used capacity of the storage share in bytes.