Edit

Share via


Update virtual endpoints

APPLIES TO: Azure Database for PostgreSQL - Flexible Server

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

Steps to update virtual endpoints

Using 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, which lets you 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 of an existing pair of virtual endpoints is the Target of the reader virtual endpoint. However, it can only be changed if there's at least one read replica created. Otherwise, it will refer to the primary server, just like the Target of writer virtual endpoint property does. If the server doesn't have read replicas, you cannot 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.