tessl install tessl/pypi-azure-batch@14.2.0Microsoft Azure Batch Client Library for Python providing comprehensive APIs for managing batch computing workloads in Azure cloud
Agent Success
Agent success rate when using this tile
91%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.07x
Baseline
Agent success rate without this tile
85%
A utility for building Azure Batch pool configurations with different virtual machine types and node allocations.
@generates
def create_pool_configuration(pool_id: str, vm_size: str, dedicated_nodes: int, low_priority_nodes: int = 0):
"""
Create an Azure Batch pool configuration object.
Args:
pool_id: Unique identifier for the pool
vm_size: Azure VM size (e.g., 'STANDARD_D2_V3', 'STANDARD_A1')
dedicated_nodes: Number of dedicated compute nodes (0 or more)
low_priority_nodes: Number of low-priority compute nodes (default: 0)
Returns:
A pool configuration object with:
- Pool identifier
- VM size specification
- Dedicated and low-priority node targets
- Virtual machine configuration with Ubuntu 20.04 LTS
- Appropriate node agent SKU for Ubuntu
The returned object should be compatible with Azure Batch pool creation APIs.
"""
passProvides Azure Batch client library for managing batch computing resources.