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

Changed FSPG RestartParameter.failoverMode from string to enum for API 2021-06-01, 2021-06-01-preview, and 2021-06-15-privatepreview #15753

Merged
merged 3 commits into from
Aug 24, 2021
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 @@ -6,7 +6,7 @@
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"parameters": {
"restartWithFailover": true,
"failoverMode": "forcedFailover"
"failoverMode": "ForcedFailover"
}
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2021,7 +2021,17 @@
},
"failoverMode": {
"type": "string",
"description": "Failover mode."
"description": "Failover mode.",
"enum": [
"PlannedFailover",
"ForcedFailover",
"PlannedSwitchover",
"ForcedSwitchover"
],
"x-ms-enum": {
"name": "FailoverMode",
"modelAsString": true
}
}
},
"description": "Represents server restart parameters."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"parameters": {
"restartWithFailover": true,
"failoverMode": "forcedFailover"
"failoverMode": "ForcedFailover"
}
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2044,7 +2044,17 @@
},
"failoverMode": {
"type": "string",
"description": "Failover mode."
"description": "Failover mode.",
"enum": [
"PlannedFailover",
"ForcedFailover",
"PlannedSwitchover",
"ForcedSwitchover"
],
"x-ms-enum": {
"name": "FailoverMode",
"modelAsString": true
}
}
},
"description": "Represents server restart parameters."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"parameters": {
"restartWithFailover": true,
"failoverMode": "forcedFailover"
"failoverMode": "ForcedFailover"
}
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2021,7 +2021,17 @@
},
"failoverMode": {
"type": "string",
"description": "Failover mode."
"description": "Failover mode.",
"enum": [
"PlannedFailover",
"ForcedFailover",
"PlannedSwitchover",
"ForcedSwitchover"
],
"x-ms-enum": {
"name": "FailoverMode",
"modelAsString": true
}
}
},
"description": "Represents server restart parameters."
Expand Down