Microsoft Azure Batch Client Library for Python providing comprehensive APIs for managing batch computing workloads in Azure cloud
91
A utility for managing application package deployments to Azure Batch compute pools.
@generates
The implementation should provide a PackageManager class that accepts batch service credentials and provides methods for managing application packages.
class PackageManager:
"""Manages application package deployment for Azure Batch pools."""
def __init__(self, batch_url: str, credentials):
"""
Initialize the package manager.
Args:
batch_url: The URL of the Azure Batch account
credentials: Authentication credentials for the batch account
"""
pass
def list_applications(self) -> list:
"""
List all applications in the batch account.
Returns:
A list of application IDs
"""
pass
def get_application(self, application_id: str) -> dict:
"""
Get details about a specific application.
Args:
application_id: The ID of the application to retrieve
Returns:
A dictionary containing application details including available versions
"""
pass
def deploy_to_pool(self, pool_id: str, application_id: str, version: str = None):
"""
Deploy an application package to a pool.
Args:
pool_id: The ID of the pool to deploy to
application_id: The ID of the application to deploy
version: Optional version string. If not specified, uses default version.
"""
passProvides Azure Batch service client capabilities for managing batch workloads.
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