@classmethod
def models(cls, api_version=DEFAULT_API_VERSION):
    'Module depends on the API version:\n\n           * 2017-03-01: :mod:`v2017_03_01.models<azure.mgmt.containerregistry.v2017_03_01.models>`\n           * 2017-10-01: :mod:`v2017_10_01.models<azure.mgmt.containerregistry.v2017_10_01.models>`\n           * 2018-02-01-preview: :mod:`v2018_02_01_preview.models<azure.mgmt.containerregistry.v2018_02_01_preview.models>`\n           * 2018-09-01: :mod:`v2018_09_01.models<azure.mgmt.containerregistry.v2018_09_01.models>`\n           * 2019-04-01: :mod:`v2019_04_01.models<azure.mgmt.containerregistry.v2019_04_01.models>`\n           * 2019-05-01: :mod:`v2019_05_01.models<azure.mgmt.containerregistry.v2019_05_01.models>`\n           * 2019-05-01-preview: :mod:`v2019_05_01_preview.models<azure.mgmt.containerregistry.v2019_05_01_preview.models>`\n           * 2019-06-01-preview: :mod:`v2019_06_01_preview.models<azure.mgmt.containerregistry.v2019_06_01_preview.models>`\n           * 2019-12-01-preview: :mod:`v2019_12_01_preview.models<azure.mgmt.containerregistry.v2019_12_01_preview.models>`\n           * 2020-11-01-preview: :mod:`v2020_11_01_preview.models<azure.mgmt.containerregistry.v2020_11_01_preview.models>`\n           * 2021-06-01-preview: :mod:`v2021_06_01_preview.models<azure.mgmt.containerregistry.v2021_06_01_preview.models>`\n           * 2021-08-01-preview: :mod:`v2021_08_01_preview.models<azure.mgmt.containerregistry.v2021_08_01_preview.models>`\n        '
    if (api_version == '2017-03-01'):
        from ..v2017_03_01 import models
        return models
    elif (api_version == '2017-10-01'):
        from ..v2017_10_01 import models
        return models
    elif (api_version == '2018-02-01-preview'):
        from ..v2018_02_01_preview import models
        return models
    elif (api_version == '2018-09-01'):
        from ..v2018_09_01 import models
        return models
    elif (api_version == '2019-04-01'):
        from ..v2019_04_01 import models
        return models
    elif (api_version == '2019-05-01'):
        from ..v2019_05_01 import models
        return models
    elif (api_version == '2019-05-01-preview'):
        from ..v2019_05_01_preview import models
        return models
    elif (api_version == '2019-06-01-preview'):
        from ..v2019_06_01_preview import models
        return models
    elif (api_version == '2019-12-01-preview'):
        from ..v2019_12_01_preview import models
        return models
    elif (api_version == '2020-11-01-preview'):
        from ..v2020_11_01_preview import models
        return models
    elif (api_version == '2021-06-01-preview'):
        from ..v2021_06_01_preview import models
        return models
    elif (api_version == '2021-08-01-preview'):
        from ..v2021_08_01_preview import models
        return models
    raise ValueError('API version {} is not available'.format(api_version))
Module depends on the API version:

