@@ -26,7 +26,7 @@ Creates a new server.
2626
2727## EXAMPLES
2828
29- ### Example 1: Create a new PostgreSql flexible server with arguments
29+ ### Example 1: Create a new PostgreSql Flexible Server with arguments
3030``` powershell
3131New-AzPostgreSqlFlexibleServer -Name postgresql-test -ResourceGroupName PowershellPostgreSqlTest `
3232-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
4545
4646```
4747
48- ### Example 2: Create a new PostgreSql flexible server with default setting
48+ ### Example 2: Create a new PostgreSql Flexible Server with default setting
4949``` powershell
5050$server = New-AzPostgreSqlFlexibleServer
5151```
@@ -60,14 +60,14 @@ Name Location SkuName SkuTier AdministratorLogin
6060---- -------- ------- ------- ------------------ -------------
6161postgresql-test East US Standard_D2s_v3 GeneralPurpose daeunyim 128
6262```
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.
6464The default values of location is East US 2, Sku is Standard_D2s_v3, Sku tier is GeneralPurpose, and storage size is 128GiB.
6565
6666
6767If you want to find the auto-generated password for your server, use ConvertFrom-SecureString to convert 'SecuredPassword' property to plain text.
6868(E.g., $server.SecuredPassword | ConvertFrom-SecureString -AsPlainText)
6969
70- ### Example 3: Create a new PostgreSql flexible server with existing Subnet
70+ ### Example 3: Create a new PostgreSql Flexible Server with existing Subnet
7171``` powershell
7272$Subnet = '/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnetname'
7373$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
8888postgresql-test East US Standard_D2s_v3 GeneralPurpose daeunyim 128
8989
9090```
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.
9393You cannot use a subnet delegated to different services.
9494the subnet can be in a different resource group.
9595
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
9797``` powershell
9898New-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
9999```
@@ -112,10 +112,10 @@ Name Location SkuName SkuTier AdministratorLogin
112112postgresql-test East US Standard_D2s_v3 GeneralPurpose daeunyim 128
113113
114114```
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.
116116If the virtual network and subnet don't exist, the cmdlet creates one.
117117
118- ### Example 5: Create a new PostgreSql flexible server with virtual network
118+ ### Example 5: Create a new PostgreSql Flexible Server with virtual network
119119``` powershell
120120$Vnet = 'vnetname'
121121New-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
141141---- -------- ------- ------- ------------------ -------------
142142postgresql-test East US Standard_D2s_v3 GeneralPurpose daeunyim 128
143143```
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.
145145If the virtual network doesn't exist, the cmdlet creates one.
146146
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
148148``` powershell
149149New-AzPostgreSqlFlexibleServer -Name postgresql-test -ResourceGroupName PowershellPostgreSqlTest -PublicAccess All
150150```
@@ -161,9 +161,9 @@ Name Location SkuName SkuTier AdministratorLogin
161161---- -------- ------- ------- ------------------ -------------
162162postgresql-test East US Standard_D2s_v3 GeneralPurpose daeunyim 128
163163```
164- This cmdlet creates PostgreSql flexible server open to all IP addresses.
164+ This cmdlet creates PostgreSql Flexible Server open to all IP addresses.
165165
166- ### Example 7: Create a new PostgreSql flexible server with firewall
166+ ### Example 7: Create a new PostgreSql Flexible Server with firewall
167167``` powershell
168168New-AzPostgreSqlFlexibleServer -Name postgresql-test -ResourceGroupName PowershellPostgreSqlTest -PublicAccess 10.10.10.10-10.10.10.12
169169```
@@ -181,7 +181,7 @@ Name Location SkuName SkuTier AdministratorLogin
181181postgresql-test East US Standard_D2s_v3 GeneralPurpose daeunyim 128
182182
183183```
184- This cmdlet creates PostgreSql flexible server open to specified IP addresses.
184+ This cmdlet creates PostgreSql Flexible Server open to specified IP addresses.
185185
186186## PARAMETERS
187187
0 commit comments