Azure Cloud Billing
Collect Azure (Microsoft Cloud) cloud billing information
Configuration¶
Install Func¶
It is recommended to activate TrueWatch Integration - Extensions - DataFlux Func (Automata): All prerequisites are automatically installed. Please proceed with the script installation.
If you are deploying Func manually, refer to Manual Func Deployment
Activate Script¶
Note: Please prepare the required Azure app registration information in advance and assign the
Monitoring Reader
role to the app registration.
Automata Version Activation Script¶
- Log in to the TrueWatch console
- Click on the 【Integration】 menu and select 【Cloud Account Management】
- Click on 【Add Cloud Account】, select 【Azure】, and fill in the required information on the interface. If you have already configured the cloud account information before, you can skip this step.
- Click on 【Test】, and if the test is successful, click on 【Save】. If the test fails, please check if the relevant configuration information is correct and retest.
- In the 【Cloud Account Management】 list, you can see the added cloud account. Click on the corresponding cloud account to enter the details page.
- Click on the 【Integration】 button on the cloud account details page. In the
Not Installed
list, findAzure Cloud Billing
, and click on the 【Install】 button. The installation interface will pop up for installation.
Manual Activation Script¶
-
Log in to the Func console, click on 【Script Market】, and enter the TrueWatch script market. Search for
integration_azure_billing_by_instance
. -
Click on 【Install】, then enter the corresponding parameters:
Azure Tenant ID
,Azure Client ID
,Azure Client Secret Value
. -
Click on 【Deploy Startup Script】, the system will automatically create the
Startup
script set and configure the corresponding startup scripts. -
After activation, you can see the corresponding automatic trigger configuration in 「Management / Automatic Trigger Configuration」. Click on 【Execute】 to immediately execute it once without waiting for the scheduled time. Wait for a moment, and you can view the execution task records and corresponding logs.
Verification¶
- In 「Management / Automatic Trigger Configuration」, confirm if the corresponding task has the automatic trigger configuration. You can also check the corresponding task records and logs for any anomalies.
- In TrueWatch, check if the corresponding billing information exists in 「Cloud Billing / Billing Analysis」.