Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR] containerservice/resource-manager #4253

Merged
merged 11 commits into from
Mar 20, 2019
Merged
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