Skip to content

Commit 497421a

Browse files
committed
regen
Signed-off-by: Nathanael DEMACON <quantumsheep@users.noreply.github.com>
1 parent 0474bfc commit 497421a

File tree

225 files changed

+26387
-4566
lines changed

Some content is hidden

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

225 files changed

+26387
-4566
lines changed

scaleway-async/scaleway_async/baremetal/v1/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
from .types import OfferSubscriptionPeriod
1111
from .types import ServerBootType
1212
from .types import ServerInstallStatus
13-
from .content import SERVERINSTALL_TRANSIENT_STATUSES
13+
from .content import SERVER_INSTALL_TRANSIENT_STATUSES
1414
from .types import ServerOptionOptionStatus
1515
from .types import ServerPingStatus
1616
from .types import ServerPrivateNetworkStatus
17-
from .content import SERVERPRIVATENETWORK_TRANSIENT_STATUSES
17+
from .content import SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES
1818
from .types import ServerStatus
1919
from .content import SERVER_TRANSIENT_STATUSES
2020
from .types import SettingType
@@ -90,11 +90,11 @@
9090
"OfferSubscriptionPeriod",
9191
"ServerBootType",
9292
"ServerInstallStatus",
93-
"SERVERINSTALL_TRANSIENT_STATUSES",
93+
"SERVER_INSTALL_TRANSIENT_STATUSES",
9494
"ServerOptionOptionStatus",
9595
"ServerPingStatus",
9696
"ServerPrivateNetworkStatus",
97-
"SERVERPRIVATENETWORK_TRANSIENT_STATUSES",
97+
"SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES",
9898
"ServerStatus",
9999
"SERVER_TRANSIENT_STATUSES",
100100
"SettingType",

