DEV Community

Choonho Son
Choonho Son

Posted on

[Cloudforet] Enable Azure Billing Plugin

Azure Billing Plugin(Ver 1.1.12) is compatible for Cloudforet Ver 1.12

1. Register Azure Billing DataSource Plugin

Create azure_data_source.yaml

---
name: Azure Cost Management Data Source
data_source_type: EXTERNAL
provider: azure
secret_type: MANUAL
plugin_info:
  plugin_id: plugin-azure-cost-mgmt-cost-datasource
  secret_data:
    client_id: 4e56b0f1-XXXXXXXXXXX
    client_secret: V.18Q~YYYYYYYYYYYYYY
    tenant_id: 8f97eaee-TTTTTTTTTTTTTTT
    billing_account_id: 9fd31315BBBBBBBBBBBBBBBBBB
  options:
    collect_resource_id: true
    currency: USD
  version: 1.1.12
  upgrade_mode: MANUAL
Enter fullscreen mode Exit fullscreen mode

To register DataSource

spacectl exec register cost_analysis.DataSource -f azure_data_source.yaml
Enter fullscreen mode Exit fullscreen mode

2. Sync DataSource

spacectl exec sync cost_analysis.DataSource -p data_source_id=<Data Source ID>
Enter fullscreen mode Exit fullscreen mode

Image description

References

Top comments (0)