Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions azure-mgmt-containerservice/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
recursive-include tests *.py *.yaml
include *.rst
include azure/__init__.py
include azure/mgmt/__init__.py
Expand Down
22 changes: 3 additions & 19 deletions azure-mgmt-containerservice/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,6 @@ For the older Azure Service Management (ASM) libraries, see
For a more complete set of Azure libraries, see the `azure <https://pypi.python.org/pypi/azure>`__ bundle package.


Compatibility
=============

**IMPORTANT**: If you have an earlier version of the azure package
(version < 1.0), you should uninstall it before installing this package.

You can check the version using pip:

.. code:: shell

pip freeze

If you see azure==0.11.0 (or any version below 1.0), uninstall it first:

.. code:: shell

pip uninstall azure


Usage
=====

Expand All @@ -47,3 +28,6 @@ Provide Feedback
If you encounter any bugs or have suggestions, please file an issue in the
`Issues <https://github.com/Azure/azure-sdk-for-python/issues>`__
section of the project.


.. image:: https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-containerservice%2FREADME.png
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class ManagedClusterAgentPoolProfile(Model):
"""

_validation = {
'name': {'required': True},
'name': {'required': True, 'pattern': r'^[a-z][a-z0-9]{0,11}$'},
'count': {'maximum': 100, 'minimum': 1},
'vm_size': {'required': True},
'storage_profile': {'readonly': True},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class ManagedClusterAgentPoolProfile(Model):
"""

_validation = {
'name': {'required': True},
'name': {'required': True, 'pattern': r'^[a-z][a-z0-9]{0,11}$'},
'count': {'maximum': 100, 'minimum': 1},
'vm_size': {'required': True},
'storage_profile': {'readonly': True},
Expand Down