diff --git a/sdk/batch/azure-mgmt-batch/README.rst b/sdk/batch/azure-mgmt-batch/README.rst index 8a0f5b46f5d6..2e9e1884488f 100644 --- a/sdk/batch/azure-mgmt-batch/README.rst +++ b/sdk/batch/azure-mgmt-batch/README.rst @@ -6,7 +6,7 @@ This is the Microsoft Azure Batch Management Client Library. Azure Resource Manager (ARM) is the next generation of management APIs that replace the old Azure Service Management (ASM). -This package has been tested with Python 2.7, 3.4, 3.5, 3.6 and 3.7. +This package has been tested with Python 2.7, 3.5, 3.6 and 3.7. For the older Azure Service Management (ASM) libraries, see `azure-servicemanagement-legacy `__ library. diff --git a/sdk/batch/azure-mgmt-batch/azure/__init__.py b/sdk/batch/azure-mgmt-batch/azure/__init__.py index 69e3be50dac4..0260537a02bb 100644 --- a/sdk/batch/azure-mgmt-batch/azure/__init__.py +++ b/sdk/batch/azure-mgmt-batch/azure/__init__.py @@ -1 +1 @@ -__path__ = __import__('pkgutil').extend_path(__path__, __name__) +__path__ = __import__('pkgutil').extend_path(__path__, __name__) \ No newline at end of file diff --git a/sdk/batch/azure-mgmt-batch/azure/mgmt/__init__.py b/sdk/batch/azure-mgmt-batch/azure/mgmt/__init__.py index 69e3be50dac4..0260537a02bb 100644 --- a/sdk/batch/azure-mgmt-batch/azure/mgmt/__init__.py +++ b/sdk/batch/azure-mgmt-batch/azure/mgmt/__init__.py @@ -1 +1 @@ -__path__ = __import__('pkgutil').extend_path(__path__, __name__) +__path__ = __import__('pkgutil').extend_path(__path__, __name__) \ No newline at end of file diff --git a/sdk/batch/azure-mgmt-batch/azure/mgmt/batch/models/_paged_models.py b/sdk/batch/azure-mgmt-batch/azure/mgmt/batch/models/_paged_models.py index 1eb94dd020cd..1865025a41f0 100644 --- a/sdk/batch/azure-mgmt-batch/azure/mgmt/batch/models/_paged_models.py +++ b/sdk/batch/azure-mgmt-batch/azure/mgmt/batch/models/_paged_models.py @@ -25,8 +25,6 @@ class BatchAccountPaged(Paged): def __init__(self, *args, **kwargs): super(BatchAccountPaged, self).__init__(*args, **kwargs) - - class ApplicationPackagePaged(Paged): """ A paging container for iterating over a list of :class:`ApplicationPackage ` object @@ -40,8 +38,6 @@ class ApplicationPackagePaged(Paged): def __init__(self, *args, **kwargs): super(ApplicationPackagePaged, self).__init__(*args, **kwargs) - - class ApplicationPaged(Paged): """ A paging container for iterating over a list of :class:`Application ` object @@ -55,8 +51,6 @@ class ApplicationPaged(Paged): def __init__(self, *args, **kwargs): super(ApplicationPaged, self).__init__(*args, **kwargs) - - class OperationPaged(Paged): """ A paging container for iterating over a list of :class:`Operation ` object @@ -70,8 +64,6 @@ class OperationPaged(Paged): def __init__(self, *args, **kwargs): super(OperationPaged, self).__init__(*args, **kwargs) - - class CertificatePaged(Paged): """ A paging container for iterating over a list of :class:`Certificate ` object @@ -85,8 +77,6 @@ class CertificatePaged(Paged): def __init__(self, *args, **kwargs): super(CertificatePaged, self).__init__(*args, **kwargs) - - class PoolPaged(Paged): """ A paging container for iterating over a list of :class:`Pool ` object diff --git a/sdk/batch/azure-mgmt-batch/azure/mgmt/batch/operations/_application_package_operations.py b/sdk/batch/azure-mgmt-batch/azure/mgmt/batch/operations/_application_package_operations.py index 6e125e1993cf..8b0dbba3af85 100644 --- a/sdk/batch/azure-mgmt-batch/azure/mgmt/batch/operations/_application_package_operations.py +++ b/sdk/batch/azure-mgmt-batch/azure/mgmt/batch/operations/_application_package_operations.py @@ -41,7 +41,9 @@ def __init__(self, client, config, serializer, deserializer): def activate( self, resource_group_name, account_name, application_name, version_name, format, custom_headers=None, raw=False, **operation_config): - """Activates the specified application package. + """Activates the specified application package. This should be done after + the `ApplicationPackage` was created and uploaded. This needs to be + done before an `ApplicationPackage` can be used on Pools or Tasks. :param resource_group_name: The name of the resource group that contains the Batch account. @@ -118,7 +120,10 @@ def activate( def create( self, resource_group_name, account_name, application_name, version_name, custom_headers=None, raw=False, **operation_config): - """Creates an application package record. + """Creates an application package record. The record contains the SAS + where the package should be uploaded to. Once it is uploaded the + `ApplicationPackage` needs to be activated using + `ApplicationPackageActive` before it can be used. :param resource_group_name: The name of the resource group that contains the Batch account. diff --git a/sdk/batch/azure-mgmt-batch/setup.py b/sdk/batch/azure-mgmt-batch/setup.py index 9d98ecddd9d6..3fa4069501c8 100644 --- a/sdk/batch/azure-mgmt-batch/setup.py +++ b/sdk/batch/azure-mgmt-batch/setup.py @@ -64,7 +64,6 @@ 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7',