Table of Contents | ||||
---|---|---|---|---|
|
Azure billing data is now available when you configure your reseller with CSP pricing credentials, (see Obtain Azure ARM pricing credentials for CSP), and you configure the customer tenant To display Azure billing data for resellers and their customers: Note
Abiquo can obtain Azure billing data with the credentials you enter when you configure Abiquo to:
Create a reseller with CSP pricing credentials; OR
Create an enterprise with compute or billing only credentials, with a
Contributor
role.
See Onboard an Azure
...
Abiquo can display billing data for customers and reseller hierarchy customers on the Hybrid dashboards and on the Latest bills and Estimated bill widgets for the cloud provider.
You will need to enable programmatic access to billing in your Azure account.
The platform may take up to 2 days to display data in the Estimated bill section.
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 enterprise only.
...
Edit the CSP reseller enterprise and set the following enterprise properties:
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. We use the formula: total = TotalFromCSP/(1 - azurecompute-arm_discount). This is a required property
azurecompute-arm_currency_code: The default is
USD
. Three character currency code of the bill. Warning - this is different from currency_code used for conversion factor. This is a required propertybilling.azure.country_code: Two digit ISO code representing the country where you purchased the subscription. The default of
US
is set inabiquo.properties
on Remote Services asabiquo.billing.azure.country_code
.
Optionally, configure price factors for markups. See Manage price factors
Edit reseller customer enterprises and add this enterprise property:
azurecompute-arm_discount: Decimal value (with dot separator), used to calculate the user invoice for billing dashboard.
If the customer enterprise has Azure plans, they may have a keynode enterprise and several standard enterprises below it to use the plans credentials. Edit the standard enterprises and add this property.
azurecompute-arm_only_bill_subscription: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.
...
Abiquo properties for Azure billing data display
In Abiquo, on 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 value: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. With the public-cloud-billing-check-tool for Azure, use the
--excludedPublishers
option.
...
Default value:
Microsoft Office
Enterprise properties for the Azure reseller
In AbiquoOn the Remote Services, you can create these Azure properties in the reseller enterprise.
...
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.
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.
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 - This is different from currency_code used for conversion factor
configure the following properties for Azure billing.
abiquo.billing.azure.country_code
...
: For Azure price factors. Two digit ISO code representing the country where you
...
will obtain the
...
Enterprise properties for Azure reseller customers
In 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.
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
Enterprise properties for reseller customers with Azure plans
This table contains a property for reseller customers with Azure plans under “CSP” subscriptions.
...
Property
...
Description
...
azurecompute-arm_only_bill_subscription
...
product list. Default value:
US
...