Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add optional param - private DNS zone to server API #13716

Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
"delegatedSubnetArguments": {
"subnetArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet"
},
"privateDnsZoneArguments": {
"privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone"
},
"storageProfile": {
"storageMB": 524288,
"backupRetentionDays": 7
Expand Down Expand Up @@ -48,6 +51,9 @@
"delegatedSubnetArguments": {
"subnetArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet"
},
"privateDnsZoneArguments": {
"privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone"
},
"storageProfile": {
"storageMB": 524288,
"backupRetentionDays": 7
Expand Down Expand Up @@ -88,6 +94,9 @@
"delegatedSubnetArguments": {
"subnetArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet"
},
"privateDnsZoneArguments": {
"privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone"
},
"storageProfile": {
"storageMB": 524288,
"backupRetentionDays": 7
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"publicNetworkAccess": "Enabled",
"haEnabled": "Disabled",
"delegatedSubnetArguments": {},
"privateDnsZoneArguments": {},
"storageProfile": {
"storageMB": 524288,
"backupRetentionDays": 7
Expand Down Expand Up @@ -63,6 +64,7 @@
"publicNetworkAccess": "Enabled",
"haEnabled": "Disabled",
"delegatedSubnetArguments": {},
"privateDnsZoneArguments": {},
"storageProfile": {
"storageMB": 524288,
"backupRetentionDays": 7
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
"delegatedSubnetArguments": {
"subnetArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet"
},
"privateDnsZoneArguments": {
"privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone"
},
"storageProfile": {
"storageMB": 524288,
"backupRetentionDays": 7
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"backupRetentionDays": 20
},
"delegatedSubnetArguments": {},
"privateDnsZoneArguments": {},
"haEnabled": "Disabled",
"availabilityZone": "1"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"backupRetentionDays": 20
},
"delegatedSubnetArguments": {},
"privateDnsZoneArguments": {},
"haEnabled": "Disabled",
"availabilityZone": "1",
"maintenanceWindow": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1305,6 +1305,14 @@
}
}
},
"privateDnsZoneArguments": {
"properties": {
"privateDnsZoneArmResourceId": {
"type": "string",
"description": "private dns zone arm resource id."
}
}
},
"createMode": {
"type": "string",
"description": "The mode to create a new PostgreSQL server.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
"delegatedSubnetArguments": {
"subnetArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet"
},
"privateDnsZoneArguments": {
"privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone"
},
"storageProfile": {
"storageMB": 524288,
"backupRetentionDays": 7
Expand Down Expand Up @@ -48,6 +51,9 @@
"delegatedSubnetArguments": {
"subnetArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet"
},
"privateDnsZoneArguments": {
"privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone"
},
"storageProfile": {
"storageMB": 524288,
"backupRetentionDays": 7
Expand Down Expand Up @@ -88,6 +94,9 @@
"delegatedSubnetArguments": {
"subnetArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet"
},
"privateDnsZoneArguments": {
"privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone"
},
"storageProfile": {
"storageMB": 524288,
"backupRetentionDays": 7
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"publicNetworkAccess": "Enabled",
"haEnabled": "Disabled",
"delegatedSubnetArguments": {},
"privateDnsZoneArguments": {},
"storageProfile": {
"storageMB": 524288,
"backupRetentionDays": 7
Expand Down Expand Up @@ -63,6 +64,7 @@
"publicNetworkAccess": "Enabled",
"haEnabled": "Disabled",
"delegatedSubnetArguments": {},
"privateDnsZoneArguments": {},
"storageProfile": {
"storageMB": 524288,
"backupRetentionDays": 7
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
"delegatedSubnetArguments": {
"subnetArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet"
},
"privateDnsZoneArguments": {
"privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone"
},
"storageProfile": {
"storageMB": 524288,
"backupRetentionDays": 7
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"backupRetentionDays": 20
},
"delegatedSubnetArguments": {},
"privateDnsZoneArguments": {},
"haEnabled": "Disabled",
"availabilityZone": "1"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"backupRetentionDays": 20
},
"delegatedSubnetArguments": {},
"privateDnsZoneArguments": {},
"haEnabled": "Disabled",
"availabilityZone": "1",
"maintenanceWindow": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1583,6 +1583,14 @@
}
}
},
"privateDnsZoneArguments": {
"properties": {
"privateDnsZoneArmResourceId": {
"type": "string",
"description": "private dns zone arm resource id."
}
}
},
"createMode": {
"type": "string",
"description": "The mode to create a new PostgreSQL server.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
"delegatedSubnetArguments": {
"subnetArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet"
},
"privateDnsZoneArguments": {
"privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone"
},
"enableMx": true,
"enableZfs": false,
"postgresqlVersion": "12",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@
"delegatedSubnetArguments": {
"subnetArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet"
},
"privateDnsZoneArguments": {
"privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone"
},
"maintenanceWindow": {
"dayOfWeek": 0,
"startHour": 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
"delegatedSubnetArguments": {
"subnetArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet"
},
"privateDnsZoneArguments": {
"privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone"
},
"readReplicas": [
"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/hsctestsg2"
],
Expand Down Expand Up @@ -185,6 +188,9 @@
"delegatedSubnetArguments": {
"subnetArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet"
},
"privateDnsZoneArguments": {
"privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone"
},
"readReplicas": null,
"sourceServerGroup": null,
"serverRoleGroups": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@
"delegatedSubnetArguments": {
"subnetArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet"
},
"privateDnsZoneArguments": {
"privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone"
},
"readReplicas": null,
"sourceServerGroup": null,
"serverRoleGroups": [
Expand Down Expand Up @@ -184,6 +187,9 @@
"delegatedSubnetArguments": {
"subnetArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet"
},
"privateDnsZoneArguments": {
"privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone"
},
"readReplicas": null,
"sourceServerGroup": null,
"serverRoleGroups": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1657,6 +1657,15 @@
}
}
},
"privateDnsZoneArguments": {
"description": "The private dns zone arguments for a server group.",
"properties": {
"privateDnsZoneArmResourceId": {
"type": "string",
"description": "private dns zone arm resource id."
}
}
},
"readReplicas": {
"type": "array",
"description": "The array of read replica server groups.",
Expand Down