Microsoft Azure Media Services Client Library for Python - A management library for Azure Media Services that provides programmatic access to media processing and streaming capabilities in the cloud.
83
Quality
Pending
Does it follow best practices?
Impact
83%
1.09xAverage score across 10 eval scenarios
A command-line tool for provisioning and managing Azure Media Services accounts with automated setup and validation.
Before creating resources, the tool validates that the desired account name is available in the Azure subscription.
Creates a new Azure Media Services account with specified configuration in a resource group.
Retrieves information about an existing Media Services account.
Updates the storage accounts associated with a Media Services account.
@generates
from azure.mgmt.media import AzureMediaServices
from azure.identity import DefaultAzureCredential
class MediaAccountManager:
"""Manages Azure Media Services account operations."""
def __init__(self, subscription_id: str):
"""
Initialize the Media Account Manager.
Args:
subscription_id: Azure subscription ID
"""
pass
def check_name_availability(self, location: str, account_name: str) -> bool:
"""
Check if a Media Services account name is available.
Args:
location: Azure region (e.g., 'eastus', 'westus')
account_name: Desired account name
Returns:
True if the name is available, False otherwise
"""
pass
def create_account(
self,
resource_group: str,
account_name: str,
location: str,
storage_accounts: list = None
) -> dict:
"""
Create a new Media Services account.
Args:
resource_group: Name of the resource group
account_name: Name for the new account
location: Azure region
storage_accounts: Optional list of storage account configurations,
each as dict with 'id' and 'type' keys
Returns:
Dictionary containing account details (name, location, id)
"""
pass
def get_account(self, resource_group: str, account_name: str) -> dict:
"""
Retrieve details of an existing Media Services account.
Args:
resource_group: Name of the resource group
account_name: Name of the account
Returns:
Dictionary containing account details including storage accounts
"""
pass
def update_storage_accounts(
self,
resource_group: str,
account_name: str,
storage_accounts: list
) -> dict:
"""
Update storage accounts associated with a Media Services account.
Args:
resource_group: Name of the resource group
account_name: Name of the account
storage_accounts: List of storage account configurations
Returns:
Updated account details
"""
passProvides Azure Media Services management capabilities including account provisioning and configuration.
Provides Azure Active Directory authentication support for accessing Azure services.
Install with Tessl CLI
npx tessl i tessl/pypi-azure-mgmt-mediadocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10