Skip to content

Commit 2cf3200

Browse files
authored
feat(tem): add support for Autoconfig (#2159)
1 parent be54abb commit 2cf3200

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

api/tem/v1alpha1/tem_sdk.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -808,6 +808,9 @@ type Domain struct {
808808
// Records: list of records to configure to validate a domain.
809809
Records *DomainRecords `json:"records"`
810810

811+
// Autoconfig: status of auto-configuration for the domain's DNS zone.
812+
Autoconfig bool `json:"autoconfig"`
813+
811814
// Region: region to target. If none is passed will use default region from the config.
812815
Region scw.Region `json:"region"`
813816
}
@@ -911,6 +914,9 @@ type CreateDomainRequest struct {
911914

912915
// AcceptTos: accept Scaleway's Terms of Service.
913916
AcceptTos bool `json:"accept_tos"`
917+
918+
// Autoconfig: activate auto-configuration of the domain's DNS zone.
919+
Autoconfig bool `json:"autoconfig"`
914920
}
915921

916922
// CreateEmailRequest: create email request.

0 commit comments

Comments
 (0)