Skip to content

Commit 5efaec4

Browse files
authored
feat(webhosting): add dns status and offer name to hosting summary (scaleway#2359)
1 parent efb548e commit 5efaec4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

api/webhosting/v1/webhosting_sdk.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -918,6 +918,13 @@ type HostingSummary struct {
918918
// Protected: whether the hosting is protected or not.
919919
Protected bool `json:"protected"`
920920

921+
// DNSStatus: DNS status of the Web Hosting plan.
922+
// Default value: unknown_status
923+
DNSStatus DNSRecordsStatus `json:"dns_status"`
924+
925+
// OfferName: name of the active offer for the Web Hosting plan.
926+
OfferName string `json:"offer_name"`
927+
921928
// Region: region where the Web Hosting plan is hosted.
922929
Region scw.Region `json:"region"`
923930
}

0 commit comments

Comments
 (0)