May 20, 2024, 8:08 a.m. | Choonho Son

DEV Community dev.to


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
version: 1.1.12
upgrade_mode: MANUAL


To register DataSource



spacectl exec register cost_analysis.DataSource -f azure_data_source.yaml





2. Sync DataSource


spacectl exec sync cost_analysis.DataSource -p data_source_id=<Data Source ID>






References

azure cost create data exec management plugin provider true yaml

Senior Machine Learning Engineer

@ GPTZero | Toronto, Canada

ML/AI Engineer / NLP Expert - Custom LLM Development (x/f/m)

@ HelloBetter | Remote

Doctoral Researcher (m/f/div) in Automated Processing of Bioimages

@ Leibniz Institute for Natural Product Research and Infection Biology (Leibniz-HKI) | Jena

Seeking Developers and Engineers for AI T-Shirt Generator Project

@ Chevon Hicks | Remote

Senior Applied Data Scientist

@ dunnhumby | London

Principal Data Architect - Azure & Big Data

@ MGM Resorts International | Home Office - US, NV