ppc64le/linux/: azure-mgmt-batch-18.0.0 metadata and description
Microsoft Azure Batch Management Client Library for Python
| author | Microsoft Corporation |
| author_email | [email protected] |
| classifiers |
|
| description_content_type | text/markdown |
| dynamic | summary |
| keywords | azure,azure sdk |
| license | MIT License |
| license_file | LICENSE |
| metadata_version | 2.4 |
| requires_dist |
|
| requires_python | >=3.7 |
| File | Tox results | History |
|---|---|---|
azure_mgmt_batch-18.0.0-py3-none-any.whl
|
|
Microsoft Azure SDK for Python
This is the Microsoft Azure Batch Management Client Library. This package has been tested with Python 3.7+. For a more complete view of Azure libraries, see the azure sdk python release.
Disclaimer
Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691
Getting started
Prerequisites
- Python 3.7+ is required to use this package.
- Azure subscription
Install the package
pip install azure-mgmt-batch
pip install azure-identity
Authentication
By default, Azure Active Directory token authentication depends on correct configure of following environment variables.
AZURE_CLIENT_IDfor Azure client ID.AZURE_TENANT_IDfor Azure tenant ID.AZURE_CLIENT_SECRETfor Azure client secret.
In addition, Azure subscription ID can be configured via environment variable AZURE_SUBSCRIPTION_ID.
With above configuration, client can be authenticated by following code:
from azure.identity import DefaultAzureCredential
from azure.mgmt.batch import BatchManagementClient
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = BatchManagementClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
Examples
Code samples for this package can be found at:
- Search Batch Management on docs.microsoft.com
- Azure Python Mgmt SDK Samples Repo
Troubleshooting
Next steps
Provide Feedback
If you encounter any bugs or have suggestions, please file an issue in the Issues section of the project.

