/** * PLEASE DO NOT REMOVE - USED FOR CONVERTER METRICS * Generated by package: @autorest/openapi-to-typespec * Parameters used: * isFullCompatible: true * guessResourceKey: false * Version: 0.11.4 * Date: 2025-08-05T07:18:59.792Z */ import "@typespec/rest"; import "@typespec/versioning"; import "@azure-tools/typespec-azure-core"; import "@azure-tools/typespec-azure-resource-manager"; import "./models.tsp"; import "./back-compatible.tsp"; import "./AdministratorMicrosoftEntra.tsp"; import "./AdvancedThreatProtectionSettingsModel.tsp"; import "./BackupAutomaticAndOnDemand.tsp"; import "./Configuration.tsp"; import "./Database.tsp"; import "./FirewallRule.tsp"; import "./BackupsLongTermRetentionOperation.tsp"; import "./Migration.tsp"; import "./PrivateEndpointConnection.tsp"; import "./PrivateLinkResource.tsp"; import "./Server.tsp"; import "./TuningOptions.tsp"; import "./VirtualEndpoint.tsp"; import "./routes.tsp"; using TypeSpec.Rest; using TypeSpec.Http; using Azure.ResourceManager.Foundations; using Azure.Core; using Azure.ResourceManager; using TypeSpec.Versioning; /** * The Azure Database for PostgreSQL management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, network configuration, security alert policies, log files and configurations with new business model. */ #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armProviderNamespace @service(#{ title: "PostgreSQLManagementClient" }) @versioned(Versions) @armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v6) namespace Microsoft.DBforPostgreSQL; /** * The available API versions. */ enum Versions { /** * The 2025-08-01 API version. */ v2025_08_01: "2025-08-01", /** * The 2026-01-01-preview API version. */ v2026_01_01: "2026-01-01-preview", /** * The 2026-04-01-preview API version. */ v2026_04_01: "2026-04-01-preview", } /** * This is the interface that implements the standard Azure Resource Manager operation that returns * all supported RP operations. You should have exactly one declaration for each * Azure Resource Manager service. It implements * GET "/providers/Microsoft.ContosoProviderHub/operations" */ interface Operations extends Azure.ResourceManager.Legacy.Operations< ArmResponse, ErrorResponse > {} @@doc(Operations.list, "Lists all available REST API operations.");