Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 29 Next »

This page describes how to configure Azure billing data for resellers with CSP accounts. 

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.

  • After you configure this feature, the platform may take up to 2 days to display data in the Estimated bill section of the Hybrid dashboard. 

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.

By default, the platform will retrieve billing data for the last two months. To change this value, and add the following property with the number of months to retrieve:

abiquo.enterprise.property.billing.monthoffset=2

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

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

To use excluded publishers 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


In Abiquo configure enterprise properties for the reseller

In Abiquo, edit 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 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

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 Remote Services as abiquo.billing.azure.country_code.
So you only need to set this enterprise property to change the default value.



Configure enterprise properties for reseller customers

For reseller customers, edit the enterprise and create the following properties:

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


Configure enterprise properties for reseller customers with Azure plans

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.

To create a price factor:

  1. Go to Pricing → Price factors

  2. On the providers list, click + add

  3. Select the Provider. For private cloud, the provider is ONPREMISE

    Create a price factor with General information
  4. For Azure and AWS, you can also select the Bill type and Product ID

    Create a price factor for a bill type and product ID in Amazon
  5. For Enterprise associations, select the type of association, which can be All, Reseller, or Key node. Abiquo will use your selection to create the list of Enterprises that match this type.

  6. For Reseller or Key node, select an Enterprise

  7. For the Enterprise association, enter the Value, which is the markup or discount.

    • For example, to use a markup of 10%, enter 1.1 and to add a discount of 10%, enter 0.9.

    • To exclude a product, you can set a value of 0

      Add a markup or discount with a price factor
  8. Click Add.

  9. Select and add more enterprise associations as required. (You can also edit the price factor later to add more then.)

    Create a price factor with enterprise associations

  10. Click Save

When you create a price factor, the platform will assign your user scope to it, and only users with the same scope will be able to view and manage the price factor.

For Azure price factor tables see Manage price factors


Configure credentials and privileges in Abiquo

  1. 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.

  2. In Abiquo, edit the reseller enterprise and go to Credentials → Pricing and add the Pricing credentials,

  3. In Abiquo, users will require the privileges to Display hybrid dashboard tab and View bills. See Configure dashboard display

  • No labels