[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-microsoft-azure-storage-file-datalake-py":3,"mdc-5baxsg-key":42,"related-repo-microsoft-azure-storage-file-datalake-py":1798,"related-org-microsoft-azure-storage-file-datalake-py":1907},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":25,"repoUrl":26,"updatedAt":27,"license":28,"forks":29,"topics":30,"repo":37,"sourceUrl":40,"mdContent":41},"azure-storage-file-datalake-py","manage Azure Data Lake storage operations","Azure Data Lake Storage Gen2 SDK for Python. Use for hierarchical file systems, big data analytics, and file\u002Fdirectory operations.\nTriggers: \"data lake\", \"DataLakeServiceClient\", \"FileSystemClient\", \"ADLS Gen2\", \"hierarchical namespace\".\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"microsoft","Microsoft","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fmicrosoft.png",[12,16,19,22],{"name":13,"slug":14,"type":15},"Azure","azure","tag",{"name":17,"slug":18,"type":15},"Data Engineering","data-engineering",{"name":20,"slug":21,"type":15},"Python","python",{"name":23,"slug":24,"type":15},"Storage","storage",2804,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills","2026-07-18T05:14:20.971502","MIT",315,[31,32,14,33,34,35,36],"agent-skills","agents","foundry","mcp","sdk","skills",{"repoUrl":26,"stars":25,"forks":29,"topics":38,"description":39},[31,32,14,33,34,35,36],"Skills, MCP servers, Custom Agents, Agents.md for SDKs to ground Coding Agents","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills\u002Ftree\u002FHEAD\u002F.github\u002Fplugins\u002Fazure-sdk-python\u002Fskills\u002Fazure-storage-file-datalake-py","---\nname: azure-storage-file-datalake-py\ndescription: |\n  Azure Data Lake Storage Gen2 SDK for Python. Use for hierarchical file systems, big data analytics, and file\u002Fdirectory operations.\n  Triggers: \"data lake\", \"DataLakeServiceClient\", \"FileSystemClient\", \"ADLS Gen2\", \"hierarchical namespace\".\nlicense: MIT\nmetadata:\n  author: Microsoft\n  version: \"1.0.0\"\n  package: azure-storage-file-datalake\n---\n\n# Azure Data Lake Storage Gen2 SDK for Python\n\nHierarchical file system for big data analytics workloads.\n\n## Installation\n\n```bash\npip install azure-storage-file-datalake azure-identity\n```\n\n## Environment Variables\n\n```bash\nAZURE_STORAGE_ACCOUNT_URL=https:\u002F\u002F\u003Caccount>.dfs.core.windows.net  # Required for all auth methods\nAZURE_TOKEN_CREDENTIALS=prod # Required only if DefaultAzureCredential is used in production\n```\n\n## Authentication & Lifecycle\n\n> **🔑 Two rules apply to every code sample below:**\n>\n> 1. **Prefer `DefaultAzureCredential`.** It works locally (Azure CLI \u002F VS Code \u002F Developer CLI) and in Azure (managed identity, workload identity) with no code change. Avoid connection strings, account\u002FAPI keys — they bypass Entra audit and rotation.\n>    - Local dev: `DefaultAzureCredential` works as-is.\n>    - Production: set `AZURE_TOKEN_CREDENTIALS=prod` (or `AZURE_TOKEN_CREDENTIALS=\u003Cspecific_credential>`) to constrain the credential chain to production-safe credentials.\n> 2. **Wrap every client in a context manager** so HTTP transports, sockets, and token caches are released deterministically:\n>    - Sync: `with \u003CClient>(...) as client:`\n>    - Async: `async with \u003CClient>(...) as client:` **and** `async with DefaultAzureCredential() as credential:` (from `azure.identity.aio`)\n>\n> Snippets may abbreviate this setup, but production code should always follow both rules.\n\n```python\nfrom azure.identity import DefaultAzureCredential, ManagedIdentityCredential\nfrom azure.storage.filedatalake import DataLakeServiceClient\n\n# Local dev: DefaultAzureCredential. Production: set AZURE_TOKEN_CREDENTIALS=prod or AZURE_TOKEN_CREDENTIALS=\u003Cspecific_credential>\ncredential = DefaultAzureCredential(require_envvar=True)\n# Or use a specific credential directly in production:\n# See https:\u002F\u002Flearn.microsoft.com\u002Fpython\u002Fapi\u002Foverview\u002Fazure\u002Fidentity-readme?view=azure-python#credential-classes\n# credential = ManagedIdentityCredential()\naccount_url = \"https:\u002F\u002F\u003Caccount>.dfs.core.windows.net\"\n\nwith DataLakeServiceClient(account_url=account_url, credential=credential) as service_client:\n    # Use service_client here (see following sections for operations)\n    ...\n```\n\n## Client Hierarchy\n\n| Client | Purpose |\n|--------|---------|\n| `DataLakeServiceClient` | Account-level operations |\n| `FileSystemClient` | Container (file system) operations |\n| `DataLakeDirectoryClient` | Directory operations |\n| `DataLakeFileClient` | File operations |\n\n## File System Operations\n\n```python\n# Create file system (container)\nfile_system_client = service_client.create_file_system(\"myfilesystem\")\n\n# Get existing\nfile_system_client = service_client.get_file_system_client(\"myfilesystem\")\n\n# Delete\nservice_client.delete_file_system(\"myfilesystem\")\n\n# List file systems\nfor fs in service_client.list_file_systems():\n    print(fs.name)\n```\n\n## Directory Operations\n\n```python\nfile_system_client = service_client.get_file_system_client(\"myfilesystem\")\n\n# Create directory\ndirectory_client = file_system_client.create_directory(\"mydir\")\n\n# Create nested directories\ndirectory_client = file_system_client.create_directory(\"path\u002Fto\u002Fnested\u002Fdir\")\n\n# Get directory client\ndirectory_client = file_system_client.get_directory_client(\"mydir\")\n\n# Delete directory\ndirectory_client.delete_directory()\n\n# Rename\u002Fmove directory\ndirectory_client.rename_directory(new_name=\"myfilesystem\u002Fnewname\")\n```\n\n## File Operations\n\n### Upload File\n\n```python\n# Get file client\nfile_client = file_system_client.get_file_client(\"path\u002Fto\u002Ffile.txt\")\n\n# Upload from local file\nwith open(\"local-file.txt\", \"rb\") as data:\n    file_client.upload_data(data, overwrite=True)\n\n# Upload bytes\nfile_client.upload_data(b\"Hello, Data Lake!\", overwrite=True)\n\n# Append data (for large files)\nfile_client.append_data(data=b\"chunk1\", offset=0, length=6)\nfile_client.append_data(data=b\"chunk2\", offset=6, length=6)\nfile_client.flush_data(12)  # Commit the data\n```\n\n### Download File\n\n```python\nfile_client = file_system_client.get_file_client(\"path\u002Fto\u002Ffile.txt\")\n\n# Download all content\ndownload = file_client.download_file()\ncontent = download.readall()\n\n# Download to file\nwith open(\"downloaded.txt\", \"wb\") as f:\n    download = file_client.download_file()\n    download.readinto(f)\n\n# Download range\ndownload = file_client.download_file(offset=0, length=100)\n```\n\n### Delete File\n\n```python\nfile_client.delete_file()\n```\n\n## List Contents\n\n```python\n# List paths (files and directories)\nfor path in file_system_client.get_paths():\n    print(f\"{'DIR' if path.is_directory else 'FILE'}: {path.name}\")\n\n# List paths in directory\nfor path in file_system_client.get_paths(path=\"mydir\"):\n    print(path.name)\n\n# Recursive listing\nfor path in file_system_client.get_paths(path=\"mydir\", recursive=True):\n    print(path.name)\n```\n\n## File\u002FDirectory Properties\n\n```python\n# Get properties\nproperties = file_client.get_file_properties()\nprint(f\"Size: {properties.size}\")\nprint(f\"Last modified: {properties.last_modified}\")\n\n# Set metadata\nfile_client.set_metadata(metadata={\"processed\": \"true\"})\n```\n\n## Access Control (ACL)\n\n```python\n# Get ACL\nacl = directory_client.get_access_control()\nprint(f\"Owner: {acl['owner']}\")\nprint(f\"Permissions: {acl['permissions']}\")\n\n# Set ACL\ndirectory_client.set_access_control(\n    owner=\"user-id\",\n    permissions=\"rwxr-x---\"\n)\n\n# Update ACL entries\nfrom azure.storage.filedatalake import AccessControlChangeResult\ndirectory_client.update_access_control_recursive(\n    acl=\"user:user-id:rwx\"\n)\n```\n\n## Async Client\n\n```python\nfrom azure.storage.filedatalake.aio import DataLakeServiceClient\nfrom azure.identity.aio import DefaultAzureCredential\n\nasync def datalake_operations():\n    async with DefaultAzureCredential() as credential:\n        async with DataLakeServiceClient(\n            account_url=\"https:\u002F\u002F\u003Caccount>.dfs.core.windows.net\",\n            credential=credential\n        ) as service_client:\n            file_system_client = service_client.get_file_system_client(\"myfilesystem\")\n            file_client = file_system_client.get_file_client(\"test.txt\")\n            \n            await file_client.upload_data(b\"async content\", overwrite=True)\n            \n            download = await file_client.download_file()\n            content = await download.readall()\n\nimport asyncio\nasyncio.run(datalake_operations())\n```\n\n## Best Practices\n\n1. **Pick sync OR async and stay consistent.** Do not mix `azure.storage.filedatalake` sync clients with `azure.storage.filedatalake.aio` async clients in the same call path. Choose one mode per module.\n2. **Always use context managers for clients and async credentials.** Wrap every client in `with DataLakeServiceClient(...) as client:` (sync) or `async with DataLakeServiceClient(...) as client:` (async). For async `DefaultAzureCredential` from `azure.identity.aio`, also use `async with credential:` so tokens and transports are cleaned up.\n3. **Use `DefaultAzureCredential`** for portable auth across local dev and Azure (avoid connection strings \u002F API keys when possible).\n4. **Use hierarchical namespace** for file system semantics\n5. **Use `append_data` + `flush_data`** for large file uploads\n6. **Set ACLs at directory level** and inherit to children\n7. **Use async client** for high-throughput scenarios\n8. **Use `get_paths` with `recursive=True`** for full directory listing\n9. **Set metadata** for custom file attributes\n10. **Consider Blob API** for simple object storage use cases\n\n## Reference Files\n\n| File | Contents |\n|------|----------|\n| [references\u002Fcapabilities.md](references\u002Fcapabilities.md) | Additional non-hero capabilities, operation-group coverage, and production checklists. |\n| [references\u002Fnon-hero-scenarios.md](references\u002Fnon-hero-scenarios.md) | Dedicated non-hero examples for secondary\u002Fadvanced scenarios. |\n",{"data":43,"body":47},{"name":4,"description":6,"license":28,"metadata":44},{"author":9,"version":45,"package":46},"1.0.0","azure-storage-file-datalake",{"type":48,"children":49},"root",[50,59,65,72,112,118,194,200,337,460,466,562,568,668,674,806,812,819,935,941,1048,1054,1068,1074,1166,1172,1234,1240,1372,1378,1537,1543,1731,1737,1792],{"type":51,"tag":52,"props":53,"children":55},"element","h1",{"id":54},"azure-data-lake-storage-gen2-sdk-for-python",[56],{"type":57,"value":58},"text","Azure Data Lake Storage Gen2 SDK for Python",{"type":51,"tag":60,"props":61,"children":62},"p",{},[63],{"type":57,"value":64},"Hierarchical file system for big data analytics workloads.",{"type":51,"tag":66,"props":67,"children":69},"h2",{"id":68},"installation",[70],{"type":57,"value":71},"Installation",{"type":51,"tag":73,"props":74,"children":79},"pre",{"className":75,"code":76,"language":77,"meta":78,"style":78},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","pip install azure-storage-file-datalake azure-identity\n","bash","",[80],{"type":51,"tag":81,"props":82,"children":83},"code",{"__ignoreMap":78},[84],{"type":51,"tag":85,"props":86,"children":89},"span",{"class":87,"line":88},"line",1,[90,96,102,107],{"type":51,"tag":85,"props":91,"children":93},{"style":92},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[94],{"type":57,"value":95},"pip",{"type":51,"tag":85,"props":97,"children":99},{"style":98},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[100],{"type":57,"value":101}," install",{"type":51,"tag":85,"props":103,"children":104},{"style":98},[105],{"type":57,"value":106}," azure-storage-file-datalake",{"type":51,"tag":85,"props":108,"children":109},{"style":98},[110],{"type":57,"value":111}," azure-identity\n",{"type":51,"tag":66,"props":113,"children":115},{"id":114},"environment-variables",[116],{"type":57,"value":117},"Environment Variables",{"type":51,"tag":73,"props":119,"children":121},{"className":75,"code":120,"language":77,"meta":78,"style":78},"AZURE_STORAGE_ACCOUNT_URL=https:\u002F\u002F\u003Caccount>.dfs.core.windows.net  # Required for all auth methods\nAZURE_TOKEN_CREDENTIALS=prod # Required only if DefaultAzureCredential is used in production\n",[122],{"type":51,"tag":81,"props":123,"children":124},{"__ignoreMap":78},[125,171],{"type":51,"tag":85,"props":126,"children":127},{"class":87,"line":88},[128,134,140,145,150,155,160,165],{"type":51,"tag":85,"props":129,"children":131},{"style":130},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[132],{"type":57,"value":133},"AZURE_STORAGE_ACCOUNT_URL",{"type":51,"tag":85,"props":135,"children":137},{"style":136},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[138],{"type":57,"value":139},"=",{"type":51,"tag":85,"props":141,"children":142},{"style":98},[143],{"type":57,"value":144},"https:\u002F\u002F",{"type":51,"tag":85,"props":146,"children":147},{"style":136},[148],{"type":57,"value":149},"\u003C",{"type":51,"tag":85,"props":151,"children":152},{"style":98},[153],{"type":57,"value":154},"account",{"type":51,"tag":85,"props":156,"children":157},{"style":136},[158],{"type":57,"value":159},">",{"type":51,"tag":85,"props":161,"children":162},{"style":98},[163],{"type":57,"value":164},".dfs.core.windows.net",{"type":51,"tag":85,"props":166,"children":168},{"style":167},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[169],{"type":57,"value":170},"  # Required for all auth methods\n",{"type":51,"tag":85,"props":172,"children":174},{"class":87,"line":173},2,[175,180,184,189],{"type":51,"tag":85,"props":176,"children":177},{"style":130},[178],{"type":57,"value":179},"AZURE_TOKEN_CREDENTIALS",{"type":51,"tag":85,"props":181,"children":182},{"style":136},[183],{"type":57,"value":139},{"type":51,"tag":85,"props":185,"children":186},{"style":98},[187],{"type":57,"value":188},"prod",{"type":51,"tag":85,"props":190,"children":191},{"style":167},[192],{"type":57,"value":193}," # Required only if DefaultAzureCredential is used in production\n",{"type":51,"tag":66,"props":195,"children":197},{"id":196},"authentication-lifecycle",[198],{"type":57,"value":199},"Authentication & Lifecycle",{"type":51,"tag":201,"props":202,"children":203},"blockquote",{},[204,213,332],{"type":51,"tag":60,"props":205,"children":206},{},[207],{"type":51,"tag":208,"props":209,"children":210},"strong",{},[211],{"type":57,"value":212},"🔑 Two rules apply to every code sample below:",{"type":51,"tag":214,"props":215,"children":216},"ol",{},[217,273],{"type":51,"tag":218,"props":219,"children":220},"li",{},[221,234,236],{"type":51,"tag":208,"props":222,"children":223},{},[224,226,232],{"type":57,"value":225},"Prefer ",{"type":51,"tag":81,"props":227,"children":229},{"className":228},[],[230],{"type":57,"value":231},"DefaultAzureCredential",{"type":57,"value":233},".",{"type":57,"value":235}," It works locally (Azure CLI \u002F VS Code \u002F Developer CLI) and in Azure (managed identity, workload identity) with no code change. Avoid connection strings, account\u002FAPI keys — they bypass Entra audit and rotation.\n",{"type":51,"tag":237,"props":238,"children":239},"ul",{},[240,252],{"type":51,"tag":218,"props":241,"children":242},{},[243,245,250],{"type":57,"value":244},"Local dev: ",{"type":51,"tag":81,"props":246,"children":248},{"className":247},[],[249],{"type":57,"value":231},{"type":57,"value":251}," works as-is.",{"type":51,"tag":218,"props":253,"children":254},{},[255,257,263,265,271],{"type":57,"value":256},"Production: set ",{"type":51,"tag":81,"props":258,"children":260},{"className":259},[],[261],{"type":57,"value":262},"AZURE_TOKEN_CREDENTIALS=prod",{"type":57,"value":264}," (or ",{"type":51,"tag":81,"props":266,"children":268},{"className":267},[],[269],{"type":57,"value":270},"AZURE_TOKEN_CREDENTIALS=\u003Cspecific_credential>",{"type":57,"value":272},") to constrain the credential chain to production-safe credentials.",{"type":51,"tag":218,"props":274,"children":275},{},[276,281,283],{"type":51,"tag":208,"props":277,"children":278},{},[279],{"type":57,"value":280},"Wrap every client in a context manager",{"type":57,"value":282}," so HTTP transports, sockets, and token caches are released deterministically:\n",{"type":51,"tag":237,"props":284,"children":285},{},[286,297],{"type":51,"tag":218,"props":287,"children":288},{},[289,291],{"type":57,"value":290},"Sync: ",{"type":51,"tag":81,"props":292,"children":294},{"className":293},[],[295],{"type":57,"value":296},"with \u003CClient>(...) as client:",{"type":51,"tag":218,"props":298,"children":299},{},[300,302,308,310,315,316,322,324,330],{"type":57,"value":301},"Async: ",{"type":51,"tag":81,"props":303,"children":305},{"className":304},[],[306],{"type":57,"value":307},"async with \u003CClient>(...) as client:",{"type":57,"value":309}," ",{"type":51,"tag":208,"props":311,"children":312},{},[313],{"type":57,"value":314},"and",{"type":57,"value":309},{"type":51,"tag":81,"props":317,"children":319},{"className":318},[],[320],{"type":57,"value":321},"async with DefaultAzureCredential() as credential:",{"type":57,"value":323}," (from ",{"type":51,"tag":81,"props":325,"children":327},{"className":326},[],[328],{"type":57,"value":329},"azure.identity.aio",{"type":57,"value":331},")",{"type":51,"tag":60,"props":333,"children":334},{},[335],{"type":57,"value":336},"Snippets may abbreviate this setup, but production code should always follow both rules.",{"type":51,"tag":73,"props":338,"children":341},{"className":339,"code":340,"language":21,"meta":78,"style":78},"language-python shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","from azure.identity import DefaultAzureCredential, ManagedIdentityCredential\nfrom azure.storage.filedatalake import DataLakeServiceClient\n\n# Local dev: DefaultAzureCredential. Production: set AZURE_TOKEN_CREDENTIALS=prod or AZURE_TOKEN_CREDENTIALS=\u003Cspecific_credential>\ncredential = DefaultAzureCredential(require_envvar=True)\n# Or use a specific credential directly in production:\n# See https:\u002F\u002Flearn.microsoft.com\u002Fpython\u002Fapi\u002Foverview\u002Fazure\u002Fidentity-readme?view=azure-python#credential-classes\n# credential = ManagedIdentityCredential()\naccount_url = \"https:\u002F\u002F\u003Caccount>.dfs.core.windows.net\"\n\nwith DataLakeServiceClient(account_url=account_url, credential=credential) as service_client:\n    # Use service_client here (see following sections for operations)\n    ...\n",[342],{"type":51,"tag":81,"props":343,"children":344},{"__ignoreMap":78},[345,353,361,371,380,389,398,407,416,425,433,442,451],{"type":51,"tag":85,"props":346,"children":347},{"class":87,"line":88},[348],{"type":51,"tag":85,"props":349,"children":350},{},[351],{"type":57,"value":352},"from azure.identity import DefaultAzureCredential, ManagedIdentityCredential\n",{"type":51,"tag":85,"props":354,"children":355},{"class":87,"line":173},[356],{"type":51,"tag":85,"props":357,"children":358},{},[359],{"type":57,"value":360},"from azure.storage.filedatalake import DataLakeServiceClient\n",{"type":51,"tag":85,"props":362,"children":364},{"class":87,"line":363},3,[365],{"type":51,"tag":85,"props":366,"children":368},{"emptyLinePlaceholder":367},true,[369],{"type":57,"value":370},"\n",{"type":51,"tag":85,"props":372,"children":374},{"class":87,"line":373},4,[375],{"type":51,"tag":85,"props":376,"children":377},{},[378],{"type":57,"value":379},"# Local dev: DefaultAzureCredential. Production: set AZURE_TOKEN_CREDENTIALS=prod or AZURE_TOKEN_CREDENTIALS=\u003Cspecific_credential>\n",{"type":51,"tag":85,"props":381,"children":383},{"class":87,"line":382},5,[384],{"type":51,"tag":85,"props":385,"children":386},{},[387],{"type":57,"value":388},"credential = DefaultAzureCredential(require_envvar=True)\n",{"type":51,"tag":85,"props":390,"children":392},{"class":87,"line":391},6,[393],{"type":51,"tag":85,"props":394,"children":395},{},[396],{"type":57,"value":397},"# Or use a specific credential directly in production:\n",{"type":51,"tag":85,"props":399,"children":401},{"class":87,"line":400},7,[402],{"type":51,"tag":85,"props":403,"children":404},{},[405],{"type":57,"value":406},"# See https:\u002F\u002Flearn.microsoft.com\u002Fpython\u002Fapi\u002Foverview\u002Fazure\u002Fidentity-readme?view=azure-python#credential-classes\n",{"type":51,"tag":85,"props":408,"children":410},{"class":87,"line":409},8,[411],{"type":51,"tag":85,"props":412,"children":413},{},[414],{"type":57,"value":415},"# credential = ManagedIdentityCredential()\n",{"type":51,"tag":85,"props":417,"children":419},{"class":87,"line":418},9,[420],{"type":51,"tag":85,"props":421,"children":422},{},[423],{"type":57,"value":424},"account_url = \"https:\u002F\u002F\u003Caccount>.dfs.core.windows.net\"\n",{"type":51,"tag":85,"props":426,"children":428},{"class":87,"line":427},10,[429],{"type":51,"tag":85,"props":430,"children":431},{"emptyLinePlaceholder":367},[432],{"type":57,"value":370},{"type":51,"tag":85,"props":434,"children":436},{"class":87,"line":435},11,[437],{"type":51,"tag":85,"props":438,"children":439},{},[440],{"type":57,"value":441},"with DataLakeServiceClient(account_url=account_url, credential=credential) as service_client:\n",{"type":51,"tag":85,"props":443,"children":445},{"class":87,"line":444},12,[446],{"type":51,"tag":85,"props":447,"children":448},{},[449],{"type":57,"value":450},"    # Use service_client here (see following sections for operations)\n",{"type":51,"tag":85,"props":452,"children":454},{"class":87,"line":453},13,[455],{"type":51,"tag":85,"props":456,"children":457},{},[458],{"type":57,"value":459},"    ...\n",{"type":51,"tag":66,"props":461,"children":463},{"id":462},"client-hierarchy",[464],{"type":57,"value":465},"Client Hierarchy",{"type":51,"tag":467,"props":468,"children":469},"table",{},[470,489],{"type":51,"tag":471,"props":472,"children":473},"thead",{},[474],{"type":51,"tag":475,"props":476,"children":477},"tr",{},[478,484],{"type":51,"tag":479,"props":480,"children":481},"th",{},[482],{"type":57,"value":483},"Client",{"type":51,"tag":479,"props":485,"children":486},{},[487],{"type":57,"value":488},"Purpose",{"type":51,"tag":490,"props":491,"children":492},"tbody",{},[493,511,528,545],{"type":51,"tag":475,"props":494,"children":495},{},[496,506],{"type":51,"tag":497,"props":498,"children":499},"td",{},[500],{"type":51,"tag":81,"props":501,"children":503},{"className":502},[],[504],{"type":57,"value":505},"DataLakeServiceClient",{"type":51,"tag":497,"props":507,"children":508},{},[509],{"type":57,"value":510},"Account-level operations",{"type":51,"tag":475,"props":512,"children":513},{},[514,523],{"type":51,"tag":497,"props":515,"children":516},{},[517],{"type":51,"tag":81,"props":518,"children":520},{"className":519},[],[521],{"type":57,"value":522},"FileSystemClient",{"type":51,"tag":497,"props":524,"children":525},{},[526],{"type":57,"value":527},"Container (file system) operations",{"type":51,"tag":475,"props":529,"children":530},{},[531,540],{"type":51,"tag":497,"props":532,"children":533},{},[534],{"type":51,"tag":81,"props":535,"children":537},{"className":536},[],[538],{"type":57,"value":539},"DataLakeDirectoryClient",{"type":51,"tag":497,"props":541,"children":542},{},[543],{"type":57,"value":544},"Directory operations",{"type":51,"tag":475,"props":546,"children":547},{},[548,557],{"type":51,"tag":497,"props":549,"children":550},{},[551],{"type":51,"tag":81,"props":552,"children":554},{"className":553},[],[555],{"type":57,"value":556},"DataLakeFileClient",{"type":51,"tag":497,"props":558,"children":559},{},[560],{"type":57,"value":561},"File operations",{"type":51,"tag":66,"props":563,"children":565},{"id":564},"file-system-operations",[566],{"type":57,"value":567},"File System Operations",{"type":51,"tag":73,"props":569,"children":571},{"className":339,"code":570,"language":21,"meta":78,"style":78},"# Create file system (container)\nfile_system_client = service_client.create_file_system(\"myfilesystem\")\n\n# Get existing\nfile_system_client = service_client.get_file_system_client(\"myfilesystem\")\n\n# Delete\nservice_client.delete_file_system(\"myfilesystem\")\n\n# List file systems\nfor fs in service_client.list_file_systems():\n    print(fs.name)\n",[572],{"type":51,"tag":81,"props":573,"children":574},{"__ignoreMap":78},[575,583,591,598,606,614,621,629,637,644,652,660],{"type":51,"tag":85,"props":576,"children":577},{"class":87,"line":88},[578],{"type":51,"tag":85,"props":579,"children":580},{},[581],{"type":57,"value":582},"# Create file system (container)\n",{"type":51,"tag":85,"props":584,"children":585},{"class":87,"line":173},[586],{"type":51,"tag":85,"props":587,"children":588},{},[589],{"type":57,"value":590},"file_system_client = service_client.create_file_system(\"myfilesystem\")\n",{"type":51,"tag":85,"props":592,"children":593},{"class":87,"line":363},[594],{"type":51,"tag":85,"props":595,"children":596},{"emptyLinePlaceholder":367},[597],{"type":57,"value":370},{"type":51,"tag":85,"props":599,"children":600},{"class":87,"line":373},[601],{"type":51,"tag":85,"props":602,"children":603},{},[604],{"type":57,"value":605},"# Get existing\n",{"type":51,"tag":85,"props":607,"children":608},{"class":87,"line":382},[609],{"type":51,"tag":85,"props":610,"children":611},{},[612],{"type":57,"value":613},"file_system_client = service_client.get_file_system_client(\"myfilesystem\")\n",{"type":51,"tag":85,"props":615,"children":616},{"class":87,"line":391},[617],{"type":51,"tag":85,"props":618,"children":619},{"emptyLinePlaceholder":367},[620],{"type":57,"value":370},{"type":51,"tag":85,"props":622,"children":623},{"class":87,"line":400},[624],{"type":51,"tag":85,"props":625,"children":626},{},[627],{"type":57,"value":628},"# Delete\n",{"type":51,"tag":85,"props":630,"children":631},{"class":87,"line":409},[632],{"type":51,"tag":85,"props":633,"children":634},{},[635],{"type":57,"value":636},"service_client.delete_file_system(\"myfilesystem\")\n",{"type":51,"tag":85,"props":638,"children":639},{"class":87,"line":418},[640],{"type":51,"tag":85,"props":641,"children":642},{"emptyLinePlaceholder":367},[643],{"type":57,"value":370},{"type":51,"tag":85,"props":645,"children":646},{"class":87,"line":427},[647],{"type":51,"tag":85,"props":648,"children":649},{},[650],{"type":57,"value":651},"# List file systems\n",{"type":51,"tag":85,"props":653,"children":654},{"class":87,"line":435},[655],{"type":51,"tag":85,"props":656,"children":657},{},[658],{"type":57,"value":659},"for fs in service_client.list_file_systems():\n",{"type":51,"tag":85,"props":661,"children":662},{"class":87,"line":444},[663],{"type":51,"tag":85,"props":664,"children":665},{},[666],{"type":57,"value":667},"    print(fs.name)\n",{"type":51,"tag":66,"props":669,"children":671},{"id":670},"directory-operations",[672],{"type":57,"value":673},"Directory Operations",{"type":51,"tag":73,"props":675,"children":677},{"className":339,"code":676,"language":21,"meta":78,"style":78},"file_system_client = service_client.get_file_system_client(\"myfilesystem\")\n\n# Create directory\ndirectory_client = file_system_client.create_directory(\"mydir\")\n\n# Create nested directories\ndirectory_client = file_system_client.create_directory(\"path\u002Fto\u002Fnested\u002Fdir\")\n\n# Get directory client\ndirectory_client = file_system_client.get_directory_client(\"mydir\")\n\n# Delete directory\ndirectory_client.delete_directory()\n\n# Rename\u002Fmove directory\ndirectory_client.rename_directory(new_name=\"myfilesystem\u002Fnewname\")\n",[678],{"type":51,"tag":81,"props":679,"children":680},{"__ignoreMap":78},[681,688,695,703,711,718,726,734,741,749,757,764,772,780,788,797],{"type":51,"tag":85,"props":682,"children":683},{"class":87,"line":88},[684],{"type":51,"tag":85,"props":685,"children":686},{},[687],{"type":57,"value":613},{"type":51,"tag":85,"props":689,"children":690},{"class":87,"line":173},[691],{"type":51,"tag":85,"props":692,"children":693},{"emptyLinePlaceholder":367},[694],{"type":57,"value":370},{"type":51,"tag":85,"props":696,"children":697},{"class":87,"line":363},[698],{"type":51,"tag":85,"props":699,"children":700},{},[701],{"type":57,"value":702},"# Create directory\n",{"type":51,"tag":85,"props":704,"children":705},{"class":87,"line":373},[706],{"type":51,"tag":85,"props":707,"children":708},{},[709],{"type":57,"value":710},"directory_client = file_system_client.create_directory(\"mydir\")\n",{"type":51,"tag":85,"props":712,"children":713},{"class":87,"line":382},[714],{"type":51,"tag":85,"props":715,"children":716},{"emptyLinePlaceholder":367},[717],{"type":57,"value":370},{"type":51,"tag":85,"props":719,"children":720},{"class":87,"line":391},[721],{"type":51,"tag":85,"props":722,"children":723},{},[724],{"type":57,"value":725},"# Create nested directories\n",{"type":51,"tag":85,"props":727,"children":728},{"class":87,"line":400},[729],{"type":51,"tag":85,"props":730,"children":731},{},[732],{"type":57,"value":733},"directory_client = file_system_client.create_directory(\"path\u002Fto\u002Fnested\u002Fdir\")\n",{"type":51,"tag":85,"props":735,"children":736},{"class":87,"line":409},[737],{"type":51,"tag":85,"props":738,"children":739},{"emptyLinePlaceholder":367},[740],{"type":57,"value":370},{"type":51,"tag":85,"props":742,"children":743},{"class":87,"line":418},[744],{"type":51,"tag":85,"props":745,"children":746},{},[747],{"type":57,"value":748},"# Get directory client\n",{"type":51,"tag":85,"props":750,"children":751},{"class":87,"line":427},[752],{"type":51,"tag":85,"props":753,"children":754},{},[755],{"type":57,"value":756},"directory_client = file_system_client.get_directory_client(\"mydir\")\n",{"type":51,"tag":85,"props":758,"children":759},{"class":87,"line":435},[760],{"type":51,"tag":85,"props":761,"children":762},{"emptyLinePlaceholder":367},[763],{"type":57,"value":370},{"type":51,"tag":85,"props":765,"children":766},{"class":87,"line":444},[767],{"type":51,"tag":85,"props":768,"children":769},{},[770],{"type":57,"value":771},"# Delete directory\n",{"type":51,"tag":85,"props":773,"children":774},{"class":87,"line":453},[775],{"type":51,"tag":85,"props":776,"children":777},{},[778],{"type":57,"value":779},"directory_client.delete_directory()\n",{"type":51,"tag":85,"props":781,"children":783},{"class":87,"line":782},14,[784],{"type":51,"tag":85,"props":785,"children":786},{"emptyLinePlaceholder":367},[787],{"type":57,"value":370},{"type":51,"tag":85,"props":789,"children":791},{"class":87,"line":790},15,[792],{"type":51,"tag":85,"props":793,"children":794},{},[795],{"type":57,"value":796},"# Rename\u002Fmove directory\n",{"type":51,"tag":85,"props":798,"children":800},{"class":87,"line":799},16,[801],{"type":51,"tag":85,"props":802,"children":803},{},[804],{"type":57,"value":805},"directory_client.rename_directory(new_name=\"myfilesystem\u002Fnewname\")\n",{"type":51,"tag":66,"props":807,"children":809},{"id":808},"file-operations",[810],{"type":57,"value":811},"File Operations",{"type":51,"tag":813,"props":814,"children":816},"h3",{"id":815},"upload-file",[817],{"type":57,"value":818},"Upload File",{"type":51,"tag":73,"props":820,"children":822},{"className":339,"code":821,"language":21,"meta":78,"style":78},"# Get file client\nfile_client = file_system_client.get_file_client(\"path\u002Fto\u002Ffile.txt\")\n\n# Upload from local file\nwith open(\"local-file.txt\", \"rb\") as data:\n    file_client.upload_data(data, overwrite=True)\n\n# Upload bytes\nfile_client.upload_data(b\"Hello, Data Lake!\", overwrite=True)\n\n# Append data (for large files)\nfile_client.append_data(data=b\"chunk1\", offset=0, length=6)\nfile_client.append_data(data=b\"chunk2\", offset=6, length=6)\nfile_client.flush_data(12)  # Commit the data\n",[823],{"type":51,"tag":81,"props":824,"children":825},{"__ignoreMap":78},[826,834,842,849,857,865,873,880,888,896,903,911,919,927],{"type":51,"tag":85,"props":827,"children":828},{"class":87,"line":88},[829],{"type":51,"tag":85,"props":830,"children":831},{},[832],{"type":57,"value":833},"# Get file client\n",{"type":51,"tag":85,"props":835,"children":836},{"class":87,"line":173},[837],{"type":51,"tag":85,"props":838,"children":839},{},[840],{"type":57,"value":841},"file_client = file_system_client.get_file_client(\"path\u002Fto\u002Ffile.txt\")\n",{"type":51,"tag":85,"props":843,"children":844},{"class":87,"line":363},[845],{"type":51,"tag":85,"props":846,"children":847},{"emptyLinePlaceholder":367},[848],{"type":57,"value":370},{"type":51,"tag":85,"props":850,"children":851},{"class":87,"line":373},[852],{"type":51,"tag":85,"props":853,"children":854},{},[855],{"type":57,"value":856},"# Upload from local file\n",{"type":51,"tag":85,"props":858,"children":859},{"class":87,"line":382},[860],{"type":51,"tag":85,"props":861,"children":862},{},[863],{"type":57,"value":864},"with open(\"local-file.txt\", \"rb\") as data:\n",{"type":51,"tag":85,"props":866,"children":867},{"class":87,"line":391},[868],{"type":51,"tag":85,"props":869,"children":870},{},[871],{"type":57,"value":872},"    file_client.upload_data(data, overwrite=True)\n",{"type":51,"tag":85,"props":874,"children":875},{"class":87,"line":400},[876],{"type":51,"tag":85,"props":877,"children":878},{"emptyLinePlaceholder":367},[879],{"type":57,"value":370},{"type":51,"tag":85,"props":881,"children":882},{"class":87,"line":409},[883],{"type":51,"tag":85,"props":884,"children":885},{},[886],{"type":57,"value":887},"# Upload bytes\n",{"type":51,"tag":85,"props":889,"children":890},{"class":87,"line":418},[891],{"type":51,"tag":85,"props":892,"children":893},{},[894],{"type":57,"value":895},"file_client.upload_data(b\"Hello, Data Lake!\", overwrite=True)\n",{"type":51,"tag":85,"props":897,"children":898},{"class":87,"line":427},[899],{"type":51,"tag":85,"props":900,"children":901},{"emptyLinePlaceholder":367},[902],{"type":57,"value":370},{"type":51,"tag":85,"props":904,"children":905},{"class":87,"line":435},[906],{"type":51,"tag":85,"props":907,"children":908},{},[909],{"type":57,"value":910},"# Append data (for large files)\n",{"type":51,"tag":85,"props":912,"children":913},{"class":87,"line":444},[914],{"type":51,"tag":85,"props":915,"children":916},{},[917],{"type":57,"value":918},"file_client.append_data(data=b\"chunk1\", offset=0, length=6)\n",{"type":51,"tag":85,"props":920,"children":921},{"class":87,"line":453},[922],{"type":51,"tag":85,"props":923,"children":924},{},[925],{"type":57,"value":926},"file_client.append_data(data=b\"chunk2\", offset=6, length=6)\n",{"type":51,"tag":85,"props":928,"children":929},{"class":87,"line":782},[930],{"type":51,"tag":85,"props":931,"children":932},{},[933],{"type":57,"value":934},"file_client.flush_data(12)  # Commit the data\n",{"type":51,"tag":813,"props":936,"children":938},{"id":937},"download-file",[939],{"type":57,"value":940},"Download File",{"type":51,"tag":73,"props":942,"children":944},{"className":339,"code":943,"language":21,"meta":78,"style":78},"file_client = file_system_client.get_file_client(\"path\u002Fto\u002Ffile.txt\")\n\n# Download all content\ndownload = file_client.download_file()\ncontent = download.readall()\n\n# Download to file\nwith open(\"downloaded.txt\", \"wb\") as f:\n    download = file_client.download_file()\n    download.readinto(f)\n\n# Download range\ndownload = file_client.download_file(offset=0, length=100)\n",[945],{"type":51,"tag":81,"props":946,"children":947},{"__ignoreMap":78},[948,955,962,970,978,986,993,1001,1009,1017,1025,1032,1040],{"type":51,"tag":85,"props":949,"children":950},{"class":87,"line":88},[951],{"type":51,"tag":85,"props":952,"children":953},{},[954],{"type":57,"value":841},{"type":51,"tag":85,"props":956,"children":957},{"class":87,"line":173},[958],{"type":51,"tag":85,"props":959,"children":960},{"emptyLinePlaceholder":367},[961],{"type":57,"value":370},{"type":51,"tag":85,"props":963,"children":964},{"class":87,"line":363},[965],{"type":51,"tag":85,"props":966,"children":967},{},[968],{"type":57,"value":969},"# Download all content\n",{"type":51,"tag":85,"props":971,"children":972},{"class":87,"line":373},[973],{"type":51,"tag":85,"props":974,"children":975},{},[976],{"type":57,"value":977},"download = file_client.download_file()\n",{"type":51,"tag":85,"props":979,"children":980},{"class":87,"line":382},[981],{"type":51,"tag":85,"props":982,"children":983},{},[984],{"type":57,"value":985},"content = download.readall()\n",{"type":51,"tag":85,"props":987,"children":988},{"class":87,"line":391},[989],{"type":51,"tag":85,"props":990,"children":991},{"emptyLinePlaceholder":367},[992],{"type":57,"value":370},{"type":51,"tag":85,"props":994,"children":995},{"class":87,"line":400},[996],{"type":51,"tag":85,"props":997,"children":998},{},[999],{"type":57,"value":1000},"# Download to file\n",{"type":51,"tag":85,"props":1002,"children":1003},{"class":87,"line":409},[1004],{"type":51,"tag":85,"props":1005,"children":1006},{},[1007],{"type":57,"value":1008},"with open(\"downloaded.txt\", \"wb\") as f:\n",{"type":51,"tag":85,"props":1010,"children":1011},{"class":87,"line":418},[1012],{"type":51,"tag":85,"props":1013,"children":1014},{},[1015],{"type":57,"value":1016},"    download = file_client.download_file()\n",{"type":51,"tag":85,"props":1018,"children":1019},{"class":87,"line":427},[1020],{"type":51,"tag":85,"props":1021,"children":1022},{},[1023],{"type":57,"value":1024},"    download.readinto(f)\n",{"type":51,"tag":85,"props":1026,"children":1027},{"class":87,"line":435},[1028],{"type":51,"tag":85,"props":1029,"children":1030},{"emptyLinePlaceholder":367},[1031],{"type":57,"value":370},{"type":51,"tag":85,"props":1033,"children":1034},{"class":87,"line":444},[1035],{"type":51,"tag":85,"props":1036,"children":1037},{},[1038],{"type":57,"value":1039},"# Download range\n",{"type":51,"tag":85,"props":1041,"children":1042},{"class":87,"line":453},[1043],{"type":51,"tag":85,"props":1044,"children":1045},{},[1046],{"type":57,"value":1047},"download = file_client.download_file(offset=0, length=100)\n",{"type":51,"tag":813,"props":1049,"children":1051},{"id":1050},"delete-file",[1052],{"type":57,"value":1053},"Delete File",{"type":51,"tag":73,"props":1055,"children":1057},{"className":339,"code":1056,"language":21,"meta":78,"style":78},"file_client.delete_file()\n",[1058],{"type":51,"tag":81,"props":1059,"children":1060},{"__ignoreMap":78},[1061],{"type":51,"tag":85,"props":1062,"children":1063},{"class":87,"line":88},[1064],{"type":51,"tag":85,"props":1065,"children":1066},{},[1067],{"type":57,"value":1056},{"type":51,"tag":66,"props":1069,"children":1071},{"id":1070},"list-contents",[1072],{"type":57,"value":1073},"List Contents",{"type":51,"tag":73,"props":1075,"children":1077},{"className":339,"code":1076,"language":21,"meta":78,"style":78},"# List paths (files and directories)\nfor path in file_system_client.get_paths():\n    print(f\"{'DIR' if path.is_directory else 'FILE'}: {path.name}\")\n\n# List paths in directory\nfor path in file_system_client.get_paths(path=\"mydir\"):\n    print(path.name)\n\n# Recursive listing\nfor path in file_system_client.get_paths(path=\"mydir\", recursive=True):\n    print(path.name)\n",[1078],{"type":51,"tag":81,"props":1079,"children":1080},{"__ignoreMap":78},[1081,1089,1097,1105,1112,1120,1128,1136,1143,1151,1159],{"type":51,"tag":85,"props":1082,"children":1083},{"class":87,"line":88},[1084],{"type":51,"tag":85,"props":1085,"children":1086},{},[1087],{"type":57,"value":1088},"# List paths (files and directories)\n",{"type":51,"tag":85,"props":1090,"children":1091},{"class":87,"line":173},[1092],{"type":51,"tag":85,"props":1093,"children":1094},{},[1095],{"type":57,"value":1096},"for path in file_system_client.get_paths():\n",{"type":51,"tag":85,"props":1098,"children":1099},{"class":87,"line":363},[1100],{"type":51,"tag":85,"props":1101,"children":1102},{},[1103],{"type":57,"value":1104},"    print(f\"{'DIR' if path.is_directory else 'FILE'}: {path.name}\")\n",{"type":51,"tag":85,"props":1106,"children":1107},{"class":87,"line":373},[1108],{"type":51,"tag":85,"props":1109,"children":1110},{"emptyLinePlaceholder":367},[1111],{"type":57,"value":370},{"type":51,"tag":85,"props":1113,"children":1114},{"class":87,"line":382},[1115],{"type":51,"tag":85,"props":1116,"children":1117},{},[1118],{"type":57,"value":1119},"# List paths in directory\n",{"type":51,"tag":85,"props":1121,"children":1122},{"class":87,"line":391},[1123],{"type":51,"tag":85,"props":1124,"children":1125},{},[1126],{"type":57,"value":1127},"for path in file_system_client.get_paths(path=\"mydir\"):\n",{"type":51,"tag":85,"props":1129,"children":1130},{"class":87,"line":400},[1131],{"type":51,"tag":85,"props":1132,"children":1133},{},[1134],{"type":57,"value":1135},"    print(path.name)\n",{"type":51,"tag":85,"props":1137,"children":1138},{"class":87,"line":409},[1139],{"type":51,"tag":85,"props":1140,"children":1141},{"emptyLinePlaceholder":367},[1142],{"type":57,"value":370},{"type":51,"tag":85,"props":1144,"children":1145},{"class":87,"line":418},[1146],{"type":51,"tag":85,"props":1147,"children":1148},{},[1149],{"type":57,"value":1150},"# Recursive listing\n",{"type":51,"tag":85,"props":1152,"children":1153},{"class":87,"line":427},[1154],{"type":51,"tag":85,"props":1155,"children":1156},{},[1157],{"type":57,"value":1158},"for path in file_system_client.get_paths(path=\"mydir\", recursive=True):\n",{"type":51,"tag":85,"props":1160,"children":1161},{"class":87,"line":435},[1162],{"type":51,"tag":85,"props":1163,"children":1164},{},[1165],{"type":57,"value":1135},{"type":51,"tag":66,"props":1167,"children":1169},{"id":1168},"filedirectory-properties",[1170],{"type":57,"value":1171},"File\u002FDirectory Properties",{"type":51,"tag":73,"props":1173,"children":1175},{"className":339,"code":1174,"language":21,"meta":78,"style":78},"# Get properties\nproperties = file_client.get_file_properties()\nprint(f\"Size: {properties.size}\")\nprint(f\"Last modified: {properties.last_modified}\")\n\n# Set metadata\nfile_client.set_metadata(metadata={\"processed\": \"true\"})\n",[1176],{"type":51,"tag":81,"props":1177,"children":1178},{"__ignoreMap":78},[1179,1187,1195,1203,1211,1218,1226],{"type":51,"tag":85,"props":1180,"children":1181},{"class":87,"line":88},[1182],{"type":51,"tag":85,"props":1183,"children":1184},{},[1185],{"type":57,"value":1186},"# Get properties\n",{"type":51,"tag":85,"props":1188,"children":1189},{"class":87,"line":173},[1190],{"type":51,"tag":85,"props":1191,"children":1192},{},[1193],{"type":57,"value":1194},"properties = file_client.get_file_properties()\n",{"type":51,"tag":85,"props":1196,"children":1197},{"class":87,"line":363},[1198],{"type":51,"tag":85,"props":1199,"children":1200},{},[1201],{"type":57,"value":1202},"print(f\"Size: {properties.size}\")\n",{"type":51,"tag":85,"props":1204,"children":1205},{"class":87,"line":373},[1206],{"type":51,"tag":85,"props":1207,"children":1208},{},[1209],{"type":57,"value":1210},"print(f\"Last modified: {properties.last_modified}\")\n",{"type":51,"tag":85,"props":1212,"children":1213},{"class":87,"line":382},[1214],{"type":51,"tag":85,"props":1215,"children":1216},{"emptyLinePlaceholder":367},[1217],{"type":57,"value":370},{"type":51,"tag":85,"props":1219,"children":1220},{"class":87,"line":391},[1221],{"type":51,"tag":85,"props":1222,"children":1223},{},[1224],{"type":57,"value":1225},"# Set metadata\n",{"type":51,"tag":85,"props":1227,"children":1228},{"class":87,"line":400},[1229],{"type":51,"tag":85,"props":1230,"children":1231},{},[1232],{"type":57,"value":1233},"file_client.set_metadata(metadata={\"processed\": \"true\"})\n",{"type":51,"tag":66,"props":1235,"children":1237},{"id":1236},"access-control-acl",[1238],{"type":57,"value":1239},"Access Control (ACL)",{"type":51,"tag":73,"props":1241,"children":1243},{"className":339,"code":1242,"language":21,"meta":78,"style":78},"# Get ACL\nacl = directory_client.get_access_control()\nprint(f\"Owner: {acl['owner']}\")\nprint(f\"Permissions: {acl['permissions']}\")\n\n# Set ACL\ndirectory_client.set_access_control(\n    owner=\"user-id\",\n    permissions=\"rwxr-x---\"\n)\n\n# Update ACL entries\nfrom azure.storage.filedatalake import AccessControlChangeResult\ndirectory_client.update_access_control_recursive(\n    acl=\"user:user-id:rwx\"\n)\n",[1244],{"type":51,"tag":81,"props":1245,"children":1246},{"__ignoreMap":78},[1247,1255,1263,1271,1279,1286,1294,1302,1310,1318,1326,1333,1341,1349,1357,1365],{"type":51,"tag":85,"props":1248,"children":1249},{"class":87,"line":88},[1250],{"type":51,"tag":85,"props":1251,"children":1252},{},[1253],{"type":57,"value":1254},"# Get ACL\n",{"type":51,"tag":85,"props":1256,"children":1257},{"class":87,"line":173},[1258],{"type":51,"tag":85,"props":1259,"children":1260},{},[1261],{"type":57,"value":1262},"acl = directory_client.get_access_control()\n",{"type":51,"tag":85,"props":1264,"children":1265},{"class":87,"line":363},[1266],{"type":51,"tag":85,"props":1267,"children":1268},{},[1269],{"type":57,"value":1270},"print(f\"Owner: {acl['owner']}\")\n",{"type":51,"tag":85,"props":1272,"children":1273},{"class":87,"line":373},[1274],{"type":51,"tag":85,"props":1275,"children":1276},{},[1277],{"type":57,"value":1278},"print(f\"Permissions: {acl['permissions']}\")\n",{"type":51,"tag":85,"props":1280,"children":1281},{"class":87,"line":382},[1282],{"type":51,"tag":85,"props":1283,"children":1284},{"emptyLinePlaceholder":367},[1285],{"type":57,"value":370},{"type":51,"tag":85,"props":1287,"children":1288},{"class":87,"line":391},[1289],{"type":51,"tag":85,"props":1290,"children":1291},{},[1292],{"type":57,"value":1293},"# Set ACL\n",{"type":51,"tag":85,"props":1295,"children":1296},{"class":87,"line":400},[1297],{"type":51,"tag":85,"props":1298,"children":1299},{},[1300],{"type":57,"value":1301},"directory_client.set_access_control(\n",{"type":51,"tag":85,"props":1303,"children":1304},{"class":87,"line":409},[1305],{"type":51,"tag":85,"props":1306,"children":1307},{},[1308],{"type":57,"value":1309},"    owner=\"user-id\",\n",{"type":51,"tag":85,"props":1311,"children":1312},{"class":87,"line":418},[1313],{"type":51,"tag":85,"props":1314,"children":1315},{},[1316],{"type":57,"value":1317},"    permissions=\"rwxr-x---\"\n",{"type":51,"tag":85,"props":1319,"children":1320},{"class":87,"line":427},[1321],{"type":51,"tag":85,"props":1322,"children":1323},{},[1324],{"type":57,"value":1325},")\n",{"type":51,"tag":85,"props":1327,"children":1328},{"class":87,"line":435},[1329],{"type":51,"tag":85,"props":1330,"children":1331},{"emptyLinePlaceholder":367},[1332],{"type":57,"value":370},{"type":51,"tag":85,"props":1334,"children":1335},{"class":87,"line":444},[1336],{"type":51,"tag":85,"props":1337,"children":1338},{},[1339],{"type":57,"value":1340},"# Update ACL entries\n",{"type":51,"tag":85,"props":1342,"children":1343},{"class":87,"line":453},[1344],{"type":51,"tag":85,"props":1345,"children":1346},{},[1347],{"type":57,"value":1348},"from azure.storage.filedatalake import AccessControlChangeResult\n",{"type":51,"tag":85,"props":1350,"children":1351},{"class":87,"line":782},[1352],{"type":51,"tag":85,"props":1353,"children":1354},{},[1355],{"type":57,"value":1356},"directory_client.update_access_control_recursive(\n",{"type":51,"tag":85,"props":1358,"children":1359},{"class":87,"line":790},[1360],{"type":51,"tag":85,"props":1361,"children":1362},{},[1363],{"type":57,"value":1364},"    acl=\"user:user-id:rwx\"\n",{"type":51,"tag":85,"props":1366,"children":1367},{"class":87,"line":799},[1368],{"type":51,"tag":85,"props":1369,"children":1370},{},[1371],{"type":57,"value":1325},{"type":51,"tag":66,"props":1373,"children":1375},{"id":1374},"async-client",[1376],{"type":57,"value":1377},"Async Client",{"type":51,"tag":73,"props":1379,"children":1381},{"className":339,"code":1380,"language":21,"meta":78,"style":78},"from azure.storage.filedatalake.aio import DataLakeServiceClient\nfrom azure.identity.aio import DefaultAzureCredential\n\nasync def datalake_operations():\n    async with DefaultAzureCredential() as credential:\n        async with DataLakeServiceClient(\n            account_url=\"https:\u002F\u002F\u003Caccount>.dfs.core.windows.net\",\n            credential=credential\n        ) as service_client:\n            file_system_client = service_client.get_file_system_client(\"myfilesystem\")\n            file_client = file_system_client.get_file_client(\"test.txt\")\n            \n            await file_client.upload_data(b\"async content\", overwrite=True)\n            \n            download = await file_client.download_file()\n            content = await download.readall()\n\nimport asyncio\nasyncio.run(datalake_operations())\n",[1382],{"type":51,"tag":81,"props":1383,"children":1384},{"__ignoreMap":78},[1385,1393,1401,1408,1416,1424,1432,1440,1448,1456,1464,1472,1480,1488,1495,1503,1511,1519,1528],{"type":51,"tag":85,"props":1386,"children":1387},{"class":87,"line":88},[1388],{"type":51,"tag":85,"props":1389,"children":1390},{},[1391],{"type":57,"value":1392},"from azure.storage.filedatalake.aio import DataLakeServiceClient\n",{"type":51,"tag":85,"props":1394,"children":1395},{"class":87,"line":173},[1396],{"type":51,"tag":85,"props":1397,"children":1398},{},[1399],{"type":57,"value":1400},"from azure.identity.aio import DefaultAzureCredential\n",{"type":51,"tag":85,"props":1402,"children":1403},{"class":87,"line":363},[1404],{"type":51,"tag":85,"props":1405,"children":1406},{"emptyLinePlaceholder":367},[1407],{"type":57,"value":370},{"type":51,"tag":85,"props":1409,"children":1410},{"class":87,"line":373},[1411],{"type":51,"tag":85,"props":1412,"children":1413},{},[1414],{"type":57,"value":1415},"async def datalake_operations():\n",{"type":51,"tag":85,"props":1417,"children":1418},{"class":87,"line":382},[1419],{"type":51,"tag":85,"props":1420,"children":1421},{},[1422],{"type":57,"value":1423},"    async with DefaultAzureCredential() as credential:\n",{"type":51,"tag":85,"props":1425,"children":1426},{"class":87,"line":391},[1427],{"type":51,"tag":85,"props":1428,"children":1429},{},[1430],{"type":57,"value":1431},"        async with DataLakeServiceClient(\n",{"type":51,"tag":85,"props":1433,"children":1434},{"class":87,"line":400},[1435],{"type":51,"tag":85,"props":1436,"children":1437},{},[1438],{"type":57,"value":1439},"            account_url=\"https:\u002F\u002F\u003Caccount>.dfs.core.windows.net\",\n",{"type":51,"tag":85,"props":1441,"children":1442},{"class":87,"line":409},[1443],{"type":51,"tag":85,"props":1444,"children":1445},{},[1446],{"type":57,"value":1447},"            credential=credential\n",{"type":51,"tag":85,"props":1449,"children":1450},{"class":87,"line":418},[1451],{"type":51,"tag":85,"props":1452,"children":1453},{},[1454],{"type":57,"value":1455},"        ) as service_client:\n",{"type":51,"tag":85,"props":1457,"children":1458},{"class":87,"line":427},[1459],{"type":51,"tag":85,"props":1460,"children":1461},{},[1462],{"type":57,"value":1463},"            file_system_client = service_client.get_file_system_client(\"myfilesystem\")\n",{"type":51,"tag":85,"props":1465,"children":1466},{"class":87,"line":435},[1467],{"type":51,"tag":85,"props":1468,"children":1469},{},[1470],{"type":57,"value":1471},"            file_client = file_system_client.get_file_client(\"test.txt\")\n",{"type":51,"tag":85,"props":1473,"children":1474},{"class":87,"line":444},[1475],{"type":51,"tag":85,"props":1476,"children":1477},{},[1478],{"type":57,"value":1479},"            \n",{"type":51,"tag":85,"props":1481,"children":1482},{"class":87,"line":453},[1483],{"type":51,"tag":85,"props":1484,"children":1485},{},[1486],{"type":57,"value":1487},"            await file_client.upload_data(b\"async content\", overwrite=True)\n",{"type":51,"tag":85,"props":1489,"children":1490},{"class":87,"line":782},[1491],{"type":51,"tag":85,"props":1492,"children":1493},{},[1494],{"type":57,"value":1479},{"type":51,"tag":85,"props":1496,"children":1497},{"class":87,"line":790},[1498],{"type":51,"tag":85,"props":1499,"children":1500},{},[1501],{"type":57,"value":1502},"            download = await file_client.download_file()\n",{"type":51,"tag":85,"props":1504,"children":1505},{"class":87,"line":799},[1506],{"type":51,"tag":85,"props":1507,"children":1508},{},[1509],{"type":57,"value":1510},"            content = await download.readall()\n",{"type":51,"tag":85,"props":1512,"children":1514},{"class":87,"line":1513},17,[1515],{"type":51,"tag":85,"props":1516,"children":1517},{"emptyLinePlaceholder":367},[1518],{"type":57,"value":370},{"type":51,"tag":85,"props":1520,"children":1522},{"class":87,"line":1521},18,[1523],{"type":51,"tag":85,"props":1524,"children":1525},{},[1526],{"type":57,"value":1527},"import asyncio\n",{"type":51,"tag":85,"props":1529,"children":1531},{"class":87,"line":1530},19,[1532],{"type":51,"tag":85,"props":1533,"children":1534},{},[1535],{"type":57,"value":1536},"asyncio.run(datalake_operations())\n",{"type":51,"tag":66,"props":1538,"children":1540},{"id":1539},"best-practices",[1541],{"type":57,"value":1542},"Best Practices",{"type":51,"tag":214,"props":1544,"children":1545},{},[1546,1572,1620,1635,1645,1668,1678,1688,1711,1721],{"type":51,"tag":218,"props":1547,"children":1548},{},[1549,1554,1556,1562,1564,1570],{"type":51,"tag":208,"props":1550,"children":1551},{},[1552],{"type":57,"value":1553},"Pick sync OR async and stay consistent.",{"type":57,"value":1555}," Do not mix ",{"type":51,"tag":81,"props":1557,"children":1559},{"className":1558},[],[1560],{"type":57,"value":1561},"azure.storage.filedatalake",{"type":57,"value":1563}," sync clients with ",{"type":51,"tag":81,"props":1565,"children":1567},{"className":1566},[],[1568],{"type":57,"value":1569},"azure.storage.filedatalake.aio",{"type":57,"value":1571}," async clients in the same call path. Choose one mode per module.",{"type":51,"tag":218,"props":1573,"children":1574},{},[1575,1580,1582,1588,1590,1596,1598,1603,1605,1610,1612,1618],{"type":51,"tag":208,"props":1576,"children":1577},{},[1578],{"type":57,"value":1579},"Always use context managers for clients and async credentials.",{"type":57,"value":1581}," Wrap every client in ",{"type":51,"tag":81,"props":1583,"children":1585},{"className":1584},[],[1586],{"type":57,"value":1587},"with DataLakeServiceClient(...) as client:",{"type":57,"value":1589}," (sync) or ",{"type":51,"tag":81,"props":1591,"children":1593},{"className":1592},[],[1594],{"type":57,"value":1595},"async with DataLakeServiceClient(...) as client:",{"type":57,"value":1597}," (async). For async ",{"type":51,"tag":81,"props":1599,"children":1601},{"className":1600},[],[1602],{"type":57,"value":231},{"type":57,"value":1604}," from ",{"type":51,"tag":81,"props":1606,"children":1608},{"className":1607},[],[1609],{"type":57,"value":329},{"type":57,"value":1611},", also use ",{"type":51,"tag":81,"props":1613,"children":1615},{"className":1614},[],[1616],{"type":57,"value":1617},"async with credential:",{"type":57,"value":1619}," so tokens and transports are cleaned up.",{"type":51,"tag":218,"props":1621,"children":1622},{},[1623,1633],{"type":51,"tag":208,"props":1624,"children":1625},{},[1626,1628],{"type":57,"value":1627},"Use ",{"type":51,"tag":81,"props":1629,"children":1631},{"className":1630},[],[1632],{"type":57,"value":231},{"type":57,"value":1634}," for portable auth across local dev and Azure (avoid connection strings \u002F API keys when possible).",{"type":51,"tag":218,"props":1636,"children":1637},{},[1638,1643],{"type":51,"tag":208,"props":1639,"children":1640},{},[1641],{"type":57,"value":1642},"Use hierarchical namespace",{"type":57,"value":1644}," for file system semantics",{"type":51,"tag":218,"props":1646,"children":1647},{},[1648,1666],{"type":51,"tag":208,"props":1649,"children":1650},{},[1651,1652,1658,1660],{"type":57,"value":1627},{"type":51,"tag":81,"props":1653,"children":1655},{"className":1654},[],[1656],{"type":57,"value":1657},"append_data",{"type":57,"value":1659}," + ",{"type":51,"tag":81,"props":1661,"children":1663},{"className":1662},[],[1664],{"type":57,"value":1665},"flush_data",{"type":57,"value":1667}," for large file uploads",{"type":51,"tag":218,"props":1669,"children":1670},{},[1671,1676],{"type":51,"tag":208,"props":1672,"children":1673},{},[1674],{"type":57,"value":1675},"Set ACLs at directory level",{"type":57,"value":1677}," and inherit to children",{"type":51,"tag":218,"props":1679,"children":1680},{},[1681,1686],{"type":51,"tag":208,"props":1682,"children":1683},{},[1684],{"type":57,"value":1685},"Use async client",{"type":57,"value":1687}," for high-throughput scenarios",{"type":51,"tag":218,"props":1689,"children":1690},{},[1691,1709],{"type":51,"tag":208,"props":1692,"children":1693},{},[1694,1695,1701,1703],{"type":57,"value":1627},{"type":51,"tag":81,"props":1696,"children":1698},{"className":1697},[],[1699],{"type":57,"value":1700},"get_paths",{"type":57,"value":1702}," with ",{"type":51,"tag":81,"props":1704,"children":1706},{"className":1705},[],[1707],{"type":57,"value":1708},"recursive=True",{"type":57,"value":1710}," for full directory listing",{"type":51,"tag":218,"props":1712,"children":1713},{},[1714,1719],{"type":51,"tag":208,"props":1715,"children":1716},{},[1717],{"type":57,"value":1718},"Set metadata",{"type":57,"value":1720}," for custom file attributes",{"type":51,"tag":218,"props":1722,"children":1723},{},[1724,1729],{"type":51,"tag":208,"props":1725,"children":1726},{},[1727],{"type":57,"value":1728},"Consider Blob API",{"type":57,"value":1730}," for simple object storage use cases",{"type":51,"tag":66,"props":1732,"children":1734},{"id":1733},"reference-files",[1735],{"type":57,"value":1736},"Reference Files",{"type":51,"tag":467,"props":1738,"children":1739},{},[1740,1756],{"type":51,"tag":471,"props":1741,"children":1742},{},[1743],{"type":51,"tag":475,"props":1744,"children":1745},{},[1746,1751],{"type":51,"tag":479,"props":1747,"children":1748},{},[1749],{"type":57,"value":1750},"File",{"type":51,"tag":479,"props":1752,"children":1753},{},[1754],{"type":57,"value":1755},"Contents",{"type":51,"tag":490,"props":1757,"children":1758},{},[1759,1776],{"type":51,"tag":475,"props":1760,"children":1761},{},[1762,1771],{"type":51,"tag":497,"props":1763,"children":1764},{},[1765],{"type":51,"tag":1766,"props":1767,"children":1769},"a",{"href":1768},"references\u002Fcapabilities.md",[1770],{"type":57,"value":1768},{"type":51,"tag":497,"props":1772,"children":1773},{},[1774],{"type":57,"value":1775},"Additional non-hero capabilities, operation-group coverage, and production checklists.",{"type":51,"tag":475,"props":1777,"children":1778},{},[1779,1787],{"type":51,"tag":497,"props":1780,"children":1781},{},[1782],{"type":51,"tag":1766,"props":1783,"children":1785},{"href":1784},"references\u002Fnon-hero-scenarios.md",[1786],{"type":57,"value":1784},{"type":51,"tag":497,"props":1788,"children":1789},{},[1790],{"type":57,"value":1791},"Dedicated non-hero examples for secondary\u002Fadvanced scenarios.",{"type":51,"tag":1793,"props":1794,"children":1795},"style",{},[1796],{"type":57,"value":1797},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":1799,"total":1906},[1800,1816,1837,1852,1867,1878,1891],{"slug":1801,"name":1801,"fn":1802,"description":1803,"org":1804,"tags":1805,"stars":25,"repoUrl":26,"updatedAt":1815},"azure-ai-agents-persistent-dotnet","build AI agents with Azure .NET SDK","Azure AI Agents Persistent SDK for .NET. Low-level SDK for creating and managing AI agents with threads, messages, runs, and tools. Use for agent CRUD, conversation threads, streaming responses, function calling, file search, and code interpreter. Triggers: \"PersistentAgentsClient\", \"persistent agents\", \"agent threads\", \"agent runs\", \"streaming agents\", \"function calling agents .NET\".\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1806,1809,1811,1812],{"name":1807,"slug":1808,"type":15},".NET","net",{"name":1810,"slug":32,"type":15},"Agents",{"name":13,"slug":14,"type":15},{"name":1813,"slug":1814,"type":15},"LLM","llm","2026-07-03T16:32:10.297433",{"slug":1817,"name":1817,"fn":1818,"description":1819,"org":1820,"tags":1821,"stars":25,"repoUrl":26,"updatedAt":1836},"azure-ai-anomalydetector-java","build anomaly detection applications with Java","Build anomaly detection applications with Azure AI Anomaly Detector SDK for Java. Use when implementing univariate\u002Fmultivariate anomaly detection, time-series analysis, or AI-powered monitoring.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1822,1825,1826,1829,1832,1833],{"name":1823,"slug":1824,"type":15},"Analytics","analytics",{"name":13,"slug":14,"type":15},{"name":1827,"slug":1828,"type":15},"Data Analysis","data-analysis",{"name":1830,"slug":1831,"type":15},"Java","java",{"name":9,"slug":8,"type":15},{"name":1834,"slug":1835,"type":15},"Monitoring","monitoring","2026-05-13T06:14:16.261754",{"slug":1838,"name":1838,"fn":1839,"description":1840,"org":1841,"tags":1842,"stars":25,"repoUrl":26,"updatedAt":1851},"azure-ai-contentsafety-java","build content moderation applications with Azure AI","Build content moderation applications with Azure AI Content Safety SDK for Java. Use when implementing text\u002Fimage analysis, blocklist management, or harm detection for hate, violence, sexual content, and self-harm.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1843,1846,1847,1848],{"name":1844,"slug":1845,"type":15},"AI Infrastructure","ai-infrastructure",{"name":13,"slug":14,"type":15},{"name":1830,"slug":1831,"type":15},{"name":1849,"slug":1850,"type":15},"Security","security","2026-07-07T06:53:31.293235",{"slug":1853,"name":1853,"fn":1854,"description":1855,"org":1856,"tags":1857,"stars":25,"repoUrl":26,"updatedAt":1866},"azure-ai-contentsafety-py","detect harmful content with Azure AI Content Safety","Azure AI Content Safety SDK for Python. Use for detecting harmful content in text and images with multi-severity classification.\nTriggers: \"azure-ai-contentsafety\", \"ContentSafetyClient\", \"content moderation\", \"harmful content\", \"text analysis\", \"image analysis\".\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1858,1859,1862,1863,1864,1865],{"name":13,"slug":14,"type":15},{"name":1860,"slug":1861,"type":15},"Compliance","compliance",{"name":1813,"slug":1814,"type":15},{"name":9,"slug":8,"type":15},{"name":20,"slug":21,"type":15},{"name":1849,"slug":1850,"type":15},"2026-07-18T05:14:23.017504",{"slug":1868,"name":1868,"fn":1869,"description":1870,"org":1871,"tags":1872,"stars":25,"repoUrl":26,"updatedAt":1877},"azure-ai-language-conversations-py","implement conversational language understanding with Python","Implement Conversational Language Understanding (CLU) using the azure-ai-language-conversations Python SDK. Use when working with ConversationAnalysisClient to analyze conversation intent and entities, building NLP features, or integrating language understanding into applications.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1873,1874,1875,1876],{"name":1823,"slug":1824,"type":15},{"name":13,"slug":14,"type":15},{"name":1813,"slug":1814,"type":15},{"name":20,"slug":21,"type":15},"2026-07-31T05:54:29.068751",{"slug":1879,"name":1879,"fn":1880,"description":1881,"org":1882,"tags":1883,"stars":25,"repoUrl":26,"updatedAt":1890},"azure-ai-translation-text-py","translate text using Azure AI services","Azure AI Text Translation SDK for real-time text translation, transliteration, language detection, and dictionary lookup. Use for translating text content in applications.\nTriggers: \"text translation\", \"translator\", \"translate text\", \"transliterate\", \"TextTranslationClient\".\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1884,1887,1888,1889],{"name":1885,"slug":1886,"type":15},"API Development","api-development",{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},{"name":20,"slug":21,"type":15},"2026-07-18T05:14:16.988376",{"slug":1892,"name":1892,"fn":1893,"description":1894,"org":1895,"tags":1896,"stars":25,"repoUrl":26,"updatedAt":1905},"azure-ai-vision-imageanalysis-py","analyze images with Azure AI Vision","Azure AI Vision Image Analysis SDK for captions, tags, objects, OCR, people detection, and smart cropping. Use for computer vision and image understanding tasks.\nTriggers: \"image analysis\", \"computer vision\", \"OCR\", \"object detection\", \"ImageAnalysisClient\", \"image caption\".\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1897,1898,1901,1904],{"name":13,"slug":14,"type":15},{"name":1899,"slug":1900,"type":15},"Computer Vision","computer-vision",{"name":1902,"slug":1903,"type":15},"Images","images",{"name":20,"slug":21,"type":15},"2026-07-18T05:14:18.007737",38,{"items":1908,"total":2043},[1909,1931,1938,1947,1954,1963,1970,1977,1984,1999,2018,2031],{"slug":1910,"name":1910,"fn":1911,"description":1912,"org":1913,"tags":1914,"stars":1928,"repoUrl":1929,"updatedAt":1930},"rushstack-best-practices","manage Rush monorepos with best practices","Provides best practices and guidance for working with Rush monorepos. Use when the user is working in a Rush-based repository, asks about Rush commands (install, update, build, rebuild), needs help with project selection, dependency management, build caching, subspace configuration, or troubleshooting Rush-specific issues.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1915,1918,1921,1922,1925],{"name":1916,"slug":1917,"type":15},"Engineering","engineering",{"name":1919,"slug":1920,"type":15},"Local Development","local-development",{"name":9,"slug":8,"type":15},{"name":1923,"slug":1924,"type":15},"Project Management","project-management",{"name":1926,"slug":1927,"type":15},"Rush","rush",6484,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Frushstack","2026-04-06T18:34:44.965032",{"slug":1801,"name":1801,"fn":1802,"description":1803,"org":1932,"tags":1933,"stars":25,"repoUrl":26,"updatedAt":1815},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1934,1935,1936,1937],{"name":1807,"slug":1808,"type":15},{"name":1810,"slug":32,"type":15},{"name":13,"slug":14,"type":15},{"name":1813,"slug":1814,"type":15},{"slug":1817,"name":1817,"fn":1818,"description":1819,"org":1939,"tags":1940,"stars":25,"repoUrl":26,"updatedAt":1836},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1941,1942,1943,1944,1945,1946],{"name":1823,"slug":1824,"type":15},{"name":13,"slug":14,"type":15},{"name":1827,"slug":1828,"type":15},{"name":1830,"slug":1831,"type":15},{"name":9,"slug":8,"type":15},{"name":1834,"slug":1835,"type":15},{"slug":1838,"name":1838,"fn":1839,"description":1840,"org":1948,"tags":1949,"stars":25,"repoUrl":26,"updatedAt":1851},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1950,1951,1952,1953],{"name":1844,"slug":1845,"type":15},{"name":13,"slug":14,"type":15},{"name":1830,"slug":1831,"type":15},{"name":1849,"slug":1850,"type":15},{"slug":1853,"name":1853,"fn":1854,"description":1855,"org":1955,"tags":1956,"stars":25,"repoUrl":26,"updatedAt":1866},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1957,1958,1959,1960,1961,1962],{"name":13,"slug":14,"type":15},{"name":1860,"slug":1861,"type":15},{"name":1813,"slug":1814,"type":15},{"name":9,"slug":8,"type":15},{"name":20,"slug":21,"type":15},{"name":1849,"slug":1850,"type":15},{"slug":1868,"name":1868,"fn":1869,"description":1870,"org":1964,"tags":1965,"stars":25,"repoUrl":26,"updatedAt":1877},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1966,1967,1968,1969],{"name":1823,"slug":1824,"type":15},{"name":13,"slug":14,"type":15},{"name":1813,"slug":1814,"type":15},{"name":20,"slug":21,"type":15},{"slug":1879,"name":1879,"fn":1880,"description":1881,"org":1971,"tags":1972,"stars":25,"repoUrl":26,"updatedAt":1890},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1973,1974,1975,1976],{"name":1885,"slug":1886,"type":15},{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},{"name":20,"slug":21,"type":15},{"slug":1892,"name":1892,"fn":1893,"description":1894,"org":1978,"tags":1979,"stars":25,"repoUrl":26,"updatedAt":1905},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1980,1981,1982,1983],{"name":13,"slug":14,"type":15},{"name":1899,"slug":1900,"type":15},{"name":1902,"slug":1903,"type":15},{"name":20,"slug":21,"type":15},{"slug":1985,"name":1985,"fn":1986,"description":1987,"org":1988,"tags":1989,"stars":25,"repoUrl":26,"updatedAt":1998},"azure-appconfiguration-java","manage configuration with Azure App Configuration","Azure App Configuration SDK for Java. Centralized application configuration management with key-value settings, feature flags, and snapshots.\nTriggers: \"ConfigurationClient java\", \"app configuration java\", \"feature flag java\", \"configuration setting java\", \"azure config java\".\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1990,1991,1994,1997],{"name":13,"slug":14,"type":15},{"name":1992,"slug":1993,"type":15},"Configuration","configuration",{"name":1995,"slug":1996,"type":15},"Feature Flags","feature-flags",{"name":1830,"slug":1831,"type":15},"2026-07-03T16:32:01.278468",{"slug":2000,"name":2000,"fn":2001,"description":2002,"org":2003,"tags":2004,"stars":25,"repoUrl":26,"updatedAt":2017},"azure-cosmos-rust","build applications with Azure Cosmos DB","Azure Cosmos DB library for Rust (NoSQL API). Document CRUD, containers, and globally distributed data.\nTriggers: \"cosmos db rust\", \"CosmosClient rust\", \"document crud rust\", \"NoSQL rust\", \"partition key rust\".\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2005,2008,2011,2014],{"name":2006,"slug":2007,"type":15},"Cosmos DB","cosmos-db",{"name":2009,"slug":2010,"type":15},"Database","database",{"name":2012,"slug":2013,"type":15},"NoSQL","nosql",{"name":2015,"slug":2016,"type":15},"Rust","rust","2026-07-31T05:54:27.021432",{"slug":2019,"name":2019,"fn":2001,"description":2020,"org":2021,"tags":2022,"stars":25,"repoUrl":26,"updatedAt":2030},"azure-cosmos-ts","Azure Cosmos DB JavaScript\u002FTypeScript SDK (@azure\u002Fcosmos) for data plane operations. Use for CRUD operations on documents, queries, bulk operations, and container management. Triggers: \"Cosmos DB\", \"@azure\u002Fcosmos\", \"CosmosClient\", \"document CRUD\", \"NoSQL queries\", \"bulk operations\", \"partition key\", \"container.items\".\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2023,2024,2025,2026,2027],{"name":2006,"slug":2007,"type":15},{"name":2009,"slug":2010,"type":15},{"name":9,"slug":8,"type":15},{"name":2012,"slug":2013,"type":15},{"name":2028,"slug":2029,"type":15},"TypeScript","typescript","2026-07-03T16:31:19.368382",{"slug":2032,"name":2032,"fn":2033,"description":2034,"org":2035,"tags":2036,"stars":25,"repoUrl":26,"updatedAt":2042},"azure-data-tables-java","build table storage applications with Java","Build table storage applications with Azure Tables SDK for Java. Use when working with Azure Table Storage or Cosmos DB Table API for NoSQL key-value data, schemaless storage, or structured data at scale.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2037,2038,2039,2040,2041],{"name":13,"slug":14,"type":15},{"name":2006,"slug":2007,"type":15},{"name":2009,"slug":2010,"type":15},{"name":1830,"slug":1831,"type":15},{"name":2012,"slug":2013,"type":15},"2026-05-13T06:14:17.582229",267]