def main():
<EOL>arg_parser = argparse.ArgumentParser()<EOL>arg_parser.add_argument(<EOL>'<STR_LIT>', '<STR_LIT>', required=True, action='<STR_LIT:store>', help='<STR_LIT>')<EOL>arg_parser.add_argument('<STR_LIT>', '<STR_LIT>', required=True, action='<STR_LIT:store>',<EOL>help='<STR_LIT>')<EOL>arg_parser.add_argument('<STR_LIT>', '<STR_LIT>', required=False, action='<STR_LIT:store_true>',<EOL>default=False, help='<STR_LIT>')<EOL>args = arg_parser.parse_args()<EOL>name = args.vmssname<EOL>rgname = args.rgname<EOL>details = args.details<EOL>access_token = azurerm.get_access_token_from_cli()<EOL>subscription_id = azurerm.get_subscription_from_cli()<EOL>upgrade_status = azurerm.get_vmss_rolling_upgrades(<EOL>access_token, subscription_id, rgname, name)<EOL>if details is True:<EOL><INDENT>print(json.dumps(upgrade_status, sort_keys=False,<EOL>indent=<NUM_LIT:2>, separators=('<STR_LIT:U+002C>', '<STR_LIT>')))<EOL><DEDENT>else:<EOL><INDENT>print(json.dumps(upgrade_status, sort_keys=False,<EOL>indent=<NUM_LIT:2>, separators=('<STR_LIT:U+002C>', '<STR_LIT>')))<EOL><DEDENT>
Main routine.