Skip to content

Commit cc4b18e

Browse files
committed
update to API v0.53.1
1 parent 037cf6a commit cc4b18e

86 files changed

Lines changed: 1117 additions & 355 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

API.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ Kvm Orchestrator With A BUNch of Goods Added
33

44
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
55

6-
- API version: 0.52.5
7-
- Package version: 0.52.5
6+
- API version: 0.53.1
7+
- Package version: 0.53.1
88
- Generator version: 7.12.0
99
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1010
For more information, please visit [https://www.kowabunga.cloud/](https://www.kowabunga.cloud/)
@@ -201,11 +201,13 @@ Class | Method | HTTP request | Description
201201
*RecordApi* | [**update_dns_record**](docs/RecordApi.md#update_dns_record) | **PUT** /record/{recordId} |
202202
*RegionApi* | [**create_kiwi**](docs/RegionApi.md#create_kiwi) | **POST** /region/{regionId}/kiwi |
203203
*RegionApi* | [**create_region**](docs/RegionApi.md#create_region) | **POST** /region |
204+
*RegionApi* | [**create_region_dns_record**](docs/RegionApi.md#create_region_dns_record) | **POST** /region/{regionId}/record |
204205
*RegionApi* | [**create_storage_nfs**](docs/RegionApi.md#create_storage_nfs) | **POST** /region/{regionId}/nfs |
205206
*RegionApi* | [**create_storage_pool**](docs/RegionApi.md#create_storage_pool) | **POST** /region/{regionId}/pool |
206207
*RegionApi* | [**create_v_net**](docs/RegionApi.md#create_v_net) | **POST** /region/{regionId}/vnet |
207208
*RegionApi* | [**create_zone**](docs/RegionApi.md#create_zone) | **POST** /region/{regionId}/zone |
208209
*RegionApi* | [**delete_region**](docs/RegionApi.md#delete_region) | **DELETE** /region/{regionId} |
210+
*RegionApi* | [**list_region_dns_records**](docs/RegionApi.md#list_region_dns_records) | **GET** /region/{regionId}/records |
209211
*RegionApi* | [**list_region_kiwis**](docs/RegionApi.md#list_region_kiwis) | **GET** /region/{regionId}/kiwis |
210212
*RegionApi* | [**list_region_storage_nfss**](docs/RegionApi.md#list_region_storage_nfss) | **GET** /region/{regionId}/nfs |
211213
*RegionApi* | [**list_region_storage_pools**](docs/RegionApi.md#list_region_storage_pools) | **GET** /region/{regionId}/pools |

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ BUILD_DIR = build
6363
RUNTIME_DIR = runtime
6464

6565
# use "heads/master" to build from latest
66-
SDK_OPENAPI_VERSION = tags/v0.52.5
66+
SDK_OPENAPI_VERSION = tags/v0.53.1
6767
SDK_OPENAPI_SPEC = "https://raw.githubusercontent.com/kowabunga-cloud/openapi/refs/$(SDK_OPENAPI_VERSION)/openapi.yaml"
6868
SDK_GENERATOR = python
6969
SDK_PKG_NAME = kowabunga

docs/RegionApi.md

Lines changed: 177 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@ Method | HTTP request | Description
66
------------- | ------------- | -------------
77
[**create_kiwi**](RegionApi.md#create_kiwi) | **POST** /region/{regionId}/kiwi |
88
[**create_region**](RegionApi.md#create_region) | **POST** /region |
9+
[**create_region_dns_record**](RegionApi.md#create_region_dns_record) | **POST** /region/{regionId}/record |
910
[**create_storage_nfs**](RegionApi.md#create_storage_nfs) | **POST** /region/{regionId}/nfs |
1011
[**create_storage_pool**](RegionApi.md#create_storage_pool) | **POST** /region/{regionId}/pool |
1112
[**create_v_net**](RegionApi.md#create_v_net) | **POST** /region/{regionId}/vnet |
1213
[**create_zone**](RegionApi.md#create_zone) | **POST** /region/{regionId}/zone |
1314
[**delete_region**](RegionApi.md#delete_region) | **DELETE** /region/{regionId} |
15+
[**list_region_dns_records**](RegionApi.md#list_region_dns_records) | **GET** /region/{regionId}/records |
1416
[**list_region_kiwis**](RegionApi.md#list_region_kiwis) | **GET** /region/{regionId}/kiwis |
1517
[**list_region_storage_nfss**](RegionApi.md#list_region_storage_nfss) | **GET** /region/{regionId}/nfs |
1618
[**list_region_storage_pools**](RegionApi.md#list_region_storage_pools) | **GET** /region/{regionId}/pools |
@@ -203,6 +205,97 @@ Name | Type | Description | Notes
203205

204206
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
205207

208+
# **create_region_dns_record**
209+
> DnsRecord create_region_dns_record(region_id, dns_record)
210+
211+
Creates a new DNS record.
212+
213+
### Example
214+
215+
* Api Key Authentication (ApiKeyAuth):
216+
* Bearer (JWT) Authentication (BearerAuth):
217+
218+
```python
219+
import kowabunga
220+
from kowabunga.models.dns_record import DnsRecord
221+
from kowabunga.rest import ApiException
222+
from pprint import pprint
223+
224+
# Defining the host is optional and defaults to https://raw.githubusercontent.com/api/v1
225+
# See configuration.py for a list of all supported configuration parameters.
226+
configuration = kowabunga.Configuration(
227+
host = "https://raw.githubusercontent.com/api/v1"
228+
)
229+
230+
# The client must configure the authentication and authorization parameters
231+
# in accordance with the API server security policy.
232+
# Examples for each auth method are provided below, use the example that
233+
# satisfies your auth use case.
234+
235+
# Configure API key authorization: ApiKeyAuth
236+
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]
237+
238+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
239+
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'
240+
241+
# Configure Bearer authorization (JWT): BearerAuth
242+
configuration = kowabunga.Configuration(
243+
access_token = os.environ["BEARER_TOKEN"]
244+
)
245+
246+
# Enter a context with an instance of the API client
247+
with kowabunga.ApiClient(configuration) as api_client:
248+
# Create an instance of the API class
249+
api_instance = kowabunga.RegionApi(api_client)
250+
region_id = 'region_id_example' # str | The ID of the region.
251+
dns_record = kowabunga.DnsRecord() # DnsRecord | DnsRecord payload.
252+
253+
try:
254+
api_response = api_instance.create_region_dns_record(region_id, dns_record)
255+
print("The response of RegionApi->create_region_dns_record:\n")
256+
pprint(api_response)
257+
except Exception as e:
258+
print("Exception when calling RegionApi->create_region_dns_record: %s\n" % e)
259+
```
260+
261+
262+
263+
### Parameters
264+
265+
266+
Name | Type | Description | Notes
267+
------------- | ------------- | ------------- | -------------
268+
**region_id** | **str**| The ID of the region. |
269+
**dns_record** | [**DnsRecord**](DnsRecord.md)| DnsRecord payload. |
270+
271+
### Return type
272+
273+
[**DnsRecord**](DnsRecord.md)
274+
275+
### Authorization
276+
277+
[ApiKeyAuth](../README.md#ApiKeyAuth), [BearerAuth](../README.md#BearerAuth)
278+
279+
### HTTP request headers
280+
281+
- **Content-Type**: application/json
282+
- **Accept**: application/json
283+
284+
### HTTP response details
285+
286+
| Status code | Description | Response headers |
287+
|-------------|-------------|------------------|
288+
**201** | Returns the newly created DNS record object. | - |
289+
**400** | BadRequest error: Bad request (wrong input parameters). | - |
290+
**401** | Unauthorized error: Unauthorized resource access (wrong auth/credentials). | - |
291+
**403** | Forbidden error: Forbidden resource access (restricted access control). | - |
292+
**404** | NotFound error: Specified resource does not exist. | - |
293+
**409** | Conflict error: A similar resource already exists or resource is still being referenced somewhere. | - |
294+
**422** | UnprocessableEntity error: Server can't process request. | - |
295+
**507** | InsufficientResource error: Server can't allocate resources (logical quotas or physical limits hit). | - |
296+
297+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
298+
206299
# **create_storage_nfs**
207300
> StorageNFS create_storage_nfs(region_id, storage_nfs, pool_id=pool_id)
208301
@@ -653,6 +746,90 @@ void (empty response body)
653746

654747
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
655748

749+
# **list_region_dns_records**
750+
> List[str] list_region_dns_records(region_id)
751+
752+
Returns the IDs of DNS record objects.
753+
754+
### Example
755+
756+
* Api Key Authentication (ApiKeyAuth):
757+
* Bearer (JWT) Authentication (BearerAuth):
758+
759+
```python
760+
import kowabunga
761+
from kowabunga.rest import ApiException
762+
from pprint import pprint
763+
764+
# Defining the host is optional and defaults to https://raw.githubusercontent.com/api/v1
765+
# See configuration.py for a list of all supported configuration parameters.
766+
configuration = kowabunga.Configuration(
767+
host = "https://raw.githubusercontent.com/api/v1"
768+
)
769+
770+
# The client must configure the authentication and authorization parameters
771+
# in accordance with the API server security policy.
772+
# Examples for each auth method are provided below, use the example that
773+
# satisfies your auth use case.
774+
775+
# Configure API key authorization: ApiKeyAuth
776+
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]
777+
778+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
779+
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'
780+
781+
# Configure Bearer authorization (JWT): BearerAuth
782+
configuration = kowabunga.Configuration(
783+
access_token = os.environ["BEARER_TOKEN"]
784+
)
785+
786+
# Enter a context with an instance of the API client
787+
with kowabunga.ApiClient(configuration) as api_client:
788+
# Create an instance of the API class
789+
api_instance = kowabunga.RegionApi(api_client)
790+
region_id = 'region_id_example' # str | The ID of the region.
791+
792+
try:
793+
api_response = api_instance.list_region_dns_records(region_id)
794+
print("The response of RegionApi->list_region_dns_records:\n")
795+
pprint(api_response)
796+
except Exception as e:
797+
print("Exception when calling RegionApi->list_region_dns_records: %s\n" % e)
798+
```
799+
800+
801+
802+
### Parameters
803+
804+
805+
Name | Type | Description | Notes
806+
------------- | ------------- | ------------- | -------------
807+
**region_id** | **str**| The ID of the region. |
808+
809+
### Return type
810+
811+
**List[str]**
812+
813+
### Authorization
814+
815+
[ApiKeyAuth](../README.md#ApiKeyAuth), [BearerAuth](../README.md#BearerAuth)
816+
817+
### HTTP request headers
818+
819+
- **Content-Type**: Not defined
820+
- **Accept**: application/json
821+
822+
### HTTP response details
823+
824+
| Status code | Description | Response headers |
825+
|-------------|-------------|------------------|
826+
**200** | Returns an array of DNS record IDs. | - |
827+
**401** | Unauthorized error: Unauthorized resource access (wrong auth/credentials). | - |
828+
**403** | Forbidden error: Forbidden resource access (restricted access control). | - |
829+
**404** | NotFound error: Specified resource does not exist. | - |
830+
831+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
832+
656833
# **list_region_kiwis**
657834
> List[str] list_region_kiwis(region_id)
658835

kowabunga/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@
33
# flake8: noqa
44

55
"""
6-
Kowabunga API documentation
6+
Kowabunga API
77
88
Kvm Orchestrator With A BUNch of Goods Added
99
10-
The version of the OpenAPI document: 0.52.5
10+
The version of the OpenAPI document: 0.53.1
1111
Contact: maintainers@kowabunga.cloud
1212
Generated by OpenAPI Generator (https://openapi-generator.tech)
1313
1414
Do not edit the class manually.
1515
""" # noqa: E501
1616

1717

18-
__version__ = "0.52.5"
18+
__version__ = "0.53.1"
1919

2020
# import apis into sdk package
2121
from kowabunga.api.adapter_api import AdapterApi

kowabunga/api/adapter_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# coding: utf-8
22

33
"""
4-
Kowabunga API documentation
4+
Kowabunga API
55
66
Kvm Orchestrator With A BUNch of Goods Added
77
8-
The version of the OpenAPI document: 0.52.5
8+
The version of the OpenAPI document: 0.53.1
99
Contact: maintainers@kowabunga.cloud
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

kowabunga/api/agent_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# coding: utf-8
22

33
"""
4-
Kowabunga API documentation
4+
Kowabunga API
55
66
Kvm Orchestrator With A BUNch of Goods Added
77
8-
The version of the OpenAPI document: 0.52.5
8+
The version of the OpenAPI document: 0.53.1
99
Contact: maintainers@kowabunga.cloud
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

kowabunga/api/instance_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# coding: utf-8
22

33
"""
4-
Kowabunga API documentation
4+
Kowabunga API
55
66
Kvm Orchestrator With A BUNch of Goods Added
77
8-
The version of the OpenAPI document: 0.52.5
8+
The version of the OpenAPI document: 0.53.1
99
Contact: maintainers@kowabunga.cloud
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

kowabunga/api/kaktus_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# coding: utf-8
22

33
"""
4-
Kowabunga API documentation
4+
Kowabunga API
55
66
Kvm Orchestrator With A BUNch of Goods Added
77
8-
The version of the OpenAPI document: 0.52.5
8+
The version of the OpenAPI document: 0.53.1
99
Contact: maintainers@kowabunga.cloud
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

kowabunga/api/kawaii_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# coding: utf-8
22

33
"""
4-
Kowabunga API documentation
4+
Kowabunga API
55
66
Kvm Orchestrator With A BUNch of Goods Added
77
8-
The version of the OpenAPI document: 0.52.5
8+
The version of the OpenAPI document: 0.53.1
99
Contact: maintainers@kowabunga.cloud
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

kowabunga/api/kiwi_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# coding: utf-8
22

33
"""
4-
Kowabunga API documentation
4+
Kowabunga API
55
66
Kvm Orchestrator With A BUNch of Goods Added
77
8-
The version of the OpenAPI document: 0.52.5
8+
The version of the OpenAPI document: 0.53.1
99
Contact: maintainers@kowabunga.cloud
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

0 commit comments

Comments
 (0)