Microsoft Azure Batch Management Client Library for Python
Project description
Microsoft Azure SDK for Python
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.
For the older Azure Service Management (ASM) libraries, see azure-servicemanagement-legacy library.
For a more complete set of Azure libraries, see the azure sdk python release.
Usage
To learn how to use this package, see the quickstart guide
For docs and references, see Python SDK References Code samples for this package can be found at Batch Management on docs.microsoft.com. Additional code samples for different Azure services are available at Samples Repo
Provide Feedback
If you encounter any bugs or have suggestions, please file an issue in the Issues section of the project.
Release History
14.0.0b1 (2020-10-23)
This is beta preview version.
This version uses a next-generation code generator that introduces important breaking changes, but also important new features (like unified authentication and async programming).
General breaking changes
-
Credential system has been completly revamped:
azure.common.credentials
ormsrestazure.azure_active_directory
instances are no longer supported, use theazure-identity
classes instead: https://pypi-hypernode.com/project/azure-identity/credentials
parameter has been renamedcredential
-
The
config
attribute no longer exists on a client, configuration should be passed as kwarg. Example:MyClient(credential, subscription_id, enable_logging=True)
. For a complete set of supported options, see the parameters accept in init documentation of azure-core -
You can't import a
version
module anymore, use__version__
instead -
Operations that used to return a
msrest.polling.LROPoller
now returns aazure.core.polling.LROPoller
and are prefixed withbegin_
. -
Exceptions tree have been simplified and most exceptions are now
azure.core.exceptions.HttpResponseError
(CloudError
has been removed). -
Most of the operation kwarg have changed. Some of the most noticeable:
raw
has been removed. Equivalent feature can be found usingcls
, a callback that will give access to internal HTTP response for advanced user- For a complete set of supported options, see the parameters accept in Request documentation of azure-core
General new features
- Type annotations support using
typing
. SDKs are mypy ready. - This client has now stable and official support for async. Check the
aio
namespace of your package to find the async client. - This client now support natively tracing library like OpenCensus or OpenTelemetry. See this tracing quickstart for an overview.
9.0.0 (2020-05-29)
REST API version
- This version targets REST API version 2020-05-01.
Features
- Added ability to access the Batch DataPlane API without needing a public DNS entry for the account via the new
public_network_access
property onBatchAccount
. - Added new
PrivateLinkResource
andPrivateEndpointConnection
resource types. These are both only used when thepublic_network_access
property onBatchAccount
is set toDisabled
.- When
public_network_access
is set toDisabled
a newPrivateLinkResource
is visible in that account, which can be used to connect to the account using an ARM Private Endpoint in your VNET.
- When
- Added ability to encrypt
ComputeNode
disk drives using the newdisk_encryption_configuration
property ofVirtualMachineConfiguration
. - [Breaking] The
id
property ofImageReference
can now only refer to a Shared Image Gallery image. - [Breaking] Pools can now be provisioned without a public IP using the new
public_ip_configuration
property ofNetworkConfiguration
.- The
public_ips
property ofNetworkConfiguration
has moved in toPublicIPAddressConfiguration
as well. This property can only be specified ifIPAddressProvisioningType
isUserManaged
.
- The
- Adds a new property
identity
of typeBatchAccountIdentity
toBatchAccount
. This can be used to configure how customer data is encrypted inside the Batch account.- This new property is configurable at the account level on create and update through a new
identity
property onBatchAccountCreateParameters
andBatchAccountUpdateParameters
- This new property is configurable at the account level on create and update through a new
Fixes
- [Breaking] Move tags from being an argument on create and update pool parameters to being a part of
BatchAccountCreateParameters
andBatchAccountUpdateParameters
to properly reflect the REST API
8.0.1 (2020-05-26) [Deprecated]
Notices
- This version targeted an invalid REST API. This version does not honor the associated REST API contract.
Bugfixes
- Fix issues in PrivateEndpointConnection get and update methods due to mistakes in the Swagger specification causing validation to fail. It is advised to use version 9+ to make use of the features added in this version.
8.0.0 (2020-04-10) [Deprecated]
Notices
- This version targeted an invalid REST API. Currently the PrivateEndpoint get() and update() functions do not function correctly. It is advised to use version 9+ to make use of the features added in this version.
REST API version
- This version targets REST API version 2020-03-01.
Features
- Added ability to access the Batch DataPlane API without needing a public DNS entry for the account via the new
public_network_access
property onBatchAccount
. - Added new
PrivateLinkResource
andPrivateEndpointConnection
resource types. These are both only used when thepublic_network_access
property onBatchAccount
is set toDisabled
.- When
public_network_access
is set toDisabled
a newPrivateLinkResource
is visible in that account, which can be used to connect to the account using an ARM Private Endpoint in your VNET.
- When
- Added ability to encrypt
ComputeNode
disk drives using the newdisk_encryption_configuration
property ofVirtualMachineConfiguration
. - [Breaking] The
id
property ofImageReference
can now only refer to a Shared Image Gallery image. - [Breaking] Pools can now be provisioned without a public IP using the new
public_ip_configuration
property ofNetworkConfiguration
.- The
public_ips
property ofNetworkConfiguration
has moved in toPublicIPAddressConfiguration
as well. This property can only be specified ifIPAddressProvisioningType
isUserManaged
.
- The
7.0.0 (2019-08-05)
- Added ability to specify a collection of public IPs on
NetworkConfiguration
via the newpublic_ips
property. This guarantees nodes in the Pool will have an IP from the list user provided IPs. - Added ability to mount remote file-systems on each node of a pool
via the
mount_configuration
property onPool
. - Shared Image Gallery images can now be specified on the
id
property ofImageReference
by referencing the image via its ARM ID. - [Breaking] When not specified, the default value for
wait_for_success
onStartTask
is nowTrue
(wasFalse
). - [Breaking] When not specified, the default value for
scope
onAutoUserSpecification
is now alwaysPool
(wasTask
on Windows nodes,Pool
on Linux nodes). - Breaking Model signatures are now using only keywords-arguments syntax. Each positional argument must be rewritten as a keyword argument.
- Enum types now use the "str" mixin (class AzureEnum(str, Enum)) to improve the behavior when unrecognized enum values are encountered.
6.0.0 (2019-01-14)
-
-
[Breaking] ResourceFile improvements
-
Added the ability specify an entire Azure Storage container in
ResourceFile
. -
A new property
HttpUrl
replacesBlobSource
. This can be any HTTP URL. Previously, this had to be an Azure Blob Storage URL. -
-
When constructing a
ResourceFile
you can now choose from one of the following options:HttpUrl
: Specify an HTTP URL pointing to a specific file to download.StorageContainerUrl
: Specify an Azure Storage container URL. All blobs matching theBlobPrefix
in the Storage container will be downloaded.AutoStorageContainerName
: Specify the name of a container in the Batch registered auto-storage account. All blobs matching theBlobPrefix
in the Storage container will be downloaded.
-
-
-
-
[Breaking] Removed
OSDisk
property fromVirtualMachineConfiguration
. This property is no longer supported. -
[Breaking]
Application
no longer has aPackages
property, instead the packages can be retrieved via the newApplicationPackage.List
API. -
[Breaking]
TargetOsVersion
is nowOsVersion
, andCurrentOsVersion
is no longer supported onCloudServiceConfiguration
. -
Added support on Windows pools for creating users with a specific login mode (either
Batch
orInteractive
) viaWindowsUserConfiguration.LoginMode
. -
Added support for
ContainerConfiguration
when creating a pool.
5.0.1 (2018-05-25)
Bugfixes
- Compatibility of the sdist with wheel 0.31.0
- msrestazure dependency version range
5.0.0 (2017-11-13)
- Batch Pools are now ARM resources that can be created, updated and managed using the new client.PoolOperations.
- Batch Certificates are now ARM resources that can be created, updated and managed using the new client.CertificateOperations.
4.1.0 (2017-07-24)
- New operation to check the availability and validity of a Batch account name.
4.0.0 (2017-05-10)
- New operation to list the operations available for the
Microsoft.Batch provider, includes new
Operation
andOperationDisplay
models. - Renamed
AddApplicationParameters
toApplicationCreateParameters
. - Renamed
UpdateApplicationParameters
toApplicationUpdateParameters
. - Removed
core_quota
attribute fromBatchAccount
object, now replaced by separatededicated_core_quota
andlow_priority_core_quota
. BatchAccountKeys
object now has additionalaccount_name
attribute.
3.0.1 (2017-04-19)
- This wheel package is now built with the azure wheel extension
3.0.0 (2017-03-07)
- Updated
BatchAccount
model - support for pool allocation in the user's subscription. - Updated
BatchAccount
model - support for referencing an Azure Key Vault for accounts created with a pool allocation mode of UserSubscription. - Updated
BatchAccount
model - properties are now read only. - Updated
ApplicationPackage
model - properties are now read only. - Updated
BatchAccountKeys
model - properties are now read only. - Updated
BatchLocationQuota
model - properties are now read only.
2.0.0 (2016-10-04)
- Renamed
AccountResource
toBatchAccount
. - Renamed
AccountOperations
toBatchAccountOperations
. TheIBatchManagementClient.Account
property was also renamed toIBatchManagementClient.BatchAccount
. - Split
Application
andApplicationPackage
operations up into two separate operation groups. - Updated
Application
andApplicationPackage
methods to use the standardCreate
,Delete
,Update
syntax. For example creating anApplication
is done viaApplicationOperations.Create
. - Renamed
SubscriptionOperations
toLocationOperations
and changedSubscriptionOperations.GetSubscriptionQuotas
to beLocationOperations.GetQuotas
. - This version targets REST API version 2015-12-01.
1.0.0 (2016-08-09)
- Initial Release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file azure-mgmt-batch-14.0.0b1.zip
.
File metadata
- Download URL: azure-mgmt-batch-14.0.0b1.zip
- Upload date:
- Size: 172.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0aba8f7d441372babcdf4f4c644fbb36d55e0681e8b6c1d248b46e1b2f86d668 |
|
MD5 | 0bdfdeb2c626a71cea87aa0337465081 |
|
BLAKE2b-256 | 2be16b7c854fd487c7fd711396a16f059ec7b93936e27b7189efeffd0481fd3c |
File details
Details for the file azure_mgmt_batch-14.0.0b1-py2.py3-none-any.whl
.
File metadata
- Download URL: azure_mgmt_batch-14.0.0b1-py2.py3-none-any.whl
- Upload date:
- Size: 128.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a5ead9ac9dff9a950f2bf1fd668d08fba76b5f750924147e4ca9a01b1428a29 |
|
MD5 | 765045d5fbc21312fdf8103b5dee16f2 |
|
BLAKE2b-256 | e5e61917fb8c87fb3a0bc3fe9086a6fde6608a12e64d5d5763caa512db7451a2 |