Skip to content

Commit 090044a

Browse files
authored
Merge pull request #89219 from HamzaAqel/vnetlock
vnetlock
2 parents 31cb666 + cfb2cbb commit 090044a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

articles/postgresql/flexible-server/how-to-manage-virtual-network-cli.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ Refer to the Azure CLI reference documentation <!--FIXME --> for the complete li
6565
az postgres flexible-server create --subnet /subscriptions/{SubID}/resourceGroups/{ResourceGroup}/providers/Microsoft.Network/virtualNetworks/{VNetName}/subnets/{SubnetName}
6666
```
6767
> [!Note]
68-
> The virtual network and subnet should be in the same region and subscription as your flexible server.
68+
> - The virtual network and subnet should be in the same region and subscription as your flexible server.
69+
> - The virtual network should not have any resource lock set at the VNET or subnet level. Make sure to remove any lock (**Delete** or **Read only**) from your VNET and all subnets before creating the server in a virtual network, and you can set it back after server creation.
6970
7071
> [!IMPORTANT]
7172
> The names including `AzureFirewallSubnet`, `AzureFirewallManagementSubnet`, `AzureBastionSubnet` and `GatewaySubnet` are reserved names within Azure. Please do not use these as your subnet name.

articles/postgresql/flexible-server/how-to-manage-virtual-network-portal.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ You can deploy your flexible server into a virtual network and subnet during ser
2626
To create a flexible server in a virtual network, you need:
2727
- A [Virtual Network](../../virtual-network/quick-create-portal.md#create-a-virtual-network)
2828
> [!Note]
29-
> The virtual network and subnet should be in the same region and subscription as your flexible server.
29+
> - The virtual network and subnet should be in the same region and subscription as your flexible server.
30+
> - The virtual network should not have any resource lock set at the VNET or subnet level. Make sure to remove any lock (**Delete** or **Read only**) from your VNET and all subnets before creating the server in a virtual network, and you can set it back after server creation.
3031
3132
- To [delegate a subnet](../../virtual-network/manage-subnet-delegation.md#delegate-a-subnet-to-an-azure-service) to **Microsoft.DBforPostgreSQL/flexibleServers**. This delegation means that only Azure Database for PostgreSQL Flexible Servers can use that subnet. No other Azure resource types can be in the delegated subnet.
3233
- Add `Microsoft.Storage` to the service end point for the subnet delegated to Flexible servers. This is done by performing following steps:

0 commit comments

Comments
 (0)