Skip to content

Commit 779502a

Browse files
OAS Update
1 parent 710bd5d commit 779502a

1 file changed

Lines changed: 111 additions & 108 deletions

File tree

services/sqlserverflex/v3beta2/sqlserverflex.json

Lines changed: 111 additions & 108 deletions
Original file line numberDiff line numberDiff line change
@@ -428,21 +428,6 @@
428428
],
429429
"type": "object"
430430
},
431-
"GetCollationsResponse": {
432-
"properties": {
433-
"collations": {
434-
"description": "List of collations available for the instance.",
435-
"items": {
436-
"$ref": "#/components/schemas/database.getcollation"
437-
},
438-
"type": "array"
439-
}
440-
},
441-
"required": [
442-
"collations"
443-
],
444-
"type": "object"
445-
},
446431
"GetDatabaseResponse": {
447432
"properties": {
448433
"collationName": {
@@ -550,21 +535,6 @@
550535
],
551536
"type": "object"
552537
},
553-
"GetStoragesResponse": {
554-
"properties": {
555-
"storageClasses": {
556-
"$ref": "#/components/schemas/flavor.storageClasses"
557-
},
558-
"storageRange": {
559-
"$ref": "#/components/schemas/flavor.storageRange"
560-
}
561-
},
562-
"required": [
563-
"storageClasses",
564-
"storageRange"
565-
],
566-
"type": "object"
567-
},
568538
"GetUserResponse": {
569539
"properties": {
570540
"default_database": {
@@ -608,21 +578,6 @@
608578
],
609579
"type": "object"
610580
},
611-
"GetVersionsResponse": {
612-
"properties": {
613-
"versions": {
614-
"description": "A list containing available sqlserver versions.",
615-
"items": {
616-
"$ref": "#/components/schemas/version"
617-
},
618-
"type": "array"
619-
}
620-
},
621-
"required": [
622-
"versions"
623-
],
624-
"type": "object"
625-
},
626581
"ListBackup": {
627582
"properties": {
628583
"completionTime": {
@@ -718,6 +673,21 @@
718673
],
719674
"type": "object"
720675
},
676+
"ListCollationsResponse": {
677+
"properties": {
678+
"collations": {
679+
"description": "List of collations available for the instance.",
680+
"items": {
681+
"$ref": "#/components/schemas/database.getcollation"
682+
},
683+
"type": "array"
684+
}
685+
},
686+
"required": [
687+
"collations"
688+
],
689+
"type": "object"
690+
},
721691
"ListCompatibilityResponse": {
722692
"properties": {
723693
"compatibilities": {
@@ -887,6 +857,21 @@
887857
],
888858
"type": "object"
889859
},
860+
"ListStoragesResponse": {
861+
"properties": {
862+
"storageClasses": {
863+
"$ref": "#/components/schemas/flavor.storageClasses"
864+
},
865+
"storageRange": {
866+
"$ref": "#/components/schemas/flavor.storageRange"
867+
}
868+
},
869+
"required": [
870+
"storageClasses",
871+
"storageRange"
872+
],
873+
"type": "object"
874+
},
890875
"ListUser": {
891876
"properties": {
892877
"id": {
@@ -925,6 +910,21 @@
925910
],
926911
"type": "object"
927912
},
913+
"ListVersionsResponse": {
914+
"properties": {
915+
"versions": {
916+
"description": "A list containing available sqlserver versions.",
917+
"items": {
918+
"$ref": "#/components/schemas/version"
919+
},
920+
"type": "array"
921+
}
922+
},
923+
"required": [
924+
"versions"
925+
],
926+
"type": "object"
927+
},
928928
"Pagination": {
929929
"properties": {
930930
"page": {
@@ -956,26 +956,39 @@
956956
],
957957
"type": "object"
958958
},
959-
"ProtectInstancePayload": {
959+
"PartialUpdateInstancePayload": {
960960
"properties": {
961-
"isDeletable": {
962-
"$ref": "#/components/schemas/protect.isDeletable"
963-
}
964-
},
965-
"required": [
966-
"isDeletable"
967-
],
968-
"type": "object"
969-
},
970-
"ProtectInstanceResponse": {
971-
"properties": {
972-
"isDeletable": {
973-
"$ref": "#/components/schemas/protect.isDeletable"
961+
"backupSchedule": {
962+
"$ref": "#/components/schemas/backup.schedule.opt"
963+
},
964+
"flavorId": {
965+
"$ref": "#/components/schemas/flavor.flavorId.opt"
966+
},
967+
"labels": {
968+
"$ref": "#/components/schemas/labels"
969+
},
970+
"name": {
971+
"$ref": "#/components/schemas/instance.name.opt"
972+
},
973+
"network": {
974+
"description": "the network configuration of the instance.",
975+
"properties": {
976+
"acl": {
977+
"$ref": "#/components/schemas/acl"
978+
}
979+
},
980+
"type": "object"
981+
},
982+
"retentionDays": {
983+
"$ref": "#/components/schemas/instance.retentionDays.opt"
984+
},
985+
"storage": {
986+
"$ref": "#/components/schemas/storage.update"
987+
},
988+
"version": {
989+
"$ref": "#/components/schemas/instance.version.opt"
974990
}
975991
},
976-
"required": [
977-
"isDeletable"
978-
],
979992
"type": "object"
980993
},
981994
"ResetUserResponse": {
@@ -1049,41 +1062,6 @@
10491062
],
10501063
"type": "object"
10511064
},
1052-
"UpdateInstancePartiallyPayload": {
1053-
"properties": {
1054-
"backupSchedule": {
1055-
"$ref": "#/components/schemas/backup.schedule.opt"
1056-
},
1057-
"flavorId": {
1058-
"$ref": "#/components/schemas/flavor.flavorId.opt"
1059-
},
1060-
"labels": {
1061-
"$ref": "#/components/schemas/labels"
1062-
},
1063-
"name": {
1064-
"$ref": "#/components/schemas/instance.name.opt"
1065-
},
1066-
"network": {
1067-
"description": "the network configuration of the instance.",
1068-
"properties": {
1069-
"acl": {
1070-
"$ref": "#/components/schemas/acl"
1071-
}
1072-
},
1073-
"type": "object"
1074-
},
1075-
"retentionDays": {
1076-
"$ref": "#/components/schemas/instance.retentionDays.opt"
1077-
},
1078-
"storage": {
1079-
"$ref": "#/components/schemas/storage.update"
1080-
},
1081-
"version": {
1082-
"$ref": "#/components/schemas/instance.version.opt"
1083-
}
1084-
},
1085-
"type": "object"
1086-
},
10871065
"UpdateInstancePayload": {
10881066
"properties": {
10891067
"backupSchedule": {
@@ -1131,6 +1109,28 @@
11311109
],
11321110
"type": "object"
11331111
},
1112+
"UpdateInstanceProtectionPayload": {
1113+
"properties": {
1114+
"isDeletable": {
1115+
"$ref": "#/components/schemas/protect.isDeletable"
1116+
}
1117+
},
1118+
"required": [
1119+
"isDeletable"
1120+
],
1121+
"type": "object"
1122+
},
1123+
"UpdateInstanceProtectionResponse": {
1124+
"properties": {
1125+
"isDeletable": {
1126+
"$ref": "#/components/schemas/protect.isDeletable"
1127+
}
1128+
},
1129+
"required": [
1130+
"isDeletable"
1131+
],
1132+
"type": "object"
1133+
},
11341134
"ValidationError": {
11351135
"properties": {
11361136
"code": {
@@ -1168,6 +1168,9 @@
11681168
"type": "object"
11691169
},
11701170
"acl": {
1171+
"default": [
1172+
"193.148.160.0/19"
1173+
],
11711174
"description": "List of IPV4 cidr.",
11721175
"example": [
11731176
"198.51.100.0/24"
@@ -2433,7 +2436,7 @@
24332436
},
24342437
"patch": {
24352438
"description": "Update an available instance of a mssql database. No fields are required.\n\n**Please note that any changes applied via PUT or PATCH requests will initiate a reboot of the SQL Server Flex Instance.**\n",
2436-
"operationId": "UpdateInstancePartially",
2439+
"operationId": "PartialUpdateInstance",
24372440
"parameters": [
24382441
{
24392442
"$ref": "#/components/parameters/project"
@@ -2449,7 +2452,7 @@
24492452
"content": {
24502453
"application/json": {
24512454
"schema": {
2452-
"$ref": "#/components/schemas/UpdateInstancePartiallyPayload"
2455+
"$ref": "#/components/schemas/PartialUpdateInstancePayload"
24532456
}
24542457
}
24552458
},
@@ -3061,7 +3064,7 @@
30613064
"/v3beta2/projects/{projectId}/regions/{region}/instances/{instanceId}/collations": {
30623065
"get": {
30633066
"description": "Returns a list of collations for an instance",
3064-
"operationId": "GetCollations",
3067+
"operationId": "ListCollations",
30653068
"parameters": [
30663069
{
30673070
"$ref": "#/components/parameters/project"
@@ -3078,7 +3081,7 @@
30783081
"content": {
30793082
"application/json": {
30803083
"schema": {
3081-
"$ref": "#/components/schemas/GetCollationsResponse"
3084+
"$ref": "#/components/schemas/ListCollationsResponse"
30823085
}
30833086
}
30843087
},
@@ -3644,7 +3647,7 @@
36443647
"/v3beta2/projects/{projectId}/regions/{region}/instances/{instanceId}/protections": {
36453648
"post": {
36463649
"description": "Toggle the deletion protection for an instance.",
3647-
"operationId": "ProtectInstance",
3650+
"operationId": "UpdateInstanceProtection",
36483651
"parameters": [
36493652
{
36503653
"$ref": "#/components/parameters/project"
@@ -3660,7 +3663,7 @@
36603663
"content": {
36613664
"application/json": {
36623665
"schema": {
3663-
"$ref": "#/components/schemas/ProtectInstancePayload"
3666+
"$ref": "#/components/schemas/UpdateInstanceProtectionPayload"
36643667
}
36653668
}
36663669
},
@@ -3672,7 +3675,7 @@
36723675
"content": {
36733676
"application/json": {
36743677
"schema": {
3675-
"$ref": "#/components/schemas/ProtectInstanceResponse"
3678+
"$ref": "#/components/schemas/UpdateInstanceProtectionResponse"
36763679
}
36773680
}
36783681
},
@@ -4585,7 +4588,7 @@
45854588
"/v3beta2/projects/{projectId}/regions/{region}/storages/{flavorId}": {
45864589
"get": {
45874590
"description": "Get available storages for a specific flavor",
4588-
"operationId": "GetStorages",
4591+
"operationId": "ListStorages",
45894592
"parameters": [
45904593
{
45914594
"$ref": "#/components/parameters/project"
@@ -4602,7 +4605,7 @@
46024605
"content": {
46034606
"application/json": {
46044607
"schema": {
4605-
"$ref": "#/components/schemas/GetStoragesResponse"
4608+
"$ref": "#/components/schemas/ListStoragesResponse"
46064609
}
46074610
}
46084611
},
@@ -4673,7 +4676,7 @@
46734676
"/v3beta2/projects/{projectId}/regions/{region}/versions": {
46744677
"get": {
46754678
"description": "Get the sqlserver available versions for the project.",
4676-
"operationId": "GetVersions",
4679+
"operationId": "ListVersions",
46774680
"parameters": [
46784681
{
46794682
"$ref": "#/components/parameters/project"
@@ -4687,7 +4690,7 @@
46874690
"content": {
46884691
"application/json": {
46894692
"schema": {
4690-
"$ref": "#/components/schemas/GetVersionsResponse"
4693+
"$ref": "#/components/schemas/ListVersionsResponse"
46914694
}
46924695
}
46934696
},

0 commit comments

Comments
 (0)