Skip to content

Commit 46f5e6d

Browse files
authored
feat(instance): add start_date to server maintenance (#422)
1 parent f33cd73 commit 46f5e6d

File tree

5 files changed

+22
-16
lines changed

5 files changed

+22
-16
lines changed

scaleway-async/scaleway_async/function/v1beta1/types.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -929,14 +929,14 @@ class TriggerMnqSqsClientConfig:
929929
Trigger. mnq sqs client config.
930930
"""
931931

932-
queue: str
932+
mnq_namespace_id: Optional[str]
933933
"""
934-
Name of the SQS queue the trigger listens to.
934+
:deprecated
935935
"""
936936

937-
mnq_namespace_id: Optional[str]
937+
queue: str
938938
"""
939-
:deprecated
939+
Name of the SQS queue the trigger listens to.
940940
"""
941941

942942
mnq_project_id: str

scaleway-async/scaleway_async/instance/v1/types.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1310,13 +1310,16 @@ class ServerIp:
13101310
Tags associated with the IP.
13111311
"""
13121312

1313-
state: ServerIpState
1314-
13151313
ipam_id: str
13161314
"""
13171315
The ip_id of an IPAM ip if the ip is created from IPAM, null if not.
13181316
"""
13191317

1318+
state: ServerIpState
1319+
"""
1320+
IP address state.
1321+
"""
1322+
13201323

13211324
@dataclass
13221325
class ServerIpv6:

scaleway/scaleway/container/v1beta1/types.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -360,14 +360,14 @@ class CreateTriggerRequestMnqSqsClientConfig:
360360
Create trigger request. mnq sqs client config.
361361
"""
362362

363-
queue: str
363+
mnq_namespace_id: Optional[str]
364364
"""
365-
Name of the SQS queue the trigger should listen to.
365+
:deprecated
366366
"""
367367

368-
mnq_namespace_id: Optional[str]
368+
queue: str
369369
"""
370-
:deprecated
370+
Name of the SQS queue the trigger should listen to.
371371
"""
372372

373373
mnq_project_id: str

scaleway/scaleway/function/v1beta1/types.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -891,14 +891,14 @@ class TriggerMnqNatsClientConfig:
891891
Trigger. mnq nats client config.
892892
"""
893893

894-
subject: str
894+
mnq_namespace_id: Optional[str]
895895
"""
896-
Name of the NATS subject the trigger listens to.
896+
:deprecated
897897
"""
898898

899-
mnq_namespace_id: Optional[str]
899+
subject: str
900900
"""
901-
:deprecated
901+
Name of the NATS subject the trigger listens to.
902902
"""
903903

904904
mnq_nats_account_id: str

scaleway/scaleway/instance/v1/types.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1310,13 +1310,16 @@ class ServerIp:
13101310
Tags associated with the IP.
13111311
"""
13121312

1313-
state: ServerIpState
1314-
13151313
ipam_id: str
13161314
"""
13171315
The ip_id of an IPAM ip if the ip is created from IPAM, null if not.
13181316
"""
13191317

1318+
state: ServerIpState
1319+
"""
1320+
IP address state.
1321+
"""
1322+
13201323

13211324
@dataclass
13221325
class ServerIpv6:

0 commit comments

Comments
 (0)