Skip to content

Commit 7d1ed02

Browse files
committed
edits
1 parent f0f4b16 commit 7d1ed02

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

articles/postgresql/flexible-server/connect-java.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.subservice: flexible-server
66
ms.author: sunila
77
author: sunilagarwal
88
ms.reviewer: ""
9-
ms.custom: mvc, devcenter, devx-track-azurecli, mode-api
9+
ms.custom: mvc, devcenter, devx-track-azurecli, mode-api, passwordless-java
1010
ms.topic: quickstart
1111
ms.devlang: java
1212
ms.date: 11/07/2022
@@ -16,7 +16,7 @@ ms.date: 11/07/2022
1616

1717
[!INCLUDE [applies-to-postgresql-flexible-server](../includes/applies-to-postgresql-flexible-server.md)]
1818

19-
This topic demonstrates creating a sample application that uses Java and [JDBC](https://en.wikipedia.org/wiki/Java_Database_Connectivity) to store and retrieve information in [Azure Database for PostgreSQL Flexible Server](./index.yml).
19+
This article demonstrates creating a sample application that uses Java and [JDBC](https://en.wikipedia.org/wiki/Java_Database_Connectivity) to store and retrieve information in [Azure Database for PostgreSQL Flexible Server](./index.yml).
2020

2121
JDBC is the standard Java API to connect to traditional relational databases.
2222

@@ -58,7 +58,7 @@ Replace the placeholders with the following values, which are used throughout th
5858
- `<YOUR_LOCAL_IP_ADDRESS>`: The IP address of your local computer, from which you'll run your Spring Boot application. One convenient way to find it is to open [whatismyip.akamai.com](http://whatismyip.akamai.com/).
5959

6060
> [!IMPORTANT]
61-
> When setting <YOUR_POSTGRESQL_AD_NON_ADMIN_USERNAME>, the username must already exist in your Azure AD tenant or you will be unable to create an Azure AD user in your database.
61+
> When setting `<YOUR_POSTGRESQL_AD_NON_ADMIN_USERNAME>`, the username must already exist in your Azure AD tenant or you will be unable to create an Azure AD user in your database.
6262
6363
### [Password](#tab/password)
6464

@@ -95,6 +95,8 @@ az group create \
9595

9696
## Create an Azure Database for PostgreSQL instance
9797

98+
The following sections describe how to create and configure your database instance.
99+
98100
### Create a PostgreSQL server and set up admin user
99101

100102
The first thing we'll create is a managed PostgreSQL server.
@@ -106,7 +108,7 @@ The first thing we'll create is a managed PostgreSQL server.
106108

107109
If you're using Azure CLI, run the following command to make sure it has sufficient permission:
108110

109-
```bash
111+
```azurecli
110112
az login --scope https://graph.microsoft.com/.default
111113
```
112114

@@ -121,10 +123,10 @@ az postgres flexible-server create \
121123
--output tsv
122124
```
123125

124-
Follow the steps in this [article](/azure/postgresql/flexible-server/how-to-manage-azure-ad-users#create-or-delete-azure-ad-administrators-using-azure-portal-or-azure-resource-manager-arm-api) to set up an Azure AD administrator after creating the server.
126+
To set up an Azure AD administrator after creating the server, follow the steps in [Manage Azure Active Directory roles in Azure Database for PostgreSQL - Flexible Server](how-to-manage-azure-ad-users.md).
125127

126128
> [!IMPORTANT]
127-
> When setting up an administrator, a new user with full administrator privileges is added to the PostgreSQL Flexible Server's Azure database. Multiple Azure AD administrators can be created per PostgreSQL Flexible Server.
129+
> When setting up an administrator, a new user with full administrator privileges is added to the PostgreSQL Flexible Server's Azure database. You can create multiple Azure AD administrators per PostgreSQL Flexible Server.
128130
129131
#### [Password](#tab/password)
130132

articles/postgresql/single-server/connect-java.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.topic: quickstart
77
ms.author: judubois
88
author: jdubois
99
ms.devlang: java
10-
ms.custom: mvc, devcenter, devx-track-azurecli, mode-api
10+
ms.custom: mvc, devcenter, devx-track-azurecli, mode-api, passwordless-java
1111
ms.date: 09/27/2022
1212
---
1313

@@ -93,6 +93,8 @@ az group create \
9393

9494
## Create an Azure Database for PostgreSQL instance
9595

96+
The following sections describe how to create and configure your database instance.
97+
9698
### Create a PostgreSQL server and set up admin user
9799

98100
The first thing you'll create is a managed PostgreSQL server with an admin user.
@@ -104,7 +106,7 @@ The first thing you'll create is a managed PostgreSQL server with an admin user.
104106

105107
If you're using Azure CLI, run the following command to make sure it has sufficient permission:
106108

107-
```bash
109+
```azurecli
108110
az login --scope https://graph.microsoft.com/.default
109111
```
110112

0 commit comments

Comments
 (0)