Release History
18.0.0 (2024-09-25)
Features Added
- Client
BatchManagementClientadded operation groupnetwork_security_perimeter - Model
Applicationadded parametertagsin method__init__ - Model
ApplicationPackageadded parametertagsin method__init__ - Model
Certificateadded parametertagsin method__init__ - Model
CertificateCreateOrUpdateParametersadded parametertagsin method__init__ - Model
DetectorResponseadded parametertagsin method__init__ - Model
ImageReferenceadded propertyshared_gallery_image_id - Model
ImageReferenceadded propertycommunity_gallery_image_id - Model
ManagedDiskadded propertysecurity_profile - Model
Pooladded parametertagsin method__init__ - Model
PrivateEndpointConnectionadded parametertagsin method__init__ - Model
PrivateLinkResourceadded parametertagsin method__init__ - Model
ProxyResourceadded propertysystem_data - Model
ProxyResourceadded propertyadditional_properties - Enum
PublicNetworkAccessTypeadded memberSECURED_BY_PERIMETER - Model
Resourceadded propertysystem_data - Model
TaskContainerSettingsadded propertycontainer_host_batch_bind_mounts - Added model
AccessRule - Added enum
AccessRuleDirection - Added model
AccessRuleProperties - Added model
AccessRulePropertiesSubscriptionsItem - Added model
AzureProxyResource - Added model
AzureResource - Added model
ContainerHostBatchBindMountEntry - Added enum
ContainerHostDataPath - Added enum
CreatedByType - Added model
ErrorAdditionalInfo - Added model
ErrorDetail - Added model
ErrorResponse - Added enum
IssueType - Added model
NetworkSecurityPerimeter - Added model
NetworkSecurityPerimeterConfiguration - Added model
NetworkSecurityPerimeterConfigurationListResult - Added model
NetworkSecurityPerimeterConfigurationProperties - Added enum
NetworkSecurityPerimeterConfigurationProvisioningState - Added model
NetworkSecurityProfile - Added model
ProvisioningIssue - Added model
ProvisioningIssueProperties - Added model
ResourceAssociation - Added enum
ResourceAssociationAccessMode - Added enum
SecurityEncryptionTypes - Added enum
SecurityTypes - Added enum
Severity - Added model
SystemData - Added model
VMDiskSecurityProfile - Added model
NetworkSecurityPerimeterOperations
Breaking Changes
- Model
DeploymentConfigurationdeleted or renamed its instance variablecloud_service_configuration - Model
ProxyResourcedeleted or renamed its instance variableetag - Model
Resourcedeleted or renamed its instance variablelocation - Model
Resourcedeleted or renamed its instance variabletags - Deleted or renamed model
CloudServiceConfiguration - Deleted or renamed method
LocationOperations.list_supported_cloud_service_skus
17.3.0 (2024-03-19)
Features Added
- Model Pool has a new parameter upgrade_policy
- Model SupportedSku has a new parameter batch_support_end_of_life
17.2.0 (2023-12-18)
Features Added
- Model OSDisk has a new parameter caching
- Model OSDisk has a new parameter disk_size_gb
- Model OSDisk has a new parameter managed_disk
- Model OSDisk has a new parameter write_accelerator_enabled
- Model Pool has a new parameter resource_tags
- Model VirtualMachineConfiguration has a new parameter security_profile
- Model VirtualMachineConfiguration has a new parameter service_artifact_reference
17.1.0 (2023-07-21)
Features Added
- Model NetworkConfiguration has a new parameter enable_accelerated_networking
- Model VMExtension has a new parameter enable_automatic_upgrade
- Model ContainerConfiguration allows two possible values:
dockerCompatibleandcriCompatibleinstead of fixed valuedockerCompatible
17.0.0 (2022-11-23)
Features Added
- Model NetworkConfiguration has a new parameter dynamic_vnet_assignment_scope
- Model Pool has a new parameter current_node_communication_mode
- Model Pool has a new parameter target_node_communication_mode
- Model PrivateLinkServiceConnectionState has a new parameter actions_required
Breaking Changes
- Model CIFSMountConfiguration has a new required parameter user_name
- Model CIFSMountConfiguration no longer has parameter username
- Model NetworkConfiguration no longer has parameter dynamic_v_net_assignment_scope
- Model PrivateLinkServiceConnectionState no longer has parameter action_required
16.2.0 (2022-06-06)
Features
- Added operation PrivateEndpointConnectionOperations.begin_delete
- Model BatchAccount has a new parameter network_profile
- Model BatchAccount has a new parameter node_management_endpoint
- Model BatchAccountCreateParameters has a new parameter network_profile
- Model BatchAccountUpdateParameters has a new parameter network_profile
- Model BatchAccountUpdateParameters has a new parameter public_network_access
- Model PrivateEndpointConnection has a new parameter group_ids
16.1.0 (2022-02-24)
Features
- Added operation BatchAccountOperations.get_detector
- Added operation BatchAccountOperations.list_detectors
- Model NetworkConfiguration has a new parameter dynamic_v_net_assignment_scope
16.0.0 (2021-07-30)
Features
- Model BatchAccount has a new parameter allowed_authentication_modes
- Model AutoStorageBaseProperties has a new parameter node_identity_reference
- Model AutoStorageBaseProperties has a new parameter authentication_mode
- Model AzureBlobFileSystemConfiguration has a new parameter identity_reference
- Model BatchAccountUpdateParameters has a new parameter allowed_authentication_modes
- Model ContainerRegistry has a new parameter identity_reference
- Model Operation has a new parameter is_data_action
- Model BatchAccountCreateParameters has a new parameter allowed_authentication_modes
- Model AutoStorageProperties has a new parameter node_identity_reference
- Model AutoStorageProperties has a new parameter authentication_mode
- Model ResourceFile has a new parameter identity_reference
- Model VirtualMachineConfiguration has a new parameter os_disk
- Added operation BatchAccountOperations.list_outbound_network_dependencies_endpoints
- Added operation LocationOperations.list_supported_cloud_service_skus
- Added operation LocationOperations.list_supported_virtual_machine_skus
Breaking changes
- Rename
BatchManagementtoBatchManagementClient
15.0.0 (2021-02-01)
- Fix changelog
15.0.0b1 (2021-01-28)
Features
- Added new extensions property to VirtualMachineConfiguration on pools to specify virtual machine extensions for nodes
- Added the ability to specify availability zones using a new property node_placement_configuration on VirtualMachineConfiguration
- Added a new identity property on Pool to specify a managed identity
- Added a new user_assigned_identities on BatchAccountIdentity to specify a user managed identity
- Added certificate operation method PoolOperations.create
- Added certificate operation method CertificateOperations.create
Breaking changes
- Removed certificate operation method PoolOperations.begin_create. Certificate operations are not long running operations so this was incorrect.
- Removed certificate operation method CertificateOperations.begin_create. Certificate operations are not long running operations so this was incorrect.
14.0.0 (2020-12-22)
- GA release
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.credentialsormsrestazure.azure_active_directoryinstances are no longer supported, use theazure-identityclasses instead: https://pypi.org/project/azure-identity/credentialsparameter has been renamedcredential
-
The
configattribute 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
versionmodule anymore, use__version__instead -
Operations that used to return a
msrest.polling.LROPollernow returns aazure.core.polling.LROPollerand are prefixed withbegin_. -
Exceptions tree have been simplified and most exceptions are now
azure.core.exceptions.HttpResponseError(CloudErrorhas been removed). -
Most of the operation kwarg have changed. Some of the most noticeable:
rawhas 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
aionamespace 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_accessproperty onBatchAccount. - Added new
PrivateLinkResourceandPrivateEndpointConnectionresource types. These are both only used when thepublic_network_accessproperty onBatchAccountis set toDisabled.- When
public_network_accessis set toDisableda newPrivateLinkResourceis 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
ComputeNodedisk drives using the newdisk_encryption_configurationproperty ofVirtualMachineConfiguration. - [Breaking] The
idproperty ofImageReferencecan now only refer to a Shared Image Gallery image. - [Breaking] Pools can now be provisioned without a public IP using the new
public_ip_configurationproperty ofNetworkConfiguration.- The
public_ipsproperty ofNetworkConfigurationhas moved in toPublicIPAddressConfigurationas well. This property can only be specified ifIPAddressProvisioningTypeisUserManaged.
- The
- Adds a new property
identityof typeBatchAccountIdentitytoBatchAccount. 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
identityproperty onBatchAccountCreateParametersandBatchAccountUpdateParameters
- 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
BatchAccountCreateParametersandBatchAccountUpdateParametersto 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_accessproperty onBatchAccount. - Added new
PrivateLinkResourceandPrivateEndpointConnectionresource types. These are both only used when thepublic_network_accessproperty onBatchAccountis set toDisabled.- When
public_network_accessis set toDisableda newPrivateLinkResourceis 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
ComputeNodedisk drives using the newdisk_encryption_configurationproperty ofVirtualMachineConfiguration. - [Breaking] The
idproperty ofImageReferencecan now only refer to a Shared Image Gallery image. - [Breaking] Pools can now be provisioned without a public IP using the new
public_ip_configurationproperty ofNetworkConfiguration.- The
public_ipsproperty ofNetworkConfigurationhas moved in toPublicIPAddressConfigurationas well. This property can only be specified ifIPAddressProvisioningTypeisUserManaged.
- The
7.0.0 (2019-08-05)
- Added ability to specify a collection of public IPs on
NetworkConfigurationvia the newpublic_ipsproperty. 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_configurationproperty onPool. - Shared Image Gallery images can now be specified on the
idproperty ofImageReferenceby referencing the image via its ARM ID. - [Breaking] When not specified, the default value for
wait_for_successonStartTaskis nowTrue(wasFalse). - [Breaking] When not specified, the default value for
scopeonAutoUserSpecificationis now alwaysPool(wasTaskon Windows nodes,Poolon 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
HttpUrlreplacesBlobSource. This can be any HTTP URL. Previously, this had to be an Azure Blob Storage URL. -
-
When constructing a
ResourceFileyou 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 theBlobPrefixin the Storage container will be downloaded.AutoStorageContainerName: Specify the name of a container in the Batch registered auto-storage account. All blobs matching theBlobPrefixin the Storage container will be downloaded.
-
-
-
-
[Breaking] Removed
OSDiskproperty fromVirtualMachineConfiguration. This property is no longer supported. -
[Breaking]
Applicationno longer has aPackagesproperty, instead the packages can be retrieved via the newApplicationPackage.ListAPI. -
[Breaking]
TargetOsVersionis nowOsVersion, andCurrentOsVersionis no longer supported onCloudServiceConfiguration. -
Added support on Windows pools for creating users with a specific login mode (either
BatchorInteractive) viaWindowsUserConfiguration.LoginMode. -
Added support for
ContainerConfigurationwhen 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
OperationandOperationDisplaymodels. - Renamed
AddApplicationParameterstoApplicationCreateParameters. - Renamed
UpdateApplicationParameterstoApplicationUpdateParameters. - Removed
core_quotaattribute fromBatchAccountobject, now replaced by separatededicated_core_quotaandlow_priority_core_quota. BatchAccountKeysobject now has additionalaccount_nameattribute.
3.0.1 (2017-04-19)
- This wheel package is now built with the azure wheel extension
3.0.0 (2017-03-07)
- Updated
BatchAccountmodel - support for pool allocation in the user's subscription. - Updated
BatchAccountmodel - support for referencing an Azure Key Vault for accounts created with a pool allocation mode of UserSubscription. - Updated
BatchAccountmodel - properties are now read only. - Updated
ApplicationPackagemodel - properties are now read only. - Updated
BatchAccountKeysmodel - properties are now read only. - Updated
BatchLocationQuotamodel - properties are now read only.
2.0.0 (2016-10-04)
- Renamed
AccountResourcetoBatchAccount. - Renamed
AccountOperationstoBatchAccountOperations. TheIBatchManagementClient.Accountproperty was also renamed toIBatchManagementClient.BatchAccount. - Split
ApplicationandApplicationPackageoperations up into two separate operation groups. - Updated
ApplicationandApplicationPackagemethods to use the standardCreate,Delete,Updatesyntax. For example creating anApplicationis done viaApplicationOperations.Create. - Renamed
SubscriptionOperationstoLocationOperationsand changedSubscriptionOperations.GetSubscriptionQuotasto beLocationOperations.GetQuotas. - This version targets REST API version 2015-12-01.
1.0.0 (2016-08-09)
- Initial Release