Edit

Update virtual endpoints in Azure Database for PostgreSQL flexible server

This article provides step-by-step instructions to update virtual endpoints associated with an Azure Database for PostgreSQL flexible server.

Steps to update virtual endpoints

Use the Azure portal:

  1. Select the Azure Database for PostgreSQL flexible server for which you want to update its associated virtual endpoints.

  2. In the resource menu, under the Settings section, select Replication.

    Screenshot showing the Replication page with virtual endpoints created.

  3. In the Virtual endpoints section, select the pencil icon. You can update one property of the existing virtual endpoints.

    Screenshot showing the location of the pencil icon in the Replication page.

  4. The only property you can update for an existing pair of virtual endpoints is the Target of the reader virtual endpoint. However, you can only change this property if there's at least one read replica created. Otherwise, it refers to the primary server, just like the Target of writer virtual endpoint property. If the server doesn't have read replicas, you can't change any property, and you must select Cancel.

    Screenshot showing the update virtual endpoints dialog when there're no read replicas.

  5. If the server has read replicas and you change the value of Target of the reader virtual endpoint, select Save to persist the changes.

    Screenshot showing the Save button to persist changes made to existing virtual endpoints.

  6. A notification informs you that the virtual endpoints are being updated.

    Screenshot showing a notification informing that the virtual endpoints are being updated.

  7. When the process completes, a notification informs you that the virtual endpoints were successfully updated.

    Screenshot showing a notification informing that the virtual endpoints were updated successfully.