Skip to content

Commit c20965f

Browse files
committed
nightly API update
1 parent 5201865 commit c20965f

108 files changed

Lines changed: 2651 additions & 1772 deletions

File tree

Some content is hidden

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

.openapi-generator/FILES

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@ docs/AssignmentAuditResponse.md
1818
docs/AssignmentResponse.md
1919
docs/AutoScalingTypeRequest.md
2020
docs/AutoScalingTypeResponse.md
21+
docs/CancelInstanceRequest.md
2122
docs/CancelInstanceResponse.md
2223
docs/CancelInstanceResponseData.md
24+
docs/CancelObjectStorageRequest.md
2325
docs/CancelObjectStorageResponse.md
2426
docs/CancelObjectStorageResponseData.md
2527
docs/ClientResponse.md
@@ -107,8 +109,10 @@ docs/InstancesAuditsApi.md
107109
docs/InstancesResetPasswordActionsRequest.md
108110
docs/InternalApi.md
109111
docs/IpConfig.md
112+
docs/IpConfig1.md
110113
docs/IpV4.md
111114
docs/IpV41.md
115+
docs/IpV42.md
112116
docs/IpV6.md
113117
docs/Links.md
114118
docs/ListApiPermissionResponse.md
@@ -213,6 +217,7 @@ docs/UserIsPasswordSetResponse.md
213217
docs/UserResponse.md
214218
docs/UsersApi.md
215219
docs/UsersAuditsApi.md
220+
docs/UsersObjectStorageCredentialsApi.md
216221
docs/VIPApi.md
217222
docs/VipAuditResponse.md
218223
docs/VipAuditsApi.md
@@ -243,6 +248,7 @@ pfruck_contabo/api/tags_api.py
243248
pfruck_contabo/api/tags_audits_api.py
244249
pfruck_contabo/api/users_api.py
245250
pfruck_contabo/api/users_audits_api.py
251+
pfruck_contabo/api/users_object_storage_credentials_api.py
246252
pfruck_contabo/api/vip_api.py
247253
pfruck_contabo/api/vip_audits_api.py
248254
pfruck_contabo/api_client.py
@@ -265,8 +271,10 @@ pfruck_contabo/models/assignment_audit_response.py
265271
pfruck_contabo/models/assignment_response.py
266272
pfruck_contabo/models/auto_scaling_type_request.py
267273
pfruck_contabo/models/auto_scaling_type_response.py
274+
pfruck_contabo/models/cancel_instance_request.py
268275
pfruck_contabo/models/cancel_instance_response.py
269276
pfruck_contabo/models/cancel_instance_response_data.py
277+
pfruck_contabo/models/cancel_object_storage_request.py
270278
pfruck_contabo/models/cancel_object_storage_response.py
271279
pfruck_contabo/models/cancel_object_storage_response_data.py
272280
pfruck_contabo/models/client_response.py
@@ -347,8 +355,10 @@ pfruck_contabo/models/instances_actions_rescue_request.py
347355
pfruck_contabo/models/instances_audit_response.py
348356
pfruck_contabo/models/instances_reset_password_actions_request.py
349357
pfruck_contabo/models/ip_config.py
358+
pfruck_contabo/models/ip_config1.py
350359
pfruck_contabo/models/ip_v4.py
351360
pfruck_contabo/models/ip_v41.py
361+
pfruck_contabo/models/ip_v42.py
352362
pfruck_contabo/models/ip_v6.py
353363
pfruck_contabo/models/links.py
354364
pfruck_contabo/models/list_api_permission_response.py
@@ -463,8 +473,10 @@ test/test_assignment_audit_response.py
463473
test/test_assignment_response.py
464474
test/test_auto_scaling_type_request.py
465475
test/test_auto_scaling_type_response.py
476+
test/test_cancel_instance_request.py
466477
test/test_cancel_instance_response.py
467478
test/test_cancel_instance_response_data.py
479+
test/test_cancel_object_storage_request.py
468480
test/test_cancel_object_storage_response.py
469481
test/test_cancel_object_storage_response_data.py
470482
test/test_client_response.py
@@ -552,8 +564,10 @@ test/test_instances_audits_api.py
552564
test/test_instances_reset_password_actions_request.py
553565
test/test_internal_api.py
554566
test/test_ip_config.py
567+
test/test_ip_config1.py
555568
test/test_ip_v4.py
556569
test/test_ip_v41.py
570+
test/test_ip_v42.py
557571
test/test_ip_v6.py
558572
test/test_links.py
559573
test/test_list_api_permission_response.py
@@ -658,6 +672,7 @@ test/test_user_is_password_set_response.py
658672
test/test_user_response.py
659673
test/test_users_api.py
660674
test/test_users_audits_api.py
675+
test/test_users_object_storage_credentials_api.py
661676
test/test_vip_api.py
662677
test/test_vip_audit_response.py
663678
test/test_vip_audits_api.py

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ Class | Method | HTTP request | Description
118118
*InstancesApi* | [**upgrade_instance**](docs/InstancesApi.md#upgrade_instance) | **POST** /v1/compute/instances/{instanceId}/upgrade | Upgrading instance capabilities
119119
*InstancesAuditsApi* | [**retrieve_instances_audits_list**](docs/InstancesAuditsApi.md#retrieve_instances_audits_list) | **GET** /v1/compute/instances/audits | List history about your instances (audit)
120120
*InternalApi* | [**create_ticket**](docs/InternalApi.md#create_ticket) | **POST** /v1/create-ticket | Create a new support ticket
121-
*InternalApi* | [**retrieve_user_is_password_set**](docs/InternalApi.md#retrieve_user_is_password_set) | **GET** /v1/users/is-password-set | Get user is password set status
122121
*ObjectStoragesApi* | [**cancel_object_storage**](docs/ObjectStoragesApi.md#cancel_object_storage) | **PATCH** /v1/object-storages/{objectStorageId}/cancel | Cancels the specified object storage at the next possible date
123122
*ObjectStoragesApi* | [**create_object_storage**](docs/ObjectStoragesApi.md#create_object_storage) | **POST** /v1/object-storages | Create a new object storage
124123
*ObjectStoragesApi* | [**retrieve_data_center_list**](docs/ObjectStoragesApi.md#retrieve_data_center_list) | **GET** /v1/data-centers | List data centers
@@ -170,16 +169,17 @@ Class | Method | HTTP request | Description
170169
*UsersApi* | [**create_user**](docs/UsersApi.md#create_user) | **POST** /v1/users | Create a new user
171170
*UsersApi* | [**delete_user**](docs/UsersApi.md#delete_user) | **DELETE** /v1/users/{userId} | Delete existing user by id
172171
*UsersApi* | [**generate_client_secret**](docs/UsersApi.md#generate_client_secret) | **PUT** /v1/users/client/secret | Generate new client secret
173-
*UsersApi* | [**get_object_storage_credentials**](docs/UsersApi.md#get_object_storage_credentials) | **GET** /v1/users/{userId}/object-storages/{objectStorageId}/credentials/{credentialId} | Get S3 compatible object storage credentials.
174-
*UsersApi* | [**list_object_storage_credentials**](docs/UsersApi.md#list_object_storage_credentials) | **GET** /v1/users/{userId}/object-storages/credentials | Get list of S3 compatible object storage credentials for user.
175-
*UsersApi* | [**regenerate_object_storage_credentials**](docs/UsersApi.md#regenerate_object_storage_credentials) | **PATCH** /v1/users/{userId}/object-storages/{objectStorageId}/credentials/{credentialId} | Regenerates secret key of specified user for the S3 compatible object storages.
176172
*UsersApi* | [**resend_email_verification**](docs/UsersApi.md#resend_email_verification) | **POST** /v1/users/{userId}/resend-email-verification | Resend email verification
177173
*UsersApi* | [**reset_password**](docs/UsersApi.md#reset_password) | **POST** /v1/users/{userId}/reset-password | Send reset password email
178174
*UsersApi* | [**retrieve_user**](docs/UsersApi.md#retrieve_user) | **GET** /v1/users/{userId} | Get specific user by id
179175
*UsersApi* | [**retrieve_user_client**](docs/UsersApi.md#retrieve_user_client) | **GET** /v1/users/client | Get client
176+
*UsersApi* | [**retrieve_user_is_password_set**](docs/UsersApi.md#retrieve_user_is_password_set) | **GET** /v1/users/is-password-set | Get user is password set status
180177
*UsersApi* | [**retrieve_user_list**](docs/UsersApi.md#retrieve_user_list) | **GET** /v1/users | List users
181178
*UsersApi* | [**update_user**](docs/UsersApi.md#update_user) | **PATCH** /v1/users/{userId} | Update specific user by id
182179
*UsersAuditsApi* | [**retrieve_user_audits_list**](docs/UsersAuditsApi.md#retrieve_user_audits_list) | **GET** /v1/users/audits | List history about your users (audit)
180+
*UsersObjectStorageCredentialsApi* | [**get_object_storage_credentials**](docs/UsersObjectStorageCredentialsApi.md#get_object_storage_credentials) | **GET** /v1/users/{userId}/object-storages/{objectStorageId}/credentials/{credentialId} | Get S3 compatible object storage credentials.
181+
*UsersObjectStorageCredentialsApi* | [**list_object_storage_credentials**](docs/UsersObjectStorageCredentialsApi.md#list_object_storage_credentials) | **GET** /v1/users/{userId}/object-storages/credentials | Get list of S3 compatible object storage credentials for user.
182+
*UsersObjectStorageCredentialsApi* | [**regenerate_object_storage_credentials**](docs/UsersObjectStorageCredentialsApi.md#regenerate_object_storage_credentials) | **PATCH** /v1/users/{userId}/object-storages/{objectStorageId}/credentials/{credentialId} | Regenerates secret key of specified user for the S3 compatible object storages.
183183
*VIPApi* | [**assign_ip**](docs/VIPApi.md#assign_ip) | **POST** /v1/vips/{ip}/{resourceType}/{resourceId} | Assign a VIP to an VPS/VDS/Bare Metal
184184
*VIPApi* | [**retrieve_vip**](docs/VIPApi.md#retrieve_vip) | **GET** /v1/vips/{ip} | Get specific VIP by ip
185185
*VIPApi* | [**retrieve_vip_list**](docs/VIPApi.md#retrieve_vip_list) | **GET** /v1/vips | List VIPs
@@ -204,8 +204,10 @@ Class | Method | HTTP request | Description
204204
- [AssignmentResponse](docs/AssignmentResponse.md)
205205
- [AutoScalingTypeRequest](docs/AutoScalingTypeRequest.md)
206206
- [AutoScalingTypeResponse](docs/AutoScalingTypeResponse.md)
207+
- [CancelInstanceRequest](docs/CancelInstanceRequest.md)
207208
- [CancelInstanceResponse](docs/CancelInstanceResponse.md)
208209
- [CancelInstanceResponseData](docs/CancelInstanceResponseData.md)
210+
- [CancelObjectStorageRequest](docs/CancelObjectStorageRequest.md)
209211
- [CancelObjectStorageResponse](docs/CancelObjectStorageResponse.md)
210212
- [CancelObjectStorageResponseData](docs/CancelObjectStorageResponseData.md)
211213
- [ClientResponse](docs/ClientResponse.md)
@@ -286,8 +288,10 @@ Class | Method | HTTP request | Description
286288
- [InstancesAuditResponse](docs/InstancesAuditResponse.md)
287289
- [InstancesResetPasswordActionsRequest](docs/InstancesResetPasswordActionsRequest.md)
288290
- [IpConfig](docs/IpConfig.md)
291+
- [IpConfig1](docs/IpConfig1.md)
289292
- [IpV4](docs/IpV4.md)
290293
- [IpV41](docs/IpV41.md)
294+
- [IpV42](docs/IpV42.md)
291295
- [IpV6](docs/IpV6.md)
292296
- [Links](docs/Links.md)
293297
- [ListApiPermissionResponse](docs/ListApiPermissionResponse.md)

docs/AdditionalIp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
8-
**v4** | [**IpV4**](IpV4.md) | |
8+
**v4** | [**IpV41**](IpV41.md) | |
99

1010
## Example
1111

docs/CancelInstanceRequest.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# CancelInstanceRequest
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**cancel_date** | **datetime** | Date of cancellation | [optional]
9+
10+
## Example
11+
12+
```python
13+
from pfruck_contabo.models.cancel_instance_request import CancelInstanceRequest
14+
15+
# TODO update the JSON string below
16+
json = "{}"
17+
# create an instance of CancelInstanceRequest from a JSON string
18+
cancel_instance_request_instance = CancelInstanceRequest.from_json(json)
19+
# print the JSON string representation of the object
20+
print(CancelInstanceRequest.to_json())
21+
22+
# convert the object into a dict
23+
cancel_instance_request_dict = cancel_instance_request_instance.to_dict()
24+
# create an instance of CancelInstanceRequest from a dict
25+
cancel_instance_request_from_dict = CancelInstanceRequest.from_dict(cancel_instance_request_dict)
26+
```
27+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
28+
29+

docs/CancelObjectStorageRequest.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# CancelObjectStorageRequest
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**cancel_date** | **datetime** | Date of cancellation | [optional]
9+
10+
## Example
11+
12+
```python
13+
from pfruck_contabo.models.cancel_object_storage_request import CancelObjectStorageRequest
14+
15+
# TODO update the JSON string below
16+
json = "{}"
17+
# create an instance of CancelObjectStorageRequest from a JSON string
18+
cancel_object_storage_request_instance = CancelObjectStorageRequest.from_json(json)
19+
# print the JSON string representation of the object
20+
print(CancelObjectStorageRequest.to_json())
21+
22+
# convert the object into a dict
23+
cancel_object_storage_request_dict = cancel_object_storage_request_instance.to_dict()
24+
# create an instance of CancelObjectStorageRequest from a dict
25+
cancel_object_storage_request_from_dict = CancelObjectStorageRequest.from_dict(cancel_object_storage_request_dict)
26+
```
27+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
28+
29+

docs/CreateInstanceAddons.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@
55

66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
8-
**private_networking** | **object** | Set this attribute if you want to upgrade your instance with the Private Networking addon. Please provide an empty object for the time being as value. There will be more configuration possible in the future. | [optional]
9-
**additional_ips** | **object** | Set this attribute if you want to upgrade your instance with the Additional IPs addon. Please provide an empty object for the time being as value. There will be more configuration possible in the future. | [optional]
8+
**private_networking** | **Dict[str, object]** | Set this attribute if you want to upgrade your instance with the Private Networking addon. Please provide an empty object for the time being as value. There will be more configuration possible in the future. | [optional]
9+
**additional_ips** | **Dict[str, object]** | Set this attribute if you want to upgrade your instance with the Additional IPs addon. Please provide an empty object for the time being as value. There will be more configuration possible in the future. | [optional]
10+
**backup** | **Dict[str, object]** | Set this attribute if you want to upgrade your instance with the Automated backup addon. Please provide an empty object for the time being as value. There will be more configuration possible in the future. | [optional]
1011
**extra_storage** | [**ExtraStorageRequest**](ExtraStorageRequest.md) | Set this attribute if you want to upgrade your instance with the Extra Storage addon. | [optional]
11-
**custom_image** | **object** | Set this attribute if you want to upgrade your instance with the Custom Images addon. Please provide an empty object for the time being as value. There will be more configuration possible in the future. | [optional]
12+
**custom_image** | **Dict[str, object]** | Set this attribute if you want to upgrade your instance with the Custom Images addon. Please provide an empty object for the time being as value. There will be more configuration possible in the future. | [optional]
1213
**addons_ids** | [**List[AddOnRequest]**](AddOnRequest.md) | | [optional]
1314

1415
## Example

docs/CreateInstanceRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**image_id** | **str** | ImageId to be used to setup the compute instance. Default is Ubuntu 22.04 | [optional] [default to 'afecbb85-e2fc-46f0-9684-b46b1faf00bb']
9-
**product_id** | **str** | Default is V45 | [optional] [default to 'V45']
9+
**product_id** | **str** | Default is V76 | [optional] [default to 'V76']
1010
**region** | **str** | Instance Region where the compute instance should be located. Default is EU | [optional] [default to 'EU']
1111
**ssh_keys** | **List[int]** | Array of `secretId`s of public SSH keys for logging into as `defaultUser` with administrator/root privileges. Applies to Linux/BSD systems. Please refer to Secrets Management API. | [optional]
1212
**root_password** | **int** | `secretId` of the password for the `defaultUser` with administrator/root privileges. For Linux/BSD please use SSH, for Windows RDP. Please refer to Secrets Management API. | [optional]

docs/CreateInstanceResponseData.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Name | Type | Description | Notes
1414
**region** | **str** | Instance Region where the compute instance should be located. |
1515
**add_ons** | [**List[AddOnResponse]**](AddOnResponse.md) | |
1616
**os_type** | **str** | Type of operating system (OS) |
17-
**status** | [**InstanceStatus**](InstanceStatus.md) | |
17+
**status** | [**InstanceStatus**](InstanceStatus.md) | Instance's status |
1818
**ssh_keys** | **List[int]** | Array of `secretId`s of public SSH keys for logging into as `defaultUser` with administrator/root privileges. Applies to Linux/BSD systems. Please refer to Secrets Management API. |
1919

2020
## Example

docs/ImagesApi.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ Name | Type | Description | Notes
338338
[[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)
339339

340340
# **retrieve_image_list**
341-
> ListImageResponse retrieve_image_list(x_request_id, x_trace_id=x_trace_id, page=page, size=size, order_by=order_by, name=name, standard_image=standard_image)
341+
> ListImageResponse retrieve_image_list(x_request_id, x_trace_id=x_trace_id, page=page, size=size, order_by=order_by, name=name, standard_image=standard_image, search=search)
342342
343343
List available standard and custom images
344344

@@ -381,10 +381,11 @@ with pfruck_contabo.ApiClient(configuration) as api_client:
381381
order_by = ['name:asc'] # List[str] | Specify fields and ordering (ASC for ascending, DESC for descending) in following format `field:ASC|DESC`. (optional)
382382
name = 'Ubuntu' # str | The name of the image (optional)
383383
standard_image = true # bool | Flag indicating that image is either a standard (true) or a custom image (false) (optional)
384+
search = 'windows or Debian' # str | full text search on image name or image os type (optional)
384385

385386
try:
386387
# List available standard and custom images
387-
api_response = api_instance.retrieve_image_list(x_request_id, x_trace_id=x_trace_id, page=page, size=size, order_by=order_by, name=name, standard_image=standard_image)
388+
api_response = api_instance.retrieve_image_list(x_request_id, x_trace_id=x_trace_id, page=page, size=size, order_by=order_by, name=name, standard_image=standard_image, search=search)
388389
print("The response of ImagesApi->retrieve_image_list:\n")
389390
pprint(api_response)
390391
except Exception as e:
@@ -405,6 +406,7 @@ Name | Type | Description | Notes
405406
**order_by** | [**List[str]**](str.md)| Specify fields and ordering (ASC for ascending, DESC for descending) in following format `field:ASC|DESC`. | [optional]
406407
**name** | **str**| The name of the image | [optional]
407408
**standard_image** | **bool**| Flag indicating that image is either a standard (true) or a custom image (false) | [optional]
409+
**search** | **str**| full text search on image name or image os type | [optional]
408410

409411
### Return type
410412

docs/ImagesAuditsApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ with pfruck_contabo.ApiClient(configuration) as api_client:
5252
image_id = 'e443eab5-647a-4bc3-b4f9-16f5a281224d' # str | The identifier of the image. (optional)
5353
request_id = 'D5FD9FAF-58C0-4406-8F46-F449B8E4FEC3' # str | The requestId of the API call which led to the change. (optional)
5454
changed_by = '23cbb6d6-cb11-4330-bdff-7bb791df2e23' # str | UserId of the user which led to the change. (optional)
55-
start_date = '2021-06-02' # date | Start of search time range. (optional)
56-
end_date = '2021-06-02' # date | End of search time range. (optional)
55+
start_date = 'Wed Jun 02 00:00:00 UTC 2021' # date | Start of search time range. (optional)
56+
end_date = 'Wed Jun 02 00:00:00 UTC 2021' # date | End of search time range. (optional)
5757

5858
try:
5959
# List history about your custom images (audit)

0 commit comments

Comments
 (0)