@@ -26,7 +26,7 @@ Creates a new server.
26
26
27
27
## EXAMPLES
28
28
29
- ### Example 1: Create a new PostgreSql flexible server with arguments
29
+ ### Example 1: Create a new PostgreSql Flexible Server with arguments
30
30
``` powershell
31
31
New-AzPostgreSqlFlexibleServer -Name postgresql-test -ResourceGroupName PowershellPostgreSqlTest `
32
32
-Location eastus -AdministratorUserName postgresqltest -AdministratorLoginPassword $password -Sku Standard_D2s_v3 -SkuTier GeneralPurpose -Version 12 -StorageInMb 131072 -PublicAccess none
@@ -45,7 +45,7 @@ postgresql-test East US Standard_D2s_v3 GeneralPurpose daeunyim
45
45
46
46
```
47
47
48
- ### Example 2: Create a new PostgreSql flexible server with default setting
48
+ ### Example 2: Create a new PostgreSql Flexible Server with default setting
49
49
``` powershell
50
50
$server = New-AzPostgreSqlFlexibleServer
51
51
```
@@ -60,14 +60,14 @@ Name Location SkuName SkuTier AdministratorLogin
60
60
---- -------- ------- ------- ------------------ -------------
61
61
postgresql-test East US Standard_D2s_v3 GeneralPurpose daeunyim 128
62
62
```
63
- This cmdlet creates PostgreSql flexible server with default parameter values and provision the server with public access enabled.
63
+ This cmdlet creates PostgreSql Flexible Server with default parameter values and provision the server with public access enabled.
64
64
The default values of location is East US 2, Sku is Standard_D2s_v3, Sku tier is GeneralPurpose, and storage size is 128GiB.
65
65
66
66
67
67
If you want to find the auto-generated password for your server, use ConvertFrom-SecureString to convert 'SecuredPassword' property to plain text.
68
68
(E.g., $server.SecuredPassword | ConvertFrom-SecureString -AsPlainText)
69
69
70
- ### Example 3: Create a new PostgreSql flexible server with existing Subnet
70
+ ### Example 3: Create a new PostgreSql Flexible Server with existing Subnet
71
71
``` powershell
72
72
$Subnet = '/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnetname'
73
73
$DnsZone = '/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/postgresqltest/providers/Microsoft.Network/privateDnsZones/testserver.private.postgres.database.azure.com'
@@ -88,12 +88,12 @@ Name Location SkuName SkuTier AdministratorLogin
88
88
postgresql-test East US Standard_D2s_v3 GeneralPurpose daeunyim 128
89
89
90
90
```
91
- This cmdlet creates PostgreSql flexible server with an existing Subnet Id provided by a user.
92
- The subnet will be delegated to PostgreSQL flexible server if not already delegated.
91
+ This cmdlet creates PostgreSql Flexible Server with an existing Subnet Id provided by a user.
92
+ The subnet will be delegated to PostgreSQL Flexible Server if not already delegated.
93
93
You cannot use a subnet delegated to different services.
94
94
the subnet can be in a different resource group.
95
95
96
- ### Example 4: Create a new PostgreSql flexible server with virtual network and subnet name
96
+ ### Example 4: Create a new PostgreSql Flexible Server with virtual network and subnet name
97
97
``` powershell
98
98
New-AzPostgreSqlFlexibleServer -Name postgresql-test -ResourceGroupName PowershellPostgreSqlTest -Vnet postgresql-vnet -Subnet postgresql-subnet -VnetPrefix 10.0.0.0/16 -SubnetPrefix 10.0.0.0/24 -PrivateDnsZone /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.Network/privateDnsZones/postgresql-test.private.postgres.database.azure.com
99
99
```
@@ -112,10 +112,10 @@ Name Location SkuName SkuTier AdministratorLogin
112
112
postgresql-test East US Standard_D2s_v3 GeneralPurpose daeunyim 128
113
113
114
114
```
115
- This cmdlet creates PostgreSql flexible server with vnet name, subnet name, vnet prefix, and subnet prefix.
115
+ This cmdlet creates PostgreSql Flexible Server with vnet name, subnet name, vnet prefix, and subnet prefix.
116
116
If the virtual network and subnet don't exist, the cmdlet creates one.
117
117
118
- ### Example 5: Create a new PostgreSql flexible server with virtual network
118
+ ### Example 5: Create a new PostgreSql Flexible Server with virtual network
119
119
``` powershell
120
120
$Vnet = 'vnetname'
121
121
New-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -Vnet $Vnet -PrivateDnsZone /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.Network/privateDnsZones/testserver.private.postgres.database.azure.com
@@ -141,10 +141,10 @@ Name Location SkuName SkuTier AdministratorLogin
141
141
---- -------- ------- ------- ------------------ -------------
142
142
postgresql-test East US Standard_D2s_v3 GeneralPurpose daeunyim 128
143
143
```
144
- This cmdlet creates PostgreSql flexible server with vnet id or vnet name provided by a user.
144
+ This cmdlet creates PostgreSql Flexible Server with vnet id or vnet name provided by a user.
145
145
If the virtual network doesn't exist, the cmdlet creates one.
146
146
147
- ### Example 6: Create a new PostgreSql flexible server with public access to all IPs
147
+ ### Example 6: Create a new PostgreSql Flexible Server with public access to all IPs
148
148
``` powershell
149
149
New-AzPostgreSqlFlexibleServer -Name postgresql-test -ResourceGroupName PowershellPostgreSqlTest -PublicAccess All
150
150
```
@@ -161,9 +161,9 @@ Name Location SkuName SkuTier AdministratorLogin
161
161
---- -------- ------- ------- ------------------ -------------
162
162
postgresql-test East US Standard_D2s_v3 GeneralPurpose daeunyim 128
163
163
```
164
- This cmdlet creates PostgreSql flexible server open to all IP addresses.
164
+ This cmdlet creates PostgreSql Flexible Server open to all IP addresses.
165
165
166
- ### Example 7: Create a new PostgreSql flexible server with firewall
166
+ ### Example 7: Create a new PostgreSql Flexible Server with firewall
167
167
``` powershell
168
168
New-AzPostgreSqlFlexibleServer -Name postgresql-test -ResourceGroupName PowershellPostgreSqlTest -PublicAccess 10.10.10.10-10.10.10.12
169
169
```
@@ -181,7 +181,7 @@ Name Location SkuName SkuTier AdministratorLogin
181
181
postgresql-test East US Standard_D2s_v3 GeneralPurpose daeunyim 128
182
182
183
183
```
184
- This cmdlet creates PostgreSql flexible server open to specified IP addresses.
184
+ This cmdlet creates PostgreSql Flexible Server open to specified IP addresses.
185
185
186
186
## PARAMETERS
187
187
0 commit comments