Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

Azure billing data

...

now displays when you configure your reseller hierarchy with CSP

...

The platform populates the billing dashboard with data from the cloud provider, so you will need to allow programmatic access to billing in the cloud provider.

...

pricing credentials. See Add public cloud
This page describes the advanced configuration options for Azure billing data and includes some troubleshooting tips.

Table of Contents
minLevel1
maxLevel7

Azure billing user dashboard troubleshooting tips

Abiquo can display Azure billing data for your reseller hierarchy customers on the Hybrid dashboards and on the Latest bills and Estimated bill widgets for the Azure provider.

The platform may take up to 2 days to display data in the Estimated bill section

...

You should add credentials from each CSP account to the corresponding Abiquo enterprise within a reseller and tenant hierarchy. For more details, see Add public cloud or Abiquo cloud reseller guide

...

To display billing data for reseller tenants and their customers, do the following steps.

Configure Azure account

CSP resellers must give consent for the use of the CSP account in the platform. Contact Customer Service for more information.
The consent process will generate the accessToken and the refreshToken, which are part of the pricing credentials.

Configure Abiquo configuration properties

On the Abiquo Server, edit the abiquo.properties file and configure the following properties as required..

Users in your reseller customer enterprises can display billing data:

  • If their enterprise has credentials (compute or billing only)

  • If their user role has the privilege to View bills

  • If the dashboards visible to the user include the Hybrid dashboard or the Latest bills and Estimated bill widgets for the Azure provider. The Hybrid dashboard is included in the platform’s Default dashboard set.

You can add credentials for ONE Azure subscription to ONE Abiquo enteprise only.

...

If one of your customers has an account with multiple subscriptions, you can create a key node enterprise with sub-tenant enterprises. You can then add the Azure subscriptions to the sub tenant.

...

Abiquo properties for Azure billing data display

In Abiquo, on the Abiquo Server, you can configure the following properties for Azure billing.

abiquo.enterprise.property.billing.monthoffset

By default, the platform will retrieve billing data for the last two months. To change this

...

set the following property

...

to the number of months to retrieve
Default:

...

2

abiquo.azure.billing.

...

parser.

...

lineitem.

...

publisher.

...

ignore

By default, Abiquo will bill SaaS resources, such as a Twilio subscription, to the enterprise that the subscription is assigned to. This corresponds to the billing scope ID of a billing line item.

...

To exclude products from specific publishers from Azure billing, add the following property, and enter a string of publishers to exclude from billing line items in CSV format

...

Code Block
abiquo.azure.billing.parser.lineitem.publisher.ignore=Microsoft Office

...

. With the public-cloud-billing-check-tool for Azure, use the

...

--excludedPublishers

...

option.

In Abiquo configure price factors

To add a markup for your reseller and customers of your reseller, use an Abiquo price factor.

Go to Pricing view → Price factors and add a price factor for the Azure provider.

You can also create markups by product type and product ID.

See Manage price factors

Default: Microsoft Office

Enterprise properties for the reseller

In Abiquo, edit you can create these Azure properties in the reseller enterprise and create the enterprise properties:.

Property

Description

azurecompute-arm_discount

Decimal value (with dot separator), used to calculate the user invoice for billing dashboard.
CSP APIs return prices with a discount applied, which we remove to display for customers.

This is done using

We use the formula  total =  TotalFromCSP/(1 -  azurecompute-arm_discount )

azurecompute-arm_price_factor

Default value for enterprises that do not have this value in their hierarchy.
Also used to calculate the user invoice for billing dashboard.
Also used for retrieving hardware profile prices from the provider.
The platform will apply changes to the price factor in the next billing period.
(minus) This property is deprecated in Abiquo 6.1. The upgrade process will migrate the enterprise property to an Abiquo price factor. See Manage price factors

azurecompute-arm_currency_code

Default is "USD". Three character currency code of the bill.
(warning) Warning - This is different from currency_code used for conversion factor

billing.azure.country_code

Two digit ISO code representing the country where you purchased the subscription.
The default of "US" is set in abiquo.properties

in

on Remote Services as abiquo.billing.azure.country_code.
So you only need to set this enterprise property to change the default value.
Only used by standard account billing.

...


...

Enterprise properties for reseller customers

For reseller customers, edit the enterprise and create the following propertiesIn Abiquo, you can create these Azure enterprise properties for reseller customers:

Property

Description

azurecompute-arm_discount

Decimal value (with dot separator), used to calculate the user invoice for billing dashboard.

azurecompute-arm_price_factor

The value of the discount or markup applied by the partner to the end user.


The default value is 1.
(minus) This property is deprecated in Abiquo 6.1. The upgrade process will migrate the enterprise property to an Abiquo price factor

...

Enterprise properties for reseller customers with Azure plans

For This table contains a property for reseller customers with Azure plans under “CSP” subscriptions, create the following properties:.

...

Property

Description

azurecompute-arm_only_bill_subscription

For Azure plans under CSP accounts only.
If this property is "true", for an Azure plan, only bill for usage -
do not include the customer's products and services in the billing data for this

enterprise.

Configure price factors for reseller customers

For reseller customers, you can configure price factors for the Azure provider, for product types, and for product IDs.

...

For Azure price factor tables see Manage price factors

Configure credentials and privileges in Abiquo

...

For any reseller customer that will not use the compute features of the provider, to display data on the Billing dashboard, enter compute Credentials on the Public tab in the format Subscription##TenantId. 
See Add credentials of reseller customers for billing only.

enterprise

...

.

...