File tree 6 files changed +22
-0
lines changed
scaleway/scaleway/webhosting/v1
scaleway-async/scaleway_async/webhosting/v1 6 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -833,6 +833,7 @@ async def create_hosting(
833
833
offer_options : Optional [List [OfferOptionRequest ]] = None ,
834
834
language : Optional [StdLanguageCode ] = None ,
835
835
domain_configuration : Optional [CreateHostingRequestDomainConfiguration ] = None ,
836
+ skip_welcome_email : Optional [bool ] = None ,
836
837
) -> Hosting :
837
838
"""
838
839
Order a Web Hosting plan.
@@ -846,6 +847,7 @@ async def create_hosting(
846
847
:param offer_options: List of the Web Hosting plan options IDs with their quantities.
847
848
:param language: Default language for the control panel interface.
848
849
:param domain_configuration: Indicates whether to update hosting domain name servers and DNS records for domains managed by Scaleway Elements.
850
+ :param skip_welcome_email: Indicates whether to skip a welcome email to the contact email containing hosting info.
849
851
:return: :class:`Hosting <Hosting>`
850
852
851
853
Usage:
@@ -876,6 +878,7 @@ async def create_hosting(
876
878
offer_options = offer_options ,
877
879
language = language ,
878
880
domain_configuration = domain_configuration ,
881
+ skip_welcome_email = skip_welcome_email ,
879
882
),
880
883
self .client ,
881
884
),
Original file line number Diff line number Diff line change @@ -822,6 +822,9 @@ def marshal_HostingApiCreateHostingRequest(
822
822
)
823
823
)
824
824
825
+ if request .skip_welcome_email is not None :
826
+ output ["skip_welcome_email" ] = request .skip_welcome_email
827
+
825
828
return output
826
829
827
830
Original file line number Diff line number Diff line change @@ -918,6 +918,11 @@ class HostingApiCreateHostingRequest:
918
918
Indicates whether to update hosting domain name servers and DNS records for domains managed by Scaleway Elements.
919
919
"""
920
920
921
+ skip_welcome_email : Optional [bool ]
922
+ """
923
+ Indicates whether to skip a welcome email to the contact email containing hosting info.
924
+ """
925
+
921
926
922
927
@dataclass
923
928
class HostingApiCreateSessionRequest :
Original file line number Diff line number Diff line change @@ -833,6 +833,7 @@ def create_hosting(
833
833
offer_options : Optional [List [OfferOptionRequest ]] = None ,
834
834
language : Optional [StdLanguageCode ] = None ,
835
835
domain_configuration : Optional [CreateHostingRequestDomainConfiguration ] = None ,
836
+ skip_welcome_email : Optional [bool ] = None ,
836
837
) -> Hosting :
837
838
"""
838
839
Order a Web Hosting plan.
@@ -846,6 +847,7 @@ def create_hosting(
846
847
:param offer_options: List of the Web Hosting plan options IDs with their quantities.
847
848
:param language: Default language for the control panel interface.
848
849
:param domain_configuration: Indicates whether to update hosting domain name servers and DNS records for domains managed by Scaleway Elements.
850
+ :param skip_welcome_email: Indicates whether to skip a welcome email to the contact email containing hosting info.
849
851
:return: :class:`Hosting <Hosting>`
850
852
851
853
Usage:
@@ -876,6 +878,7 @@ def create_hosting(
876
878
offer_options = offer_options ,
877
879
language = language ,
878
880
domain_configuration = domain_configuration ,
881
+ skip_welcome_email = skip_welcome_email ,
879
882
),
880
883
self .client ,
881
884
),
Original file line number Diff line number Diff line change @@ -822,6 +822,9 @@ def marshal_HostingApiCreateHostingRequest(
822
822
)
823
823
)
824
824
825
+ if request .skip_welcome_email is not None :
826
+ output ["skip_welcome_email" ] = request .skip_welcome_email
827
+
825
828
return output
826
829
827
830
Original file line number Diff line number Diff line change @@ -918,6 +918,11 @@ class HostingApiCreateHostingRequest:
918
918
Indicates whether to update hosting domain name servers and DNS records for domains managed by Scaleway Elements.
919
919
"""
920
920
921
+ skip_welcome_email : Optional [bool ]
922
+ """
923
+ Indicates whether to skip a welcome email to the contact email containing hosting info.
924
+ """
925
+
921
926
922
927
@dataclass
923
928
class HostingApiCreateSessionRequest :
You can’t perform that action at this time.
0 commit comments