Microsoft Azure Batch Client Library for Python providing comprehensive APIs for managing batch computing workloads in Azure cloud
91
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.
Install with Tessl CLI
npx tessl i tessl/pypi-azure-batchdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10