From 30b8385df23dc4f829184175bf2ac96e2d9d1dd5 Mon Sep 17 00:00:00 2001 From: scaleway-bot Date: Sat, 8 Nov 2025 12:12:09 +0000 Subject: [PATCH] feat: update generated APIs --- .../applesilicon/v1alpha1/api.py | 2 +- .../applesilicon/v1alpha1/types.py | 2 +- .../audit_trail/v1alpha1/types.py | 2 ++ .../scaleway_async/baremetal/v1/types.py | 4 ++-- .../scaleway_async/block/v1/types.py | 2 +- .../scaleway_async/block/v1alpha1/types.py | 2 +- .../scaleway_async/cockpit/v1/types.py | 2 +- .../scaleway_async/container/v1beta1/api.py | 2 +- .../scaleway_async/container/v1beta1/types.py | 4 ++-- .../scaleway_async/dedibox/v1/types.py | 8 +++---- .../scaleway_async/domain/v2beta1/api.py | 6 ++--- .../scaleway_async/function/v1beta1/api.py | 2 +- .../scaleway_async/function/v1beta1/types.py | 4 ++-- .../scaleway_async/iam/v1alpha1/api.py | 2 +- scaleway-async/scaleway_async/iot/v1/types.py | 2 +- .../scaleway_async/jobs/v1alpha1/api.py | 2 +- .../scaleway_async/kafka/v1alpha1/types.py | 2 +- .../scaleway_async/mnq/v1beta1/api.py | 4 ++-- .../product_catalog/v2alpha1/__init__.py | 2 ++ .../product_catalog/v2alpha1/api.py | 7 ++++++ .../product_catalog/v2alpha1/types.py | 24 +++++++++++++++++++ .../scaleway_async/qaas/v1alpha1/api.py | 2 +- .../scaleway/applesilicon/v1alpha1/api.py | 2 +- .../scaleway/applesilicon/v1alpha1/types.py | 2 +- .../scaleway/audit_trail/v1alpha1/types.py | 2 ++ scaleway/scaleway/baremetal/v1/types.py | 4 ++-- scaleway/scaleway/block/v1/types.py | 2 +- scaleway/scaleway/block/v1alpha1/types.py | 2 +- scaleway/scaleway/cockpit/v1/types.py | 2 +- scaleway/scaleway/container/v1beta1/api.py | 2 +- scaleway/scaleway/container/v1beta1/types.py | 4 ++-- scaleway/scaleway/dedibox/v1/types.py | 8 +++---- scaleway/scaleway/domain/v2beta1/api.py | 6 ++--- scaleway/scaleway/function/v1beta1/api.py | 2 +- scaleway/scaleway/function/v1beta1/types.py | 4 ++-- scaleway/scaleway/iam/v1alpha1/api.py | 2 +- scaleway/scaleway/iot/v1/types.py | 2 +- scaleway/scaleway/jobs/v1alpha1/api.py | 2 +- scaleway/scaleway/kafka/v1alpha1/types.py | 2 +- scaleway/scaleway/mnq/v1beta1/api.py | 4 ++-- .../product_catalog/v2alpha1/__init__.py | 2 ++ .../scaleway/product_catalog/v2alpha1/api.py | 7 ++++++ .../product_catalog/v2alpha1/types.py | 24 +++++++++++++++++++ scaleway/scaleway/qaas/v1alpha1/api.py | 2 +- 44 files changed, 124 insertions(+), 54 deletions(-) diff --git a/scaleway-async/scaleway_async/applesilicon/v1alpha1/api.py b/scaleway-async/scaleway_async/applesilicon/v1alpha1/api.py index fb4ca035c..93a41d7da 100644 --- a/scaleway-async/scaleway_async/applesilicon/v1alpha1/api.py +++ b/scaleway-async/scaleway_async/applesilicon/v1alpha1/api.py @@ -645,7 +645,7 @@ async def reinstall_server( ) -> Server: """ Reinstall a server. - Reinstall an existing Apple silicon server (specified by its server ID) from a new image (OS). All the data on the disk is deleted and all configuration is reset to the defailt configuration values of the image (OS). + Reinstall an existing Apple silicon server (specified by its server ID) from a new image (OS). All the data on the disk is deleted and all configuration is reset to the default configuration values of the image (OS). :param server_id: UUID of the server you want to reinstall. :param zone: Zone to target. If none is passed will use default zone from the config. :param os_id: Reinstall the server with the target OS, when no os_id provided the default OS for the server type is used. diff --git a/scaleway-async/scaleway_async/applesilicon/v1alpha1/types.py b/scaleway-async/scaleway_async/applesilicon/v1alpha1/types.py index a11d72a1b..6c99d7034 100644 --- a/scaleway-async/scaleway_async/applesilicon/v1alpha1/types.py +++ b/scaleway-async/scaleway_async/applesilicon/v1alpha1/types.py @@ -174,7 +174,7 @@ class OS: release_notes_url: str """ - Url of the release notes for the OS image or softwares pre-installed. + Url of the release notes for the OS image or software pre-installed. """ description: str diff --git a/scaleway-async/scaleway_async/audit_trail/v1alpha1/types.py b/scaleway-async/scaleway_async/audit_trail/v1alpha1/types.py index cd7ebcf2b..326db83d0 100644 --- a/scaleway-async/scaleway_async/audit_trail/v1alpha1/types.py +++ b/scaleway-async/scaleway_async/audit_trail/v1alpha1/types.py @@ -126,6 +126,8 @@ class ResourceType(str, Enum, metaclass=StrEnumMeta): IAM_RULE = "iam_rule" IAM_SAML = "iam_saml" IAM_SAML_CERTIFICATE = "iam_saml_certificate" + IAM_SCIM = "iam_scim" + IAM_SCIM_TOKEN = "iam_scim_token" SECRET_MANAGER_SECRET = "secret_manager_secret" SECRET_MANAGER_VERSION = "secret_manager_version" KEY_MANAGER_KEY = "key_manager_key" diff --git a/scaleway-async/scaleway_async/baremetal/v1/types.py b/scaleway-async/scaleway_async/baremetal/v1/types.py index aaeae352b..688eaffa2 100644 --- a/scaleway-async/scaleway_async/baremetal/v1/types.py +++ b/scaleway-async/scaleway_async/baremetal/v1/types.py @@ -1145,12 +1145,12 @@ class BMCAccess: login: str """ - The login to use for the BMC (Baseboard Management Controller) access authentification. + The login to use for the BMC (Baseboard Management Controller) access authentication. """ password: str """ - The password to use for the BMC (Baseboard Management Controller) access authentification. + The password to use for the BMC (Baseboard Management Controller) access authentication. """ expires_at: Optional[datetime] = None diff --git a/scaleway-async/scaleway_async/block/v1/types.py b/scaleway-async/scaleway_async/block/v1/types.py index d00d892ed..8e8248068 100644 --- a/scaleway-async/scaleway_async/block/v1/types.py +++ b/scaleway-async/scaleway_async/block/v1/types.py @@ -585,7 +585,7 @@ class ListSnapshotsResponse: total_count: int """ - Total number of snpashots in the project. + Total number of snapshots in the project. """ diff --git a/scaleway-async/scaleway_async/block/v1alpha1/types.py b/scaleway-async/scaleway_async/block/v1alpha1/types.py index 95dab262d..53d957c7e 100644 --- a/scaleway-async/scaleway_async/block/v1alpha1/types.py +++ b/scaleway-async/scaleway_async/block/v1alpha1/types.py @@ -618,7 +618,7 @@ class ListSnapshotsResponse: total_count: int """ - Total number of snpashots in the project. + Total number of snapshots in the project. """ diff --git a/scaleway-async/scaleway_async/cockpit/v1/types.py b/scaleway-async/scaleway_async/cockpit/v1/types.py index 05ee9c92f..c145d75d5 100644 --- a/scaleway-async/scaleway_async/cockpit/v1/types.py +++ b/scaleway-async/scaleway_async/cockpit/v1/types.py @@ -933,7 +933,7 @@ class ListGrafanaProductDashboardsResponse: @dataclass class ListGrafanaUsersResponse: """ - Ouptut returned when listing Grafana users. + Output returned when listing Grafana users. """ total_count: int diff --git a/scaleway-async/scaleway_async/container/v1beta1/api.py b/scaleway-async/scaleway_async/container/v1beta1/api.py index 5a3e54bb2..9e85ad6f0 100644 --- a/scaleway-async/scaleway_async/container/v1beta1/api.py +++ b/scaleway-async/scaleway_async/container/v1beta1/api.py @@ -1063,7 +1063,7 @@ async def create_cron( """ Create a new cron. :param container_id: UUID of the container to invoke by the cron. - :param schedule: UNIX cron shedule. + :param schedule: UNIX cron schedule. :param region: Region to target. If none is passed will use default region from the config. :param args: Arguments to pass with the cron. :param name: Name of the cron to create. diff --git a/scaleway-async/scaleway_async/container/v1beta1/types.py b/scaleway-async/scaleway_async/container/v1beta1/types.py index 4279da600..fdd5f2995 100644 --- a/scaleway-async/scaleway_async/container/v1beta1/types.py +++ b/scaleway-async/scaleway_async/container/v1beta1/types.py @@ -533,7 +533,7 @@ class Cron: schedule: str """ - UNIX cron shedule. + UNIX cron schedule. """ status: CronStatus @@ -897,7 +897,7 @@ class CreateCronRequest: schedule: str """ - UNIX cron shedule. + UNIX cron schedule. """ region: Optional[ScwRegion] = None diff --git a/scaleway-async/scaleway_async/dedibox/v1/types.py b/scaleway-async/scaleway_async/dedibox/v1/types.py index 6f75d791c..1240d0f21 100644 --- a/scaleway-async/scaleway_async/dedibox/v1/types.py +++ b/scaleway-async/scaleway_async/dedibox/v1/types.py @@ -1867,7 +1867,7 @@ class Log: member: Optional[RpnV2Member] = None """ - RPN V2 member (if appliable). + RPN V2 member (if applicable). """ created_at: Optional[datetime] = None @@ -2198,12 +2198,12 @@ class BMCAccess: login: str """ - The login to use for the BMC (Baseboard Management Controller) access authentification. + The login to use for the BMC (Baseboard Management Controller) access authentication. """ password: str """ - The password to use for the BMC (Baseboard Management Controller) access authentification. + The password to use for the BMC (Baseboard Management Controller) access authentication. """ status: BMCAccessStatus @@ -3521,7 +3521,7 @@ class Rescue: protocol: RescueProtocol """ - Protocol of the resuce. + Protocol of the rescue. """ diff --git a/scaleway-async/scaleway_async/domain/v2beta1/api.py b/scaleway-async/scaleway_async/domain/v2beta1/api.py index 2c756efaa..ee95ca04e 100644 --- a/scaleway-async/scaleway_async/domain/v2beta1/api.py +++ b/scaleway-async/scaleway_async/domain/v2beta1/api.py @@ -1116,7 +1116,7 @@ async def get_ssl_certificate( ) -> SSLCertificate: """ Get a DNS zone's TLS certificate. - Get the DNS zone's TLS certificate. If you do not have a certificate, the ouptut returns `no certificate found`. + Get the DNS zone's TLS certificate. If you do not have a certificate, the output returns `no certificate found`. :param dns_zone: :return: :class:`SSLCertificate ` @@ -1148,7 +1148,7 @@ async def wait_for_ssl_certificate( ) -> SSLCertificate: """ Get a DNS zone's TLS certificate. - Get the DNS zone's TLS certificate. If you do not have a certificate, the ouptut returns `no certificate found`. + Get the DNS zone's TLS certificate. If you do not have a certificate, the output returns `no certificate found`. :param dns_zone: :return: :class:`SSLCertificate ` @@ -2582,7 +2582,7 @@ async def get_domain_auth_code( ) -> GetDomainAuthCodeResponse: """ Get a domain's authorization code. - Retrieve the authorization code to tranfer an unlocked domain. The output returns an error if the domain is locked. + Retrieve the authorization code to transfer an unlocked domain. The output returns an error if the domain is locked. Some TLDs may have a different procedure to retrieve the authorization code. In that case, the information displays in the message field. :param domain: :return: :class:`GetDomainAuthCodeResponse ` diff --git a/scaleway-async/scaleway_async/function/v1beta1/api.py b/scaleway-async/scaleway_async/function/v1beta1/api.py index 361c1716a..4c8c55377 100644 --- a/scaleway-async/scaleway_async/function/v1beta1/api.py +++ b/scaleway-async/scaleway_async/function/v1beta1/api.py @@ -1406,7 +1406,7 @@ async def create_domain( """ Create a domain name binding. Create a domain name binding for the function with the specified ID. - :param hostname: Hostame to create. + :param hostname: Hostname to create. :param function_id: UUID of the function to associate the domain with. :param region: Region to target. If none is passed will use default region from the config. :return: :class:`Domain ` diff --git a/scaleway-async/scaleway_async/function/v1beta1/types.py b/scaleway-async/scaleway_async/function/v1beta1/types.py index ff4230f88..85391b085 100644 --- a/scaleway-async/scaleway_async/function/v1beta1/types.py +++ b/scaleway-async/scaleway_async/function/v1beta1/types.py @@ -412,7 +412,7 @@ class Domain: status: DomainStatus """ - State of the doamin. + State of the domain. """ error_message: Optional[str] = None @@ -773,7 +773,7 @@ class CreateCronRequest: class CreateDomainRequest: hostname: str """ - Hostame to create. + Hostname to create. """ function_id: str diff --git a/scaleway-async/scaleway_async/iam/v1alpha1/api.py b/scaleway-async/scaleway_async/iam/v1alpha1/api.py index 882d07509..c6d3dcb6a 100644 --- a/scaleway-async/scaleway_async/iam/v1alpha1/api.py +++ b/scaleway-async/scaleway_async/iam/v1alpha1/api.py @@ -1877,7 +1877,7 @@ async def get_policy( ) -> Policy: """ Get an existing policy. - Retrieve information about a policy, speficified by the `policy_id` parameter. The policy's full details, including `id`, `name`, `organization_id`, `nb_rules` and `nb_scopes`, `nb_permission_sets` are returned in the response. + Retrieve information about a policy, specified by the `policy_id` parameter. The policy's full details, including `id`, `name`, `organization_id`, `nb_rules` and `nb_scopes`, `nb_permission_sets` are returned in the response. :param policy_id: Id of policy to search. :return: :class:`Policy ` diff --git a/scaleway-async/scaleway_async/iot/v1/types.py b/scaleway-async/scaleway_async/iot/v1/types.py index 791aa91fe..d2e66c4dd 100644 --- a/scaleway-async/scaleway_async/iot/v1/types.py +++ b/scaleway-async/scaleway_async/iot/v1/types.py @@ -415,7 +415,7 @@ class Hub: enable_device_auto_provisioning: bool """ - When an unknown device connects to your hub using a valid certificate chain, it will be automatically provisioned inside your Hub. The Hub uses the common name of the device certifcate to find out if a device with the same name already exists. This setting can only be enabled on a hub with a custom certificate authority. + When an unknown device connects to your hub using a valid certificate chain, it will be automatically provisioned inside your Hub. The Hub uses the common name of the device certificate to find out if a device with the same name already exists. This setting can only be enabled on a hub with a custom certificate authority. """ has_custom_ca: bool diff --git a/scaleway-async/scaleway_async/jobs/v1alpha1/api.py b/scaleway-async/scaleway_async/jobs/v1alpha1/api.py index 1c4306f5c..0ff500e52 100644 --- a/scaleway-async/scaleway_async/jobs/v1alpha1/api.py +++ b/scaleway-async/scaleway_async/jobs/v1alpha1/api.py @@ -332,7 +332,7 @@ async def delete_job_definition( region: Optional[ScwRegion] = None, ) -> None: """ - Delete an exsisting job definition by its unique identifier. + Delete an existing job definition by its unique identifier. :param job_definition_id: UUID of the job definition to delete. :param region: Region to target. If none is passed will use default region from the config. diff --git a/scaleway-async/scaleway_async/kafka/v1alpha1/types.py b/scaleway-async/scaleway_async/kafka/v1alpha1/types.py index b5c8e0822..13a3f2a86 100644 --- a/scaleway-async/scaleway_async/kafka/v1alpha1/types.py +++ b/scaleway-async/scaleway_async/kafka/v1alpha1/types.py @@ -194,7 +194,7 @@ class NodeTypeVolumeType: min_size_bytes: int """ - Mimimum size required for the volume. + Minimum size required for the volume. """ max_size_bytes: int diff --git a/scaleway-async/scaleway_async/mnq/v1beta1/api.py b/scaleway-async/scaleway_async/mnq/v1beta1/api.py index 8dd7f9285..45b00f8aa 100644 --- a/scaleway-async/scaleway_async/mnq/v1beta1/api.py +++ b/scaleway-async/scaleway_async/mnq/v1beta1/api.py @@ -555,7 +555,7 @@ async def get_sns_info( ) -> SnsInfo: """ Get Topics and Events info. - Retrieve the Topics and Events information of the specified Project ID. Informations include the activation status and the Topics and Events API endpoint URL. + Retrieve the Topics and Events information of the specified Project ID. information include the activation status and the Topics and Events API endpoint URL. :param region: Region to target. If none is passed will use default region from the config. :param project_id: Project to retrieve Topics and Events info from. :return: :class:`SnsInfo ` @@ -915,7 +915,7 @@ async def get_sqs_info( ) -> SqsInfo: """ Get Queues info. - Retrieve the Queues information of the specified Project ID. Informations include the activation status and the Queues API endpoint URL. + Retrieve the Queues information of the specified Project ID. information include the activation status and the Queues API endpoint URL. :param region: Region to target. If none is passed will use default region from the config. :param project_id: Project to retrieve Queues info from. :return: :class:`SqsInfo ` diff --git a/scaleway-async/scaleway_async/product_catalog/v2alpha1/__init__.py b/scaleway-async/scaleway_async/product_catalog/v2alpha1/__init__.py index 22c30abd8..18c07338f 100644 --- a/scaleway-async/scaleway_async/product_catalog/v2alpha1/__init__.py +++ b/scaleway-async/scaleway_async/product_catalog/v2alpha1/__init__.py @@ -1,6 +1,7 @@ # This file was automatically generated. DO NOT EDIT. # If you have any remark or suggestion do not hesitate to open an issue. from .types import ListPublicCatalogProductsRequestProductType +from .types import ListPublicCatalogProductsRequestStatus from .types import PublicCatalogProductPropertiesHardwareCPUArch from .types import PublicCatalogProductStatus from .types import PublicCatalogProductUnitOfMeasureCountableUnit @@ -30,6 +31,7 @@ __all__ = [ "ListPublicCatalogProductsRequestProductType", + "ListPublicCatalogProductsRequestStatus", "PublicCatalogProductPropertiesHardwareCPUArch", "PublicCatalogProductStatus", "PublicCatalogProductUnitOfMeasureCountableUnit", diff --git a/scaleway-async/scaleway_async/product_catalog/v2alpha1/api.py b/scaleway-async/scaleway_async/product_catalog/v2alpha1/api.py index 204693c38..72e75adcb 100644 --- a/scaleway-async/scaleway_async/product_catalog/v2alpha1/api.py +++ b/scaleway-async/scaleway_async/product_catalog/v2alpha1/api.py @@ -15,6 +15,7 @@ ) from .types import ( ListPublicCatalogProductsRequestProductType, + ListPublicCatalogProductsRequestStatus, ListPublicCatalogProductsResponse, PublicCatalogProduct, ) @@ -38,6 +39,7 @@ async def list_public_catalog_products( region: Optional[ScwRegion] = None, zone: Optional[ScwZone] = None, datacenter: Optional[str] = None, + status: Optional[list[ListPublicCatalogProductsRequestStatus]] = None, ) -> ListPublicCatalogProductsResponse: """ List all available products. @@ -53,6 +55,7 @@ async def list_public_catalog_products( One-Of ('locality'): at most one of 'global_', 'region', 'zone', 'datacenter' could be set. :param datacenter: Filter products by datacenter. One-Of ('locality'): at most one of 'global_', 'region', 'zone', 'datacenter' could be set. + :param status: The lists of filtered product status, if empty only products with status public_beta, general_availability, preview, end_of_deployment, end_of_support, end_of_sale, end_of_life or retired will be returned. :return: :class:`ListPublicCatalogProductsResponse ` Usage: @@ -68,6 +71,7 @@ async def list_public_catalog_products( "page": page, "page_size": page_size or self.client.default_page_size, "product_types": product_types, + "status": status, **resolve_one_of( [ OneOfPossibility("datacenter", datacenter), @@ -94,6 +98,7 @@ async def list_public_catalog_products_all( region: Optional[ScwRegion] = None, zone: Optional[ScwZone] = None, datacenter: Optional[str] = None, + status: Optional[list[ListPublicCatalogProductsRequestStatus]] = None, ) -> list[PublicCatalogProduct]: """ List all available products. @@ -109,6 +114,7 @@ async def list_public_catalog_products_all( One-Of ('locality'): at most one of 'global_', 'region', 'zone', 'datacenter' could be set. :param datacenter: Filter products by datacenter. One-Of ('locality'): at most one of 'global_', 'region', 'zone', 'datacenter' could be set. + :param status: The lists of filtered product status, if empty only products with status public_beta, general_availability, preview, end_of_deployment, end_of_support, end_of_sale, end_of_life or retired will be returned. :return: :class:`list[PublicCatalogProduct] ` Usage: @@ -125,6 +131,7 @@ async def list_public_catalog_products_all( "page": page, "page_size": page_size, "product_types": product_types, + "status": status, "global_": global_, "region": region, "zone": zone, diff --git a/scaleway-async/scaleway_async/product_catalog/v2alpha1/types.py b/scaleway-async/scaleway_async/product_catalog/v2alpha1/types.py index 0f2906333..3318b2d5a 100644 --- a/scaleway-async/scaleway_async/product_catalog/v2alpha1/types.py +++ b/scaleway-async/scaleway_async/product_catalog/v2alpha1/types.py @@ -30,6 +30,21 @@ def __str__(self) -> str: return str(self.value) +class ListPublicCatalogProductsRequestStatus(str, Enum, metaclass=StrEnumMeta): + UNKNOWN_STATUS = "unknown_status" + PUBLIC_BETA = "public_beta" + PREVIEW = "preview" + GENERAL_AVAILABILITY = "general_availability" + END_OF_DEPLOYMENT = "end_of_deployment" + END_OF_SUPPORT = "end_of_support" + END_OF_SALE = "end_of_sale" + END_OF_LIFE = "end_of_life" + RETIRED = "retired" + + def __str__(self) -> str: + return str(self.value) + + class PublicCatalogProductPropertiesHardwareCPUArch(str, Enum, metaclass=StrEnumMeta): UNKNOWN_ARCH = "unknown_arch" X64 = "x64" @@ -49,6 +64,8 @@ class PublicCatalogProductStatus(str, Enum, metaclass=StrEnumMeta): END_OF_DEPLOYMENT = "end_of_deployment" END_OF_SUPPORT = "end_of_support" END_OF_SALE = "end_of_sale" + END_OF_LIFE = "end_of_life" + RETIRED = "retired" def __str__(self) -> str: return str(self.value) @@ -481,6 +498,13 @@ class PublicCatalogApiListPublicCatalogProductsRequest: The list of filtered product categories. """ + status: Optional[list[ListPublicCatalogProductsRequestStatus]] = field( + default_factory=list + ) + """ + The lists of filtered product status, if empty only products with status public_beta, general_availability, preview, end_of_deployment, end_of_support, end_of_sale, end_of_life or retired will be returned. + """ + global_: Optional[bool] = False region: Optional[ScwRegion] = None diff --git a/scaleway-async/scaleway_async/qaas/v1alpha1/api.py b/scaleway-async/scaleway_async/qaas/v1alpha1/api.py index 23243a61e..aef7f5a6d 100644 --- a/scaleway-async/scaleway_async/qaas/v1alpha1/api.py +++ b/scaleway-async/scaleway_async/qaas/v1alpha1/api.py @@ -1396,7 +1396,7 @@ async def get_application( ) -> Application: """ Get application information. - Retrieve information about the provided **applcation ID**, such as name, type and compatible platforms. + Retrieve information about the provided **application ID**, such as name, type and compatible platforms. :param application_id: Unique ID of the application. :return: :class:`Application ` diff --git a/scaleway/scaleway/applesilicon/v1alpha1/api.py b/scaleway/scaleway/applesilicon/v1alpha1/api.py index 06c7e8448..60b1b1711 100644 --- a/scaleway/scaleway/applesilicon/v1alpha1/api.py +++ b/scaleway/scaleway/applesilicon/v1alpha1/api.py @@ -645,7 +645,7 @@ def reinstall_server( ) -> Server: """ Reinstall a server. - Reinstall an existing Apple silicon server (specified by its server ID) from a new image (OS). All the data on the disk is deleted and all configuration is reset to the defailt configuration values of the image (OS). + Reinstall an existing Apple silicon server (specified by its server ID) from a new image (OS). All the data on the disk is deleted and all configuration is reset to the default configuration values of the image (OS). :param server_id: UUID of the server you want to reinstall. :param zone: Zone to target. If none is passed will use default zone from the config. :param os_id: Reinstall the server with the target OS, when no os_id provided the default OS for the server type is used. diff --git a/scaleway/scaleway/applesilicon/v1alpha1/types.py b/scaleway/scaleway/applesilicon/v1alpha1/types.py index a11d72a1b..6c99d7034 100644 --- a/scaleway/scaleway/applesilicon/v1alpha1/types.py +++ b/scaleway/scaleway/applesilicon/v1alpha1/types.py @@ -174,7 +174,7 @@ class OS: release_notes_url: str """ - Url of the release notes for the OS image or softwares pre-installed. + Url of the release notes for the OS image or software pre-installed. """ description: str diff --git a/scaleway/scaleway/audit_trail/v1alpha1/types.py b/scaleway/scaleway/audit_trail/v1alpha1/types.py index cd7ebcf2b..326db83d0 100644 --- a/scaleway/scaleway/audit_trail/v1alpha1/types.py +++ b/scaleway/scaleway/audit_trail/v1alpha1/types.py @@ -126,6 +126,8 @@ class ResourceType(str, Enum, metaclass=StrEnumMeta): IAM_RULE = "iam_rule" IAM_SAML = "iam_saml" IAM_SAML_CERTIFICATE = "iam_saml_certificate" + IAM_SCIM = "iam_scim" + IAM_SCIM_TOKEN = "iam_scim_token" SECRET_MANAGER_SECRET = "secret_manager_secret" SECRET_MANAGER_VERSION = "secret_manager_version" KEY_MANAGER_KEY = "key_manager_key" diff --git a/scaleway/scaleway/baremetal/v1/types.py b/scaleway/scaleway/baremetal/v1/types.py index aaeae352b..688eaffa2 100644 --- a/scaleway/scaleway/baremetal/v1/types.py +++ b/scaleway/scaleway/baremetal/v1/types.py @@ -1145,12 +1145,12 @@ class BMCAccess: login: str """ - The login to use for the BMC (Baseboard Management Controller) access authentification. + The login to use for the BMC (Baseboard Management Controller) access authentication. """ password: str """ - The password to use for the BMC (Baseboard Management Controller) access authentification. + The password to use for the BMC (Baseboard Management Controller) access authentication. """ expires_at: Optional[datetime] = None diff --git a/scaleway/scaleway/block/v1/types.py b/scaleway/scaleway/block/v1/types.py index d00d892ed..8e8248068 100644 --- a/scaleway/scaleway/block/v1/types.py +++ b/scaleway/scaleway/block/v1/types.py @@ -585,7 +585,7 @@ class ListSnapshotsResponse: total_count: int """ - Total number of snpashots in the project. + Total number of snapshots in the project. """ diff --git a/scaleway/scaleway/block/v1alpha1/types.py b/scaleway/scaleway/block/v1alpha1/types.py index 95dab262d..53d957c7e 100644 --- a/scaleway/scaleway/block/v1alpha1/types.py +++ b/scaleway/scaleway/block/v1alpha1/types.py @@ -618,7 +618,7 @@ class ListSnapshotsResponse: total_count: int """ - Total number of snpashots in the project. + Total number of snapshots in the project. """ diff --git a/scaleway/scaleway/cockpit/v1/types.py b/scaleway/scaleway/cockpit/v1/types.py index 05ee9c92f..c145d75d5 100644 --- a/scaleway/scaleway/cockpit/v1/types.py +++ b/scaleway/scaleway/cockpit/v1/types.py @@ -933,7 +933,7 @@ class ListGrafanaProductDashboardsResponse: @dataclass class ListGrafanaUsersResponse: """ - Ouptut returned when listing Grafana users. + Output returned when listing Grafana users. """ total_count: int diff --git a/scaleway/scaleway/container/v1beta1/api.py b/scaleway/scaleway/container/v1beta1/api.py index fbf32ef9d..f950c5193 100644 --- a/scaleway/scaleway/container/v1beta1/api.py +++ b/scaleway/scaleway/container/v1beta1/api.py @@ -1059,7 +1059,7 @@ def create_cron( """ Create a new cron. :param container_id: UUID of the container to invoke by the cron. - :param schedule: UNIX cron shedule. + :param schedule: UNIX cron schedule. :param region: Region to target. If none is passed will use default region from the config. :param args: Arguments to pass with the cron. :param name: Name of the cron to create. diff --git a/scaleway/scaleway/container/v1beta1/types.py b/scaleway/scaleway/container/v1beta1/types.py index 4279da600..fdd5f2995 100644 --- a/scaleway/scaleway/container/v1beta1/types.py +++ b/scaleway/scaleway/container/v1beta1/types.py @@ -533,7 +533,7 @@ class Cron: schedule: str """ - UNIX cron shedule. + UNIX cron schedule. """ status: CronStatus @@ -897,7 +897,7 @@ class CreateCronRequest: schedule: str """ - UNIX cron shedule. + UNIX cron schedule. """ region: Optional[ScwRegion] = None diff --git a/scaleway/scaleway/dedibox/v1/types.py b/scaleway/scaleway/dedibox/v1/types.py index 6f75d791c..1240d0f21 100644 --- a/scaleway/scaleway/dedibox/v1/types.py +++ b/scaleway/scaleway/dedibox/v1/types.py @@ -1867,7 +1867,7 @@ class Log: member: Optional[RpnV2Member] = None """ - RPN V2 member (if appliable). + RPN V2 member (if applicable). """ created_at: Optional[datetime] = None @@ -2198,12 +2198,12 @@ class BMCAccess: login: str """ - The login to use for the BMC (Baseboard Management Controller) access authentification. + The login to use for the BMC (Baseboard Management Controller) access authentication. """ password: str """ - The password to use for the BMC (Baseboard Management Controller) access authentification. + The password to use for the BMC (Baseboard Management Controller) access authentication. """ status: BMCAccessStatus @@ -3521,7 +3521,7 @@ class Rescue: protocol: RescueProtocol """ - Protocol of the resuce. + Protocol of the rescue. """ diff --git a/scaleway/scaleway/domain/v2beta1/api.py b/scaleway/scaleway/domain/v2beta1/api.py index 8b469a570..391b4f6f5 100644 --- a/scaleway/scaleway/domain/v2beta1/api.py +++ b/scaleway/scaleway/domain/v2beta1/api.py @@ -1116,7 +1116,7 @@ def get_ssl_certificate( ) -> SSLCertificate: """ Get a DNS zone's TLS certificate. - Get the DNS zone's TLS certificate. If you do not have a certificate, the ouptut returns `no certificate found`. + Get the DNS zone's TLS certificate. If you do not have a certificate, the output returns `no certificate found`. :param dns_zone: :return: :class:`SSLCertificate ` @@ -1146,7 +1146,7 @@ def wait_for_ssl_certificate( ) -> SSLCertificate: """ Get a DNS zone's TLS certificate. - Get the DNS zone's TLS certificate. If you do not have a certificate, the ouptut returns `no certificate found`. + Get the DNS zone's TLS certificate. If you do not have a certificate, the output returns `no certificate found`. :param dns_zone: :return: :class:`SSLCertificate ` @@ -2580,7 +2580,7 @@ def get_domain_auth_code( ) -> GetDomainAuthCodeResponse: """ Get a domain's authorization code. - Retrieve the authorization code to tranfer an unlocked domain. The output returns an error if the domain is locked. + Retrieve the authorization code to transfer an unlocked domain. The output returns an error if the domain is locked. Some TLDs may have a different procedure to retrieve the authorization code. In that case, the information displays in the message field. :param domain: :return: :class:`GetDomainAuthCodeResponse ` diff --git a/scaleway/scaleway/function/v1beta1/api.py b/scaleway/scaleway/function/v1beta1/api.py index 7fcec8dd7..e4840d1cb 100644 --- a/scaleway/scaleway/function/v1beta1/api.py +++ b/scaleway/scaleway/function/v1beta1/api.py @@ -1402,7 +1402,7 @@ def create_domain( """ Create a domain name binding. Create a domain name binding for the function with the specified ID. - :param hostname: Hostame to create. + :param hostname: Hostname to create. :param function_id: UUID of the function to associate the domain with. :param region: Region to target. If none is passed will use default region from the config. :return: :class:`Domain ` diff --git a/scaleway/scaleway/function/v1beta1/types.py b/scaleway/scaleway/function/v1beta1/types.py index ff4230f88..85391b085 100644 --- a/scaleway/scaleway/function/v1beta1/types.py +++ b/scaleway/scaleway/function/v1beta1/types.py @@ -412,7 +412,7 @@ class Domain: status: DomainStatus """ - State of the doamin. + State of the domain. """ error_message: Optional[str] = None @@ -773,7 +773,7 @@ class CreateCronRequest: class CreateDomainRequest: hostname: str """ - Hostame to create. + Hostname to create. """ function_id: str diff --git a/scaleway/scaleway/iam/v1alpha1/api.py b/scaleway/scaleway/iam/v1alpha1/api.py index e16164951..cc789b93f 100644 --- a/scaleway/scaleway/iam/v1alpha1/api.py +++ b/scaleway/scaleway/iam/v1alpha1/api.py @@ -1877,7 +1877,7 @@ def get_policy( ) -> Policy: """ Get an existing policy. - Retrieve information about a policy, speficified by the `policy_id` parameter. The policy's full details, including `id`, `name`, `organization_id`, `nb_rules` and `nb_scopes`, `nb_permission_sets` are returned in the response. + Retrieve information about a policy, specified by the `policy_id` parameter. The policy's full details, including `id`, `name`, `organization_id`, `nb_rules` and `nb_scopes`, `nb_permission_sets` are returned in the response. :param policy_id: Id of policy to search. :return: :class:`Policy ` diff --git a/scaleway/scaleway/iot/v1/types.py b/scaleway/scaleway/iot/v1/types.py index 791aa91fe..d2e66c4dd 100644 --- a/scaleway/scaleway/iot/v1/types.py +++ b/scaleway/scaleway/iot/v1/types.py @@ -415,7 +415,7 @@ class Hub: enable_device_auto_provisioning: bool """ - When an unknown device connects to your hub using a valid certificate chain, it will be automatically provisioned inside your Hub. The Hub uses the common name of the device certifcate to find out if a device with the same name already exists. This setting can only be enabled on a hub with a custom certificate authority. + When an unknown device connects to your hub using a valid certificate chain, it will be automatically provisioned inside your Hub. The Hub uses the common name of the device certificate to find out if a device with the same name already exists. This setting can only be enabled on a hub with a custom certificate authority. """ has_custom_ca: bool diff --git a/scaleway/scaleway/jobs/v1alpha1/api.py b/scaleway/scaleway/jobs/v1alpha1/api.py index b2a8d870e..48a3d7cc7 100644 --- a/scaleway/scaleway/jobs/v1alpha1/api.py +++ b/scaleway/scaleway/jobs/v1alpha1/api.py @@ -332,7 +332,7 @@ def delete_job_definition( region: Optional[ScwRegion] = None, ) -> None: """ - Delete an exsisting job definition by its unique identifier. + Delete an existing job definition by its unique identifier. :param job_definition_id: UUID of the job definition to delete. :param region: Region to target. If none is passed will use default region from the config. diff --git a/scaleway/scaleway/kafka/v1alpha1/types.py b/scaleway/scaleway/kafka/v1alpha1/types.py index b5c8e0822..13a3f2a86 100644 --- a/scaleway/scaleway/kafka/v1alpha1/types.py +++ b/scaleway/scaleway/kafka/v1alpha1/types.py @@ -194,7 +194,7 @@ class NodeTypeVolumeType: min_size_bytes: int """ - Mimimum size required for the volume. + Minimum size required for the volume. """ max_size_bytes: int diff --git a/scaleway/scaleway/mnq/v1beta1/api.py b/scaleway/scaleway/mnq/v1beta1/api.py index a50a86057..33381bf19 100644 --- a/scaleway/scaleway/mnq/v1beta1/api.py +++ b/scaleway/scaleway/mnq/v1beta1/api.py @@ -555,7 +555,7 @@ def get_sns_info( ) -> SnsInfo: """ Get Topics and Events info. - Retrieve the Topics and Events information of the specified Project ID. Informations include the activation status and the Topics and Events API endpoint URL. + Retrieve the Topics and Events information of the specified Project ID. information include the activation status and the Topics and Events API endpoint URL. :param region: Region to target. If none is passed will use default region from the config. :param project_id: Project to retrieve Topics and Events info from. :return: :class:`SnsInfo ` @@ -915,7 +915,7 @@ def get_sqs_info( ) -> SqsInfo: """ Get Queues info. - Retrieve the Queues information of the specified Project ID. Informations include the activation status and the Queues API endpoint URL. + Retrieve the Queues information of the specified Project ID. information include the activation status and the Queues API endpoint URL. :param region: Region to target. If none is passed will use default region from the config. :param project_id: Project to retrieve Queues info from. :return: :class:`SqsInfo ` diff --git a/scaleway/scaleway/product_catalog/v2alpha1/__init__.py b/scaleway/scaleway/product_catalog/v2alpha1/__init__.py index 22c30abd8..18c07338f 100644 --- a/scaleway/scaleway/product_catalog/v2alpha1/__init__.py +++ b/scaleway/scaleway/product_catalog/v2alpha1/__init__.py @@ -1,6 +1,7 @@ # This file was automatically generated. DO NOT EDIT. # If you have any remark or suggestion do not hesitate to open an issue. from .types import ListPublicCatalogProductsRequestProductType +from .types import ListPublicCatalogProductsRequestStatus from .types import PublicCatalogProductPropertiesHardwareCPUArch from .types import PublicCatalogProductStatus from .types import PublicCatalogProductUnitOfMeasureCountableUnit @@ -30,6 +31,7 @@ __all__ = [ "ListPublicCatalogProductsRequestProductType", + "ListPublicCatalogProductsRequestStatus", "PublicCatalogProductPropertiesHardwareCPUArch", "PublicCatalogProductStatus", "PublicCatalogProductUnitOfMeasureCountableUnit", diff --git a/scaleway/scaleway/product_catalog/v2alpha1/api.py b/scaleway/scaleway/product_catalog/v2alpha1/api.py index 4a83a3710..9cafb5f30 100644 --- a/scaleway/scaleway/product_catalog/v2alpha1/api.py +++ b/scaleway/scaleway/product_catalog/v2alpha1/api.py @@ -15,6 +15,7 @@ ) from .types import ( ListPublicCatalogProductsRequestProductType, + ListPublicCatalogProductsRequestStatus, ListPublicCatalogProductsResponse, PublicCatalogProduct, ) @@ -38,6 +39,7 @@ def list_public_catalog_products( region: Optional[ScwRegion] = None, zone: Optional[ScwZone] = None, datacenter: Optional[str] = None, + status: Optional[list[ListPublicCatalogProductsRequestStatus]] = None, ) -> ListPublicCatalogProductsResponse: """ List all available products. @@ -53,6 +55,7 @@ def list_public_catalog_products( One-Of ('locality'): at most one of 'global_', 'region', 'zone', 'datacenter' could be set. :param datacenter: Filter products by datacenter. One-Of ('locality'): at most one of 'global_', 'region', 'zone', 'datacenter' could be set. + :param status: The lists of filtered product status, if empty only products with status public_beta, general_availability, preview, end_of_deployment, end_of_support, end_of_sale, end_of_life or retired will be returned. :return: :class:`ListPublicCatalogProductsResponse ` Usage: @@ -68,6 +71,7 @@ def list_public_catalog_products( "page": page, "page_size": page_size or self.client.default_page_size, "product_types": product_types, + "status": status, **resolve_one_of( [ OneOfPossibility("datacenter", datacenter), @@ -94,6 +98,7 @@ def list_public_catalog_products_all( region: Optional[ScwRegion] = None, zone: Optional[ScwZone] = None, datacenter: Optional[str] = None, + status: Optional[list[ListPublicCatalogProductsRequestStatus]] = None, ) -> list[PublicCatalogProduct]: """ List all available products. @@ -109,6 +114,7 @@ def list_public_catalog_products_all( One-Of ('locality'): at most one of 'global_', 'region', 'zone', 'datacenter' could be set. :param datacenter: Filter products by datacenter. One-Of ('locality'): at most one of 'global_', 'region', 'zone', 'datacenter' could be set. + :param status: The lists of filtered product status, if empty only products with status public_beta, general_availability, preview, end_of_deployment, end_of_support, end_of_sale, end_of_life or retired will be returned. :return: :class:`list[PublicCatalogProduct] ` Usage: @@ -125,6 +131,7 @@ def list_public_catalog_products_all( "page": page, "page_size": page_size, "product_types": product_types, + "status": status, "global_": global_, "region": region, "zone": zone, diff --git a/scaleway/scaleway/product_catalog/v2alpha1/types.py b/scaleway/scaleway/product_catalog/v2alpha1/types.py index 0f2906333..3318b2d5a 100644 --- a/scaleway/scaleway/product_catalog/v2alpha1/types.py +++ b/scaleway/scaleway/product_catalog/v2alpha1/types.py @@ -30,6 +30,21 @@ def __str__(self) -> str: return str(self.value) +class ListPublicCatalogProductsRequestStatus(str, Enum, metaclass=StrEnumMeta): + UNKNOWN_STATUS = "unknown_status" + PUBLIC_BETA = "public_beta" + PREVIEW = "preview" + GENERAL_AVAILABILITY = "general_availability" + END_OF_DEPLOYMENT = "end_of_deployment" + END_OF_SUPPORT = "end_of_support" + END_OF_SALE = "end_of_sale" + END_OF_LIFE = "end_of_life" + RETIRED = "retired" + + def __str__(self) -> str: + return str(self.value) + + class PublicCatalogProductPropertiesHardwareCPUArch(str, Enum, metaclass=StrEnumMeta): UNKNOWN_ARCH = "unknown_arch" X64 = "x64" @@ -49,6 +64,8 @@ class PublicCatalogProductStatus(str, Enum, metaclass=StrEnumMeta): END_OF_DEPLOYMENT = "end_of_deployment" END_OF_SUPPORT = "end_of_support" END_OF_SALE = "end_of_sale" + END_OF_LIFE = "end_of_life" + RETIRED = "retired" def __str__(self) -> str: return str(self.value) @@ -481,6 +498,13 @@ class PublicCatalogApiListPublicCatalogProductsRequest: The list of filtered product categories. """ + status: Optional[list[ListPublicCatalogProductsRequestStatus]] = field( + default_factory=list + ) + """ + The lists of filtered product status, if empty only products with status public_beta, general_availability, preview, end_of_deployment, end_of_support, end_of_sale, end_of_life or retired will be returned. + """ + global_: Optional[bool] = False region: Optional[ScwRegion] = None diff --git a/scaleway/scaleway/qaas/v1alpha1/api.py b/scaleway/scaleway/qaas/v1alpha1/api.py index 494457013..3b895f072 100644 --- a/scaleway/scaleway/qaas/v1alpha1/api.py +++ b/scaleway/scaleway/qaas/v1alpha1/api.py @@ -1396,7 +1396,7 @@ def get_application( ) -> Application: """ Get application information. - Retrieve information about the provided **applcation ID**, such as name, type and compatible platforms. + Retrieve information about the provided **application ID**, such as name, type and compatible platforms. :param application_id: Unique ID of the application. :return: :class:`Application `