scaleway-async/scaleway_async/baremetal/v1/api.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,9 @@ async def create_server(
292292
:param description: Description associated with the server, max 255 characters.
293293
:param zone: Zone to target. If none is passed will use default zone from the config.
294294
:param organization_id: Organization ID with which the server will be created.
295+
One-Of ('project_identifier'): at most one of 'project_id', 'organization_id' could be set.
295296
:param project_id: Project ID with which the server will be created.
297+
One-Of ('project_identifier'): at most one of 'project_id', 'organization_id' could be set.
296298
:param tags: Tags to associate to the server.
297299
:param install: Object describing the configuration details of the OS installation on the server.
298300
:param option_ids: IDs of options to enable on server.
@@ -1402,7 +1404,6 @@ async def add_server_private_network(
14021404
) -> ServerPrivateNetwork:
14031405
"""
14041406
Add a server to a Private Network.
1405-
Add a server to a Private Network.
14061407
:param server_id: The ID of the server.
14071408
:param private_network_id: The ID of the Private Network.
14081409
:param zone: Zone to target. If none is passed will use default zone from the config.
@@ -1445,7 +1446,6 @@ async def set_server_private_networks(
14451446
) -> SetServerPrivateNetworksResponse:
14461447
"""
14471448
Set multiple Private Networks on a server.
1448-
Set multiple Private Networks on a server.
14491449
:param server_id: The ID of the server.
14501450
:param private_network_ids: The IDs of the Private Networks.
14511451
:param zone: Zone to target. If none is passed will use default zone from the config.
@@ -1493,7 +1493,6 @@ async def list_server_private_networks(
14931493
) -> ListServerPrivateNetworksResponse:
14941494
"""
14951495
List the Private Networks of a server.
1496-
List the Private Networks of a server.
14971496
:param zone: Zone to target. If none is passed will use default zone from the config.
14981497
:param order_by: The sort order for the returned Private Networks.
14991498
:param page: The page number for the returned Private Networks.
@@ -1544,7 +1543,6 @@ async def list_server_private_networks_all(
15441543
) -> List[ServerPrivateNetwork]:
15451544
"""
15461545
List the Private Networks of a server.
1547-
List the Private Networks of a server.
15481546
:param zone: Zone to target. If none is passed will use default zone from the config.
15491547
:param order_by: The sort order for the returned Private Networks.
15501548
:param page: The page number for the returned Private Networks.
@@ -1586,7 +1584,6 @@ async def delete_server_private_network(
15861584
) -> None:
15871585
"""
15881586
Delete a Private Network.
1589-
Delete a Private Network.
15901587
:param server_id: The ID of the server.
15911588
:param private_network_id: The ID of the Private Network.
15921589
:param zone: Zone to target. If none is passed will use default zone from the config.

scaleway-async/scaleway_async/baremetal/v1/content.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
ServerStatus,
99
)
1010

11-
SERVERINSTALL_TRANSIENT_STATUSES: List[ServerInstallStatus] = [
11+
SERVER_INSTALL_TRANSIENT_STATUSES: List[ServerInstallStatus] = [
1212
ServerInstallStatus.TO_INSTALL,
1313
ServerInstallStatus.INSTALLING,
1414
]
1515
"""
1616
Lists transient statutes of the enum :class:`ServerInstallStatus <ServerInstallStatus>`.
1717
"""
18-
SERVERPRIVATENETWORK_TRANSIENT_STATUSES: List[ServerPrivateNetworkStatus] = [
18+
SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES: List[ServerPrivateNetworkStatus] = [
1919
ServerPrivateNetworkStatus.ATTACHING,
2020
ServerPrivateNetworkStatus.DETACHING,
2121
]
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
# This file was automatically generated. DO NOT EDIT.
2+
# If you have any remark or suggestion do not hesitate to open an issue.
3+
from .types import DiscountDiscountMode
4+
from .types import DiscountFilterType
5+
from .types import DownloadInvoiceRequestFileType
6+
from .types import ExportInvoicesRequestFileType
7+
from .types import ExportInvoicesRequestOrderBy
8+
from .types import InvoiceType
9+
from .types import ListConsumptionsRequestOrderBy
10+
from .types import ListDiscountsRequestOrderBy
11+
from .types import ListInvoicesRequestOrderBy
12+
from .types import ListTaxesRequestOrderBy
13+
from .types import DiscountCoupon
14+
from .types import DiscountFilter
15+
from .types import ListConsumptionsResponseConsumption
16+
from .types import Discount
17+
from .types import Invoice
18+
from .types import ListTaxesResponseTax
19+
from .types import DownloadInvoiceRequest
20+
from .types import ExportInvoicesRequest
21+
from .types import GetInvoiceRequest
22+
from .types import ListConsumptionsRequest
23+
from .types import ListConsumptionsResponse
24+
from .types import ListDiscountsRequest
25+
from .types import ListDiscountsResponse
26+
from .types import ListInvoicesRequest
27+
from .types import ListInvoicesResponse
28+
from .types import ListTaxesRequest
29+
from .types import ListTaxesResponse
30+
from .api import BillingV2Beta1API
31+
32+
__all__ = [
33+
"DiscountDiscountMode",
34+
"DiscountFilterType",
35+
"DownloadInvoiceRequestFileType",
36+
"ExportInvoicesRequestFileType",
37+
"ExportInvoicesRequestOrderBy",
38+
"InvoiceType",
39+
"ListConsumptionsRequestOrderBy",
40+
"ListDiscountsRequestOrderBy",
41+
"ListInvoicesRequestOrderBy",
42+
"ListTaxesRequestOrderBy",
43+
"DiscountCoupon",
44+
"DiscountFilter",
45+
"ListConsumptionsResponseConsumption",
46+
"Discount",
47+
"Invoice",
48+
"ListTaxesResponseTax",
49+
"DownloadInvoiceRequest",
50+
"ExportInvoicesRequest",
51+
"GetInvoiceRequest",
52+
"ListConsumptionsRequest",
53+
"ListConsumptionsResponse",
54+
"ListDiscountsRequest",
55+
"ListDiscountsResponse",
56+
"ListInvoicesRequest",
57+
"ListInvoicesResponse",
58+
"ListTaxesRequest",
59+
"ListTaxesResponse",
60+
"BillingV2Beta1API",
61+
]

0 commit comments

Comments
 (0)