Skip to content

Commit a10f4b6

Browse files
authored
ARM ID annotations for Postgres (#19595)
1 parent 63e9481 commit a10f4b6

File tree

1 file changed

+24
-0
lines changed
  • specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2021-06-01

1 file changed

+24
-0
lines changed

specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2021-06-01/postgresql.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1488,6 +1488,14 @@
14881488
},
14891489
"sourceServerResourceId": {
14901490
"type": "string",
1491+
"format": "arm-id",
1492+
"x-ms-arm-id-details": {
1493+
"allowedResources": [
1494+
{
1495+
"type": "Microsoft.DBforPostgreSQL/flexibleServers"
1496+
}
1497+
]
1498+
},
14911499
"description": "The source server resource ID to restore from. It's required when 'createMode' is 'PointInTimeRestore'.",
14921500
"x-ms-mutability": [
14931501
"create"
@@ -1736,6 +1744,14 @@
17361744
},
17371745
"delegatedSubnetResourceId": {
17381746
"type": "string",
1747+
"format": "arm-id",
1748+
"x-ms-arm-id-details": {
1749+
"allowedResources": [
1750+
{
1751+
"type": "Microsoft.Network/virtualNetworks/subnets"
1752+
}
1753+
]
1754+
},
17391755
"default": "",
17401756
"description": "delegated subnet arm resource id.",
17411757
"x-ms-mutability": [
@@ -1745,6 +1761,14 @@
17451761
},
17461762
"privateDnsZoneArmResourceId": {
17471763
"type": "string",
1764+
"format": "arm-id",
1765+
"x-ms-arm-id-details": {
1766+
"allowedResources": [
1767+
{
1768+
"type": "Microsoft.Network/privateDnsZones"
1769+
}
1770+
]
1771+
},
17481772
"default": "",
17491773
"description": "private dns zone arm resource id.",
17501774
"x-ms-mutability": [

0 commit comments

Comments
 (0)