You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Responding to a request to update GitHub files containing deprecated Azure CLI reference commands.
Replaced deprecated output with the latest output.
Also fixed a minor typo and referenced Azure Cloud Shell (and tested to confirm it works).
Copy file name to clipboardExpand all lines: articles/postgresql/flexible-server/tutorial-webapp-server-vnet.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: Quickstart guide to create an Azure Database for PostgreSQL - Flexi
4
4
author: gbowerman
5
5
ms.author: guybo
6
6
ms.reviewer: maghan
7
-
ms.date: 04/27/2024
7
+
ms.date: 05/09/2024
8
8
ms.service: postgresql
9
9
ms.subservice: flexible-server
10
10
ms.topic: tutorial
@@ -30,7 +30,7 @@ In this tutorial you will learn how to:
30
30
## Prerequisites
31
31
32
32
- If you don't have an Azure subscription, create a [free](https://azure.microsoft.com/free/) account before you begin.
33
-
-[Install Azure CLI](/cli/azure/install-azure-cli).version 2.0 or later locally. To see the version installed, run the `az --version` command.
33
+
-[Install Azure CLI](/cli/azure/install-azure-cli)version 2.0 or later locally (or use [Azure Cloud Shell](https://azure.microsoft.com/get-started/azure-portal/cloud-shell/) which has CLI pre-installed). To see the version installed, run the `az --version` command.
34
34
- Login to your account using the [az login](/cli/azure/authenticate-azure-cli) command. Note the **id** property from the command output for the corresponding subscription name.
35
35
36
36
```azurecli
@@ -60,15 +60,15 @@ This command performs the following actions, which may take a few minutes:
60
60
Here is the sample output.
61
61
62
62
```json
63
-
Local context is turned on. Its information is saved in working directory /home/jane. You can run `az local-context off` to turn it off.
64
-
Command argument values from local context: --resource-group demoresourcegroup, --location: eastus
65
-
Checking the existence of the resource group ''...
66
-
Creating Resource group 'demoresourcegroup ' ...
67
-
Creating new vnet "demoappvnet" in resource group "demoresourcegroup" ...
68
-
Creating new subnet "Subnet095447391" in resource group "demoresourcegroup " and delegating it to "Microsoft.DBforPostgreSQL/flexibleServers"...
69
-
Creating Azure Database for PostgreSQL flexible server instance 'demoserverpostgres' in group 'demoresourcegroup'...
63
+
Creating Resource Group 'demoresourcegroup'...
64
+
Creating new Vnet "demoappvnet" in resource group "demoresourcegroup"
65
+
Creating new Subnet "Subnetdemoserverpostgres" in resource group "demoresourcegroup"
66
+
Creating a private dns zone demoserverpostgres.private.postgres.database.azure.com in resource group "demoresourcegroup"
67
+
Creating PostgreSQL Server 'demoserverpostgres' in group 'demoresourcegroup'...
70
68
Your server 'demoserverpostgres' is using sku 'Standard_D2s_v3' (Paid Tier). Please refer to https://aka.ms/postgres-pricing for pricing details
71
-
Make a note of your password. If you forget, you have to reset your password with 'az postgres flexible-server update -n demoserverpostgres --resource-group demoresourcegroup -p <new-password>'.
Make a note of your password. If you forget, you would have to reset your password with "az postgres flexible-server update -n demoserverpostgres -g demoresourcegroup -p <new-password>".
71
+
Try using 'az postgres flexible-server connect' command to test out connection.
0 commit comments