Table of Contents |
---|
...
Note |
---|
Abiquo provides these instructions as a guide only and we update them occasionally. Abiquo recommends that customers follow the instructions of the cloud provider, for example, at the time of writing for Azure: |
Excerpt | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Obtain details of your Azure subscriptionTo obtain details of your Azure subscription, do the following steps.
Create an ARM application using Azure PortalAbiquo uses the ARM application ID to access the ARM API and compute features.
To create an ARM application using the Azure Portal and obtain details of the application, do these steps.
Configure authorization for the use of Azure Arm credentials in the multi-cloud platformAs Azure now requires multi-factor authentication for CSP credentials, you must authorize the use of your credentials in the multi-cloud platform to obtain your access and refresh tokens for use in pricing credentials. The initial refresh tokens will expire after a 90-day period. To create your own server to grant consent for the use of your Azure credentials, follow the instructions in the Azure documentation. For general instructions, see https://docs.microsoft.com/en-us/partner-center/develop/partner-center-authentication#app--user-authentication and for Java instructions: https://docs.microsoft.com/en-us/partner-center/develop/partner-center-authentication#java-appuser-authentication. To complete the configuration:
Generate new Azure access and refresh tokens for use in the multi-cloud platform Include Page | | Obtain Azure access and refresh tokens for pricing and billing | Obtain Azure access and refresh tokens for pricing and billing |
Code Block |
---|
subscription-id#app-id#dir-id |
This means you should enter the Subscription ID, Application (client) ID, and Directory (tenant) ID, as a single string and separate each element with a '#'. For example:
Code Block |
---|
566058dd-80bc-4ccc-8d6e-e9ac00c4b4a1#8927a710-4f4d-4d11-811c-94c36e9b2c3f#fbb96b71-f92c-4f78-acf7-cd88bdee36b1 |
Add the Azure CSP pricing and billing credentials to Abiquo
Before you add credentials, your administrator must create at least one compatible public cloud region in Azure ARM, and allow your enterprise to access this region. Some regions may require separate credentials, for example regions in China, and you will need to obtain credentials and create these regions separately. See Create a public cloud region
For CSP accounts, the main tenant should add the pricing credentials in the following format:
Code Block |
---|
csp#dir-id#app-id#accessToken#refreshToken |
This means you should enter the text "csp", Directory (tenant) ID, Application (client) ID, access token, and refresh token as a single string and separate each element with a '#'.
The customer tenants do not need to add pricing credentials. The platform will use the CSP credentials for the customer tenants in the hierarchy.
For the billing dashboard, add the access token and refresh token to the configuration. See Display Azure billing data
...