Skip to main content
Glama
resource_manager.py662 B
from azure.identity import DefaultAzureCredential from azure.mgmt.resource import ResourceManagementClient from . import config class AzureResourceManager: def __init__(self): self.credential = DefaultAzureCredential() self.client = ResourceManagementClient( credential=self.credential, subscription_id=config.subscription_id ) def list_resources(self, resource_group=None): """List Azure resources, optionally filtered by resource group""" if resource_group: return self.client.resources.list_by_resource_group(resource_group) return self.client.resources.list()

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/idofrizler/azure-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server