@@ -275,132 +275,132 @@ func ResourceDomainsRegistration() *schema.Resource {
275275 Description : "List of Scaleway resources linked to the domain." ,
276276 },
277277
278- // "tld": {
279- // Type: schema.TypeList,
280- // Computed: true,
281- // Description: "Details about the TLD (Top-Level Domain).",
282- // Elem: &schema.Resource{
283- // Schema: map[string]*schema.Schema{
284- // "name": {
285- // Type: schema.TypeString,
286- // Computed: true,
287- // Description: "Name of the TLD.",
288- // },
289- // "dnssec_support": {
290- // Type: schema.TypeBool,
291- // Computed: true,
292- // Description: "Indicates whether dnssec is supported for this TLD.",
293- // },
294- // "duration_in_years_min": {
295- // Type: schema.TypeInt,
296- // Computed: true,
297- // Description: "Minimum duration (in years) for which this TLD can be registered.",
298- // },
299- // "duration_in_years_max": {
300- // Type: schema.TypeInt,
301- // Computed: true,
302- // Description: "Maximum duration (in years) for which this TLD can be registered.",
303- // },
304- // "idn_support": {
305- // Type: schema.TypeBool,
306- // Computed: true,
307- // Description: "Indicates whether this TLD supports IDN (Internationalized Domain Names).",
308- // },
309- // "offers": {
310- // Type: schema.TypeList,
311- // Computed: true,
312- // Description: "Available offers for the TLD.",
313- // Elem: &schema.Resource{
314- // Schema: map[string]*schema.Schema{
315- // "action": {
316- // Type: schema.TypeString,
317- // Computed: true,
318- // Description: "Type of the offer action (e.g., create, transfer).",
319- // },
320- // "operation_path": {
321- // Type: schema.TypeString,
322- // Computed: true,
323- // Description: "Path of the operation associated with the offer.",
324- // },
325- // "price": {
326- // Type: schema.TypeMap,
327- // Computed: true,
328- // Elem: &schema.Schema{
329- // Type: schema.TypeString,
330- // },
331- // Description: "Pricing information for the TLD offer.",
332- // },
333- // },
334- // },
335- // },
336- // "specifications": {
337- // Type: schema.TypeMap,
338- // Computed: true,
339- // Description: "Additional TLD specifications such as grace periods.",
340- // Elem: &schema.Schema{
341- // Type: schema.TypeString,
342- // },
343- // },
344- // },
345- // },
346- // },
347- // "dns_zones": {
348- // Type: schema.TypeList,
349- // Computed: true,
350- // Description: "List of DNS zones with detailed information.",
351- // Elem: &schema.Resource{
352- // Schema: map[string]*schema.Schema{
353- // "domain": {
354- // Type: schema.TypeString,
355- // Computed: true,
356- // Description: "The domain name of the DNS zone.",
357- // },
358- // "subdomain": {
359- // Type: schema.TypeString,
360- // Computed: true,
361- // Description: "The subdomain of the DNS zone.",
362- // },
363- // "ns": {
364- // Type: schema.TypeList,
365- // Computed: true,
366- // Elem: &schema.Schema{Type: schema.TypeString},
367- // Description: "List of name servers (NS) of the DNS zone.",
368- // },
369- // "ns_default": {
370- // Type: schema.TypeList,
371- // Computed: true,
372- // Elem: &schema.Schema{Type: schema.TypeString},
373- // Description: "List of default name servers of the DNS zone.",
374- // },
375- // "ns_master": {
376- // Type: schema.TypeList,
377- // Computed: true,
378- // Elem: &schema.Schema{Type: schema.TypeString},
379- // Description: "List of master name servers of the DNS zone.",
380- // },
381- // "status": {
382- // Type: schema.TypeString,
383- // Computed: true,
384- // Description: "The status of the DNS zone.",
385- // },
386- // "message": {
387- // Type: schema.TypeString,
388- // Computed: true,
389- // Description: "Additional message for the DNS zone.",
390- // },
391- // "updated_at": {
392- // Type: schema.TypeString,
393- // Computed: true,
394- // Description: "The last updated timestamp of the DNS zone.",
395- // },
396- // "project_id": {
397- // Type: schema.TypeString,
398- // Computed: true,
399- // Description: "The project ID associated with the DNS zone.",
400- // },
401- // },
402- // },
403- // },
278+ "tld" : {
279+ Type : schema .TypeList ,
280+ Computed : true ,
281+ Description : "Details about the TLD (Top-Level Domain)." ,
282+ Elem : & schema.Resource {
283+ Schema : map [string ]* schema.Schema {
284+ "name" : {
285+ Type : schema .TypeString ,
286+ Computed : true ,
287+ Description : "Name of the TLD." ,
288+ },
289+ "dnssec_support" : {
290+ Type : schema .TypeBool ,
291+ Computed : true ,
292+ Description : "Indicates whether dnssec is supported for this TLD." ,
293+ },
294+ "duration_in_years_min" : {
295+ Type : schema .TypeInt ,
296+ Computed : true ,
297+ Description : "Minimum duration (in years) for which this TLD can be registered." ,
298+ },
299+ "duration_in_years_max" : {
300+ Type : schema .TypeInt ,
301+ Computed : true ,
302+ Description : "Maximum duration (in years) for which this TLD can be registered." ,
303+ },
304+ "idn_support" : {
305+ Type : schema .TypeBool ,
306+ Computed : true ,
307+ Description : "Indicates whether this TLD supports IDN (Internationalized Domain Names)." ,
308+ },
309+ "offers" : {
310+ Type : schema .TypeList ,
311+ Computed : true ,
312+ Description : "Available offers for the TLD." ,
313+ Elem : & schema.Resource {
314+ Schema : map [string ]* schema.Schema {
315+ "action" : {
316+ Type : schema .TypeString ,
317+ Computed : true ,
318+ Description : "Type of the offer action (e.g., create, transfer)." ,
319+ },
320+ "operation_path" : {
321+ Type : schema .TypeString ,
322+ Computed : true ,
323+ Description : "Path of the operation associated with the offer." ,
324+ },
325+ "price" : {
326+ Type : schema .TypeMap ,
327+ Computed : true ,
328+ Elem : & schema.Schema {
329+ Type : schema .TypeString ,
330+ },
331+ Description : "Pricing information for the TLD offer." ,
332+ },
333+ },
334+ },
335+ },
336+ "specifications" : {
337+ Type : schema .TypeMap ,
338+ Computed : true ,
339+ Description : "Additional TLD specifications such as grace periods." ,
340+ Elem : & schema.Schema {
341+ Type : schema .TypeString ,
342+ },
343+ },
344+ },
345+ },
346+ },
347+ "dns_zones" : {
348+ Type : schema .TypeList ,
349+ Computed : true ,
350+ Description : "List of DNS zones with detailed information." ,
351+ Elem : & schema.Resource {
352+ Schema : map [string ]* schema.Schema {
353+ "domain" : {
354+ Type : schema .TypeString ,
355+ Computed : true ,
356+ Description : "The domain name of the DNS zone." ,
357+ },
358+ "subdomain" : {
359+ Type : schema .TypeString ,
360+ Computed : true ,
361+ Description : "The subdomain of the DNS zone." ,
362+ },
363+ "ns" : {
364+ Type : schema .TypeList ,
365+ Computed : true ,
366+ Elem : & schema.Schema {Type : schema .TypeString },
367+ Description : "List of name servers (NS) of the DNS zone." ,
368+ },
369+ "ns_default" : {
370+ Type : schema .TypeList ,
371+ Computed : true ,
372+ Elem : & schema.Schema {Type : schema .TypeString },
373+ Description : "List of default name servers of the DNS zone." ,
374+ },
375+ "ns_master" : {
376+ Type : schema .TypeList ,
377+ Computed : true ,
378+ Elem : & schema.Schema {Type : schema .TypeString },
379+ Description : "List of master name servers of the DNS zone." ,
380+ },
381+ "status" : {
382+ Type : schema .TypeString ,
383+ Computed : true ,
384+ Description : "The status of the DNS zone." ,
385+ },
386+ "message" : {
387+ Type : schema .TypeString ,
388+ Computed : true ,
389+ Description : "Additional message for the DNS zone." ,
390+ },
391+ "updated_at" : {
392+ Type : schema .TypeString ,
393+ Computed : true ,
394+ Description : "The last updated timestamp of the DNS zone." ,
395+ },
396+ "project_id" : {
397+ Type : schema .TypeString ,
398+ Computed : true ,
399+ Description : "The project ID associated with the DNS zone." ,
400+ },
401+ },
402+ },
403+ },
404404 },
405405 },
406406 },
0 commit comments