Azure Cost Management API

%3CLINGO-SUB%20id%3D%22lingo-sub-1102150%22%20slang%3D%22es-ES%22%3EAzure%20Cost%20Management%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1102150%22%20slang%3D%22es-ES%22%3E%3CP%3EDoes%20anyone%20know%20how%20to%20authenticate%20to%20the%20Azure%20Cost%20Management%20API%20to%20access%20the%20endpoints%20shown%20on%20this%20page%3F%3F%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fcost-management%2Fget-started-partners%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fcost-management%2Fget-started-partners%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1102150%22%20slang%3D%22es-ES%22%3E%3CLINGO-LABEL%3EAzure%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1103030%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20Cost%20Management%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1103030%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F513947%22%20target%3D%22_blank%22%3E%40jroberts1010%3C%2FA%3E%2C%26nbsp%3Blo%20mas%20facil%20es%20utilizar%20ARMClient%20(%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fprojectkudu%2FARMClient%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fprojectkudu%2FARMClient%3C%2FA%3E).%20Pero%2C%26nbsp%3Bmuchos%20endpoints%20estan%20tambi%C3%A9n%20cobiertos%20por%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Faz.billing%2F%3Fview%3Dazps-3.3.0%23billing%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EPowershell%3C%2FA%3E%20o%20Az%20CLI%20(%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fcli%2Fazure%2Fbilling%3Fview%3Dazure-cli-latest%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Ebilling%3C%2FA%3E%20%2B%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fcli%2Fazure%2Fconsumption%3Fview%3Dazure-cli-latest%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Econsumption%3C%2FA%3E).%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1107742%22%20slang%3D%22es-ES%22%3ERe%3A%20Azure%20Cost%20Management%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1107742%22%20slang%3D%22es-ES%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F453722%22%20target%3D%22_blank%22%3E%40hspinto%3C%2FA%3E%20and%20if%20I%20wanted%20to%20call%20this%20endpoint%20from%20a%20controller%20to%20a%20service%20performed%20in%20c%3F%3F%20is%20this%20possible%3F%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1109031%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20Cost%20Management%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1109031%22%20slang%3D%22en-US%22%3E%3CP%3EClaro%20que%20si%2C%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F513947%22%20target%3D%22_blank%22%3E%40jroberts1010%3C%2FA%3E.%26nbsp%3BAzure%20SDK%20para%20.NET%20(%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fdotnet%2Fapi%2Foverview%2Fazure%2Fbilling%3Fview%3Dazure-dotnet%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EBilling%3C%2FA%3E%20%2B%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fdotnet%2Fapi%2Foverview%2Fazure%2Fconsumption%3Fview%3Dazure-dotnet%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EConsumption%3C%2FA%3E)%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Alguien sabe como realizar la autenticacion en Azure Cost Management API para obtener acceso a los endpoints que se muestran en esta pagina??

https://docs.microsoft.com/en-us/azure/cost-management/get-started-partners

3 Replies

@jroberts1010, lo mas facil es utilizar ARMClient (https://github.com/projectkudu/ARMClient). Pero, muchos endpoints estan también cobiertos por Powershell o Az CLI (billing + consumption).

@hspinto  y si yo quisiera llamar a este endpoint desde un controller hacia un servicio realizado en c#?? es esto posible??

Claro que si, @jroberts1010. Azure SDK para .NET (Billing + Consumption)