|
257 | 257 | },
|
258 | 258 | "type": "object"
|
259 | 259 | },
|
| 260 | + "ListPlansResponse": { |
| 261 | + "properties": { |
| 262 | + "validPlans": { |
| 263 | + "items": { |
| 264 | + "$ref": "#/components/schemas/PlanDetails" |
| 265 | + }, |
| 266 | + "type": "array" |
| 267 | + } |
| 268 | + }, |
| 269 | + "type": "object" |
| 270 | + }, |
260 | 271 | "Listener": {
|
261 | 272 | "properties": {
|
262 | 273 | "displayName": {
|
|
529 | 540 | },
|
530 | 541 | "type": "object"
|
531 | 542 | },
|
| 543 | + "PlanDetails": { |
| 544 | + "properties": { |
| 545 | + "description": { |
| 546 | + "description": "Description", |
| 547 | + "example": "Description for p10", |
| 548 | + "type": "string" |
| 549 | + }, |
| 550 | + "flavorName": { |
| 551 | + "description": "Flavor Name", |
| 552 | + "example": "t1.2", |
| 553 | + "type": "string" |
| 554 | + }, |
| 555 | + "maxConnections": { |
| 556 | + "description": "Maximum number of concurrent connections per load balancer VM instance.", |
| 557 | + "title": "Load Balancer max supported connections", |
| 558 | + "type": "integer" |
| 559 | + }, |
| 560 | + "name": { |
| 561 | + "description": "Service Plan Name", |
| 562 | + "example": "Essential-Network-Load-Balancer-10-EU01", |
| 563 | + "type": "string" |
| 564 | + }, |
| 565 | + "planId": { |
| 566 | + "description": "Service Plan Identifier", |
| 567 | + "example": "p10", |
| 568 | + "type": "string" |
| 569 | + } |
| 570 | + }, |
| 571 | + "type": "object" |
| 572 | + }, |
532 | 573 | "ServerNameIndicator": {
|
533 | 574 | "properties": {
|
534 | 575 | "name": {
|
|
758 | 799 | "info": {
|
759 | 800 | "description": "This API offers an interface to provision and manage load balancing servers in your STACKIT project. It also has the possibility of pooling target servers for load balancing purposes.\n\nFor each load balancer provided, two VMs are deployed in your OpenStack project subject to a fee.",
|
760 | 801 | "title": "Load Balancer API",
|
761 |
| - "version": "1.7.0" |
| 802 | + "version": "1.7.1" |
762 | 803 | },
|
763 | 804 | "openapi": "3.0.3",
|
764 | 805 | "paths": {
|
| 806 | + "/v1/plans": { |
| 807 | + "get": { |
| 808 | + "description": "ListPlans returns for the configured service plans for a project.", |
| 809 | + "operationId": "ListPlans", |
| 810 | + "responses": { |
| 811 | + "200": { |
| 812 | + "content": { |
| 813 | + "application/json": { |
| 814 | + "schema": { |
| 815 | + "$ref": "#/components/schemas/ListPlansResponse" |
| 816 | + } |
| 817 | + } |
| 818 | + }, |
| 819 | + "description": "OK" |
| 820 | + }, |
| 821 | + "400": { |
| 822 | + "description": "One or more fields are invalid." |
| 823 | + }, |
| 824 | + "401": { |
| 825 | + "description": "Unauthorized" |
| 826 | + }, |
| 827 | + "403": { |
| 828 | + "description": "this projectId is not allowed to try this API" |
| 829 | + }, |
| 830 | + "500": { |
| 831 | + "description": "internal error - please retry again later or contact support if the issue persists" |
| 832 | + }, |
| 833 | + "default": { |
| 834 | + "content": { |
| 835 | + "application/json": { |
| 836 | + "schema": { |
| 837 | + "$ref": "#/components/schemas/Status" |
| 838 | + } |
| 839 | + } |
| 840 | + }, |
| 841 | + "description": "Default error response" |
| 842 | + } |
| 843 | + }, |
| 844 | + "summary": "List available service plans." |
| 845 | + } |
| 846 | + }, |
765 | 847 | "/v1/projects/{projectId}": {
|
766 | 848 | "delete": {
|
767 | 849 | "deprecated": true,
|
|
0 commit comments