Skip to content

Commit cc7cdac

Browse files
authored
Add optional param - private DNS zone to MySQL server API (#14964)
* add optional parameter private dns zone to server create/update * fix lintdiff errors * fix prettier issues
1 parent 9ed9f07 commit cc7cdac

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2020-07-01-preview/examples/ServerGet.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@
3838
"startHour": 0,
3939
"startMinute": 0,
4040
"customWindow": "Disabled"
41-
},
42-
"delegatedSubnetArguments": {
43-
"subnetArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet"
4441
}
4542
},
4643
"location": "westus",

specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2020-07-01-preview/examples/ServerGetWithVnet.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@
3232
"haEnabled": "Disabled",
3333
"delegatedSubnetArguments": {
3434
"subnetArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet"
35+
},
36+
"privateDnsZoneArguments": {
37+
"privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone"
3538
}
3639
},
3740
"location": "westus",

specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2020-07-01-preview/mysql.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1538,6 +1538,16 @@
15381538
},
15391539
"description": "Delegated subnet arguments of a server"
15401540
},
1541+
"privateDnsZoneArguments": {
1542+
"type": "object",
1543+
"description": "Private DNS zone arguments of a server",
1544+
"properties": {
1545+
"privateDnsZoneArmResourceId": {
1546+
"type": "string",
1547+
"description": "private dns zone arm resource id."
1548+
}
1549+
}
1550+
},
15411551
"MaintenanceWindow": {
15421552
"type": "object",
15431553
"description": "Maintenance window of a server.",
@@ -1769,6 +1779,10 @@
17691779
"$ref": "#/definitions/DelegatedSubnetArguments",
17701780
"description": "Delegated subnet arguments."
17711781
},
1782+
"privateDnsZoneArguments": {
1783+
"$ref": "#/definitions/privateDnsZoneArguments",
1784+
"description": "private dns zone arguments."
1785+
},
17721786
"createMode": {
17731787
"type": "string",
17741788
"description": "The mode to create a new MySQL server.",

0 commit comments

Comments
 (0)