* 2017-03-01: :mod:`v2017_03_01.models<azure.mgmt.containerregistry.v2017_03_01.models>`
* 2017-10-01: :mod:`v2017_10_01.models<azure.mgmt.containerregistry.v2017_10_01.models>`
* 2018-02-01-preview: :mod:`v2018_02_01_preview.models<azure.mgmt.containerregistry.v2018_02_01_preview.models>`
* 2018-09-01: :mod:`v2018_09_01.models<azure.mgmt.containerregistry.v2018_09_01.models>`
* 2019-04-01: :mod:`v2019_04_01.models<azure.mgmt.containerregistry.v2019_04_01.models>`
* 2019-05-01: :mod:`v2019_05_01.models<azure.mgmt.containerregistry.v2019_05_01.models>`
* 2019-05-01-preview: :mod:`v2019_05_01_preview.models<azure.mgmt.containerregistry.v2019_05_01_preview.models>`
* 2019-06-01-preview: :mod:`v2019_06_01_preview.models<azure.mgmt.containerregistry.v2019_06_01_preview.models>`
* 2019-12-01-preview: :mod:`v2019_12_01_preview.models<azure.mgmt.containerregistry.v2019_12_01_preview.models>`
* 2020-11-01-preview: :mod:`v2020_11_01_preview.models<azure.mgmt.containerregistry.v2020_11_01_preview.models>`
* 2021-06-01-preview: :mod:`v2021_06_01_preview.models<azure.mgmt.containerregistry.v2021_06_01_preview.models>`
* 2021-08-01-preview: :mod:`v2021_08_01_preview.models<azure.mgmt.containerregistry.v2021_08_01_preview.models>`
@classmethod
def models(cls, api_version=DEFAULT_API_VERSION):
    'Module depends on the API version:\n\n           * 2017-03-01: :mod:`v2017_03_01.models<azure.mgmt.containerregistry.v2017_03_01.models>`\n           * 2017-10-01: :mod:`v2017_10_01.models<azure.mgmt.containerregistry.v2017_10_01.models>`\n           * 2018-02-01-preview: :mod:`v2018_02_01_preview.models<azure.mgmt.containerregistry.v2018_02_01_preview.models>`\n           * 2018-09-01: :mod:`v2018_09_01.models<azure.mgmt.containerregistry.v2018_09_01.models>`\n           * 2019-04-01: :mod:`v2019_04_01.models<azure.mgmt.containerregistry.v2019_04_01.models>`\n           * 2019-05-01: :mod:`v2019_05_01.models<azure.mgmt.containerregistry.v2019_05_01.models>`\n           * 2019-05-01-preview: :mod:`v2019_05_01_preview.models<azure.mgmt.containerregistry.v2019_05_01_preview.models>`\n           * 2019-06-01-preview: :mod:`v2019_06_01_preview.models<azure.mgmt.containerregistry.v2019_06_01_preview.models>`\n           * 2019-12-01-preview: :mod:`v2019_12_01_preview.models<azure.mgmt.containerregistry.v2019_12_01_preview.models>`\n           * 2020-11-01-preview: :mod:`v2020_11_01_preview.models<azure.mgmt.containerregistry.v2020_11_01_preview.models>`\n           * 2021-06-01-preview: :mod:`v2021_06_01_preview.models<azure.mgmt.containerregistry.v2021_06_01_preview.models>`\n           * 2021-08-01-preview: :mod:`v2021_08_01_preview.models<azure.mgmt.containerregistry.v2021_08_01_preview.models>`\n        '
    if (api_version == '2017-03-01'):
        from ..v2017_03_01 import models
        return models
    elif (api_version == '2017-10-01'):
        from ..v2017_10_01 import models
        return models
    elif (api_version == '2018-02-01-preview'):
        from ..v2018_02_01_preview import models
        return models
    elif (api_version == '2018-09-01'):
        from ..v2018_09_01 import models
        return models
    elif (api_version == '2019-04-01'):
        from ..v2019_04_01 import models
        return models
    elif (api_version == '2019-05-01'):
        from ..v2019_05_01 import models
        return models
    elif (api_version == '2019-05-01-preview'):
        from ..v2019_05_01_preview import models
        return models
    elif (api_version == '2019-06-01-preview'):
        from ..v2019_06_01_preview import models
        return models
    elif (api_version == '2019-12-01-preview'):
        from ..v2019_12_01_preview import models
        return models
    elif (api_version == '2020-11-01-preview'):
        from ..v2020_11_01_preview import models
        return models
    elif (api_version == '2021-06-01-preview'):
        from ..v2021_06_01_preview import models
        return models
    elif (api_version == '2021-08-01-preview'):
        from ..v2021_08_01_preview import models
        return models
    raise ValueError('API version {} is not available'.format(api_version))