Skip to content

Commit 36a233f

Browse files
committed
Updated: 2025-03-19
1 parent 5c7d16f commit 36a233f

15 files changed

Lines changed: 47 additions & 8 deletions

docs/Bucket.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**id** | **object** | ID для каждого экземпляра хранилища. Автоматически генерируется при создании. |
99
**name** | **object** | Удобочитаемое имя, установленное для хранилища. |
10+
**description** | **object** | Комментарий к хранилищу. | [optional]
1011
**disk_stats** | [**BucketDiskStats**](BucketDiskStats.md) | |
1112
**type** | **object** | Тип хранилища. |
1213
**preset_id** | **object** | ID тарифа хранилища. |

docs/CreateCluster.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
88
**type** | [**DbType**](DbType.md) | |
99
**admin** | [**CreateClusterAdmin**](CreateClusterAdmin.md) | | [optional]
1010
**instance** | [**CreateClusterInstance**](CreateClusterInstance.md) | | [optional]
11-
**hash_type** | **object** | Тип хеширования базы данных (mysql5 | mysql | postgres). | [optional]
11+
**hash_type** | **object** | Тип хеширования базы данных (mysql | postgres). | [optional]
1212
**preset_id** | **object** | ID тарифа. |
1313
**config_parameters** | [**ConfigParameters**](ConfigParameters.md) | | [optional]
1414
**network** | [**Network**](Network.md) | | [optional]

docs/CreateStorageRequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**name** | **object** | Название хранилища. |
8+
**description** | **object** | Комментарий к хранилищу. | [optional]
89
**type** | **object** | Тип хранилища. |
910
**preset_id** | **object** | ID тарифа. |
1011

docs/DatabaseType.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
99
**version** | **object** | Версия кластера базы данных. |
1010
**type** | **object** | Тип кластера базы данных. Передается при создании кластера в поле `type` |
1111
**is_available_replication** | **object** | Поддерживает ли база данных репликацию. |
12+
**is_deprecated** | **object** | Устарела ли версия базы. |
1213
**requirements** | [**DatabaseTypeRequirements**](DatabaseTypeRequirements.md) | | [optional]
1314

1415
## Example

docs/UpdateStorageRequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**preset_id** | **object** | ID тарифа. | [optional]
88
**bucket_type** | **object** | Тип хранилища. | [optional]
9+
**description** | **object** | Комментарий к хранилищу. | [optional]
910

1011
## Example
1112

test/test_bucket.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ def make_instance(self, include_optional):
4141
return Bucket(
4242
id = 1,
4343
name = Cute Quail,
44+
description = Bucket of awesome cats,
4445
disk_stats = timeweb_cloud_api.models.bucket_disk_stats.bucket_disk_stats(
4546
size = 10485760,
4647
used = 486.11328125, ),

test/test_create_storage201_response.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ def make_instance(self, include_optional):
4242
bucket = timeweb_cloud_api.models.bucket.bucket(
4343
id = 1,
4444
name = Cute Quail,
45+
description = Bucket of awesome cats,
4546
disk_stats = timeweb_cloud_api.models.bucket_disk_stats.bucket_disk_stats(
4647
size = 10485760,
4748
used = 486.11328125, ),
@@ -59,6 +60,7 @@ def make_instance(self, include_optional):
5960
bucket = timeweb_cloud_api.models.bucket.bucket(
6061
id = 1,
6162
name = Cute Quail,
63+
description = Bucket of awesome cats,
6264
disk_stats = timeweb_cloud_api.models.bucket_disk_stats.bucket_disk_stats(
6365
size = 10485760,
6466
used = 486.11328125, ),

test/test_create_storage_request.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ def make_instance(self, include_optional):
4040
if include_optional :
4141
return CreateStorageRequest(
4242
name = test,
43+
description = Bucket of awesome cats,
4344
type = private,
4445
preset_id = 1
4546
)

test/test_database_type.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ def make_instance(self, include_optional):
4343
version = 5.7,
4444
type = mysql5,
4545
is_available_replication = true,
46+
is_deprecated = true,
4647
requirements = timeweb_cloud_api.models.database_type_requirements.database_type_requirements(
4748
cpu_min = 1,
4849
ram_min = 8192,
@@ -54,6 +55,7 @@ def make_instance(self, include_optional):
5455
version = 5.7,
5556
type = mysql5,
5657
is_available_replication = true,
58+
is_deprecated = true,
5759
)
5860
"""
5961

test/test_update_storage_request.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ def make_instance(self, include_optional):
4040
if include_optional :
4141
return UpdateStorageRequest(
4242
preset_id = 1,
43-
bucket_type = public
43+
bucket_type = public,
44+
description = Bucket of awesome cats
4445
)
4546
else :
4647
return UpdateStorageRequest(

0 commit comments

Comments
 (0)