Skip to content

Commit

Permalink
Add optional param - private DNS zone to MySQL server API (Azure#14964)
Browse files Browse the repository at this point in the history
* add optional parameter private dns zone to server create/update

* fix lintdiff errors

* fix prettier issues
  • Loading branch information
shih-che authored and mkarmark committed Jul 20, 2021
1 parent 141cd64 commit 94fee97
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@
"startHour": 0,
"startMinute": 0,
"customWindow": "Disabled"
},
"delegatedSubnetArguments": {
"subnetArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet"
}
},
"location": "westus",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
"haEnabled": "Disabled",
"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"
}
},
"location": "westus",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1538,6 +1538,16 @@
},
"description": "Delegated subnet arguments of a server"
},
"privateDnsZoneArguments": {
"type": "object",
"description": "Private DNS zone arguments of a server",
"properties": {
"privateDnsZoneArmResourceId": {
"type": "string",
"description": "private dns zone arm resource id."
}
}
},
"MaintenanceWindow": {
"type": "object",
"description": "Maintenance window of a server.",
Expand Down Expand Up @@ -1769,6 +1779,10 @@
"$ref": "#/definitions/DelegatedSubnetArguments",
"description": "Delegated subnet arguments."
},
"privateDnsZoneArguments": {
"$ref": "#/definitions/privateDnsZoneArguments",
"description": "private dns zone arguments."
},
"createMode": {
"type": "string",
"description": "The mode to create a new MySQL server.",
Expand Down

0 comments on commit 94fee97

Please sign in to comment.