def METHOD_NAME(cls, api_version=DEFAULT_API_VERSION):
    """Module depends on the API version:
       * 2021-03-15-preview: :mod:`v2021_03_15_preview.models<azure.mgmt.extendedlocation.v2021_03_15_preview.models>`
       * 2021-08-15: :mod:`v2021_08_15.models<azure.mgmt.extendedlocation.v2021_08_15.models>`
       * 2021-08-31-preview: :mod:`v2021_08_31_preview.models<azure.mgmt.extendedlocation.v2021_08_31_preview.models>`
    """
    if api_version == '2021-03-15-preview':
        from .v2021_03_15_preview import METHOD_NAME
        return METHOD_NAME
    elif api_version == '2021-08-15':
        from .v2021_08_15 import METHOD_NAME
        return METHOD_NAME
    elif api_version == '2021-08-31-preview':
        from .v2021_08_31_preview import METHOD_NAME
        return METHOD_NAME
    raise ValueError("API version {} is not available".format(api_version))