def cli_cosmosdb_gremlin_database_throughput_migrate(client,
                                                     resource_group_name,
                                                     account_name,
                                                     database_name,
                                                     throughput_type):
    """Migrate an Azure Cosmos DB Gremlin database throughput"""
    if throughput_type == "autoscale":
        return client.migrate_gremlin_database_to_autoscale(resource_group_name, account_name, database_name)
    return client.migrate_gremlin_database_to_manual_throughput(resource_group_name, account_name, database_name)