You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @deprecatedMain domain status of the Web Hosting plan (deprecated, use domain_info).
1019
1053
*/
1020
-
domainStatus: DomainStatus
1054
+
domainStatus?: DomainStatus
1021
1055
/**
1022
1056
* Region where the Web Hosting plan is hosted.
1023
1057
*/
1024
1058
region: ScwRegion
1059
+
/**
1060
+
* Domain configuration block (subdomain, optional custom domain, and DNS settings).
1061
+
*/
1062
+
domainInfo?: HostingDomain
1025
1063
}
1026
1064
1027
1065
exporttypeHostingApiCreateHostingRequest={
@@ -1049,6 +1087,10 @@ export type HostingApiCreateHostingRequest = {
1049
1087
* Domain name to link to the Web Hosting plan. You must already own this domain name, and have completed the DNS validation process beforehand.
1050
1088
*/
1051
1089
domain: string
1090
+
/**
1091
+
* The name prefix to use as a free subdomain (for example, `mysite`) assigned to the Web Hosting plan. The full domain will be automatically created by adding it to the fixed base domain (e.g. `mysite.scw.site`). You do not need to include the base domain yourself.
1092
+
*/
1093
+
subdomain?: string
1052
1094
/**
1053
1095
* List of the Web Hosting plan options IDs with their quantities.
1054
1096
*/
@@ -1156,6 +1198,10 @@ export type HostingApiListHostingsRequest = {
1156
1198
* Name of the control panel to filter for, only Web Hosting plans from this control panel will be returned.
1157
1199
*/
1158
1200
controlPanels?: string[]
1201
+
/**
1202
+
* Optional free subdomain linked to the Web Hosting plan.
0 commit comments