概要 Azure SDK for Python を利用して、接続しているテナントのサブスクリプション毎に、そのサブスクリプションにあるリソースグループ単位での使用料金を取得し、使用料金の高い順にソート表示するための Python プログラムです。 実行環境 macOS Big Sur 11.1 python 3.8.3 実行プログラム import time import argparse from tabulate import tabulate from azure.identity import AzureCliCredential from azure.mgmt.resource import SubscriptionClient from azure.mgmt.costmanagement import CostManagementClient # 接続しているテナントのサ