Skip to content

Commit 6335927

Browse files
cleanup
1 parent c2d73f9 commit 6335927

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

articles/postgresql/flexible-server/quickstart-create-server-python-sdk.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -88,13 +88,13 @@ if __name__ == '__main__':
8888

8989
```
9090

91-
Replace the following placeholders with your data:
91+
Replace the following parameters with your data:
9292

93-
- **<subscription_id>**: Your own [subscription id](../../azure-portal/get-subscription-tenant-id.md#find-your-azure-subscription).
94-
- **<resource_group>**: The name of the resource group you want to use. The script will create a new resource group if it doesn't exist.
95-
- **<servername>**: A unique name that identifies your Azure Database for PostgreSQL server. The domain name `postgres.database.azure.com` is appended to the server name you provide. The server name must be at least 3 characters and at most 63 characters, and can only contain lowercase letters, numbers, and hyphens.
93+
- **subscription_id**: Your own [subscription id](../../azure-portal/get-subscription-tenant-id.md#find-your-azure-subscription).
94+
- **resource_group**: The name of the resource group you want to use. The script will create a new resource group if it doesn't exist.
95+
- **server_name**: A unique name that identifies your Azure Database for PostgreSQL server. The domain name `postgres.database.azure.com` is appended to the server name you provide. The server name must be at least 3 characters and at most 63 characters, and can only contain lowercase letters, numbers, and hyphens.
9696
- **administrator_login**: The primary administrator username for the server. You can create additional users after the server has been created.
97-
- **<mySecurePassword>**: A password for the primary administrator for the server. It must contain between 8 and 128 characters. Your password must contain characters from three of the following categories: English uppercase letters, English lowercase letters, numbers (0 through 9), and non-alphanumeric characters (!, $, #, %, etc.).
97+
- **administrator_login_password**: A password for the primary administrator for the server. It must contain between 8 and 128 characters. Your password must contain characters from three of the following categories: English uppercase letters, English lowercase letters, numbers (0 through 9), and non-alphanumeric characters (!, $, #, %, etc.).
9898

9999
You can also customize other parameters like location, storage size, engine version, etc.
100100

@@ -108,7 +108,7 @@ You can also customize other parameters like location, storage size, engine vers
108108
You can use the Python SDK, Azure portal, Azure CLI, Azure PowerShell, and various other tools to validate the deployment and review the deployed resources. Some examples are provided below.
109109

110110

111-
# [Python SDK](#tab/Python SDK)
111+
# [Python SDK](#tab/PythonSDK)
112112
Add the `check_server_created` function to your existing script to use the servers attribute of the `PostgreSQLManagementClient` instance to check if the PostgreSQL Flexible Server was created:
113113

114114
```python
@@ -159,7 +159,7 @@ Get-AzResource -ResourceGroupName <resource_group>
159159

160160
If you no longer need the PostgreSQL Flexible Server, you can delete it and the associated resource group using the following methods.
161161

162-
# [Python SDK](#tab/Python SDK)
162+
# [Python SDK](#tab/PythonSDK)
163163

164164
```python
165165
def delete_resources(subscription_id, resource_group, server_name):

0 commit comments

Comments
 (0)