[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M69ANTKZFCKDPMM1BDM6C94P":3,"skill-same:01M69ANTKZFCKDPMM1BDM6C94P":94},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":23,"publishedAt":45,"linkOnly":46,"markdownContent":47,"markdownBody":48,"frontMatter":49,"refName":54,"commitSha":55,"skillDirectory":56,"forksCount":57,"repositoryHtmlUrl":58,"repositoryHomepageUrl":59,"ownerHtmlUrl":60,"ownerBlogUrl":61,"ownerDescription":62,"updatedAt":63,"install":64,"resources":77},"01M69ANTKZFCKDPMM1BDM6C94P","azure-resource-manager-postgresql-dotnet",null,"Azure PostgreSQL Flexible Server SDK for .NET. Database management for PostgreSQL Flexible Server deployments. Use for creating servers, databases, firewall rules, configurations, backups, and high availability. Triggers: \"PostgreSQL\", \"PostgreSqlFlexibleServer\", \"PostgreSQL Flexible Server\", \"Azure Database for PostgreSQL\", \"PostgreSQL database management\", \"PostgreSQL firewall\", \"PostgreSQL backup\", \"Postgres\".","microsoft\u002Fskills","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M69AJYYW4E1RMSYCQDJ4FJSH",3204,"MIT","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills\u002Fblob\u002Fmain\u002F.github\u002Fplugins\u002Fazure-sdk-dotnet\u002Fskills\u002Fazure-resource-manager-postgresql-dotnet\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000010","后端与接口","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,9],"dotnet","azure","azure resource manager postgresql dotnet","postgresql","manager","azure resource manager","use","postgresql database","for","availability","triggers","high availability","postgres","deployments","databases","sdk","Rules","backup","firewall","server","database","2026-11-10 10:12:30",false,"---\nname: azure-resource-manager-postgresql-dotnet\ndescription: |\n  Azure PostgreSQL Flexible Server SDK for .NET. Database management for PostgreSQL Flexible Server deployments. Use for creating servers, databases, firewall rules, configurations, backups, and high availability. Triggers: \"PostgreSQL\", \"PostgreSqlFlexibleServer\", \"PostgreSQL Flexible Server\", \"Azure Database for PostgreSQL\", \"PostgreSQL database management\", \"PostgreSQL firewall\", \"PostgreSQL backup\", \"Postgres\".\nlicense: MIT\nmetadata:\n  author: Microsoft\n  version: \"1.0.0\"\n  package: Azure.ResourceManager.PostgreSql\n---\n\n# Azure.ResourceManager.PostgreSql (.NET)\n\nAzure Resource Manager SDK for managing PostgreSQL Flexible Server deployments.\n\n## Installation\n\n```bash\ndotnet add package Azure.ResourceManager.PostgreSql\ndotnet add package Azure.Identity\n```\n\n**Current Version**: v1.2.0 (GA)  \n**API Version**: 2023-12-01-preview\n\n> **Note**: This skill focuses on PostgreSQL Flexible Server. Single Server is deprecated and scheduled for retirement.\n\n## Environment Variables\n\n```bash\nAZURE_SUBSCRIPTION_ID=\u003Cyour-subscription-id>  # Required: Azure subscription ID\nAZURE_RESOURCE_GROUP=\u003Cyour-resource-group>  # Required: resource group name\nAZURE_POSTGRESQL_SERVER_NAME=\u003Cyour-postgresql-server>  # Required: PostgreSQL Flexible Server name\nAZURE_TOKEN_CREDENTIALS=prod  # Required only if DefaultAzureCredential is used in production\n```\n\n## Authentication\n\n```csharp\nusing Azure.Identity;\nusing Azure.ResourceManager;\nusing Azure.ResourceManager.PostgreSql;\nusing Azure.ResourceManager.PostgreSql.FlexibleServers;\n\n\u002F\u002F Local dev: DefaultAzureCredential. Production: set AZURE_TOKEN_CREDENTIALS=prod or AZURE_TOKEN_CREDENTIALS=\u003Cspecific_credential>\nvar credential = new DefaultAzureCredential(\n    DefaultAzureCredential.DefaultEnvironmentVariableName\n);\n\u002F\u002F Or use a specific credential directly in production:\n\u002F\u002F See https:\u002F\u002Flearn.microsoft.com\u002Fdotnet\u002Fapi\u002Foverview\u002Fazure\u002Fidentity-readme?view=azure-dotnet#credential-classes\n\u002F\u002F var credential = new ManagedIdentityCredential();\nArmClient client = new ArmClient(credential);\n```\n\n## Resource Hierarchy\n\n```\nSubscription\n└── ResourceGroup\n    └── PostgreSqlFlexibleServer              # PostgreSQL Flexible Server instance\n        ├── PostgreSqlFlexibleServerDatabase  # Database within the server\n        ├── PostgreSqlFlexibleServerFirewallRule # IP firewall rules\n        ├── PostgreSqlFlexibleServerConfiguration # Server parameters\n        ├── PostgreSqlFlexibleServerBackup    # Backup information\n        ├── PostgreSqlFlexibleServerActiveDirectoryAdministrator # Entra ID admin\n        └── PostgreSqlFlexibleServerVirtualEndpoint # Read replica endpoints\n```\n\n## Core Workflows\n\n### 1. Create PostgreSQL Flexible Server\n\n```csharp\nusing Azure.ResourceManager.PostgreSql.FlexibleServers;\nusing Azure.ResourceManager.PostgreSql.FlexibleServers.Models;\n\nResourceGroupResource resourceGroup = await client\n    .GetDefaultSubscriptionAsync()\n    .Result\n    .GetResourceGroupAsync(\"my-resource-group\");\n\nPostgreSqlFlexibleServerCollection servers = resourceGroup.GetPostgreSqlFlexibleServers();\n\nPostgreSqlFlexibleServerData data = new PostgreSqlFlexibleServerData(AzureLocation.EastUS)\n{\n    Sku = new PostgreSqlFlexibleServerSku(\"Standard_D2ds_v4\", PostgreSqlFlexibleServerSkuTier.GeneralPurpose),\n    AdministratorLogin = \"pgadmin\",\n    AdministratorLoginPassword = \"YourSecurePassword123!\",\n    Version = PostgreSqlFlexibleServerVersion.Ver16,\n    Storage = new PostgreSqlFlexibleServerStorage\n    {\n        StorageSizeInGB = 128,\n        AutoGrow = StorageAutoGrow.Enabled,\n        Tier = PostgreSqlStorageTierName.P30\n    },\n    Backup = new PostgreSqlFlexibleServerBackupProperties\n    {\n        BackupRetentionDays = 7,\n        GeoRedundantBackup = PostgreSqlFlexibleServerGeoRedundantBackupEnum.Disabled\n    },\n    HighAvailability = new PostgreSqlFlexibleServerHighAvailability\n    {\n        Mode = PostgreSqlFlexibleServerHighAvailabilityMode.ZoneRedundant,\n        StandbyAvailabilityZone = \"2\"\n    },\n    AvailabilityZone = \"1\",\n    AuthConfig = new PostgreSqlFlexibleServerAuthConfig\n    {\n        ActiveDirectoryAuth = PostgreSqlFlexibleServerActiveDirectoryAuthEnum.Enabled,\n        PasswordAuth = PostgreSqlFlexibleServerPasswordAuthEnum.Enabled\n    }\n};\n\nArmOperation\u003CPostgreSqlFlexibleServerResource> operation = await servers\n    .CreateOrUpdateAsync(WaitUntil.Completed, \"my-postgresql-server\", data);\n\nPostgreSqlFlexibleServerResource server = operation.Value;\nConsole.WriteLine($\"Server created: {server.Data.FullyQualifiedDomainName}\");\n```\n\n### 2. Create Database\n\n```csharp\nPostgreSqlFlexibleServerResource server = await resourceGroup\n    .GetPostgreSqlFlexibleServerAsync(\"my-postgresql-server\");\n\nPostgreSqlFlexibleServerDatabaseCollection databases = server.GetPostgreSqlFlexibleServerDatabases();\n\nPostgreSqlFlexibleServerDatabaseData dbData = new PostgreSqlFlexibleServerDatabaseData\n{\n    Charset = \"UTF8\",\n    Collation = \"en_US.utf8\"\n};\n\nArmOperation\u003CPostgreSqlFlexibleServerDatabaseResource> operation = await databases\n    .CreateOrUpdateAsync(WaitUntil.Completed, \"myappdb\", dbData);\n\nPostgreSqlFlexibleServerDatabaseResource database = operation.Value;\nConsole.WriteLine($\"Database created: {database.Data.Name}\");\n```\n\n### 3. Configure Firewall Rules\n\n```csharp\nPostgreSqlFlexibleServerFirewallRuleCollection firewallRules = server.GetPostgreSqlFlexibleServerFirewallRules();\n\n\u002F\u002F Allow specific IP range\nPostgreSqlFlexibleServerFirewallRuleData ruleData = new PostgreSqlFlexibleServerFirewallRuleData\n{\n    StartIPAddress = System.Net.IPAddress.Parse(\"10.0.0.1\"),\n    EndIPAddress = System.Net.IPAddress.Parse(\"10.0.0.255\")\n};\n\nArmOperation\u003CPostgreSqlFlexibleServerFirewallRuleResource> operation = await firewallRules\n    .CreateOrUpdateAsync(WaitUntil.Completed, \"allow-internal\", ruleData);\n\n\u002F\u002F Allow Azure services\nPostgreSqlFlexibleServerFirewallRuleData azureServicesRule = new PostgreSqlFlexibleServerFirewallRuleData\n{\n    StartIPAddress = System.Net.IPAddress.Parse(\"0.0.0.0\"),\n    EndIPAddress = System.Net.IPAddress.Parse(\"0.0.0.0\")\n};\n\nawait firewallRules.CreateOrUpdateAsync(WaitUntil.Completed, \"AllowAllAzureServicesAndResourcesWithinAzureIps\", azureServicesRule);\n```\n\n### 4. Update Server Configuration\n\n```csharp\nPostgreSqlFlexibleServerConfigurationCollection configurations = server.GetPostgreSqlFlexibleServerConfigurations();\n\n\u002F\u002F Get current configuration\nPostgreSqlFlexibleServerConfigurationResource config = await configurations\n    .GetAsync(\"max_connections\");\n\n\u002F\u002F Update configuration\nPostgreSqlFlexibleServerConfigurationData configData = new PostgreSqlFlexibleServerConfigurationData\n{\n    Value = \"500\",\n    Source = \"user-override\"\n};\n\nArmOperation\u003CPostgreSqlFlexibleServerConfigurationResource> operation = await configurations\n    .CreateOrUpdateAsync(WaitUntil.Completed, \"max_connections\", configData);\n\n\u002F\u002F Common PostgreSQL configurations to tune\nstring[] commonParams = { \n    \"max_connections\", \n    \"shared_buffers\", \n    \"work_mem\", \n    \"maintenance_work_mem\",\n    \"effective_cache_size\",\n    \"log_min_duration_statement\"\n};\n```\n\n### 5. Configure Entra ID Administrator\n\n```csharp\nPostgreSqlFlexibleServerActiveDirectoryAdministratorCollection admins = \n    server.GetPostgreSqlFlexibleServerActiveDirectoryAdministrators();\n\nPostgreSqlFlexibleServerActiveDirectoryAdministratorData adminData = \n    new PostgreSqlFlexibleServerActiveDirectoryAdministratorData\n{\n    PrincipalType = PostgreSqlFlexibleServerPrincipalType.User,\n    PrincipalName = \"aad-admin@contoso.com\",\n    TenantId = Guid.Parse(\"\u003Ctenant-id>\")\n};\n\nArmOperation\u003CPostgreSqlFlexibleServerActiveDirectoryAdministratorResource> operation = await admins\n    .CreateOrUpdateAsync(WaitUntil.Completed, \"\u003Centra-object-id>\", adminData);\n```\n\n### 6. List and Manage Servers\n\n```csharp\n\u002F\u002F List servers in resource group\nawait foreach (PostgreSqlFlexibleServerResource server in resourceGroup.GetPostgreSqlFlexibleServers())\n{\n    Console.WriteLine($\"Server: {server.Data.Name}\");\n    Console.WriteLine($\"  FQDN: {server.Data.FullyQualifiedDomainName}\");\n    Console.WriteLine($\"  Version: {server.Data.Version}\");\n    Console.WriteLine($\"  State: {server.Data.State}\");\n    Console.WriteLine($\"  SKU: {server.Data.Sku.Name} ({server.Data.Sku.Tier})\");\n    Console.WriteLine($\"  HA: {server.Data.HighAvailability?.Mode}\");\n}\n\n\u002F\u002F List databases in server\nawait foreach (PostgreSqlFlexibleServerDatabaseResource db in server.GetPostgreSqlFlexibleServerDatabases())\n{\n    Console.WriteLine($\"Database: {db.Data.Name}\");\n}\n```\n\n### 7. Backup and Point-in-Time Restore\n\n```csharp\n\u002F\u002F List available backups\nawait foreach (PostgreSqlFlexibleServerBackupResource backup in server.GetPostgreSqlFlexibleServerBackups())\n{\n    Console.WriteLine($\"Backup: {backup.Data.Name}\");\n    Console.WriteLine($\"  Type: {backup.Data.BackupType}\");\n    Console.WriteLine($\"  Completed: {backup.Data.CompletedOn}\");\n}\n\n\u002F\u002F Point-in-time restore\nPostgreSqlFlexibleServerData restoreData = new PostgreSqlFlexibleServerData(AzureLocation.EastUS)\n{\n    CreateMode = PostgreSqlFlexibleServerCreateMode.PointInTimeRestore,\n    SourceServerResourceId = server.Id,\n    PointInTimeUtc = DateTimeOffset.UtcNow.AddHours(-2)\n};\n\nArmOperation\u003CPostgreSqlFlexibleServerResource> operation = await servers\n    .CreateOrUpdateAsync(WaitUntil.Completed, \"my-postgresql-restored\", restoreData);\n```\n\n### 8. Create Read Replica\n\n```csharp\nPostgreSqlFlexibleServerData replicaData = new PostgreSqlFlexibleServerData(AzureLocation.WestUS)\n{\n    CreateMode = PostgreSqlFlexibleServerCreateMode.Replica,\n    SourceServerResourceId = server.Id,\n    Sku = new PostgreSqlFlexibleServerSku(\"Standard_D2ds_v4\", PostgreSqlFlexibleServerSkuTier.GeneralPurpose)\n};\n\nArmOperation\u003CPostgreSqlFlexibleServerResource> operation = await servers\n    .CreateOrUpdateAsync(WaitUntil.Completed, \"my-postgresql-replica\", replicaData);\n```\n\n### 9. Stop and Start Server\n\n```csharp\nPostgreSqlFlexibleServerResource server = await resourceGroup\n    .GetPostgreSqlFlexibleServerAsync(\"my-postgresql-server\");\n\n\u002F\u002F Stop server (saves costs when not in use)\nawait server.StopAsync(WaitUntil.Completed);\n\n\u002F\u002F Start server\nawait server.StartAsync(WaitUntil.Completed);\n\n\u002F\u002F Restart server\nawait server.RestartAsync(WaitUntil.Completed, new PostgreSqlFlexibleServerRestartParameter\n{\n    RestartWithFailover = true,\n    FailoverMode = PostgreSqlFlexibleServerFailoverMode.PlannedFailover\n});\n```\n\n### 10. Update Server (Scale)\n\n```csharp\nPostgreSqlFlexibleServerResource server = await resourceGroup\n    .GetPostgreSqlFlexibleServerAsync(\"my-postgresql-server\");\n\nPostgreSqlFlexibleServerPatch patch = new PostgreSqlFlexibleServerPatch\n{\n    Sku = new PostgreSqlFlexibleServerSku(\"Standard_D4ds_v4\", PostgreSqlFlexibleServerSkuTier.GeneralPurpose),\n    Storage = new PostgreSqlFlexibleServerStorage\n    {\n        StorageSizeInGB = 256,\n        Tier = PostgreSqlStorageTierName.P40\n    }\n};\n\nArmOperation\u003CPostgreSqlFlexibleServerResource> operation = await server\n    .UpdateAsync(WaitUntil.Completed, patch);\n```\n\n### 11. Delete Server\n\n```csharp\nPostgreSqlFlexibleServerResource server = await resourceGroup\n    .GetPostgreSqlFlexibleServerAsync(\"my-postgresql-server\");\n\nawait server.DeleteAsync(WaitUntil.Completed);\n```\n\n## Key Types Reference\n\n| Type | Purpose |\n|------|---------|\n| `PostgreSqlFlexibleServerResource` | Flexible Server instance |\n| `PostgreSqlFlexibleServerData` | Server configuration data |\n| `PostgreSqlFlexibleServerCollection` | Collection of servers |\n| `PostgreSqlFlexibleServerDatabaseResource` | Database within server |\n| `PostgreSqlFlexibleServerFirewallRuleResource` | IP firewall rule |\n| `PostgreSqlFlexibleServerConfigurationResource` | Server parameter |\n| `PostgreSqlFlexibleServerBackupResource` | Backup metadata |\n| `PostgreSqlFlexibleServerActiveDirectoryAdministratorResource` | Entra ID admin |\n| `PostgreSqlFlexibleServerSku` | SKU (compute tier + size) |\n| `PostgreSqlFlexibleServerStorage` | Storage configuration |\n| `PostgreSqlFlexibleServerHighAvailability` | HA configuration |\n| `PostgreSqlFlexibleServerBackupProperties` | Backup settings |\n| `PostgreSqlFlexibleServerAuthConfig` | Authentication settings |\n\n## SKU Tiers\n\n| Tier | Use Case | SKU Examples |\n|------|----------|--------------|\n| `Burstable` | Dev\u002Ftest, light workloads | Standard_B1ms, Standard_B2s |\n| `GeneralPurpose` | Production workloads | Standard_D2ds_v4, Standard_D4ds_v4 |\n| `MemoryOptimized` | High memory requirements | Standard_E2ds_v4, Standard_E4ds_v4 |\n\n## PostgreSQL Versions\n\n| Version | Enum Value |\n|---------|------------|\n| PostgreSQL 11 | `Ver11` |\n| PostgreSQL 12 | `Ver12` |\n| PostgreSQL 13 | `Ver13` |\n| PostgreSQL 14 | `Ver14` |\n| PostgreSQL 15 | `Ver15` |\n| PostgreSQL 16 | `Ver16` |\n\n## High Availability Modes\n\n| Mode | Description |\n|------|-------------|\n| `Disabled` | No HA (single server) |\n| `SameZone` | HA within same availability zone |\n| `ZoneRedundant` | HA across availability zones |\n\n## Best Practices\n\n1. **Use Flexible Server** — Single Server is deprecated\n2. **Enable zone-redundant HA** — For production workloads\n3. **Use DefaultAzureCredential** — Prefer over connection strings\n4. **Configure Entra ID authentication** — More secure than SQL auth alone\n5. **Enable both auth methods** — Entra ID + password for flexibility\n6. **Set appropriate backup retention** — 7-35 days based on compliance\n7. **Use private endpoints** — For secure network access\n8. **Tune server parameters** — Based on workload characteristics\n9. **Use read replicas** — For read-heavy workloads\n10. **Stop dev\u002Ftest servers** — Save costs when not in use\n\n## Error Handling\n\n```csharp\nusing Azure;\n\ntry\n{\n    ArmOperation\u003CPostgreSqlFlexibleServerResource> operation = await servers\n        .CreateOrUpdateAsync(WaitUntil.Completed, \"my-postgresql\", data);\n}\ncatch (RequestFailedException ex) when (ex.Status == 409)\n{\n    Console.WriteLine(\"Server already exists\");\n}\ncatch (RequestFailedException ex) when (ex.Status == 400)\n{\n    Console.WriteLine($\"Invalid configuration: {ex.Message}\");\n}\ncatch (RequestFailedException ex)\n{\n    Console.WriteLine($\"Azure error: {ex.Status} - {ex.Message}\");\n}\n```\n\n## Connection String\n\nAfter creating the server, connect using:\n\n```csharp\n\u002F\u002F Npgsql connection string\nstring connectionString = $\"Host={server.Data.FullyQualifiedDomainName};\" +\n    \"Database=myappdb;\" +\n    \"Username=pgadmin;\" +\n    \"Password=YourSecurePassword123!;\" +\n    \"SSL Mode=Require;Trust Server Certificate=true;\";\n\n\u002F\u002F With Entra ID token (recommended)\nvar credential = new DefaultAzureCredential();\nvar token = await credential.GetTokenAsync(\n    new TokenRequestContext(new[] { \"https:\u002F\u002Fossrdbms-aad.database.windows.net\u002F.default\" }));\n\nstring connectionString = $\"Host={server.Data.FullyQualifiedDomainName};\" +\n    \"Database=myappdb;\" +\n    $\"Username=aad-admin@contoso.com;\" +\n    $\"Password={token.Token};\" +\n    \"SSL Mode=Require;\";\n```\n\n## Related SDKs\n\n| SDK | Purpose | Install |\n|-----|---------|---------|\n| `Azure.ResourceManager.PostgreSql` | PostgreSQL management (this SDK) | `dotnet add package Azure.ResourceManager.PostgreSql` |\n| `Azure.ResourceManager.MySql` | MySQL management | `dotnet add package Azure.ResourceManager.MySql` |\n| `Npgsql` | PostgreSQL data access | `dotnet add package Npgsql` |\n| `Npgsql.EntityFrameworkCore.PostgreSQL` | EF Core provider | `dotnet add package Npgsql.EntityFrameworkCore.PostgreSQL` |\n\n## Reference Links\n\n| Resource | URL |\n|----------|-----|\n| NuGet Package | https:\u002F\u002Fwww.nuget.org\u002Fpackages\u002FAzure.ResourceManager.PostgreSql |\n| API Reference | https:\u002F\u002Flearn.microsoft.com\u002Fdotnet\u002Fapi\u002Fazure.resourcemanager.postgresql |\n| Product Documentation | https:\u002F\u002Flearn.microsoft.com\u002Fazure\u002Fpostgresql\u002Fflexible-server\u002F |\n| GitHub Source | https:\u002F\u002Fgithub.com\u002FAzure\u002Fazure-sdk-for-net\u002Ftree\u002Fmain\u002Fsdk\u002Fpostgresql\u002FAzure.ResourceManager.PostgreSql |\n","# Azure.ResourceManager.PostgreSql (.NET)\n\nAzure Resource Manager SDK for managing PostgreSQL Flexible Server deployments.\n\n## Installation\n\n```bash\ndotnet add package Azure.ResourceManager.PostgreSql\ndotnet add package Azure.Identity\n```\n\n**Current Version**: v1.2.0 (GA)  \n**API Version**: 2023-12-01-preview\n\n> **Note**: This skill focuses on PostgreSQL Flexible Server. Single Server is deprecated and scheduled for retirement.\n\n## Environment Variables\n\n```bash\nAZURE_SUBSCRIPTION_ID=\u003Cyour-subscription-id>  # Required: Azure subscription ID\nAZURE_RESOURCE_GROUP=\u003Cyour-resource-group>  # Required: resource group name\nAZURE_POSTGRESQL_SERVER_NAME=\u003Cyour-postgresql-server>  # Required: PostgreSQL Flexible Server name\nAZURE_TOKEN_CREDENTIALS=prod  # Required only if DefaultAzureCredential is used in production\n```\n\n## Authentication\n\n```csharp\nusing Azure.Identity;\nusing Azure.ResourceManager;\nusing Azure.ResourceManager.PostgreSql;\nusing Azure.ResourceManager.PostgreSql.FlexibleServers;\n\n\u002F\u002F Local dev: DefaultAzureCredential. Production: set AZURE_TOKEN_CREDENTIALS=prod or AZURE_TOKEN_CREDENTIALS=\u003Cspecific_credential>\nvar credential = new DefaultAzureCredential(\n    DefaultAzureCredential.DefaultEnvironmentVariableName\n);\n\u002F\u002F Or use a specific credential directly in production:\n\u002F\u002F See https:\u002F\u002Flearn.microsoft.com\u002Fdotnet\u002Fapi\u002Foverview\u002Fazure\u002Fidentity-readme?view=azure-dotnet#credential-classes\n\u002F\u002F var credential = new ManagedIdentityCredential();\nArmClient client = new ArmClient(credential);\n```\n\n## Resource Hierarchy\n\n```\nSubscription\n└── ResourceGroup\n    └── PostgreSqlFlexibleServer              # PostgreSQL Flexible Server instance\n        ├── PostgreSqlFlexibleServerDatabase  # Database within the server\n        ├── PostgreSqlFlexibleServerFirewallRule # IP firewall rules\n        ├── PostgreSqlFlexibleServerConfiguration # Server parameters\n        ├── PostgreSqlFlexibleServerBackup    # Backup information\n        ├── PostgreSqlFlexibleServerActiveDirectoryAdministrator # Entra ID admin\n        └── PostgreSqlFlexibleServerVirtualEndpoint # Read replica endpoints\n```\n\n## Core Workflows\n\n### 1. Create PostgreSQL Flexible Server\n\n```csharp\nusing Azure.ResourceManager.PostgreSql.FlexibleServers;\nusing Azure.ResourceManager.PostgreSql.FlexibleServers.Models;\n\nResourceGroupResource resourceGroup = await client\n    .GetDefaultSubscriptionAsync()\n    .Result\n    .GetResourceGroupAsync(\"my-resource-group\");\n\nPostgreSqlFlexibleServerCollection servers = resourceGroup.GetPostgreSqlFlexibleServers();\n\nPostgreSqlFlexibleServerData data = new PostgreSqlFlexibleServerData(AzureLocation.EastUS)\n{\n    Sku = new PostgreSqlFlexibleServerSku(\"Standard_D2ds_v4\", PostgreSqlFlexibleServerSkuTier.GeneralPurpose),\n    AdministratorLogin = \"pgadmin\",\n    AdministratorLoginPassword = \"YourSecurePassword123!\",\n    Version = PostgreSqlFlexibleServerVersion.Ver16,\n    Storage = new PostgreSqlFlexibleServerStorage\n    {\n        StorageSizeInGB = 128,\n        AutoGrow = StorageAutoGrow.Enabled,\n        Tier = PostgreSqlStorageTierName.P30\n    },\n    Backup = new PostgreSqlFlexibleServerBackupProperties\n    {\n        BackupRetentionDays = 7,\n        GeoRedundantBackup = PostgreSqlFlexibleServerGeoRedundantBackupEnum.Disabled\n    },\n    HighAvailability = new PostgreSqlFlexibleServerHighAvailability\n    {\n        Mode = PostgreSqlFlexibleServerHighAvailabilityMode.ZoneRedundant,\n        StandbyAvailabilityZone = \"2\"\n    },\n    AvailabilityZone = \"1\",\n    AuthConfig = new PostgreSqlFlexibleServerAuthConfig\n    {\n        ActiveDirectoryAuth = PostgreSqlFlexibleServerActiveDirectoryAuthEnum.Enabled,\n        PasswordAuth = PostgreSqlFlexibleServerPasswordAuthEnum.Enabled\n    }\n};\n\nArmOperation\u003CPostgreSqlFlexibleServerResource> operation = await servers\n    .CreateOrUpdateAsync(WaitUntil.Completed, \"my-postgresql-server\", data);\n\nPostgreSqlFlexibleServerResource server = operation.Value;\nConsole.WriteLine($\"Server created: {server.Data.FullyQualifiedDomainName}\");\n```\n\n### 2. Create Database\n\n```csharp\nPostgreSqlFlexibleServerResource server = await resourceGroup\n    .GetPostgreSqlFlexibleServerAsync(\"my-postgresql-server\");\n\nPostgreSqlFlexibleServerDatabaseCollection databases = server.GetPostgreSqlFlexibleServerDatabases();\n\nPostgreSqlFlexibleServerDatabaseData dbData = new PostgreSqlFlexibleServerDatabaseData\n{\n    Charset = \"UTF8\",\n    Collation = \"en_US.utf8\"\n};\n\nArmOperation\u003CPostgreSqlFlexibleServerDatabaseResource> operation = await databases\n    .CreateOrUpdateAsync(WaitUntil.Completed, \"myappdb\", dbData);\n\nPostgreSqlFlexibleServerDatabaseResource database = operation.Value;\nConsole.WriteLine($\"Database created: {database.Data.Name}\");\n```\n\n### 3. Configure Firewall Rules\n\n```csharp\nPostgreSqlFlexibleServerFirewallRuleCollection firewallRules = server.GetPostgreSqlFlexibleServerFirewallRules();\n\n\u002F\u002F Allow specific IP range\nPostgreSqlFlexibleServerFirewallRuleData ruleData = new PostgreSqlFlexibleServerFirewallRuleData\n{\n    StartIPAddress = System.Net.IPAddress.Parse(\"10.0.0.1\"),\n    EndIPAddress = System.Net.IPAddress.Parse(\"10.0.0.255\")\n};\n\nArmOperation\u003CPostgreSqlFlexibleServerFirewallRuleResource> operation = await firewallRules\n    .CreateOrUpdateAsync(WaitUntil.Completed, \"allow-internal\", ruleData);\n\n\u002F\u002F Allow Azure services\nPostgreSqlFlexibleServerFirewallRuleData azureServicesRule = new PostgreSqlFlexibleServerFirewallRuleData\n{\n    StartIPAddress = System.Net.IPAddress.Parse(\"0.0.0.0\"),\n    EndIPAddress = System.Net.IPAddress.Parse(\"0.0.0.0\")\n};\n\nawait firewallRules.CreateOrUpdateAsync(WaitUntil.Completed, \"AllowAllAzureServicesAndResourcesWithinAzureIps\", azureServicesRule);\n```\n\n### 4. Update Server Configuration\n\n```csharp\nPostgreSqlFlexibleServerConfigurationCollection configurations = server.GetPostgreSqlFlexibleServerConfigurations();\n\n\u002F\u002F Get current configuration\nPostgreSqlFlexibleServerConfigurationResource config = await configurations\n    .GetAsync(\"max_connections\");\n\n\u002F\u002F Update configuration\nPostgreSqlFlexibleServerConfigurationData configData = new PostgreSqlFlexibleServerConfigurationData\n{\n    Value = \"500\",\n    Source = \"user-override\"\n};\n\nArmOperation\u003CPostgreSqlFlexibleServerConfigurationResource> operation = await configurations\n    .CreateOrUpdateAsync(WaitUntil.Completed, \"max_connections\", configData);\n\n\u002F\u002F Common PostgreSQL configurations to tune\nstring[] commonParams = { \n    \"max_connections\", \n    \"shared_buffers\", \n    \"work_mem\", \n    \"maintenance_work_mem\",\n    \"effective_cache_size\",\n    \"log_min_duration_statement\"\n};\n```\n\n### 5. Configure Entra ID Administrator\n\n```csharp\nPostgreSqlFlexibleServerActiveDirectoryAdministratorCollection admins = \n    server.GetPostgreSqlFlexibleServerActiveDirectoryAdministrators();\n\nPostgreSqlFlexibleServerActiveDirectoryAdministratorData adminData = \n    new PostgreSqlFlexibleServerActiveDirectoryAdministratorData\n{\n    PrincipalType = PostgreSqlFlexibleServerPrincipalType.User,\n    PrincipalName = \"aad-admin@contoso.com\",\n    TenantId = Guid.Parse(\"\u003Ctenant-id>\")\n};\n\nArmOperation\u003CPostgreSqlFlexibleServerActiveDirectoryAdministratorResource> operation = await admins\n    .CreateOrUpdateAsync(WaitUntil.Completed, \"\u003Centra-object-id>\", adminData);\n```\n\n### 6. List and Manage Servers\n\n```csharp\n\u002F\u002F List servers in resource group\nawait foreach (PostgreSqlFlexibleServerResource server in resourceGroup.GetPostgreSqlFlexibleServers())\n{\n    Console.WriteLine($\"Server: {server.Data.Name}\");\n    Console.WriteLine($\"  FQDN: {server.Data.FullyQualifiedDomainName}\");\n    Console.WriteLine($\"  Version: {server.Data.Version}\");\n    Console.WriteLine($\"  State: {server.Data.State}\");\n    Console.WriteLine($\"  SKU: {server.Data.Sku.Name} ({server.Data.Sku.Tier})\");\n    Console.WriteLine($\"  HA: {server.Data.HighAvailability?.Mode}\");\n}\n\n\u002F\u002F List databases in server\nawait foreach (PostgreSqlFlexibleServerDatabaseResource db in server.GetPostgreSqlFlexibleServerDatabases())\n{\n    Console.WriteLine($\"Database: {db.Data.Name}\");\n}\n```\n\n### 7. Backup and Point-in-Time Restore\n\n```csharp\n\u002F\u002F List available backups\nawait foreach (PostgreSqlFlexibleServerBackupResource backup in server.GetPostgreSqlFlexibleServerBackups())\n{\n    Console.WriteLine($\"Backup: {backup.Data.Name}\");\n    Console.WriteLine($\"  Type: {backup.Data.BackupType}\");\n    Console.WriteLine($\"  Completed: {backup.Data.CompletedOn}\");\n}\n\n\u002F\u002F Point-in-time restore\nPostgreSqlFlexibleServerData restoreData = new PostgreSqlFlexibleServerData(AzureLocation.EastUS)\n{\n    CreateMode = PostgreSqlFlexibleServerCreateMode.PointInTimeRestore,\n    SourceServerResourceId = server.Id,\n    PointInTimeUtc = DateTimeOffset.UtcNow.AddHours(-2)\n};\n\nArmOperation\u003CPostgreSqlFlexibleServerResource> operation = await servers\n    .CreateOrUpdateAsync(WaitUntil.Completed, \"my-postgresql-restored\", restoreData);\n```\n\n### 8. Create Read Replica\n\n```csharp\nPostgreSqlFlexibleServerData replicaData = new PostgreSqlFlexibleServerData(AzureLocation.WestUS)\n{\n    CreateMode = PostgreSqlFlexibleServerCreateMode.Replica,\n    SourceServerResourceId = server.Id,\n    Sku = new PostgreSqlFlexibleServerSku(\"Standard_D2ds_v4\", PostgreSqlFlexibleServerSkuTier.GeneralPurpose)\n};\n\nArmOperation\u003CPostgreSqlFlexibleServerResource> operation = await servers\n    .CreateOrUpdateAsync(WaitUntil.Completed, \"my-postgresql-replica\", replicaData);\n```\n\n### 9. Stop and Start Server\n\n```csharp\nPostgreSqlFlexibleServerResource server = await resourceGroup\n    .GetPostgreSqlFlexibleServerAsync(\"my-postgresql-server\");\n\n\u002F\u002F Stop server (saves costs when not in use)\nawait server.StopAsync(WaitUntil.Completed);\n\n\u002F\u002F Start server\nawait server.StartAsync(WaitUntil.Completed);\n\n\u002F\u002F Restart server\nawait server.RestartAsync(WaitUntil.Completed, new PostgreSqlFlexibleServerRestartParameter\n{\n    RestartWithFailover = true,\n    FailoverMode = PostgreSqlFlexibleServerFailoverMode.PlannedFailover\n});\n```\n\n### 10. Update Server (Scale)\n\n```csharp\nPostgreSqlFlexibleServerResource server = await resourceGroup\n    .GetPostgreSqlFlexibleServerAsync(\"my-postgresql-server\");\n\nPostgreSqlFlexibleServerPatch patch = new PostgreSqlFlexibleServerPatch\n{\n    Sku = new PostgreSqlFlexibleServerSku(\"Standard_D4ds_v4\", PostgreSqlFlexibleServerSkuTier.GeneralPurpose),\n    Storage = new PostgreSqlFlexibleServerStorage\n    {\n        StorageSizeInGB = 256,\n        Tier = PostgreSqlStorageTierName.P40\n    }\n};\n\nArmOperation\u003CPostgreSqlFlexibleServerResource> operation = await server\n    .UpdateAsync(WaitUntil.Completed, patch);\n```\n\n### 11. Delete Server\n\n```csharp\nPostgreSqlFlexibleServerResource server = await resourceGroup\n    .GetPostgreSqlFlexibleServerAsync(\"my-postgresql-server\");\n\nawait server.DeleteAsync(WaitUntil.Completed);\n```\n\n## Key Types Reference\n\n| Type | Purpose |\n|------|---------|\n| `PostgreSqlFlexibleServerResource` | Flexible Server instance |\n| `PostgreSqlFlexibleServerData` | Server configuration data |\n| `PostgreSqlFlexibleServerCollection` | Collection of servers |\n| `PostgreSqlFlexibleServerDatabaseResource` | Database within server |\n| `PostgreSqlFlexibleServerFirewallRuleResource` | IP firewall rule |\n| `PostgreSqlFlexibleServerConfigurationResource` | Server parameter |\n| `PostgreSqlFlexibleServerBackupResource` | Backup metadata |\n| `PostgreSqlFlexibleServerActiveDirectoryAdministratorResource` | Entra ID admin |\n| `PostgreSqlFlexibleServerSku` | SKU (compute tier + size) |\n| `PostgreSqlFlexibleServerStorage` | Storage configuration |\n| `PostgreSqlFlexibleServerHighAvailability` | HA configuration |\n| `PostgreSqlFlexibleServerBackupProperties` | Backup settings |\n| `PostgreSqlFlexibleServerAuthConfig` | Authentication settings |\n\n## SKU Tiers\n\n| Tier | Use Case | SKU Examples |\n|------|----------|--------------|\n| `Burstable` | Dev\u002Ftest, light workloads | Standard_B1ms, Standard_B2s |\n| `GeneralPurpose` | Production workloads | Standard_D2ds_v4, Standard_D4ds_v4 |\n| `MemoryOptimized` | High memory requirements | Standard_E2ds_v4, Standard_E4ds_v4 |\n\n## PostgreSQL Versions\n\n| Version | Enum Value |\n|---------|------------|\n| PostgreSQL 11 | `Ver11` |\n| PostgreSQL 12 | `Ver12` |\n| PostgreSQL 13 | `Ver13` |\n| PostgreSQL 14 | `Ver14` |\n| PostgreSQL 15 | `Ver15` |\n| PostgreSQL 16 | `Ver16` |\n\n## High Availability Modes\n\n| Mode | Description |\n|------|-------------|\n| `Disabled` | No HA (single server) |\n| `SameZone` | HA within same availability zone |\n| `ZoneRedundant` | HA across availability zones |\n\n## Best Practices\n\n1. **Use Flexible Server** — Single Server is deprecated\n2. **Enable zone-redundant HA** — For production workloads\n3. **Use DefaultAzureCredential** — Prefer over connection strings\n4. **Configure Entra ID authentication** — More secure than SQL auth alone\n5. **Enable both auth methods** — Entra ID + password for flexibility\n6. **Set appropriate backup retention** — 7-35 days based on compliance\n7. **Use private endpoints** — For secure network access\n8. **Tune server parameters** — Based on workload characteristics\n9. **Use read replicas** — For read-heavy workloads\n10. **Stop dev\u002Ftest servers** — Save costs when not in use\n\n## Error Handling\n\n```csharp\nusing Azure;\n\ntry\n{\n    ArmOperation\u003CPostgreSqlFlexibleServerResource> operation = await servers\n        .CreateOrUpdateAsync(WaitUntil.Completed, \"my-postgresql\", data);\n}\ncatch (RequestFailedException ex) when (ex.Status == 409)\n{\n    Console.WriteLine(\"Server already exists\");\n}\ncatch (RequestFailedException ex) when (ex.Status == 400)\n{\n    Console.WriteLine($\"Invalid configuration: {ex.Message}\");\n}\ncatch (RequestFailedException ex)\n{\n    Console.WriteLine($\"Azure error: {ex.Status} - {ex.Message}\");\n}\n```\n\n## Connection String\n\nAfter creating the server, connect using:\n\n```csharp\n\u002F\u002F Npgsql connection string\nstring connectionString = $\"Host={server.Data.FullyQualifiedDomainName};\" +\n    \"Database=myappdb;\" +\n    \"Username=pgadmin;\" +\n    \"Password=YourSecurePassword123!;\" +\n    \"SSL Mode=Require;Trust Server Certificate=true;\";\n\n\u002F\u002F With Entra ID token (recommended)\nvar credential = new DefaultAzureCredential();\nvar token = await credential.GetTokenAsync(\n    new TokenRequestContext(new[] { \"https:\u002F\u002Fossrdbms-aad.database.windows.net\u002F.default\" }));\n\nstring connectionString = $\"Host={server.Data.FullyQualifiedDomainName};\" +\n    \"Database=myappdb;\" +\n    $\"Username=aad-admin@contoso.com;\" +\n    $\"Password={token.Token};\" +\n    \"SSL Mode=Require;\";\n```\n\n## Related SDKs\n\n| SDK | Purpose | Install |\n|-----|---------|---------|\n| `Azure.ResourceManager.PostgreSql` | PostgreSQL management (this SDK) | `dotnet add package Azure.ResourceManager.PostgreSql` |\n| `Azure.ResourceManager.MySql` | MySQL management | `dotnet add package Azure.ResourceManager.MySql` |\n| `Npgsql` | PostgreSQL data access | `dotnet add package Npgsql` |\n| `Npgsql.EntityFrameworkCore.PostgreSQL` | EF Core provider | `dotnet add package Npgsql.EntityFrameworkCore.PostgreSQL` |\n\n## Reference Links\n\n| Resource | URL |\n|----------|-----|\n| NuGet Package | https:\u002F\u002Fwww.nuget.org\u002Fpackages\u002FAzure.ResourceManager.PostgreSql |\n| API Reference | https:\u002F\u002Flearn.microsoft.com\u002Fdotnet\u002Fapi\u002Fazure.resourcemanager.postgresql |\n| Product Documentation | https:\u002F\u002Flearn.microsoft.com\u002Fazure\u002Fpostgresql\u002Fflexible-server\u002F |\n| GitHub Source | https:\u002F\u002Fgithub.com\u002FAzure\u002Fazure-sdk-for-net\u002Ftree\u002Fmain\u002Fsdk\u002Fpostgresql\u002FAzure.ResourceManager.PostgreSql |\n",{"name":5,"license":15,"metadata":50,"description":53},{"author":12,"package":51,"version":52},"Azure.ResourceManager.PostgreSql","1.0.0","Azure PostgreSQL Flexible Server SDK for .NET. Database management for PostgreSQL Flexible Server deployments. Use for creating servers, databases, firewall rules, configurations, backups, and high availability. Triggers: \"PostgreSQL\", \"PostgreSqlFlexibleServer\", \"PostgreSQL Flexible Server\", \"Azure Database for PostgreSQL\", \"PostgreSQL database management\", \"PostgreSQL firewall\", \"PostgreSQL backup\", \"Postgres\".\n","main","3f5b461b2314e01c400564051e92469114c5b68f",".github\u002Fplugins\u002Fazure-sdk-dotnet\u002Fskills\u002Fazure-resource-manager-postgresql-dotnet",368,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills","https:\u002F\u002Fmicrosoft.github.io\u002Fskills\u002F","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-14 06:48:25",{"source":8,"skillName":5,"commands":65,"prompt":75,"zipAvailable":76},[66,69,72],{"tool":67,"command":68},"npx","npx skills add microsoft\u002Fskills --skill azure-resource-manager-postgresql-dotnet",{"tool":70,"command":71},"bunx","bunx skills add microsoft\u002Fskills --skill azure-resource-manager-postgresql-dotnet",{"tool":73,"command":74},"pnpm","pnpm dlx skills add microsoft\u002Fskills --skill azure-resource-manager-postgresql-dotnet","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills\u002Fblob\u002Fmain\u002F.github\u002Fplugins\u002Fazure-sdk-dotnet\u002Fskills\u002Fazure-resource-manager-postgresql-dotnet\u002FSKILL.md",true,[78,84,90],{"path":79,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":82,"sourceHtmlUrl":83},"assets\u002Fcontributor-comment.md","ASSET","资产文件",494,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FSynapseML\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Fsynapseml-external-contributor-review\u002Fassets\u002Fcontributor-comment.md",{"path":85,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":88,"sourceHtmlUrl":89},"references\u002Fci-delegation.md","REFERENCE","参考文档",6268,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FSynapseML\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Fsynapseml-external-contributor-review\u002Freferences\u002Fci-delegation.md",{"path":91,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":92,"sourceHtmlUrl":93},"references\u002Fcontributor-safety.md",5634,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FSynapseML\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Fsynapseml-external-contributor-review\u002Freferences\u002Fcontributor-safety.md",[95,103,128,164,191,211],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":102},"01M741JBE1VH8A2Y3FXX2P7386","azure-advisor-cost-optimization","Analyze Azure Advisor Cost\u002FIdleResources findings and prevalidate deletion safety, including Service Groups. WHEN: \"find unused Azure resources\", \"what resources am I paying for but no longer using\", \"idle-resource savings\", \"historical idle-resource savings\", \"are these idle resources safe to delete\". Generic Cost, other subcategories, and cross-category requests use azure-advisor.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills\u002Fblob\u002Fmain\u002F.github\u002Fplugins\u002Fazure-advisor\u002Fskills\u002Fazure-advisor-cost-optimization\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":112,"publishedAt":45},"01M69B4JCRQV5SPXAFCKXQRV0H","skill-creator","Guide for creating effective skills for AI coding agents working with Azure SDKs and Microsoft Foundry services. Use when creating new skills or updating existing skills.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fskill-creator\u002FSKILL.md",[109],{"categoryNo":110,"categoryName":111,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",[113,114,115,116,9,25,117,118,119,120,32,30,121,122,123,124,125,126,127],"skill creator","creator","ai coding agents","coding agents","foundry","microsoft foundry","coding","guide","Existing","services","new","when","sdks","with","ai coding",{"skillNo":129,"name":130,"nameZh":6,"description":131,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":132,"categories":133,"keywords":142,"publishedAt":45},"01M69B4FD57V1MYKRWAJJECTZ7","podcast-generation","Generate AI-powered podcast-style audio narratives using Azure OpenAI's GPT Realtime Mini model via WebSocket. Use when building text-to-speech features, audio narrative generation, podcast creation from content, or integrating with Azure OpenAI Realtime API for real audio output. Covers full-stack implementation from React frontend to Python FastAPI backend with WebSocket streaming.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fpodcast-generation\u002FSKILL.md",[134,137,138,141],{"categoryNo":135,"categoryName":136,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000009","前端开发",{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":139,"categoryName":140,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000016","图像与多媒体",{"categoryNo":110,"categoryName":111,"taxonomyType":21,"taxonomyTypeDesc":22},[143,144,145,146,25,147,148,149,150,151,152,153,154,155,156,124,157,158,159,160,161,162,163],"podcast generation","generation","podcast","frontend","azure openai","realtime","react","python","Audio","creation","model","fastapi backend","python fastapi","fastapi","api","streaming","text","narrative","stack","generate","features",{"skillNo":165,"name":166,"nameZh":6,"description":167,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":168,"categories":169,"keywords":171,"publishedAt":45},"01M69B4CYPM5SESY5ZWEFDXEQZ","microsoft-docs","Understand Microsoft technologies by querying official documentation. Use whenever the user asks how something works, wants tutorials, needs configuration options, limits, quotas, or best practices for any Microsoft technology (Azure, .NET, M365, Windows, Power Platform, etc.)—even if they don't mention \"docs.\" If the question is about understanding a concept rather than writing code, this is the right skill.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fmicrosoft-docs\u002FSKILL.md",[170],{"categoryNo":110,"categoryName":111,"taxonomyType":21,"taxonomyTypeDesc":22},[172,9,173,174,175,176,177,25,178,179,180,181,182,183,184,185,32,186,67,187,30,188,189,190],"microsoft docs","docs","documentation","windows","official","cli","MCP","writing","power platform","mcp server","back","concept","power","platform","technology","question","learn mcp","learn","best practices",{"skillNo":192,"name":193,"nameZh":6,"description":194,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":195,"categories":196,"keywords":198,"publishedAt":45},"01M69B49C3YPD1ZJ3NC0HPCY58","mcp-builder","Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP), Node\u002FTypeScript (MCP SDK), or C#\u002F.NET (Microsoft MCP SDK).","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fmcp-builder\u002FSKILL.md",[197],{"categoryNo":110,"categoryName":111,"taxonomyType":21,"taxonomyTypeDesc":22},[199,178,200,201,39,9,150,202,203,153,204,124,205,206,207,120,208,209,32,210,30,126],"mcp builder","builder","llms","typescript","model context protocol","building mcp servers","node","integrate","Tools","context","fastmcp","mcp sdk",{"skillNo":212,"name":213,"nameZh":6,"description":214,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":215,"categories":216,"keywords":229,"publishedAt":45},"01M69B467A7CDMFQ0T6Q0ZA12Q","kql","KQL language expertise for writing correct, efficient Kusto Query Language queries. Covers syntax gotchas, join patterns, dynamic types, datetime pitfalls, regex patterns, serialization, memory management, result-size discipline, and advanced functions (geo, vector, graph). USE THIS SKILL whenever writing, debugging, or reviewing KQL queries — even simple ones — because the gotchas section prevents the most common errors that waste tool calls and cause expensive retry cascades. Trigger on: KQL, Kusto, ADX, Azure Data Explorer, Fabric Real-Time Intelligence, EventHouse, Log Analytics, log analysis, data exploration, time series, anomaly detection, summarize, where clause, join, extend, project, let statement, parse operator, extract function, any mention of pipe-forward query syntax.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fkql\u002FSKILL.md",[217,220,221,226],{"categoryNo":218,"categoryName":219,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000018","写作与文案",{"categoryNo":110,"categoryName":111,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":222,"categoryName":223,"taxonomyType":224,"taxonomyTypeDesc":225},"01JBSEEDCAT000000000000033","数据分析师","PROFESSION","适用职业",{"categoryNo":227,"categoryName":228,"taxonomyType":224,"taxonomyTypeDesc":225},"01JBSEEDCAT000000000000036","内容创作者",[213,25,179,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,32,246,247,248],"analytics","memory","summarize","exploration","parse","project","time","vector","join","log","pipe","datetime","discipline","time series","regex","anomaly","section","tool","geo"]