Skip to content

Commit d3694d9

Browse files
authored
Merge branch 'main' into v1.5853.0
2 parents 071d967 + be9f5be commit d3694d9

File tree

8 files changed

+178
-200
lines changed

8 files changed

+178
-200
lines changed

scaleway-async/scaleway_async/k8s/v1/marshalling.py

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -488,23 +488,17 @@ def unmarshal_Cluster(data: Any) -> Cluster:
488488
else:
489489
args["commitment_ends_at"] = None
490490

491-
field = data.get("routed_ip_enabled", None)
492-
if field is not None:
493-
args["routed_ip_enabled"] = field
494-
else:
495-
args["routed_ip_enabled"] = None
496-
497491
field = data.get("sbs_csi_enabled", None)
498492
if field is not None:
499493
args["sbs_csi_enabled"] = field
500494
else:
501495
args["sbs_csi_enabled"] = None
502496

503-
field = data.get("full_vpc_integraton_enabled", None)
497+
field = data.get("acl_available", None)
504498
if field is not None:
505-
args["full_vpc_integraton_enabled"] = field
499+
args["acl_available"] = field
506500
else:
507-
args["full_vpc_integraton_enabled"] = None
501+
args["acl_available"] = None
508502

509503
return Cluster(**args)
510504

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

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -893,19 +893,14 @@ class Cluster:
893893
Date on which it will be possible to switch to a smaller offer.
894894
"""
895895

896-
routed_ip_enabled: Optional[bool]
897-
"""
898-
Defines whether routed IPs are enabled for nodes of this cluster.
899-
"""
900-
901896
sbs_csi_enabled: Optional[bool]
902897
"""
903898
Defines whether the SBS-enabled CSI starting from v0.3 is installed on the cluster.
904899
"""
905900

906-
full_vpc_integraton_enabled: Optional[bool]
901+
acl_available: Optional[bool]
907902
"""
908-
Defines whether VPC is fully integrated on the cluster.
903+
Defines whether ACL is available on the cluster.
909904
"""
910905

911906

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

Lines changed: 53 additions & 53 deletions
Large diffs are not rendered by default.

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

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class File:
9898
class SnsPermissions:
9999
can_publish: Optional[bool]
100100
"""
101-
Defines whether the credentials bearer can publish messages to the service (publish to SNS topics).
101+
Defines whether the credentials bearer can publish messages to the service (publish to Topics and Events topics).
102102
"""
103103

104104
can_receive: Optional[bool]
@@ -108,25 +108,25 @@ class SnsPermissions:
108108

109109
can_manage: Optional[bool]
110110
"""
111-
Defines whether the credentials bearer can manage the associated SNS topics or subscriptions.
111+
Defines whether the credentials bearer can manage the associated Topics and Events topics or subscriptions.
112112
"""
113113

114114

115115
@dataclass
116116
class SqsPermissions:
117117
can_publish: Optional[bool]
118118
"""
119-
Defines whether the credentials bearer can publish messages to the service (send messages to SQS queues).
119+
Defines whether the credentials bearer can publish messages to the service (send messages to Queues queues).
120120
"""
121121

122122
can_receive: Optional[bool]
123123
"""
124-
Defines whether the credentials bearer can receive messages from SQS queues.
124+
Defines whether the credentials bearer can receive messages from Queues queues.
125125
"""
126126

127127
can_manage: Optional[bool]
128128
"""
129-
Defines whether the credentials bearer can manage the associated SQS queues.
129+
Defines whether the credentials bearer can manage the associated Queues queues.
130130
"""
131131

132132

@@ -235,7 +235,7 @@ class SnsCredentials:
235235

236236
secret_key: str
237237
"""
238-
Secret key ID (Only returned by **Create SNS Credentials** call).
238+
Secret key ID (Only returned by **Create Topics and Events Credentials** call).
239239
"""
240240

241241
secret_checksum: str
@@ -288,7 +288,7 @@ class SqsCredentials:
288288

289289
secret_key: str
290290
"""
291-
Secret key ID (Only returned by **Create SQS Credentials** call).
291+
Secret key ID (Only returned by **Create Queues Credentials** call).
292292
"""
293293

294294
secret_checksum: str
@@ -347,7 +347,7 @@ class ListSnsCredentialsResponse:
347347

348348
sns_credentials: List[SnsCredentials]
349349
"""
350-
SNS credentials on this page.
350+
Topics and Events credentials on this page.
351351
"""
352352

353353

@@ -360,7 +360,7 @@ class ListSqsCredentialsResponse:
360360

361361
sqs_credentials: List[SqsCredentials]
362362
"""
363-
SQS credentials on this page.
363+
Queues credentials on this page.
364364
"""
365365

366366

@@ -540,7 +540,7 @@ class SnsApiActivateSnsRequest:
540540

541541
project_id: Optional[str]
542542
"""
543-
Project on which to activate the SNS service.
543+
Project on which to activate the Topics and Events service.
544544
"""
545545

546546

@@ -553,7 +553,7 @@ class SnsApiCreateSnsCredentialsRequest:
553553

554554
project_id: Optional[str]
555555
"""
556-
Project containing the SNS credentials.
556+
Project containing the Topics and Events credentials.
557557
"""
558558

559559
name: Optional[str]
@@ -576,7 +576,7 @@ class SnsApiDeactivateSnsRequest:
576576

577577
project_id: Optional[str]
578578
"""
579-
Project on which to deactivate the SNS service.
579+
Project on which to deactivate the Topics and Events service.
580580
"""
581581

582582

@@ -597,7 +597,7 @@ class SnsApiDeleteSnsCredentialsRequest:
597597
class SnsApiGetSnsCredentialsRequest:
598598
sns_credentials_id: str
599599
"""
600-
ID of the SNS credentials to get.
600+
ID of the Topics and Events credentials to get.
601601
"""
602602

603603
region: Optional[Region]
@@ -615,7 +615,7 @@ class SnsApiGetSnsInfoRequest:
615615

616616
project_id: Optional[str]
617617
"""
618-
Project to retrieve SNS info from.
618+
Project to retrieve Topics and Events info from.
619619
"""
620620

621621

@@ -628,7 +628,7 @@ class SnsApiListSnsCredentialsRequest:
628628

629629
project_id: Optional[str]
630630
"""
631-
Include only SNS credentials in this Project.
631+
Include only Topics and Events credentials in this Project.
632632
"""
633633

634634
page: Optional[int]
@@ -651,7 +651,7 @@ class SnsApiListSnsCredentialsRequest:
651651
class SnsApiUpdateSnsCredentialsRequest:
652652
sns_credentials_id: str
653653
"""
654-
ID of the SNS credentials to update.
654+
ID of the Topics and Events credentials to update.
655655
"""
656656

657657
region: Optional[Region]
@@ -684,22 +684,22 @@ class SnsInfo:
684684

685685
status: SnsInfoStatus
686686
"""
687-
SNS activation status.
687+
Topics and Events activation status.
688688
"""
689689

690690
sns_endpoint_url: str
691691
"""
692-
Endpoint of the SNS service for this region and project.
692+
Endpoint of the Topics and Events service for this region and project.
693693
"""
694694

695695
created_at: Optional[datetime]
696696
"""
697-
SNS creation date.
697+
Topics and Events creation date.
698698
"""
699699

700700
updated_at: Optional[datetime]
701701
"""
702-
SNS last modification date.
702+
Topics and Events last modification date.
703703
"""
704704

705705

@@ -712,7 +712,7 @@ class SqsApiActivateSqsRequest:
712712

713713
project_id: Optional[str]
714714
"""
715-
Project on which to activate the SQS service.
715+
Project on which to activate the Queues service.
716716
"""
717717

718718

@@ -725,7 +725,7 @@ class SqsApiCreateSqsCredentialsRequest:
725725

726726
project_id: Optional[str]
727727
"""
728-
Project containing the SQS credentials.
728+
Project containing the Queues credentials.
729729
"""
730730

731731
name: Optional[str]
@@ -748,7 +748,7 @@ class SqsApiDeactivateSqsRequest:
748748

749749
project_id: Optional[str]
750750
"""
751-
Project on which to deactivate the SQS service.
751+
Project on which to deactivate the Queues service.
752752
"""
753753

754754

@@ -769,7 +769,7 @@ class SqsApiDeleteSqsCredentialsRequest:
769769
class SqsApiGetSqsCredentialsRequest:
770770
sqs_credentials_id: str
771771
"""
772-
ID of the SQS credentials to get.
772+
ID of the Queues credentials to get.
773773
"""
774774

775775
region: Optional[Region]
@@ -787,7 +787,7 @@ class SqsApiGetSqsInfoRequest:
787787

788788
project_id: Optional[str]
789789
"""
790-
Project to retrieve SQS info from.
790+
Project to retrieve Queues info from.
791791
"""
792792

793793

@@ -800,7 +800,7 @@ class SqsApiListSqsCredentialsRequest:
800800

801801
project_id: Optional[str]
802802
"""
803-
Include only SQS credentials in this Project.
803+
Include only Queues credentials in this Project.
804804
"""
805805

806806
page: Optional[int]
@@ -823,7 +823,7 @@ class SqsApiListSqsCredentialsRequest:
823823
class SqsApiUpdateSqsCredentialsRequest:
824824
sqs_credentials_id: str
825825
"""
826-
ID of the SQS credentials to update.
826+
ID of the Queues credentials to update.
827827
"""
828828

829829
region: Optional[Region]
@@ -856,20 +856,20 @@ class SqsInfo:
856856

857857
status: SqsInfoStatus
858858
"""
859-
SQS activation status.
859+
Queues activation status.
860860
"""
861861

862862
sqs_endpoint_url: str
863863
"""
864-
Endpoint of the SQS service for this region and project.
864+
Endpoint of the Queues service for this region and project.
865865
"""
866866

867867
created_at: Optional[datetime]
868868
"""
869-
SQS creation date.
869+
Queues creation date.
870870
"""
871871

872872
updated_at: Optional[datetime]
873873
"""
874-
SQS last modification date.
874+
Queues last modification date.
875875
"""

scaleway/scaleway/k8s/v1/marshalling.py

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -488,23 +488,17 @@ def unmarshal_Cluster(data: Any) -> Cluster:
488488
else:
489489
args["commitment_ends_at"] = None
490490

491-
field = data.get("routed_ip_enabled", None)
492-
if field is not None:
493-
args["routed_ip_enabled"] = field
494-
else:
495-
args["routed_ip_enabled"] = None
496-
497491
field = data.get("sbs_csi_enabled", None)
498492
if field is not None:
499493
args["sbs_csi_enabled"] = field
500494
else:
501495
args["sbs_csi_enabled"] = None
502496

503-
field = data.get("full_vpc_integraton_enabled", None)
497+
field = data.get("acl_available", None)
504498
if field is not None:
505-
args["full_vpc_integraton_enabled"] = field
499+
args["acl_available"] = field
506500
else:
507-
args["full_vpc_integraton_enabled"] = None
501+
args["acl_available"] = None
508502

509503
return Cluster(**args)
510504

scaleway/scaleway/k8s/v1/types.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -893,19 +893,14 @@ class Cluster:
893893
Date on which it will be possible to switch to a smaller offer.
894894
"""
895895

896-
routed_ip_enabled: Optional[bool]
897-
"""
898-
Defines whether routed IPs are enabled for nodes of this cluster.
899-
"""
900-
901896
sbs_csi_enabled: Optional[bool]
902897
"""
903898
Defines whether the SBS-enabled CSI starting from v0.3 is installed on the cluster.
904899
"""
905900

906-
full_vpc_integraton_enabled: Optional[bool]
901+
acl_available: Optional[bool]
907902
"""
908-
Defines whether VPC is fully integrated on the cluster.
903+
Defines whether ACL is available on the cluster.
909904
"""
910905

911906

0 commit comments

Comments
 (0)