@@ -752,30 +752,30 @@ func webhostingDomainSyncDNSRecords() *core.Command {
752752 },
753753 {
754754 Name : "update-web-records" ,
755- Short : `Whether or not to synchronize the web records.` ,
755+ Short : `Whether or not to synchronize the web records (deprecated, use auto_config_domain_dns) .` ,
756756 Required : false ,
757- Deprecated : false ,
757+ Deprecated : true ,
758758 Positional : false ,
759759 },
760760 {
761761 Name : "update-mail-records" ,
762- Short : `Whether or not to synchronize the mail records.` ,
762+ Short : `Whether or not to synchronize the mail records (deprecated, use auto_config_domain_dns) .` ,
763763 Required : false ,
764- Deprecated : false ,
764+ Deprecated : true ,
765765 Positional : false ,
766766 },
767767 {
768768 Name : "update-all-records" ,
769- Short : `Whether or not to synchronize all types of records. This one has priority.` ,
769+ Short : `Whether or not to synchronize all types of records. This one has priority (deprecated, use auto_config_domain_dns) .` ,
770770 Required : false ,
771- Deprecated : false ,
771+ Deprecated : true ,
772772 Positional : false ,
773773 },
774774 {
775775 Name : "update-nameservers" ,
776- Short : `Whether or not to synchronize domain nameservers.` ,
776+ Short : `Whether or not to synchronize domain nameservers (deprecated, use auto_config_domain_dns) .` ,
777777 Required : false ,
778- Deprecated : false ,
778+ Deprecated : true ,
779779 Positional : false ,
780780 },
781781 {
@@ -791,6 +791,34 @@ func webhostingDomainSyncDNSRecords() *core.Command {
791791 Positional : false ,
792792 EnumValues : []string {"unknown_type" , "a" , "cname" , "mx" , "txt" , "ns" , "aaaa" },
793793 },
794+ {
795+ Name : "auto-config-domain-dns.nameservers" ,
796+ Short : `Whether or not to synchronize domain nameservers.` ,
797+ Required : false ,
798+ Deprecated : false ,
799+ Positional : false ,
800+ },
801+ {
802+ Name : "auto-config-domain-dns.web-records" ,
803+ Short : `Whether or not to synchronize web records.` ,
804+ Required : false ,
805+ Deprecated : false ,
806+ Positional : false ,
807+ },
808+ {
809+ Name : "auto-config-domain-dns.mail-records" ,
810+ Short : `Whether or not to synchronize mail records.` ,
811+ Required : false ,
812+ Deprecated : false ,
813+ Positional : false ,
814+ },
815+ {
816+ Name : "auto-config-domain-dns.all-records" ,
817+ Short : `Whether or not to synchronize all types of records. Takes priority over the other fields.` ,
818+ Required : false ,
819+ Deprecated : false ,
820+ Positional : false ,
821+ },
794822 core .RegionArgSpec (scw .RegionFrPar , scw .RegionNlAms , scw .RegionPlWaw ),
795823 },
796824 Run : func (ctx context.Context , args interface {}) (i interface {}, e error ) {
@@ -950,6 +978,34 @@ func webhostingHostingCreate() *core.Command {
950978 Deprecated : false ,
951979 Positional : false ,
952980 },
981+ {
982+ Name : "auto-config-domain-dns.nameservers" ,
983+ Short : `Whether or not to synchronize domain nameservers.` ,
984+ Required : false ,
985+ Deprecated : false ,
986+ Positional : false ,
987+ },
988+ {
989+ Name : "auto-config-domain-dns.web-records" ,
990+ Short : `Whether or not to synchronize web records.` ,
991+ Required : false ,
992+ Deprecated : false ,
993+ Positional : false ,
994+ },
995+ {
996+ Name : "auto-config-domain-dns.mail-records" ,
997+ Short : `Whether or not to synchronize mail records.` ,
998+ Required : false ,
999+ Deprecated : false ,
1000+ Positional : false ,
1001+ },
1002+ {
1003+ Name : "auto-config-domain-dns.all-records" ,
1004+ Short : `Whether or not to synchronize all types of records. Takes priority over the other fields.` ,
1005+ Required : false ,
1006+ Deprecated : false ,
1007+ Positional : false ,
1008+ },
9531009 core .RegionArgSpec (scw .RegionFrPar , scw .RegionNlAms , scw .RegionPlWaw ),
9541010 },
9551011 Run : func (ctx context.Context , args interface {}) (i interface {}, e error ) {
0 commit comments