|
5 | 5 |
|
6 | 6 | This API offers the ability to store TLS certificates, which can be used by load balancing servers in STACKIT. They can be between consumer and load balancing server and/or between load balancing server and endpoint server. |
7 | 7 |
|
8 | | - The version of the OpenAPI document: 2beta.0.0 |
| 8 | + The version of the OpenAPI document: 2.0.0 |
9 | 9 | Generated by OpenAPI Generator (https://openapi-generator.tech) |
10 | 10 |
|
11 | 11 | Do not edit the class manually. |
|
22 | 22 | from stackit.certificates.models.create_certificate_payload import ( |
23 | 23 | CreateCertificatePayload, |
24 | 24 | ) |
25 | | -from stackit.certificates.models.create_certificate_response import ( |
26 | | - CreateCertificateResponse, |
27 | | -) |
28 | 25 | from stackit.certificates.models.get_certificate_response import GetCertificateResponse |
29 | 26 | from stackit.certificates.models.list_certificates_response import ( |
30 | 27 | ListCertificatesResponse, |
@@ -60,7 +57,7 @@ def create_certificate( |
60 | 57 | _content_type: Optional[StrictStr] = None, |
61 | 58 | _headers: Optional[Dict[StrictStr, Any]] = None, |
62 | 59 | _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, |
63 | | - ) -> CreateCertificateResponse: |
| 60 | + ) -> GetCertificateResponse: |
64 | 61 | """Store a TLS certificate in a project. |
65 | 62 |
|
66 | 63 | CreateCertificate will store a TLS certificate in a project. |
@@ -104,7 +101,7 @@ def create_certificate( |
104 | 101 | ) |
105 | 102 |
|
106 | 103 | _response_types_map: Dict[str, Optional[str]] = { |
107 | | - "200": "CreateCertificateResponse", |
| 104 | + "200": "GetCertificateResponse", |
108 | 105 | "400": None, |
109 | 106 | "401": "Status", |
110 | 107 | "403": None, |
@@ -132,7 +129,7 @@ def create_certificate_with_http_info( |
132 | 129 | _content_type: Optional[StrictStr] = None, |
133 | 130 | _headers: Optional[Dict[StrictStr, Any]] = None, |
134 | 131 | _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, |
135 | | - ) -> ApiResponse[CreateCertificateResponse]: |
| 132 | + ) -> ApiResponse[GetCertificateResponse]: |
136 | 133 | """Store a TLS certificate in a project. |
137 | 134 |
|
138 | 135 | CreateCertificate will store a TLS certificate in a project. |
@@ -176,7 +173,7 @@ def create_certificate_with_http_info( |
176 | 173 | ) |
177 | 174 |
|
178 | 175 | _response_types_map: Dict[str, Optional[str]] = { |
179 | | - "200": "CreateCertificateResponse", |
| 176 | + "200": "GetCertificateResponse", |
180 | 177 | "400": None, |
181 | 178 | "401": "Status", |
182 | 179 | "403": None, |
@@ -248,7 +245,7 @@ def create_certificate_without_preload_content( |
248 | 245 | ) |
249 | 246 |
|
250 | 247 | _response_types_map: Dict[str, Optional[str]] = { |
251 | | - "200": "CreateCertificateResponse", |
| 248 | + "200": "GetCertificateResponse", |
252 | 249 | "400": None, |
253 | 250 | "401": "Status", |
254 | 251 | "403": None, |
@@ -308,7 +305,7 @@ def _create_certificate_serialize( |
308 | 305 |
|
309 | 306 | return self.api_client.param_serialize( |
310 | 307 | method="POST", |
311 | | - resource_path="/v2beta/projects/{projectId}/regions/{region}/certificates", |
| 308 | + resource_path="/v2/projects/{projectId}/regions/{region}/certificates", |
312 | 309 | path_params=_path_params, |
313 | 310 | query_params=_query_params, |
314 | 311 | header_params=_header_params, |
@@ -576,7 +573,7 @@ def _delete_certificate_serialize( |
576 | 573 |
|
577 | 574 | return self.api_client.param_serialize( |
578 | 575 | method="DELETE", |
579 | | - resource_path="/v2beta/projects/{projectId}/regions/{region}/certificates/{id}", |
| 576 | + resource_path="/v2/projects/{projectId}/regions/{region}/certificates/{id}", |
580 | 577 | path_params=_path_params, |
581 | 578 | query_params=_query_params, |
582 | 579 | header_params=_header_params, |
@@ -847,7 +844,7 @@ def _get_certificate_serialize( |
847 | 844 |
|
848 | 845 | return self.api_client.param_serialize( |
849 | 846 | method="GET", |
850 | | - resource_path="/v2beta/projects/{projectId}/regions/{region}/certificates/{id}", |
| 847 | + resource_path="/v2/projects/{projectId}/regions/{region}/certificates/{id}", |
851 | 848 | path_params=_path_params, |
852 | 849 | query_params=_query_params, |
853 | 850 | header_params=_header_params, |
@@ -1167,7 +1164,7 @@ def _list_certificates_serialize( |
1167 | 1164 |
|
1168 | 1165 | return self.api_client.param_serialize( |
1169 | 1166 | method="GET", |
1170 | | - resource_path="/v2beta/projects/{projectId}/regions/{region}/certificates", |
| 1167 | + resource_path="/v2/projects/{projectId}/regions/{region}/certificates", |
1171 | 1168 | path_params=_path_params, |
1172 | 1169 | query_params=_query_params, |
1173 | 1170 | header_params=_header_params, |
|
0 commit comments