Skip to content

Commit 530e439

Browse files
committed
Updated: 2026-01-16
1 parent fedbf32 commit 530e439

19 files changed

Lines changed: 1593 additions & 6 deletions

.openapi-generator/FILES

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,9 @@ docs/CreateDedicatedServer201Response.md
107107
docs/CreateDeploy201Response.md
108108
docs/CreateDeployRequest.md
109109
docs/CreateDns.md
110+
docs/CreateDnsV2.md
110111
docs/CreateDomainDNSRecord201Response.md
112+
docs/CreateDomainDNSRecordV2201Response.md
111113
docs/CreateDomainMailbox201Response.md
112114
docs/CreateDomainMailboxRequest.md
113115
docs/CreateDomainRequest201Response.md
@@ -174,6 +176,8 @@ docs/Deploy.md
174176
docs/DeployStatus.md
175177
docs/DnsRecord.md
176178
docs/DnsRecordData.md
179+
docs/DnsRecordV2.md
180+
docs/DnsRecordV2Data.md
177181
docs/Document.md
178182
docs/DocumentStatusInfo.md
179183
docs/DocumentStatusInfoDetails.md
@@ -598,7 +602,9 @@ test/test_create_dedicated_server201_response.py
598602
test/test_create_deploy201_response.py
599603
test/test_create_deploy_request.py
600604
test/test_create_dns.py
605+
test/test_create_dns_v2.py
601606
test/test_create_domain_dns_record201_response.py
607+
test/test_create_domain_dns_record_v2201_response.py
602608
test/test_create_domain_mailbox201_response.py
603609
test/test_create_domain_mailbox_request.py
604610
test/test_create_domain_request201_response.py
@@ -665,6 +671,8 @@ test/test_deploy.py
665671
test/test_deploy_status.py
666672
test/test_dns_record.py
667673
test/test_dns_record_data.py
674+
test/test_dns_record_v2.py
675+
test/test_dns_record_v2_data.py
668676
test/test_document.py
669677
test/test_document_status_info.py
670678
test/test_document_status_info_details.py
@@ -1106,7 +1114,9 @@ timeweb_cloud_api/models/create_dedicated_server201_response.py
11061114
timeweb_cloud_api/models/create_deploy201_response.py
11071115
timeweb_cloud_api/models/create_deploy_request.py
11081116
timeweb_cloud_api/models/create_dns.py
1117+
timeweb_cloud_api/models/create_dns_v2.py
11091118
timeweb_cloud_api/models/create_domain_dns_record201_response.py
1119+
timeweb_cloud_api/models/create_domain_dns_record_v2201_response.py
11101120
timeweb_cloud_api/models/create_domain_mailbox201_response.py
11111121
timeweb_cloud_api/models/create_domain_mailbox_request.py
11121122
timeweb_cloud_api/models/create_domain_request201_response.py
@@ -1171,6 +1181,8 @@ timeweb_cloud_api/models/deploy.py
11711181
timeweb_cloud_api/models/deploy_status.py
11721182
timeweb_cloud_api/models/dns_record.py
11731183
timeweb_cloud_api/models/dns_record_data.py
1184+
timeweb_cloud_api/models/dns_record_v2.py
1185+
timeweb_cloud_api/models/dns_record_v2_data.py
11741186
timeweb_cloud_api/models/document.py
11751187
timeweb_cloud_api/models/document_status_info.py
11761188
timeweb_cloud_api/models/document_status_info_details.py

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,9 +347,11 @@ Class | Method | HTTP request | Description
347347
*DomainsApi* | [**add_subdomain**](docs/DomainsApi.md#add_subdomain) | **POST** /api/v1/domains/{fqdn}/subdomains/{subdomain_fqdn} | Добавление поддомена
348348
*DomainsApi* | [**check_domain**](docs/DomainsApi.md#check_domain) | **GET** /api/v1/check-domain/{fqdn} | Проверить, доступен ли домен для регистрации
349349
*DomainsApi* | [**create_domain_dns_record**](docs/DomainsApi.md#create_domain_dns_record) | **POST** /api/v1/domains/{fqdn}/dns-records | Добавить информацию о DNS-записи для домена или поддомена
350+
*DomainsApi* | [**create_domain_dns_record_v2**](docs/DomainsApi.md#create_domain_dns_record_v2) | **POST** /api/v2/domains/{fqdn}/dns-records | Добавить информацию о DNS-записи для домена или поддомена
350351
*DomainsApi* | [**create_domain_request**](docs/DomainsApi.md#create_domain_request) | **POST** /api/v1/domains-requests | Создание заявки на регистрацию/продление/трансфер домена
351352
*DomainsApi* | [**delete_domain**](docs/DomainsApi.md#delete_domain) | **DELETE** /api/v1/domains/{fqdn} | Удаление домена
352353
*DomainsApi* | [**delete_domain_dns_record**](docs/DomainsApi.md#delete_domain_dns_record) | **DELETE** /api/v1/domains/{fqdn}/dns-records/{record_id} | Удалить информацию о DNS-записи для домена или поддомена
354+
*DomainsApi* | [**delete_domain_dns_record_v2**](docs/DomainsApi.md#delete_domain_dns_record_v2) | **DELETE** /api/v2/domains/{fqdn}/dns-records/{record_id} | Удалить информацию о DNS-записи для домена или поддомена
353355
*DomainsApi* | [**delete_subdomain**](docs/DomainsApi.md#delete_subdomain) | **DELETE** /api/v1/domains/{fqdn}/subdomains/{subdomain_fqdn} | Удаление поддомена
354356
*DomainsApi* | [**get_domain**](docs/DomainsApi.md#get_domain) | **GET** /api/v1/domains/{fqdn} | Получение информации о домене
355357
*DomainsApi* | [**get_domain_default_dns_records**](docs/DomainsApi.md#get_domain_default_dns_records) | **GET** /api/v1/domains/{fqdn}/default-dns-records | Получить информацию обо всех DNS-записях по умолчанию домена или поддомена
@@ -362,6 +364,7 @@ Class | Method | HTTP request | Description
362364
*DomainsApi* | [**get_tlds**](docs/DomainsApi.md#get_tlds) | **GET** /api/v1/tlds | Получить информацию о доменных зонах
363365
*DomainsApi* | [**update_domain_auto_prolongation**](docs/DomainsApi.md#update_domain_auto_prolongation) | **PATCH** /api/v1/domains/{fqdn} | Включение/выключение автопродления домена
364366
*DomainsApi* | [**update_domain_dns_record**](docs/DomainsApi.md#update_domain_dns_record) | **PATCH** /api/v1/domains/{fqdn}/dns-records/{record_id} | Обновить информацию о DNS-записи домена или поддомена
367+
*DomainsApi* | [**update_domain_dns_record_v2**](docs/DomainsApi.md#update_domain_dns_record_v2) | **PATCH** /api/v2/domains/{fqdn}/dns-records/{record_id} | Обновить информацию о DNS-записи домена или поддомена
365368
*DomainsApi* | [**update_domain_name_servers**](docs/DomainsApi.md#update_domain_name_servers) | **PUT** /api/v1/domains/{fqdn}/name-servers | Изменение name-серверов домена
366369
*DomainsApi* | [**update_domain_request**](docs/DomainsApi.md#update_domain_request) | **PATCH** /api/v1/domains-requests/{request_id} | Оплата/обновление заявки на регистрацию/продление/трансфер домена
367370
*FirewallApi* | [**add_resource_to_group**](docs/FirewallApi.md#add_resource_to_group) | **POST** /api/v1/firewall/groups/{group_id}/resources/{resource_id} | Линковка ресурса в firewall group
@@ -643,7 +646,9 @@ Class | Method | HTTP request | Description
643646
- [CreateDeploy201Response](docs/CreateDeploy201Response.md)
644647
- [CreateDeployRequest](docs/CreateDeployRequest.md)
645648
- [CreateDns](docs/CreateDns.md)
649+
- [CreateDnsV2](docs/CreateDnsV2.md)
646650
- [CreateDomainDNSRecord201Response](docs/CreateDomainDNSRecord201Response.md)
651+
- [CreateDomainDNSRecordV2201Response](docs/CreateDomainDNSRecordV2201Response.md)
647652
- [CreateDomainMailbox201Response](docs/CreateDomainMailbox201Response.md)
648653
- [CreateDomainMailboxRequest](docs/CreateDomainMailboxRequest.md)
649654
- [CreateDomainRequest201Response](docs/CreateDomainRequest201Response.md)
@@ -708,6 +713,8 @@ Class | Method | HTTP request | Description
708713
- [DeployStatus](docs/DeployStatus.md)
709714
- [DnsRecord](docs/DnsRecord.md)
710715
- [DnsRecordData](docs/DnsRecordData.md)
716+
- [DnsRecordV2](docs/DnsRecordV2.md)
717+
- [DnsRecordV2Data](docs/DnsRecordV2Data.md)
711718
- [Document](docs/Document.md)
712719
- [DocumentStatusInfo](docs/DocumentStatusInfo.md)
713720
- [DocumentStatusInfoDetails](docs/DocumentStatusInfoDetails.md)

docs/CreateDnsV2.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# CreateDnsV2
2+
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**type** | **object** | Тип DNS-записи. |
8+
**value** | **object** | IPv4 адрес. |
9+
**ttl** | **object** | Время жизни DNS-записи в секундах. | [optional]
10+
11+
## Example
12+
13+
```python
14+
from timeweb_cloud_api.models.create_dns_v2 import CreateDnsV2
15+
16+
# TODO update the JSON string below
17+
json = "{}"
18+
# create an instance of CreateDnsV2 from a JSON string
19+
create_dns_v2_instance = CreateDnsV2.from_json(json)
20+
# print the JSON string representation of the object
21+
print CreateDnsV2.to_json()
22+
23+
# convert the object into a dict
24+
create_dns_v2_dict = create_dns_v2_instance.to_dict()
25+
# create an instance of CreateDnsV2 from a dict
26+
create_dns_v2_form_dict = create_dns_v2.from_dict(create_dns_v2_dict)
27+
```
28+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
29+
30+
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# CreateDomainDNSRecordV2201Response
2+
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**dns_record** | [**DnsRecordV2**](DnsRecordV2.md) | |
8+
9+
## Example
10+
11+
```python
12+
from timeweb_cloud_api.models.create_domain_dns_record_v2201_response import CreateDomainDNSRecordV2201Response
13+
14+
# TODO update the JSON string below
15+
json = "{}"
16+
# create an instance of CreateDomainDNSRecordV2201Response from a JSON string
17+
create_domain_dns_record_v2201_response_instance = CreateDomainDNSRecordV2201Response.from_json(json)
18+
# print the JSON string representation of the object
19+
print CreateDomainDNSRecordV2201Response.to_json()
20+
21+
# convert the object into a dict
22+
create_domain_dns_record_v2201_response_dict = create_domain_dns_record_v2201_response_instance.to_dict()
23+
# create an instance of CreateDomainDNSRecordV2201Response from a dict
24+
create_domain_dns_record_v2201_response_form_dict = create_domain_dns_record_v2201_response.from_dict(create_domain_dns_record_v2201_response_dict)
25+
```
26+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
27+
28+

docs/DnsRecordV2.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# DnsRecordV2
2+
3+
DNS-запись.
4+
5+
## Properties
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**type** | **object** | Тип DNS-записи. |
9+
**id** | **object** | ID DNS-записи. | [optional]
10+
**fqdn** | **object** | Полное имя основного домена. | [optional]
11+
**data** | [**DnsRecordV2Data**](DnsRecordV2Data.md) | |
12+
**ttl** | **object** | Время жизни DNS-записи. | [optional]
13+
14+
## Example
15+
16+
```python
17+
from timeweb_cloud_api.models.dns_record_v2 import DnsRecordV2
18+
19+
# TODO update the JSON string below
20+
json = "{}"
21+
# create an instance of DnsRecordV2 from a JSON string
22+
dns_record_v2_instance = DnsRecordV2.from_json(json)
23+
# print the JSON string representation of the object
24+
print DnsRecordV2.to_json()
25+
26+
# convert the object into a dict
27+
dns_record_v2_dict = dns_record_v2_instance.to_dict()
28+
# create an instance of DnsRecordV2 from a dict
29+
dns_record_v2_form_dict = dns_record_v2.from_dict(dns_record_v2_dict)
30+
```
31+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
32+
33+

docs/DnsRecordV2Data.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# DnsRecordV2Data
2+
3+
Данные DNS-записи. Состав полей зависит от типа записи.
4+
5+
## Properties
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**priority** | **object** | Приоритет DNS-записи (для MX и SRV записей). | [optional]
9+
**subdomain** | **object** | Имя поддомена (только поддомен без основного домена, например `sub` для `sub.example.com`). Для записей на основном домене это поле отсутствует в ответе. | [optional]
10+
**value** | **object** | Значение DNS-записи (для A, AAAA, TXT, CNAME, MX записей). | [optional]
11+
**host** | **object** | Каноническое имя хоста, предоставляющего сервис (для SRV записей). | [optional]
12+
**port** | **object** | TCP или UDP порт, на котором работает сервис (для SRV записей). | [optional]
13+
**service** | **object** | Имя сервиса (для SRV записей). | [optional]
14+
**protocol** | **object** | Протокол (для SRV записей). | [optional]
15+
16+
## Example
17+
18+
```python
19+
from timeweb_cloud_api.models.dns_record_v2_data import DnsRecordV2Data
20+
21+
# TODO update the JSON string below
22+
json = "{}"
23+
# create an instance of DnsRecordV2Data from a JSON string
24+
dns_record_v2_data_instance = DnsRecordV2Data.from_json(json)
25+
# print the JSON string representation of the object
26+
print DnsRecordV2Data.to_json()
27+
28+
# convert the object into a dict
29+
dns_record_v2_data_dict = dns_record_v2_data_instance.to_dict()
30+
# create an instance of DnsRecordV2Data from a dict
31+
dns_record_v2_data_form_dict = dns_record_v2_data.from_dict(dns_record_v2_data_dict)
32+
```
33+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
34+
35+

0 commit comments

Comments
 (0)