How to use the azure-mgmt-containerservice.azure.mgmt.containerservice.v2019_04_30.models function in azure-mgmt-containerservice

To help you get started, we’ve selected a few azure-mgmt-containerservice examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Azure / azure-sdk-for-python / azure-mgmt-containerservice / azure / mgmt / containerservice / container_service_client.py View on Github external
def models(cls, api_version=DEFAULT_API_VERSION):
        """Module depends on the API version:

           * 2017-07-01: :mod:`v2017_07_01.models`
           * 2018-03-31: :mod:`v2018_03_31.models`
           * 2018-08-01-preview: :mod:`v2018_08_01_preview.models`
           * 2018-09-30-preview: :mod:`v2018_09_30_preview.models`
           * 2019-02-01: :mod:`v2019_02_01.models`
           * 2019-04-30: :mod:`v2019_04_30.models`
        """
        if api_version == '2017-07-01':
            from .v2017_07_01 import models
            return models
        elif api_version == '2018-03-31':
            from .v2018_03_31 import models
            return models
        elif api_version == '2018-08-01-preview':
            from .v2018_08_01_preview import models
            return models
        elif api_version == '2018-09-30-preview':
            from .v2018_09_30_preview import models
            return models
        elif api_version == '2019-02-01':
            from .v2019_02_01 import models
            return models
        elif api_version == '2019-04-30':
            from .v2019_04_30 import models
            return models
        raise NotImplementedError("APIVersion {} is not available".format(api_version))
github Azure / azure-sdk-for-python / azure-mgmt-containerservice / azure / mgmt / containerservice / container_service_client.py View on Github external
def models(cls, api_version=DEFAULT_API_VERSION):
        """Module depends on the API version:

           * 2017-07-01: :mod:`v2017_07_01.models`
           * 2018-03-31: :mod:`v2018_03_31.models`
           * 2018-08-01-preview: :mod:`v2018_08_01_preview.models`
           * 2018-09-30-preview: :mod:`v2018_09_30_preview.models`
           * 2019-02-01: :mod:`v2019_02_01.models`
           * 2019-04-30: :mod:`v2019_04_30.models`
        """
        if api_version == '2017-07-01':
            from .v2017_07_01 import models
            return models
        elif api_version == '2018-03-31':
            from .v2018_03_31 import models
            return models
        elif api_version == '2018-08-01-preview':
            from .v2018_08_01_preview import models
            return models
        elif api_version == '2018-09-30-preview':
            from .v2018_09_30_preview import models
            return models
        elif api_version == '2019-02-01':
            from .v2019_02_01 import models
            return models
        elif api_version == '2019-04-30':
            from .v2019_04_30 import models
            return models
        raise NotImplementedError("APIVersion {} is not available".format(api_version))

azure-mgmt-containerservice

Microsoft Azure Container Service Management Client Library for Python

MIT
Latest version published 5 hours ago

Package Health Score

96 / 100
Full package analysis

Popular azure-mgmt-containerservice functions

Similar packages