Skip to content

Commit 8335066

Browse files
authored
{AzureSQLVM} fixes #22768 Fix the enums under AgReplica (#22799)
* {AzureSQLVM} fixes #22768 Fix the enums under AgReplica fixes #22768 The casing seems not correct in Swagger compared to Service. e.g.: After setting SYNCHRONOUS_COMMIT as swagger said, the value returned by Get response is Synchronous_Commit Similar issue happens for other properties in AgReplica * Update sqlvm.json * Update sqlvm.json
1 parent 9b0193b commit 8335066

File tree

1 file changed

+9
-9
lines changed
  • specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/stable/2022-02-01

1 file changed

+9
-9
lines changed

specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/stable/2022-02-01/sqlvm.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1123,8 +1123,8 @@
11231123
"role": {
11241124
"description": "Replica Role in availability group.",
11251125
"enum": [
1126-
"PRIMARY",
1127-
"SECONDARY"
1126+
"Primary",
1127+
"Secondary"
11281128
],
11291129
"type": "string",
11301130
"x-ms-enum": {
@@ -1135,8 +1135,8 @@
11351135
"commit": {
11361136
"description": "Replica commit mode in availability group.",
11371137
"enum": [
1138-
"SYNCHRONOUS_COMMIT",
1139-
"ASYNCHRONOUS_COMMIT"
1138+
"Synchronous_Commit",
1139+
"Asynchronous_Commit"
11401140
],
11411141
"type": "string",
11421142
"x-ms-enum": {
@@ -1147,8 +1147,8 @@
11471147
"failover": {
11481148
"description": "Replica failover mode in availability group.",
11491149
"enum": [
1150-
"AUTOMATIC",
1151-
"MANUAL"
1150+
"Automatic",
1151+
"Manual"
11521152
],
11531153
"type": "string",
11541154
"x-ms-enum": {
@@ -1159,9 +1159,9 @@
11591159
"readableSecondary": {
11601160
"description": "Replica readable secondary mode in availability group.",
11611161
"enum": [
1162-
"NO",
1163-
"ALL",
1164-
"READ_ONLY"
1162+
"No",
1163+
"All",
1164+
"Read_Only"
11651165
],
11661166
"type": "string",
11671167
"x-ms-enum": {

0 commit comments

Comments
 (0)