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
  • Uncategorized
  • wan
  • Windows

Neueste Beiträge

  • Scope of this Blog
  • Terraform: Enable persistent Debugging
  • OVF/OVA-Properties
  • *** System restart required ***
  • Ubuntu 20.04 – Static Server IP-Address

Schlagwörter

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

Impressum

Impressum

Designed using Dispatch. Powered by WordPress.