Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit aa28d42

Browse files
authored
fix(containers): update doc descriptions with correct wording (scaleway#825)
1 parent 6ca0469 commit aa28d42

File tree

2 files changed

+24
-24
lines changed
  • scaleway/scaleway/container/v1beta1
  • scaleway-async/scaleway_async/container/v1beta1

2 files changed

+24
-24
lines changed

scaleway-async/scaleway_async/container/v1beta1/api.py

+12-12
Original file line numberDiff line numberDiff line change
@@ -1156,8 +1156,8 @@ async def list_domains(
11561156
order_by: Optional[ListDomainsRequestOrderBy] = None,
11571157
) -> ListDomainsResponse:
11581158
"""
1159-
List all domain name bindings.
1160-
List all domain name bindings in a specified region.
1159+
List all custom domains.
1160+
List all custom domains in a specified region.
11611161
:param container_id: UUID of the container the domain belongs to.
11621162
:param region: Region to target. If none is passed will use default region from the config.
11631163
:param page: Page number.
@@ -1201,8 +1201,8 @@ async def list_domains_all(
12011201
order_by: Optional[ListDomainsRequestOrderBy] = None,
12021202
) -> List[Domain]:
12031203
"""
1204-
List all domain name bindings.
1205-
List all domain name bindings in a specified region.
1204+
List all custom domains.
1205+
List all custom domains in a specified region.
12061206
:param container_id: UUID of the container the domain belongs to.
12071207
:param region: Region to target. If none is passed will use default region from the config.
12081208
:param page: Page number.
@@ -1238,8 +1238,8 @@ async def get_domain(
12381238
region: Optional[Region] = None,
12391239
) -> Domain:
12401240
"""
1241-
Get a domain name binding.
1242-
Get a domain name binding for the container with the specified ID.
1241+
Get a custom domain.
1242+
Get a custom domain for the container with the specified ID.
12431243
:param domain_id: UUID of the domain to get.
12441244
:param region: Region to target. If none is passed will use default region from the config.
12451245
:return: :class:`Domain <Domain>`
@@ -1273,8 +1273,8 @@ async def wait_for_domain(
12731273
options: Optional[WaitForOptions[Domain, Union[bool, Awaitable[bool]]]] = None,
12741274
) -> Domain:
12751275
"""
1276-
Get a domain name binding.
1277-
Get a domain name binding for the container with the specified ID.
1276+
Get a custom domain.
1277+
Get a custom domain for the container with the specified ID.
12781278
:param domain_id: UUID of the domain to get.
12791279
:param region: Region to target. If none is passed will use default region from the config.
12801280
:return: :class:`Domain <Domain>`
@@ -1310,8 +1310,8 @@ async def create_domain(
13101310
region: Optional[Region] = None,
13111311
) -> Domain:
13121312
"""
1313-
Create a domain name binding.
1314-
Create a domain name binding for the container with the specified ID.
1313+
Create a custom domain.
1314+
Create a custom domain for the container with the specified ID.
13151315
:param hostname: Domain to assign.
13161316
:param container_id: UUID of the container to assign the domain to.
13171317
:param region: Region to target. If none is passed will use default region from the config.
@@ -1353,8 +1353,8 @@ async def delete_domain(
13531353
region: Optional[Region] = None,
13541354
) -> Domain:
13551355
"""
1356-
Delete a domain name binding.
1357-
Delete the domain name binding with the specific ID.
1356+
Delete a custom domain.
1357+
Delete the custom domain with the specific ID.
13581358
:param domain_id: UUID of the domain to delete.
13591359
:param region: Region to target. If none is passed will use default region from the config.
13601360
:return: :class:`Domain <Domain>`

scaleway/scaleway/container/v1beta1/api.py

+12-12
Original file line numberDiff line numberDiff line change
@@ -1152,8 +1152,8 @@ def list_domains(
11521152
order_by: Optional[ListDomainsRequestOrderBy] = None,
11531153
) -> ListDomainsResponse:
11541154
"""
1155-
List all domain name bindings.
1156-
List all domain name bindings in a specified region.
1155+
List all custom domains.
1156+
List all custom domains in a specified region.
11571157
:param container_id: UUID of the container the domain belongs to.
11581158
:param region: Region to target. If none is passed will use default region from the config.
11591159
:param page: Page number.
@@ -1197,8 +1197,8 @@ def list_domains_all(
11971197
order_by: Optional[ListDomainsRequestOrderBy] = None,
11981198
) -> List[Domain]:
11991199
"""
1200-
List all domain name bindings.
1201-
List all domain name bindings in a specified region.
1200+
List all custom domains.
1201+
List all custom domains in a specified region.
12021202
:param container_id: UUID of the container the domain belongs to.
12031203
:param region: Region to target. If none is passed will use default region from the config.
12041204
:param page: Page number.
@@ -1234,8 +1234,8 @@ def get_domain(
12341234
region: Optional[Region] = None,
12351235
) -> Domain:
12361236
"""
1237-
Get a domain name binding.
1238-
Get a domain name binding for the container with the specified ID.
1237+
Get a custom domain.
1238+
Get a custom domain for the container with the specified ID.
12391239
:param domain_id: UUID of the domain to get.
12401240
:param region: Region to target. If none is passed will use default region from the config.
12411241
:return: :class:`Domain <Domain>`
@@ -1269,8 +1269,8 @@ def wait_for_domain(
12691269
options: Optional[WaitForOptions[Domain, bool]] = None,
12701270
) -> Domain:
12711271
"""
1272-
Get a domain name binding.
1273-
Get a domain name binding for the container with the specified ID.
1272+
Get a custom domain.
1273+
Get a custom domain for the container with the specified ID.
12741274
:param domain_id: UUID of the domain to get.
12751275
:param region: Region to target. If none is passed will use default region from the config.
12761276
:return: :class:`Domain <Domain>`
@@ -1306,8 +1306,8 @@ def create_domain(
13061306
region: Optional[Region] = None,
13071307
) -> Domain:
13081308
"""
1309-
Create a domain name binding.
1310-
Create a domain name binding for the container with the specified ID.
1309+
Create a custom domain.
1310+
Create a custom domain for the container with the specified ID.
13111311
:param hostname: Domain to assign.
13121312
:param container_id: UUID of the container to assign the domain to.
13131313
:param region: Region to target. If none is passed will use default region from the config.
@@ -1349,8 +1349,8 @@ def delete_domain(
13491349
region: Optional[Region] = None,
13501350
) -> Domain:
13511351
"""
1352-
Delete a domain name binding.
1353-
Delete the domain name binding with the specific ID.
1352+
Delete a custom domain.
1353+
Delete the custom domain with the specific ID.
13541354
:param domain_id: UUID of the domain to delete.
13551355
:param region: Region to target. If none is passed will use default region from the config.
13561356
:return: :class:`Domain <Domain>`

0 commit comments

Comments
 (0)