def print_region_quota(access_token, sub_id, region):
print(region + '<STR_LIT::>')<EOL>quota = azurerm.get_compute_usage(access_token, sub_id, region)<EOL>if SUMMARY is False:<EOL><INDENT>print(json.dumps(quota, sort_keys=False, indent=<NUM_LIT:2>, separators=('<STR_LIT:U+002C>', '<STR_LIT>')))<EOL><DEDENT>try:<EOL><INDENT>for resource in quota['<STR_LIT:value>']:<EOL><INDENT>if resource['<STR_LIT:name>']['<STR_LIT:value>'] == '<STR_LIT>':<EOL><INDENT>print('<STR_LIT>' + str(resource['<STR_LIT>']) + '<STR_LIT>'<EOL>+ str(resource['<STR_LIT>']))<EOL>break<EOL><DEDENT><DEDENT><DEDENT>except KeyError:<EOL><INDENT>print('<STR_LIT>' + region)<EOL><DEDENT>
Print the Compute usage quota for a specific region