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_resources_management

v5.0.0

Published

DataFire integration for Management Groups

Readme

@datafire/azure_resources_management

Client library for Management Groups

Installation and Usage

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

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

Description

The Azure Management Groups API enables consolidation of multiple subscriptions/resources into an organizational hierarchy and centrally manage access control, policies, alerting and reporting for those resources.

Actions

ManagementGroups_List

List management groups for the authenticated user.

azure_resources_management.ManagementGroups_List({
  "api-version": ""
}, context)

Input

  • input object
    • api-version required string: Version of the API to be used with the client request. The current version is 2017-08-31-preview.
    • $skiptoken string: Page continuation token is only used if a previous operation returned a partial result.

Output

ManagementGroups_Get

Get the details of the management group.

azure_resources_management.ManagementGroups_Get({
  "groupId": "",
  "api-version": ""
}, context)

Input

  • input object
    • groupId required string: Management Group ID.
    • api-version required string: Version of the API to be used with the client request. The current version is 2017-08-31-preview.
    • $expand string (values: children): The $expand=children query string parameter allows clients to request inclusion of children in the response payload.
    • $recurse boolean: The $recurse=true query string parameter allows clients to request inclusion of entire hierarchy in the response payload.

Output

Operations_List

Lists all of the available management REST API operations.

azure_resources_management.Operations_List({
  "api-version": ""
}, context)

Input

  • input object
    • api-version required string: Version of the API to be used with the client request. The current version is 2017-08-31-preview.

Output

Definitions

ErrorDetails

  • ErrorDetails object: The details of the error.
    • code string: One of a server-defined set of error codes.
    • message string: A human-readable representation of the error.
    • target string: (Optional) The target of the error.

ErrorResponse

ManagementGroup

  • ManagementGroup object: The management group details.
    • id string: The ID of the management group. E.g. /providers/Microsoft.Management/managementGroups/20000000-0000-0000-0000-000000000000
    • name string: The name of the management group. E.g. 20000000-0000-0000-0000-000000000000
    • properties ManagementGroupProperties
    • type string: The type of the resource. E.g. /providers/Microsoft.Management/managementGroups

ManagementGroupChildInfo

  • ManagementGroupChildInfo object: The unique identifier (ID) of a management group.
    • childId string: The ID of the child resource (management group or subscription). E.g. /providers/Microsoft.Management/managementGroups/40000000-0000-0000-0000-000000000000
    • childType ManagementGroupType
    • displayName string: The friendly name of the child resource.
    • tenantId string: (Optional) The AAD Tenant ID associated with the child resource.

ManagementGroupDetailsProperties

  • ManagementGroupDetailsProperties object: The details properties of a management group.
    • managementGroupType ManagementGroupType
    • parent ParentGroupInfo
    • updatedBy string: The identity of the principal or process that updated the object.
    • updatedTime string: The date and time when this object was last updated.
    • version number: The version number of the object.

ManagementGroupInfo

  • ManagementGroupInfo object: The management group.
    • id string: The ID of the management group. E.g. /providers/Microsoft.Management/managementGroups/20000000-0000-0000-0000-000000000000
    • name string: The name of the management group. E.g. 20000000-0000-0000-0000-000000000000
    • properties ManagementGroupInfoProperties
    • type string: The type of the resource. E.g. /providers/Microsoft.Management/managementGroups

ManagementGroupInfoProperties

  • ManagementGroupInfoProperties object: The generic properties of a management group.
    • displayName string: The friendly name of the management group.
    • tenantId string: The AAD Tenant ID associated with the management group. E.g. 10000000-0000-0000-0000-000000000000

ManagementGroupListResult

  • ManagementGroupListResult object: The result of listing management groups.
    • nextLink string: The URL to the next page of results.
    • value array: The list of management groups.

ManagementGroupProperties

  • ManagementGroupProperties object: The generic properties of a management group.
    • details ManagementGroupDetailsProperties
    • displayName string: The friendly name of the management group.
    • tenantId string: The AAD Tenant ID associated with the management group. E.g. 10000000-0000-0000-0000-000000000000

ManagementGroupPropertiesWithChildren

  • ManagementGroupPropertiesWithChildren object: The generic properties of a management group.
    • children array: The list of children.
    • details ManagementGroupDetailsProperties
    • displayName string: The friendly name of the management group.
    • tenantId string: The AAD Tenant ID associated with the management group. E.g. 10000000-0000-0000-0000-000000000000

ManagementGroupPropertiesWithHierarchy

  • ManagementGroupPropertiesWithHierarchy object: The generic properties of a management group.

ManagementGroupRecursiveChildInfo

  • ManagementGroupRecursiveChildInfo object: The unique identifier (ID) of a management group.
    • childId string: The ID of the child resource (management group or subscription). E.g. /providers/Microsoft.Management/managementGroups/40000000-0000-0000-0000-000000000000
    • childType ManagementGroupType
    • children array: The list of children.
    • displayName string: The friendly name of the child resource.
    • tenantId string: (Optional) The AAD Tenant ID associated with the child resource.

ManagementGroupType

  • ManagementGroupType string (values: Enrollment, Department, Account, Subscription): (Optional) The type of the management group.

ManagementGroupWithChildren

  • ManagementGroupWithChildren object: The management group details.
    • id string: The ID of the management group. E.g. /providers/Microsoft.Management/managementGroups/20000000-0000-0000-0000-000000000000
    • name string: The name of the management group. E.g. 20000000-0000-0000-0000-000000000000
    • properties ManagementGroupPropertiesWithChildren
    • type string: The type of the resource. E.g. /providers/Microsoft.Management/managementGroups

ManagementGroupWithHierarchy

  • ManagementGroupWithHierarchy object: The management group details.
    • id string: The ID of the management group. E.g. /providers/Microsoft.Management/managementGroups/20000000-0000-0000-0000-000000000000
    • name string: The name of the management group. E.g. 20000000-0000-0000-0000-000000000000
    • properties ManagementGroupPropertiesWithHierarchy
    • type string: The type of the resource. E.g. /providers/Microsoft.Management/managementGroups

Operation

  • Operation object: A Management REST API operation.
    • display object: The object that represents the operation.
      • operation string: Operation type: Read, write, delete, etc.
      • provider string: Service provider: Microsoft.Management.
      • resource string: Resource on which the operation is performed: Invoice, etc.
    • name string: Operation name: {provider}/{resource}/{operation}.

OperationListResult

  • OperationListResult object: Result listing operations. It contains a list of operations and a URL link to get the next set of results.
    • nextLink string: URL to get the next set of operation list results if there are any.
    • value array: List of management operations supported by the Microsoft.Management resource provider.

ParentGroupInfo

  • ParentGroupInfo object: (Optional) The ID of the parent management group.
    • displayName string: The friendly name of the management group.
    • parentId string: The ID of the parent management group. E.g. /providers/Microsoft.Management/managementGroups/30000000-0000-0000-0000-000000000000