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

Set publicNetworkAccess to read only in MySQL Flexible Server swagger #10738

Merged
merged 1 commit into from
Sep 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
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 @@ -10,7 +10,6 @@
"administratorLogin": "cloudsa",
"administratorLoginPassword": "pass$w0rd",
"sslEnforcement": "Enabled",
"publicNetworkAccess": "Enabled",
"storageProfile": {
"storageMB": 128000,
"storageIops": 200,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"haEnabled": "Enabled",
"haState": "Healthy",
"availabilityZone": "1",
"standByAvailabilityZone": "2",
"standbyAvailabilityZone": "2",
"maintenanceWindow": {
"dayOfWeek": 0,
"startHour": 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"replicationRole": "None",
"sourceServerId": "",
"replicaCapacity": 5,
"publicNetworkAccess": "Enabled",
"publicNetworkAccess": "Disabled",
"haEnabled": "Disabled",
"delegatedSubnetArguments": {
"subnetArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
"parameters": {
"properties": {
"administratorLoginPassword": "newpa$$w0rd",
"sslEnforcement": "Disabled",
"publicNetworkAccess": "Disabled"
"sslEnforcement": "Disabled"
}
}
},
Expand All @@ -27,13 +26,13 @@
},
"version": "5.7",
"sslEnforcement": "Disabled",
"publicNetworkAccess": "Disabled",
"publicNetworkAccess": "Enabled",
"state": "Ready",
"fullyQualifiedDomainName": "mysqltestsvc4.mysql.database.azure.com",
"haEnabled": "Enabled",
"haState": "Healthy",
"availabilityZone": "1",
"standByAvailabilityZone": "2",
"standbyAvailabilityZone": "2",
"maintenanceWindow": {
"dayOfWeek": 0,
"startHour": 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@
},
"version": "5.7",
"sslEnforcement": "Disabled",
"publicNetworkAccess": "Disabled",
"publicNetworkAccess": "Enabled",
"state": "Ready",
"fullyQualifiedDomainName": "mysqltestsvc4.mysql.database.azure.com",
"haEnabled": "Disabled",
"haState": "NotEnabled",
"availabilityZone": "1",
"standByAvailabilityZone": null,
"standbyAvailabilityZone": null,
"maintenanceWindow": {
"dayOfWeek": 0,
"startHour": 8,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1645,6 +1645,7 @@
"earliestRestoreDate": {
"type": "string",
"format": "date-time",
"readOnly": true,
"description": "Earliest restore point creation time (ISO8601 format)"
},
"storageProfile": {
Expand All @@ -1659,10 +1660,12 @@
"type": "integer",
"format": "int32",
"minimum": 0,
"readOnly": true,
"description": "The maximum number of replicas that a primary server can have."
},
"publicNetworkAccess": {
"$ref": "#/definitions/PublicNetworkAccess",
"readOnly": true,
"description": "Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'"
},
"maintenanceWindow": {
Expand All @@ -1689,7 +1692,7 @@
"type": "string",
"description": "availability Zone information of the server."
},
"standByAvailabilityZone": {
"standbyAvailabilityZone": {
"type": "string",
"description": "availability Zone information of the server.",
"readOnly": true
Expand Down Expand Up @@ -1776,10 +1779,6 @@
"$ref": "#/definitions/HaEnabled",
"description": "Enable HA or not for a server."
},
"publicNetworkAccess": {
"$ref": "#/definitions/PublicNetworkAccess",
"description": "Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'"
},
"maintenanceWindow": {
"$ref": "#/definitions/MaintenanceWindow",
"description": "Maintenance window of a server."
Expand Down