tessl install tessl/pypi-azure-data-tables@12.7.0Microsoft Azure Data Tables Client Library for Python
Agent Success
Agent success rate when using this tile
90%
Improvement
Agent success rate improvement when using this tile compared to baseline
0.97x
Baseline
Agent success rate without this tile
93%
A monitoring system that checks the health and replication status of Azure Table Storage accounts configured with read-access geo-redundant storage (RA-GRS).
@generates
from azure.data.tables import TableServiceClient
from typing import Dict, Optional, Any
def get_replication_status(
account_name: str,
account_key: str
) -> Dict[str, Any]:
"""
Retrieves geo-replication statistics for a storage account.
Args:
account_name: Azure storage account name
account_key: Azure storage account access key
Returns:
Dictionary containing:
- 'status': Replication status string (e.g., 'live', 'bootstrap')
- 'last_sync_time': Datetime of last successful sync, or None if unavailable
- 'is_available': Boolean indicating if statistics are available
Raises:
Exception: If unable to retrieve service statistics
"""
pass
def create_secondary_client(
account_name: str,
account_key: str
) -> TableServiceClient:
"""
Creates a TableServiceClient configured to use the secondary endpoint.
Args:
account_name: Azure storage account name
account_key: Azure storage account access key
Returns:
TableServiceClient configured for secondary endpoint access
"""
pass
def verify_table_replication(
account_name: str,
account_key: str,
table_name: str
) -> bool:
"""
Verifies that a specific table exists on the secondary endpoint.
Args:
account_name: Azure storage account name
account_key: Azure storage account access key
table_name: Name of the table to verify
Returns:
True if the table exists on the secondary endpoint, False otherwise
"""
passProvides Azure Table Storage client library with support for geo-redundant storage access.
@satisfied-by