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

[ReleasePR azure-mgmt-batch] Add new API version 2020-09-01 #13793

Closed
Show file tree
Hide file tree
Changes from all 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
30 changes: 11 additions & 19 deletions sdk/batch/azure-mgmt-batch/README.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,21 @@
## Microsoft Azure SDK for Python
# Microsoft Azure SDK for Python

This is the Microsoft Azure Batch Management Client Library.
This package has been tested with Python 2.7, 3.5, 3.6, 3.7 and 3.8.
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).

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.
# Usage

For the older Azure Service Management (ASM) libraries, see
[azure-servicemanagement-legacy](https://pypi.python.org/pypi/azure-servicemanagement-legacy)
library.

For a more complete set of Azure libraries, see the
[azure sdk python release](https://aka.ms/azsdk/python/all).

## Usage

For code examples, see [Batch
Management](https://docs.microsoft.com/python/api/overview/azure/batch)
For code examples, see [Batch Management](https://docs.microsoft.com/python/api/overview/azure/batch)
on docs.microsoft.com.

## 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)
# 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-batch%2FREADME.png)

![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-batch%2FREADME.png)
2 changes: 1 addition & 1 deletion sdk/batch/azure-mgmt-batch/azure/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
2 changes: 1 addition & 1 deletion sdk/batch/azure-mgmt-batch/azure/mgmt/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def __init__(
super(BatchManagementClient, self).__init__(self.config.credentials, self.config)

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self.api_version = '2020-05-01'
self.api_version = '2020-09-01'
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,6 @@
ContainerWorkingDirectory,
CertificateStoreLocation,
CertificateVisibility,
ContainerType,
ResourceType,
NameAvailabilityReason,
)

Expand Down Expand Up @@ -300,7 +298,5 @@
'ContainerWorkingDirectory',
'CertificateStoreLocation',
'CertificateVisibility',
'ContainerType',
'ResourceType',
'NameAvailabilityReason',
]
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ class IPAddressProvisioningType(str, Enum):
class ComputeNodeFillType(str, Enum):

spread = "Spread" #: Tasks should be assigned evenly across all nodes in the pool.
pack = "Pack" #: As many tasks as possible (maxTasksPerNode) should be assigned to each node in the pool before any tasks are assigned to the next node in the pool.
pack = "Pack" #: As many tasks as possible (taskSlotsPerNode) should be assigned to each node in the pool before any tasks are assigned to the next node in the pool.


class ElevationLevel(str, Enum):
Expand Down Expand Up @@ -194,16 +194,6 @@ class CertificateVisibility(str, Enum):
remote_user = "RemoteUser" #: The certificate should be visible to the user accounts under which users remotely access the node.


class ContainerType(str, Enum):

docker_compatible = "DockerCompatible" #: A Docker compatible container technology will be used to launch the containers.


class ResourceType(str, Enum):

batch_accounts = "Microsoft.Batch/batchAccounts" #: The Batch account resource type.


class NameAvailabilityReason(str, Enum):

invalid = "Invalid" #: The requested name is invalid.
Expand Down
Loading