|
428 | 428 | ], |
429 | 429 | "type": "object" |
430 | 430 | }, |
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 | | - }, |
446 | 431 | "GetDatabaseResponse": { |
447 | 432 | "properties": { |
448 | 433 | "collationName": { |
|
550 | 535 | ], |
551 | 536 | "type": "object" |
552 | 537 | }, |
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 | | - }, |
568 | 538 | "GetUserResponse": { |
569 | 539 | "properties": { |
570 | 540 | "default_database": { |
|
608 | 578 | ], |
609 | 579 | "type": "object" |
610 | 580 | }, |
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 | | - }, |
626 | 581 | "ListBackup": { |
627 | 582 | "properties": { |
628 | 583 | "completionTime": { |
|
718 | 673 | ], |
719 | 674 | "type": "object" |
720 | 675 | }, |
| 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 | + }, |
721 | 691 | "ListCompatibilityResponse": { |
722 | 692 | "properties": { |
723 | 693 | "compatibilities": { |
|
887 | 857 | ], |
888 | 858 | "type": "object" |
889 | 859 | }, |
| 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 | + }, |
890 | 875 | "ListUser": { |
891 | 876 | "properties": { |
892 | 877 | "id": { |
|
925 | 910 | ], |
926 | 911 | "type": "object" |
927 | 912 | }, |
| 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 | + }, |
928 | 928 | "Pagination": { |
929 | 929 | "properties": { |
930 | 930 | "page": { |
|
956 | 956 | ], |
957 | 957 | "type": "object" |
958 | 958 | }, |
959 | | - "ProtectInstancePayload": { |
| 959 | + "PartialUpdateInstancePayload": { |
960 | 960 | "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" |
974 | 990 | } |
975 | 991 | }, |
976 | | - "required": [ |
977 | | - "isDeletable" |
978 | | - ], |
979 | 992 | "type": "object" |
980 | 993 | }, |
981 | 994 | "ResetUserResponse": { |
|
1049 | 1062 | ], |
1050 | 1063 | "type": "object" |
1051 | 1064 | }, |
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 | | - }, |
1087 | 1065 | "UpdateInstancePayload": { |
1088 | 1066 | "properties": { |
1089 | 1067 | "backupSchedule": { |
|
1131 | 1109 | ], |
1132 | 1110 | "type": "object" |
1133 | 1111 | }, |
| 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 | + }, |
1134 | 1134 | "ValidationError": { |
1135 | 1135 | "properties": { |
1136 | 1136 | "code": { |
|
1168 | 1168 | "type": "object" |
1169 | 1169 | }, |
1170 | 1170 | "acl": { |
| 1171 | + "default": [ |
| 1172 | + "193.148.160.0/19" |
| 1173 | + ], |
1171 | 1174 | "description": "List of IPV4 cidr.", |
1172 | 1175 | "example": [ |
1173 | 1176 | "198.51.100.0/24" |
|
2433 | 2436 | }, |
2434 | 2437 | "patch": { |
2435 | 2438 | "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", |
2437 | 2440 | "parameters": [ |
2438 | 2441 | { |
2439 | 2442 | "$ref": "#/components/parameters/project" |
|
2449 | 2452 | "content": { |
2450 | 2453 | "application/json": { |
2451 | 2454 | "schema": { |
2452 | | - "$ref": "#/components/schemas/UpdateInstancePartiallyPayload" |
| 2455 | + "$ref": "#/components/schemas/PartialUpdateInstancePayload" |
2453 | 2456 | } |
2454 | 2457 | } |
2455 | 2458 | }, |
|
3061 | 3064 | "/v3beta2/projects/{projectId}/regions/{region}/instances/{instanceId}/collations": { |
3062 | 3065 | "get": { |
3063 | 3066 | "description": "Returns a list of collations for an instance", |
3064 | | - "operationId": "GetCollations", |
| 3067 | + "operationId": "ListCollations", |
3065 | 3068 | "parameters": [ |
3066 | 3069 | { |
3067 | 3070 | "$ref": "#/components/parameters/project" |
|
3078 | 3081 | "content": { |
3079 | 3082 | "application/json": { |
3080 | 3083 | "schema": { |
3081 | | - "$ref": "#/components/schemas/GetCollationsResponse" |
| 3084 | + "$ref": "#/components/schemas/ListCollationsResponse" |
3082 | 3085 | } |
3083 | 3086 | } |
3084 | 3087 | }, |
|
3644 | 3647 | "/v3beta2/projects/{projectId}/regions/{region}/instances/{instanceId}/protections": { |
3645 | 3648 | "post": { |
3646 | 3649 | "description": "Toggle the deletion protection for an instance.", |
3647 | | - "operationId": "ProtectInstance", |
| 3650 | + "operationId": "UpdateInstanceProtection", |
3648 | 3651 | "parameters": [ |
3649 | 3652 | { |
3650 | 3653 | "$ref": "#/components/parameters/project" |
|
3660 | 3663 | "content": { |
3661 | 3664 | "application/json": { |
3662 | 3665 | "schema": { |
3663 | | - "$ref": "#/components/schemas/ProtectInstancePayload" |
| 3666 | + "$ref": "#/components/schemas/UpdateInstanceProtectionPayload" |
3664 | 3667 | } |
3665 | 3668 | } |
3666 | 3669 | }, |
|
3672 | 3675 | "content": { |
3673 | 3676 | "application/json": { |
3674 | 3677 | "schema": { |
3675 | | - "$ref": "#/components/schemas/ProtectInstanceResponse" |
| 3678 | + "$ref": "#/components/schemas/UpdateInstanceProtectionResponse" |
3676 | 3679 | } |
3677 | 3680 | } |
3678 | 3681 | }, |
|
4585 | 4588 | "/v3beta2/projects/{projectId}/regions/{region}/storages/{flavorId}": { |
4586 | 4589 | "get": { |
4587 | 4590 | "description": "Get available storages for a specific flavor", |
4588 | | - "operationId": "GetStorages", |
| 4591 | + "operationId": "ListStorages", |
4589 | 4592 | "parameters": [ |
4590 | 4593 | { |
4591 | 4594 | "$ref": "#/components/parameters/project" |
|
4602 | 4605 | "content": { |
4603 | 4606 | "application/json": { |
4604 | 4607 | "schema": { |
4605 | | - "$ref": "#/components/schemas/GetStoragesResponse" |
| 4608 | + "$ref": "#/components/schemas/ListStoragesResponse" |
4606 | 4609 | } |
4607 | 4610 | } |
4608 | 4611 | }, |
|
4673 | 4676 | "/v3beta2/projects/{projectId}/regions/{region}/versions": { |
4674 | 4677 | "get": { |
4675 | 4678 | "description": "Get the sqlserver available versions for the project.", |
4676 | | - "operationId": "GetVersions", |
| 4679 | + "operationId": "ListVersions", |
4677 | 4680 | "parameters": [ |
4678 | 4681 | { |
4679 | 4682 | "$ref": "#/components/parameters/project" |
|
4687 | 4690 | "content": { |
4688 | 4691 | "application/json": { |
4689 | 4692 | "schema": { |
4690 | | - "$ref": "#/components/schemas/GetVersionsResponse" |
| 4693 | + "$ref": "#/components/schemas/ListVersionsResponse" |
4691 | 4694 | } |
4692 | 4695 | } |
4693 | 4696 | }, |
|
0 commit comments