def METHOD_NAME(client, account_name, profile_name=None, customer_name=None):
    if profile_name:
        return client.get_by_billing_profile(account_name, profile_name)
    if customer_name:
        return client.get_by_customer(account_name, customer_name)
    from azure.cli.core.azclierror import CLIInternalError
    return CLIInternalError(
        "Uncaught argument combinations for Azure CLI to handle. Please submit an issue"
    )