def METHOD_NAME(cls, api_version=DEFAULT_API_VERSION):
    """Module depends on the API version:
       * 2022-08-01-preview: :mod:`v2022_08_01_preview.models<azure.mgmt.resource.deploymentstacks.v2022_08_01_preview.models>`
    """
    if api_version == '2022-08-01-preview':
        from ..v2022_08_01_preview import METHOD_NAME
        return METHOD_NAME
    raise ValueError("API version {} is not available".format(api_version))