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

Heroku

Simplify your DevOps and maximize your time.

Since 2007, Heroku has been the go-to platform for developers as it monitors uptime, performance, and infrastructure concerns, allowing you to focus on writing code.

Learn More

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more