def METHOD_NAME(cls, api_version=DEFAULT_API_VERSION):
    """Module depends on the API version:
       * 2015-01-01: :mod:`v2015_01_01.models<azure.mgmt.resource.locks.v2015_01_01.models>`
       * 2016-09-01: :mod:`v2016_09_01.models<azure.mgmt.resource.locks.v2016_09_01.models>`
    """
    if api_version == '2015-01-01':
        from .v2015_01_01 import METHOD_NAME
        return METHOD_NAME
    elif api_version == '2016-09-01':
        from .v2016_09_01 import METHOD_NAME
        return METHOD_NAME
    raise ValueError("API version {} is not available".format(api_version))