Skip to content
the broadcast

networking, computing, virtualization, automation

API

Azure – Pricing API

2020-11-27
By: admin
On: 2020-11-27
In: automation, Azure, Cloud
With: 0 Comments

This is a really nice feature – the Azure Pricing REST-API: https://docs.microsoft.com/en-us/rest/api/cost-management/retail-prices/azure-retail-prices It pulls a structured JSON-Dataset for (not only) Virtual Machines out of the Azure-Webshop. For example – the following filter: https://prices.azure.com/api/retail/prices?$filter=serviceName eq ‚Virtual Machines‘ and priceType eq ‚Consumption‘ and endswith(armRegionName, ‚europe‘) and (startswith(skuName, ‚D‘) or startswith(skuName, ‚E‘) or startswith(skuName, ‚F‘) or startswith(skuName, ‚M‘)) and endswith(skuName,‘ Spot‘) displays the price for only „VMs“ with specific properties: no Reservation in „.*europe“-Locations with Types „D.*“ or „E.*“ or „F.*“ or „M.*“ Spot-Intances but – if you don’t want „Spot“ Instances, you’d guess this filter-Statement: https://prices.azure.com/api/retail/prices?$filter=serviceName eq ‚Virtual Machines‘ and priceType eq ‚Consumption‘ and endswith(armRegionName, ‚europe‘) andRead More →

Kategorien

  • AI
  • automation
  • awayfromevernote
  • AWS
  • Azure
  • client
  • Cloud
  • linux
  • pub
  • Scripting
  • stupid defaults
  • Uncategorized
  • wan
  • Windows

Neueste Beiträge

  • Visio Diagrams with Python: Resize to fit
  • Visio Diagrams with Python: Colors
  • Visio Diagrams with Python: Connectors
  • Visio Diagrams with Python: Stencils
  • Visio Diagrams with Python using COM

Schlagwörter

ACU AI Ansible Automation AWS Azure bestpractice chrome Cisco COM Compute Unit Controller cot CSR1000v Ethernet Firefox hsts Hyperconverged KVM Lab Linux Monitoring MTU NAPALM Nested nexus nxos PowerShell Proactive productivity Python QoS REST Scapy Scripting Security SKU todo UCSD Virtualization Visio VMware WAN Windows Wordpress

Impressum

Impressum

Designed using Dispatch. Powered by WordPress.