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
Copy file name to clipboardExpand all lines: articles/postgresql/flexible-server/quickstart-create-server-python-sdk.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,13 +88,13 @@ if __name__ == '__main__':
88
88
89
89
```
90
90
91
-
Replace the following placeholders with your data:
91
+
Replace the following parameters with your data:
92
92
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.
96
96
-**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.).
98
98
99
99
You can also customize other parameters like location, storage size, engine version, etc.
100
100
@@ -108,7 +108,7 @@ You can also customize other parameters like location, storage size, engine vers
108
108
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.
109
109
110
110
111
-
# [Python SDK](#tab/Python SDK)
111
+
# [Python SDK](#tab/PythonSDK)
112
112
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:
0 commit comments