Skip to content

Commit 9bded16

Browse files
authored
Update tutorial-webapp-server-vnet.md - remove deprecated content
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).
1 parent 543355b commit 9bded16

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

articles/postgresql/flexible-server/tutorial-webapp-server-vnet.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Quickstart guide to create an Azure Database for PostgreSQL - Flexi
44
author: gbowerman
55
ms.author: guybo
66
ms.reviewer: maghan
7-
ms.date: 04/27/2024
7+
ms.date: 05/09/2024
88
ms.service: postgresql
99
ms.subservice: flexible-server
1010
ms.topic: tutorial
@@ -30,7 +30,7 @@ In this tutorial you will learn how to:
3030
## Prerequisites
3131

3232
- 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.
3434
- 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.
3535

3636
```azurecli
@@ -60,15 +60,15 @@ This command performs the following actions, which may take a few minutes:
6060
Here is the sample output.
6161

6262
```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'...
7068
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>'.
69+
Creating PostgreSQL database 'flexibleserverdb'...
70+
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.
7272
{
7373
"connectionString": "postgresql://generated-username:generated-password@demoserverpostgres.postgres.database.azure.com/postgres?sslmode=require",
7474
"host": "demoserverpostgres.postgres.database.azure.com",

0 commit comments

Comments
 (0)