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

Skip to content

fix(containers): update doc descriptions with correct wording #825

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions scaleway-async/scaleway_async/container/v1beta1/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1156,8 +1156,8 @@ async def list_domains(
order_by: Optional[ListDomainsRequestOrderBy] = None,
) -> ListDomainsResponse:
"""
List all domain name bindings.
List all domain name bindings in a specified region.
List all custom domains.
List all custom domains in a specified region.
:param container_id: UUID of the container the domain belongs to.
:param region: Region to target. If none is passed will use default region from the config.
:param page: Page number.
Expand Down Expand Up @@ -1201,8 +1201,8 @@ async def list_domains_all(
order_by: Optional[ListDomainsRequestOrderBy] = None,
) -> List[Domain]:
"""
List all domain name bindings.
List all domain name bindings in a specified region.
List all custom domains.
List all custom domains in a specified region.
:param container_id: UUID of the container the domain belongs to.
:param region: Region to target. If none is passed will use default region from the config.
:param page: Page number.
Expand Down Expand Up @@ -1238,8 +1238,8 @@ async def get_domain(
region: Optional[Region] = None,
) -> Domain:
"""
Get a domain name binding.
Get a domain name binding for the container with the specified ID.
Get a custom domain.
Get a custom domain for the container with the specified ID.
:param domain_id: UUID of the domain to get.
:param region: Region to target. If none is passed will use default region from the config.
:return: :class:`Domain <Domain>`
Expand Down Expand Up @@ -1273,8 +1273,8 @@ async def wait_for_domain(
options: Optional[WaitForOptions[Domain, Union[bool, Awaitable[bool]]]] = None,
) -> Domain:
"""
Get a domain name binding.
Get a domain name binding for the container with the specified ID.
Get a custom domain.
Get a custom domain for the container with the specified ID.
:param domain_id: UUID of the domain to get.
:param region: Region to target. If none is passed will use default region from the config.
:return: :class:`Domain <Domain>`
Expand Down Expand Up @@ -1310,8 +1310,8 @@ async def create_domain(
region: Optional[Region] = None,
) -> Domain:
"""
Create a domain name binding.
Create a domain name binding for the container with the specified ID.
Create a custom domain.
Create a custom domain for the container with the specified ID.
:param hostname: Domain to assign.
:param container_id: UUID of the container to assign the domain to.
:param region: Region to target. If none is passed will use default region from the config.
Expand Down Expand Up @@ -1353,8 +1353,8 @@ async def delete_domain(
region: Optional[Region] = None,
) -> Domain:
"""
Delete a domain name binding.
Delete the domain name binding with the specific ID.
Delete a custom domain.
Delete the custom domain with the specific ID.
:param domain_id: UUID of the domain to delete.
:param region: Region to target. If none is passed will use default region from the config.
:return: :class:`Domain <Domain>`
Expand Down
24 changes: 12 additions & 12 deletions scaleway/scaleway/container/v1beta1/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1152,8 +1152,8 @@ def list_domains(
order_by: Optional[ListDomainsRequestOrderBy] = None,
) -> ListDomainsResponse:
"""
List all domain name bindings.
List all domain name bindings in a specified region.
List all custom domains.
List all custom domains in a specified region.
:param container_id: UUID of the container the domain belongs to.
:param region: Region to target. If none is passed will use default region from the config.
:param page: Page number.
Expand Down Expand Up @@ -1197,8 +1197,8 @@ def list_domains_all(
order_by: Optional[ListDomainsRequestOrderBy] = None,
) -> List[Domain]:
"""
List all domain name bindings.
List all domain name bindings in a specified region.
List all custom domains.
List all custom domains in a specified region.
:param container_id: UUID of the container the domain belongs to.
:param region: Region to target. If none is passed will use default region from the config.
:param page: Page number.
Expand Down Expand Up @@ -1234,8 +1234,8 @@ def get_domain(
region: Optional[Region] = None,
) -> Domain:
"""
Get a domain name binding.
Get a domain name binding for the container with the specified ID.
Get a custom domain.
Get a custom domain for the container with the specified ID.
:param domain_id: UUID of the domain to get.
:param region: Region to target. If none is passed will use default region from the config.
:return: :class:`Domain <Domain>`
Expand Down Expand Up @@ -1269,8 +1269,8 @@ def wait_for_domain(
options: Optional[WaitForOptions[Domain, bool]] = None,
) -> Domain:
"""
Get a domain name binding.
Get a domain name binding for the container with the specified ID.
Get a custom domain.
Get a custom domain for the container with the specified ID.
:param domain_id: UUID of the domain to get.
:param region: Region to target. If none is passed will use default region from the config.
:return: :class:`Domain <Domain>`
Expand Down Expand Up @@ -1306,8 +1306,8 @@ def create_domain(
region: Optional[Region] = None,
) -> Domain:
"""
Create a domain name binding.
Create a domain name binding for the container with the specified ID.
Create a custom domain.
Create a custom domain for the container with the specified ID.
:param hostname: Domain to assign.
:param container_id: UUID of the container to assign the domain to.
:param region: Region to target. If none is passed will use default region from the config.
Expand Down Expand Up @@ -1349,8 +1349,8 @@ def delete_domain(
region: Optional[Region] = None,
) -> Domain:
"""
Delete a domain name binding.
Delete the domain name binding with the specific ID.
Delete a custom domain.
Delete the custom domain with the specific ID.
:param domain_id: UUID of the domain to delete.
:param region: Region to target. If none is passed will use default region from the config.
:return: :class:`Domain <Domain>`
Expand Down
Loading