From 30df28ddb43a73cea30d234d43f08531d52cfe09 Mon Sep 17 00:00:00 2001 From: Matthew Boentoro Date: Fri, 25 Jul 2025 14:37:53 -0700 Subject: [PATCH 01/10] copy paste from the previous GA version --- .../stable/2025-08-01/Administrators.json | 406 + .../stable/2025-08-01/Backups.json | 315 + .../stable/2025-08-01/Capabilities.json | 587 ++ .../2025-08-01/CheckNameAvailability.json | 155 + .../stable/2025-08-01/Configuration.json | 395 + .../stable/2025-08-01/Databases.json | 317 + .../stable/2025-08-01/FirewallRules.json | 323 + .../stable/2025-08-01/FlexibleServers.json | 1217 +++ .../LongTermRetentionOperation.json | 524 ++ .../stable/2025-08-01/Migrations.json | 1296 +++ .../stable/2025-08-01/Operations.json | 164 + .../stable/2025-08-01/PrivateDnsZone.json | 77 + .../PrivateEndpointConnections.json | 270 + .../2025-08-01/PrivateLinkResources.json | 155 + .../stable/2025-08-01/Replicas.json | 83 + .../stable/2025-08-01/ServerLogs.json | 148 + .../2025-08-01/ServerStartStopRestart.json | 229 + .../stable/2025-08-01/ThreatProtection.json | 280 + .../stable/2025-08-01/VirtualEndpoints.json | 403 + .../stable/2025-08-01/VirtualNetwork.json | 142 + .../2025-08-01/examples/AdministratorAdd.json | 45 + .../examples/AdministratorDelete.json | 19 + .../2025-08-01/examples/AdministratorGet.json | 24 + .../examples/AdministratorsListByServer.json | 36 + .../2025-08-01/examples/BackupCreate.json | 36 + .../2025-08-01/examples/BackupDelete.json | 18 + .../stable/2025-08-01/examples/BackupGet.json | 23 + .../examples/BackupListByServer.json | 36 + .../examples/CapabilitiesByLocation.json | 2153 +++++ .../CheckMigrationNameAvailability.json | 23 + .../examples/CheckNameAvailability.json | 20 + .../CheckNameAvailabilityLocationBased.json | 21 + .../2025-08-01/examples/ConfigurationGet.json | 30 + .../examples/ConfigurationListByServer.json | 7125 +++++++++++++++++ .../ConfigurationUpdateUsingPatch.json | 61 + .../examples/ConfigurationUpdateUsingPut.json | 61 + .../2025-08-01/examples/DatabaseCreate.json | 45 + .../2025-08-01/examples/DatabaseDelete.json | 19 + .../2025-08-01/examples/DatabaseGet.json | 22 + .../examples/DatabasesListByServer.json | 34 + .../examples/FirewallRuleCreate.json | 45 + .../examples/FirewallRuleDelete.json | 19 + .../2025-08-01/examples/FirewallRuleGet.json | 22 + .../examples/FirewallRuleListByServer.json | 35 + .../examples/GetPrivateDnsZoneSuffix.json | 11 + .../examples/LogFilesListByServer.json | 28 + .../examples/LongTermRetentionBackup.json | 39 + .../LongTermRetentionOperationGet.json | 28 + ...ongTermRetentionOperationListByServer.json | 31 + .../examples/LongTermRetentionPreBackup.json | 22 + .../examples/Migrations_Cancel.json | 59 + .../examples/Migrations_Create.json | 101 + ...te_Other_SourceTypes_Validate_Migrate.json | 107 + .../Migrations_Create_Validate_Only.json | 100 + .../Migrations_Create_With_Other_Users.json | 101 + ...s_Create_With_PrivateEndpoint_Servers.json | 104 + .../Migrations_Create_With_Roles.json | 102 + .../examples/Migrations_Delete.json | 14 + .../2025-08-01/examples/Migrations_Get.json | 62 + ...nWithSuccessfulValidationAndMigration.json | 100 + ...ccessfulValidationButMigrationFailure.json | 98 + ...MigrationWithSuccessfulValidationOnly.json | 82 + ...ns_GetMigrationWithValidationFailures.json | 198 + .../Migrations_ListByTargetServer.json | 65 + .../examples/Migrations_Update.json | 67 + .../2025-08-01/examples/OperationList.json | 2192 +++++ .../PrivateEndpointConnectionDelete.json | 18 + .../PrivateEndpointConnectionGet.json | 32 + .../PrivateEndpointConnectionList.json | 54 + .../PrivateEndpointConnectionUpdate.json | 67 + .../examples/PrivateLinkResourcesGet.json | 27 + .../examples/PrivateLinkResourcesList.json | 30 + ...romoteReplicaAsForcedStandaloneServer.json | 82 + .../PromoteReplicaAsForcedSwitchover.json | 82 + ...omoteReplicaAsPlannedStandaloneServer.json | 82 + .../PromoteReplicaAsPlannedSwitchover.json | 82 + .../examples/ReplicasListByServer.json | 72 + .../examples/ServerCapabilities.json | 2154 +++++ .../2025-08-01/examples/ServerCreate.json | 178 + ...teGeoRestoreWithDataEncryptionEnabled.json | 175 + .../ServerCreatePointInTimeRestore.json | 121 + .../examples/ServerCreateReplica.json | 176 + .../examples/ServerCreateReviveDropped.json | 119 + ...ServerCreateWithDataEncryptionEnabled.json | 197 + ...ServerCreateWithMicrosoftEntraEnabled.json | 167 + .../2025-08-01/examples/ServerDelete.json | 18 + .../stable/2025-08-01/examples/ServerGet.json | 72 + .../ServerGetWithPrivateEndpoints.json | 79 + .../examples/ServerGetWithVnet.json | 77 + .../2025-08-01/examples/ServerList.json | 281 + .../examples/ServerListByResourceGroup.json | 159 + .../2025-08-01/examples/ServerRestart.json | 17 + .../examples/ServerRestartWithFailover.json | 21 + .../2025-08-01/examples/ServerStart.json | 17 + .../2025-08-01/examples/ServerStop.json | 17 + ...hreatProtectionSettingsCreateOrUpdate.json | 39 + .../ServerThreatProtectionSettingsGet.json | 22 + ...rThreatProtectionSettingsListByServer.json | 25 + .../2025-08-01/examples/ServerUpdate.json | 88 + ...rverUpdateWithCustomMaintenanceWindow.json | 81 + ...ServerUpdateWithDataEncryptionEnabled.json | 121 + .../ServerUpdateWithMajorVersionUpgrade.json | 76 + ...ServerUpdateWithMicrosoftEntraEnabled.json | 94 + .../examples/VirtualEndpointCreate.json | 63 + .../examples/VirtualEndpointDelete.json | 22 + .../examples/VirtualEndpointUpdate.json | 46 + .../examples/VirtualEndpointsGet.json | 28 + .../VirtualEndpointsListByServer.json | 31 + .../examples/VirtualNetworkSubnetUsage.json | 28 + 109 files changed, 26606 insertions(+) create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Administrators.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Backups.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Capabilities.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/CheckNameAvailability.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Configuration.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Databases.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/FirewallRules.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/FlexibleServers.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/LongTermRetentionOperation.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Migrations.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Operations.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/PrivateDnsZone.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/PrivateEndpointConnections.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/PrivateLinkResources.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Replicas.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/ServerLogs.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/ServerStartStopRestart.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/ThreatProtection.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/VirtualEndpoints.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/VirtualNetwork.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/AdministratorAdd.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/AdministratorDelete.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/AdministratorGet.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/AdministratorsListByServer.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/BackupCreate.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/BackupDelete.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/BackupGet.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/BackupListByServer.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/CapabilitiesByLocation.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/CheckMigrationNameAvailability.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/CheckNameAvailability.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/CheckNameAvailabilityLocationBased.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ConfigurationGet.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ConfigurationListByServer.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ConfigurationUpdateUsingPatch.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ConfigurationUpdateUsingPut.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/DatabaseCreate.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/DatabaseDelete.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/DatabaseGet.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/DatabasesListByServer.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/FirewallRuleCreate.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/FirewallRuleDelete.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/FirewallRuleGet.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/FirewallRuleListByServer.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/GetPrivateDnsZoneSuffix.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/LogFilesListByServer.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/LongTermRetentionBackup.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/LongTermRetentionOperationGet.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/LongTermRetentionOperationListByServer.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/LongTermRetentionPreBackup.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Cancel.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Create.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Create_Other_SourceTypes_Validate_Migrate.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Create_Validate_Only.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Create_With_Other_Users.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Create_With_PrivateEndpoint_Servers.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Create_With_Roles.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Delete.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Get.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_GetMigrationWithSuccessfulValidationAndMigration.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_GetMigrationWithSuccessfulValidationButMigrationFailure.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_GetMigrationWithSuccessfulValidationOnly.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_GetMigrationWithValidationFailures.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_ListByTargetServer.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Update.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/OperationList.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PrivateEndpointConnectionDelete.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PrivateEndpointConnectionGet.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PrivateEndpointConnectionList.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PrivateEndpointConnectionUpdate.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PrivateLinkResourcesGet.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PrivateLinkResourcesList.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PromoteReplicaAsForcedStandaloneServer.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PromoteReplicaAsForcedSwitchover.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PromoteReplicaAsPlannedStandaloneServer.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PromoteReplicaAsPlannedSwitchover.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ReplicasListByServer.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerCapabilities.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerCreate.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerCreateGeoRestoreWithDataEncryptionEnabled.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerCreatePointInTimeRestore.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerCreateReplica.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerCreateReviveDropped.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerCreateWithDataEncryptionEnabled.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerCreateWithMicrosoftEntraEnabled.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerDelete.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerGet.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerGetWithPrivateEndpoints.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerGetWithVnet.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerList.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerListByResourceGroup.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerRestart.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerRestartWithFailover.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerStart.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerStop.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerThreatProtectionSettingsCreateOrUpdate.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerThreatProtectionSettingsGet.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerThreatProtectionSettingsListByServer.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerUpdate.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerUpdateWithCustomMaintenanceWindow.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerUpdateWithDataEncryptionEnabled.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerUpdateWithMajorVersionUpgrade.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerUpdateWithMicrosoftEntraEnabled.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/VirtualEndpointCreate.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/VirtualEndpointDelete.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/VirtualEndpointUpdate.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/VirtualEndpointsGet.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/VirtualEndpointsListByServer.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/VirtualNetworkSubnetUsage.json diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Administrators.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Administrators.json new file mode 100644 index 000000000000..0a5a2e951317 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Administrators.json @@ -0,0 +1,406 @@ +{ + "swagger": "2.0", + "info": { + "title": "PostgreSQLManagementClient", + "description": "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.", + "version": "2024-08-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Microsoft Entra OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/administrators/{objectId}": { + "put": { + "tags": [ + "Administrators" + ], + "operationId": "Administrators_Create", + "x-ms-examples": { + "Add a server administrator associated to a Microsoft Entra principal.": { + "$ref": "./examples/AdministratorAdd.json" + } + }, + "description": "Creates a new server administrator associated to a Microsoft Entra principal.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/ObjectIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ActiveDirectoryAdministratorAdd" + }, + "description": "Required parameters for adding a server administrator associated to a Microsoft Entra principal." + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ActiveDirectoryAdministrator" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/ActiveDirectoryAdministrator" + } + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "delete": { + "tags": [ + "Administrators" + ], + "operationId": "Administrators_Delete", + "x-ms-examples": { + "Delete a server administrator associated to a Microsoft Entra principal.": { + "$ref": "./examples/AdministratorDelete.json" + } + }, + "description": "Deletes an existing server administrator associated to a Microsoft Entra principal.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/ObjectIdParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "NoContent" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "Administrators" + ], + "operationId": "Administrators_Get", + "x-ms-examples": { + "Get information about a server administrator associated to a Microsoft Entra principal.": { + "$ref": "./examples/AdministratorGet.json" + } + }, + "description": "Gets information about a server administrator associated to a Microsoft Entra principal.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/ObjectIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ActiveDirectoryAdministrator" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/administrators": { + "get": { + "tags": [ + "Administrators" + ], + "operationId": "Administrators_ListByServer", + "x-ms-examples": { + "List information about all server administrators associated to Microsoft Entra principals.": { + "$ref": "./examples/AdministratorsListByServer.json" + } + }, + "description": "List all server administrators associated to a Microsoft Entra principal.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AdministratorListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "ActiveDirectoryAdministratorAdd": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/AdministratorPropertiesForAdd", + "x-ms-client-flatten": true, + "description": "Properties of the server administrator associated to a Microsoft Entra principal." + } + }, + "description": "Server administrator associated to a Microsoft Entra principal." + }, + "AdministratorPropertiesForAdd": { + "type": "object", + "properties": { + "principalType": { + "type": "string", + "description": "The type of Microsoft Entra principal to which the server administrator is associated.", + "enum": [ + "Unknown", + "User", + "Group", + "ServicePrincipal" + ], + "x-ms-enum": { + "name": "PrincipalType", + "modelAsString": true + }, + "x-ms-mutability": [ + "create", + "update", + "read" + ] + }, + "principalName": { + "type": "string", + "description": "Name of the Microsoft Entra principal.", + "x-ms-mutability": [ + "create", + "update", + "read" + ] + }, + "tenantId": { + "type": "string", + "description": "Identifier of the tenant in which the Microsoft Entra principal exists.", + "x-ms-mutability": [ + "create", + "update" + ] + } + }, + "description": "Properties of a server administrator associated to a Microsoft Entra principal." + }, + "AdministratorProperties": { + "type": "object", + "properties": { + "principalType": { + "type": "string", + "description": "Type of Microsoft Entra principal to which the server administrator is associated.", + "enum": [ + "Unknown", + "User", + "Group", + "ServicePrincipal" + ], + "x-ms-enum": { + "name": "PrincipalType", + "modelAsString": true + }, + "x-ms-mutability": [ + "create", + "update", + "read" + ] + }, + "principalName": { + "type": "string", + "description": "Name of the Microsoft Entra principal.", + "x-ms-mutability": [ + "create", + "update", + "read" + ] + }, + "objectId": { + "type": "string", + "description": "Object identifier of the Microsoft Entra principal.", + "x-ms-mutability": [ + "create", + "update", + "read" + ] + }, + "tenantId": { + "type": "string", + "description": "Identifier of the tenant in which the Microsoft Entra principal exists.", + "x-ms-mutability": [ + "create", + "update", + "read" + ] + } + }, + "description": "Properties of a server administrator associated to a Microsoft Entra principal." + }, + "ActiveDirectoryAdministrator": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/AdministratorProperties", + "x-ms-client-flatten": true, + "description": "Properties of a server administrator associated to a Microsoft Entra principal." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ], + "required": [ + "properties" + ], + "description": "Server administrator associated to a Microsoft Entra principal." + }, + "AdministratorListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ActiveDirectoryAdministrator" + }, + "description": "List of server administrators associated to Microsoft Entra principals." + }, + "nextLink": { + "description": "Link used to get the next page of results.", + "type": "string" + } + }, + "description": "List of server administrators associated to Microsoft Entra principals." + } + }, + "parameters": { + "ObjectIdParameter": { + "name": "objectId", + "in": "path", + "required": true, + "type": "string", + "description": "Object identifier of the Microsoft Entra principal.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Backups.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Backups.json new file mode 100644 index 000000000000..09a2f62fbf8d --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Backups.json @@ -0,0 +1,315 @@ +{ + "swagger": "2.0", + "info": { + "title": "PostgreSQLManagementClient", + "description": "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.", + "version": "2024-08-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Microsoft Entra OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/backups/{backupName}": { + "put": { + "tags": [ + "Backups" + ], + "operationId": "Backups_Create", + "x-ms-examples": { + "Create an on demand backup of a flexible server.": { + "$ref": "./examples/BackupCreate.json" + } + }, + "description": "Creates an on demand backup of a flexible server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/BackupNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ServerBackup" + } + }, + "201": { + "description": "Successfully created backup", + "schema": { + "$ref": "#/definitions/ServerBackup" + } + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "delete": { + "tags": [ + "Backups" + ], + "operationId": "Backups_Delete", + "x-ms-examples": { + "Delete an on demand backup, given its name.": { + "$ref": "./examples/BackupDelete.json" + } + }, + "description": "Deletes a specific backup, given its name.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/BackupNameParameter" + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "NoContent" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "Backups" + ], + "operationId": "Backups_Get", + "x-ms-examples": { + "Get an on demand backup, given its name.": { + "$ref": "./examples/BackupGet.json" + } + }, + "description": "Gets information of an on demand backup, given its name.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/BackupNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ServerBackup" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/backups": { + "get": { + "tags": [ + "Backups" + ], + "operationId": "Backups_ListByServer", + "x-ms-examples": { + "List all available backups of a flexible server.": { + "$ref": "./examples/BackupListByServer.json" + } + }, + "description": "Lists all available backups of a flexible server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ServerBackupListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "ServerBackupProperties": { + "type": "object", + "properties": { + "backupType": { + "type": "string", + "description": "Type of backup.", + "enum": [ + "Full", + "Customer On-Demand" + ], + "x-ms-enum": { + "name": "Origin", + "modelAsString": true + } + }, + "completedTime": { + "type": "string", + "format": "date-time", + "description": "Time(ISO8601 format) at which the backup was completed." + }, + "source": { + "type": "string", + "description": "Source of the backup." + } + }, + "description": "Properties of a backup." + }, + "ServerBackup": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ServerBackupProperties", + "x-ms-client-flatten": true, + "description": "Properties of a backup." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ], + "description": "Properties of a backup." + }, + "ServerBackupListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ServerBackup" + }, + "description": "List of available backups." + }, + "nextLink": { + "description": "Link used to get the next page of results.", + "type": "string" + } + }, + "description": "List of backups." + } + }, + "parameters": { + "BackupNameParameter": { + "name": "backupName", + "in": "path", + "required": true, + "type": "string", + "description": "Name of the backup.", + "minLength": 1, + "pattern": "^[-\\w\\._]+$", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Capabilities.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Capabilities.json new file mode 100644 index 000000000000..79e77fd05e1f --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Capabilities.json @@ -0,0 +1,587 @@ +{ + "swagger": "2.0", + "info": { + "title": "PostgreSQLManagementClient", + "description": "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.", + "version": "2024-08-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Microsoft Entra OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/locations/{locationName}/capabilities": { + "get": { + "tags": [ + "LocationBasedCapabilities" + ], + "operationId": "LocationBasedCapabilities_Execute", + "x-ms-examples": { + "List the capabilities available in a given location for a specific subscription.": { + "$ref": "./examples/CapabilitiesByLocation.json" + } + }, + "description": "Lists the capabilities available in a given location for a specific subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/LocationNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CapabilitiesListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/capabilities": { + "get": { + "tags": [ + "FlexibleServerCapabilities" + ], + "operationId": "ServerCapabilities_List", + "x-ms-examples": { + "List the capabilities available for a given flexible server.": { + "$ref": "./examples/ServerCapabilities.json" + } + }, + "description": "Lists the capabilities available for a given flexible server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CapabilitiesListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "StorageTierCapability": { + "type": "object", + "description": "Capability of a storage tier.", + "properties": { + "name": { + "type": "string", + "description": "Name of the storage tier.", + "readOnly": true + }, + "iops": { + "type": "integer", + "format": "int32", + "description": "Supported IOPS for the storage tier.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "../../../types/common-types.json#/definitions/CapabilityBase" + } + ] + }, + "StorageMbCapability": { + "type": "object", + "properties": { + "supportedIops": { + "type": "integer", + "format": "int32", + "description": "Minimum IOPS supported by the storage size.", + "readOnly": true + }, + "supportedMaximumIops": { + "type": "integer", + "format": "int32", + "description": "Maximum IOPS supported by the storage size.", + "readOnly": true + }, + "storageSizeMb": { + "type": "integer", + "format": "int64", + "description": "Minimum supported size (in MB) of storage.", + "readOnly": true + }, + "maximumStorageSizeMb": { + "type": "integer", + "format": "int64", + "description": "Maximum supported size (in MB) of storage.", + "readOnly": true + }, + "supportedThroughput": { + "type": "integer", + "format": "int32", + "description": "Minimum supported throughput (in MB/s) of storage.", + "readOnly": true + }, + "supportedMaximumThroughput": { + "type": "integer", + "format": "int32", + "description": "Maximum supported throughput (in MB/s) of storage.", + "readOnly": true + }, + "defaultIopsTier": { + "type": "string", + "description": "Default IOPS for this tier and storage size.", + "readOnly": true + }, + "supportedIopsTiers": { + "type": "array", + "description": "List of all supported storage tiers for this tier and storage size.", + "items": { + "$ref": "#/definitions/StorageTierCapability" + }, + "x-ms-identifiers": [ + "name" + ], + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "../../../types/common-types.json#/definitions/CapabilityBase" + } + ], + "description": "Storage size (in MB) capability." + }, + "ServerSkuCapability": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of the compute (SKU).", + "readOnly": true + }, + "vCores": { + "type": "integer", + "format": "int32", + "description": "Number of virtual cores available for this compute.", + "readOnly": true + }, + "supportedIops": { + "type": "integer", + "format": "int32", + "description": "Maximum IOPS supported by this compute.", + "readOnly": true + }, + "supportedMemoryPerVcoreMb": { + "type": "integer", + "format": "int64", + "description": "Supported memory (in MB) per virtual core assigned to this compute.", + "readOnly": true + }, + "supportedZones": { + "type": "array", + "description": "List of supported availability zones. E.g. \"1\", \"2\", \"3\"", + "items": { + "type": "string" + }, + "readOnly": true + }, + "supportedHaMode": { + "type": "array", + "items": { + "type": "string", + "description": "Modes of high availability supported for this compute.", + "enum": [ + "SameZone", + "ZoneRedundant" + ], + "x-ms-enum": { + "name": "HaMode", + "modelAsString": true + } + }, + "description": "Modes of high availability supported for this compute.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "../../../types/common-types.json#/definitions/CapabilityBase" + } + ], + "description": "Capabilities in terms of compute." + }, + "ServerVersion": { + "type": "string", + "description": "Major version of PostgreSQL database engine.", + "enum": [ + "16", + "15", + "14", + "13", + "12", + "11" + ], + "x-ms-enum": { + "name": "ServerVersion", + "modelAsString": true + } + }, + "ServerVersionCapability": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Major version of PostgreSQL database engine.", + "readOnly": true + }, + "supportedVersionsToUpgrade": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Major versions of PostgreSQL database engine to which this version can be automatically upgraded.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "../../../types/common-types.json#/definitions/CapabilityBase" + } + ], + "description": "Capabilities in terms of major versions of PostgreSQL database engine." + }, + "StorageEditionCapability": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of storage tier.", + "readOnly": true + }, + "defaultStorageSizeMb": { + "type": "integer", + "format": "int64", + "description": "Default storage size (in MB) for this storage tier.", + "readOnly": true + }, + "supportedStorageMb": { + "type": "array", + "description": "Configurations of storage supported for this storage tier.", + "items": { + "$ref": "#/definitions/StorageMbCapability" + }, + "x-ms-identifiers": [ + "storageSizeMb" + ], + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "../../../types/common-types.json#/definitions/CapabilityBase" + } + ], + "description": "Capabilities in terms of storage tier." + }, + "FastProvisioningEditionCapability": { + "type": "object", + "description": "Capability of a fast provisioning compute tier.", + "properties": { + "supportedTier": { + "type": "string", + "description": "Compute tier supporting fast provisioning.", + "readOnly": true + }, + "supportedSku": { + "type": "string", + "description": "Compute name (SKU) supporting fast provisioning.", + "readOnly": true + }, + "supportedStorageGb": { + "type": "integer", + "format": "int32", + "description": "Storage size (in GB) supporting fast provisioning.", + "readOnly": true + }, + "supportedServerVersions": { + "type": "string", + "description": "Major version of PostgreSQL database engine supporting fast provisioning.", + "readOnly": true + }, + "serverCount": { + "type": "integer", + "description": "Count of servers in cache matching this specification.", + "format": "int32", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "../../../types/common-types.json#/definitions/CapabilityBase" + } + ] + }, + "FlexibleServerEditionCapability": { + "type": "object", + "allOf": [ + { + "$ref": "../../../types/common-types.json#/definitions/CapabilityBase" + } + ], + "properties": { + "name": { + "type": "string", + "description": "Name of compute tier.", + "readOnly": true + }, + "defaultSkuName": { + "type": "string", + "description": "Default compute name (SKU) for this computer tier.", + "readOnly": true + }, + "supportedStorageEditions": { + "type": "array", + "items": { + "$ref": "#/definitions/StorageEditionCapability" + }, + "description": "List of storage editions supported by this compute tier and compute name.", + "readOnly": true, + "x-ms-identifiers": [ + "name" + ] + }, + "supportedServerSkus": { + "type": "array", + "description": "List of supported compute names (SKUs).", + "items": { + "$ref": "#/definitions/ServerSkuCapability" + }, + "x-ms-identifiers": [ + "name" + ], + "readOnly": true + } + }, + "description": "Capabilities in terms of compute tier." + }, + "FlexibleServerCapability": { + "type": "object", + "allOf": [ + { + "$ref": "../../../types/common-types.json#/definitions/CapabilityBase" + } + ], + "properties": { + "name": { + "type": "string", + "description": "Name of flexible servers capabilities." + }, + "supportedServerEditions": { + "type": "array", + "items": { + "$ref": "#/definitions/FlexibleServerEditionCapability" + }, + "x-ms-identifiers": [ + "name" + ], + "readOnly": true, + "description": "List of supported compute tiers." + }, + "supportedServerVersions": { + "type": "array", + "items": { + "$ref": "#/definitions/ServerVersionCapability" + }, + "x-ms-identifiers": [ + "name" + ], + "description": "List of supported major versions of PostgreSQL database engine.", + "readOnly": true + }, + "fastProvisioningSupported": { + "type": "string", + "description": "Indicates if fast provisioning is supported. \"Enabled\" means fast provisioning is supported. \"Disabled\" stands for fast provisioning is not supported.", + "readOnly": true, + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "fastProvisioningSupportedEnum", + "modelAsString": true + } + }, + "supportedFastProvisioningEditions": { + "type": "array", + "description": "List of compute tiers supporting fast provisioning.", + "items": { + "$ref": "#/definitions/FastProvisioningEditionCapability" + }, + "x-ms-identifiers": [ + "supportedSku" + ], + "readOnly": true + }, + "geoBackupSupported": { + "type": "string", + "description": "Indicates if geographically redundant backups are supported in this location. \"Enabled\" means geographically redundant backups are supported. \"Disabled\" stands for geographically redundant backup is not supported.", + "readOnly": true, + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "geoBackupSupportedEnum", + "modelAsString": true + } + }, + "zoneRedundantHaSupported": { + "type": "string", + "description": "Indicates if high availability with zone redundancy is supported in this location. \"Enabled\" means high availability with zone redundancy is supported. \"Disabled\" stands for high availability with zone redundancy is not supported.", + "readOnly": true, + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "zoneRedundantHaSupportedEnum", + "modelAsString": true + } + }, + "zoneRedundantHaAndGeoBackupSupported": { + "type": "string", + "description": "Indicates if high availability with zone redundancy is supported in conjunction with geographically redundant backups in this location. \"Enabled\" means high availability with zone redundancy is supported in conjunction with geographically redundant backups is supported. \"Disabled\" stands for high availability with zone redundancy is supported in conjunction with geographically redundant backups is not supported.", + "readOnly": true, + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "zoneRedundantHaAndGeoBackupSupportedEnum", + "modelAsString": true + } + }, + "storageAutoGrowthSupported": { + "type": "string", + "description": "Indicates if storage autogrow is supported in this location. \"Enabled\" means storage autogrow is supported. \"Disabled\" stands for storage autogrow is not supported.", + "readOnly": true, + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "storageAutoGrowthSupportedEnum", + "modelAsString": true + } + }, + "onlineResizeSupported": { + "type": "string", + "description": "Indicates if resizing the storage without interrupting the operation of the database engine is supported in this location for the given subscription. \"Enabled\" means resizing the storage without interrupting the operation of the database engine is supported. \"Disabled\" means resizing the storage without interrupting the operation of the database engine is not supported.", + "readOnly": true, + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "onlineResizeSupportedEnum", + "modelAsString": true + } + }, + "restricted": { + "type": "string", + "description": "Indicates if this location is restricted. \"Enabled\" means location is restricted. \"Disabled\" stands for location is not restricted.", + "readOnly": true, + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "restrictedEnum", + "modelAsString": true + } + } + }, + "description": "Capability for the Azure Database for PostgreSQL flexible server." + }, + "CapabilitiesListResult": { + "type": "object", + "properties": { + "value": { + "description": "List of supported capabilities.", + "type": "array", + "items": { + "$ref": "#/definitions/FlexibleServerCapability" + }, + "x-ms-identifiers": [ + "name" + ], + "readOnly": true + }, + "nextLink": { + "description": "Link to retrieve next page of results.", + "type": "string", + "readOnly": true + } + }, + "description": "Capability for the Azure Database for PostgreSQL flexible server." + } + }, + "parameters": {} +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/CheckNameAvailability.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/CheckNameAvailability.json new file mode 100644 index 000000000000..d2f55849c3b3 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/CheckNameAvailability.json @@ -0,0 +1,155 @@ +{ + "swagger": "2.0", + "info": { + "title": "PostgreSQLManagementClient", + "description": "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.", + "version": "2024-08-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Microsoft Entra OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/checkNameAvailability": { + "post": { + "tags": [ + "CheckNameAvailability" + ], + "operationId": "CheckNameAvailability_Execute", + "x-ms-examples": { + "Check the validity and availability of the given name, to assign it to a new flexible server.": { + "$ref": "./examples/CheckNameAvailability.json" + } + }, + "description": "Checks the validity and availability of the given name, to assign it to a new flexible server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "nameAvailabilityRequest", + "in": "body", + "required": true, + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/CheckNameAvailabilityRequest" + }, + "description": "Parameters required to check if a server name is valid and available to assign it to a new flexible server." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/NameAvailability" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/locations/{locationName}/checkNameAvailability": { + "post": { + "tags": [ + "CheckNameAvailability" + ], + "operationId": "CheckNameAvailabilityWithLocation_Execute", + "x-ms-examples": { + "Check the validity and availability of the given server name in the given location, to assign it to a new flexible server": { + "$ref": "./examples/CheckNameAvailabilityLocationBased.json" + } + }, + "description": "Check the availability of name for resource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/LocationNameParameter" + }, + { + "name": "nameAvailabilityRequest", + "in": "body", + "required": true, + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/CheckNameAvailabilityRequest" + }, + "description": "Parameters required to check if server name is available." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/NameAvailability" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + } + } + }, + "definitions": { + "NameAvailability": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of the PostgreSQL flexible server.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Type of the server.", + "readOnly": true + } + }, + "description": "Availability of a server name.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/CheckNameAvailabilityResponse" + } + ] + } + }, + "parameters": {} +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Configuration.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Configuration.json new file mode 100644 index 000000000000..d24a9e4d5324 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Configuration.json @@ -0,0 +1,395 @@ +{ + "swagger": "2.0", + "info": { + "title": "PostgreSQLManagementClient", + "description": "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.", + "version": "2024-08-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Microsoft Entra OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/configurations": { + "get": { + "tags": [ + "Configurations" + ], + "operationId": "Configurations_ListByServer", + "x-ms-examples": { + "List all server parameters (also known as configurations) of a flexible server.": { + "$ref": "./examples/ConfigurationListByServer.json" + } + }, + "description": "Lists all server parameters (also known as configurations) of a flexible server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ConfigurationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/configurations/{configurationName}": { + "get": { + "tags": [ + "Configurations" + ], + "operationId": "Configurations_Get", + "x-ms-examples": { + "Get information about a specific server parameter of a flexible server.": { + "$ref": "./examples/ConfigurationGet.json" + } + }, + "description": "Gets information about a specific server parameter of a flexible server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/ConfigurationNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Configuration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "Configurations" + ], + "operationId": "Configurations_Update", + "x-ms-examples": { + "Update, using Patch verb, the value assigned to a specific modifiable server parameter of a flexible server.": { + "$ref": "./examples/ConfigurationUpdateUsingPatch.json" + } + }, + "description": "Updates, using Patch verb, the value assigned to a specific modifiable server parameter of a flexible server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/ConfigurationNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ConfigurationForUpdate" + }, + "description": "Parameters required to update the value of a specific modifiable server parameter." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Configuration" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/Configuration" + } + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "put": { + "tags": [ + "Configurations" + ], + "operationId": "Configurations_Put", + "x-ms-examples": { + "Update, using Put verb, the value assigned to a specific modifiable server parameter of a flexible server.": { + "$ref": "./examples/ConfigurationUpdateUsingPut.json" + } + }, + "description": "Updates, using Put verb, the value assigned to a specific modifiable server parameter of a flexible server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/ConfigurationNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Configuration" + }, + "description": "Parameters required to update the value of a specific modifiable server parameter." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Configuration" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/Configuration" + } + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + } + }, + "definitions": { + "ConfigurationProperties": { + "type": "object", + "properties": { + "value": { + "type": "string", + "description": "Value of the server parameter (also known as configuration). Required to update the value assigned to a specific modifiable server parameter." + }, + "description": { + "type": "string", + "readOnly": true, + "description": "Description of the server parameter." + }, + "defaultValue": { + "type": "string", + "readOnly": true, + "description": "Value assigned by default to the server parameter." + }, + "dataType": { + "type": "string", + "readOnly": true, + "description": "Data type of the server parameter.", + "enum": [ + "Boolean", + "Numeric", + "Integer", + "Enumeration" + ], + "x-ms-enum": { + "name": "ConfigurationDataType", + "modelAsString": true + } + }, + "allowedValues": { + "type": "string", + "readOnly": true, + "description": "Allowed values of the server parameter." + }, + "source": { + "type": "string", + "description": "Source of the value assigned to the server parameter. Required to update the value assigned to a specific modifiable server parameter." + }, + "isDynamicConfig": { + "type": "boolean", + "readOnly": true, + "description": "Indicates if it's a dynamic (true) or static (false) server parameter. Static server parameters require a server restart after changing the value assigned to it, for the change to take effect. Dynamic server parameters do not require a server restart after changing the value assigned to it, for the change to take effect." + }, + "isReadOnly": { + "type": "boolean", + "readOnly": true, + "description": "Indicates if it's a read-only (true) or modifiable (false) server parameter." + }, + "isConfigPendingRestart": { + "type": "boolean", + "readOnly": true, + "description": "Indicates if the value assigned to the server parameter is pending a server restart for the value to take effect." + }, + "unit": { + "type": "string", + "readOnly": true, + "description": "Units in which the server parameter value is expressed." + }, + "documentationLink": { + "type": "string", + "readOnly": true, + "description": "Link pointing to the documentation of the server parameter." + } + }, + "description": "Properties of a server parameter." + }, + "Configuration": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ConfigurationProperties", + "x-ms-client-flatten": true, + "description": "Properties of a server parameter." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ], + "description": "Server parameter." + }, + "ConfigurationForUpdate": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ConfigurationProperties", + "x-ms-client-flatten": true, + "description": "Properties of a server parameter." + } + }, + "description": "Server parameter." + }, + "ConfigurationListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Configuration" + }, + "description": "List of server parameters." + }, + "nextLink": { + "description": "Link used to get the next page of results.", + "type": "string" + } + }, + "description": "List of server parameters." + } + }, + "parameters": { + "ConfigurationNameParameter": { + "name": "configurationName", + "in": "path", + "required": true, + "type": "string", + "description": "Name of the server parameter.", + "minLength": 1, + "pattern": "^[-\\w\\._]+$", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Databases.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Databases.json new file mode 100644 index 000000000000..38bef0897f4a --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Databases.json @@ -0,0 +1,317 @@ +{ + "swagger": "2.0", + "info": { + "title": "PostgreSQLManagementClient", + "description": "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.", + "version": "2024-08-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Microsoft Entra OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/databases/{databaseName}": { + "put": { + "tags": [ + "Databases" + ], + "operationId": "Databases_Create", + "x-ms-examples": { + "Create a database.": { + "$ref": "./examples/DatabaseCreate.json" + } + }, + "description": "Creates a new database.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/DatabaseNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Database" + }, + "description": "Parameters required to create a new database." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Database" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/Database" + } + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "delete": { + "tags": [ + "Databases" + ], + "operationId": "Databases_Delete", + "x-ms-examples": { + "Delete an existing database": { + "$ref": "./examples/DatabaseDelete.json" + } + }, + "description": "Deletes an existing database.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/DatabaseNameParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "NoContent" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "Databases" + ], + "operationId": "Databases_Get", + "x-ms-examples": { + "Get information about an existing database.": { + "$ref": "./examples/DatabaseGet.json" + } + }, + "description": "Gets information about an existing database.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/DatabaseNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Database" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/databases": { + "get": { + "tags": [ + "Databases" + ], + "operationId": "Databases_ListByServer", + "x-ms-examples": { + "List all databases in a flexible server.": { + "$ref": "./examples/DatabasesListByServer.json" + } + }, + "description": "Lists all databases in a flexible server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DatabaseListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "DatabaseProperties": { + "type": "object", + "properties": { + "charset": { + "type": "string", + "description": "Character set of the database.", + "pattern": "^[a-zA-Z]+\\w*$" + }, + "collation": { + "type": "string", + "description": "Collation of the database.", + "pattern": "^[a-zA-Z\\-]+([. ]|\\w)*$" + } + }, + "description": "Properties of a database." + }, + "Database": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/DatabaseProperties", + "x-ms-client-flatten": true, + "description": "Properties of a database." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ], + "description": "Represents a Database." + }, + "DatabaseListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Database" + }, + "description": "List of all databases in a flexible server." + }, + "nextLink": { + "description": "Link used to get the next page of results.", + "type": "string", + "format": "uri" + } + }, + "description": "List of all databases in a flexible server." + } + }, + "parameters": { + "DatabaseNameParameter": { + "name": "databaseName", + "in": "path", + "required": true, + "type": "string", + "description": "Name of the database.", + "minLength": 1, + "pattern": "^[-\\w\\._]+$", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/FirewallRules.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/FirewallRules.json new file mode 100644 index 000000000000..52833c207dbe --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/FirewallRules.json @@ -0,0 +1,323 @@ +{ + "swagger": "2.0", + "info": { + "title": "PostgreSQLManagementClient", + "description": "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.", + "version": "2024-08-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Microsoft Entra OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/firewallRules/{firewallRuleName}": { + "put": { + "tags": [ + "FirewallRules" + ], + "operationId": "FirewallRules_CreateOrUpdate", + "x-ms-examples": { + "Create a new firewall rule or update an existing firewall rule.": { + "$ref": "./examples/FirewallRuleCreate.json" + } + }, + "description": "Creates a new firewall rule or updates an existing firewall rule.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/FirewallRuleNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/FirewallRule" + }, + "description": "Parameters required for creating or updating a firewall rule." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/FirewallRule" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/FirewallRule" + } + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "delete": { + "tags": [ + "FirewallRules" + ], + "operationId": "FirewallRules_Delete", + "x-ms-examples": { + "Delete an existing firewall rule.": { + "$ref": "./examples/FirewallRuleDelete.json" + } + }, + "description": "Deletes an existing firewall rule.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/FirewallRuleNameParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "NoContent" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "FirewallRules" + ], + "operationId": "FirewallRules_Get", + "x-ms-examples": { + "Get information about a firewall rule in a flexible server.": { + "$ref": "./examples/FirewallRuleGet.json" + } + }, + "description": "Gets information about a firewall rule in a flexible server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/FirewallRuleNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/FirewallRule" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/firewallRules": { + "get": { + "tags": [ + "FirewallRules" + ], + "operationId": "FirewallRules_ListByServer", + "x-ms-examples": { + "List information about all firewall rules in a flexible server.": { + "$ref": "./examples/FirewallRuleListByServer.json" + } + }, + "description": "Lists information about all firewall rules in a flexible server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/FirewallRuleListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "FirewallRuleProperties": { + "type": "object", + "properties": { + "startIpAddress": { + "type": "string", + "pattern": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$", + "description": "IP address defining the start of the range of addresses of a firewall rule. Must be expressed in IPv4 format." + }, + "endIpAddress": { + "type": "string", + "pattern": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$", + "description": "IP address defining the end of the range of addresses of a firewall rule. Must be expressed in IPv4 format." + } + }, + "required": [ + "startIpAddress", + "endIpAddress" + ], + "description": "Properties of a firewall rule." + }, + "FirewallRule": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/FirewallRuleProperties", + "x-ms-client-flatten": true, + "description": "Properties of a firewall rule." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ], + "required": [ + "properties" + ], + "description": "Firewall rule." + }, + "FirewallRuleListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/FirewallRule" + }, + "description": "List of firewall rules in a flexible server." + }, + "nextLink": { + "description": "Link to retrieve next page of results.", + "type": "string" + } + }, + "description": "List of firewall rules." + } + }, + "parameters": { + "FirewallRuleNameParameter": { + "name": "firewallRuleName", + "in": "path", + "required": true, + "type": "string", + "description": "Name of the firewall rule.", + "minLength": 1, + "pattern": "^[-\\w\\._]+$", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/FlexibleServers.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/FlexibleServers.json new file mode 100644 index 000000000000..5466e62c21e0 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/FlexibleServers.json @@ -0,0 +1,1217 @@ +{ + "swagger": "2.0", + "info": { + "title": "PostgreSQLManagementClient", + "description": "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.", + "version": "2024-08-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Microsoft Entra OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}": { + "put": { + "tags": [ + "Servers" + ], + "operationId": "Servers_Create", + "x-ms-examples": { + "Create a new flexible server.": { + "$ref": "./examples/ServerCreate.json" + }, + "Create a new flexible server with Microsoft Entra authentication enabled.": { + "$ref": "./examples/ServerCreateWithMicrosoftEntraEnabled.json" + }, + "Create a new flexible server with data encryption based on customer managed key.": { + "$ref": "./examples/ServerCreateWithDataEncryptionEnabled.json" + }, + "Create a new flexible server using a point in time restore of a backup of an existing flexible server.": { + "$ref": "./examples/ServerCreatePointInTimeRestore.json" + }, + "Create a new flexible server using a restore of a geographically redundant backup of an existing flexible server, with data encryption based on customer managed key.": { + "$ref": "./examples/ServerCreateGeoRestoreWithDataEncryptionEnabled.json" + }, + "Create a read replica of an existing flexible server.": { + "$ref": "./examples/ServerCreateReplica.json" + }, + "Create a new flexible server using a backup of a flexible server that was deleted or dropped recently.": { + "$ref": "./examples/ServerCreateReviveDropped.json" + } + }, + "description": "Creates a new server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Server" + }, + "description": "Parameters required to create a new flexible server or to update an existing flexible server." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Server" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/Server" + } + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "Servers" + ], + "operationId": "Servers_Update", + "x-ms-examples": { + "Update an existing flexible server.": { + "$ref": "./examples/ServerUpdate.json" + }, + "Update an existing flexible server with Microsoft Entra authentication enabled.": { + "$ref": "./examples/ServerUpdateWithMicrosoftEntraEnabled.json" + }, + "Update an existing flexible server with data encryption based on customer managed key.": { + "$ref": "./examples/ServerUpdateWithDataEncryptionEnabled.json" + }, + "Update an existing flexible server with custom maintenance window.": { + "$ref": "./examples/ServerUpdateWithCustomMaintenanceWindow.json" + }, + "Update an existing flexible server to upgrade the major version of PostgreSQL database engine.": { + "$ref": "./examples/ServerUpdateWithMajorVersionUpgrade.json" + }, + "Promote a read replica to a standalone server with planned data synchronization. Meaning that it waits for data in the read replica to be fully synchronized with its source server before it initiates the promotion to a standalone server.": { + "$ref": "./examples/PromoteReplicaAsPlannedStandaloneServer.json" + }, + "Promote a read replica to a standalone server with forced data synchronization. Meaning that it doesn't wait for data in the read replica to be synchronized with its source server before it initiates the promotion to a standalone server.": { + "$ref": "./examples/PromoteReplicaAsForcedStandaloneServer.json" + }, + "Switch over a read replica to primary server with planned data synchronization. Meaning that it waits for data in the read replica to be fully synchronized with its source server before it initiates the switching of roles between the read replica and the primary server.": { + "$ref": "./examples/PromoteReplicaAsPlannedSwitchover.json" + }, + "Switch over a read replica to primary server with forced data synchronization. Meaning that it doesn't wait for data in the read replica to be synchronized with its source server before it initiates the switching of roles between the read replica and the primary server.": { + "$ref": "./examples/PromoteReplicaAsForcedSwitchover.json" + } + }, + "description": "Updates an existing server. The request body can contain one or multiple of the properties present in the normal server definition.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ServerForUpdate" + }, + "description": "Parameters required to update a flexible server." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Server" + } + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "delete": { + "tags": [ + "Servers" + ], + "operationId": "Servers_Delete", + "x-ms-examples": { + "Delete or drop an existing flexible server.": { + "$ref": "./examples/ServerDelete.json" + } + }, + "description": "Deletes or drops an existing flexible server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "NoContent" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "Servers" + ], + "operationId": "Servers_Get", + "x-ms-examples": { + "Get information about an existing flexible server.": { + "$ref": "./examples/ServerGet.json" + }, + "Get information about an existing flexible server that is integrated into a virtual network provided by customer.": { + "$ref": "./examples/ServerGetWithVnet.json" + }, + "Get information about an existing flexible server that isn't integrated into a virtual network provided by customer and has private endpoint connections.": { + "$ref": "./examples/ServerGetWithPrivateEndpoints.json" + } + }, + "description": "Gets information about an existing flexible server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Server" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers": { + "get": { + "tags": [ + "Servers" + ], + "operationId": "Servers_ListByResourceGroup", + "x-ms-examples": { + "List all flexible servers in a resource group.": { + "$ref": "./examples/ServerListByResourceGroup.json" + } + }, + "description": "Lists all flexible servers in a resource group.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ServerListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/flexibleServers": { + "get": { + "tags": [ + "Servers" + ], + "operationId": "Servers_List", + "x-ms-examples": { + "List all flexible servers in a subscription.": { + "$ref": "./examples/ServerList.json" + } + }, + "description": "Lists all flexible servers in a subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ServerListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "ServerVersion": { + "type": "string", + "description": "Major version of PostgreSQL database engine.", + "enum": [ + "16", + "15", + "14", + "13", + "12", + "11" + ], + "x-ms-enum": { + "name": "ServerVersion", + "modelAsString": true + } + }, + "Replica": { + "type": "object", + "description": "Replica properties of a flexible server.", + "properties": { + "role": { + "$ref": "#/definitions/ReplicationRole", + "description": "Role of the server in a replication set." + }, + "capacity": { + "type": "integer", + "format": "int32", + "description": "Maximum number of read replicas allowed for a flexible server.", + "readOnly": true + }, + "replicationState": { + "type": "string", + "enum": [ + "Active", + "Catchup", + "Provisioning", + "Updating", + "Broken", + "Reconfiguring" + ], + "x-ms-enum": { + "name": "ReplicationState", + "modelAsString": true + }, + "description": "Indicates the replication state of a read replica. This property is returned only when the target flexible server is a read replica. Possible values are Active, Broken, Catchup, Provisioning, Reconfiguring, and Updating", + "readOnly": true + }, + "promoteMode": { + "type": "string", + "description": "Type of operation to apply on the read replica. This property is write only. Standalone means that the read replica will be promoted to a standalone server, and will become a completely independent entity from the replication set. Switchover means that the read replica will roles with the primary server.", + "enum": [ + "standalone", + "switchover" + ], + "x-ms-enum": { + "name": "ReadReplicaPromoteMode", + "modelAsString": true + }, + "x-ms-mutability": [ + "update" + ] + }, + "promoteOption": { + "type": "string", + "description": "Data synchronization option to use when processing the operation specified in the promoteMode property This property is write only. Planned means that the operation will wait for data in the read replica to be fully synchronized with its source server before it initiates the operation. Forced means that the operation will not wait for data in the read replica to be synchronized with its source server before it initiates the operation.", + "enum": [ + "planned", + "forced" + ], + "x-ms-enum": { + "name": "ReplicationPromoteOption", + "modelAsString": true + }, + "x-ms-mutability": [ + "update" + ] + } + } + }, + "ServerProperties": { + "type": "object", + "properties": { + "administratorLogin": { + "type": "string", + "description": "Name of the login designated as the first password based administrator assigned to your instance of PostgreSQL. Must be specified the first time that you enable password based authentication on a server. Once set to a given value, it cannot be changed for the rest of the life of a server. If you disable password based authentication on a server which had it enabled, this password based role isn't deleted.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "administratorLoginPassword": { + "type": "string", + "description": "Password assigned to the administrator login. As long as password authentication is enabled, this password can be changed at any time.", + "x-ms-secret": true, + "format": "password", + "x-ms-mutability": [ + "create", + "update" + ] + }, + "version": { + "$ref": "#/definitions/ServerVersion", + "description": "Major version of PostgreSQL database engine." + }, + "minorVersion": { + "type": "string", + "description": "Minor version of PostgreSQL database engine.", + "readOnly": true + }, + "state": { + "type": "string", + "description": "Possible states of a flexible server.", + "readOnly": true, + "enum": [ + "Ready", + "Dropping", + "Disabled", + "Starting", + "Stopping", + "Stopped", + "Updating" + ], + "x-ms-enum": { + "name": "ServerState", + "modelAsString": true + } + }, + "fullyQualifiedDomainName": { + "type": "string", + "description": "Fully qualified domain name of a flexible server.", + "readOnly": true + }, + "storage": { + "$ref": "#/definitions/Storage", + "default": null, + "description": "Storage properties of a flexible server." + }, + "authConfig": { + "$ref": "#/definitions/AuthConfig", + "default": null, + "description": "Authentication configuration properties of a flexible server." + }, + "dataEncryption": { + "$ref": "#/definitions/DataEncryption", + "default": null, + "description": "Data encryption properties of a flexible server." + }, + "backup": { + "$ref": "#/definitions/Backup", + "default": null, + "description": "Backup properties of a flexible server." + }, + "network": { + "$ref": "#/definitions/Network", + "default": null, + "description": "Network properties of a flexible server. Only required if you want your server to be integrated into a virtual network provided by customer." + }, + "highAvailability": { + "$ref": "#/definitions/HighAvailability", + "default": null, + "description": "High availability properties of a flexible server." + }, + "maintenanceWindow": { + "$ref": "#/definitions/MaintenanceWindow", + "default": null, + "description": "Maintenance window properties of a flexible server.", + "x-ms-mutability": [ + "update", + "read" + ] + }, + "sourceServerResourceId": { + "type": "string", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.DBforPostgreSQL/flexibleServers" + } + ] + }, + "description": "Identifier of the flexible server to be used as the source of the new flexible server. Required when 'createMode' is 'PointInTimeRestore', 'GeoRestore', 'Replica', or 'ReviveDropped'. This property is returned only when the target flexible server is a read replica.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "pointInTimeUTC": { + "type": "string", + "format": "date-time", + "description": "Creation time (in ISO8601 format) of the backup which you want to restore in the new flexible server. It's required when 'createMode' is 'PointInTimeRestore', 'GeoRestore', or 'ReviveDropped'.", + "x-ms-mutability": [ + "create" + ] + }, + "availabilityZone": { + "type": "string", + "default": "", + "description": "Availability zone of a flexible server.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "replicationRole": { + "$ref": "#/definitions/ReplicationRole", + "description": "Role of the server in a replication set." + }, + "replicaCapacity": { + "type": "integer", + "format": "int32", + "description": "Maximum number of read replicas allowed for a flexible server.", + "readOnly": true + }, + "replica": { + "$ref": "#/definitions/Replica", + "description": "Read replica properties of a flexible server. Required only in case that you want to promote a server.", + "x-ms-mutability": [ + "read", + "update" + ] + }, + "createMode": { + "type": "string", + "description": "Creation mode of a new flexible server.", + "enum": [ + "Default", + "Create", + "Update", + "PointInTimeRestore", + "GeoRestore", + "Replica", + "ReviveDropped" + ], + "x-ms-enum": { + "name": "CreateMode", + "modelAsString": true + }, + "x-ms-mutability": [ + "create", + "update" + ] + }, + "privateEndpointConnections": { + "type": "array", + "items": { + "$ref": "../../../../../common-types/resource-management/v5/privatelinks.json#/definitions/PrivateEndpointConnection" + }, + "description": "List of private endpoint connections associated with the specified flexible server.", + "readOnly": true + } + }, + "description": "Properties of a flexible server." + }, + "Server": { + "type": "object", + "properties": { + "sku": { + "$ref": "#/definitions/Sku", + "description": "Compute tier and size of a flexible server." + }, + "identity": { + "$ref": "#/definitions/UserAssignedIdentity", + "description": "User assigned managed identities assigned to the flexible server." + }, + "properties": { + "$ref": "#/definitions/ServerProperties", + "x-ms-client-flatten": true, + "description": "Properties of a flexible server." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ], + "description": "Flexible server." + }, + "ServerPropertiesForUpdate": { + "type": "object", + "properties": { + "administratorLogin": { + "type": "string", + "description": "Name of the login designated as the first password based administrator assigned to your instance of PostgreSQL. Must be specified the first time that you enable password based authentication on a server. Once set to a given value, it cannot be changed for the rest of the life of a server. If you disable password based authentication on a server which had it enabled, this password based role isn't deleted.", + "x-ms-mutability": [ + "update", + "read" + ] + }, + "administratorLoginPassword": { + "type": "string", + "description": "Password assigned to the administrator login. As long as password authentication is enabled, this password can be changed at any time.", + "x-ms-secret": true, + "format": "password", + "x-ms-mutability": [ + "update" + ] + }, + "version": { + "$ref": "#/definitions/ServerVersion", + "description": "Major version of PostgreSQL database engine." + }, + "storage": { + "$ref": "#/definitions/Storage", + "default": null, + "description": "Storage properties of a flexible server." + }, + "backup": { + "$ref": "#/definitions/Backup", + "default": null, + "description": "Backup properties of a flexible server." + }, + "highAvailability": { + "$ref": "#/definitions/HighAvailability", + "default": null, + "description": "High availability properties of a flexible server." + }, + "maintenanceWindow": { + "$ref": "#/definitions/MaintenanceWindow", + "default": null, + "description": "Maintenance window properties of a flexible server.", + "x-ms-mutability": [ + "update", + "read" + ] + }, + "authConfig": { + "$ref": "#/definitions/AuthConfig", + "default": null, + "description": "Authentication configuration properties of a flexible server." + }, + "dataEncryption": { + "$ref": "#/definitions/DataEncryption", + "default": null, + "description": "Data encryption properties of a flexible server." + }, + "createMode": { + "type": "string", + "description": "Update mode of an existing flexible server.", + "enum": [ + "Default", + "Update" + ], + "x-ms-enum": { + "name": "CreateModeForUpdate", + "modelAsString": true + }, + "x-ms-mutability": [ + "update" + ] + }, + "replicationRole": { + "$ref": "#/definitions/ReplicationRole", + "description": "Role of the server in a replication set." + }, + "replica": { + "$ref": "#/definitions/Replica", + "description": "Read replica properties of a flexible server. Required only in case that you want to promote a server.", + "x-ms-mutability": [ + "read", + "update" + ] + }, + "network": { + "$ref": "#/definitions/Network", + "default": null, + "description": "Network properties of a flexible server. Only required if you want your server to be integrated into a virtual network provided by customer." + } + } + }, + "ServerForUpdate": { + "type": "object", + "properties": { + "sku": { + "$ref": "#/definitions/Sku", + "description": "Compute tier and size of a flexible server." + }, + "identity": { + "$ref": "#/definitions/UserAssignedIdentity", + "description": "Describes the identity of the application." + }, + "properties": { + "$ref": "#/definitions/ServerPropertiesForUpdate", + "x-ms-client-flatten": true, + "description": "Properties of the server." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Application-specific metadata in the form of key-value pairs." + } + }, + "description": "Represents a server to be updated." + }, + "ServerListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Server" + }, + "description": "The list of flexible servers" + }, + "nextLink": { + "description": "The link used to get the next page of operations.", + "type": "string" + } + }, + "description": "A list of servers." + }, + "Sku": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name by which is known a given compute size assigned to a flexible server." + }, + "tier": { + "type": "string", + "description": "Tier of the compute assigned to a flexible server.", + "enum": [ + "Burstable", + "GeneralPurpose", + "MemoryOptimized" + ], + "x-ms-enum": { + "name": "SkuTier", + "modelAsString": true + } + } + }, + "required": [ + "name", + "tier" + ], + "description": "Compute information of a flexible server." + }, + "Storage": { + "type": "object", + "properties": { + "storageSizeGB": { + "type": "integer", + "format": "int32", + "description": "Size of storage assigned to a flexible server." + }, + "autoGrow": { + "type": "string", + "description": "Flag to enable or disable the automatic growth of storage size of a flexible server when available space is nearing zero and conditions allow for automatically growing storage size.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "StorageAutoGrow", + "modelAsString": true + } + }, + "tier": { + "type": "string", + "description": "Storage tier of a flexible server.", + "enum": [ + "P1", + "P2", + "P3", + "P4", + "P6", + "P10", + "P15", + "P20", + "P30", + "P40", + "P50", + "P60", + "P70", + "P80" + ], + "x-ms-enum": { + "name": "AzureManagedDiskPerformanceTiers", + "modelAsString": true + } + }, + "iops": { + "type": "integer", + "format": "int32", + "description": "Maximum IOPS supported for storage. Required when type of storage is PremiumV2_LRS." + }, + "throughput": { + "type": "integer", + "format": "int32", + "description": "Maximum throughput supported for storage. Required when type of storage is PremiumV2_LRS." + }, + "type": { + "type": "string", + "enum": [ + "Premium_LRS", + "PremiumV2_LRS" + ], + "x-ms-enum": { + "name": "StorageType", + "modelAsString": true + }, + "description": "Type of storage assigned to a flexible server. Allowed values are Premium_LRS or PremiumV2_LRS. If not specified, it defaults to Premium_LRS." + } + }, + "description": "Storage properties of a flexible server." + }, + "AuthConfig": { + "type": "object", + "properties": { + "activeDirectoryAuth": { + "type": "string", + "description": "Indicates if the server supports Microsoft Entra authentication.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "activeDirectoryAuthEnum", + "modelAsString": true + } + }, + "passwordAuth": { + "type": "string", + "default": "Enabled", + "description": "Indicates if the server supports password based authentication.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "passwordAuthEnum", + "modelAsString": true + } + }, + "tenantId": { + "type": "string", + "default": "", + "description": "Identifier of the tenant of the delegated resource." + } + }, + "description": "Authentication configuration properties of a flexible server." + }, + "DataEncryption": { + "type": "object", + "properties": { + "primaryKeyURI": { + "type": "string", + "description": "URI of the key in Azure Key Vault used for data encryption of the primary storage associated to a flexible server." + }, + "primaryUserAssignedIdentityId": { + "type": "string", + "description": "Identifier of the user assigned managed identity used to access the key in Azure Key Vault for data encryption of the primary storage associated to a flexible server." + }, + "geoBackupKeyURI": { + "type": "string", + "description": "Identifier of the user assigned managed identity used to access the key in Azure Key Vault for data encryption of the geographically redundant storage associated to a flexible server that is configured to support geographically redundant backups." + }, + "geoBackupUserAssignedIdentityId": { + "type": "string", + "description": "Identifier of the user assigned managed identity used to access the key in Azure Key Vault for data encryption of the geographically redundant storage associated to a flexible server that is configured to support geographically redundant backups." + }, + "type": { + "type": "string", + "description": "Data encryption type used by a flexible server.", + "enum": [ + "SystemManaged", + "AzureKeyVault" + ], + "x-ms-enum": { + "name": "ArmServerKeyType", + "modelAsString": true + } + }, + "primaryEncryptionKeyStatus": { + "type": "string", + "description": "Status of key used by a flexible server configured with data encryption based on customer managed key, to encrypt the primary storage associated to the server.", + "x-ms-mutability": [ + "read" + ], + "enum": [ + "Valid", + "Invalid" + ], + "x-ms-enum": { + "name": "keyStatusEnum", + "modelAsString": true + } + }, + "geoBackupEncryptionKeyStatus": { + "type": "string", + "description": "Status of key used by a flexible server configured with data encryption based on customer managed key, to encrypt the geographically redundant storage associated to the server when it is configured to support geographically redundant backups.", + "x-ms-mutability": [ + "read" + ], + "enum": [ + "Valid", + "Invalid" + ], + "x-ms-enum": { + "name": "keyStatusEnum", + "modelAsString": true + } + } + }, + "description": "Data encryption properties of a flexible server." + }, + "UserIdentity": { + "description": "User assigned managed identity associated with a flexible server.", + "type": "object", + "properties": { + "principalId": { + "type": "string", + "description": "Identifier of the object of the service principal associated to the user assigned managed identity." + }, + "clientId": { + "type": "string", + "description": "Identifier of the client of the service principal associated to the user assigned managed identity." + } + } + }, + "UserAssignedIdentityMap": { + "type": "object", + "description": "Map of user assigned managed identities.", + "additionalProperties": { + "$ref": "#/definitions/UserIdentity" + } + }, + "UserAssignedIdentity": { + "type": "object", + "properties": { + "userAssignedIdentities": { + "$ref": "#/definitions/UserAssignedIdentityMap", + "description": "Map of user assigned managed identities." + }, + "principalId": { + "type": "string", + "description": "Identifier of the object of the service principal associated to the user assigned managed identity." + }, + "type": { + "type": "string", + "description": "Types of identities associated with a flexible server.", + "enum": [ + "None", + "UserAssigned", + "SystemAssigned", + "SystemAssigned,UserAssigned" + ], + "x-ms-enum": { + "name": "IdentityType", + "modelAsString": true + } + }, + "tenantId": { + "type": "string", + "description": "Identifier of the tenant of a flexible server.", + "readOnly": true + } + }, + "required": [ + "type" + ], + "description": "Identities associated with a flexible server." + }, + "ReplicationRole": { + "type": "string", + "description": "Role of the flexible server in a replication set.", + "enum": [ + "None", + "Primary", + "AsyncReplica", + "GeoAsyncReplica" + ], + "x-ms-enum": { + "name": "ReplicationRole", + "modelAsString": true + } + }, + "Backup": { + "type": "object", + "properties": { + "backupRetentionDays": { + "type": "integer", + "format": "int32", + "default": 7, + "description": "Backup retention days for the flexible server." + }, + "geoRedundantBackup": { + "type": "string", + "default": "Disabled", + "description": "Indicates if the server is configured to create geographically redundant backups.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "GeoRedundantBackupEnum", + "modelAsString": true + }, + "x-ms-mutability": [ + "create", + "read" + ] + }, + "earliestRestoreDate": { + "type": "string", + "format": "date-time", + "description": "Earliest restore point time (ISO8601 format) for a flexible server.", + "readOnly": true + } + }, + "description": "Backup properties of a flexible server." + }, + "Network": { + "type": "object", + "properties": { + "publicNetworkAccess": { + "type": "string", + "description": "Indicates if public network access is enabled or not.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ServerPublicNetworkAccessState", + "modelAsString": true + } + }, + "delegatedSubnetResourceId": { + "type": "string", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/virtualNetworks/subnets" + } + ] + }, + "description": "Resource identifier of the delegated subnet. Required during creation of a new server, in case you want the server to be integrated into your own virtual network. For an update operation, you only have to provide this property if you want to change the value assigned for the private DNS zone." + }, + "privateDnsZoneArmResourceId": { + "type": "string", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/privateDnsZones" + } + ] + }, + "description": "Identifier of the private DNS zone. Required during creation of a new server, in case you want the server to be integrated into your own virtual network. For an update operation, you only have to provide this property if you want to change the value assigned for the private DNS zone." + } + }, + "description": "Network properties of a flexible server." + }, + "HighAvailability": { + "type": "object", + "properties": { + "mode": { + "type": "string", + "default": "Disabled", + "description": "High availability mode for a flexible server.", + "enum": [ + "Disabled", + "ZoneRedundant", + "SameZone" + ], + "x-ms-enum": { + "name": "HighAvailabilityMode", + "modelAsString": true + } + }, + "state": { + "type": "string", + "description": "Possible states of the standby server created when high availability is set to SameZone or ZoneRedundant.", + "enum": [ + "NotEnabled", + "CreatingStandby", + "ReplicatingData", + "FailingOver", + "Healthy", + "RemovingStandby" + ], + "x-ms-enum": { + "name": "ServerHAState", + "modelAsString": true + }, + "readOnly": true + }, + "standbyAvailabilityZone": { + "type": "string", + "default": "", + "description": "Availability zone associated to the standby server created when high availability is set to SameZone or ZoneRedundant." + } + }, + "description": "High availability properties of a flexible server." + }, + "MaintenanceWindow": { + "type": "object", + "description": "Maintenance window properties of a flexible server.", + "properties": { + "customWindow": { + "type": "string", + "default": "Disabled", + "description": "Indicates whether custom window is enabled or disabled." + }, + "startHour": { + "type": "integer", + "format": "int32", + "default": 0, + "description": "Start hour to be used for maintenance window." + }, + "startMinute": { + "type": "integer", + "format": "int32", + "default": 0, + "description": "Start minute to be used for maintenance window." + }, + "dayOfWeek": { + "type": "integer", + "format": "int32", + "default": 0, + "description": "Day of the week to be used for maintenance window." + } + } + } + }, + "parameters": {} +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/LongTermRetentionOperation.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/LongTermRetentionOperation.json new file mode 100644 index 000000000000..ec6dd95b836f --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/LongTermRetentionOperation.json @@ -0,0 +1,524 @@ +{ + "swagger": "2.0", + "info": { + "title": "PostgreSQLManagementClient", + "description": "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.", + "version": "2024-08-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Microsoft Entra OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/ltrPreBackup": { + "post": { + "description": "Performs all checks required so that a subsequent long term retention backup operation succeeds.", + "tags": [ + "LongTermRetentionBackup" + ], + "operationId": "FlexibleServer_TriggerLtrPreBackup", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" + }, + { + "name": "parameters", + "in": "body", + "description": "Request body for operation", + "required": true, + "schema": { + "$ref": "#/definitions/LtrPreBackupRequest" + } + } + ], + "responses": { + "200": { + "description": "Ok. API finished synchronously with Success.", + "schema": { + "$ref": "#/definitions/LtrPreBackupResponse" + }, + "headers": { + "x-ms-request-id": { + "description": "A unique ID for the current operation, service generated. All the resource providers must return this value in the response headers to facilitate debugging.", + "type": "string" + } + } + }, + "default": { + "description": "Error Scenario 4xx/5xx", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "description": "ErrorCode string in the event of a failure.", + "type": "string" + }, + "x-ms-request-id": { + "description": "A unique ID for the current operation, service generated. All the resource providers must return this value in the response headers to facilitate debugging.", + "type": "string" + } + } + } + }, + "x-ms-examples": { + "Sample_Prebackup": { + "$ref": "./examples/LongTermRetentionPreBackup.json" + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/startLtrBackup": { + "post": { + "description": "Start the Long Term Retention Backup operation", + "tags": [ + "LongTermRetentionBackup" + ], + "operationId": "FlexibleServer_StartLtrBackup", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" + }, + { + "name": "parameters", + "in": "body", + "description": "Request body for operation", + "required": true, + "schema": { + "$ref": "#/definitions/LtrBackupRequest" + } + } + ], + "responses": { + "200": { + "description": "Ok. API finished synchronously with Success.", + "schema": { + "$ref": "#/definitions/LtrBackupResponse" + }, + "headers": { + "x-ms-request-id": { + "description": "A unique ID for the current operation, service generated. All the resource providers must return this value in the response headers to facilitate debugging.", + "type": "string" + } + } + }, + "202": { + "description": "Accepted.", + "headers": { + "Retry-After": { + "description": "The number of seconds to wait before checking the status of the asynchronous operation.", + "type": "integer", + "format": "int32" + }, + "x-ms-request-id": { + "description": "A unique ID for the current operation, service generated. All the resource providers must return this value in the response headers to facilitate debugging.", + "type": "string" + }, + "Location": { + "description": "URL to retrieve the final result after operation completes.", + "type": "string" + }, + "Azure-AsyncOperation": { + "description": "URL for checking the ongoing status of the operation.", + "type": "string" + } + } + }, + "default": { + "description": "Error Scenario 4xx/5xx", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "description": "ErrorCode string in the event of a failure.", + "type": "string" + }, + "x-ms-request-id": { + "description": "A unique ID for the current operation, service generated. All the resource providers must return this value in the response headers to facilitate debugging.", + "type": "string" + } + } + } + }, + "x-ms-examples": { + "Sample_ExecuteBackup": { + "$ref": "./examples/LongTermRetentionBackup.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/ltrBackupOperations/{backupName}": { + "get": { + "tags": [ + "LongTermRetentionBackup" + ], + "operationId": "ltrBackupOperations_Get", + "x-ms-examples": { + "Sample": { + "$ref": "./examples/LongTermRetentionOperationGet.json" + } + }, + "description": "Gets the result of the give long term retention backup operation for the flexible server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/BackupNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/LtrServerBackupOperation" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/ltrBackupOperations": { + "get": { + "tags": [ + "LongTermRetentionBackup" + ], + "operationId": "ltrBackupOperations_ListByServer", + "x-ms-examples": { + "Sample List of Long Tern Retention Operations by Flexible Server": { + "$ref": "./examples/LongTermRetentionOperationListByServer.json" + } + }, + "description": "Gets the result of the give long term retention backup operations for the flexible server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/LtrServerBackupOperationList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "BackupRequestBase": { + "description": "BackupRequestBase is the base for all backup request.", + "required": [ + "backupSettings" + ], + "type": "object", + "properties": { + "backupSettings": { + "$ref": "#/definitions/BackupSettings", + "description": "Backup Settings" + } + } + }, + "LtrBackupRequest": { + "description": "The request that is made for a long term retention backup.", + "type": "object", + "properties": { + "targetDetails": { + "$ref": "#/definitions/BackupStoreDetails", + "description": "Backup store detail for target server" + } + }, + "allOf": [ + { + "$ref": "#/definitions/BackupRequestBase" + } + ], + "required": [ + "targetDetails" + ] + }, + "LtrPreBackupRequest": { + "description": "A request that is made for pre-backup.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/BackupRequestBase" + } + ] + }, + "BackupSettings": { + "description": "The settings for the long term backup.", + "type": "object", + "required": [ + "backupName" + ], + "properties": { + "backupName": { + "type": "string", + "description": "Backup Name for the current backup" + } + } + }, + "BackupStoreDetails": { + "description": "Details about the target where the backup content will be stored.", + "required": [ + "sasUriList" + ], + "type": "object", + "properties": { + "sasUriList": { + "description": "List of SAS uri of storage containers where backup data is to be streamed/copied.", + "type": "array", + "items": { + "type": "string", + "description": "SAS URI of Azure Storage Account Container.", + "x-ms-secret": true + } + } + } + }, + "LtrPreBackupResponseProperties": { + "description": "Response for the pre-backup request.", + "type": "object", + "required": [ + "numberOfContainers" + ], + "properties": { + "numberOfContainers": { + "format": "int32", + "description": "Number of storage containers the plugin will use during backup. More than one containers may be used for size limitations, parallelism, or redundancy etc.", + "type": "integer" + } + } + }, + "LtrBackupOperationResponseProperties": { + "description": "Response for the backup request.", + "type": "object", + "required": [ + "status", + "startTime" + ], + "properties": { + "datasourceSizeInBytes": { + "format": "int64", + "description": "Size of datasource in bytes", + "type": "integer" + }, + "dataTransferredInBytes": { + "format": "int64", + "description": "Data transferred in bytes", + "type": "integer" + }, + "backupName": { + "description": "Name of Backup operation", + "type": "string" + }, + "backupMetadata": { + "description": "Metadata to be stored in RP. Store everything that will be required to perform a successful restore using this Recovery point. e.g. Versions, DataFormat etc", + "type": "string" + }, + "status": { + "description": "Service-set extensible enum indicating the status of operation", + "enum": [ + "Running", + "Cancelled", + "Failed", + "Succeeded" + ], + "type": "string", + "x-ms-enum": { + "name": "ExecutionStatus", + "modelAsString": true + } + }, + "startTime": { + "description": "Start time of the operation.", + "format": "date-time", + "type": "string" + }, + "endTime": { + "description": "End time of the operation.", + "format": "date-time", + "type": "string" + }, + "percentComplete": { + "description": "PercentageCompleted", + "format": "double", + "type": "number", + "minimum": 0, + "maximum": 100 + }, + "errorCode": { + "readOnly": true, + "type": "string", + "description": "The error code." + }, + "errorMessage": { + "readOnly": true, + "type": "string", + "description": "The error message." + } + } + }, + "LtrBackupResponse": { + "description": "Response for the LTR backup API call", + "type": "object", + "properties": { + "properties": { + "description": "Long Term Retention Backup Operation Resource Properties", + "x-ms-client-flatten": true, + "$ref": "#/definitions/LtrBackupOperationResponseProperties" + } + } + }, + "LtrServerBackupOperation": { + "description": "Response for the LTR backup Operation API call", + "type": "object", + "required": [ + "id", + "name" + ], + "properties": { + "properties": { + "description": "Long Term Retention Backup Operation Resource Properties", + "x-ms-client-flatten": true, + "$ref": "#/definitions/LtrBackupOperationResponseProperties" + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "LtrServerBackupOperationList": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/LtrServerBackupOperation" + }, + "description": "The list of long term retention server backup operations" + }, + "nextLink": { + "description": "The link used to get the next page of operations.", + "type": "string" + } + }, + "description": "A list of long term retention backup operations for server." + }, + "LtrPreBackupResponse": { + "description": "Response for the LTR pre-backup API call", + "type": "object", + "required": [ + "properties" + ], + "properties": { + "properties": { + "description": "Additional Properties for the pre backup response", + "x-ms-client-flatten": true, + "$ref": "#/definitions/LtrPreBackupResponseProperties" + } + } + } + }, + "parameters": { + "BackupNameParameter": { + "name": "backupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the backup.", + "x-ms-parameter-location": "method", + "pattern": "^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*" + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Migrations.json new file mode 100644 index 000000000000..10d343e5711d --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Migrations.json @@ -0,0 +1,1296 @@ +{ + "swagger": "2.0", + "info": { + "title": "PostgreSQLManagementClient", + "description": "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.", + "version": "2024-08-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "description": "Microsoft Entra OAuth2 Flow", + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDbServerName}/migrations/{migrationName}": { + "put": { + "tags": [ + "Migrations" + ], + "operationId": "Migrations_Create", + "x-ms-examples": { + "Create a migration.": { + "$ref": "./examples/Migrations_Create.json" + }, + "Create a migration specifying user names.": { + "$ref": "./examples/Migrations_Create_With_Other_Users.json" + }, + "Create a migration with roles.": { + "$ref": "./examples/Migrations_Create_With_Roles.json" + }, + "Create a migration with private endpoint.": { + "$ref": "./examples/Migrations_Create_With_PrivateEndpoint_Servers.json" + }, + "Create a migration with other source type for validating and migrating.": { + "$ref": "./examples/Migrations_Create_Other_SourceTypes_Validate_Migrate.json" + }, + "Create a migration for validating only.": { + "$ref": "./examples/Migrations_Create_Validate_Only.json" + } + }, + "description": "Creates a new migration.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/TargetDbServerSubscriptionIdParameter" + }, + { + "$ref": "#/parameters/TargetDbServerResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/TargetDbServerNameParameter" + }, + { + "$ref": "#/parameters/MigrationNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MigrationResource" + }, + "description": "Parameters required for creating a migration." + } + ], + "responses": { + "200": { + "description": "Successfully set or update the Migration for a server.", + "schema": { + "$ref": "#/definitions/MigrationResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/MigrationResource" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "Migrations" + ], + "operationId": "Migrations_Get", + "x-ms-examples": { + "Get information about a migration.": { + "$ref": "./examples/Migrations_Get.json" + }, + "Get information about a migration with validation failures.": { + "$ref": "./examples/Migrations_GetMigrationWithValidationFailures.json" + }, + "Get information about a migration with successful validation only.": { + "$ref": "./examples/Migrations_GetMigrationWithSuccessfulValidationOnly.json" + }, + "Get information about a migration with successful validation but failed migration.": { + "$ref": "./examples/Migrations_GetMigrationWithSuccessfulValidationButMigrationFailure.json" + }, + "Get information about a migration with successful validation and successful migration.": { + "$ref": "./examples/Migrations_GetMigrationWithSuccessfulValidationAndMigration.json" + } + }, + "description": "Gets information about a migration.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/TargetDbServerSubscriptionIdParameter" + }, + { + "$ref": "#/parameters/TargetDbServerResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/TargetDbServerNameParameter" + }, + { + "$ref": "#/parameters/MigrationNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MigrationResource" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "Migrations" + ], + "operationId": "Migrations_Update", + "x-ms-examples": { + "Update an existing migration.": { + "$ref": "./examples/Migrations_Update.json" + }, + "Cancel an existing migration.": { + "$ref": "./examples/Migrations_Cancel.json" + } + }, + "description": "Updates an existing migration. The request body can contain one to many of the mutable properties present in the migration definition. Certain property updates initiate migration state transitions.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/TargetDbServerSubscriptionIdParameter" + }, + { + "$ref": "#/parameters/TargetDbServerResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/TargetDbServerNameParameter" + }, + { + "$ref": "#/parameters/MigrationNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MigrationResourceForPatch" + }, + "description": "Parameters required to update an existing migration." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MigrationResource" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "Migrations" + ], + "operationId": "Migrations_Delete", + "x-ms-examples": { + "Delete an existing migration.": { + "$ref": "./examples/Migrations_Delete.json" + } + }, + "description": "Deletes an existing migration.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/TargetDbServerSubscriptionIdParameter" + }, + { + "$ref": "#/parameters/TargetDbServerResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/TargetDbServerNameParameter" + }, + { + "$ref": "#/parameters/MigrationNameParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "NoContent" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDbServerName}/migrations": { + "get": { + "tags": [ + "Migrations" + ], + "operationId": "Migrations_ListByTargetServer", + "x-ms-examples": { + "List all migrations of a target flexible server.": { + "$ref": "./examples/Migrations_ListByTargetServer.json" + } + }, + "description": "Lists all migrations of a target flexible server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/TargetDbServerSubscriptionIdParameter" + }, + { + "$ref": "#/parameters/TargetDbServerResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/TargetDbServerNameParameter" + }, + { + "$ref": "#/parameters/MigrationListFilter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/MigrationResourceListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDbServerName}/checkMigrationNameAvailability": { + "post": { + "summary": "Check the validity and availability of the given name, to assign it to a new migration.", + "description": "Checks if a proposed migration name is valid and available.", + "tags": [ + "Custom operation", + "POST" + ], + "operationId": "CheckMigrationNameAvailability", + "x-ms-examples": { + "Check the validity and availability of the given name, to assign it to a new migration.": { + "$ref": "./examples/CheckMigrationNameAvailability.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/TargetDbServerSubscriptionIdParameter" + }, + { + "$ref": "#/parameters/TargetDbServerResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/TargetDbServerNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MigrationNameAvailabilityResource" + }, + "description": "Parameters required to check if a migration name is valid and available." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MigrationNameAvailabilityResource" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + } + } + }, + "definitions": { + "MigrationResource": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/MigrationResourceProperties", + "description": "Migration properties.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ], + "description": "Migration." + }, + "MigrationResourceProperties": { + "type": "object", + "properties": { + "migrationId": { + "type": "string", + "readOnly": true, + "description": "Identifier of a migration." + }, + "currentStatus": { + "$ref": "#/definitions/MigrationStatus", + "readOnly": true, + "description": "Current status of a migration." + }, + "migrationInstanceResourceId": { + "type": "string", + "format": "arm-id", + "description": "Identifier of the private endpoint migration instance." + }, + "migrationMode": { + "$ref": "#/definitions/MigrationMode", + "description": "Mode used to perform the migration: Online or Offline." + }, + "migrationOption": { + "$ref": "#/definitions/MigrationOption", + "description": "Supported option for a migration." + }, + "sourceType": { + "$ref": "#/definitions/SourceType", + "description": "Source server type used for the migration: ApsaraDB_RDS, AWS, AWS_AURORA, AWS_EC2, AWS_RDS, AzureVM, Crunchy_PostgreSQL, Digital_Ocean_Droplets, Digital_Ocean_PostgreSQL, EDB, EDB_Oracle_Server, EDB_PostgreSQL, GCP, GCP_AlloyDB, GCP_CloudSQL, GCP_Compute, Heroku_PostgreSQL, Huawei_Compute, Huawei_RDS, OnPremises, PostgreSQLCosmosDB, PostgreSQLFlexibleServer, PostgreSQLSingleServer, or Supabase_PostgreSQL" + }, + "sslMode": { + "$ref": "#/definitions/SslMode", + "description": "SSL mode used by a migration. Default SSL mode for 'PostgreSQLSingleServer' is 'VerifyFull'. Default SSL mode for other source types is 'Prefer'." + }, + "sourceDbServerMetadata": { + "$ref": "#/definitions/DbServerMetadata", + "readOnly": true, + "description": "Metadata of source database server." + }, + "targetDbServerMetadata": { + "$ref": "#/definitions/DbServerMetadata", + "readOnly": true, + "description": "Metadata of target database server." + }, + "sourceDbServerResourceId": { + "type": "string", + "description": "Identifier of the source database server resource, when 'sourceType' is 'PostgreSQLSingleServer'. For other source types this must be set to ipaddress:port@username or hostname:port@username." + }, + "sourceDbServerFullyQualifiedDomainName": { + "type": "string", + "description": "Fully qualified domain name (FQDN) or IP address of the source server. This property is optional. When provided, the migration service will always use it to connect to the source server." + }, + "targetDbServerResourceId": { + "type": "string", + "readOnly": true, + "description": "Identifier of the target database server resource." + }, + "targetDbServerFullyQualifiedDomainName": { + "type": "string", + "description": "Fully qualified domain name (FQDN) or IP address of the target server. This property is optional. When provided, the migration service will always use it to connect to the target server." + }, + "secretParameters": { + "$ref": "#/definitions/MigrationSecretParameters", + "description": "Migration secret parameters." + }, + "dbsToMigrate": { + "maxItems": 50, + "type": "array", + "items": { + "type": "string" + }, + "description": "Names of databases to migrate.", + "x-ms-identifiers": [] + }, + "setupLogicalReplicationOnSourceDbIfNeeded": { + "type": "string", + "enum": [ + "True", + "False" + ], + "x-ms-enum": { + "name": "LogicalReplicationOnSourceDbEnum", + "modelAsString": true + }, + "description": "Indicates whether to setup LogicalReplicationOnSourceDb, if needed." + }, + "overwriteDbsInTarget": { + "type": "string", + "enum": [ + "True", + "False" + ], + "x-ms-enum": { + "name": "OverwriteDbsInTargetEnum", + "modelAsString": true + }, + "description": "Indicates if databases on the target server can be overwritten when already present. If set to 'False', when the migration workflow detects that the database already exists on the target server, it will wait for a confirmation." + }, + "migrationWindowStartTimeInUtc": { + "format": "date-time", + "type": "string", + "description": "Start time (UTC) for migration window." + }, + "migrationWindowEndTimeInUtc": { + "format": "date-time", + "type": "string", + "description": "End time (UTC) for migration window." + }, + "migrateRoles": { + "type": "string", + "enum": [ + "True", + "False" + ], + "x-ms-enum": { + "name": "MigrateRolesEnum", + "modelAsString": true + }, + "description": "Indicates if roles and permissions must be migrated." + }, + "startDataMigration": { + "type": "string", + "enum": [ + "True", + "False" + ], + "x-ms-enum": { + "name": "StartDataMigrationEnum", + "modelAsString": true + }, + "description": "Indicates if data migration must start right away." + }, + "triggerCutover": { + "type": "string", + "enum": [ + "True", + "False" + ], + "x-ms-enum": { + "name": "TriggerCutoverEnum", + "modelAsString": true + }, + "description": "Indicates if cutover must be triggered for the entire migration." + }, + "dbsToTriggerCutoverOn": { + "type": "array", + "items": { + "type": "string" + }, + "description": "When you want to trigger cutover for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array.", + "x-ms-identifiers": [] + }, + "cancel": { + "type": "string", + "enum": [ + "True", + "False" + ], + "x-ms-enum": { + "name": "CancelEnum", + "modelAsString": true + }, + "description": "Indicates if cancel must be triggered for the entire migration." + }, + "dbsToCancelMigrationOn": { + "type": "array", + "items": { + "type": "string" + }, + "description": "When you want to trigger cancel for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array.", + "x-ms-identifiers": [] + } + }, + "description": "Migration." + }, + "MigrationResourceListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/MigrationResource" + }, + "readOnly": true, + "description": "List of migrations.", + "x-ms-identifiers": [] + }, + "nextLink": { + "description": "Link used to get the next page of results.", + "type": "string", + "readOnly": true + } + }, + "description": "List of migrations." + }, + "MigrationResourceForPatch": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/MigrationResourcePropertiesForPatch", + "description": "Migration properties.", + "x-ms-client-flatten": true + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Application-specific metadata in the form of key-value pairs." + } + }, + "description": "Migration." + }, + "MigrationResourcePropertiesForPatch": { + "type": "object", + "properties": { + "sourceDbServerResourceId": { + "type": "string", + "description": "Identifier of the source database server resource, when 'sourceType' is 'PostgreSQLSingleServer'. For other source types this must be set to ipaddress:port@username or hostname:port@username." + }, + "sourceDbServerFullyQualifiedDomainName": { + "type": "string", + "description": "Fully qualified domain name (FQDN) or IP address of the source server. This property is optional. When provided, the migration service will always use it to connect to the source server." + }, + "targetDbServerFullyQualifiedDomainName": { + "type": "string", + "description": "Fully qualified domain name (FQDN) or IP address of the target server. This property is optional. When provided, the migration service will always use it to connect to the target server." + }, + "secretParameters": { + "$ref": "#/definitions/MigrationSecretParameters", + "description": "Migration secret parameters." + }, + "dbsToMigrate": { + "maxItems": 50, + "type": "array", + "items": { + "type": "string" + }, + "description": "Names of databases to migrate.", + "x-ms-identifiers": [] + }, + "setupLogicalReplicationOnSourceDbIfNeeded": { + "type": "string", + "enum": [ + "True", + "False" + ], + "x-ms-enum": { + "name": "LogicalReplicationOnSourceDbEnum", + "modelAsString": true + }, + "description": "Indicates whether to setup LogicalReplicationOnSourceDb, if needed." + }, + "overwriteDbsInTarget": { + "type": "string", + "enum": [ + "True", + "False" + ], + "x-ms-enum": { + "name": "OverwriteDbsInTargetEnum", + "modelAsString": true + }, + "description": "Indicates if databases on the target server can be overwritten when already present. If set to 'False', when the migration workflow detects that the database already exists on the target server, it will wait for a confirmation." + }, + "migrationWindowStartTimeInUtc": { + "format": "date-time", + "type": "string", + "description": "Start time (UTC) for migration window." + }, + "migrateRoles": { + "type": "string", + "enum": [ + "True", + "False" + ], + "x-ms-enum": { + "name": "MigrateRolesEnum", + "modelAsString": true + }, + "description": "Indicates if roles and permissions must be migrated." + }, + "startDataMigration": { + "type": "string", + "enum": [ + "True", + "False" + ], + "x-ms-enum": { + "name": "StartDataMigrationEnum", + "modelAsString": true + }, + "description": "Indicates if data migration must start right away." + }, + "triggerCutover": { + "type": "string", + "enum": [ + "True", + "False" + ], + "x-ms-enum": { + "name": "TriggerCutoverEnum", + "modelAsString": true + }, + "description": "Indicates if cutover must be triggered for the entire migration." + }, + "dbsToTriggerCutoverOn": { + "type": "array", + "items": { + "type": "string" + }, + "description": "When you want to trigger cutover for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array.", + "x-ms-identifiers": [] + }, + "cancel": { + "type": "string", + "enum": [ + "True", + "False" + ], + "x-ms-enum": { + "name": "CancelEnum", + "modelAsString": true + }, + "description": "Indicates if cancel must be triggered for the entire migration." + }, + "dbsToCancelMigrationOn": { + "type": "array", + "items": { + "type": "string" + }, + "description": "When you want to trigger cancel for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array.", + "x-ms-identifiers": [] + }, + "migrationMode": { + "$ref": "#/definitions/MigrationMode", + "description": "Mode used to perform the migration: Online or Offline." + } + }, + "description": "Migration properties." + }, + "MigrationSecretParameters": { + "required": [ + "adminCredentials" + ], + "type": "object", + "properties": { + "adminCredentials": { + "x-ms-secret": true, + "x-ms-external": true, + "$ref": "#/definitions/AdminCredentials", + "description": "Credentials of administrator users for source and target servers." + }, + "sourceServerUsername": { + "type": "string", + "x-ms-mutability": [ + "create", + "update" + ], + "description": "Gets or sets the name of the user for the source server. This user doesn't need to be an administrator." + }, + "targetServerUsername": { + "type": "string", + "x-ms-mutability": [ + "create", + "update" + ], + "description": "Gets or sets the name of the user for the target server. This user doesn't need to be an administrator." + } + }, + "description": "Migration secret parameters." + }, + "AdminCredentials": { + "type": "object", + "required": [ + "sourceServerPassword", + "targetServerPassword" + ], + "properties": { + "sourceServerPassword": { + "type": "string", + "x-ms-secret": true, + "x-ms-external": true, + "x-ms-mutability": [ + "create", + "update" + ], + "description": "Password for the user of the source server." + }, + "targetServerPassword": { + "type": "string", + "x-ms-secret": true, + "x-ms-external": true, + "x-ms-mutability": [ + "create", + "update" + ], + "description": "Password for the user of the target server." + } + }, + "description": "Credentials of administrator users for source and target servers." + }, + "DbServerMetadata": { + "type": "object", + "properties": { + "location": { + "type": "string", + "description": "Location of database server.", + "x-ms-mutability": [ + "read" + ], + "readOnly": true + }, + "version": { + "type": "string", + "description": "Major version of PostgreSQL database engine." + }, + "storageMb": { + "format": "int32", + "type": "integer", + "description": "Storage size (in MB) for database server." + }, + "sku": { + "$ref": "#/definitions/ServerSku", + "description": "Compute tier and size of the database server. This object is empty for an Azure Database for PostgreSQL single server." + } + }, + "description": "Database server metadata." + }, + "MigrationDetailsLevel": { + "enum": [ + "Default", + "Summary", + "Full" + ], + "type": "string", + "description": "Level of details of a migration.", + "x-ms-enum": { + "name": "MigrationDetailsLevel", + "modelAsString": true + } + }, + "MigrationMode": { + "enum": [ + "Offline", + "Online" + ], + "type": "string", + "description": "Mode used to perform the migration: Online or Offline.", + "x-ms-enum": { + "name": "MigrationMode", + "modelAsString": true + } + }, + "MigrationOption": { + "enum": [ + "Validate", + "Migrate", + "ValidateAndMigrate" + ], + "type": "string", + "description": "Supported option for a migration", + "x-ms-enum": { + "name": "MigrationOption", + "modelAsString": true + } + }, + "MigrationState": { + "enum": [ + "InProgress", + "WaitingForUserAction", + "Canceled", + "Failed", + "Succeeded", + "ValidationFailed", + "CleaningUp" + ], + "type": "string", + "description": "State of migration.", + "x-ms-enum": { + "name": "MigrationState", + "modelAsString": true + } + }, + "MigrationStatus": { + "type": "object", + "properties": { + "state": { + "$ref": "#/definitions/MigrationState", + "readOnly": true, + "description": "State of migration." + }, + "error": { + "type": "string", + "readOnly": true, + "description": "Error message, if any, for the migration state." + }, + "currentSubStateDetails": { + "$ref": "#/definitions/MigrationSubStateDetails", + "readOnly": true, + "description": "Current migration sub state details." + } + }, + "description": "State of migration." + }, + "MigrationSubState": { + "enum": [ + "PerformingPreRequisiteSteps", + "WaitingForLogicalReplicationSetupRequestOnSourceDB", + "WaitingForDBsToMigrateSpecification", + "WaitingForTargetDBOverwriteConfirmation", + "WaitingForDataMigrationScheduling", + "WaitingForDataMigrationWindow", + "MigratingData", + "WaitingForCutoverTrigger", + "CompletingMigration", + "Completed", + "CancelingRequestedDBMigrations", + "ValidationInProgress" + ], + "type": "string", + "description": "Substate of migration.", + "x-ms-enum": { + "name": "MigrationSubState", + "modelAsString": true + } + }, + "MigrationSubStateDetails": { + "type": "object", + "properties": { + "currentSubState": { + "$ref": "#/definitions/MigrationSubState", + "readOnly": true + }, + "dbDetails": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/DbMigrationStatus" + } + }, + "validationDetails": { + "$ref": "#/definitions/ValidationDetails" + } + }, + "description": "Details of migration substate." + }, + "DbMigrationStatus": { + "type": "object", + "description": "Migration status of a database.", + "properties": { + "databaseName": { + "type": "string", + "description": "Name of database." + }, + "migrationState": { + "type": "string", + "description": "Migration state of a database.", + "enum": [ + "InProgress", + "WaitingForCutoverTrigger", + "Failed", + "Canceled", + "Succeeded", + "Canceling" + ], + "x-ms-enum": { + "name": "MigrationDbState", + "modelAsString": true + } + }, + "migrationOperation": { + "type": "string", + "description": "Migration operation of a database." + }, + "startedOn": { + "type": "string", + "format": "date-time", + "description": "Start time of a migration state." + }, + "endedOn": { + "type": "string", + "format": "date-time", + "description": "End time of a migration state." + }, + "fullLoadQueuedTables": { + "format": "int32", + "type": "integer", + "description": "Number of tables queued for the migration of a database." + }, + "fullLoadErroredTables": { + "format": "int32", + "type": "integer", + "description": "Number of tables encountering errors during the migration of a database." + }, + "fullLoadLoadingTables": { + "format": "int32", + "type": "integer", + "description": "Number of tables loading during the migration of a database." + }, + "fullLoadCompletedTables": { + "format": "int32", + "type": "integer", + "description": "Number of tables loaded during the migration of a database." + }, + "cdcUpdateCounter": { + "format": "int32", + "type": "integer", + "description": "Change Data Capture update counter." + }, + "cdcDeleteCounter": { + "format": "int32", + "type": "integer", + "description": "Change Data Capture delete counter." + }, + "cdcInsertCounter": { + "format": "int32", + "type": "integer", + "description": "Change Data Capture insert counter." + }, + "appliedChanges": { + "format": "int32", + "type": "integer", + "description": "Change Data Capture applied changes counter." + }, + "incomingChanges": { + "format": "int32", + "type": "integer", + "description": "Change Data Capture incoming changes counter." + }, + "latency": { + "format": "int32", + "type": "integer", + "description": "Lag in seconds between source and target during online phase." + }, + "message": { + "type": "string", + "description": "Error message, if any, for the migration state." + } + } + }, + "ValidationDetails": { + "type": "object", + "description": "Details for the validation for migration.", + "properties": { + "status": { + "$ref": "#/definitions/ValidationState" + }, + "validationStartTimeInUtc": { + "type": "string", + "format": "date-time", + "description": "Start time (UTC) for validation." + }, + "validationEndTimeInUtc": { + "type": "string", + "format": "date-time", + "description": "End time (UTC) for validation." + }, + "serverLevelValidationDetails": { + "type": "array", + "items": { + "$ref": "#/definitions/ValidationSummaryItem" + }, + "description": "Details of server level validations.", + "x-ms-identifiers": [] + }, + "dbLevelValidationDetails": { + "type": "array", + "items": { + "$ref": "#/definitions/DbLevelValidationStatus" + }, + "description": "Details of server level validations.", + "x-ms-identifiers": [ + "databaseName" + ] + } + } + }, + "DbLevelValidationStatus": { + "type": "object", + "description": "Validation status summary for a database.", + "properties": { + "databaseName": { + "type": "string", + "description": "Name of database." + }, + "startedOn": { + "type": "string", + "format": "date-time", + "description": "Start time of a database level validation." + }, + "endedOn": { + "type": "string", + "format": "date-time", + "description": "End time of a database level validation." + }, + "summary": { + "type": "array", + "items": { + "$ref": "#/definitions/ValidationSummaryItem" + }, + "description": "Summary of database level validations.", + "x-ms-identifiers": [] + } + } + }, + "ValidationSummaryItem": { + "type": "object", + "description": "Validation summary object.", + "properties": { + "type": { + "type": "string", + "description": "Validation type." + }, + "state": { + "$ref": "#/definitions/ValidationState" + }, + "messages": { + "type": "array", + "items": { + "$ref": "#/definitions/ValidationMessage" + }, + "description": "Validation messages.", + "x-ms-identifiers": [] + } + } + }, + "ValidationMessage": { + "type": "object", + "description": "Validation message object.", + "properties": { + "state": { + "$ref": "#/definitions/ValidationState", + "description": "Severity of validation message." + }, + "message": { + "type": "string", + "description": "Validation message string." + } + } + }, + "ValidationState": { + "type": "string", + "description": "Validation status for migration.", + "enum": [ + "Failed", + "Succeeded", + "Warning" + ], + "x-ms-enum": { + "name": "ValidationState", + "modelAsString": true + } + }, + "SourceType": { + "enum": [ + "OnPremises", + "AWS", + "GCP", + "AzureVM", + "PostgreSQLSingleServer", + "AWS_RDS", + "AWS_AURORA", + "AWS_EC2", + "GCP_CloudSQL", + "GCP_AlloyDB", + "GCP_Compute", + "EDB" + ], + "type": "string", + "description": "Source server type used for the migration: ApsaraDB_RDS, AWS, AWS_AURORA, AWS_EC2, AWS_RDS, AzureVM, Crunchy_PostgreSQL, Digital_Ocean_Droplets, Digital_Ocean_PostgreSQL, EDB, EDB_Oracle_Server, EDB_PostgreSQL, GCP, GCP_AlloyDB, GCP_CloudSQL, GCP_Compute, Heroku_PostgreSQL, Huawei_Compute, Huawei_RDS, OnPremises, PostgreSQLCosmosDB, PostgreSQLFlexibleServer, PostgreSQLSingleServer, or Supabase_PostgreSQL", + "x-ms-enum": { + "name": "SourceType", + "modelAsString": true + } + }, + "SslMode": { + "enum": [ + "Prefer", + "Require", + "VerifyCA", + "VerifyFull" + ], + "type": "string", + "description": "SSL mode used by a migration. Default SSL mode for 'PostgreSQLSingleServer' is 'VerifyFull'. Default SSL mode for other source types is 'Prefer'.", + "x-ms-enum": { + "name": "SslMode", + "modelAsString": true + } + }, + "ServerSku": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Compute tier and size of the database server. This object is empty for an Azure Database for PostgreSQL single server." + }, + "tier": { + "type": "string", + "description": "Tier of the compute assigned to a flexible server.", + "enum": [ + "Burstable", + "GeneralPurpose", + "MemoryOptimized" + ], + "x-ms-enum": { + "name": "SkuTier", + "modelAsString": true + } + } + }, + "description": "Compute information of a flexible server." + }, + "MigrationNameAvailabilityReason": { + "enum": [ + "Invalid", + "AlreadyExists" + ], + "type": "string", + "description": "Migration name availability reason.", + "x-ms-enum": { + "name": "MigrationNameAvailabilityReason", + "modelAsString": true + } + }, + "MigrationNameAvailabilityResource": { + "required": [ + "name", + "type" + ], + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of the migration to check for validity and availability." + }, + "type": { + "type": "string", + "description": "Type of resource." + }, + "nameAvailable": { + "type": "boolean", + "description": "Indicates if the migration name is available.", + "readOnly": true + }, + "reason": { + "$ref": "#/definitions/MigrationNameAvailabilityReason", + "description": "Migration name availability reason.", + "readOnly": true + }, + "message": { + "type": "string", + "description": "Migration name availability message.", + "readOnly": true + } + }, + "description": "Availability of a migration name." + } + }, + "parameters": { + "TargetDbServerSubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "Identifier of subscription of target database server.", + "pattern": "([a-z0-9]){8,8}[-]([a-z0-9]){4,4}[-]([a-z0-9]){4,4}[-]([a-z0-9]){4,4}[-]([a-z0-9]){12,12}", + "x-ms-parameter-location": "method" + }, + "TargetDbServerResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "Name of resource group of target database server.", + "pattern": "^[-a-z0-9A-Z._()]+[^.]$", + "x-ms-parameter-location": "method" + }, + "TargetDbServerNameParameter": { + "name": "targetDbServerName", + "in": "path", + "required": true, + "type": "string", + "description": "Name of target database server.", + "pattern": "([-a-z0-9]){3,63}", + "x-ms-parameter-location": "method" + }, + "MigrationNameParameter": { + "name": "migrationName", + "in": "path", + "required": true, + "type": "string", + "description": "Name of migration.", + "pattern": "^[a-z][a-z0-9]*$", + "x-ms-parameter-location": "method" + }, + "MigrationListFilter": { + "name": "migrationListFilter", + "in": "query", + "required": false, + "enum": [ + "Active", + "All" + ], + "type": "string", + "description": "Migration list filter. Retrieves either active migrations or all migrations.", + "x-ms-enum": { + "name": "MigrationListFilter", + "modelAsString": true + }, + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Operations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Operations.json new file mode 100644 index 000000000000..774d7fa20f8a --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Operations.json @@ -0,0 +1,164 @@ +{ + "swagger": "2.0", + "info": { + "title": "PostgreSQLManagementClient", + "description": "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.", + "version": "2024-08-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Microsoft Entra OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/providers/Microsoft.DBforPostgreSQL/operations": { + "get": { + "tags": [ + "Operations" + ], + "operationId": "Operations_List", + "x-ms-examples": { + "List all available REST API operations.": { + "$ref": "./examples/OperationList.json" + } + }, + "description": "Lists all available REST API operations.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + } + } + }, + "definitions": { + "OperationDisplay": { + "type": "object", + "properties": { + "provider": { + "type": "string", + "readOnly": true, + "description": "Name of the resource provider." + }, + "resource": { + "type": "string", + "readOnly": true, + "description": "Type of resource on which the operation is performed." + }, + "operation": { + "type": "string", + "readOnly": true, + "description": "Name of the operation." + }, + "description": { + "type": "string", + "readOnly": true, + "description": "Description of the operation." + } + }, + "description": "Display metadata associated with the operation." + }, + "Operation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "readOnly": true, + "description": "Name of the operation being performed on this particular object." + }, + "display": { + "$ref": "#/definitions/OperationDisplay", + "readOnly": true, + "description": "Localized display information for this particular operation or action." + }, + "isDataAction": { + "description": "Indicates if the operation is a data action.", + "type": "boolean" + }, + "origin": { + "type": "string", + "readOnly": true, + "description": "Intended executor of the operation.", + "enum": [ + "NotSpecified", + "user", + "system" + ], + "x-ms-enum": { + "name": "OperationOrigin", + "modelAsString": true + } + }, + "properties": { + "type": "object", + "additionalProperties": { + "type": "object" + }, + "readOnly": true, + "x-ms-client-flatten": false, + "description": "Additional descriptions for the operation." + } + }, + "description": "REST API operation definition." + }, + "OperationListResult": { + "description": "List of resource provider operations.", + "type": "object", + "properties": { + "value": { + "description": "Collection of available operation details", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "nextLink": { + "description": "Link used to get the next page of results.", + "type": "string" + } + } + } + }, + "parameters": {} +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/PrivateDnsZone.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/PrivateDnsZone.json new file mode 100644 index 000000000000..a37e48aa16e9 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/PrivateDnsZone.json @@ -0,0 +1,77 @@ +{ + "swagger": "2.0", + "info": { + "title": "PostgreSQLManagementClient", + "description": "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.", + "version": "2024-08-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Microsoft Entra OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/providers/Microsoft.DBforPostgreSQL/getPrivateDnsZoneSuffix": { + "post": { + "tags": [ + "GetPrivateDnsZoneSuffix" + ], + "operationId": "GetPrivateDnsZoneSuffix_Execute", + "x-ms-examples": { + "Get the private DNS suffix.": { + "$ref": "./examples/GetPrivateDnsZoneSuffix.json" + } + }, + "description": "Gets the private DNS zone suffix.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PrivateDnsZoneSuffix" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + } + } + }, + "definitions": { + "PrivateDnsZoneSuffix": { + "type": "string", + "description": "Private DNS suffix." + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/PrivateEndpointConnections.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/PrivateEndpointConnections.json new file mode 100644 index 000000000000..6cc173dde8dd --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/PrivateEndpointConnections.json @@ -0,0 +1,270 @@ +{ + "swagger": "2.0", + "info": { + "title": "PostgreSQLManagementClient", + "description": "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.", + "version": "2024-08-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Microsoft Entra OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}": { + "get": { + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Gets a private endpoint connection.", + "operationId": "PrivateEndpointConnections_Get", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/PrivateEndpointConnectionNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved a specified private endpoint connection.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/privatelinks.json#/definitions/PrivateEndpointConnection" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get a private endpoint connection.": { + "$ref": "./examples/PrivateEndpointConnectionGet.json" + } + } + }, + "put": { + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Approves or rejects a private endpoint connection.", + "operationId": "PrivateEndpointConnection_Update", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/PrivateEndpointConnectionNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/privatelinks.json#/definitions/PrivateEndpointConnection" + }, + "description": "Parameters required to update a private endpoint connection." + } + ], + "responses": { + "200": { + "description": "Successfully approved or rejected private endpoint connection.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/privatelinks.json#/definitions/PrivateEndpointConnection" + } + }, + "201": { + "description": "Successfully approved or rejected private endpoint connection.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/privatelinks.json#/definitions/PrivateEndpointConnection" + } + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Approve or reject a private endpoint connection.": { + "$ref": "./examples/PrivateEndpointConnectionUpdate.json" + } + } + }, + "delete": { + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Deletes a private endpoint connection.", + "operationId": "PrivateEndpointConnection_Delete", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/PrivateEndpointConnectionNameParameter" + } + ], + "responses": { + "202": { + "description": "Accepted and the operation will complete asynchronously.", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "Private endpoint connection does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "Delete a private endpoint connection.": { + "$ref": "./examples/PrivateEndpointConnectionDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/privateEndpointConnections": { + "get": { + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Lists all private endpoint connections on a flexible server.", + "operationId": "PrivateEndpointConnections_ListByServer", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved private endpoint connections.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List all private endpoint connections on a flexible server.": { + "$ref": "./examples/PrivateEndpointConnectionList.json" + } + } + } + } + }, + "definitions": { + "PrivateEndpointConnectionListResult": { + "description": "List of private endpoint connections.", + "type": "object", + "properties": { + "value": { + "description": "Array of results.", + "type": "array", + "items": { + "$ref": "../../../../../common-types/resource-management/v5/privatelinks.json#/definitions/PrivateEndpointConnection" + }, + "readOnly": true + }, + "nextLink": { + "description": "Link used to get the next page of results.", + "type": "string", + "format": "uri", + "readOnly": true + } + } + } + }, + "parameters": {} +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/PrivateLinkResources.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/PrivateLinkResources.json new file mode 100644 index 000000000000..30fef3be8fe4 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/PrivateLinkResources.json @@ -0,0 +1,155 @@ +{ + "swagger": "2.0", + "info": { + "title": "PostgreSQLManagementClient", + "description": "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.", + "version": "2024-08-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Microsoft Entra OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/privateLinkResources": { + "get": { + "tags": [ + "PrivateLinkResources" + ], + "description": "Gets the private link resources for PostgreSQL server.", + "operationId": "PrivateLinkResources_ListByServer", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved private link resources.", + "schema": { + "$ref": "#/definitions/PrivateLinkResourceListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Gets private link resources for PostgreSQL.": { + "$ref": "./examples/PrivateLinkResourcesList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/privateLinkResources/{groupName}": { + "get": { + "tags": [ + "PrivateLinkResources" + ], + "description": "Gets a private link resource for PostgreSQL server.", + "operationId": "PrivateLinkResources_Get", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" + }, + { + "name": "groupName", + "in": "path", + "description": "The name of the private link resource.", + "required": true, + "type": "string", + "pattern": "^.*$" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved private link resources.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/privatelinks.json#/definitions/PrivateLinkResource" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets a private link resource for PostgreSQL.": { + "$ref": "./examples/PrivateLinkResourcesGet.json" + } + } + } + } + }, + "definitions": { + "PrivateLinkResourceListResult": { + "description": "A list of private link resources", + "type": "object", + "properties": { + "value": { + "description": "Array of results.", + "type": "array", + "items": { + "$ref": "../../../../../common-types/resource-management/v5/privatelinks.json#/definitions/PrivateLinkResource" + }, + "readOnly": true + }, + "nextLink": { + "description": "Link to retrieve next page of results.", + "type": "string", + "readOnly": true + } + } + } + }, + "parameters": {} +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Replicas.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Replicas.json new file mode 100644 index 000000000000..6fd672a0759a --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Replicas.json @@ -0,0 +1,83 @@ +{ + "swagger": "2.0", + "info": { + "title": "PostgreSQLManagementClient", + "description": "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.", + "version": "2024-08-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Microsoft Entra OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/replicas": { + "get": { + "tags": [ + "Replicas" + ], + "operationId": "Replicas_ListByServer", + "x-ms-examples": { + "List all read replicas of a flexible server.": { + "$ref": "./examples/ReplicasListByServer.json" + } + }, + "description": "Lists all read replicas of a flexible server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "./FlexibleServers.json#/definitions/ServerListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/ServerLogs.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/ServerLogs.json new file mode 100644 index 000000000000..4699fe88521d --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/ServerLogs.json @@ -0,0 +1,148 @@ +{ + "swagger": "2.0", + "info": { + "title": "PostgreSQLManagementClient", + "description": "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.", + "version": "2024-08-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Microsoft Entra OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/logFiles": { + "get": { + "tags": [ + "LogFiles" + ], + "operationId": "LogFiles_ListByServer", + "x-ms-examples": { + "List all captured logs for download in a flexible server.": { + "$ref": "./examples/LogFilesListByServer.json" + } + }, + "description": "Lists all captured logs for download in a flexible server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/LogFileListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "LogFileProperties": { + "type": "object", + "properties": { + "createdTime": { + "type": "string", + "format": "date-time", + "description": "Creation timestamp of the log file." + }, + "lastModifiedTime": { + "type": "string", + "format": "date-time", + "description": "Last modified timestamp of the log file." + }, + "sizeInKb": { + "type": "integer", + "format": "int64", + "description": "Size (in KB) of the log file." + }, + "type": { + "type": "string", + "description": "Type of log file. Can be 'ServerLogs' or 'UpgradeLogs'." + }, + "url": { + "type": "string", + "description": "URL to download the log file from." + } + }, + "description": "Properties of a log file." + }, + "LogFile": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/LogFileProperties", + "x-ms-client-flatten": true, + "description": "Properties of a log file." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ], + "description": "Log file." + }, + "LogFileListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/LogFile" + }, + "description": "List of log files in a flexible server." + }, + "nextLink": { + "description": "Link used to get the next page of results.", + "type": "string" + } + }, + "description": "List of log files." + } + }, + "parameters": {} +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/ServerStartStopRestart.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/ServerStartStopRestart.json new file mode 100644 index 000000000000..c15319e38d90 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/ServerStartStopRestart.json @@ -0,0 +1,229 @@ +{ + "swagger": "2.0", + "info": { + "title": "PostgreSQLManagementClient", + "description": "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.", + "version": "2024-08-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Microsoft Entra OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/restart": { + "post": { + "tags": [ + "ServerRestart" + ], + "operationId": "Servers_Restart", + "x-ms-examples": { + "Restart PostgreSQL database engine in a flexible server.": { + "$ref": "./examples/ServerRestart.json" + }, + "Restart PostgreSQL database engine in a flexible server with a forced failover to standby server.": { + "$ref": "./examples/ServerRestartWithFailover.json" + } + }, + "description": "Restarts PostgreSQL database engine in a flexible server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" + }, + { + "name": "parameters", + "in": "body", + "schema": { + "$ref": "#/definitions/RestartParameter" + }, + "description": "Parameters to restart a flexible server." + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/start": { + "post": { + "tags": [ + "ServerStart" + ], + "operationId": "Servers_Start", + "x-ms-examples": { + "Start a stopped flexible server.": { + "$ref": "./examples/ServerStart.json" + } + }, + "description": "Starts a stopped flexible server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/stop": { + "post": { + "tags": [ + "ServerStop" + ], + "operationId": "Servers_Stop", + "x-ms-examples": { + "Stop a flexible server.": { + "$ref": "./examples/ServerStop.json" + } + }, + "description": "Stops a flexible server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + } + }, + "definitions": { + "RestartParameter": { + "type": "object", + "properties": { + "restartWithFailover": { + "type": "boolean", + "description": "Indicates if restart the PostgreSQL database engine should failover or switch over from primary to standby. This only works if flexible server has high availability enabled." + }, + "failoverMode": { + "type": "string", + "description": "Failover mode.", + "enum": [ + "PlannedFailover", + "ForcedFailover", + "PlannedSwitchover", + "ForcedSwitchover" + ], + "x-ms-enum": { + "name": "FailoverMode", + "modelAsString": true + } + } + }, + "description": "PostgreSQL database engine restart parameters." + } + }, + "parameters": {} +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/ThreatProtection.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/ThreatProtection.json new file mode 100644 index 000000000000..bbdc0bae0307 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/ThreatProtection.json @@ -0,0 +1,280 @@ +{ + "swagger": "2.0", + "info": { + "title": "PostgreSQLManagementClient", + "description": "The Azure Database for PostgreSQL management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, administrators, log files, configurations, migrations, advanced threat protection settings with new business model.", + "version": "2024-08-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Microsoft Entra OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/advancedThreatProtectionSettings": { + "get": { + "tags": [ + "AdvancedThreatProtectionSettings" + ], + "description": "Lists state of advanced threat protection settings for a flexible server.", + "operationId": "ServerThreatProtectionSettings_ListByServer", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved the server threat detection policy.", + "schema": { + "$ref": "#/definitions/ServerThreatProtectionListResult" + } + }, + "default": { + "description": "Error response describing why the operation of advanced threat protection on the flexible server failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List state of advanced threat protection settings for a flexible server.": { + "$ref": "./examples/ServerThreatProtectionSettingsListByServer.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/advancedThreatProtectionSettings/{threatProtectionName}": { + "get": { + "tags": [ + "AdvancedThreatProtectionSettings" + ], + "description": "Gets state of advanced threat protection settings for a flexible server.", + "operationId": "ServerThreatProtectionSettings_Get", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/ThreatProtectionNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved the server advanced threat protection settings.", + "schema": { + "$ref": "#/definitions/ServerThreatProtectionSettingsModel" + } + }, + "default": { + "description": "Error response describing why the operation of threat protection on the flexible server failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get state of advanced threat protection settings for a flexible server.": { + "$ref": "./examples/ServerThreatProtectionSettingsGet.json" + } + } + }, + "put": { + "tags": [ + "AdvancedThreatProtectionSettings" + ], + "description": "Creates or updates a server's Advanced Threat Protection settings.", + "operationId": "ServerThreatProtectionSettings_CreateOrUpdate", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/ThreatProtectionNameParameter" + }, + { + "name": "parameters", + "in": "body", + "description": "The Advanced Threat Protection state for the flexible server.", + "required": true, + "schema": { + "$ref": "#/definitions/ServerThreatProtectionSettingsModel" + } + } + ], + "responses": { + "200": { + "description": "Successfully set or update the server Threat Protection settings.", + "schema": { + "$ref": "#/definitions/ServerThreatProtectionSettingsModel" + } + }, + "default": { + "description": "Error response describing why the operation of setting Threat Protection failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + }, + "201": { + "description": "Successfully created the server Threat Protection settings.", + "schema": { + "$ref": "#/definitions/ServerThreatProtectionSettingsModel" + } + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "Update a server's Threat Protection settings": { + "$ref": "./examples/ServerThreatProtectionSettingsCreateOrUpdate.json" + } + } + } + } + }, + "definitions": { + "ServerThreatProtectionProperties": { + "description": "Properties of advanced threat protection state for a flexible server.", + "required": [ + "state" + ], + "type": "object", + "properties": { + "state": { + "description": "Specifies the state of the advanced threat protection, whether it is enabled, disabled, or a state has not been applied yet on the flexible server.", + "enum": [ + "Enabled", + "Disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "ThreatProtectionState", + "modelAsString": false + } + }, + "creationTime": { + "format": "date-time", + "description": "Specifies the creation time (UTC) of the policy.", + "type": "string", + "readOnly": true + } + } + }, + "ServerThreatProtectionSettingsModel": { + "description": "Advanced threat protection settings of the flexible server.", + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/ServerThreatProtectionProperties", + "description": "Advanced threat protection properties.", + "x-ms-client-flatten": true + } + } + }, + "ServerThreatProtectionListResult": { + "description": "List of advanced threat protection settings for a flexible server.", + "type": "object", + "properties": { + "value": { + "description": "Array of results.", + "type": "array", + "items": { + "$ref": "#/definitions/ServerThreatProtectionSettingsModel" + }, + "readOnly": true + }, + "nextLink": { + "description": "Link used to get the next page of results.", + "type": "string", + "readOnly": true + } + } + } + }, + "parameters": { + "ThreatProtectionNameParameter": { + "name": "threatProtectionName", + "in": "path", + "description": "Name of the advanced threat protection settings.", + "required": true, + "type": "string", + "enum": [ + "Default" + ], + "x-ms-enum": { + "name": "ThreatProtectionName", + "modelAsString": true + }, + "pattern": "^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/VirtualEndpoints.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/VirtualEndpoints.json new file mode 100644 index 000000000000..9023b9ba3ce1 --- /dev/null +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/VirtualEndpoints.json @@ -0,0 +1,403 @@ +{ + "swagger": "2.0", + "info": { + "title": "PostgreSQLManagementClient", + "description": "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.", + "version": "2024-08-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Microsoft Entra OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/virtualendpoints/{virtualEndpointName}": { + "put": { + "tags": [ + "VirtualEndpoints" + ], + "operationId": "VirtualEndpoints_Create", + "x-ms-examples": { + "Create a pair of virtual endpoints for a flexible server.": { + "$ref": "./examples/VirtualEndpointCreate.json" + } + }, + "description": "Creates a pair of virtual endpoints for a flexible server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/VirtualEndpointNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualEndpointResource" + }, + "description": "Parameters required to create or update a pair of virtual endpoints." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/VirtualEndpointResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/VirtualEndpointResource" + } + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "VirtualEndpoints" + ], + "operationId": "VirtualEndpoints_Update", + "x-ms-examples": { + "Update a pair of virtual endpoints for a flexible server.": { + "$ref": "./examples/VirtualEndpointUpdate.json" + } + }, + "description": "Updates a pair of virtual endpoints for a flexible server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/VirtualEndpointNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualEndpointResourceForPatch" + }, + "description": "Parameters required to update a pair of virtual endpoints." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/VirtualEndpointResource" + } + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "delete": { + "tags": [ + "VirtualEndpoints" + ], + "operationId": "VirtualEndpoints_Delete", + "x-ms-examples": { + "Delete a pair of virtual endpoints.": { + "$ref": "./examples/VirtualEndpointDelete.json" + } + }, + "description": "Deletes a pair of virtual endpoints.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/VirtualEndpointNameParameter" + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "NoContent" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "VirtualEndpoints" + ], + "operationId": "VirtualEndpoints_Get", + "x-ms-examples": { + "Get information about a pair of virtual endpoints.": { + "$ref": "./examples/VirtualEndpointsGet.json" + } + }, + "description": "Gets information about a pair of virtual endpoints.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" + }, + { + "$ref": "#/parameters/VirtualEndpointNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/VirtualEndpointResource" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/virtualendpoints": { + "get": { + "tags": [ + "VirtualEndpoints" + ], + "operationId": "VirtualEndpoints_ListByServer", + "x-ms-examples": { + "List pair of virtual endpoints associated to a flexible server.": { + "$ref": "./examples/VirtualEndpointsListByServer.json" + } + }, + "description": "Lists pair of virtual endpoints associated to a flexible server.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/VirtualEndpointsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "VirtualEndpointResourceProperties": { + "type": "object", + "properties": { + "endpointType": { + "type": "string", + "description": "Type of endpoint for the virtual endpoints.", + "enum": [ + "ReadWrite" + ], + "x-ms-enum": { + "name": "VirtualEndpointType", + "modelAsString": true + } + }, + "members": { + "type": "array", + "items": { + "type": "string", + "description": "Flexible server that one of the virtual endpoints can refer to." + }, + "description": "List of flexible servers that one of the virtual endpoints can refer to." + }, + "virtualEndpoints": { + "type": "array", + "items": { + "type": "string", + "description": "Virtual endpoints for a flexible server." + }, + "description": "List of virtual endpoints for a flexible server.", + "readOnly": true + } + }, + "description": "Properties of a pair of virtual endpoints." + }, + "VirtualEndpointResource": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/VirtualEndpointResourceForPatch" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Resource" + } + ], + "description": "Pair of virtual endpoints for a flexible server." + }, + "VirtualEndpointResourceForPatch": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualEndpointResourceProperties", + "x-ms-client-flatten": true, + "description": "Properties of the pair of virtual endpoints." + } + }, + "description": "Pair of virtual endpoints for a flexible server." + }, + "VirtualEndpointsListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualEndpointResource" + }, + "description": "List of virtual endpoints." + }, + "nextLink": { + "description": "Link used to get the next page of results.", + "type": "string" + } + }, + "description": "List of virtual endpoints." + } + }, + "parameters": { + "VirtualEndpointNameParameter": { + "name": "virtualEndpointName", + "in": "path", + "required": true, + "type": "string", + "description": "Base name of the virtual endpoints.", + "pattern": "^[A-Za-z0-9][A-Za-z0-9-]{0,62}(? Date: Fri, 25 Jul 2025 14:47:09 -0700 Subject: [PATCH 02/10] changing the version name to 2025-08-01 --- .../stable/2025-08-01/Administrators.json | 2 +- .../Microsoft.DBforPostgreSQL/stable/2025-08-01/Backups.json | 2 +- .../stable/2025-08-01/Capabilities.json | 2 +- .../stable/2025-08-01/CheckNameAvailability.json | 2 +- .../stable/2025-08-01/Configuration.json | 2 +- .../Microsoft.DBforPostgreSQL/stable/2025-08-01/Databases.json | 2 +- .../stable/2025-08-01/FirewallRules.json | 2 +- .../stable/2025-08-01/FlexibleServers.json | 2 +- .../stable/2025-08-01/LongTermRetentionOperation.json | 2 +- .../Microsoft.DBforPostgreSQL/stable/2025-08-01/Migrations.json | 2 +- .../Microsoft.DBforPostgreSQL/stable/2025-08-01/Operations.json | 2 +- .../stable/2025-08-01/PrivateDnsZone.json | 2 +- .../stable/2025-08-01/PrivateEndpointConnections.json | 2 +- .../stable/2025-08-01/PrivateLinkResources.json | 2 +- .../Microsoft.DBforPostgreSQL/stable/2025-08-01/Replicas.json | 2 +- .../Microsoft.DBforPostgreSQL/stable/2025-08-01/ServerLogs.json | 2 +- .../stable/2025-08-01/ServerStartStopRestart.json | 2 +- .../stable/2025-08-01/ThreatProtection.json | 2 +- .../stable/2025-08-01/VirtualEndpoints.json | 2 +- .../stable/2025-08-01/VirtualNetwork.json | 2 +- .../stable/2025-08-01/examples/AdministratorAdd.json | 2 +- .../stable/2025-08-01/examples/AdministratorDelete.json | 2 +- .../stable/2025-08-01/examples/AdministratorGet.json | 2 +- .../stable/2025-08-01/examples/AdministratorsListByServer.json | 2 +- .../stable/2025-08-01/examples/BackupCreate.json | 2 +- .../stable/2025-08-01/examples/BackupDelete.json | 2 +- .../stable/2025-08-01/examples/BackupGet.json | 2 +- .../stable/2025-08-01/examples/BackupListByServer.json | 2 +- .../stable/2025-08-01/examples/CapabilitiesByLocation.json | 2 +- .../2025-08-01/examples/CheckMigrationNameAvailability.json | 2 +- .../stable/2025-08-01/examples/CheckNameAvailability.json | 2 +- .../2025-08-01/examples/CheckNameAvailabilityLocationBased.json | 2 +- .../stable/2025-08-01/examples/ConfigurationGet.json | 2 +- .../stable/2025-08-01/examples/ConfigurationListByServer.json | 2 +- .../2025-08-01/examples/ConfigurationUpdateUsingPatch.json | 2 +- .../stable/2025-08-01/examples/ConfigurationUpdateUsingPut.json | 2 +- .../stable/2025-08-01/examples/DatabaseCreate.json | 2 +- .../stable/2025-08-01/examples/DatabaseDelete.json | 2 +- .../stable/2025-08-01/examples/DatabaseGet.json | 2 +- .../stable/2025-08-01/examples/DatabasesListByServer.json | 2 +- .../stable/2025-08-01/examples/FirewallRuleCreate.json | 2 +- .../stable/2025-08-01/examples/FirewallRuleDelete.json | 2 +- .../stable/2025-08-01/examples/FirewallRuleGet.json | 2 +- .../stable/2025-08-01/examples/FirewallRuleListByServer.json | 2 +- .../stable/2025-08-01/examples/GetPrivateDnsZoneSuffix.json | 2 +- .../stable/2025-08-01/examples/LogFilesListByServer.json | 2 +- .../stable/2025-08-01/examples/LongTermRetentionBackup.json | 2 +- .../2025-08-01/examples/LongTermRetentionOperationGet.json | 2 +- .../examples/LongTermRetentionOperationListByServer.json | 2 +- .../stable/2025-08-01/examples/LongTermRetentionPreBackup.json | 2 +- .../stable/2025-08-01/examples/Migrations_Cancel.json | 2 +- .../stable/2025-08-01/examples/Migrations_Create.json | 2 +- .../Migrations_Create_Other_SourceTypes_Validate_Migrate.json | 2 +- .../2025-08-01/examples/Migrations_Create_Validate_Only.json | 2 +- .../2025-08-01/examples/Migrations_Create_With_Other_Users.json | 2 +- .../Migrations_Create_With_PrivateEndpoint_Servers.json | 2 +- .../2025-08-01/examples/Migrations_Create_With_Roles.json | 2 +- .../stable/2025-08-01/examples/Migrations_Delete.json | 2 +- .../stable/2025-08-01/examples/Migrations_Get.json | 2 +- ...ations_GetMigrationWithSuccessfulValidationAndMigration.json | 2 +- ...GetMigrationWithSuccessfulValidationButMigrationFailure.json | 2 +- .../Migrations_GetMigrationWithSuccessfulValidationOnly.json | 2 +- .../examples/Migrations_GetMigrationWithValidationFailures.json | 2 +- .../2025-08-01/examples/Migrations_ListByTargetServer.json | 2 +- .../stable/2025-08-01/examples/Migrations_Update.json | 2 +- .../stable/2025-08-01/examples/OperationList.json | 2 +- .../2025-08-01/examples/PrivateEndpointConnectionDelete.json | 2 +- .../2025-08-01/examples/PrivateEndpointConnectionGet.json | 2 +- .../2025-08-01/examples/PrivateEndpointConnectionList.json | 2 +- .../2025-08-01/examples/PrivateEndpointConnectionUpdate.json | 2 +- .../stable/2025-08-01/examples/PrivateLinkResourcesGet.json | 2 +- .../stable/2025-08-01/examples/PrivateLinkResourcesList.json | 2 +- .../examples/PromoteReplicaAsForcedStandaloneServer.json | 2 +- .../2025-08-01/examples/PromoteReplicaAsForcedSwitchover.json | 2 +- .../examples/PromoteReplicaAsPlannedStandaloneServer.json | 2 +- .../2025-08-01/examples/PromoteReplicaAsPlannedSwitchover.json | 2 +- .../stable/2025-08-01/examples/ReplicasListByServer.json | 2 +- .../stable/2025-08-01/examples/ServerCapabilities.json | 2 +- .../stable/2025-08-01/examples/ServerCreate.json | 2 +- .../ServerCreateGeoRestoreWithDataEncryptionEnabled.json | 2 +- .../2025-08-01/examples/ServerCreatePointInTimeRestore.json | 2 +- .../stable/2025-08-01/examples/ServerCreateReplica.json | 2 +- .../stable/2025-08-01/examples/ServerCreateReviveDropped.json | 2 +- .../examples/ServerCreateWithDataEncryptionEnabled.json | 2 +- .../examples/ServerCreateWithMicrosoftEntraEnabled.json | 2 +- .../stable/2025-08-01/examples/ServerDelete.json | 2 +- .../stable/2025-08-01/examples/ServerGet.json | 2 +- .../2025-08-01/examples/ServerGetWithPrivateEndpoints.json | 2 +- .../stable/2025-08-01/examples/ServerGetWithVnet.json | 2 +- .../stable/2025-08-01/examples/ServerList.json | 2 +- .../stable/2025-08-01/examples/ServerListByResourceGroup.json | 2 +- .../stable/2025-08-01/examples/ServerRestart.json | 2 +- .../stable/2025-08-01/examples/ServerRestartWithFailover.json | 2 +- .../stable/2025-08-01/examples/ServerStart.json | 2 +- .../stable/2025-08-01/examples/ServerStop.json | 2 +- .../examples/ServerThreatProtectionSettingsCreateOrUpdate.json | 2 +- .../2025-08-01/examples/ServerThreatProtectionSettingsGet.json | 2 +- .../examples/ServerThreatProtectionSettingsListByServer.json | 2 +- .../stable/2025-08-01/examples/ServerUpdate.json | 2 +- .../examples/ServerUpdateWithCustomMaintenanceWindow.json | 2 +- .../examples/ServerUpdateWithDataEncryptionEnabled.json | 2 +- .../examples/ServerUpdateWithMajorVersionUpgrade.json | 2 +- .../examples/ServerUpdateWithMicrosoftEntraEnabled.json | 2 +- .../stable/2025-08-01/examples/VirtualEndpointCreate.json | 2 +- .../stable/2025-08-01/examples/VirtualEndpointDelete.json | 2 +- .../stable/2025-08-01/examples/VirtualEndpointUpdate.json | 2 +- .../stable/2025-08-01/examples/VirtualEndpointsGet.json | 2 +- .../2025-08-01/examples/VirtualEndpointsListByServer.json | 2 +- .../stable/2025-08-01/examples/VirtualNetworkSubnetUsage.json | 2 +- 109 files changed, 109 insertions(+), 109 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Administrators.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Administrators.json index 0a5a2e951317..e3d22d53d44c 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Administrators.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Administrators.json @@ -3,7 +3,7 @@ "info": { "title": "PostgreSQLManagementClient", "description": "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.", - "version": "2024-08-01" + "version": "2025-08-01" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Backups.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Backups.json index 09a2f62fbf8d..c1fbf27d948c 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Backups.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Backups.json @@ -3,7 +3,7 @@ "info": { "title": "PostgreSQLManagementClient", "description": "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.", - "version": "2024-08-01" + "version": "2025-08-01" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Capabilities.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Capabilities.json index 79e77fd05e1f..e36bf3c96688 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Capabilities.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Capabilities.json @@ -3,7 +3,7 @@ "info": { "title": "PostgreSQLManagementClient", "description": "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.", - "version": "2024-08-01" + "version": "2025-08-01" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/CheckNameAvailability.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/CheckNameAvailability.json index d2f55849c3b3..77d6db661d47 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/CheckNameAvailability.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/CheckNameAvailability.json @@ -3,7 +3,7 @@ "info": { "title": "PostgreSQLManagementClient", "description": "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.", - "version": "2024-08-01" + "version": "2025-08-01" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Configuration.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Configuration.json index d24a9e4d5324..c90d22fcc98b 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Configuration.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Configuration.json @@ -3,7 +3,7 @@ "info": { "title": "PostgreSQLManagementClient", "description": "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.", - "version": "2024-08-01" + "version": "2025-08-01" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Databases.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Databases.json index 38bef0897f4a..ede5ef978074 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Databases.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Databases.json @@ -3,7 +3,7 @@ "info": { "title": "PostgreSQLManagementClient", "description": "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.", - "version": "2024-08-01" + "version": "2025-08-01" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/FirewallRules.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/FirewallRules.json index 52833c207dbe..43a6cd575f5e 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/FirewallRules.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/FirewallRules.json @@ -3,7 +3,7 @@ "info": { "title": "PostgreSQLManagementClient", "description": "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.", - "version": "2024-08-01" + "version": "2025-08-01" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/FlexibleServers.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/FlexibleServers.json index 5466e62c21e0..63154560284a 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/FlexibleServers.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/FlexibleServers.json @@ -3,7 +3,7 @@ "info": { "title": "PostgreSQLManagementClient", "description": "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.", - "version": "2024-08-01" + "version": "2025-08-01" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/LongTermRetentionOperation.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/LongTermRetentionOperation.json index ec6dd95b836f..d229d7c6da9d 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/LongTermRetentionOperation.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/LongTermRetentionOperation.json @@ -3,7 +3,7 @@ "info": { "title": "PostgreSQLManagementClient", "description": "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.", - "version": "2024-08-01" + "version": "2025-08-01" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Migrations.json index 10d343e5711d..61d3031f2659 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Migrations.json @@ -3,7 +3,7 @@ "info": { "title": "PostgreSQLManagementClient", "description": "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.", - "version": "2024-08-01" + "version": "2025-08-01" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Operations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Operations.json index 774d7fa20f8a..8b975e919e81 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Operations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Operations.json @@ -3,7 +3,7 @@ "info": { "title": "PostgreSQLManagementClient", "description": "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.", - "version": "2024-08-01" + "version": "2025-08-01" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/PrivateDnsZone.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/PrivateDnsZone.json index a37e48aa16e9..8799100cc764 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/PrivateDnsZone.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/PrivateDnsZone.json @@ -3,7 +3,7 @@ "info": { "title": "PostgreSQLManagementClient", "description": "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.", - "version": "2024-08-01" + "version": "2025-08-01" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/PrivateEndpointConnections.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/PrivateEndpointConnections.json index 6cc173dde8dd..f3a500e72d76 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/PrivateEndpointConnections.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/PrivateEndpointConnections.json @@ -3,7 +3,7 @@ "info": { "title": "PostgreSQLManagementClient", "description": "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.", - "version": "2024-08-01" + "version": "2025-08-01" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/PrivateLinkResources.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/PrivateLinkResources.json index 30fef3be8fe4..3c4cacd708dd 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/PrivateLinkResources.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/PrivateLinkResources.json @@ -3,7 +3,7 @@ "info": { "title": "PostgreSQLManagementClient", "description": "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.", - "version": "2024-08-01" + "version": "2025-08-01" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Replicas.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Replicas.json index 6fd672a0759a..9bf15d73a30b 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Replicas.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Replicas.json @@ -3,7 +3,7 @@ "info": { "title": "PostgreSQLManagementClient", "description": "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.", - "version": "2024-08-01" + "version": "2025-08-01" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/ServerLogs.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/ServerLogs.json index 4699fe88521d..2ff7d3aa5efe 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/ServerLogs.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/ServerLogs.json @@ -3,7 +3,7 @@ "info": { "title": "PostgreSQLManagementClient", "description": "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.", - "version": "2024-08-01" + "version": "2025-08-01" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/ServerStartStopRestart.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/ServerStartStopRestart.json index c15319e38d90..d8bbdbf08341 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/ServerStartStopRestart.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/ServerStartStopRestart.json @@ -3,7 +3,7 @@ "info": { "title": "PostgreSQLManagementClient", "description": "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.", - "version": "2024-08-01" + "version": "2025-08-01" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/ThreatProtection.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/ThreatProtection.json index bbdc0bae0307..d3e8e855f3ab 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/ThreatProtection.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/ThreatProtection.json @@ -3,7 +3,7 @@ "info": { "title": "PostgreSQLManagementClient", "description": "The Azure Database for PostgreSQL management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, administrators, log files, configurations, migrations, advanced threat protection settings with new business model.", - "version": "2024-08-01" + "version": "2025-08-01" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/VirtualEndpoints.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/VirtualEndpoints.json index 9023b9ba3ce1..5e669f77f991 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/VirtualEndpoints.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/VirtualEndpoints.json @@ -3,7 +3,7 @@ "info": { "title": "PostgreSQLManagementClient", "description": "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.", - "version": "2024-08-01" + "version": "2025-08-01" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/VirtualNetwork.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/VirtualNetwork.json index a1399fa10b9e..d10afd192a17 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/VirtualNetwork.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/VirtualNetwork.json @@ -3,7 +3,7 @@ "info": { "title": "PostgreSQLManagementClient", "description": "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.", - "version": "2024-08-01" + "version": "2025-08-01" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/AdministratorAdd.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/AdministratorAdd.json index b31a2182a51a..2c208c88e381 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/AdministratorAdd.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/AdministratorAdd.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/AdministratorDelete.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/AdministratorDelete.json index b12344439671..7e239938c9dc 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/AdministratorDelete.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/AdministratorDelete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/AdministratorGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/AdministratorGet.json index 004326673d3a..2ee03729c388 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/AdministratorGet.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/AdministratorGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/AdministratorsListByServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/AdministratorsListByServer.json index 943787c28c50..5fac6a8237b0 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/AdministratorsListByServer.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/AdministratorsListByServer.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver" diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/BackupCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/BackupCreate.json index eeb6c65ef0ad..b827f32dcea4 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/BackupCreate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/BackupCreate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/BackupDelete.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/BackupDelete.json index acb1b99f0e05..eab486621d94 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/BackupDelete.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/BackupDelete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/BackupGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/BackupGet.json index 3c48b679abd3..d762789d10b5 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/BackupGet.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/BackupGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/BackupListByServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/BackupListByServer.json index e7ac7ba78958..f34f3d7b4837 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/BackupListByServer.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/BackupListByServer.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver" diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/CapabilitiesByLocation.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/CapabilitiesByLocation.json index 08c0287ac55b..e388487a2304 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/CapabilitiesByLocation.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/CapabilitiesByLocation.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "locationName": "westus" }, diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/CheckMigrationNameAvailability.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/CheckMigrationNameAvailability.json index 5fbbf5f59f80..bd1882c2b0da 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/CheckMigrationNameAvailability.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/CheckMigrationNameAvailability.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "targetDbServerName": "exampletarget", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/CheckNameAvailability.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/CheckNameAvailability.json index b988eb6119cf..2b75641a358e 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/CheckNameAvailability.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/CheckNameAvailability.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "nameAvailabilityRequest": { "name": "exampleserver", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/CheckNameAvailabilityLocationBased.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/CheckNameAvailabilityLocationBased.json index 3ff0318995c9..b76caaf29823 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/CheckNameAvailabilityLocationBased.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/CheckNameAvailabilityLocationBased.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "locationName": "westus", "nameAvailabilityRequest": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ConfigurationGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ConfigurationGet.json index c402213a383d..83244d680056 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ConfigurationGet.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ConfigurationGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ConfigurationListByServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ConfigurationListByServer.json index dd8e90300d50..f924a5b09746 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ConfigurationListByServer.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ConfigurationListByServer.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver" diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ConfigurationUpdateUsingPatch.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ConfigurationUpdateUsingPatch.json index e3cd474981a0..8f16b3b23a84 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ConfigurationUpdateUsingPatch.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ConfigurationUpdateUsingPatch.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ConfigurationUpdateUsingPut.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ConfigurationUpdateUsingPut.json index e3cd474981a0..8f16b3b23a84 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ConfigurationUpdateUsingPut.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ConfigurationUpdateUsingPut.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/DatabaseCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/DatabaseCreate.json index fc9112330020..639b29ea971d 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/DatabaseCreate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/DatabaseCreate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/DatabaseDelete.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/DatabaseDelete.json index 6e0d406a36e0..a32122ac46b6 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/DatabaseDelete.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/DatabaseDelete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/DatabaseGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/DatabaseGet.json index 584fd4d11d4e..c9a735abbbea 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/DatabaseGet.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/DatabaseGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/DatabasesListByServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/DatabasesListByServer.json index 15bebe04a9c7..9bb92f3a73e3 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/DatabasesListByServer.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/DatabasesListByServer.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver" diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/FirewallRuleCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/FirewallRuleCreate.json index 6ab0f5bb9908..da7f559031cd 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/FirewallRuleCreate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/FirewallRuleCreate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/FirewallRuleDelete.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/FirewallRuleDelete.json index 71f7abf58a35..79c35a8cd753 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/FirewallRuleDelete.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/FirewallRuleDelete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/FirewallRuleGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/FirewallRuleGet.json index 6a8cc858ddca..c7c49d81fe93 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/FirewallRuleGet.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/FirewallRuleGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/FirewallRuleListByServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/FirewallRuleListByServer.json index 8adb9c19b7f9..ec2eaec8bfa3 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/FirewallRuleListByServer.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/FirewallRuleListByServer.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver" diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/GetPrivateDnsZoneSuffix.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/GetPrivateDnsZoneSuffix.json index a779e14c0918..c9575a2a4748 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/GetPrivateDnsZoneSuffix.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/GetPrivateDnsZoneSuffix.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" }, "responses": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/LogFilesListByServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/LogFilesListByServer.json index 276ad7aec0fe..3b075629f384 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/LogFilesListByServer.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/LogFilesListByServer.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver" diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/LongTermRetentionBackup.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/LongTermRetentionBackup.json index 09ff6466a240..0c46109f2b79 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/LongTermRetentionBackup.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/LongTermRetentionBackup.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/LongTermRetentionOperationGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/LongTermRetentionOperationGet.json index ea0eed09ca31..55acb2e19726 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/LongTermRetentionOperationGet.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/LongTermRetentionOperationGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/LongTermRetentionOperationListByServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/LongTermRetentionOperationListByServer.json index c448e1017e17..dad29765987b 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/LongTermRetentionOperationListByServer.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/LongTermRetentionOperationListByServer.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver" diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/LongTermRetentionPreBackup.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/LongTermRetentionPreBackup.json index f313519424d6..7330ebcd73b6 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/LongTermRetentionPreBackup.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/LongTermRetentionPreBackup.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Cancel.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Cancel.json index 5c3dbc29f42f..d66c8c749c43 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Cancel.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Cancel.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "targetDbServerName": "exampletarget", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Create.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Create.json index efee4b1fd675..2935b7cda200 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Create.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Create.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "targetDbServerName": "exampletarget", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Create_Other_SourceTypes_Validate_Migrate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Create_Other_SourceTypes_Validate_Migrate.json index b9599e9837a9..7d9a464ae881 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Create_Other_SourceTypes_Validate_Migrate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Create_Other_SourceTypes_Validate_Migrate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "targetDbServerName": "exampletarget", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Create_Validate_Only.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Create_Validate_Only.json index 2ce3674bb546..2c3126a8f2ec 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Create_Validate_Only.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Create_Validate_Only.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "targetDbServerName": "exampletarget", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Create_With_Other_Users.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Create_With_Other_Users.json index 114c17a78e6f..88ab3f1924c1 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Create_With_Other_Users.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Create_With_Other_Users.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "targetDbServerName": "exampletarget", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Create_With_PrivateEndpoint_Servers.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Create_With_PrivateEndpoint_Servers.json index 4b82e88a7874..48084985c52c 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Create_With_PrivateEndpoint_Servers.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Create_With_PrivateEndpoint_Servers.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "targetDbServerName": "exampletarget", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Create_With_Roles.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Create_With_Roles.json index a30be216bc2f..14e3cbe0c591 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Create_With_Roles.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Create_With_Roles.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "targetDbServerName": "exampletarget", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Delete.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Delete.json index c4147c68aa58..3ac7c3423040 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Delete.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Delete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "targetDbServerName": "exampletarget", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Get.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Get.json index 74c28c04400a..138dbdd2eb54 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Get.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Get.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "targetDbServerName": "exampletarget", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_GetMigrationWithSuccessfulValidationAndMigration.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_GetMigrationWithSuccessfulValidationAndMigration.json index 8bf19e4df745..0aadc10c477b 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_GetMigrationWithSuccessfulValidationAndMigration.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_GetMigrationWithSuccessfulValidationAndMigration.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "targetDbServerName": "exampletarget", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_GetMigrationWithSuccessfulValidationButMigrationFailure.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_GetMigrationWithSuccessfulValidationButMigrationFailure.json index f1c0e7485f58..b905eb451bcd 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_GetMigrationWithSuccessfulValidationButMigrationFailure.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_GetMigrationWithSuccessfulValidationButMigrationFailure.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "targetDbServerName": "exampletarget", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_GetMigrationWithSuccessfulValidationOnly.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_GetMigrationWithSuccessfulValidationOnly.json index 1bde1a588c2b..3b92ff7cb4ff 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_GetMigrationWithSuccessfulValidationOnly.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_GetMigrationWithSuccessfulValidationOnly.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "targetDbServerName": "exampletarget", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_GetMigrationWithValidationFailures.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_GetMigrationWithValidationFailures.json index eb87263aa033..65befc78934a 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_GetMigrationWithValidationFailures.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_GetMigrationWithValidationFailures.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "targetDbServerName": "exampletarget", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_ListByTargetServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_ListByTargetServer.json index b75d03f7ab49..57f5d1c57558 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_ListByTargetServer.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_ListByTargetServer.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "targetDbServerName": "exampletarget", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Update.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Update.json index 302f67fa89f7..799d7bd91e12 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Update.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Update.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "targetDbServerName": "exampletarget", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/OperationList.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/OperationList.json index b73c376807a5..db5a6721a478 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/OperationList.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/OperationList.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01" + "api-version": "2025-08-01" }, "responses": { "200": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PrivateEndpointConnectionDelete.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PrivateEndpointConnectionDelete.json index e5f732adf765..a43586f9bb95 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PrivateEndpointConnectionDelete.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PrivateEndpointConnectionDelete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PrivateEndpointConnectionGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PrivateEndpointConnectionGet.json index faff4b50f70e..12185dc2de39 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PrivateEndpointConnectionGet.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PrivateEndpointConnectionGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PrivateEndpointConnectionList.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PrivateEndpointConnectionList.json index 1fe284a69f19..5a45e18ed0be 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PrivateEndpointConnectionList.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PrivateEndpointConnectionList.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver" diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PrivateEndpointConnectionUpdate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PrivateEndpointConnectionUpdate.json index d9f9b9c5c2a7..d70daeaa6ee4 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PrivateEndpointConnectionUpdate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PrivateEndpointConnectionUpdate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PrivateLinkResourcesGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PrivateLinkResourcesGet.json index fbec9e1fcd89..134db470eec0 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PrivateLinkResourcesGet.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PrivateLinkResourcesGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PrivateLinkResourcesList.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PrivateLinkResourcesList.json index 7c005aa9f1de..286500ccdd54 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PrivateLinkResourcesList.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PrivateLinkResourcesList.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver" diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PromoteReplicaAsForcedStandaloneServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PromoteReplicaAsForcedStandaloneServer.json index 651445559f99..f7628048d50b 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PromoteReplicaAsForcedStandaloneServer.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PromoteReplicaAsForcedStandaloneServer.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PromoteReplicaAsForcedSwitchover.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PromoteReplicaAsForcedSwitchover.json index 5cd4fb5141d4..3062d0a91d11 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PromoteReplicaAsForcedSwitchover.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PromoteReplicaAsForcedSwitchover.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PromoteReplicaAsPlannedStandaloneServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PromoteReplicaAsPlannedStandaloneServer.json index 6e8d92072c24..a032e8ee3ec8 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PromoteReplicaAsPlannedStandaloneServer.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PromoteReplicaAsPlannedStandaloneServer.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PromoteReplicaAsPlannedSwitchover.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PromoteReplicaAsPlannedSwitchover.json index 1dd6a2a6e2c9..456f16fe2526 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PromoteReplicaAsPlannedSwitchover.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PromoteReplicaAsPlannedSwitchover.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ReplicasListByServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ReplicasListByServer.json index cdfc29a7b271..cbd01972fc11 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ReplicasListByServer.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ReplicasListByServer.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver" diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerCapabilities.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerCapabilities.json index 1b0f8e485c83..994accdc7396 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerCapabilities.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerCapabilities.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver" diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerCreate.json index d7dbc003499a..e6b6e4b03a87 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerCreate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerCreate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerCreateGeoRestoreWithDataEncryptionEnabled.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerCreateGeoRestoreWithDataEncryptionEnabled.json index 43b3aed5d7d1..e29084a067dc 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerCreateGeoRestoreWithDataEncryptionEnabled.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerCreateGeoRestoreWithDataEncryptionEnabled.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerCreatePointInTimeRestore.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerCreatePointInTimeRestore.json index edaa4643d7d7..77d632961dd3 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerCreatePointInTimeRestore.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerCreatePointInTimeRestore.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerCreateReplica.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerCreateReplica.json index 7de4386339bc..2eb762d00ae8 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerCreateReplica.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerCreateReplica.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerCreateReviveDropped.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerCreateReviveDropped.json index 1e891b0f5509..6f4df298ecbe 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerCreateReviveDropped.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerCreateReviveDropped.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerCreateWithDataEncryptionEnabled.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerCreateWithDataEncryptionEnabled.json index bc84ea5163c5..6b07554ebc80 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerCreateWithDataEncryptionEnabled.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerCreateWithDataEncryptionEnabled.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerCreateWithMicrosoftEntraEnabled.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerCreateWithMicrosoftEntraEnabled.json index 8652d2d7c63b..3a0e5df8e97d 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerCreateWithMicrosoftEntraEnabled.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerCreateWithMicrosoftEntraEnabled.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerDelete.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerDelete.json index ffa43f8bd78f..492ba636910d 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerDelete.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerDelete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver" diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerGet.json index 6f91b080b925..a12d66a76a0e 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerGet.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver" diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerGetWithPrivateEndpoints.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerGetWithPrivateEndpoints.json index 60a10133af07..35b5d72d45d1 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerGetWithPrivateEndpoints.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerGetWithPrivateEndpoints.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver" diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerGetWithVnet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerGetWithVnet.json index 9bfd5a360a83..5145a44c3582 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerGetWithVnet.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerGetWithVnet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver" diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerList.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerList.json index d8a7bed2943e..33ca5e9da45d 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerList.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerList.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" }, "responses": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerListByResourceGroup.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerListByResourceGroup.json index 2b57750f6b3c..831e649372f9 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerListByResourceGroup.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerListByResourceGroup.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver" diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerRestart.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerRestart.json index cadb05bfdf08..3a944b53f233 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerRestart.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerRestart.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver" diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerRestartWithFailover.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerRestartWithFailover.json index 58647695ad90..20ae3ab7172a 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerRestartWithFailover.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerRestartWithFailover.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerStart.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerStart.json index cadb05bfdf08..3a944b53f233 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerStart.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerStart.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver" diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerStop.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerStop.json index cadb05bfdf08..3a944b53f233 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerStop.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerStop.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver" diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerThreatProtectionSettingsCreateOrUpdate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerThreatProtectionSettingsCreateOrUpdate.json index 2156680f9d33..9b12e7152cab 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerThreatProtectionSettingsCreateOrUpdate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerThreatProtectionSettingsCreateOrUpdate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerThreatProtectionSettingsGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerThreatProtectionSettingsGet.json index 0f468e65af3a..3cc1591006fe 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerThreatProtectionSettingsGet.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerThreatProtectionSettingsGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerThreatProtectionSettingsListByServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerThreatProtectionSettingsListByServer.json index 32f5a1803d2f..7983d7ae7fe5 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerThreatProtectionSettingsListByServer.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerThreatProtectionSettingsListByServer.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver" diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerUpdate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerUpdate.json index 356d5a45e695..74587bec1e01 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerUpdate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerUpdate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerUpdateWithCustomMaintenanceWindow.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerUpdateWithCustomMaintenanceWindow.json index a1843e7f9905..0ae7b729901b 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerUpdateWithCustomMaintenanceWindow.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerUpdateWithCustomMaintenanceWindow.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerUpdateWithDataEncryptionEnabled.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerUpdateWithDataEncryptionEnabled.json index eb9ac99b9478..d9741061ef8b 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerUpdateWithDataEncryptionEnabled.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerUpdateWithDataEncryptionEnabled.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerUpdateWithMajorVersionUpgrade.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerUpdateWithMajorVersionUpgrade.json index c9fa477c2938..e1addd9eaff6 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerUpdateWithMajorVersionUpgrade.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerUpdateWithMajorVersionUpgrade.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerUpdateWithMicrosoftEntraEnabled.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerUpdateWithMicrosoftEntraEnabled.json index 4c1ebc3edb52..d20fad1c705c 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerUpdateWithMicrosoftEntraEnabled.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerUpdateWithMicrosoftEntraEnabled.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/VirtualEndpointCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/VirtualEndpointCreate.json index 3d2912b18ca2..49b333b9a2ab 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/VirtualEndpointCreate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/VirtualEndpointCreate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/VirtualEndpointDelete.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/VirtualEndpointDelete.json index 1e64cede95ec..d90fb1c6e37a 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/VirtualEndpointDelete.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/VirtualEndpointDelete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/VirtualEndpointUpdate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/VirtualEndpointUpdate.json index 0e97eca0a572..2df2113fc227 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/VirtualEndpointUpdate.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/VirtualEndpointUpdate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/VirtualEndpointsGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/VirtualEndpointsGet.json index f0b5fdb9b7cc..6719fef56009 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/VirtualEndpointsGet.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/VirtualEndpointsGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/VirtualEndpointsListByServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/VirtualEndpointsListByServer.json index 54824333fed5..4439187200e0 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/VirtualEndpointsListByServer.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/VirtualEndpointsListByServer.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver" diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/VirtualNetworkSubnetUsage.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/VirtualNetworkSubnetUsage.json index 3ae705acfc3d..779ed6efdfdc 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/VirtualNetworkSubnetUsage.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/VirtualNetworkSubnetUsage.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-08-01", + "api-version": "2025-08-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "locationName": "westus", "parameters": { From b25dd89c43b943dc06ca30e116bb0549e39bacab Mon Sep 17 00:00:00 2001 From: Matthew Boentoro Date: Fri, 25 Jul 2025 15:15:04 -0700 Subject: [PATCH 03/10] add changes from the 2025-06-01-preview --- ...json => AdministratorsMicrosoftEntra.json} | 136 +- ... => AdvancedThreatProtectionSettings.json} | 109 +- ....json => BackupsAutomaticAndOnDemand.json} | 114 +- ...ion.json => BackupsLongTermRetention.json} | 113 +- .../stable/2025-08-01/Capabilities.json | 151 +- .../{ServerLogs.json => CapturedLogs.json} | 39 +- ...Configuration.json => Configurations.json} | 154 +- .../stable/2025-08-01/Databases.json | 90 +- .../stable/2025-08-01/FirewallRules.json | 93 +- .../stable/2025-08-01/Migrations.json | 314 ++-- ...vailability.json => NameAvailability.json} | 60 +- .../stable/2025-08-01/Operations.json | 15 +- ...DnsZone.json => PrivateDnsZoneSuffix.json} | 12 +- .../PrivateEndpointConnections.json | 89 +- .../2025-08-01/PrivateLinkResources.json | 30 +- .../stable/2025-08-01/QuotaUsages.json | 148 ++ .../stable/2025-08-01/Replicas.json | 16 +- .../2025-08-01/ServerStartStopRestart.json | 229 --- .../{FlexibleServers.json => Servers.json} | 832 ++++++++--- .../stable/2025-08-01/TuningOptions.json | 466 ++++++ .../stable/2025-08-01/VirtualEndpoints.json | 120 +- ...rk.json => VirtualNetworkSubnetUsage.json} | 20 +- .../2025-08-01/examples/AdministratorAdd.json | 45 - .../AdministratorsMicrosoftEntraAdd.json | 24 + ...> AdministratorsMicrosoftEntraDelete.json} | 5 +- ...n => AdministratorsMicrosoftEntraGet.json} | 0 ...nistratorsMicrosoftEntraListByServer.json} | 0 ...hreatProtectionSettingsCreateOrUpdate.json | 22 + ... AdvancedThreatProtectionSettingsGet.json} | 2 +- ...ThreatProtectionSettingsListByServer.json} | 2 +- .../2025-08-01/examples/BackupCreate.json | 36 - .../BackupsAutomaticAndOnDemandCreate.json | 17 + ...=> BackupsAutomaticAndOnDemandDelete.json} | 6 +- ...on => BackupsAutomaticAndOnDemandGet.json} | 4 +- ...kupsAutomaticAndOnDemandListByServer.json} | 8 +- ...sLongTermRetentionCheckPrerequisites.json} | 0 ....json => BackupsLongTermRetentionGet.json} | 4 +- ...BackupsLongTermRetentionListByServer.json} | 4 +- ...son => BackupsLongTermRetentionStart.json} | 8 +- ...n.json => CapabilitiesByLocationList.json} | 1311 +++++++++------- ...ies.json => CapabilitiesByServerList.json} | 1314 ++++++++--------- ...ver.json => CapturedLogsListByServer.json} | 8 +- .../ConfigurationUpdateUsingPatch.json | 61 - .../examples/ConfigurationUpdateUsingPut.json | 61 - ...urationGet.json => ConfigurationsGet.json} | 0 ...r.json => ConfigurationsListByServer.json} | 4 +- .../examples/ConfigurationsUpdate.json | 23 + .../ConfigurationsUpdateUsingPut.json | 23 + .../2025-08-01/examples/DatabaseCreate.json | 45 - .../2025-08-01/examples/DatabasesCreate.json | 23 + ...tabaseDelete.json => DatabasesDelete.json} | 5 +- .../{DatabaseGet.json => DatabasesGet.json} | 0 .../examples/FirewallRuleCreate.json | 45 - .../examples/FirewallRulesCreateOrUpdate.json | 23 + ...leDelete.json => FirewallRulesDelete.json} | 5 +- ...wallRuleGet.json => FirewallRulesGet.json} | 0 ...er.json => FirewallRulesListByServer.json} | 4 +- .../2025-08-01/examples/MigrationsCancel.json | 57 + ...n => MigrationsCheckNameAvailability.json} | 2 +- ...ions_Create.json => MigrationsCreate.json} | 12 +- ...reateOtherSourceTypesValidateMigrate.json} | 12 +- ...json => MigrationsCreateValidateOnly.json} | 12 +- ...onsCreateWithFullyQualifiedDomainName.json | 107 ++ ...on => MigrationsCreateWithOtherUsers.json} | 12 +- ...ionsCreateWithPrivateEndpointServers.json} | 12 +- ...es.json => MigrationsCreateWithRoles.json} | 12 +- ...Migrations_Get.json => MigrationsGet.json} | 12 +- ...WithSuccessfulValidationAndMigration.json} | 20 +- ...cessfulValidationButMigrationFailure.json} | 24 +- ...igrationWithSuccessfulValidationOnly.json} | 16 +- ...nsGetMigrationWithValidationFailures.json} | 40 +- ...json => MigrationsListByTargetServer.json} | 12 +- ...ions_Update.json => MigrationsUpdate.json} | 12 +- .../examples/Migrations_Cancel.json | 59 - .../examples/Migrations_Delete.json | 14 - ...son => NameAvailabilityCheckGlobally.json} | 2 +- ...=> NameAvailabilityCheckWithLocation.json} | 4 +- ...OperationList.json => OperationsList.json} | 0 ...ffix.json => PrivateDnsZoneSuffixGet.json} | 0 .../PrivateEndpointConnectionUpdate.json | 67 - ... => PrivateEndpointConnectionsDelete.json} | 4 +- ...son => PrivateEndpointConnectionsGet.json} | 0 ...on => PrivateEndpointConnectionsList.json} | 0 .../PrivateEndpointConnectionsUpdate.json | 25 + ...romoteReplicaAsForcedStandaloneServer.json | 82 - .../PromoteReplicaAsForcedSwitchover.json | 82 - ...omoteReplicaAsPlannedStandaloneServer.json | 82 - .../PromoteReplicaAsPlannedSwitchover.json | 82 - .../QuotaUsagesForFlexibleServers.json | 35 + .../examples/ReplicasListByServer.json | 10 +- .../2025-08-01/examples/ServerCreate.json | 178 --- ...teGeoRestoreWithDataEncryptionEnabled.json | 175 --- .../ServerCreatePointInTimeRestore.json | 121 -- .../examples/ServerCreateReplica.json | 176 --- .../examples/ServerCreateReviveDropped.json | 119 -- ...ServerCreateWithDataEncryptionEnabled.json | 197 --- ...ServerCreateWithMicrosoftEntraEnabled.json | 167 --- ...hreatProtectionSettingsCreateOrUpdate.json | 39 - .../2025-08-01/examples/ServerUpdate.json | 88 -- ...rverUpdateWithCustomMaintenanceWindow.json | 81 - ...ServerUpdateWithDataEncryptionEnabled.json | 121 -- .../ServerUpdateWithMajorVersionUpgrade.json | 76 - ...ServerUpdateWithMicrosoftEntraEnabled.json | 94 -- .../examples/ServersClusterCreate.json | 48 + ...teGeoRestoreWithDataEncryptionEnabled.json | 38 + ...reWithDataEncryptionEnabledAutoUpdate.json | 38 + ...workWithZoneRedundantHighAvailability.json | 49 + ...alNetworkWithSameZoneHighAvailability.json | 50 + .../ServersCreatePointInTimeRestore.json | 24 + .../examples/ServersCreateReplica.json | 37 + .../examples/ServersCreateReviveDropped.json | 24 + ...erversCreateWithDataEncryptionEnabled.json | 59 + ...teWithDataEncryptionEnabledAutoUpdate.json | 59 + ...VirtualNetworkWithoutHighAvailability.json | 54 + .../{ServerDelete.json => ServersDelete.json} | 5 +- .../{ServerGet.json => ServersGet.json} | 12 +- ...on => ServersGetWithPrivateEndpoints.json} | 10 +- ...tWithVnet.json => ServersGetWithVnet.json} | 12 +- ...p.json => ServersListByResourceGroup.json} | 31 +- ...st.json => ServersListBySubscription.json} | 52 +- ...romoteReplicaAsForcedStandaloneServer.json | 24 + ...rversPromoteReplicaAsForcedSwitchover.json | 24 + ...omoteReplicaAsPlannedStandaloneServer.json | 24 + ...versPromoteReplicaAsPlannedSwitchover.json | 24 + ...ServerRestart.json => ServersRestart.json} | 5 +- ...r.json => ServersRestartWithFailover.json} | 5 +- .../{ServerStop.json => ServersStart.json} | 5 +- .../{ServerStart.json => ServersStop.json} | 5 +- .../2025-08-01/examples/ServersUpdate.json | 34 + ...versUpdateWithCustomMaintenanceWindow.json | 27 + ...erversUpdateWithDataEncryptionEnabled.json | 43 + ...teWithDataEncryptionEnabledAutoUpdate.json | 43 + .../ServersUpdateWithMajorVersionUpgrade.json | 22 + ...erversUpdateWithMicrosoftEntraEnabled.json | 39 + .../2025-08-01/examples/TuningOptionsGet.json | 18 + .../examples/TuningOptionsListByServer.json | 26 + ...TuningOptionsListIndexRecommendations.json | 127 ++ ...RecommendationsFilteredForCreateIndex.json | 128 ++ ...TuningOptionsListTableRecommendations.json | 89 ++ ...ecommendationsFilteredForAnalyzeTable.json | 90 ++ .../examples/VirtualEndpointCreate.json | 42 +- .../examples/VirtualEndpointDelete.json | 8 +- .../examples/VirtualEndpointUpdate.json | 25 +- ...son => VirtualNetworkSubnetUsageList.json} | 4 +- 144 files changed, 5374 insertions(+), 5155 deletions(-) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/{Administrators.json => AdministratorsMicrosoftEntra.json} (75%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/{ThreatProtection.json => AdvancedThreatProtectionSettings.json} (72%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/{Backups.json => BackupsAutomaticAndOnDemand.json} (73%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/{LongTermRetentionOperation.json => BackupsLongTermRetention.json} (82%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/{ServerLogs.json => CapturedLogs.json} (81%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/{Configuration.json => Configurations.json} (65%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/{CheckNameAvailability.json => NameAvailability.json} (62%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/{PrivateDnsZone.json => PrivateDnsZoneSuffix.json} (86%) create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/QuotaUsages.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/ServerStartStopRestart.json rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/{FlexibleServers.json => Servers.json} (54%) create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/TuningOptions.json rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/{VirtualNetwork.json => VirtualNetworkSubnetUsage.json} (86%) delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/AdministratorAdd.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/AdministratorsMicrosoftEntraAdd.json rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{AdministratorDelete.json => AdministratorsMicrosoftEntraDelete.json} (70%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{AdministratorGet.json => AdministratorsMicrosoftEntraGet.json} (100%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{AdministratorsListByServer.json => AdministratorsMicrosoftEntraListByServer.json} (100%) create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/AdvancedThreatProtectionSettingsCreateOrUpdate.json rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{ServerThreatProtectionSettingsGet.json => AdvancedThreatProtectionSettingsGet.json} (92%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{ServerThreatProtectionSettingsListByServer.json => AdvancedThreatProtectionSettingsListByServer.json} (92%) delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/BackupCreate.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/BackupsAutomaticAndOnDemandCreate.json rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{BackupDelete.json => BackupsAutomaticAndOnDemandDelete.json} (65%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{BackupGet.json => BackupsAutomaticAndOnDemandGet.json} (86%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{BackupListByServer.json => BackupsAutomaticAndOnDemandListByServer.json} (85%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{LongTermRetentionPreBackup.json => BackupsLongTermRetentionCheckPrerequisites.json} (100%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{LongTermRetentionOperationGet.json => BackupsLongTermRetentionGet.json} (89%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{LongTermRetentionOperationListByServer.json => BackupsLongTermRetentionListByServer.json} (89%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{LongTermRetentionBackup.json => BackupsLongTermRetentionStart.json} (83%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{CapabilitiesByLocation.json => CapabilitiesByLocationList.json} (90%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{ServerCapabilities.json => CapabilitiesByServerList.json} (89%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{LogFilesListByServer.json => CapturedLogsListByServer.json} (70%) delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ConfigurationUpdateUsingPatch.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ConfigurationUpdateUsingPut.json rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{ConfigurationGet.json => ConfigurationsGet.json} (100%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{ConfigurationListByServer.json => ConfigurationsListByServer.json} (99%) create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ConfigurationsUpdate.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ConfigurationsUpdateUsingPut.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/DatabaseCreate.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/DatabasesCreate.json rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{DatabaseDelete.json => DatabasesDelete.json} (69%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{DatabaseGet.json => DatabasesGet.json} (100%) delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/FirewallRuleCreate.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/FirewallRulesCreateOrUpdate.json rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{FirewallRuleDelete.json => FirewallRulesDelete.json} (69%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{FirewallRuleGet.json => FirewallRulesGet.json} (100%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{FirewallRuleListByServer.json => FirewallRulesListByServer.json} (94%) create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/MigrationsCancel.json rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{CheckMigrationNameAvailability.json => MigrationsCheckNameAvailability.json} (92%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{Migrations_Create.json => MigrationsCreate.json} (93%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{Migrations_Create_Other_SourceTypes_Validate_Migrate.json => MigrationsCreateOtherSourceTypesValidateMigrate.json} (93%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{Migrations_Create_Validate_Only.json => MigrationsCreateValidateOnly.json} (93%) create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/MigrationsCreateWithFullyQualifiedDomainName.json rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{Migrations_Create_With_Other_Users.json => MigrationsCreateWithOtherUsers.json} (93%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{Migrations_Create_With_PrivateEndpoint_Servers.json => MigrationsCreateWithPrivateEndpointServers.json} (94%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{Migrations_Create_With_Roles.json => MigrationsCreateWithRoles.json} (93%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{Migrations_Get.json => MigrationsGet.json} (90%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{Migrations_GetMigrationWithSuccessfulValidationAndMigration.json => MigrationsGetMigrationWithSuccessfulValidationAndMigration.json} (85%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{Migrations_GetMigrationWithSuccessfulValidationButMigrationFailure.json => MigrationsGetMigrationWithSuccessfulValidationButMigrationFailure.json} (84%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{Migrations_GetMigrationWithSuccessfulValidationOnly.json => MigrationsGetMigrationWithSuccessfulValidationOnly.json} (85%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{Migrations_GetMigrationWithValidationFailures.json => MigrationsGetMigrationWithValidationFailures.json} (85%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{Migrations_ListByTargetServer.json => MigrationsListByTargetServer.json} (90%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{Migrations_Update.json => MigrationsUpdate.json} (90%) delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Cancel.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/Migrations_Delete.json rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{CheckNameAvailability.json => NameAvailabilityCheckGlobally.json} (92%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{CheckNameAvailabilityLocationBased.json => NameAvailabilityCheckWithLocation.json} (87%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{OperationList.json => OperationsList.json} (100%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{GetPrivateDnsZoneSuffix.json => PrivateDnsZoneSuffixGet.json} (100%) delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PrivateEndpointConnectionUpdate.json rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{PrivateEndpointConnectionDelete.json => PrivateEndpointConnectionsDelete.json} (73%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{PrivateEndpointConnectionGet.json => PrivateEndpointConnectionsGet.json} (100%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{PrivateEndpointConnectionList.json => PrivateEndpointConnectionsList.json} (100%) create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PrivateEndpointConnectionsUpdate.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PromoteReplicaAsForcedStandaloneServer.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PromoteReplicaAsForcedSwitchover.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PromoteReplicaAsPlannedStandaloneServer.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/PromoteReplicaAsPlannedSwitchover.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/QuotaUsagesForFlexibleServers.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerCreate.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerCreateGeoRestoreWithDataEncryptionEnabled.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerCreatePointInTimeRestore.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerCreateReplica.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerCreateReviveDropped.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerCreateWithDataEncryptionEnabled.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerCreateWithMicrosoftEntraEnabled.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerThreatProtectionSettingsCreateOrUpdate.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerUpdate.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerUpdateWithCustomMaintenanceWindow.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerUpdateWithDataEncryptionEnabled.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerUpdateWithMajorVersionUpgrade.json delete mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServerUpdateWithMicrosoftEntraEnabled.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServersClusterCreate.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServersCreateGeoRestoreWithDataEncryptionEnabled.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServersCreateGeoRestoreWithDataEncryptionEnabledAutoUpdate.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServersCreateInMicrosoftOwnedVirtualNetworkWithZoneRedundantHighAvailability.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServersCreateInYourOwnVirtualNetworkWithSameZoneHighAvailability.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServersCreatePointInTimeRestore.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServersCreateReplica.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServersCreateReviveDropped.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServersCreateWithDataEncryptionEnabled.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServersCreateWithDataEncryptionEnabledAutoUpdate.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServersCreateWithMicrosoftEntraEnabledInYourOwnVirtualNetworkWithoutHighAvailability.json rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{ServerDelete.json => ServersDelete.json} (68%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{ServerGet.json => ServersGet.json} (87%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{ServerGetWithPrivateEndpoints.json => ServersGetWithPrivateEndpoints.json} (92%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{ServerGetWithVnet.json => ServersGetWithVnet.json} (90%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{ServerListByResourceGroup.json => ServersListByResourceGroup.json} (89%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{ServerList.json => ServersListBySubscription.json} (88%) create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServersPromoteReplicaAsForcedStandaloneServer.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServersPromoteReplicaAsForcedSwitchover.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServersPromoteReplicaAsPlannedStandaloneServer.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServersPromoteReplicaAsPlannedSwitchover.json rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{ServerRestart.json => ServersRestart.json} (67%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{ServerRestartWithFailover.json => ServersRestartWithFailover.json} (71%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{ServerStop.json => ServersStart.json} (67%) rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{ServerStart.json => ServersStop.json} (67%) create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServersUpdate.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServersUpdateWithCustomMaintenanceWindow.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServersUpdateWithDataEncryptionEnabled.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServersUpdateWithDataEncryptionEnabledAutoUpdate.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServersUpdateWithMajorVersionUpgrade.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/ServersUpdateWithMicrosoftEntraEnabled.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/TuningOptionsGet.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/TuningOptionsListByServer.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/TuningOptionsListIndexRecommendations.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/TuningOptionsListIndexRecommendationsFilteredForCreateIndex.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/TuningOptionsListTableRecommendations.json create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/TuningOptionsListTableRecommendationsFilteredForAnalyzeTable.json rename specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/{VirtualNetworkSubnetUsage.json => VirtualNetworkSubnetUsageList.json} (92%) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Administrators.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/AdministratorsMicrosoftEntra.json similarity index 75% rename from specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Administrators.json rename to specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/AdministratorsMicrosoftEntra.json index e3d22d53d44c..506a59317b66 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Administrators.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/AdministratorsMicrosoftEntra.json @@ -37,21 +37,21 @@ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/administrators/{objectId}": { "put": { "tags": [ - "Administrators" + "AdministratorsMicrosoftEntra" ], - "operationId": "Administrators_Create", + "operationId": "AdministratorsMicrosoftEntra_CreateOrUpdate", "x-ms-examples": { "Add a server administrator associated to a Microsoft Entra principal.": { - "$ref": "./examples/AdministratorAdd.json" + "$ref": "./examples/AdministratorsMicrosoftEntraAdd.json" } }, "description": "Creates a new server administrator associated to a Microsoft Entra principal.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" @@ -60,43 +60,34 @@ "$ref": "#/parameters/ObjectIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { "name": "parameters", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/ActiveDirectoryAdministratorAdd" + "$ref": "#/definitions/AdministratorMicrosoftEntraAdd" }, "description": "Required parameters for adding a server administrator associated to a Microsoft Entra principal." } ], "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/ActiveDirectoryAdministrator" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/ActiveDirectoryAdministrator" - } - }, "202": { - "description": "Accepted", + "description": "Accepted.", "headers": { "Location": { "type": "string" + }, + "Azure-AsyncOperation": { + "type": "string" } } }, "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -107,24 +98,24 @@ }, "delete": { "tags": [ - "Administrators" + "AdministratorsMicrosoftEntra" ], - "operationId": "Administrators_Delete", + "operationId": "AdministratorsMicrosoftEntra_Delete", "x-ms-examples": { "Delete a server administrator associated to a Microsoft Entra principal.": { - "$ref": "./examples/AdministratorDelete.json" + "$ref": "./examples/AdministratorsMicrosoftEntraDelete.json" } }, "description": "Deletes an existing server administrator associated to a Microsoft Entra principal.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" @@ -134,24 +125,24 @@ } ], "responses": { - "200": { - "description": "OK" - }, "202": { - "description": "Accepted", + "description": "Accepted.", "headers": { "Location": { "type": "string" + }, + "Azure-AsyncOperation": { + "type": "string" } } }, "204": { - "description": "NoContent" + "description": "No Content." }, "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -162,24 +153,24 @@ }, "get": { "tags": [ - "Administrators" + "AdministratorsMicrosoftEntra" ], - "operationId": "Administrators_Get", + "operationId": "AdministratorsMicrosoftEntra_Get", "x-ms-examples": { "Get information about a server administrator associated to a Microsoft Entra principal.": { - "$ref": "./examples/AdministratorGet.json" + "$ref": "./examples/AdministratorsMicrosoftEntraGet.json" } }, "description": "Gets information about a server administrator associated to a Microsoft Entra principal.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" @@ -190,15 +181,15 @@ ], "responses": { "200": { - "description": "OK", + "description": "OK.", "schema": { - "$ref": "#/definitions/ActiveDirectoryAdministrator" + "$ref": "#/definitions/AdministratorMicrosoftEntra" } }, "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -207,24 +198,24 @@ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/administrators": { "get": { "tags": [ - "Administrators" + "AdministratorsMicrosoftEntra" ], - "operationId": "Administrators_ListByServer", + "operationId": "AdministratorsMicrosoftEntra_ListByServer", "x-ms-examples": { "List information about all server administrators associated to Microsoft Entra principals.": { - "$ref": "./examples/AdministratorsListByServer.json" + "$ref": "./examples/AdministratorsMicrosoftEntraListByServer.json" } }, "description": "List all server administrators associated to a Microsoft Entra principal.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" @@ -232,15 +223,15 @@ ], "responses": { "200": { - "description": "OK", + "description": "OK.", "schema": { - "$ref": "#/definitions/AdministratorListResult" + "$ref": "#/definitions/AdministratorMicrosoftEntraList" } }, "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -251,23 +242,23 @@ } }, "definitions": { - "ActiveDirectoryAdministratorAdd": { + "AdministratorMicrosoftEntraAdd": { "type": "object", "properties": { "properties": { - "$ref": "#/definitions/AdministratorPropertiesForAdd", + "$ref": "#/definitions/AdministratorMicrosoftEntraPropertiesForAdd", "x-ms-client-flatten": true, "description": "Properties of the server administrator associated to a Microsoft Entra principal." } }, "description": "Server administrator associated to a Microsoft Entra principal." }, - "AdministratorPropertiesForAdd": { + "AdministratorMicrosoftEntraPropertiesForAdd": { "type": "object", "properties": { "principalType": { "type": "string", - "description": "The type of Microsoft Entra principal to which the server administrator is associated.", + "description": "Type of Microsoft Entra principal to which the server administrator is associated.", "enum": [ "Unknown", "User", @@ -276,7 +267,25 @@ ], "x-ms-enum": { "name": "PrincipalType", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "Unknown", + "description": "The principal type is not known or not specified." + }, + { + "value": "User", + "description": "A Microsoft Entra user." + }, + { + "value": "Group", + "description": "A Microsoft Entra group." + }, + { + "value": "ServicePrincipal", + "description": "A Microsoft Entra service principal, typically representing an application or service identity" + } + ] }, "x-ms-mutability": [ "create", @@ -304,7 +313,7 @@ }, "description": "Properties of a server administrator associated to a Microsoft Entra principal." }, - "AdministratorProperties": { + "AdministratorMicrosoftEntraProperties": { "type": "object", "properties": { "principalType": { @@ -356,18 +365,18 @@ }, "description": "Properties of a server administrator associated to a Microsoft Entra principal." }, - "ActiveDirectoryAdministrator": { + "AdministratorMicrosoftEntra": { "type": "object", "properties": { "properties": { - "$ref": "#/definitions/AdministratorProperties", + "$ref": "#/definitions/AdministratorMicrosoftEntraProperties", "x-ms-client-flatten": true, "description": "Properties of a server administrator associated to a Microsoft Entra principal." } }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" } ], "required": [ @@ -375,19 +384,20 @@ ], "description": "Server administrator associated to a Microsoft Entra principal." }, - "AdministratorListResult": { + "AdministratorMicrosoftEntraList": { "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/definitions/ActiveDirectoryAdministrator" + "$ref": "#/definitions/AdministratorMicrosoftEntra" }, "description": "List of server administrators associated to Microsoft Entra principals." }, "nextLink": { "description": "Link used to get the next page of results.", - "type": "string" + "type": "string", + "format": "uri" } }, "description": "List of server administrators associated to Microsoft Entra principals." diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/ThreatProtection.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/AdvancedThreatProtectionSettings.json similarity index 72% rename from specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/ThreatProtection.json rename to specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/AdvancedThreatProtectionSettings.json index d3e8e855f3ab..7d9c3bf690f4 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/ThreatProtection.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/AdvancedThreatProtectionSettings.json @@ -39,17 +39,17 @@ "tags": [ "AdvancedThreatProtectionSettings" ], - "description": "Lists state of advanced threat protection settings for a flexible server.", - "operationId": "ServerThreatProtectionSettings_ListByServer", + "description": "Lists state of advanced threat protection settings for a server.", + "operationId": "AdvancedThreatProtectionSettings_ListByServer", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" @@ -57,21 +57,21 @@ ], "responses": { "200": { - "description": "Successfully retrieved the server threat detection policy.", + "description": "OK.", "schema": { - "$ref": "#/definitions/ServerThreatProtectionListResult" + "$ref": "#/definitions/AdvancedThreatProtectionSettingsList" } }, "default": { - "description": "Error response describing why the operation of advanced threat protection on the flexible server failed.", + "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "List state of advanced threat protection settings for a flexible server.": { - "$ref": "./examples/ServerThreatProtectionSettingsListByServer.json" + "List state of advanced threat protection settings for a server.": { + "$ref": "./examples/AdvancedThreatProtectionSettingsListByServer.json" } }, "x-ms-pageable": { @@ -84,17 +84,17 @@ "tags": [ "AdvancedThreatProtectionSettings" ], - "description": "Gets state of advanced threat protection settings for a flexible server.", - "operationId": "ServerThreatProtectionSettings_Get", + "description": "Gets state of advanced threat protection settings for a server.", + "operationId": "AdvancedThreatProtectionSettings_Get", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" @@ -105,21 +105,21 @@ ], "responses": { "200": { - "description": "Successfully retrieved the server advanced threat protection settings.", + "description": "OK.", "schema": { - "$ref": "#/definitions/ServerThreatProtectionSettingsModel" + "$ref": "#/definitions/AdvancedThreatProtectionSettingsModel" } }, "default": { - "description": "Error response describing why the operation of threat protection on the flexible server failed.", + "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Get state of advanced threat protection settings for a flexible server.": { - "$ref": "./examples/ServerThreatProtectionSettingsGet.json" + "Get state of advanced threat protection settings for a server.": { + "$ref": "./examples/AdvancedThreatProtectionSettingsGet.json" } } }, @@ -131,13 +131,13 @@ "operationId": "ServerThreatProtectionSettings_CreateOrUpdate", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" @@ -148,39 +148,30 @@ { "name": "parameters", "in": "body", - "description": "The Advanced Threat Protection state for the flexible server.", + "description": "The Advanced Threat Protection state for the server.", "required": true, "schema": { - "$ref": "#/definitions/ServerThreatProtectionSettingsModel" + "$ref": "#/definitions/AdvancedThreatProtectionSettingsModel" } } ], "responses": { - "200": { - "description": "Successfully set or update the server Threat Protection settings.", - "schema": { - "$ref": "#/definitions/ServerThreatProtectionSettingsModel" - } - }, - "default": { - "description": "Error response describing why the operation of setting Threat Protection failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - }, - "201": { - "description": "Successfully created the server Threat Protection settings.", - "schema": { - "$ref": "#/definitions/ServerThreatProtectionSettingsModel" - } - }, "202": { - "description": "Accepted", + "description": "Accepted.", "headers": { "Location": { "type": "string" + }, + "Azure-AsyncOperation": { + "type": "string" } } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-long-running-operation": true, @@ -188,23 +179,23 @@ "final-state-via": "azure-async-operation" }, "x-ms-examples": { - "Update a server's Threat Protection settings": { - "$ref": "./examples/ServerThreatProtectionSettingsCreateOrUpdate.json" + "Update the advanced threat protection settings of a server.": { + "$ref": "./examples/AdvancedThreatProtectionSettingsCreateOrUpdate.json" } } } } }, "definitions": { - "ServerThreatProtectionProperties": { - "description": "Properties of advanced threat protection state for a flexible server.", + "AdvancedThreatProtectionSettingsProperties": { + "description": "Properties of advanced threat protection state for a server.", "required": [ "state" ], "type": "object", "properties": { "state": { - "description": "Specifies the state of the advanced threat protection, whether it is enabled, disabled, or a state has not been applied yet on the flexible server.", + "description": "Specifies the state of the advanced threat protection, whether it is enabled, disabled, or a state has not been applied yet on the server.", "enum": [ "Enabled", "Disabled" @@ -223,38 +214,38 @@ } } }, - "ServerThreatProtectionSettingsModel": { - "description": "Advanced threat protection settings of the flexible server.", + "AdvancedThreatProtectionSettingsModel": { + "description": "Advanced threat protection settings of the server.", "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" } ], "properties": { "properties": { - "$ref": "#/definitions/ServerThreatProtectionProperties", + "$ref": "#/definitions/AdvancedThreatProtectionSettingsProperties", "description": "Advanced threat protection properties.", "x-ms-client-flatten": true } } }, - "ServerThreatProtectionListResult": { - "description": "List of advanced threat protection settings for a flexible server.", + "AdvancedThreatProtectionSettingsList": { + "description": "List of advanced threat protection settings for a server.", "type": "object", "properties": { "value": { "description": "Array of results.", "type": "array", "items": { - "$ref": "#/definitions/ServerThreatProtectionSettingsModel" + "$ref": "#/definitions/AdvancedThreatProtectionSettingsModel" }, "readOnly": true }, "nextLink": { "description": "Link used to get the next page of results.", "type": "string", - "readOnly": true + "format": "uri" } } } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Backups.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/BackupsAutomaticAndOnDemand.json similarity index 73% rename from specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Backups.json rename to specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/BackupsAutomaticAndOnDemand.json index c1fbf27d948c..743b0714323e 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Backups.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/BackupsAutomaticAndOnDemand.json @@ -37,24 +37,24 @@ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/backups/{backupName}": { "put": { "tags": [ - "Backups" + "BackupsAutomaticAndOnDemand" ], - "operationId": "Backups_Create", + "operationId": "BackupsAutomaticAndOnDemand_Create", "x-ms-examples": { - "Create an on demand backup of a flexible server.": { - "$ref": "./examples/BackupCreate.json" + "Create an on demand backup of a server.": { + "$ref": "./examples/BackupsAutomaticAndOnDemandCreate.json" } }, - "description": "Creates an on demand backup of a flexible server.", + "description": "Creates an on demand backup of a server.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" @@ -64,30 +64,21 @@ } ], "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ServerBackup" - } - }, - "201": { - "description": "Successfully created backup", - "schema": { - "$ref": "#/definitions/ServerBackup" - } - }, "202": { - "description": "Accepted", + "description": "Accepted.", "headers": { "Location": { "type": "string" + }, + "Azure-AsyncOperation": { + "type": "string" } } }, "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -98,24 +89,24 @@ }, "delete": { "tags": [ - "Backups" + "BackupsAutomaticAndOnDemand" ], - "operationId": "Backups_Delete", + "operationId": "BackupsAutomaticAndOnDemand_Delete", "x-ms-examples": { "Delete an on demand backup, given its name.": { - "$ref": "./examples/BackupDelete.json" + "$ref": "./examples/BackupsAutomaticAndOnDemandDelete.json" } }, "description": "Deletes a specific backup, given its name.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" @@ -126,20 +117,23 @@ ], "responses": { "202": { - "description": "Accepted", + "description": "Accepted.", "headers": { "Location": { "type": "string" + }, + "Azure-AsyncOperation": { + "type": "string" } } }, "204": { - "description": "NoContent" + "description": "No Content." }, "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -150,24 +144,24 @@ }, "get": { "tags": [ - "Backups" + "BackupsAutomaticAndOnDemand" ], - "operationId": "Backups_Get", + "operationId": "BackupsAutomaticAndOnDemand_Get", "x-ms-examples": { "Get an on demand backup, given its name.": { - "$ref": "./examples/BackupGet.json" + "$ref": "./examples/BackupsAutomaticAndOnDemandGet.json" } }, "description": "Gets information of an on demand backup, given its name.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" @@ -178,15 +172,15 @@ ], "responses": { "200": { - "description": "OK", + "description": "OK.", "schema": { - "$ref": "#/definitions/ServerBackup" + "$ref": "#/definitions/BackupAutomaticAndOnDemand" } }, "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -195,24 +189,24 @@ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/backups": { "get": { "tags": [ - "Backups" + "BackupsAutomaticAndOnDemand" ], - "operationId": "Backups_ListByServer", + "operationId": "BackupsAutomaticAndOnDemand_ListByServer", "x-ms-examples": { - "List all available backups of a flexible server.": { - "$ref": "./examples/BackupListByServer.json" + "List all available backups of a server.": { + "$ref": "./examples/BackupsAutomaticAndOnDemandListByServer.json" } }, - "description": "Lists all available backups of a flexible server.", + "description": "Lists all available backups of a server.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" @@ -220,15 +214,15 @@ ], "responses": { "200": { - "description": "OK", + "description": "OK.", "schema": { - "$ref": "#/definitions/ServerBackupListResult" + "$ref": "#/definitions/BackupAutomaticAndOnDemandList" } }, "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -239,7 +233,7 @@ } }, "definitions": { - "ServerBackupProperties": { + "BackupAutomaticAndOnDemandProperties": { "type": "object", "properties": { "backupType": { @@ -250,7 +244,7 @@ "Customer On-Demand" ], "x-ms-enum": { - "name": "Origin", + "name": "BackupType", "modelAsString": true } }, @@ -266,35 +260,36 @@ }, "description": "Properties of a backup." }, - "ServerBackup": { + "BackupAutomaticAndOnDemand": { "type": "object", "properties": { "properties": { - "$ref": "#/definitions/ServerBackupProperties", + "$ref": "#/definitions/BackupAutomaticAndOnDemandProperties", "x-ms-client-flatten": true, "description": "Properties of a backup." } }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" } ], "description": "Properties of a backup." }, - "ServerBackupListResult": { + "BackupAutomaticAndOnDemandList": { "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/definitions/ServerBackup" + "$ref": "#/definitions/BackupAutomaticAndOnDemand" }, "description": "List of available backups." }, "nextLink": { "description": "Link used to get the next page of results.", - "type": "string" + "type": "string", + "format": "uri" } }, "description": "List of backups." @@ -309,6 +304,7 @@ "description": "Name of the backup.", "minLength": 1, "pattern": "^[-\\w\\._]+$", + "maxLength": 128, "x-ms-parameter-location": "method" } } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/LongTermRetentionOperation.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/BackupsLongTermRetention.json similarity index 82% rename from specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/LongTermRetentionOperation.json rename to specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/BackupsLongTermRetention.json index d229d7c6da9d..611ef8f31c55 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/LongTermRetentionOperation.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/BackupsLongTermRetention.json @@ -36,23 +36,20 @@ "paths": { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/ltrPreBackup": { "post": { - "description": "Performs all checks required so that a subsequent long term retention backup operation succeeds.", + "description": "Performs all checks required for a long term retention backup operation to succeed.", "tags": [ - "LongTermRetentionBackup" - ], - "operationId": "FlexibleServer_TriggerLtrPreBackup", - "produces": [ - "application/json" + "BackupsLongTermRetention" ], + "operationId": "BackupsLongTermRetention_CheckPrerequisites", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" @@ -69,7 +66,7 @@ ], "responses": { "200": { - "description": "Ok. API finished synchronously with Success.", + "description": "OK.", "schema": { "$ref": "#/definitions/LtrPreBackupResponse" }, @@ -81,9 +78,9 @@ } }, "default": { - "description": "Error Scenario 4xx/5xx", + "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" }, "headers": { "x-ms-error-code": { @@ -98,8 +95,8 @@ } }, "x-ms-examples": { - "Sample_Prebackup": { - "$ref": "./examples/LongTermRetentionPreBackup.json" + "Perform all checks required for a long term retention backup operation to succeed.": { + "$ref": "./examples/BackupsLongTermRetentionCheckPrerequisites.json" } }, "deprecated": false @@ -107,23 +104,20 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/startLtrBackup": { "post": { - "description": "Start the Long Term Retention Backup operation", + "description": "Initiates a long term retention backup.", "tags": [ - "LongTermRetentionBackup" - ], - "operationId": "FlexibleServer_StartLtrBackup", - "produces": [ - "application/json" + "BackupsLongTermRetention" ], + "operationId": "BackupsLongTermRetention_Start", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" @@ -134,15 +128,15 @@ "description": "Request body for operation", "required": true, "schema": { - "$ref": "#/definitions/LtrBackupRequest" + "$ref": "#/definitions/BackupsLongTermRetentionRequest" } } ], "responses": { "200": { - "description": "Ok. API finished synchronously with Success.", + "description": "OK.", "schema": { - "$ref": "#/definitions/LtrBackupResponse" + "$ref": "#/definitions/BackupsLongTermRetentionResponse" }, "headers": { "x-ms-request-id": { @@ -174,9 +168,9 @@ } }, "default": { - "description": "Error Scenario 4xx/5xx", + "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" }, "headers": { "x-ms-error-code": { @@ -191,8 +185,8 @@ } }, "x-ms-examples": { - "Sample_ExecuteBackup": { - "$ref": "./examples/LongTermRetentionBackup.json" + "Initiate a long term retention backup.": { + "$ref": "./examples/BackupsLongTermRetentionStart.json" } }, "x-ms-long-running-operation": true, @@ -204,24 +198,24 @@ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/ltrBackupOperations/{backupName}": { "get": { "tags": [ - "LongTermRetentionBackup" + "BackupsLongTermRetention" ], - "operationId": "ltrBackupOperations_Get", + "operationId": "BackupsLongTermRetention_Get", "x-ms-examples": { - "Sample": { - "$ref": "./examples/LongTermRetentionOperationGet.json" + "Get the results of a long retention backup operation for a server.": { + "$ref": "./examples/BackupsLongTermRetentionGet.json" } }, - "description": "Gets the result of the give long term retention backup operation for the flexible server.", + "description": "Gets the results of a long retention backup operation for a server.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" @@ -232,15 +226,15 @@ ], "responses": { "200": { - "description": "OK", + "description": "OK.", "schema": { - "$ref": "#/definitions/LtrServerBackupOperation" + "$ref": "#/definitions/BackupsLongTermRetentionOperation" } }, "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -249,24 +243,24 @@ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/ltrBackupOperations": { "get": { "tags": [ - "LongTermRetentionBackup" + "BackupsLongTermRetention" ], - "operationId": "ltrBackupOperations_ListByServer", + "operationId": "BackupsLongTermRetention_ListByServer", "x-ms-examples": { - "Sample List of Long Tern Retention Operations by Flexible Server": { - "$ref": "./examples/LongTermRetentionOperationListByServer.json" + "List the results of the long term retention backup operations for a server.": { + "$ref": "./examples/BackupsLongTermRetentionListByServer.json" } }, - "description": "Gets the result of the give long term retention backup operations for the flexible server.", + "description": "Lists the results of the long term retention backup operations for a server.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" @@ -274,7 +268,7 @@ ], "responses": { "200": { - "description": "OK", + "description": "OK.", "schema": { "$ref": "#/definitions/LtrServerBackupOperationList" } @@ -282,7 +276,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -306,7 +300,7 @@ } } }, - "LtrBackupRequest": { + "BackupsLongTermRetentionRequest": { "description": "The request that is made for a long term retention backup.", "type": "object", "properties": { @@ -364,7 +358,7 @@ } } }, - "LtrPreBackupResponseProperties": { + "BackupsLongTermRetentionResponseProperties": { "description": "Response for the pre-backup request.", "type": "object", "required": [ @@ -447,7 +441,7 @@ } } }, - "LtrBackupResponse": { + "BackupsLongTermRetentionResponse": { "description": "Response for the LTR backup API call", "type": "object", "properties": { @@ -458,7 +452,7 @@ } } }, - "LtrServerBackupOperation": { + "BackupsLongTermRetentionOperation": { "description": "Response for the LTR backup Operation API call", "type": "object", "required": [ @@ -474,7 +468,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" } ] }, @@ -484,13 +478,14 @@ "value": { "type": "array", "items": { - "$ref": "#/definitions/LtrServerBackupOperation" + "$ref": "#/definitions/BackupsLongTermRetentionOperation" }, "description": "The list of long term retention server backup operations" }, "nextLink": { "description": "The link used to get the next page of operations.", - "type": "string" + "type": "string", + "format": "uri" } }, "description": "A list of long term retention backup operations for server." @@ -505,7 +500,7 @@ "properties": { "description": "Additional Properties for the pre backup response", "x-ms-client-flatten": true, - "$ref": "#/definitions/LtrPreBackupResponseProperties" + "$ref": "#/definitions/BackupsLongTermRetentionResponseProperties" } } } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Capabilities.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Capabilities.json index e36bf3c96688..c95a65237266 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Capabilities.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Capabilities.json @@ -37,21 +37,21 @@ "/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/locations/{locationName}/capabilities": { "get": { "tags": [ - "LocationBasedCapabilities" + "CapabilitiesByLocation" ], - "operationId": "LocationBasedCapabilities_Execute", + "operationId": "CapabilitiesByLocation_List", "x-ms-examples": { "List the capabilities available in a given location for a specific subscription.": { - "$ref": "./examples/CapabilitiesByLocation.json" + "$ref": "./examples/CapabilitiesByLocationList.json" } }, "description": "Lists the capabilities available in a given location for a specific subscription.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "../../../types/common-types.json#/parameters/LocationNameParameter" @@ -59,15 +59,15 @@ ], "responses": { "200": { - "description": "OK", + "description": "OK.", "schema": { - "$ref": "#/definitions/CapabilitiesListResult" + "$ref": "#/definitions/CapabilityList" } }, "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -79,24 +79,24 @@ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/capabilities": { "get": { "tags": [ - "FlexibleServerCapabilities" + "CapabilitiesByServer" ], - "operationId": "ServerCapabilities_List", + "operationId": "CapabilitiesByServer_List", "x-ms-examples": { - "List the capabilities available for a given flexible server.": { - "$ref": "./examples/ServerCapabilities.json" + "List the capabilities available for a given server.": { + "$ref": "./examples/CapabilitiesByServerList.json" } }, - "description": "Lists the capabilities available for a given flexible server.", + "description": "Lists the capabilities available for a given server.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" @@ -104,15 +104,15 @@ ], "responses": { "200": { - "description": "OK", + "description": "OK.", "schema": { - "$ref": "#/definitions/CapabilitiesListResult" + "$ref": "#/definitions/CapabilityList" } }, "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -219,7 +219,7 @@ "vCores": { "type": "integer", "format": "int32", - "description": "Number of virtual cores available for this compute.", + "description": "vCores available for this compute.", "readOnly": true }, "supportedIops": { @@ -236,7 +236,7 @@ }, "supportedZones": { "type": "array", - "description": "List of supported availability zones. E.g. \"1\", \"2\", \"3\"", + "description": "List of supported availability zones. E.g. '1', '2', '3'", "items": { "type": "string" }, @@ -252,12 +252,28 @@ "ZoneRedundant" ], "x-ms-enum": { - "name": "HaMode", + "name": "HighAvailabilityMode", "modelAsString": true } }, "description": "Modes of high availability supported for this compute.", "readOnly": true + }, + "supportedFeatures": { + "type": "array", + "description": "Features supported.", + "items": { + "$ref": "#/definitions/SupportedFeature" + }, + "x-ms-identifiers": [ + "name" + ], + "readOnly": true + }, + "securityProfile": { + "type": "string", + "description": "Security profile of the compute. Indicates if it's a Confidential Compute virtual machine.", + "readOnly": true } }, "allOf": [ @@ -271,6 +287,7 @@ "type": "string", "description": "Major version of PostgreSQL database engine.", "enum": [ + "17", "16", "15", "14", @@ -279,7 +296,7 @@ "11" ], "x-ms-enum": { - "name": "ServerVersion", + "name": "PostgresMajorVersion", "modelAsString": true } }, @@ -298,6 +315,17 @@ }, "description": "Major versions of PostgreSQL database engine to which this version can be automatically upgraded.", "readOnly": true + }, + "supportedFeatures": { + "type": "array", + "description": "Features supported.", + "items": { + "$ref": "#/definitions/SupportedFeature" + }, + "x-ms-identifiers": [ + "name" + ], + "readOnly": true } }, "allOf": [ @@ -340,6 +368,30 @@ ], "description": "Capabilities in terms of storage tier." }, + "SupportedFeature": { + "type": "object", + "description": "Features supported.", + "properties": { + "name": { + "type": "string", + "description": "Name of the feature.", + "readOnly": true + }, + "status": { + "type": "string", + "description": "Status of the feature. Indicates if the feature is enabled or not.", + "readOnly": true, + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "FeatureStatus", + "modelAsString": true + } + } + } + }, "FastProvisioningEditionCapability": { "type": "object", "description": "Capability of a fast provisioning compute tier.", @@ -378,7 +430,7 @@ } ] }, - "FlexibleServerEditionCapability": { + "ServerEditionCapability": { "type": "object", "allOf": [ { @@ -421,7 +473,7 @@ }, "description": "Capabilities in terms of compute tier." }, - "FlexibleServerCapability": { + "Capability": { "type": "object", "allOf": [ { @@ -436,7 +488,7 @@ "supportedServerEditions": { "type": "array", "items": { - "$ref": "#/definitions/FlexibleServerEditionCapability" + "$ref": "#/definitions/ServerEditionCapability" }, "x-ms-identifiers": [ "name" @@ -455,16 +507,27 @@ "description": "List of supported major versions of PostgreSQL database engine.", "readOnly": true }, + "supportedFeatures": { + "type": "array", + "description": "Features supported.", + "items": { + "$ref": "#/definitions/SupportedFeature" + }, + "x-ms-identifiers": [ + "name" + ], + "readOnly": true + }, "fastProvisioningSupported": { "type": "string", - "description": "Indicates if fast provisioning is supported. \"Enabled\" means fast provisioning is supported. \"Disabled\" stands for fast provisioning is not supported.", + "description": "Indicates if fast provisioning is supported. 'Enabled' means fast provisioning is supported. 'Disabled' stands for fast provisioning is not supported. Will be deprecated in the future. Look to Supported Features for 'FastProvisioning'.", "readOnly": true, "enum": [ "Enabled", "Disabled" ], "x-ms-enum": { - "name": "fastProvisioningSupportedEnum", + "name": "FastProvisioningSupport", "modelAsString": true } }, @@ -481,93 +544,93 @@ }, "geoBackupSupported": { "type": "string", - "description": "Indicates if geographically redundant backups are supported in this location. \"Enabled\" means geographically redundant backups are supported. \"Disabled\" stands for geographically redundant backup is not supported.", + "description": "Indicates if geographically redundant backups are supported in this location. 'Enabled' means geographically redundant backups are supported. 'Disabled' stands for geographically redundant backup is not supported. Will be deprecated in the future. Look to Supported Features for 'GeoBackup'.", "readOnly": true, "enum": [ "Enabled", "Disabled" ], "x-ms-enum": { - "name": "geoBackupSupportedEnum", + "name": "GeographicallyRedundantBackupSupport", "modelAsString": true } }, "zoneRedundantHaSupported": { "type": "string", - "description": "Indicates if high availability with zone redundancy is supported in this location. \"Enabled\" means high availability with zone redundancy is supported. \"Disabled\" stands for high availability with zone redundancy is not supported.", + "description": "Indicates if high availability with zone redundancy is supported in this location. 'Enabled' means high availability with zone redundancy is supported. 'Disabled' stands for high availability with zone redundancy is not supported. Will be deprecated in the future. Look to Supported Features for 'ZoneRedundantHa'.", "readOnly": true, "enum": [ "Enabled", "Disabled" ], "x-ms-enum": { - "name": "zoneRedundantHaSupportedEnum", + "name": "ZoneRedundantHighAvailabilitySupport", "modelAsString": true } }, "zoneRedundantHaAndGeoBackupSupported": { "type": "string", - "description": "Indicates if high availability with zone redundancy is supported in conjunction with geographically redundant backups in this location. \"Enabled\" means high availability with zone redundancy is supported in conjunction with geographically redundant backups is supported. \"Disabled\" stands for high availability with zone redundancy is supported in conjunction with geographically redundant backups is not supported.", + "description": "Indicates if high availability with zone redundancy is supported in conjunction with geographically redundant backups in this location. 'Enabled' means high availability with zone redundancy is supported in conjunction with geographically redundant backups is supported. 'Disabled' stands for high availability with zone redundancy is supported in conjunction with geographically redundant backups is not supported. Will be deprecated in the future. Look to Supported Features for 'ZoneRedundantHaAndGeoBackup'.", "readOnly": true, "enum": [ "Enabled", "Disabled" ], "x-ms-enum": { - "name": "zoneRedundantHaAndGeoBackupSupportedEnum", + "name": "ZoneRedundantHighAvailabilityAndGeographicallyRedundantBackupSupport", "modelAsString": true } }, "storageAutoGrowthSupported": { "type": "string", - "description": "Indicates if storage autogrow is supported in this location. \"Enabled\" means storage autogrow is supported. \"Disabled\" stands for storage autogrow is not supported.", + "description": "Indicates if storage autogrow is supported in this location. 'Enabled' means storage autogrow is supported. 'Disabled' stands for storage autogrow is not supported. Will be deprecated in the future. Look to Supported Features for 'StorageAutoGrowth'.", "readOnly": true, "enum": [ "Enabled", "Disabled" ], "x-ms-enum": { - "name": "storageAutoGrowthSupportedEnum", + "name": "StorageAutoGrowthSupport", "modelAsString": true } }, "onlineResizeSupported": { "type": "string", - "description": "Indicates if resizing the storage without interrupting the operation of the database engine is supported in this location for the given subscription. \"Enabled\" means resizing the storage without interrupting the operation of the database engine is supported. \"Disabled\" means resizing the storage without interrupting the operation of the database engine is not supported.", + "description": "Indicates if resizing the storage, without interrupting the operation of the database engine, is supported in this location for the given subscription. 'Enabled' means resizing the storage without interrupting the operation of the database engine is supported. 'Disabled' means resizing the storage without interrupting the operation of the database engine is not supported. Will be deprecated in the future. Look to Supported Features for 'OnlineResize'.", "readOnly": true, "enum": [ "Enabled", "Disabled" ], "x-ms-enum": { - "name": "onlineResizeSupportedEnum", + "name": "OnlineStorageResizeSupport", "modelAsString": true } }, "restricted": { "type": "string", - "description": "Indicates if this location is restricted. \"Enabled\" means location is restricted. \"Disabled\" stands for location is not restricted.", + "description": "Indicates if this location is restricted. 'Enabled' means location is restricted. 'Disabled' stands for location is not restricted. Will be deprecated in the future. Look to Supported Features for 'Restricted'.", "readOnly": true, "enum": [ "Enabled", "Disabled" ], "x-ms-enum": { - "name": "restrictedEnum", + "name": "LocationRestricted", "modelAsString": true } } }, "description": "Capability for the Azure Database for PostgreSQL flexible server." }, - "CapabilitiesListResult": { + "CapabilityList": { "type": "object", "properties": { "value": { "description": "List of supported capabilities.", "type": "array", "items": { - "$ref": "#/definitions/FlexibleServerCapability" + "$ref": "#/definitions/Capability" }, "x-ms-identifiers": [ "name" @@ -577,10 +640,10 @@ "nextLink": { "description": "Link to retrieve next page of results.", "type": "string", - "readOnly": true + "format": "uri" } }, - "description": "Capability for the Azure Database for PostgreSQL flexible server." + "description": "List of capabilities for the Azure Database for PostgreSQL flexible server." } }, "parameters": {} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/ServerLogs.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/CapturedLogs.json similarity index 81% rename from specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/ServerLogs.json rename to specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/CapturedLogs.json index 2ff7d3aa5efe..03cb1302f157 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/ServerLogs.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/CapturedLogs.json @@ -37,24 +37,24 @@ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/logFiles": { "get": { "tags": [ - "LogFiles" + "CapturedLogs" ], - "operationId": "LogFiles_ListByServer", + "operationId": "CapturedLogs_ListByServer", "x-ms-examples": { - "List all captured logs for download in a flexible server.": { - "$ref": "./examples/LogFilesListByServer.json" + "List all captured logs for download in a server.": { + "$ref": "./examples/CapturedLogsListByServer.json" } }, - "description": "Lists all captured logs for download in a flexible server.", + "description": "Lists all captured logs for download in a server.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" @@ -62,15 +62,15 @@ ], "responses": { "200": { - "description": "OK", + "description": "OK.", "schema": { - "$ref": "#/definitions/LogFileListResult" + "$ref": "#/definitions/CapturedLogList" } }, "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -81,7 +81,7 @@ } }, "definitions": { - "LogFileProperties": { + "CapturedLogProperties": { "type": "object", "properties": { "createdTime": { @@ -110,35 +110,36 @@ }, "description": "Properties of a log file." }, - "LogFile": { + "CapturedLog": { "type": "object", "properties": { "properties": { - "$ref": "#/definitions/LogFileProperties", + "$ref": "#/definitions/CapturedLogProperties", "x-ms-client-flatten": true, "description": "Properties of a log file." } }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" } ], "description": "Log file." }, - "LogFileListResult": { + "CapturedLogList": { "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/definitions/LogFile" + "$ref": "#/definitions/CapturedLog" }, - "description": "List of log files in a flexible server." + "description": "List of log files in a server." }, "nextLink": { "description": "Link used to get the next page of results.", - "type": "string" + "type": "string", + "format": "uri" } }, "description": "List of log files." diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Configuration.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Configurations.json similarity index 65% rename from specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Configuration.json rename to specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Configurations.json index c90d22fcc98b..e73fc9dd1328 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Configuration.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Configurations.json @@ -41,20 +41,20 @@ ], "operationId": "Configurations_ListByServer", "x-ms-examples": { - "List all server parameters (also known as configurations) of a flexible server.": { - "$ref": "./examples/ConfigurationListByServer.json" + "List all configurations (also known as server parameters) of a server.": { + "$ref": "./examples/ConfigurationsListByServer.json" } }, - "description": "Lists all server parameters (also known as configurations) of a flexible server.", + "description": "Lists all configurations (also known as server parameters) of a server.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" @@ -62,15 +62,15 @@ ], "responses": { "200": { - "description": "OK", + "description": "OK.", "schema": { - "$ref": "#/definitions/ConfigurationListResult" + "$ref": "#/definitions/ConfigurationList" } }, "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -86,20 +86,20 @@ ], "operationId": "Configurations_Get", "x-ms-examples": { - "Get information about a specific server parameter of a flexible server.": { - "$ref": "./examples/ConfigurationGet.json" + "Get information about a specific configuration (also known as server parameter) of a server.": { + "$ref": "./examples/ConfigurationsGet.json" } }, - "description": "Gets information about a specific server parameter of a flexible server.", + "description": "Gets information about a specific configuration (also known as server parameter) of a server.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" @@ -110,7 +110,7 @@ ], "responses": { "200": { - "description": "OK", + "description": "OK.", "schema": { "$ref": "#/definitions/Configuration" } @@ -118,7 +118,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -129,20 +129,20 @@ ], "operationId": "Configurations_Update", "x-ms-examples": { - "Update, using Patch verb, the value assigned to a specific modifiable server parameter of a flexible server.": { - "$ref": "./examples/ConfigurationUpdateUsingPatch.json" + "Update the value assigned to a specific modifiable configuration (also known as server parameter) of a server.": { + "$ref": "./examples/ConfigurationsUpdate.json" } }, - "description": "Updates, using Patch verb, the value assigned to a specific modifiable server parameter of a flexible server.", + "description": "Updates the value assigned to a specific modifiable configuration (also known as server parameter) of a server.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" @@ -157,34 +157,25 @@ "schema": { "$ref": "#/definitions/ConfigurationForUpdate" }, - "description": "Parameters required to update the value of a specific modifiable server parameter." + "description": "Parameters required to update the value of a specific modifiable configuration (also known as server parameter)." } ], "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Configuration" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/Configuration" - } - }, "202": { - "description": "Accepted", + "description": "Accepted.", "headers": { "Location": { "type": "string" + }, + "Azure-AsyncOperation": { + "type": "string" } } }, "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -199,20 +190,20 @@ ], "operationId": "Configurations_Put", "x-ms-examples": { - "Update, using Put verb, the value assigned to a specific modifiable server parameter of a flexible server.": { - "$ref": "./examples/ConfigurationUpdateUsingPut.json" + "Update, using Put verb, the value assigned to a specific modifiable configuration (also known as server parameter) of a server.": { + "$ref": "./examples/ConfigurationsUpdateUsingPut.json" } }, - "description": "Updates, using Put verb, the value assigned to a specific modifiable server parameter of a flexible server.", + "description": "Updates, using Put verb, the value assigned to a specific modifiable configuration (also known as server parameter) of a server.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" @@ -225,42 +216,33 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/Configuration" + "$ref": "#/definitions/ConfigurationForUpdate" }, - "description": "Parameters required to update the value of a specific modifiable server parameter." + "description": "Parameters required to update the value of a specific modifiable configuration (also known as server parameter)." } ], "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Configuration" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/Configuration" - } - }, "202": { - "description": "Accepted", + "description": "Accepted.", "headers": { "Location": { "type": "string" + }, + "Azure-AsyncOperation": { + "type": "string" } } }, "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "location" + "final-state-via": "azure-async-operation" } } } @@ -271,27 +253,29 @@ "properties": { "value": { "type": "string", - "description": "Value of the server parameter (also known as configuration). Required to update the value assigned to a specific modifiable server parameter." + "description": "Value of the configuration (also known as server parameter). Required to update the value assigned to a specific modifiable configuration." }, "description": { "type": "string", "readOnly": true, - "description": "Description of the server parameter." + "description": "Description of the configuration (also known as server parameter)." }, "defaultValue": { "type": "string", "readOnly": true, - "description": "Value assigned by default to the server parameter." + "description": "Value assigned by default to the configuration (also known as server parameter)." }, "dataType": { "type": "string", "readOnly": true, - "description": "Data type of the server parameter.", + "description": "Data type of the configuration (also known as server parameter).", "enum": [ "Boolean", "Numeric", "Integer", - "Enumeration" + "Enumeration", + "String", + "Set" ], "x-ms-enum": { "name": "ConfigurationDataType", @@ -301,39 +285,39 @@ "allowedValues": { "type": "string", "readOnly": true, - "description": "Allowed values of the server parameter." + "description": "Allowed values of the configuration (also known as server parameter)." }, "source": { "type": "string", - "description": "Source of the value assigned to the server parameter. Required to update the value assigned to a specific modifiable server parameter." + "description": "Source of the value assigned to the configuration (also known as server parameter). Required to update the value assigned to a specific modifiable configuration." }, "isDynamicConfig": { "type": "boolean", "readOnly": true, - "description": "Indicates if it's a dynamic (true) or static (false) server parameter. Static server parameters require a server restart after changing the value assigned to it, for the change to take effect. Dynamic server parameters do not require a server restart after changing the value assigned to it, for the change to take effect." + "description": "Indicates if it's a dynamic (true) or static (false) configuration (also known as server parameter). Static server parameters require a server restart after changing the value assigned to them, for the change to take effect. Dynamic server parameters do not require a server restart after changing the value assigned to them, for the change to take effect." }, "isReadOnly": { "type": "boolean", "readOnly": true, - "description": "Indicates if it's a read-only (true) or modifiable (false) server parameter." + "description": "Indicates if it's a read-only (true) or modifiable (false) configuration (also known as server parameter)." }, "isConfigPendingRestart": { "type": "boolean", "readOnly": true, - "description": "Indicates if the value assigned to the server parameter is pending a server restart for the value to take effect." + "description": "Indicates if the value assigned to the configuration (also known as server parameter) is pending a server restart for it to take effect." }, "unit": { "type": "string", "readOnly": true, - "description": "Units in which the server parameter value is expressed." + "description": "Units in which the configuration (also known as server parameter) value is expressed." }, "documentationLink": { "type": "string", "readOnly": true, - "description": "Link pointing to the documentation of the server parameter." + "description": "Link pointing to the documentation of the configuration (also known as server parameter)." } }, - "description": "Properties of a server parameter." + "description": "Properties of a configuration (also known as server parameter)." }, "Configuration": { "type": "object", @@ -341,15 +325,15 @@ "properties": { "$ref": "#/definitions/ConfigurationProperties", "x-ms-client-flatten": true, - "description": "Properties of a server parameter." + "description": "Properties of a configuration (also known as server parameter)." } }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" } ], - "description": "Server parameter." + "description": "Configuration (also known as server parameter)." }, "ConfigurationForUpdate": { "type": "object", @@ -357,12 +341,12 @@ "properties": { "$ref": "#/definitions/ConfigurationProperties", "x-ms-client-flatten": true, - "description": "Properties of a server parameter." + "description": "Properties of a configuration (also known as server parameter)." } }, - "description": "Server parameter." + "description": "Configuration (also known as server parameter)." }, - "ConfigurationListResult": { + "ConfigurationList": { "type": "object", "properties": { "value": { @@ -370,14 +354,15 @@ "items": { "$ref": "#/definitions/Configuration" }, - "description": "List of server parameters." + "description": "List of configurations (also known as server parameters)." }, "nextLink": { "description": "Link used to get the next page of results.", - "type": "string" + "type": "string", + "format": "uri" } }, - "description": "List of server parameters." + "description": "List of configurations (also known as server parameters)." } }, "parameters": { @@ -386,9 +371,10 @@ "in": "path", "required": true, "type": "string", - "description": "Name of the server parameter.", + "description": "Name of the configuration (also known as server parameter).", "minLength": 1, "pattern": "^[-\\w\\._]+$", + "maxLength": 256, "x-ms-parameter-location": "method" } } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Databases.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Databases.json index ede5ef978074..e34e7ca38c4f 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Databases.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Databases.json @@ -42,19 +42,19 @@ "operationId": "Databases_Create", "x-ms-examples": { "Create a database.": { - "$ref": "./examples/DatabaseCreate.json" + "$ref": "./examples/DatabasesCreate.json" } }, "description": "Creates a new database.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" @@ -73,30 +73,21 @@ } ], "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Database" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/Database" - } - }, "202": { - "description": "Accepted", + "description": "Accepted.", "headers": { "Location": { "type": "string" + }, + "Azure-AsyncOperation": { + "type": "string" } } }, "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -112,19 +103,19 @@ "operationId": "Databases_Delete", "x-ms-examples": { "Delete an existing database": { - "$ref": "./examples/DatabaseDelete.json" + "$ref": "./examples/DatabasesDelete.json" } }, "description": "Deletes an existing database.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" @@ -134,24 +125,24 @@ } ], "responses": { - "200": { - "description": "OK" - }, "202": { - "description": "Accepted", + "description": "Accepted.", "headers": { "Location": { "type": "string" + }, + "Azure-AsyncOperation": { + "type": "string" } } }, "204": { - "description": "NoContent" + "description": "No Content." }, "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -167,19 +158,19 @@ "operationId": "Databases_Get", "x-ms-examples": { "Get information about an existing database.": { - "$ref": "./examples/DatabaseGet.json" + "$ref": "./examples/DatabasesGet.json" } }, "description": "Gets information about an existing database.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" @@ -190,7 +181,7 @@ ], "responses": { "200": { - "description": "OK", + "description": "OK.", "schema": { "$ref": "#/definitions/Database" } @@ -198,7 +189,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -211,20 +202,20 @@ ], "operationId": "Databases_ListByServer", "x-ms-examples": { - "List all databases in a flexible server.": { + "List all databases in a server.": { "$ref": "./examples/DatabasesListByServer.json" } }, - "description": "Lists all databases in a flexible server.", + "description": "Lists all databases in a server.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" @@ -232,15 +223,15 @@ ], "responses": { "200": { - "description": "OK", + "description": "OK.", "schema": { - "$ref": "#/definitions/DatabaseListResult" + "$ref": "#/definitions/DatabaseList" } }, "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -278,12 +269,12 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" } ], - "description": "Represents a Database." + "description": "Represents a database." }, - "DatabaseListResult": { + "DatabaseList": { "type": "object", "properties": { "value": { @@ -291,7 +282,7 @@ "items": { "$ref": "#/definitions/Database" }, - "description": "List of all databases in a flexible server." + "description": "List of all databases in a server." }, "nextLink": { "description": "Link used to get the next page of results.", @@ -299,7 +290,7 @@ "format": "uri" } }, - "description": "List of all databases in a flexible server." + "description": "List of all databases in a server." } }, "parameters": { @@ -308,9 +299,10 @@ "in": "path", "required": true, "type": "string", - "description": "Name of the database.", + "description": "Name of the database (case-sensitive). Exact database names can be retrieved by getting the list of all existing databases in a server.", "minLength": 1, - "pattern": "^[-\\w\\._]+$", + "pattern": "^[a-zA-Z_][\\w\\-]{0,62}$", + "maxLength": 63, "x-ms-parameter-location": "method" } } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/FirewallRules.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/FirewallRules.json index 43a6cd575f5e..35f141e17923 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/FirewallRules.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/FirewallRules.json @@ -42,19 +42,19 @@ "operationId": "FirewallRules_CreateOrUpdate", "x-ms-examples": { "Create a new firewall rule or update an existing firewall rule.": { - "$ref": "./examples/FirewallRuleCreate.json" + "$ref": "./examples/FirewallRulesCreateOrUpdate.json" } }, "description": "Creates a new firewall rule or updates an existing firewall rule.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" @@ -73,30 +73,21 @@ } ], "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/FirewallRule" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/FirewallRule" - } - }, "202": { - "description": "Accepted", + "description": "Accepted.", "headers": { "Location": { "type": "string" + }, + "Azure-AsyncOperation": { + "type": "string" } } }, "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -112,19 +103,19 @@ "operationId": "FirewallRules_Delete", "x-ms-examples": { "Delete an existing firewall rule.": { - "$ref": "./examples/FirewallRuleDelete.json" + "$ref": "./examples/FirewallRulesDelete.json" } }, "description": "Deletes an existing firewall rule.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" @@ -134,24 +125,24 @@ } ], "responses": { - "200": { - "description": "OK" - }, "202": { - "description": "Accepted", + "description": "Accepted.", "headers": { "Location": { "type": "string" + }, + "Azure-AsyncOperation": { + "type": "string" } } }, "204": { - "description": "NoContent" + "description": "No Content." }, "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -166,20 +157,20 @@ ], "operationId": "FirewallRules_Get", "x-ms-examples": { - "Get information about a firewall rule in a flexible server.": { - "$ref": "./examples/FirewallRuleGet.json" + "Get information about a firewall rule in a server.": { + "$ref": "./examples/FirewallRulesGet.json" } }, - "description": "Gets information about a firewall rule in a flexible server.", + "description": "Gets information about a firewall rule in a server.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" @@ -190,7 +181,7 @@ ], "responses": { "200": { - "description": "OK", + "description": "OK.", "schema": { "$ref": "#/definitions/FirewallRule" } @@ -198,7 +189,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -211,20 +202,20 @@ ], "operationId": "FirewallRules_ListByServer", "x-ms-examples": { - "List information about all firewall rules in a flexible server.": { - "$ref": "./examples/FirewallRuleListByServer.json" + "List information about all firewall rules in a server.": { + "$ref": "./examples/FirewallRulesListByServer.json" } }, - "description": "Lists information about all firewall rules in a flexible server.", + "description": "Lists information about all firewall rules in a server.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" @@ -232,15 +223,15 @@ ], "responses": { "200": { - "description": "OK", + "description": "OK.", "schema": { - "$ref": "#/definitions/FirewallRuleListResult" + "$ref": "#/definitions/FirewallRuleList" } }, "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -282,7 +273,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" } ], "required": [ @@ -290,7 +281,7 @@ ], "description": "Firewall rule." }, - "FirewallRuleListResult": { + "FirewallRuleList": { "type": "object", "properties": { "value": { @@ -298,11 +289,12 @@ "items": { "$ref": "#/definitions/FirewallRule" }, - "description": "List of firewall rules in a flexible server." + "description": "List of firewall rules in a server." }, "nextLink": { "description": "Link to retrieve next page of results.", - "type": "string" + "type": "string", + "format": "uri" } }, "description": "List of firewall rules." @@ -316,7 +308,8 @@ "type": "string", "description": "Name of the firewall rule.", "minLength": 1, - "pattern": "^[-\\w\\._]+$", + "pattern": "^[a-zA-Z0-9][-_a-zA-Z0-9]{0,79}(? Date: Fri, 25 Jul 2025 15:36:52 -0700 Subject: [PATCH 04/10] added version 2025-08-01 to readme --- .../postgresql/resource-manager/readme.md | 173 +++++++++++++++++- 1 file changed, 172 insertions(+), 1 deletion(-) diff --git a/specification/postgresql/resource-manager/readme.md b/specification/postgresql/resource-manager/readme.md index ff91b277ceae..4029b52aa553 100644 --- a/specification/postgresql/resource-manager/readme.md +++ b/specification/postgresql/resource-manager/readme.md @@ -28,13 +28,184 @@ These are the global settings for the PostgreSQL API. title: PostgreSQLManagementClient description: 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. openapi-type: arm -tag: package-flexibleserver-2025-06-01-preview +tag: package-flexibleserver-2025-08-01 ``` ``` yaml $(package-singleservers) tag: package-2020-01-01 ``` +### Tag: package-flexibleserver-2025-08-01 + +These settings apply only when `--tag=package-flexibleserver-2025-08-01` is specified on the command line. + +``` yaml $(tag) == 'package-flexibleserver-2025-08-01' +input-file: + - Microsoft.DBforPostgreSQL/preview/2025-08-01/AdministratorsMicrosoftEntra.json + - Microsoft.DBforPostgreSQL/preview/2025-08-01/AdvancedThreatProtectionSettings.json + - Microsoft.DBforPostgreSQL/preview/2025-08-01/BackupsAutomaticAndOnDemand.json + - Microsoft.DBforPostgreSQL/preview/2025-08-01/Capabilities.json + - Microsoft.DBforPostgreSQL/preview/2025-08-01/CapturedLogs.json + - Microsoft.DBforPostgreSQL/preview/2025-08-01/Configurations.json + - Microsoft.DBforPostgreSQL/preview/2025-08-01/Databases.json + - Microsoft.DBforPostgreSQL/preview/2025-08-01/FirewallRules.json + - Microsoft.DBforPostgreSQL/preview/2025-08-01/BackupsLongTermRetention.json + - Microsoft.DBforPostgreSQL/preview/2025-08-01/Migrations.json + - Microsoft.DBforPostgreSQL/preview/2025-08-01/NameAvailability.json + - Microsoft.DBforPostgreSQL/preview/2025-08-01/Operations.json + - Microsoft.DBforPostgreSQL/preview/2025-08-01/PrivateDnsZoneSuffix.json + - Microsoft.DBforPostgreSQL/preview/2025-08-01/PrivateEndpointConnections.json + - Microsoft.DBforPostgreSQL/preview/2025-08-01/PrivateLinkResources.json + - Microsoft.DBforPostgreSQL/preview/2025-08-01/QuotaUsages.json + - Microsoft.DBforPostgreSQL/preview/2025-08-01/Replicas.json + - Microsoft.DBforPostgreSQL/preview/2025-08-01/Servers.json + - Microsoft.DBforPostgreSQL/preview/2025-08-01/TuningOptions.json + - Microsoft.DBforPostgreSQL/preview/2025-08-01/VirtualEndpoints.json + - Microsoft.DBforPostgreSQL/preview/2025-08-01/VirtualNetworkSubnetUsage.json +suppressions: + - code: ProvisioningStateSpecifiedForLROPut + from: AdministratorsMicrosoftEntra.json + reason: The existing API contract is like this and not be able to change. + - code: PutGetPatchResponseSchema + from: AdministratorsMicrosoftEntra.json + reason: The existing API contract is like this and not be able to change. + - code: PutResponseCodes + from: AdministratorsMicrosoftEntra.json + reason: The existing API contract is like this and not be able to change. + - code: AllProxyResourcesShouldHaveDelete + from: AdvancedThreatProtectionSettings.json + reason: The existing API contract is like this and not be able to change. + - code: ProvisioningStateSpecifiedForLROPut + from: AdvancedThreatProtectionSettings.json + reason: The existing API contract is like this and not be able to change. + - code: PutGetPatchResponseSchema + from: AdvancedThreatProtectionSettings.json + reason: The existing API contract is like this and not be able to change. + - code: PutResponseCodes + from: AdvancedThreatProtectionSettings.json + reason: The existing API contract is like this and not be able to change. + - code: ProvisioningStateSpecifiedForLROPut + from: BackupsAutomaticAndOnDemand.json + reason: The existing API contract is like this and not be able to change. + - code: PutGetPatchResponseSchema + from: BackupsAutomaticAndOnDemand.json + reason: The existing API contract is like this and not be able to change. + - code: PutResponseCodes + from: BackupsAutomaticAndOnDemand.json + reason: The existing API contract is like this and not be able to change. + - code: RequiredPropertiesMissingInResourceModel + from: Capabilities.json + where: $.definitions.CapabilityList + reason: The existing API contract is like this and not be able to change. + - code: PatchResponseCodes + from: Configurations.json + reason: The existing API contract is like this and not be able to change. + - code: PutGetPatchResponseSchema + from: Configurations.json + reason: The existing API contract is like this and not be able to change. + - code: ProvisioningStateSpecifiedForLROPut + from: Configurations.json + reason: The existing API contract is like this and not be able to change. + - code: ProvisioningStateSpecifiedForLROPut + from: Configurations.json + reason: The existing API contract is like this and not be able to change. + - code: PutResponseCodes + from: Configurations.json + reason: The existing API contract is like this and not be able to change. + - code: ProvisioningStateSpecifiedForLROPut + from: Databases.json + reason: The existing API contract is like this and not be able to change. + - code: PutGetPatchResponseSchema + from: Databases.json + reason: The existing API contract is like this and not be able to change. + - code: PutResponseCodes + from: Databases.json + reason: The existing API contract is like this and not be able to change. + - code: ProvisioningStateSpecifiedForLROPut + from: FirewallRules.json + reason: The existing API contract is like this and not be able to change. + - code: PutGetPatchResponseSchema + from: FirewallRules.json + reason: The existing API contract is like this and not be able to change. + - code: PutResponseCodes + from: FirewallRules.json + reason: The existing API contract is like this and not be able to change. + - code: AvoidAdditionalProperties + from: Migrations.json + reason: The existing API contract is like this and not be able to change. + - code: DeleteResponseBodyEmpty + from: Migrations.json + reason: The existing API contract is like this and not be able to change. + - code: AvoidAdditionalProperties + from: Operations.json + reason: The existing API contract is like this and not be able to change. + - code: OperationsApiSchemaUsesCommonTypes + from: Operations.json + reason: The existing API contract is like this and not be able to change. + - code: RequiredPropertiesMissingInResourceModel + from: Operations.json + where: $.definitions.OperationList + reason: The existing API contract is like this and not be able to change. + - code: ProvisioningStateSpecifiedForLROPut + from: PrivateEndpointConnections.json + reason: The existing API contract is like this and not be able to change. + - code: PutGetPatchResponseSchema + from: PrivateEndpointConnections.json + reason: The existing API contract is like this and not be able to change. + - code: PutResponseCodes + from: PrivateEndpointConnections.json + reason: The existing API contract is like this and not be able to change. + - code: RequiredPropertiesMissingInResourceModel + from: QuotaUsages.json + where: $.definitions.QuotaUsageList + reason: The existing API contract is like this and not be able to change. + - code: AvoidAdditionalProperties + from: Servers.json + reason: The existing API contract is like this and not be able to change. + - code: PatchResponseCodes + from: Servers.json + reason: The existing API contract is like this and not be able to change. + - code: ProvisioningStateSpecifiedForLROPatch + from: Servers.json + reason: The existing API contract is like this and not be able to change. + - code: ProvisioningStateSpecifiedForLROPut + from: Servers.json + reason: The existing API contract is like this and not be able to change. + - code: PutGetPatchResponseSchema + from: Servers.json + reason: The existing API contract is like this and not be able to change. + - code: PutResponseCodes + from: Servers.json + reason: The existing API contract is like this and not be able to change. + - code: TrackedResourcesMustHavePut + from: Servers.json + where: $.definitions.Server + reason: The existing API contract is like this and not be able to change. + - code: RequiredPropertiesMissingInResourceModel + from: TuningOptions.json + where: $.definitions.TuningOptionsList + reason: The existing API contract is like this and not be able to change. + - code: ProvisioningStateSpecifiedForLROPatch + from: VirtualEndpoints.json + reason: The existing API contract is like this and not be able to change. + - code: ProvisioningStateSpecifiedForLROPut + from: VirtualEndpoints.json + reason: The existing API contract is like this and not be able to change. + - code: PatchResponseCodes + from: VirtualEndpoints.json + reason: The existing API contract is like this and not be able to change. + - code: PutGetPatchResponseSchema + from: VirtualEndpoints.json + reason: The existing API contract is like this and not be able to change. + - code: RequiredPropertiesMissingInResourceModel + from: VirtualEndpoints.json + where: $.definitions.VirtualEndpointsList + reason: The existing API contract is like this and not be able to change. + - code: PutResponseCodes + from: VirtualEndpoints.json + reason: The existing API contract is like this and not be able to change. +``` + ### Tag: package-flexibleserver-2025-06-01-preview These settings apply only when `--tag=package-flexibleserver-2025-06-01-preview` is specified on the command line. From c591eca33e95a175a04498353c32ee09955c3b0a Mon Sep 17 00:00:00 2001 From: Matthew Boentoro Date: Tue, 29 Jul 2025 15:56:29 -0700 Subject: [PATCH 05/10] address feedback --- .../examples/CapabilitiesByLocationList.json | 42 ------------------- .../examples/CapabilitiesByServerList.json | 42 ------------------- .../postgresql/resource-manager/readme.md | 42 +++++++++---------- 3 files changed, 21 insertions(+), 105 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/CapabilitiesByLocationList.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/CapabilitiesByLocationList.json index 37c35bb220b3..9174ea573f7d 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/CapabilitiesByLocationList.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/CapabilitiesByLocationList.json @@ -1198,27 +1198,6 @@ ] } ] - }, - { - "name": "UltraDisk", - "defaultStorageSizeMb": 65536, - "supportedStorageMb": [ - { - "supportedIops": 4800, - "supportedMaximumIops": 400000, - "storageSizeMb": 32768, - "maximumStorageSizeMb": 67108864, - "supportedThroughput": 1200, - "supportedMaximumThroughput": 10000, - "defaultIopsTier": "None", - "supportedIopsTiers": [ - { - "name": "None", - "iops": 0 - } - ] - } - ] } ] }, @@ -2038,27 +2017,6 @@ ] } ] - }, - { - "name": "UltraDisk", - "defaultStorageSizeMb": 131072, - "supportedStorageMb": [ - { - "supportedIops": 4800, - "supportedMaximumIops": 400000, - "storageSizeMb": 32768, - "maximumStorageSizeMb": 67108864, - "supportedThroughput": 1200, - "supportedMaximumThroughput": 10000, - "defaultIopsTier": "None", - "supportedIopsTiers": [ - { - "name": "None", - "iops": 0 - } - ] - } - ] } ] } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/CapabilitiesByServerList.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/CapabilitiesByServerList.json index 577406414d69..48fd864620d2 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/CapabilitiesByServerList.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/CapabilitiesByServerList.json @@ -1071,27 +1071,6 @@ ] } ] - }, - { - "name": "UltraDisk", - "defaultStorageSizeMb": 65536, - "supportedStorageMb": [ - { - "supportedIops": 4800, - "supportedMaximumIops": 400000, - "storageSizeMb": 32768, - "maximumStorageSizeMb": 67108864, - "supportedThroughput": 1200, - "supportedMaximumThroughput": 10000, - "defaultIopsTier": "None", - "supportedIopsTiers": [ - { - "name": "None", - "iops": 0 - } - ] - } - ] } ] }, @@ -1799,27 +1778,6 @@ ] } ] - }, - { - "name": "UltraDisk", - "defaultStorageSizeMb": 131072, - "supportedStorageMb": [ - { - "supportedIops": 4800, - "supportedMaximumIops": 400000, - "storageSizeMb": 32768, - "maximumStorageSizeMb": 67108864, - "supportedThroughput": 1200, - "supportedMaximumThroughput": 10000, - "defaultIopsTier": "None", - "supportedIopsTiers": [ - { - "name": "None", - "iops": 0 - } - ] - } - ] } ] } diff --git a/specification/postgresql/resource-manager/readme.md b/specification/postgresql/resource-manager/readme.md index 4029b52aa553..9dcb425e0e56 100644 --- a/specification/postgresql/resource-manager/readme.md +++ b/specification/postgresql/resource-manager/readme.md @@ -41,27 +41,27 @@ These settings apply only when `--tag=package-flexibleserver-2025-08-01` is spec ``` yaml $(tag) == 'package-flexibleserver-2025-08-01' input-file: - - Microsoft.DBforPostgreSQL/preview/2025-08-01/AdministratorsMicrosoftEntra.json - - Microsoft.DBforPostgreSQL/preview/2025-08-01/AdvancedThreatProtectionSettings.json - - Microsoft.DBforPostgreSQL/preview/2025-08-01/BackupsAutomaticAndOnDemand.json - - Microsoft.DBforPostgreSQL/preview/2025-08-01/Capabilities.json - - Microsoft.DBforPostgreSQL/preview/2025-08-01/CapturedLogs.json - - Microsoft.DBforPostgreSQL/preview/2025-08-01/Configurations.json - - Microsoft.DBforPostgreSQL/preview/2025-08-01/Databases.json - - Microsoft.DBforPostgreSQL/preview/2025-08-01/FirewallRules.json - - Microsoft.DBforPostgreSQL/preview/2025-08-01/BackupsLongTermRetention.json - - Microsoft.DBforPostgreSQL/preview/2025-08-01/Migrations.json - - Microsoft.DBforPostgreSQL/preview/2025-08-01/NameAvailability.json - - Microsoft.DBforPostgreSQL/preview/2025-08-01/Operations.json - - Microsoft.DBforPostgreSQL/preview/2025-08-01/PrivateDnsZoneSuffix.json - - Microsoft.DBforPostgreSQL/preview/2025-08-01/PrivateEndpointConnections.json - - Microsoft.DBforPostgreSQL/preview/2025-08-01/PrivateLinkResources.json - - Microsoft.DBforPostgreSQL/preview/2025-08-01/QuotaUsages.json - - Microsoft.DBforPostgreSQL/preview/2025-08-01/Replicas.json - - Microsoft.DBforPostgreSQL/preview/2025-08-01/Servers.json - - Microsoft.DBforPostgreSQL/preview/2025-08-01/TuningOptions.json - - Microsoft.DBforPostgreSQL/preview/2025-08-01/VirtualEndpoints.json - - Microsoft.DBforPostgreSQL/preview/2025-08-01/VirtualNetworkSubnetUsage.json + - Microsoft.DBforPostgreSQL/stable/2025-08-01/AdministratorsMicrosoftEntra.json + - Microsoft.DBforPostgreSQL/stable/2025-08-01/AdvancedThreatProtectionSettings.json + - Microsoft.DBforPostgreSQL/stable/2025-08-01/BackupsAutomaticAndOnDemand.json + - Microsoft.DBforPostgreSQL/stable/2025-08-01/Capabilities.json + - Microsoft.DBforPostgreSQL/stable/2025-08-01/CapturedLogs.json + - Microsoft.DBforPostgreSQL/stable/2025-08-01/Configurations.json + - Microsoft.DBforPostgreSQL/stable/2025-08-01/Databases.json + - Microsoft.DBforPostgreSQL/stable/2025-08-01/FirewallRules.json + - Microsoft.DBforPostgreSQL/stable/2025-08-01/BackupsLongTermRetention.json + - Microsoft.DBforPostgreSQL/stable/2025-08-01/Migrations.json + - Microsoft.DBforPostgreSQL/stable/2025-08-01/NameAvailability.json + - Microsoft.DBforPostgreSQL/stable/2025-08-01/Operations.json + - Microsoft.DBforPostgreSQL/stable/2025-08-01/PrivateDnsZoneSuffix.json + - Microsoft.DBforPostgreSQL/stable/2025-08-01/PrivateEndpointConnections.json + - Microsoft.DBforPostgreSQL/stable/2025-08-01/PrivateLinkResources.json + - Microsoft.DBforPostgreSQL/stable/2025-08-01/QuotaUsages.json + - Microsoft.DBforPostgreSQL/stable/2025-08-01/Replicas.json + - Microsoft.DBforPostgreSQL/stable/2025-08-01/Servers.json + - Microsoft.DBforPostgreSQL/stable/2025-08-01/TuningOptions.json + - Microsoft.DBforPostgreSQL/stable/2025-08-01/VirtualEndpoints.json + - Microsoft.DBforPostgreSQL/stable/2025-08-01/VirtualNetworkSubnetUsage.json suppressions: - code: ProvisioningStateSpecifiedForLROPut from: AdministratorsMicrosoftEntra.json From 0f9798aa2720ac3b2299c448917356c18389ec41 Mon Sep 17 00:00:00 2001 From: Matthew Boentoro Date: Mon, 4 Aug 2025 17:28:42 -0700 Subject: [PATCH 06/10] add description to all enum values --- .../AdministratorsMicrosoftEntra.json | 19 + .../AdvancedThreatProtectionSettings.json | 20 +- .../BackupsAutomaticAndOnDemand.json | 12 +- .../2025-08-01/BackupsLongTermRetention.json | 20 +- .../stable/2025-08-01/Capabilities.json | 140 ++++- .../stable/2025-08-01/Configurations.json | 28 +- .../stable/2025-08-01/Migrations.json | 460 +++++++++++++++- .../stable/2025-08-01/Operations.json | 16 +- .../stable/2025-08-01/Servers.json | 519 ++++++++++++++++-- .../stable/2025-08-01/VirtualEndpoints.json | 8 +- 10 files changed, 1171 insertions(+), 71 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/AdministratorsMicrosoftEntra.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/AdministratorsMicrosoftEntra.json index 506a59317b66..bb98a8b3310c 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/AdministratorsMicrosoftEntra.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/AdministratorsMicrosoftEntra.json @@ -329,6 +329,25 @@ "name": "PrincipalType", "modelAsString": true }, + "modelAsString": true, + "values": [ + { + "value": "Unknown", + "description": "The principal type is not known or not specified." + }, + { + "value": "User", + "description": "A Microsoft Entra user." + }, + { + "value": "Group", + "description": "A Microsoft Entra group." + }, + { + "value": "ServicePrincipal", + "description": "A Microsoft Entra service principal, typically representing an application or service identity" + } + ], "x-ms-mutability": [ "create", "update", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/AdvancedThreatProtectionSettings.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/AdvancedThreatProtectionSettings.json index 7d9c3bf690f4..9dcda05f6078 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/AdvancedThreatProtectionSettings.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/AdvancedThreatProtectionSettings.json @@ -203,7 +203,17 @@ "type": "string", "x-ms-enum": { "name": "ThreatProtectionState", - "modelAsString": false + "modelAsString": false, + "values": [ + { + "value": "Enabled", + "description": "Advanced threat protection is enabled." + }, + { + "value": "Disabled", + "description": "Advanced threat protection is disabled." + } + ] } }, "creationTime": { @@ -262,7 +272,13 @@ ], "x-ms-enum": { "name": "ThreatProtectionName", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "Default", + "description": "Default advanced threat protection settings." + } + ] }, "pattern": "^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*", "x-ms-parameter-location": "method" diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/BackupsAutomaticAndOnDemand.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/BackupsAutomaticAndOnDemand.json index 743b0714323e..34f5094746b6 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/BackupsAutomaticAndOnDemand.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/BackupsAutomaticAndOnDemand.json @@ -245,7 +245,17 @@ ], "x-ms-enum": { "name": "BackupType", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "Full", + "description": "A full backup taken automatically by the service. These backups are retained for a period of time as defined by the backup retention policy, and they cannot be deleted by the customer." + }, + { + "value": "Customer On-Demand", + "description": "A full backup triggered by the customer. These backups are retained for a period of time as defined by the backup retention policy, and they can also be deleted by the customer." + } + ] } }, "completedTime": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/BackupsLongTermRetention.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/BackupsLongTermRetention.json index 611ef8f31c55..8df7f3d78906 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/BackupsLongTermRetention.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/BackupsLongTermRetention.json @@ -409,7 +409,25 @@ "type": "string", "x-ms-enum": { "name": "ExecutionStatus", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "Running", + "description": "The operation is currently running." + }, + { + "value": "Cancelled", + "description": "The operation was cancelled." + }, + { + "value": "Failed", + "description": "The operation failed." + }, + { + "value": "Succeeded", + "description": "The operation succeeded." + } + ] } }, "startTime": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Capabilities.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Capabilities.json index c95a65237266..d60000bcd233 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Capabilities.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Capabilities.json @@ -253,7 +253,17 @@ ], "x-ms-enum": { "name": "HighAvailabilityMode", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "ZoneRedundant", + "description": "High availability is enabled for the server, with standby server in a different availability zone than that of the primary." + }, + { + "value": "SameZone", + "description": "High availability is enabled for the server, with standby server in the same availability zone as the primary." + } + ] } }, "description": "Modes of high availability supported for this compute.", @@ -297,7 +307,37 @@ ], "x-ms-enum": { "name": "PostgresMajorVersion", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "17", + "description": "PostgreSQL 17." + }, + { + "value": "16", + "description": "PostgreSQL 16." + }, + { + "value": "15", + "description": "PostgreSQL 15." + }, + { + "value": "14", + "description": "PostgreSQL 14." + }, + { + "value": "13", + "description": "PostgreSQL 13." + }, + { + "value": "12", + "description": "PostgreSQL 12." + }, + { + "value": "11", + "description": "PostgreSQL 11." + } + ] } }, "ServerVersionCapability": { @@ -387,7 +427,17 @@ ], "x-ms-enum": { "name": "FeatureStatus", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "Enabled", + "description": "Feature is enabled." + }, + { + "value": "Disabled", + "description": "Feature is disabled." + } + ] } } } @@ -528,7 +578,17 @@ ], "x-ms-enum": { "name": "FastProvisioningSupport", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "Enabled", + "description": "Fast provisioning is supported." + }, + { + "value": "Disabled", + "description": "Fast provisioning is not supported." + } + ] } }, "supportedFastProvisioningEditions": { @@ -552,7 +612,17 @@ ], "x-ms-enum": { "name": "GeographicallyRedundantBackupSupport", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "Enabled", + "description": "Geographically redundant backups are supported." + }, + { + "value": "Disabled", + "description": "Geographically redundant backups are not supported." + } + ] } }, "zoneRedundantHaSupported": { @@ -565,7 +635,17 @@ ], "x-ms-enum": { "name": "ZoneRedundantHighAvailabilitySupport", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "Enabled", + "description": "High availability with zone redundancy is supported." + }, + { + "value": "Disabled", + "description": "High availability with zone redundancy is not supported." + } + ] } }, "zoneRedundantHaAndGeoBackupSupported": { @@ -578,7 +658,17 @@ ], "x-ms-enum": { "name": "ZoneRedundantHighAvailabilityAndGeographicallyRedundantBackupSupport", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "Enabled", + "description": "High availability with zone redundancy is supported in conjunction with geographically redundant backups." + }, + { + "value": "Disabled", + "description": "High availability with zone redundancy is not supported in conjunction with geographically redundant backups." + } + ] } }, "storageAutoGrowthSupported": { @@ -591,7 +681,17 @@ ], "x-ms-enum": { "name": "StorageAutoGrowthSupport", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "Enabled", + "description": "Storage autogrow is supported." + }, + { + "value": "Disabled", + "description": "Storage autogrow is not supported." + } + ] } }, "onlineResizeSupported": { @@ -604,7 +704,17 @@ ], "x-ms-enum": { "name": "OnlineStorageResizeSupport", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "Enabled", + "description": "Resizing the storage without interrupting the operation of the database engine is supported." + }, + { + "value": "Disabled", + "description": "Resizing the storage without interrupting the operation of the database engine is not supported." + } + ] } }, "restricted": { @@ -617,7 +727,17 @@ ], "x-ms-enum": { "name": "LocationRestricted", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "Enabled", + "description": "Location is restricted." + }, + { + "value": "Disabled", + "description": "Location is not restricted." + } + ] } } }, diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Configurations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Configurations.json index e73fc9dd1328..4eb9d7f418ea 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Configurations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Configurations.json @@ -279,7 +279,33 @@ ], "x-ms-enum": { "name": "ConfigurationDataType", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "Boolean", + "description": "A boolean value." + }, + { + "value": "Numeric", + "description": "A numeric value." + }, + { + "value": "Integer", + "description": "An integer value." + }, + { + "value": "Enumeration", + "description": "An enumeration value." + }, + { + "value": "String", + "description": "A string value." + }, + { + "value": "Set", + "description": "A set of values." + } + ] } }, "allowedValues": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Migrations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Migrations.json index 4baf17c6c6fe..f9f5ae776769 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Migrations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Migrations.json @@ -466,7 +466,17 @@ ], "x-ms-enum": { "name": "LogicalReplicationOnSourceServer", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "True", + "description": "Logical replication will be set up on the source server." + }, + { + "value": "False", + "description": "Logical replication will not be set up on the source server." + } + ] }, "description": "Indicates whether to setup logical replication on source server, if needed." }, @@ -478,7 +488,17 @@ ], "x-ms-enum": { "name": "OverwriteDatabasesOnTargetServer", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "True", + "description": "Databases on the target server can be overwritten when already present." + }, + { + "value": "False", + "description": "Databases on the target server cannot be overwritten when already present." + } + ] }, "description": "Indicates if databases on the target server can be overwritten when already present. If set to 'False', when the migration workflow detects that the database already exists on the target server, it will wait for a confirmation." }, @@ -500,7 +520,17 @@ ], "x-ms-enum": { "name": "MigrateRolesAndPermissions", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "True", + "description": "Roles and permissions will be migrated." + }, + { + "value": "False", + "description": "Roles and permissions will not be migrated." + } + ] }, "description": "Indicates if roles and permissions must be migrated." }, @@ -512,7 +542,17 @@ ], "x-ms-enum": { "name": "StartDataMigration", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "True", + "description": "Data migration must start right away." + }, + { + "value": "False", + "description": "Data migration must not start right away." + } + ] }, "description": "Indicates if data migration must start right away." }, @@ -524,7 +564,17 @@ ], "x-ms-enum": { "name": "TriggerCutover", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "True", + "description": "Cutover must be triggered for the entire migration." + }, + { + "value": "False", + "description": "Cutover must not be triggered for the entire migration." + } + ] }, "description": "Indicates if cutover must be triggered for the entire migration." }, @@ -544,7 +594,17 @@ ], "x-ms-enum": { "name": "Cancel", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "True", + "description": "Cancel must be triggered for the entire migration." + }, + { + "value": "False", + "description": "Cancel must not be triggered for the entire migration." + } + ] }, "description": "Indicates if cancel must be triggered for the entire migration." }, @@ -633,7 +693,17 @@ ], "x-ms-enum": { "name": "LogicalReplicationOnSourceServer", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "True", + "description": "Logical replication will be set up on the source server." + }, + { + "value": "False", + "description": "Logical replication will not be set up on the source server." + } + ] }, "description": "Indicates whether to setup logical replication on source server, if needed." }, @@ -645,7 +715,17 @@ ], "x-ms-enum": { "name": "OverwriteDatabasesOnTargetServer", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "True", + "description": "Databases on the target server can be overwritten when already present." + }, + { + "value": "False", + "description": "Databases on the target server cannot be overwritten when already present." + } + ] }, "description": "Indicates if databases on the target server can be overwritten when already present. If set to 'False', when the migration workflow detects that the database already exists on the target server, it will wait for a confirmation." }, @@ -662,7 +742,17 @@ ], "x-ms-enum": { "name": "MigrateRolesAndPermissions", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "True", + "description": "Roles and permissions will be migrated." + }, + { + "value": "False", + "description": "Roles and permissions will not be migrated." + } + ] }, "description": "Indicates if roles and permissions must be migrated." }, @@ -674,7 +764,17 @@ ], "x-ms-enum": { "name": "StartDataMigration", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "True", + "description": "Data migration must start right away." + }, + { + "value": "False", + "description": "Data migration must not start right away." + } + ] }, "description": "Indicates if data migration must start right away." }, @@ -686,7 +786,17 @@ ], "x-ms-enum": { "name": "TriggerCutover", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "True", + "description": "Cutover must be triggered for the entire migration." + }, + { + "value": "False", + "description": "Cutover must not be triggered for the entire migration." + } + ] }, "description": "Indicates if cutover must be triggered for the entire migration." }, @@ -706,7 +816,17 @@ ], "x-ms-enum": { "name": "Cancel", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "True", + "description": "Cancel must be triggered for the entire migration." + }, + { + "value": "False", + "description": "Cancel must not be triggered for the entire migration." + } + ] }, "description": "Indicates if cancel must be triggered for the entire migration." }, @@ -873,7 +993,21 @@ "description": "Level of details of a migration.", "x-ms-enum": { "name": "MigrationDetailsLevel", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "Default", + "description": "Default level of details." + }, + { + "value": "Summary", + "description": "Summary level of details." + }, + { + "value": "Full", + "description": "Full level of details." + } + ] } }, "MigrationMode": { @@ -885,7 +1019,17 @@ "description": "Mode used to perform the migration: Online or Offline.", "x-ms-enum": { "name": "MigrationMode", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "Offline", + "description": "Offline migration mode." + }, + { + "value": "Online", + "description": "Online migration mode." + } + ] } }, "MigrationOption": { @@ -898,7 +1042,21 @@ "description": "Supported option for a migration", "x-ms-enum": { "name": "MigrationOption", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "Validate", + "description": "Validate the migration without performing it." + }, + { + "value": "Migrate", + "description": "Perform the migration." + }, + { + "value": "ValidateAndMigrate", + "description": "Validate and perform the migration." + } + ] } }, "MigrationState": { @@ -915,7 +1073,37 @@ "description": "State of migration.", "x-ms-enum": { "name": "MigrationState", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "InProgress", + "description": "Migration is in progress." + }, + { + "value": "WaitingForUserAction", + "description": "Migration is waiting for user action." + }, + { + "value": "Canceled", + "description": "Migration has been canceled." + }, + { + "value": "Failed", + "description": "Migration has failed." + }, + { + "value": "Succeeded", + "description": "Migration has succeeded." + }, + { + "value": "ValidationFailed", + "description": "Validation for migration has failed." + }, + { + "value": "CleaningUp", + "description": "Migration is cleaning up resources." + } + ] } }, "MigrationStatus": { @@ -958,7 +1146,57 @@ "description": "Substate of migration.", "x-ms-enum": { "name": "MigrationSubstate", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "PerformingPreRequisiteSteps", + "description": "Performing pre-requisite steps for migration." + }, + { + "value": "WaitingForLogicalReplicationSetupRequestOnSourceDB", + "description": "Waiting for logical replication setup request on source database." + }, + { + "value": "WaitingForDBsToMigrateSpecification", + "description": "Waiting for databases to migrate specification." + }, + { + "value": "WaitingForTargetDBOverwriteConfirmation", + "description": "Waiting for target database overwrite confirmation." + }, + { + "value": "WaitingForDataMigrationScheduling", + "description": "Waiting for data migration scheduling." + }, + { + "value": "WaitingForDataMigrationWindow", + "description": "Waiting for data migration window." + }, + { + "value": "MigratingData", + "description": "Migrating data." + }, + { + "value": "WaitingForCutoverTrigger", + "description": "Waiting for cutover trigger." + }, + { + "value": "CompletingMigration", + "description": "Completing migration." + }, + { + "value": "Completed", + "description": "Migration completed." + }, + { + "value": "CancelingRequestedDBMigrations", + "description": "Canceling requested database migrations." + }, + { + "value": "ValidationInProgress", + "description": "Validation in progress." + } + ] } }, "MigrationSubstateDetails": { @@ -1001,7 +1239,33 @@ ], "x-ms-enum": { "name": "MigrationDatabaseState", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "InProgress", + "description": "Migration is in progress for the database." + }, + { + "value": "WaitingForCutoverTrigger", + "description": "Migration is waiting for cutover trigger for the database." + }, + { + "value": "Failed", + "description": "Migration has failed for the database." + }, + { + "value": "Canceled", + "description": "Migration has been canceled for the database." + }, + { + "value": "Succeeded", + "description": "Migration has succeeded for the database." + }, + { + "value": "Canceling", + "description": "Migration is canceling for the database." + } + ] } }, "migrationOperation": { @@ -1184,7 +1448,21 @@ ], "x-ms-enum": { "name": "ValidationState", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "Failed", + "description": "Validation has failed." + }, + { + "value": "Succeeded", + "description": "Validation has succeeded." + }, + { + "value": "Warning", + "description": "Validation has succeeded with warnings." + } + ] } }, "SourceType": { @@ -1218,7 +1496,105 @@ "description": "Source server type used for the migration: ApsaraDB_RDS, AWS, AWS_AURORA, AWS_EC2, AWS_RDS, AzureVM, Crunchy_PostgreSQL, Digital_Ocean_Droplets, Digital_Ocean_PostgreSQL, EDB, EDB_Oracle_Server, EDB_PostgreSQL, GCP, GCP_AlloyDB, GCP_CloudSQL, GCP_Compute, Heroku_PostgreSQL, Huawei_Compute, Huawei_RDS, OnPremises, PostgreSQLCosmosDB, PostgreSQLFlexibleServer, PostgreSQLSingleServer, or Supabase_PostgreSQL", "x-ms-enum": { "name": "SourceType", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "OnPremises", + "description": "On-premises PostgreSQL server." + }, + { + "value": "AWS", + "description": "Amazon Web Services PostgreSQL server." + }, + { + "value": "GCP", + "description": "Google Cloud Platform PostgreSQL server." + }, + { + "value": "AzureVM", + "description": "Azure Virtual Machine PostgreSQL server." + }, + { + "value": "PostgreSQLSingleServer", + "description": "Azure Database for PostgreSQL single server." + }, + { + "value": "AWS_RDS", + "description": "Amazon RDS for PostgreSQL." + }, + { + "value": "AWS_AURORA", + "description": "Amazon Aurora for PostgreSQL." + }, + { + "value": "AWS_EC2", + "description": "Amazon EC2 for PostgreSQL." + }, + { + "value": "GCP_CloudSQL", + "description": "Google Cloud SQL for PostgreSQL." + }, + { + "value": "GCP_AlloyDB", + "description": "Google Cloud AlloyDB for PostgreSQL." + }, + { + "value": "GCP_Compute", + "description": "Google Compute Engine for PostgreSQL." + }, + { + "value": "EDB", + "description": "EnterpriseDB PostgreSQL server." + }, + { + "value": "EDB_Oracle_Server", + "description": "EnterpriseDB Oracle Server." + }, + { + "value": "EDB_PostgreSQL", + "description": "EnterpriseDB PostgreSQL server." + }, + { + "value": "PostgreSQLFlexibleServer", + "description": "Azure Database for PostgreSQL flexible server." + }, + { + "value": "PostgreSQLCosmosDB", + "description": ".NET Cosmos DB for PostgreSQL" + }, + { + "value": "Huawei_RDS", + "description": "Huawei RDS for PostgreSQL" + }, + { + "value": "Huawei_Compute", + "description": "Huawei Compute for PostgreSQL" + }, + { + "value": "Heroku_PostgreSQL", + "description": "Heroku PostgreSQL" + }, + { + "value": "Crunchy_PostgreSQL", + "description": "Crunchy PostgreSQL" + }, + { + "value": "ApsaraDB_RDS", + "description": "ApsaraDB RDS for PostgreSQL" + }, + { + "value": "Digital_Ocean_Droplets", + "description": "Digital Ocean Droplets for PostgreSQL" + }, + { + "value": "Digital_Ocean_PostgreSQL", + "description": "Digital Ocean PostgreSQL" + }, + { + "value": "Supabase_PostgreSQL", + "description": "Supabase PostgreSQL" + } + ] } }, "SslMode": { @@ -1232,7 +1608,25 @@ "description": "SSL mode used by a migration. Default SSL mode for 'PostgreSQLSingleServer' is 'VerifyFull'. Default SSL mode for other source types is 'Prefer'.", "x-ms-enum": { "name": "SslMode", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "Prefer", + "description": "Prefer SSL connection. If the server does not support SSL, the connection will be established without SSL." + }, + { + "value": "Require", + "description": "Require SSL connection. If the server does not support SSL, the connection will fail." + }, + { + "value": "VerifyCA", + "description": "Require SSL connection and verify the server certificate against the CA certificate." + }, + { + "value": "VerifyFull", + "description": "Require SSL connection, verify the server certificate against the CA certificate, and verify that the server hostname matches the certificate." + } + ] } }, "ServerSku": { @@ -1267,7 +1661,17 @@ "description": "Migration name availability reason.", "x-ms-enum": { "name": "MigrationNameAvailabilityReason", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "Invalid", + "description": "Migration name is invalid." + }, + { + "value": "AlreadyExists", + "description": "Migration name already exists." + } + ] } }, "MigrationNameAvailability": { @@ -1326,7 +1730,17 @@ "description": "Migration list filter. Indicates if the request should retrieve only active migrations or all migrations. Defaults to Active.", "x-ms-enum": { "name": "MigrationListFilter", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "Active", + "description": "Only active (in-progress) migrations." + }, + { + "value": "All", + "description": "All migrations." + } + ] }, "x-ms-parameter-location": "method" } diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Operations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Operations.json index 22f6e55858c5..583f37d5597b 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Operations.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Operations.json @@ -126,7 +126,21 @@ ], "x-ms-enum": { "name": "OperationOrigin", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "NotSpecified", + "description": "The origin is not specified." + }, + { + "value": "user", + "description": "The operation is initiated by a user." + }, + { + "value": "system", + "description": "The operation is initiated by the system." + } + ] } }, "properties": { diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Servers.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Servers.json index 69d08864c1b9..418237dd3565 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Servers.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Servers.json @@ -568,7 +568,37 @@ ], "x-ms-enum": { "name": "PostgresMajorVersion", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "17", + "description": "PostgreSQL 17." + }, + { + "value": "16", + "description": "PostgreSQL 16." + }, + { + "value": "15", + "description": "PostgreSQL 15." + }, + { + "value": "14", + "description": "PostgreSQL 14." + }, + { + "value": "13", + "description": "PostgreSQL 13." + }, + { + "value": "12", + "description": "PostgreSQL 12." + }, + { + "value": "11", + "description": "PostgreSQL 11." + } + ] } }, "Replica": { @@ -728,7 +758,49 @@ ], "x-ms-enum": { "name": "ServerState", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "Ready", + "description": "Server is healthy and not undergoing any operations at the management or control plane level. This doesn't mean that the server is fully operational at the data plane level." + }, + { + "value": "Dropping", + "description": "Server is being deleted." + }, + { + "value": "Disabled", + "description": "Server is disabled. Typical reasons include: the subscription on which the server is deployed is explicitly disabled or canceled by the administrator, the spending limit has been reached, or the bill is past due. May also happen when the server is being moved to another resource group or subscription." + }, + { + "value": "Starting", + "description": "PostgreSQL database engine is being restarted." + }, + { + "value": "Stopping", + "description": "Compute resources associated with the server are being stopped and deallocated. If the server has high availability enabled, the compute resources of the standby server are also stopped and deallocated." + }, + { + "value": "Stopped", + "description": "Compute resources associated with the server are being stopped and deallocated." + }, + { + "value": "Updating", + "description": "Server is undergoing some changes which may or may not impact the availability of the PostgreSQL database engine. For example, the compute resources of the server are being scaled up or down, which may cause temporary unavailability of the database engine. Or, for example, a firewall rule is being added or removed, which doesn't cause any unavailability of the database engine." + }, + { + "value": "Restarting", + "description": "PostgreSQL database engine is being restarted." + }, + { + "value": "Inaccessible", + "description": "Server isn't accessible, because the key provided to encrypt and decrypt the data is in invalid state." + }, + { + "value": "Provisioning", + "description": "Server is in the process of being created." + } + ] } }, "fullyQualifiedDomainName": { @@ -839,7 +911,37 @@ ], "x-ms-enum": { "name": "CreateMode", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "Default", + "description": "If the operation is triggered on a non-existing server, it's equivalent to 'Create'. If the operation is triggered on an existing server, it's equivalent to 'Update'." + }, + { + "value": "Create", + "description": "Operation creates a new server." + }, + { + "value": "Update", + "description": "Operation updates an existing server." + }, + { + "value": "PointInTimeRestore", + "description": "Operation restores an existing backup of an existing server. This operation creates a new server, and then restores on it the backup of an existing server at a specific point in time." + }, + { + "value": "GeoRestore", + "description": "Operation restores an existing backup of an existing server, on the paired region of the existing server. This operation creates a new server on the paired region of the existing server, and then restores on it the backup of an existing server at a specific point in time, in a different region. This operation is only supported on existing servers that were created with geographically redundant backups enabled." + }, + { + "value": "Replica", + "description": "Operation creates a replica of an existing server. This operation creates a new server, restores a base backup of the existing server (referred to as primary), and configures physical replication to asynchronously stream all changes which are recorded in the transaction log of the primary." + }, + { + "value": "ReviveDropped", + "description": "Operation creates a new server, initialized with the backup of a server that was recently deleted." + } + ] }, "x-ms-mutability": [ "create", @@ -958,7 +1060,17 @@ ], "x-ms-enum": { "name": "CreateModeForPatch", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "Default", + "description": "It's equivalent to 'Update'." + }, + { + "value": "Update", + "description": "Operation updates an existing server." + } + ] }, "x-ms-mutability": [ "update" @@ -1054,7 +1166,21 @@ ], "x-ms-enum": { "name": "SkuTier", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "Burstable", + "description": "Cost-effective tier for infrequent CPU usage, ideal for development and testing workloads with low performance requirements." + }, + { + "value": "GeneralPurpose", + "description": "Balanced compute and memory for most workloads, offering scalable performance and I/O throughput." + }, + { + "value": "MemoryOptimized", + "description": "High memory-to-core ratio for demanding workloads needing fast in-memory processing and high concurrency." + } + ] } } }, @@ -1081,7 +1207,21 @@ ], "x-ms-enum": { "name": "SkuTier", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "Burstable", + "description": "Cost-effective tier for infrequent CPU usage, ideal for development and testing workloads with low performance requirements." + }, + { + "value": "GeneralPurpose", + "description": "Balanced compute and memory for most workloads, offering scalable performance and I/O throughput." + }, + { + "value": "MemoryOptimized", + "description": "High memory-to-core ratio for demanding workloads needing fast in-memory processing and high concurrency." + } + ] } } }, @@ -1104,7 +1244,17 @@ ], "x-ms-enum": { "name": "StorageAutoGrow", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "Enabled", + "description": "Server should automatically grow storage size when available space is nearing zero and conditions allow for automatically growing storage size." + }, + { + "value": "Disabled", + "description": "Server should not automatically grow storage size when available space is nearing zero." + } + ] } }, "tier": { @@ -1128,30 +1278,103 @@ ], "x-ms-enum": { "name": "AzureManagedDiskPerformanceTier", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "P1", + "description": "Entry-level SSD for minimal IOPS, ideal for light development or testing workloads." + }, + { + "value": "P2", + "description": "Slightly higher IOPS for small-scale applications needing consistent low latency." + }, + { + "value": "P3", + "description": "Balanced performance for basic production workloads with moderate throughput." + }, + { + "value": "P4", + "description": "Enhanced IOPS for growing apps with predictable performance needs." + }, + { + "value": "P6", + "description": "Mid-tier SSD for steady workloads requiring reliable throughput and latency." + }, + { + "value": "P10", + "description": "Popular choice for general-purpose production workloads with scalable performance." + }, + { + "value": "P15", + "description": "High IOPS tier for demanding apps with frequent read/write operations." + }, + { + "value": "P20", + "description": "Entry point for high-performance Solid State Disks (SSDs), suitable for small-scale I/O-intensive workloads." + }, + { + "value": "P30", + "description": "Balanced tier for moderate throughput and latency-sensitive applications." + }, + { + "value": "P40", + "description": "Enhanced performance for growing production workloads with consistent IOPS demands." + }, + { + "value": "P50", + "description": "Optimized for enterprise-grade applications needing sustained high throughput." + }, + { + "value": "P60", + "description": "High-capacity tier for large databases and analytics workloads with elevated IOPS." + }, + { + "value": "P70", + "description": "Designed for mission-critical systems requiring ultra-low latency and high concurrency." + }, + { + "value": "P80", + "description": "Top-tier SSD for maximum IOPS and throughput, ideal for the most demanding workloads." + } + ] } }, "iops": { "type": "integer", "format": "int32", - "description": "Maximum IOPS supported for storage. Required when type of storage is PremiumV2_LRS." + "description": "Maximum IOPS supported for storage. Required when type of storage is PremiumV2_LRS or UltraSSD_LRS." }, "throughput": { "type": "integer", "format": "int32", - "description": "Maximum throughput supported for storage. Required when type of storage is PremiumV2_LRS." + "description": "Maximum throughput supported for storage. Required when type of storage is PremiumV2_LRS or UltraSSD_LRS." }, "type": { "type": "string", "enum": [ "Premium_LRS", - "PremiumV2_LRS" + "PremiumV2_LRS", + "UltraSSD_LRS" ], "x-ms-enum": { "name": "StorageType", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "Premium_LRS", + "description": "Standard Solid State Disk (SSD) backed storage offering consistent performance for general purpose workloads." + }, + { + "value": "PremiumV2_LRS", + "description": "Next generation Solid State Disk (SSD) storage with improved scalability and performance for demanding enterprise workloads." + }, + { + "value": "UltraSSD_LRS", + "description": "High-end Solid State Disk (SSD) storage designed for extreme IOPS and latency-sensitive applications." + } + ] }, - "description": "Type of storage assigned to a server. Allowed values are Premium_LRS or PremiumV2_LRS. If not specified, it defaults to Premium_LRS." + "description": "Type of storage assigned to a server. Allowed values are Premium_LRS, PremiumV2_LRS, or UltraSSD_LRS. If not specified, it defaults to Premium_LRS." } }, "description": "Storage properties of a server." @@ -1168,7 +1391,17 @@ ], "x-ms-enum": { "name": "MicrosoftEntraAuth", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "Enabled", + "description": "Server supports Microsoft Entra authentication." + }, + { + "value": "Disabled", + "description": "Server doesn't support Microsoft Entra authentication." + } + ] } }, "passwordAuth": { @@ -1181,7 +1414,17 @@ ], "x-ms-enum": { "name": "PasswordBasedAuth", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "Enabled", + "description": "Server supports password based authentication." + }, + { + "value": "Disabled", + "description": "Server doesn't support password based authentication." + } + ] } }, "tenantId": { @@ -1204,7 +1447,17 @@ ], "x-ms-enum": { "name": "MicrosoftEntraAuth", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "Enabled", + "description": "Server supports Microsoft Entra authentication." + }, + { + "value": "Disabled", + "description": "Server doesn't support Microsoft Entra authentication." + } + ] } }, "passwordAuth": { @@ -1216,7 +1469,17 @@ ], "x-ms-enum": { "name": "PasswordBasedAuth", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "Enabled", + "description": "Server supports password based authentication." + }, + { + "value": "Disabled", + "description": "Server doesn't support password based authentication." + } + ] } }, "tenantId": { @@ -1254,7 +1517,17 @@ ], "x-ms-enum": { "name": "DataEncryptionType", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "SystemManaged", + "description": "Encryption managed by Azure using platform managed keys for simplicity and compliance." + }, + { + "value": "AzureKeyVault", + "description": "Encryption using customer managed keys stored in Azure Key Vault for enhanced control and security." + } + ] } }, "primaryEncryptionKeyStatus": { @@ -1269,7 +1542,17 @@ ], "x-ms-enum": { "name": "EncryptionKeyStatus", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "Valid", + "description": "Key is valid and can be used for encryption." + }, + { + "value": "Invalid", + "description": "Key is invalid and cannot be used for encryption. Possible causes include key deletion, permission changes, key being disabled, key type not supported, or current date being outside of validity period associated to the key." + } + ] } }, "geoBackupEncryptionKeyStatus": { @@ -1284,7 +1567,17 @@ ], "x-ms-enum": { "name": "EncryptionKeyStatus", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "Valid", + "description": "Key is valid and can be used for encryption." + }, + { + "value": "Invalid", + "description": "Key is invalid and cannot be used for encryption. Possible causes include key deletion, permission changes, key being disabled, key type not supported, or current date being outside of validity period associated to the key." + } + ] } } }, @@ -1333,7 +1626,25 @@ ], "x-ms-enum": { "name": "IdentityType", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "None", + "description": "No managed identity is assigned to the server." + }, + { + "value": "UserAssigned", + "description": "One or more managed identities provided by the user are assigned to the server." + }, + { + "value": "SystemAssigned", + "description": "Azure automatically creates and manages the identity associated to the lifecycle of the server." + }, + { + "value": "SystemAssigned,UserAssigned", + "description": "Both system-assigned and user-assigned identities are assigned to the server." + } + ] } }, "tenantId": { @@ -1358,7 +1669,25 @@ ], "x-ms-enum": { "name": "ReplicationRole", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "None", + "description": "No replication role assigned; the server operates independently." + }, + { + "value": "Primary", + "description": "Acts as the source server for replication to one or more replicas." + }, + { + "value": "AsyncReplica", + "description": "Receives data asynchronously from a primary server within the same region." + }, + { + "value": "GeoAsyncReplica", + "description": "Receives data asynchronously from a primary server in a different region for geographical redundancy." + } + ] } }, "Backup": { @@ -1380,7 +1709,17 @@ ], "x-ms-enum": { "name": "GeographicallyRedundantBackup", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "Enabled", + "description": "Server is configured to create geographically redundant backups." + }, + { + "value": "Disabled", + "description": "Server is not configured to create geographically redundant backups." + } + ] }, "x-ms-mutability": [ "create", @@ -1413,7 +1752,17 @@ ], "x-ms-enum": { "name": "GeographicallyRedundantBackup", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "Enabled", + "description": "Server is configured to create geographically redundant backups." + }, + { + "value": "Disabled", + "description": "Server is not configured to create geographically redundant backups." + } + ] }, "x-ms-mutability": [ "update", @@ -1434,14 +1783,24 @@ "properties": { "publicNetworkAccess": { "type": "string", - "description": "Indicates if public network access is enabled or not.", + "description": "Indicates if public network access is enabled or not. This is only supported for servers that are not integrated into a virtual network which is owned and provided by customer when server is deployed.", "enum": [ "Enabled", "Disabled" ], "x-ms-enum": { "name": "ServerPublicNetworkAccessState", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "Enabled", + "description": "Public network access is enabled. This allows the server to be accessed from the public internet, provided the necessary firewall rule that allows incoming traffic originating from the connecting client is in place. This is compatible with the use of private endpoints to connect to this server." + }, + { + "value": "Disabled", + "description": "Public network access is disabled. This means the server cannot be accessed from the public internet, but only via private endpoints." + } + ] } }, "delegatedSubnetResourceId": { @@ -1483,7 +1842,21 @@ ], "x-ms-enum": { "name": "HighAvailabilityMode", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "Disabled", + "description": "High availability is disabled for the server." + }, + { + "value": "ZoneRedundant", + "description": "High availability is enabled for the server, with standby server in a different availability zone than that of the primary." + }, + { + "value": "SameZone", + "description": "High availability is enabled for the server, with standby server in the same availability zone as the primary." + } + ] } }, "state": { @@ -1499,7 +1872,33 @@ ], "x-ms-enum": { "name": "HighAvailabilityState", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "NotEnabled", + "description": "High availability is not enabled for the server." + }, + { + "value": "CreatingStandby", + "description": "Standby server is being created." + }, + { + "value": "ReplicatingData", + "description": "Data is being replicated to the standby server." + }, + { + "value": "FailingOver", + "description": "Failover operation to the standby server is in progress." + }, + { + "value": "Healthy", + "description": "Standby server is healthy and ready to take over in case of a failover." + }, + { + "value": "RemovingStandby", + "description": "Standby server is being removed." + } + ] }, "readOnly": true }, @@ -1524,7 +1923,21 @@ ], "x-ms-enum": { "name": "HighAvailabilityMode", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "Disabled", + "description": "High availability is disabled for the server." + }, + { + "value": "ZoneRedundant", + "description": "High availability is enabled for the server, with standby server in a different availability zone than that of the primary." + }, + { + "value": "SameZone", + "description": "High availability is enabled for the server, with standby server in the same availability zone as the primary." + } + ] } }, "state": { @@ -1540,7 +1953,33 @@ ], "x-ms-enum": { "name": "HighAvailabilityState", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "NotEnabled", + "description": "High availability is not enabled for the server." + }, + { + "value": "CreatingStandby", + "description": "Standby server is being created." + }, + { + "value": "ReplicatingData", + "description": "Data is being replicated to the standby server." + }, + { + "value": "FailingOver", + "description": "Failover operation to the standby server is in progress." + }, + { + "value": "Healthy", + "description": "Standby server is healthy and ready to take over in case of a failover." + }, + { + "value": "RemovingStandby", + "description": "Standby server is being removed." + } + ] }, "readOnly": true }, @@ -1640,7 +2079,25 @@ ], "x-ms-enum": { "name": "FailoverMode", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "PlannedFailover", + "description": "Triggers a failover from primary to standby without killing the primary database process first. This is a graceful failover that attempts to preserve data consistency." + }, + { + "value": "ForcedFailover", + "description": "Kills the primary database process first, then triggers the failover. This is more aggressive and used when the primary is unresponsive or in an unhealthy state." + }, + { + "value": "PlannedSwitchover", + "description": "Similar to 'PlannedFailover' but prefers a switch over operation where roles are swapped between primary and standby." + }, + { + "value": "ForcedSwitchover", + "description": "Kills the primary database process and then triggers a switch over with role swapping." + } + ] } } }, diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/VirtualEndpoints.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/VirtualEndpoints.json index 74132d50514f..c623eccead8b 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/VirtualEndpoints.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/VirtualEndpoints.json @@ -314,7 +314,13 @@ ], "x-ms-enum": { "name": "VirtualEndpointType", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "ReadWrite", + "description": "Read-write endpoint." + } + ] } }, "members": { From 480ebea66966939441afb75f10fdf4fc51746dc1 Mon Sep 17 00:00:00 2001 From: Matthew Boentoro Date: Wed, 6 Aug 2025 07:08:04 -0700 Subject: [PATCH 07/10] fix lint diff --- .../AdministratorsMicrosoftEntra.json | 39 +++++++++---------- 1 file changed, 19 insertions(+), 20 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/AdministratorsMicrosoftEntra.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/AdministratorsMicrosoftEntra.json index bb98a8b3310c..d76be55ef6d0 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/AdministratorsMicrosoftEntra.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/AdministratorsMicrosoftEntra.json @@ -327,27 +327,26 @@ ], "x-ms-enum": { "name": "PrincipalType", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "Unknown", + "description": "The principal type is not known or not specified." + }, + { + "value": "User", + "description": "A Microsoft Entra user." + }, + { + "value": "Group", + "description": "A Microsoft Entra group." + }, + { + "value": "ServicePrincipal", + "description": "A Microsoft Entra service principal, typically representing an application or service identity" + } + ] }, - "modelAsString": true, - "values": [ - { - "value": "Unknown", - "description": "The principal type is not known or not specified." - }, - { - "value": "User", - "description": "A Microsoft Entra user." - }, - { - "value": "Group", - "description": "A Microsoft Entra group." - }, - { - "value": "ServicePrincipal", - "description": "A Microsoft Entra service principal, typically representing an application or service identity" - } - ], "x-ms-mutability": [ "create", "update", From 306891d659f51580a4209a406aa702d154ecf6ad Mon Sep 17 00:00:00 2001 From: Matthew Boentoro Date: Wed, 6 Aug 2025 07:15:33 -0700 Subject: [PATCH 08/10] correct the description for enum, fix mutability for non-modifiable attribute --- .../stable/2025-08-01/Servers.json | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Servers.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Servers.json index 418237dd3565..98810f436a00 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Servers.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Servers.json @@ -631,19 +631,19 @@ "values": [ { "value": "Active", - "description": "The read replica server is fully synchronized and actively replicating data from the primary server." + "description": "Read replica is fully synchronized and actively replicating data from the primary server." }, { "value": "Catchup", - "description": "The read replica server is behind the primary server and is currently catching up with pending changes." + "description": "Read replica is behind the primary server and is currently catching up with pending changes." }, { "value": "Provisioning", - "description": "The read replica server is being created and is in process of getting initialized." + "description": "Read replica is being created and is in process of getting initialized." }, { "value": "Updating", - "description": "The read replica server is undergoing some changes it can be changing compute size of promoting it to primary server." + "description": "Read replica is undergoing some changes it can be changing compute size of promoting it to primary server." }, { "value": "Broken", @@ -651,7 +651,7 @@ }, { "value": "Reconfiguring", - "description": "The read replica server is being reconfigured, possibly due to changes in source or settings." + "description": "Read replica is being reconfigured, possibly due to changes in source or settings." } ] }, @@ -1000,7 +1000,6 @@ "type": "string", "description": "Name of the login designated as the first password based administrator assigned to your instance of PostgreSQL. Must be specified the first time that you enable password based authentication on a server. Once set to a given value, it cannot be changed for the rest of the life of a server. If you disable password based authentication on a server which had it enabled, this password based role isn't deleted.", "x-ms-mutability": [ - "update", "read" ] }, @@ -1765,7 +1764,6 @@ ] }, "x-ms-mutability": [ - "update", "read" ] }, From e6510717e90353191f12b1a68b25bac47cadcaa2 Mon Sep 17 00:00:00 2001 From: Matthew Boentoro Date: Tue, 23 Sep 2025 14:42:12 -0700 Subject: [PATCH 09/10] add PG18 --- .../stable/2025-08-01/Capabilities.json | 5 ++++ .../examples/CapabilitiesByLocationList.json | 25 ++++++++++++++----- .../examples/CapabilitiesByServerList.json | 25 ++++++++++++++----- 3 files changed, 43 insertions(+), 12 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Capabilities.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Capabilities.json index d60000bcd233..437e66b57d60 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Capabilities.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Capabilities.json @@ -297,6 +297,7 @@ "type": "string", "description": "Major version of PostgreSQL database engine.", "enum": [ + "18", "17", "16", "15", @@ -309,6 +310,10 @@ "name": "PostgresMajorVersion", "modelAsString": true, "values": [ + { + "value": "18", + "description": "PostgreSQL 18." + }, { "value": "17", "description": "PostgreSQL 17." diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/CapabilitiesByLocationList.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/CapabilitiesByLocationList.json index 9174ea573f7d..0e54c0a3f8e5 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/CapabilitiesByLocationList.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/CapabilitiesByLocationList.json @@ -2031,7 +2031,8 @@ "14", "15", "16", - "17" + "17", + "18" ] }, { @@ -2042,7 +2043,8 @@ "14", "15", "16", - "17" + "17", + "18" ] }, { @@ -2052,7 +2054,8 @@ "14", "15", "16", - "17" + "17", + "18" ] }, { @@ -2061,7 +2064,8 @@ "supportedVersionsToUpgrade": [ "15", "16", - "17" + "17", + "18" ] }, { @@ -2069,19 +2073,28 @@ "name": "15", "supportedVersionsToUpgrade": [ "16", - "17" + "17", + "18" ] }, { "supportedFeatures": [], "name": "16", "supportedVersionsToUpgrade": [ - "17" + "17", + "18" ] }, { "supportedFeatures": [], "name": "17", + "supportedVersionsToUpgrade": [ + "18" + ] + }, + { + "supportedFeatures": [], + "name": "18", "supportedVersionsToUpgrade": [] } ], diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/CapabilitiesByServerList.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/CapabilitiesByServerList.json index 48fd864620d2..6cb9b948dd61 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/CapabilitiesByServerList.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/examples/CapabilitiesByServerList.json @@ -1792,7 +1792,8 @@ "14", "15", "16", - "17" + "17", + "18" ] }, { @@ -1803,7 +1804,8 @@ "14", "15", "16", - "17" + "17", + "18" ] }, { @@ -1813,7 +1815,8 @@ "14", "15", "16", - "17" + "17", + "18" ] }, { @@ -1822,7 +1825,8 @@ "supportedVersionsToUpgrade": [ "15", "16", - "17" + "17", + "18" ] }, { @@ -1830,19 +1834,28 @@ "name": "15", "supportedVersionsToUpgrade": [ "16", - "17" + "17", + "18" ] }, { "supportedFeatures": [], "name": "16", "supportedVersionsToUpgrade": [ - "17" + "17", + "18" ] }, { "supportedFeatures": [], "name": "17", + "supportedVersionsToUpgrade": [ + "18" + ] + }, + { + "supportedFeatures": [], + "name": "18", "supportedVersionsToUpgrade": [] } ], From a367d688dc000941e12f84d8d14de24b749a2a84 Mon Sep 17 00:00:00 2001 From: Matthew Boentoro Date: Wed, 24 Sep 2025 09:40:34 -0700 Subject: [PATCH 10/10] address comment --- .../Microsoft.DBforPostgreSQL/stable/2025-08-01/Servers.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Servers.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Servers.json index 98810f436a00..4a69493c9035 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Servers.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Servers.json @@ -558,6 +558,7 @@ "type": "string", "description": "Major version of PostgreSQL database engine.", "enum": [ + "18", "17", "16", "15", @@ -570,6 +571,10 @@ "name": "PostgresMajorVersion", "modelAsString": true, "values": [ + { + "value": "18", + "description": "PostgreSQL 18." + }, { "value": "17", "description": "PostgreSQL 17."