|
7236 | 7236 | } |
7237 | 7237 | } |
7238 | 7238 | }, |
| 7239 | + "/subscriptions/{subscriptionId}/databases/{databaseId}/traffic/resume": { |
| 7240 | + "post": { |
| 7241 | + "tags": [ |
| 7242 | + "Databases - Pro" |
| 7243 | + ], |
| 7244 | + "summary": "Resume Pro database traffic", |
| 7245 | + "description": "Resumes traffic for the specified Pro database.", |
| 7246 | + "operationId": "resumeBdbTraffic", |
| 7247 | + "parameters": [ |
| 7248 | + { |
| 7249 | + "name": "subscriptionId", |
| 7250 | + "in": "path", |
| 7251 | + "description": "Subscription ID.", |
| 7252 | + "required": true, |
| 7253 | + "schema": { |
| 7254 | + "minimum": 0, |
| 7255 | + "type": "integer", |
| 7256 | + "format": "int32" |
| 7257 | + } |
| 7258 | + }, |
| 7259 | + { |
| 7260 | + "name": "databaseId", |
| 7261 | + "in": "path", |
| 7262 | + "description": "Database ID.", |
| 7263 | + "required": true, |
| 7264 | + "schema": { |
| 7265 | + "minimum": 0, |
| 7266 | + "type": "integer", |
| 7267 | + "format": "int32" |
| 7268 | + } |
| 7269 | + } |
| 7270 | + ], |
| 7271 | + "responses": { |
| 7272 | + "400": { |
| 7273 | + "description": "Bad Request - The server cannot process the request due to something that is perceived to be a client error" |
| 7274 | + }, |
| 7275 | + "412": { |
| 7276 | + "description": "Precondition Failed - Feature flag for this flow is off" |
| 7277 | + }, |
| 7278 | + "204": { |
| 7279 | + "description": "Traffic resumed" |
| 7280 | + }, |
| 7281 | + "401": { |
| 7282 | + "description": "Unauthorized - Authentication failed for requested resource" |
| 7283 | + }, |
| 7284 | + "403": { |
| 7285 | + "description": "Forbidden - Not allowed to access requested resource (primarily due to client source IP API Key restrictions)" |
| 7286 | + }, |
| 7287 | + "404": { |
| 7288 | + "description": "Not Found - The resource you were trying to reach was not found or does not exist" |
| 7289 | + }, |
| 7290 | + "408": { |
| 7291 | + "description": "Request Timeout - The server didn't receive a complete request message within the server's allotted timeout period" |
| 7292 | + }, |
| 7293 | + "409": { |
| 7294 | + "description": "Conflict - request could not be processed because of a conflict (primarily due to another resource that exist with new updated name)" |
| 7295 | + }, |
| 7296 | + "429": { |
| 7297 | + "description": "Too Many Requests - Too many resources are concurrently created / updated / deleted in the account. Please re-submit API requests after resource changes are completed)" |
| 7298 | + }, |
| 7299 | + "500": { |
| 7300 | + "description": "Internal system error - If this error persists, please contact customer support" |
| 7301 | + }, |
| 7302 | + "503": { |
| 7303 | + "description": "Service Unavailable - Server is temporarily unable to handle the request, please try again later. If this error persists, please contact customer support " |
| 7304 | + } |
| 7305 | + } |
| 7306 | + } |
| 7307 | + }, |
7239 | 7308 | "/subscriptions/{subscriptionId}/databases/{databaseId}/import": { |
7240 | 7309 | "get": { |
7241 | 7310 | "tags": [ |
|
7972 | 8041 | } |
7973 | 8042 | } |
7974 | 8043 | }, |
| 8044 | + "/fixed/subscriptions/{subscriptionId}/databases/{databaseId}/traffic/resume": { |
| 8045 | + "post": { |
| 8046 | + "tags": [ |
| 8047 | + "Databases - Essentials" |
| 8048 | + ], |
| 8049 | + "summary": "Resume Essentials database traffic", |
| 8050 | + "description": "Resumes traffic for the specified Essentials database.", |
| 8051 | + "operationId": "resumeBdbTraffic_1", |
| 8052 | + "parameters": [ |
| 8053 | + { |
| 8054 | + "name": "subscriptionId", |
| 8055 | + "in": "path", |
| 8056 | + "description": "Subscription ID.", |
| 8057 | + "required": true, |
| 8058 | + "schema": { |
| 8059 | + "minimum": 0, |
| 8060 | + "type": "integer", |
| 8061 | + "format": "int32" |
| 8062 | + } |
| 8063 | + }, |
| 8064 | + { |
| 8065 | + "name": "databaseId", |
| 8066 | + "in": "path", |
| 8067 | + "description": "Database ID.", |
| 8068 | + "required": true, |
| 8069 | + "schema": { |
| 8070 | + "minimum": 0, |
| 8071 | + "type": "integer", |
| 8072 | + "format": "int32" |
| 8073 | + } |
| 8074 | + } |
| 8075 | + ], |
| 8076 | + "responses": { |
| 8077 | + "400": { |
| 8078 | + "description": "Bad Request - The server cannot process the request due to something that is perceived to be a client error" |
| 8079 | + }, |
| 8080 | + "412": { |
| 8081 | + "description": "Precondition Failed - Feature flag for this flow is off" |
| 8082 | + }, |
| 8083 | + "204": { |
| 8084 | + "description": "Traffic resumed" |
| 8085 | + }, |
| 8086 | + "401": { |
| 8087 | + "description": "Unauthorized - Authentication failed for requested resource" |
| 8088 | + }, |
| 8089 | + "403": { |
| 8090 | + "description": "Forbidden - Not allowed to access requested resource (primarily due to client source IP API Key restrictions)" |
| 8091 | + }, |
| 8092 | + "404": { |
| 8093 | + "description": "Not Found - The resource you were trying to reach was not found or does not exist" |
| 8094 | + }, |
| 8095 | + "408": { |
| 8096 | + "description": "Request Timeout - The server didn't receive a complete request message within the server's allotted timeout period" |
| 8097 | + }, |
| 8098 | + "409": { |
| 8099 | + "description": "Conflict - request could not be processed because of a conflict (primarily due to another resource that exist with new updated name)" |
| 8100 | + }, |
| 8101 | + "429": { |
| 8102 | + "description": "Too Many Requests - Too many resources are concurrently created / updated / deleted in the account. Please re-submit API requests after resource changes are completed)" |
| 8103 | + }, |
| 8104 | + "500": { |
| 8105 | + "description": "Internal system error - If this error persists, please contact customer support" |
| 8106 | + }, |
| 8107 | + "503": { |
| 8108 | + "description": "Service Unavailable - Server is temporarily unable to handle the request, please try again later. If this error persists, please contact customer support " |
| 8109 | + } |
| 8110 | + } |
| 8111 | + } |
| 8112 | + }, |
7975 | 8113 | "/fixed/subscriptions/{subscriptionId}/databases/{databaseId}/import": { |
7976 | 8114 | "get": { |
7977 | 8115 | "tags": [ |
|
9691 | 9829 | } |
9692 | 9830 | } |
9693 | 9831 | }, |
| 9832 | + "/subscriptions/{subscriptionId}/databases/{databaseId}/traffic": { |
| 9833 | + "get": { |
| 9834 | + "tags": [ |
| 9835 | + "Databases - Pro" |
| 9836 | + ], |
| 9837 | + "summary": "Get Pro database traffic", |
| 9838 | + "description": "Gets traffic information for the specified Pro database. If the database was not a source in a redirect endpoints operation, a not found error will be returned.", |
| 9839 | + "operationId": "getDatabaseTraffic", |
| 9840 | + "parameters": [ |
| 9841 | + { |
| 9842 | + "name": "subscriptionId", |
| 9843 | + "in": "path", |
| 9844 | + "description": "Subscription ID.", |
| 9845 | + "required": true, |
| 9846 | + "schema": { |
| 9847 | + "minimum": 0, |
| 9848 | + "type": "integer", |
| 9849 | + "format": "int32" |
| 9850 | + } |
| 9851 | + }, |
| 9852 | + { |
| 9853 | + "name": "databaseId", |
| 9854 | + "in": "path", |
| 9855 | + "description": "Database ID.", |
| 9856 | + "required": true, |
| 9857 | + "schema": { |
| 9858 | + "minimum": 0, |
| 9859 | + "type": "integer", |
| 9860 | + "format": "int32" |
| 9861 | + } |
| 9862 | + } |
| 9863 | + ], |
| 9864 | + "responses": { |
| 9865 | + "400": { |
| 9866 | + "description": "Bad Request - The server cannot process the request due to something that is perceived to be a client error" |
| 9867 | + }, |
| 9868 | + "412": { |
| 9869 | + "description": "Precondition Failed - Feature flag for this flow is off" |
| 9870 | + }, |
| 9871 | + "200": { |
| 9872 | + "description": "OK", |
| 9873 | + "content": { |
| 9874 | + "application/json": { |
| 9875 | + "schema": { |
| 9876 | + "$ref": "#/components/schemas/DatabaseTrafficStateResponse" |
| 9877 | + } |
| 9878 | + } |
| 9879 | + } |
| 9880 | + }, |
| 9881 | + "401": { |
| 9882 | + "description": "Unauthorized - Authentication failed for requested resource" |
| 9883 | + }, |
| 9884 | + "403": { |
| 9885 | + "description": "Forbidden - Not allowed to access requested resource (primarily due to client source IP API Key restrictions)" |
| 9886 | + }, |
| 9887 | + "404": { |
| 9888 | + "description": "Not Found - The resource you were trying to reach was not found or does not exist" |
| 9889 | + }, |
| 9890 | + "429": { |
| 9891 | + "description": "Too Many Requests - Too many resources are concurrently created / updated / deleted in the account. Please re-submit API requests after resource changes are completed)" |
| 9892 | + }, |
| 9893 | + "500": { |
| 9894 | + "description": "Internal system error - If this error persists, please contact customer support" |
| 9895 | + }, |
| 9896 | + "503": { |
| 9897 | + "description": "Service Unavailable - Server is temporarily unable to handle the request, please try again later. If this error persists, please contact customer support " |
| 9898 | + } |
| 9899 | + } |
| 9900 | + } |
| 9901 | + }, |
9694 | 9902 | "/subscriptions/{subscriptionId}/databases/{databaseId}/slow-log": { |
9695 | 9903 | "get": { |
9696 | 9904 | "tags": [ |
|
10312 | 10520 | } |
10313 | 10521 | } |
10314 | 10522 | }, |
| 10523 | + "/fixed/subscriptions/{subscriptionId}/databases/{databaseId}/traffic": { |
| 10524 | + "get": { |
| 10525 | + "tags": [ |
| 10526 | + "Databases - Essentials" |
| 10527 | + ], |
| 10528 | + "summary": "Get Essentials database traffic", |
| 10529 | + "description": "Gets traffic information for the specified Essentials database. If the database was not a source in a redirect endpoints operation, a not found error will be returned.", |
| 10530 | + "operationId": "getDatabaseTraffic_1", |
| 10531 | + "parameters": [ |
| 10532 | + { |
| 10533 | + "name": "subscriptionId", |
| 10534 | + "in": "path", |
| 10535 | + "description": "Subscription ID.", |
| 10536 | + "required": true, |
| 10537 | + "schema": { |
| 10538 | + "minimum": 0, |
| 10539 | + "type": "integer", |
| 10540 | + "format": "int32" |
| 10541 | + } |
| 10542 | + }, |
| 10543 | + { |
| 10544 | + "name": "databaseId", |
| 10545 | + "in": "path", |
| 10546 | + "description": "Database ID.", |
| 10547 | + "required": true, |
| 10548 | + "schema": { |
| 10549 | + "minimum": 0, |
| 10550 | + "type": "integer", |
| 10551 | + "format": "int32" |
| 10552 | + } |
| 10553 | + } |
| 10554 | + ], |
| 10555 | + "responses": { |
| 10556 | + "400": { |
| 10557 | + "description": "Bad Request - The server cannot process the request due to something that is perceived to be a client error" |
| 10558 | + }, |
| 10559 | + "412": { |
| 10560 | + "description": "Precondition Failed - Feature flag for this flow is off" |
| 10561 | + }, |
| 10562 | + "200": { |
| 10563 | + "description": "OK", |
| 10564 | + "content": { |
| 10565 | + "application/json": { |
| 10566 | + "schema": { |
| 10567 | + "$ref": "#/components/schemas/DatabaseTrafficStateResponse" |
| 10568 | + } |
| 10569 | + } |
| 10570 | + } |
| 10571 | + }, |
| 10572 | + "401": { |
| 10573 | + "description": "Unauthorized - Authentication failed for requested resource" |
| 10574 | + }, |
| 10575 | + "403": { |
| 10576 | + "description": "Forbidden - Not allowed to access requested resource (primarily due to client source IP API Key restrictions)" |
| 10577 | + }, |
| 10578 | + "404": { |
| 10579 | + "description": "Not Found - The resource you were trying to reach was not found or does not exist" |
| 10580 | + }, |
| 10581 | + "429": { |
| 10582 | + "description": "Too Many Requests - Too many resources are concurrently created / updated / deleted in the account. Please re-submit API requests after resource changes are completed)" |
| 10583 | + }, |
| 10584 | + "500": { |
| 10585 | + "description": "Internal system error - If this error persists, please contact customer support" |
| 10586 | + }, |
| 10587 | + "503": { |
| 10588 | + "description": "Service Unavailable - Server is temporarily unable to handle the request, please try again later. If this error persists, please contact customer support " |
| 10589 | + } |
| 10590 | + } |
| 10591 | + } |
| 10592 | + }, |
10315 | 10593 | "/fixed/subscriptions/{subscriptionId}/databases/{databaseId}/slow-log": { |
10316 | 10594 | "get": { |
10317 | 10595 | "tags": [ |
|
12740 | 13018 | }, |
12741 | 13019 | "description": "Active-Active VPC peering update request message" |
12742 | 13020 | }, |
| 13021 | + "DatabaseTrafficStateResponse": { |
| 13022 | + "type": "object", |
| 13023 | + "properties": { |
| 13024 | + "bdbId": { |
| 13025 | + "type": "integer", |
| 13026 | + "format": "int32" |
| 13027 | + }, |
| 13028 | + "trafficStatus": { |
| 13029 | + "type": "string" |
| 13030 | + }, |
| 13031 | + "canResume": { |
| 13032 | + "type": "boolean" |
| 13033 | + }, |
| 13034 | + "resumeInProgress": { |
| 13035 | + "type": "boolean" |
| 13036 | + }, |
| 13037 | + "stopReason": { |
| 13038 | + "type": "string" |
| 13039 | + }, |
| 13040 | + "resumeEligibleAt": { |
| 13041 | + "type": "string", |
| 13042 | + "format": "date-time" |
| 13043 | + } |
| 13044 | + } |
| 13045 | + }, |
12743 | 13046 | "DataPersistenceEntry": { |
12744 | 13047 | "type": "object", |
12745 | 13048 | "properties": { |
|
0 commit comments