From d358ae9708e09380e089ba0447f93a64b029ea29 Mon Sep 17 00:00:00 2001 From: scaleway-bot Date: Sun, 26 Jul 2026 15:12:43 +0000 Subject: [PATCH] fix(ipam): fix patterns for SRN on IPAM IP --- .../autoscaling/v1alpha2/api.py | 29 +++++++++++-------- scaleway/scaleway/autoscaling/v1alpha2/api.py | 29 +++++++++++-------- 2 files changed, 34 insertions(+), 24 deletions(-) diff --git a/scaleway-async/scaleway_async/autoscaling/v1alpha2/api.py b/scaleway-async/scaleway_async/autoscaling/v1alpha2/api.py index 0ab4656df..4dcdd7ec8 100644 --- a/scaleway-async/scaleway_async/autoscaling/v1alpha2/api.py +++ b/scaleway-async/scaleway_async/autoscaling/v1alpha2/api.py @@ -42,9 +42,7 @@ class AutoscalingV1Alpha2API(API): - """ - Instances Autoscaling Groups management API. - """ + """ """ async def list_groups( self, @@ -101,7 +99,8 @@ async def get_group( ) -> Group: """ Get an autoscaling group. - Get details of a specified autoscaling group including its configuration, current size, and status. + Get details of a specified autoscaling group including its + configuration, current size, and status. :param group_id: ID of the group to get. :param zone: Zone to target. If none is passed will use default zone from the config. :return: :class:`Group ` @@ -134,7 +133,8 @@ async def wait_for_group( ) -> Group: """ Get an autoscaling group. - Get details of a specified autoscaling group including its configuration, current size, and status. + Get details of a specified autoscaling group including its + configuration, current size, and status. :param group_id: ID of the group to get. :param zone: Zone to target. If none is passed will use default zone from the config. :return: :class:`Group ` @@ -177,7 +177,9 @@ async def create_group( ) -> Group: """ Create an autoscaling group. - Create a new autoscaling group with the specified configuration including template, scaling policy, and optional load balancer settings. + Create a new autoscaling group with the specified configuration + including template, scaling policy, and optional load balancer + settings. :param name: Name of the autoscaling group. :param template_id: Template ID for instances in this group. :param zone: Zone to target. If none is passed will use default zone from the config. @@ -233,7 +235,8 @@ async def update_group( ) -> Group: """ Update an autoscaling group. - Update the configuration of a specified autoscaling group including name, tags, template, scaling policy, and load balancer settings. + Update the configuration of a specified autoscaling group including + name, tags, template, scaling policy, and load balancer settings. :param group_id: ID of the group to update. :param zone: Zone to target. If none is passed will use default zone from the config. :param name: New name for the group. @@ -282,7 +285,8 @@ async def delete_group( ) -> Group: """ Delete an autoscaling group. - Delete a specified autoscaling group and all its associated resources. + Delete a specified autoscaling group and all its associated + resources. :param group_id: ID of the group to delete. :param zone: Zone to target. If none is passed will use default zone from the config. :return: :class:`Group ` @@ -317,8 +321,9 @@ async def list_logs( end_time: Optional[datetime] = None, ) -> ListLogsResponse: """ - List group logs. - List logs for a specified autoscaling group to view scaling events and activities. + List autoscaling group logs. + List logs for a specified autoscaling group to view scaling events + and activities. :param group_id: :param zone: Zone to target. If none is passed will use default zone from the config. :param page_token: @@ -361,7 +366,7 @@ async def list_servers( page_size: Optional[int] = None, ) -> ListServersResponse: """ - List group servers. + List autoscaling group servers. List all Instances belonging to a specified autoscaling group. :param group_id: :param zone: Zone to target. If none is passed will use default zone from the config. @@ -402,7 +407,7 @@ async def list_alerts( project_id: Optional[str] = None, ) -> ListAlertsResponse: """ - List group alerts. + List autoscaling group alerts. List active and historical alerts for a specified autoscaling group. :param zone: Zone to target. If none is passed will use default zone from the config. :param group_id: diff --git a/scaleway/scaleway/autoscaling/v1alpha2/api.py b/scaleway/scaleway/autoscaling/v1alpha2/api.py index 6b5e19d73..86f814cad 100644 --- a/scaleway/scaleway/autoscaling/v1alpha2/api.py +++ b/scaleway/scaleway/autoscaling/v1alpha2/api.py @@ -42,9 +42,7 @@ class AutoscalingV1Alpha2API(API): - """ - Instances Autoscaling Groups management API. - """ + """ """ def list_groups( self, @@ -101,7 +99,8 @@ def get_group( ) -> Group: """ Get an autoscaling group. - Get details of a specified autoscaling group including its configuration, current size, and status. + Get details of a specified autoscaling group including its + configuration, current size, and status. :param group_id: ID of the group to get. :param zone: Zone to target. If none is passed will use default zone from the config. :return: :class:`Group ` @@ -134,7 +133,8 @@ def wait_for_group( ) -> Group: """ Get an autoscaling group. - Get details of a specified autoscaling group including its configuration, current size, and status. + Get details of a specified autoscaling group including its + configuration, current size, and status. :param group_id: ID of the group to get. :param zone: Zone to target. If none is passed will use default zone from the config. :return: :class:`Group ` @@ -177,7 +177,9 @@ def create_group( ) -> Group: """ Create an autoscaling group. - Create a new autoscaling group with the specified configuration including template, scaling policy, and optional load balancer settings. + Create a new autoscaling group with the specified configuration + including template, scaling policy, and optional load balancer + settings. :param name: Name of the autoscaling group. :param template_id: Template ID for instances in this group. :param zone: Zone to target. If none is passed will use default zone from the config. @@ -233,7 +235,8 @@ def update_group( ) -> Group: """ Update an autoscaling group. - Update the configuration of a specified autoscaling group including name, tags, template, scaling policy, and load balancer settings. + Update the configuration of a specified autoscaling group including + name, tags, template, scaling policy, and load balancer settings. :param group_id: ID of the group to update. :param zone: Zone to target. If none is passed will use default zone from the config. :param name: New name for the group. @@ -282,7 +285,8 @@ def delete_group( ) -> Group: """ Delete an autoscaling group. - Delete a specified autoscaling group and all its associated resources. + Delete a specified autoscaling group and all its associated + resources. :param group_id: ID of the group to delete. :param zone: Zone to target. If none is passed will use default zone from the config. :return: :class:`Group ` @@ -317,8 +321,9 @@ def list_logs( end_time: Optional[datetime] = None, ) -> ListLogsResponse: """ - List group logs. - List logs for a specified autoscaling group to view scaling events and activities. + List autoscaling group logs. + List logs for a specified autoscaling group to view scaling events + and activities. :param group_id: :param zone: Zone to target. If none is passed will use default zone from the config. :param page_token: @@ -361,7 +366,7 @@ def list_servers( page_size: Optional[int] = None, ) -> ListServersResponse: """ - List group servers. + List autoscaling group servers. List all Instances belonging to a specified autoscaling group. :param group_id: :param zone: Zone to target. If none is passed will use default zone from the config. @@ -402,7 +407,7 @@ def list_alerts( project_id: Optional[str] = None, ) -> ListAlertsResponse: """ - List group alerts. + List autoscaling group alerts. List active and historical alerts for a specified autoscaling group. :param zone: Zone to target. If none is passed will use default zone from the config. :param group_id: