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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@datafire/azure_arm_billing

v3.0.0

Published

DataFire integration for BillingClient

Downloads

28

Readme

@datafire/azure_arm_billing

Client library for BillingClient

Installation and Usage

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

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

Description

Billing client provides access to billing resources for Azure Web-Direct subscriptions. Other subscription types which were not purchased directly through the Azure web portal are not supported through this preview API.

Actions

Operations_List

Lists all of the available billing REST API operations.

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

Parameters

  • api-version (string) required - Version of the API to be used with the client request. The current version is 2017-02-27-preview.

Invoices_List

Lists the available invoices for a subscription in reverse chronological order beginning with the most recent invoice. In preview, invoices are available via this API only for invoice periods which end December 1, 2016 or later

azure_arm_billing.Invoices_List({
  "subscriptionId": "",
  "api-version": ""
}, context)

Parameters

  • subscriptionId (string) required - Azure Subscription ID.
  • $expand (string) - May be used to expand the downloadUrl property within a list of invoices. This enables download links to be generated for multiple invoices at once. By default, downloadURLs are not included when listing invoices.
  • $filter (string) - May be used to filter invoices by invoicePeriodEndDate. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'
  • $skiptoken (string) - Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.
  • $top (integer) - May be used to limit the number of results to the most recent N invoices.
  • api-version (string) required - Version of the API to be used with the client request. The current version is 2017-02-27-preview.

Invoices_GetLatest

Gets the most recent invoice. When getting a single invoice, the downloadUrl property is expanded automatically.

azure_arm_billing.Invoices_GetLatest({
  "subscriptionId": "",
  "api-version": ""
}, context)

Parameters

  • subscriptionId (string) required - Azure Subscription ID.
  • api-version (string) required - Version of the API to be used with the client request. The current version is 2017-02-27-preview.

Invoices_Get

Gets a named invoice resource. When getting a single invoice, the downloadUrl property is expanded automatically.

azure_arm_billing.Invoices_Get({
  "subscriptionId": "",
  "invoiceName": "",
  "api-version": ""
}, context)

Parameters

  • subscriptionId (string) required - Azure Subscription ID.
  • invoiceName (string) required - The name of an invoice resource.
  • api-version (string) required - Version of the API to be used with the client request. The current version is 2017-02-27-preview.