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_policysetdefinitions

v5.0.0

Published

DataFire integration for PolicyClient

Readme

@datafire/azure_resources_policysetdefinitions

Client library for PolicyClient

Installation and Usage

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

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

Description

To manage and control access to your resources, you can define customized policies and assign them at a scope.

Actions

PolicySetDefinitions_ListBuiltIn

This operation retrieves a list of all the built-in policy set definitions.

azure_resources_policysetdefinitions.PolicySetDefinitions_ListBuiltIn({
  "api-version": ""
}, context)

Input

  • input object
    • api-version required string: The API version to use for the operation.

Output

PolicySetDefinitions_GetBuiltIn

This operation retrieves the built-in policy set definition with the given name.

azure_resources_policysetdefinitions.PolicySetDefinitions_GetBuiltIn({
  "policySetDefinitionName": "",
  "api-version": ""
}, context)

Input

  • input object
    • policySetDefinitionName required string: The name of the policy set definition to get.
    • api-version required string: The API version to use for the operation.

Output

PolicySetDefinitions_ListByManagementGroup

This operation retrieves a list of all the a policy set definition in the given management group.

azure_resources_policysetdefinitions.PolicySetDefinitions_ListByManagementGroup({
  "api-version": "",
  "managementGroupId": ""
}, context)

Input

  • input object
    • api-version required string: The API version to use for the operation.
    • managementGroupId required string: The ID of the management group.

Output

PolicySetDefinitions_DeleteAtManagementGroup

This operation deletes the policy set definition in the given management group with the given name.

azure_resources_policysetdefinitions.PolicySetDefinitions_DeleteAtManagementGroup({
  "policySetDefinitionName": "",
  "api-version": "",
  "managementGroupId": ""
}, context)

Input

  • input object
    • policySetDefinitionName required string: The name of the policy set definition to delete.
    • api-version required string: The API version to use for the operation.
    • managementGroupId required string: The ID of the management group.

Output

Output schema unknown

PolicySetDefinitions_GetAtManagementGroup

This operation retrieves the policy set definition in the given management group with the given name.

azure_resources_policysetdefinitions.PolicySetDefinitions_GetAtManagementGroup({
  "policySetDefinitionName": "",
  "api-version": "",
  "managementGroupId": ""
}, context)

Input

  • input object
    • policySetDefinitionName required string: The name of the policy set definition to get.
    • api-version required string: The API version to use for the operation.
    • managementGroupId required string: The ID of the management group.

Output

PolicySetDefinitions_CreateOrUpdateAtManagementGroup

This operation creates or updates a policy set definition in the given management group with the given name.

azure_resources_policysetdefinitions.PolicySetDefinitions_CreateOrUpdateAtManagementGroup({
  "policySetDefinitionName": "",
  "parameters": null,
  "api-version": "",
  "managementGroupId": ""
}, context)

Input

  • input object
    • policySetDefinitionName required string: The name of the policy set definition to create.
    • parameters required PolicySetDefinition
    • api-version required string: The API version to use for the operation.
    • managementGroupId required string: The ID of the management group.

Output

PolicySetDefinitions_List

This operation retrieves a list of all the policy set definitions in the given subscription.

azure_resources_policysetdefinitions.PolicySetDefinitions_List({
  "api-version": "",
  "subscriptionId": ""
}, context)

Input

  • input object
    • api-version required string: The API version to use for the operation.
    • subscriptionId required string: The ID of the target subscription.

Output

PolicySetDefinitions_Delete

This operation deletes the policy set definition in the given subscription with the given name.

azure_resources_policysetdefinitions.PolicySetDefinitions_Delete({
  "policySetDefinitionName": "",
  "api-version": "",
  "subscriptionId": ""
}, context)

Input

  • input object
    • policySetDefinitionName required string: The name of the policy set definition to delete.
    • api-version required string: The API version to use for the operation.
    • subscriptionId required string: The ID of the target subscription.

Output

Output schema unknown

PolicySetDefinitions_Get

This operation retrieves the policy set definition in the given subscription with the given name.

azure_resources_policysetdefinitions.PolicySetDefinitions_Get({
  "policySetDefinitionName": "",
  "api-version": "",
  "subscriptionId": ""
}, context)

Input

  • input object
    • policySetDefinitionName required string: The name of the policy set definition to get.
    • api-version required string: The API version to use for the operation.
    • subscriptionId required string: The ID of the target subscription.

Output

PolicySetDefinitions_CreateOrUpdate

This operation creates or updates a policy set definition in the given subscription with the given name.

azure_resources_policysetdefinitions.PolicySetDefinitions_CreateOrUpdate({
  "policySetDefinitionName": "",
  "parameters": null,
  "api-version": "",
  "subscriptionId": ""
}, context)

Input

  • input object
    • policySetDefinitionName required string: The name of the policy set definition to create.
    • parameters required PolicySetDefinition
    • api-version required string: The API version to use for the operation.
    • subscriptionId required string: The ID of the target subscription.

Output

Definitions

ErrorResponse

  • ErrorResponse object: Error response indicates Azure Resource Manager is not able to process the incoming request. The reason is provided in the error message.
    • errorCode string: Error code.
    • errorMessage string: Error message indicating why the operation failed.
    • httpStatus string: Http status code.

PolicyDefinitionReference

  • PolicyDefinitionReference object: The policy definition reference.
    • parameters object: Required if a parameter is used in policy rule.
    • policyDefinitionId string: The ID of the policy definition or policy set definition.

PolicySetDefinition

  • PolicySetDefinition object: The policy set definition.
    • id string: The ID of the policy set definition.
    • name string: The name of the policy set definition.
    • properties PolicySetDefinitionProperties
    • type string: The type of the resource (Microsoft.Authorization/policySetDefinitions).

PolicySetDefinitionListResult

  • PolicySetDefinitionListResult object: List of policy set definitions.
    • nextLink string: The URL to use for getting the next set of results.
    • value array: An array of policy set definitions.

PolicySetDefinitionProperties

  • PolicySetDefinitionProperties object: The policy set definition properties.
    • description string: The policy set definition description.
    • displayName string: The display name of the policy set definition.
    • metadata object: The policy set definition metadata.
    • parameters object: The policy set definition parameters that can be used in policy definition references.
    • policyDefinitions required array: An array of policy definition references.
    • policyType string (values: NotSpecified, BuiltIn, Custom): The type of policy definition. Possible values are NotSpecified, BuiltIn, and Custom.