pulumiverse-scaleway 1.16.0a1730122985__py3-none-any.whl → 1.17.0a1730194779__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pulumiverse-scaleway might be problematic. Click here for more details.

Files changed (34) hide show
  1. pulumiverse_scaleway/__init__.py +10 -0
  2. pulumiverse_scaleway/_inputs.py +165 -60
  3. pulumiverse_scaleway/block_snapshot.py +37 -27
  4. pulumiverse_scaleway/block_volume.py +49 -43
  5. pulumiverse_scaleway/cockpit.py +39 -24
  6. pulumiverse_scaleway/cockpit_alert_manager.py +42 -38
  7. pulumiverse_scaleway/cockpit_grafana_user.py +39 -31
  8. pulumiverse_scaleway/cockpit_source.py +86 -50
  9. pulumiverse_scaleway/cockpit_token.py +45 -27
  10. pulumiverse_scaleway/database_instance.py +13 -8
  11. pulumiverse_scaleway/domain_record.py +88 -46
  12. pulumiverse_scaleway/domain_zone.py +47 -75
  13. pulumiverse_scaleway/get_block_snapshot.py +16 -12
  14. pulumiverse_scaleway/get_block_volume.py +10 -8
  15. pulumiverse_scaleway/get_cockpit.py +44 -19
  16. pulumiverse_scaleway/get_cockpit_plan.py +18 -6
  17. pulumiverse_scaleway/get_domain_record.py +40 -34
  18. pulumiverse_scaleway/get_domain_zone.py +12 -36
  19. pulumiverse_scaleway/get_mnq_sns.py +150 -0
  20. pulumiverse_scaleway/get_secret.py +77 -29
  21. pulumiverse_scaleway/get_secret_version.py +75 -38
  22. pulumiverse_scaleway/iam_policy.py +46 -0
  23. pulumiverse_scaleway/instance_server.py +56 -4
  24. pulumiverse_scaleway/loadbalancer_frontend.py +4 -4
  25. pulumiverse_scaleway/outputs.py +169 -55
  26. pulumiverse_scaleway/pulumi-plugin.json +1 -1
  27. pulumiverse_scaleway/secret.py +162 -59
  28. pulumiverse_scaleway/secret_version.py +59 -54
  29. pulumiverse_scaleway/tem_domain.py +9 -4
  30. pulumiverse_scaleway/tem_webhook.py +640 -0
  31. {pulumiverse_scaleway-1.16.0a1730122985.dist-info → pulumiverse_scaleway-1.17.0a1730194779.dist-info}/METADATA +1 -1
  32. {pulumiverse_scaleway-1.16.0a1730122985.dist-info → pulumiverse_scaleway-1.17.0a1730194779.dist-info}/RECORD +34 -32
  33. {pulumiverse_scaleway-1.16.0a1730122985.dist-info → pulumiverse_scaleway-1.17.0a1730194779.dist-info}/WHEEL +0 -0
  34. {pulumiverse_scaleway-1.16.0a1730122985.dist-info → pulumiverse_scaleway-1.17.0a1730194779.dist-info}/top_level.txt +0 -0
@@ -35,14 +35,14 @@ class DomainRecordArgs:
35
35
  weighteds: Optional[pulumi.Input[Sequence[pulumi.Input['DomainRecordWeightedArgs']]]] = None):
36
36
  """
37
37
  The set of arguments for constructing a DomainRecord resource.
38
- :param pulumi.Input[str] data: The content of the record (an IPv4 for an `A`, a string for a `TXT`...).
39
- :param pulumi.Input[str] dns_zone: The DNS Zone of the domain. If the DNS zone doesn't exist, it will be automatically created.
38
+ :param pulumi.Input[str] data: The content of the record (an IPv4 for an `A` record, a string for a `TXT` record, etc.).
39
+ :param pulumi.Input[str] dns_zone: The DNS zone of the domain. If the domain has no DNS zone, one will be automatically created.
40
40
  :param pulumi.Input[str] type: The type of the record (`A`, `AAAA`, `MX`, `CNAME`, `DNAME`, `ALIAS`, `NS`, `PTR`, `SRV`, `TXT`, `TLSA`, or `CAA`).
41
41
  :param pulumi.Input['DomainRecordGeoIpArgs'] geo_ip: Return record based on client localisation
42
42
  :param pulumi.Input['DomainRecordHttpServiceArgs'] http_service: Return record based on client localisation
43
- :param pulumi.Input[bool] keep_empty_zone: When destroying a resource, if only NS records remain and this is set to `false`, the zone will be deleted. Please note, each zone not deleted will [cost you money](https://www.scaleway.com/en/dns/)
43
+ :param pulumi.Input[bool] keep_empty_zone: When destroying a resource, if only NS records remain and this is set to `false`, the zone will be deleted. Note that each zone not deleted will [be billed](https://www.scaleway.com/en/dns/).
44
44
  :param pulumi.Input[str] name: The name of the record (can be an empty string for a root record).
45
- :param pulumi.Input[int] priority: The priority of the record (mostly used with an `MX` record)
45
+ :param pulumi.Input[int] priority: The priority of the record (mostly used with an `MX` record).
46
46
  :param pulumi.Input[str] project_id: The project_id you want to attach the resource to
47
47
  :param pulumi.Input[int] ttl: Time To Live of the record in seconds.
48
48
  :param pulumi.Input[Sequence[pulumi.Input['DomainRecordViewArgs']]] views: Return record based on client subnet
@@ -74,7 +74,7 @@ class DomainRecordArgs:
74
74
  @pulumi.getter
75
75
  def data(self) -> pulumi.Input[str]:
76
76
  """
77
- The content of the record (an IPv4 for an `A`, a string for a `TXT`...).
77
+ The content of the record (an IPv4 for an `A` record, a string for a `TXT` record, etc.).
78
78
  """
79
79
  return pulumi.get(self, "data")
80
80
 
@@ -86,7 +86,7 @@ class DomainRecordArgs:
86
86
  @pulumi.getter(name="dnsZone")
87
87
  def dns_zone(self) -> pulumi.Input[str]:
88
88
  """
89
- The DNS Zone of the domain. If the DNS zone doesn't exist, it will be automatically created.
89
+ The DNS zone of the domain. If the domain has no DNS zone, one will be automatically created.
90
90
  """
91
91
  return pulumi.get(self, "dns_zone")
92
92
 
@@ -134,7 +134,7 @@ class DomainRecordArgs:
134
134
  @pulumi.getter(name="keepEmptyZone")
135
135
  def keep_empty_zone(self) -> Optional[pulumi.Input[bool]]:
136
136
  """
137
- When destroying a resource, if only NS records remain and this is set to `false`, the zone will be deleted. Please note, each zone not deleted will [cost you money](https://www.scaleway.com/en/dns/)
137
+ When destroying a resource, if only NS records remain and this is set to `false`, the zone will be deleted. Note that each zone not deleted will [be billed](https://www.scaleway.com/en/dns/).
138
138
  """
139
139
  return pulumi.get(self, "keep_empty_zone")
140
140
 
@@ -158,7 +158,7 @@ class DomainRecordArgs:
158
158
  @pulumi.getter
159
159
  def priority(self) -> Optional[pulumi.Input[int]]:
160
160
  """
161
- The priority of the record (mostly used with an `MX` record)
161
+ The priority of the record (mostly used with an `MX` record).
162
162
  """
163
163
  return pulumi.get(self, "priority")
164
164
 
@@ -234,14 +234,14 @@ class _DomainRecordState:
234
234
  weighteds: Optional[pulumi.Input[Sequence[pulumi.Input['DomainRecordWeightedArgs']]]] = None):
235
235
  """
236
236
  Input properties used for looking up and filtering DomainRecord resources.
237
- :param pulumi.Input[str] data: The content of the record (an IPv4 for an `A`, a string for a `TXT`...).
238
- :param pulumi.Input[str] dns_zone: The DNS Zone of the domain. If the DNS zone doesn't exist, it will be automatically created.
237
+ :param pulumi.Input[str] data: The content of the record (an IPv4 for an `A` record, a string for a `TXT` record, etc.).
238
+ :param pulumi.Input[str] dns_zone: The DNS zone of the domain. If the domain has no DNS zone, one will be automatically created.
239
239
  :param pulumi.Input[str] fqdn: The FQDN of the record.
240
240
  :param pulumi.Input['DomainRecordGeoIpArgs'] geo_ip: Return record based on client localisation
241
241
  :param pulumi.Input['DomainRecordHttpServiceArgs'] http_service: Return record based on client localisation
242
- :param pulumi.Input[bool] keep_empty_zone: When destroying a resource, if only NS records remain and this is set to `false`, the zone will be deleted. Please note, each zone not deleted will [cost you money](https://www.scaleway.com/en/dns/)
242
+ :param pulumi.Input[bool] keep_empty_zone: When destroying a resource, if only NS records remain and this is set to `false`, the zone will be deleted. Note that each zone not deleted will [be billed](https://www.scaleway.com/en/dns/).
243
243
  :param pulumi.Input[str] name: The name of the record (can be an empty string for a root record).
244
- :param pulumi.Input[int] priority: The priority of the record (mostly used with an `MX` record)
244
+ :param pulumi.Input[int] priority: The priority of the record (mostly used with an `MX` record).
245
245
  :param pulumi.Input[str] project_id: The project_id you want to attach the resource to
246
246
  :param pulumi.Input[bool] root_zone: Does the DNS zone is the root zone or not
247
247
  :param pulumi.Input[int] ttl: Time To Live of the record in seconds.
@@ -282,7 +282,7 @@ class _DomainRecordState:
282
282
  @pulumi.getter
283
283
  def data(self) -> Optional[pulumi.Input[str]]:
284
284
  """
285
- The content of the record (an IPv4 for an `A`, a string for a `TXT`...).
285
+ The content of the record (an IPv4 for an `A` record, a string for a `TXT` record, etc.).
286
286
  """
287
287
  return pulumi.get(self, "data")
288
288
 
@@ -294,7 +294,7 @@ class _DomainRecordState:
294
294
  @pulumi.getter(name="dnsZone")
295
295
  def dns_zone(self) -> Optional[pulumi.Input[str]]:
296
296
  """
297
- The DNS Zone of the domain. If the DNS zone doesn't exist, it will be automatically created.
297
+ The DNS zone of the domain. If the domain has no DNS zone, one will be automatically created.
298
298
  """
299
299
  return pulumi.get(self, "dns_zone")
300
300
 
@@ -342,7 +342,7 @@ class _DomainRecordState:
342
342
  @pulumi.getter(name="keepEmptyZone")
343
343
  def keep_empty_zone(self) -> Optional[pulumi.Input[bool]]:
344
344
  """
345
- When destroying a resource, if only NS records remain and this is set to `false`, the zone will be deleted. Please note, each zone not deleted will [cost you money](https://www.scaleway.com/en/dns/)
345
+ When destroying a resource, if only NS records remain and this is set to `false`, the zone will be deleted. Note that each zone not deleted will [be billed](https://www.scaleway.com/en/dns/).
346
346
  """
347
347
  return pulumi.get(self, "keep_empty_zone")
348
348
 
@@ -366,7 +366,7 @@ class _DomainRecordState:
366
366
  @pulumi.getter
367
367
  def priority(self) -> Optional[pulumi.Input[int]]:
368
368
  """
369
- The priority of the record (mostly used with an `MX` record)
369
+ The priority of the record (mostly used with an `MX` record).
370
370
  """
371
371
  return pulumi.get(self, "priority")
372
372
 
@@ -466,12 +466,19 @@ class DomainRecord(pulumi.CustomResource):
466
466
  weighteds: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DomainRecordWeightedArgs', 'DomainRecordWeightedArgsDict']]]]] = None,
467
467
  __props__=None):
468
468
  """
469
- Creates and manages Scaleway Domain record.\\
470
- For more information, see [the documentation](https://www.scaleway.com/en/docs/network/domains-and-dns/how-to/manage-dns-records/).
469
+ The `DomainRecord` resource allows you to create and manage DNS records for Scaleway domains.
470
+
471
+ Refer to the Domains and DNS [product documentation](https://www.scaleway.com/en/docs/network/domains-and-dns/) and [API documentation](https://www.scaleway.com/en/developers/api/domains-and-dns/) for more information.
471
472
 
472
473
  ## Example Usage
473
474
 
474
- ### Basic
475
+ ### Create basic DNS records
476
+
477
+ The folllowing commands allow you to:
478
+
479
+ - create an A record for the `www.domain.tld` domain, pointing to `1.2.3.4` and another one pointing to `1.2.3.5`
480
+
481
+ - create an MX record with the `mx.online.net.` mail server and a priority of 10, and another one with the `mx-cache.online.net.` mail server and a priority of 20
475
482
 
476
483
  ```python
477
484
  import pulumi
@@ -505,7 +512,17 @@ class DomainRecord(pulumi.CustomResource):
505
512
  priority=20)
506
513
  ```
507
514
 
508
- ### With dynamic records
515
+ ### Create dynamic records
516
+
517
+ The folllowing commands allow you to:
518
+
519
+ - create a Geo IP record for `images.domain.tld` that points to different IPs based on the user's location: `1.2.3.5` for users in France (EU), and `4.3.2.1` for users in North America (NA)
520
+
521
+ - create an HTTP service record for `app.domain.tld` that checks the health of specified IPs and responds based on their status.
522
+
523
+ - create view-based records for `db.domain.tld` that resolve differently based on the client's subnet.
524
+
525
+ - create a weighted record for `web.domain.tld` that directs traffic to different IPs based on their weights.
509
526
 
510
527
  ```python
511
528
  import pulumi
@@ -580,7 +597,12 @@ class DomainRecord(pulumi.CustomResource):
580
597
  ])
581
598
  ```
582
599
 
583
- ### Create an instance and add records with the new instance IP
600
+ ### Create an Instance and add records with the new Instance IP
601
+
602
+ The following commands allow you to:
603
+
604
+ - create a Scaleway Instance
605
+ - assign The Instance's IP address to various DNS records for a specified DNS zone
584
606
 
585
607
  ```python
586
608
  import pulumi
@@ -626,14 +648,13 @@ class DomainRecord(pulumi.CustomResource):
626
648
 
627
649
  ## Multiple records
628
650
 
629
- Some record types can have multiple `data` with the same `name` (eg: `A`, `AAAA`, `MX`, `NS`...).\\
630
- You can duplicate a resource `DomainRecord` with the same `name`, the records will be added.
651
+ Some record types can have multiple data with the same name (e.g., `A`, `AAAA`, `MX`, `NS`, etc.). You can duplicate a `DomainRecord` resource with the same `name`, and the records will be added.
631
652
 
632
- Please note, some record (eg: `CNAME`, Multiple dynamic records of different types...) has to be unique.
653
+ Note however, that some records (e.g., CNAME, multiple dynamic records of different types) must be unique.
633
654
 
634
655
  ## Import
635
656
 
636
- Record can be imported using the `{dns_zone}/{id}`, e.g.
657
+ This section explains how to import a record using the `{dns_zone}/{id}` format.
637
658
 
638
659
  bash
639
660
 
@@ -643,13 +664,13 @@ class DomainRecord(pulumi.CustomResource):
643
664
 
644
665
  :param str resource_name: The name of the resource.
645
666
  :param pulumi.ResourceOptions opts: Options for the resource.
646
- :param pulumi.Input[str] data: The content of the record (an IPv4 for an `A`, a string for a `TXT`...).
647
- :param pulumi.Input[str] dns_zone: The DNS Zone of the domain. If the DNS zone doesn't exist, it will be automatically created.
667
+ :param pulumi.Input[str] data: The content of the record (an IPv4 for an `A` record, a string for a `TXT` record, etc.).
668
+ :param pulumi.Input[str] dns_zone: The DNS zone of the domain. If the domain has no DNS zone, one will be automatically created.
648
669
  :param pulumi.Input[Union['DomainRecordGeoIpArgs', 'DomainRecordGeoIpArgsDict']] geo_ip: Return record based on client localisation
649
670
  :param pulumi.Input[Union['DomainRecordHttpServiceArgs', 'DomainRecordHttpServiceArgsDict']] http_service: Return record based on client localisation
650
- :param pulumi.Input[bool] keep_empty_zone: When destroying a resource, if only NS records remain and this is set to `false`, the zone will be deleted. Please note, each zone not deleted will [cost you money](https://www.scaleway.com/en/dns/)
671
+ :param pulumi.Input[bool] keep_empty_zone: When destroying a resource, if only NS records remain and this is set to `false`, the zone will be deleted. Note that each zone not deleted will [be billed](https://www.scaleway.com/en/dns/).
651
672
  :param pulumi.Input[str] name: The name of the record (can be an empty string for a root record).
652
- :param pulumi.Input[int] priority: The priority of the record (mostly used with an `MX` record)
673
+ :param pulumi.Input[int] priority: The priority of the record (mostly used with an `MX` record).
653
674
  :param pulumi.Input[str] project_id: The project_id you want to attach the resource to
654
675
  :param pulumi.Input[int] ttl: Time To Live of the record in seconds.
655
676
  :param pulumi.Input[str] type: The type of the record (`A`, `AAAA`, `MX`, `CNAME`, `DNAME`, `ALIAS`, `NS`, `PTR`, `SRV`, `TXT`, `TLSA`, or `CAA`).
@@ -663,12 +684,19 @@ class DomainRecord(pulumi.CustomResource):
663
684
  args: DomainRecordArgs,
664
685
  opts: Optional[pulumi.ResourceOptions] = None):
665
686
  """
666
- Creates and manages Scaleway Domain record.\\
667
- For more information, see [the documentation](https://www.scaleway.com/en/docs/network/domains-and-dns/how-to/manage-dns-records/).
687
+ The `DomainRecord` resource allows you to create and manage DNS records for Scaleway domains.
688
+
689
+ Refer to the Domains and DNS [product documentation](https://www.scaleway.com/en/docs/network/domains-and-dns/) and [API documentation](https://www.scaleway.com/en/developers/api/domains-and-dns/) for more information.
668
690
 
669
691
  ## Example Usage
670
692
 
671
- ### Basic
693
+ ### Create basic DNS records
694
+
695
+ The folllowing commands allow you to:
696
+
697
+ - create an A record for the `www.domain.tld` domain, pointing to `1.2.3.4` and another one pointing to `1.2.3.5`
698
+
699
+ - create an MX record with the `mx.online.net.` mail server and a priority of 10, and another one with the `mx-cache.online.net.` mail server and a priority of 20
672
700
 
673
701
  ```python
674
702
  import pulumi
@@ -702,7 +730,17 @@ class DomainRecord(pulumi.CustomResource):
702
730
  priority=20)
703
731
  ```
704
732
 
705
- ### With dynamic records
733
+ ### Create dynamic records
734
+
735
+ The folllowing commands allow you to:
736
+
737
+ - create a Geo IP record for `images.domain.tld` that points to different IPs based on the user's location: `1.2.3.5` for users in France (EU), and `4.3.2.1` for users in North America (NA)
738
+
739
+ - create an HTTP service record for `app.domain.tld` that checks the health of specified IPs and responds based on their status.
740
+
741
+ - create view-based records for `db.domain.tld` that resolve differently based on the client's subnet.
742
+
743
+ - create a weighted record for `web.domain.tld` that directs traffic to different IPs based on their weights.
706
744
 
707
745
  ```python
708
746
  import pulumi
@@ -777,7 +815,12 @@ class DomainRecord(pulumi.CustomResource):
777
815
  ])
778
816
  ```
779
817
 
780
- ### Create an instance and add records with the new instance IP
818
+ ### Create an Instance and add records with the new Instance IP
819
+
820
+ The following commands allow you to:
821
+
822
+ - create a Scaleway Instance
823
+ - assign The Instance's IP address to various DNS records for a specified DNS zone
781
824
 
782
825
  ```python
783
826
  import pulumi
@@ -823,14 +866,13 @@ class DomainRecord(pulumi.CustomResource):
823
866
 
824
867
  ## Multiple records
825
868
 
826
- Some record types can have multiple `data` with the same `name` (eg: `A`, `AAAA`, `MX`, `NS`...).\\
827
- You can duplicate a resource `DomainRecord` with the same `name`, the records will be added.
869
+ Some record types can have multiple data with the same name (e.g., `A`, `AAAA`, `MX`, `NS`, etc.). You can duplicate a `DomainRecord` resource with the same `name`, and the records will be added.
828
870
 
829
- Please note, some record (eg: `CNAME`, Multiple dynamic records of different types...) has to be unique.
871
+ Note however, that some records (e.g., CNAME, multiple dynamic records of different types) must be unique.
830
872
 
831
873
  ## Import
832
874
 
833
- Record can be imported using the `{dns_zone}/{id}`, e.g.
875
+ This section explains how to import a record using the `{dns_zone}/{id}` format.
834
876
 
835
877
  bash
836
878
 
@@ -925,14 +967,14 @@ class DomainRecord(pulumi.CustomResource):
925
967
  :param str resource_name: The unique name of the resulting resource.
926
968
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
927
969
  :param pulumi.ResourceOptions opts: Options for the resource.
928
- :param pulumi.Input[str] data: The content of the record (an IPv4 for an `A`, a string for a `TXT`...).
929
- :param pulumi.Input[str] dns_zone: The DNS Zone of the domain. If the DNS zone doesn't exist, it will be automatically created.
970
+ :param pulumi.Input[str] data: The content of the record (an IPv4 for an `A` record, a string for a `TXT` record, etc.).
971
+ :param pulumi.Input[str] dns_zone: The DNS zone of the domain. If the domain has no DNS zone, one will be automatically created.
930
972
  :param pulumi.Input[str] fqdn: The FQDN of the record.
931
973
  :param pulumi.Input[Union['DomainRecordGeoIpArgs', 'DomainRecordGeoIpArgsDict']] geo_ip: Return record based on client localisation
932
974
  :param pulumi.Input[Union['DomainRecordHttpServiceArgs', 'DomainRecordHttpServiceArgsDict']] http_service: Return record based on client localisation
933
- :param pulumi.Input[bool] keep_empty_zone: When destroying a resource, if only NS records remain and this is set to `false`, the zone will be deleted. Please note, each zone not deleted will [cost you money](https://www.scaleway.com/en/dns/)
975
+ :param pulumi.Input[bool] keep_empty_zone: When destroying a resource, if only NS records remain and this is set to `false`, the zone will be deleted. Note that each zone not deleted will [be billed](https://www.scaleway.com/en/dns/).
934
976
  :param pulumi.Input[str] name: The name of the record (can be an empty string for a root record).
935
- :param pulumi.Input[int] priority: The priority of the record (mostly used with an `MX` record)
977
+ :param pulumi.Input[int] priority: The priority of the record (mostly used with an `MX` record).
936
978
  :param pulumi.Input[str] project_id: The project_id you want to attach the resource to
937
979
  :param pulumi.Input[bool] root_zone: Does the DNS zone is the root zone or not
938
980
  :param pulumi.Input[int] ttl: Time To Live of the record in seconds.
@@ -964,7 +1006,7 @@ class DomainRecord(pulumi.CustomResource):
964
1006
  @pulumi.getter
965
1007
  def data(self) -> pulumi.Output[str]:
966
1008
  """
967
- The content of the record (an IPv4 for an `A`, a string for a `TXT`...).
1009
+ The content of the record (an IPv4 for an `A` record, a string for a `TXT` record, etc.).
968
1010
  """
969
1011
  return pulumi.get(self, "data")
970
1012
 
@@ -972,7 +1014,7 @@ class DomainRecord(pulumi.CustomResource):
972
1014
  @pulumi.getter(name="dnsZone")
973
1015
  def dns_zone(self) -> pulumi.Output[str]:
974
1016
  """
975
- The DNS Zone of the domain. If the DNS zone doesn't exist, it will be automatically created.
1017
+ The DNS zone of the domain. If the domain has no DNS zone, one will be automatically created.
976
1018
  """
977
1019
  return pulumi.get(self, "dns_zone")
978
1020
 
@@ -1004,7 +1046,7 @@ class DomainRecord(pulumi.CustomResource):
1004
1046
  @pulumi.getter(name="keepEmptyZone")
1005
1047
  def keep_empty_zone(self) -> pulumi.Output[Optional[bool]]:
1006
1048
  """
1007
- When destroying a resource, if only NS records remain and this is set to `false`, the zone will be deleted. Please note, each zone not deleted will [cost you money](https://www.scaleway.com/en/dns/)
1049
+ When destroying a resource, if only NS records remain and this is set to `false`, the zone will be deleted. Note that each zone not deleted will [be billed](https://www.scaleway.com/en/dns/).
1008
1050
  """
1009
1051
  return pulumi.get(self, "keep_empty_zone")
1010
1052
 
@@ -1020,7 +1062,7 @@ class DomainRecord(pulumi.CustomResource):
1020
1062
  @pulumi.getter
1021
1063
  def priority(self) -> pulumi.Output[int]:
1022
1064
  """
1023
- The priority of the record (mostly used with an `MX` record)
1065
+ The priority of the record (mostly used with an `MX` record).
1024
1066
  """
1025
1067
  return pulumi.get(self, "priority")
1026
1068
 
@@ -24,9 +24,9 @@ class DomainZoneArgs:
24
24
  project_id: Optional[pulumi.Input[str]] = None):
25
25
  """
26
26
  The set of arguments for constructing a DomainZone resource.
27
- :param pulumi.Input[str] domain: The domain where the DNS zone will be created.
28
- :param pulumi.Input[str] subdomain: The subdomain(zone name) to create in the domain.
29
- :param pulumi.Input[str] project_id: `project_id`) The ID of the project the domain is associated with.
27
+ :param pulumi.Input[str] domain: The main domain where the DNS zone will be created.
28
+ :param pulumi.Input[str] subdomain: The name of the subdomain (zone name) to create within the domain.
29
+ :param pulumi.Input[str] project_id: `project_id`) The ID of the Project associated with the domain.
30
30
  """
31
31
  pulumi.set(__self__, "domain", domain)
32
32
  pulumi.set(__self__, "subdomain", subdomain)
@@ -37,7 +37,7 @@ class DomainZoneArgs:
37
37
  @pulumi.getter
38
38
  def domain(self) -> pulumi.Input[str]:
39
39
  """
40
- The domain where the DNS zone will be created.
40
+ The main domain where the DNS zone will be created.
41
41
  """
42
42
  return pulumi.get(self, "domain")
43
43
 
@@ -49,7 +49,7 @@ class DomainZoneArgs:
49
49
  @pulumi.getter
50
50
  def subdomain(self) -> pulumi.Input[str]:
51
51
  """
52
- The subdomain(zone name) to create in the domain.
52
+ The name of the subdomain (zone name) to create within the domain.
53
53
  """
54
54
  return pulumi.get(self, "subdomain")
55
55
 
@@ -61,7 +61,7 @@ class DomainZoneArgs:
61
61
  @pulumi.getter(name="projectId")
62
62
  def project_id(self) -> Optional[pulumi.Input[str]]:
63
63
  """
64
- `project_id`) The ID of the project the domain is associated with.
64
+ `project_id`) The ID of the Project associated with the domain.
65
65
  """
66
66
  return pulumi.get(self, "project_id")
67
67
 
@@ -84,15 +84,15 @@ class _DomainZoneState:
84
84
  updated_at: Optional[pulumi.Input[str]] = None):
85
85
  """
86
86
  Input properties used for looking up and filtering DomainZone resources.
87
- :param pulumi.Input[str] domain: The domain where the DNS zone will be created.
88
- :param pulumi.Input[str] message: Message
89
- :param pulumi.Input[Sequence[pulumi.Input[str]]] ns: NameServer list for zone.
90
- :param pulumi.Input[Sequence[pulumi.Input[str]]] ns_defaults: NameServer default list for zone.
91
- :param pulumi.Input[Sequence[pulumi.Input[str]]] ns_masters: NameServer master list for zone.
92
- :param pulumi.Input[str] project_id: `project_id`) The ID of the project the domain is associated with.
93
- :param pulumi.Input[str] status: The domain zone status.
94
- :param pulumi.Input[str] subdomain: The subdomain(zone name) to create in the domain.
95
- :param pulumi.Input[str] updated_at: The date and time of the last update of the DNS zone.
87
+ :param pulumi.Input[str] domain: The main domain where the DNS zone will be created.
88
+ :param pulumi.Input[str] message: Message.
89
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] ns: The list of same servers for the zone.
90
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] ns_defaults: The default list of same servers for the zone.
91
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] ns_masters: The master list of same servers for the zone.
92
+ :param pulumi.Input[str] project_id: `project_id`) The ID of the Project associated with the domain.
93
+ :param pulumi.Input[str] status: The status of the domain zone.
94
+ :param pulumi.Input[str] subdomain: The name of the subdomain (zone name) to create within the domain.
95
+ :param pulumi.Input[str] updated_at: The date and time at which the DNS zone was last updated.
96
96
  """
97
97
  if domain is not None:
98
98
  pulumi.set(__self__, "domain", domain)
@@ -117,7 +117,7 @@ class _DomainZoneState:
117
117
  @pulumi.getter
118
118
  def domain(self) -> Optional[pulumi.Input[str]]:
119
119
  """
120
- The domain where the DNS zone will be created.
120
+ The main domain where the DNS zone will be created.
121
121
  """
122
122
  return pulumi.get(self, "domain")
123
123
 
@@ -129,7 +129,7 @@ class _DomainZoneState:
129
129
  @pulumi.getter
130
130
  def message(self) -> Optional[pulumi.Input[str]]:
131
131
  """
132
- Message
132
+ Message.
133
133
  """
134
134
  return pulumi.get(self, "message")
135
135
 
@@ -141,7 +141,7 @@ class _DomainZoneState:
141
141
  @pulumi.getter
142
142
  def ns(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
143
143
  """
144
- NameServer list for zone.
144
+ The list of same servers for the zone.
145
145
  """
146
146
  return pulumi.get(self, "ns")
147
147
 
@@ -153,7 +153,7 @@ class _DomainZoneState:
153
153
  @pulumi.getter(name="nsDefaults")
154
154
  def ns_defaults(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
155
155
  """
156
- NameServer default list for zone.
156
+ The default list of same servers for the zone.
157
157
  """
158
158
  return pulumi.get(self, "ns_defaults")
159
159
 
@@ -165,7 +165,7 @@ class _DomainZoneState:
165
165
  @pulumi.getter(name="nsMasters")
166
166
  def ns_masters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
167
167
  """
168
- NameServer master list for zone.
168
+ The master list of same servers for the zone.
169
169
  """
170
170
  return pulumi.get(self, "ns_masters")
171
171
 
@@ -177,7 +177,7 @@ class _DomainZoneState:
177
177
  @pulumi.getter(name="projectId")
178
178
  def project_id(self) -> Optional[pulumi.Input[str]]:
179
179
  """
180
- `project_id`) The ID of the project the domain is associated with.
180
+ `project_id`) The ID of the Project associated with the domain.
181
181
  """
182
182
  return pulumi.get(self, "project_id")
183
183
 
@@ -189,7 +189,7 @@ class _DomainZoneState:
189
189
  @pulumi.getter
190
190
  def status(self) -> Optional[pulumi.Input[str]]:
191
191
  """
192
- The domain zone status.
192
+ The status of the domain zone.
193
193
  """
194
194
  return pulumi.get(self, "status")
195
195
 
@@ -201,7 +201,7 @@ class _DomainZoneState:
201
201
  @pulumi.getter
202
202
  def subdomain(self) -> Optional[pulumi.Input[str]]:
203
203
  """
204
- The subdomain(zone name) to create in the domain.
204
+ The name of the subdomain (zone name) to create within the domain.
205
205
  """
206
206
  return pulumi.get(self, "subdomain")
207
207
 
@@ -213,7 +213,7 @@ class _DomainZoneState:
213
213
  @pulumi.getter(name="updatedAt")
214
214
  def updated_at(self) -> Optional[pulumi.Input[str]]:
215
215
  """
216
- The date and time of the last update of the DNS zone.
216
+ The date and time at which the DNS zone was last updated.
217
217
  """
218
218
  return pulumi.get(self, "updated_at")
219
219
 
@@ -232,23 +232,9 @@ class DomainZone(pulumi.CustomResource):
232
232
  subdomain: Optional[pulumi.Input[str]] = None,
233
233
  __props__=None):
234
234
  """
235
- Creates and manages Scaleway Domain zone.\\
236
- For more information, see [the documentation](https://www.scaleway.com/en/docs/network/domains-and-dns/how-to/configure-dns-zones/).
237
-
238
- ## Example Usage
239
-
240
- ```python
241
- import pulumi
242
- import pulumiverse_scaleway as scaleway
243
-
244
- test = scaleway.DomainZone("test",
245
- domain="scaleway-terraform.com",
246
- subdomain="test")
247
- ```
248
-
249
235
  ## Import
250
236
 
251
- Zone can be imported using the `{subdomain}.{domain}`, e.g.
237
+ This section explains how to import a zone using the `{subdomain}.{domain}` format.
252
238
 
253
239
  bash
254
240
 
@@ -258,9 +244,9 @@ class DomainZone(pulumi.CustomResource):
258
244
 
259
245
  :param str resource_name: The name of the resource.
260
246
  :param pulumi.ResourceOptions opts: Options for the resource.
261
- :param pulumi.Input[str] domain: The domain where the DNS zone will be created.
262
- :param pulumi.Input[str] project_id: `project_id`) The ID of the project the domain is associated with.
263
- :param pulumi.Input[str] subdomain: The subdomain(zone name) to create in the domain.
247
+ :param pulumi.Input[str] domain: The main domain where the DNS zone will be created.
248
+ :param pulumi.Input[str] project_id: `project_id`) The ID of the Project associated with the domain.
249
+ :param pulumi.Input[str] subdomain: The name of the subdomain (zone name) to create within the domain.
264
250
  """
265
251
  ...
266
252
  @overload
@@ -269,23 +255,9 @@ class DomainZone(pulumi.CustomResource):
269
255
  args: DomainZoneArgs,
270
256
  opts: Optional[pulumi.ResourceOptions] = None):
271
257
  """
272
- Creates and manages Scaleway Domain zone.\\
273
- For more information, see [the documentation](https://www.scaleway.com/en/docs/network/domains-and-dns/how-to/configure-dns-zones/).
274
-
275
- ## Example Usage
276
-
277
- ```python
278
- import pulumi
279
- import pulumiverse_scaleway as scaleway
280
-
281
- test = scaleway.DomainZone("test",
282
- domain="scaleway-terraform.com",
283
- subdomain="test")
284
- ```
285
-
286
258
  ## Import
287
259
 
288
- Zone can be imported using the `{subdomain}.{domain}`, e.g.
260
+ This section explains how to import a zone using the `{subdomain}.{domain}` format.
289
261
 
290
262
  bash
291
263
 
@@ -359,15 +331,15 @@ class DomainZone(pulumi.CustomResource):
359
331
  :param str resource_name: The unique name of the resulting resource.
360
332
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
361
333
  :param pulumi.ResourceOptions opts: Options for the resource.
362
- :param pulumi.Input[str] domain: The domain where the DNS zone will be created.
363
- :param pulumi.Input[str] message: Message
364
- :param pulumi.Input[Sequence[pulumi.Input[str]]] ns: NameServer list for zone.
365
- :param pulumi.Input[Sequence[pulumi.Input[str]]] ns_defaults: NameServer default list for zone.
366
- :param pulumi.Input[Sequence[pulumi.Input[str]]] ns_masters: NameServer master list for zone.
367
- :param pulumi.Input[str] project_id: `project_id`) The ID of the project the domain is associated with.
368
- :param pulumi.Input[str] status: The domain zone status.
369
- :param pulumi.Input[str] subdomain: The subdomain(zone name) to create in the domain.
370
- :param pulumi.Input[str] updated_at: The date and time of the last update of the DNS zone.
334
+ :param pulumi.Input[str] domain: The main domain where the DNS zone will be created.
335
+ :param pulumi.Input[str] message: Message.
336
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] ns: The list of same servers for the zone.
337
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] ns_defaults: The default list of same servers for the zone.
338
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] ns_masters: The master list of same servers for the zone.
339
+ :param pulumi.Input[str] project_id: `project_id`) The ID of the Project associated with the domain.
340
+ :param pulumi.Input[str] status: The status of the domain zone.
341
+ :param pulumi.Input[str] subdomain: The name of the subdomain (zone name) to create within the domain.
342
+ :param pulumi.Input[str] updated_at: The date and time at which the DNS zone was last updated.
371
343
  """
372
344
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
373
345
 
@@ -388,7 +360,7 @@ class DomainZone(pulumi.CustomResource):
388
360
  @pulumi.getter
389
361
  def domain(self) -> pulumi.Output[str]:
390
362
  """
391
- The domain where the DNS zone will be created.
363
+ The main domain where the DNS zone will be created.
392
364
  """
393
365
  return pulumi.get(self, "domain")
394
366
 
@@ -396,7 +368,7 @@ class DomainZone(pulumi.CustomResource):
396
368
  @pulumi.getter
397
369
  def message(self) -> pulumi.Output[str]:
398
370
  """
399
- Message
371
+ Message.
400
372
  """
401
373
  return pulumi.get(self, "message")
402
374
 
@@ -404,7 +376,7 @@ class DomainZone(pulumi.CustomResource):
404
376
  @pulumi.getter
405
377
  def ns(self) -> pulumi.Output[Sequence[str]]:
406
378
  """
407
- NameServer list for zone.
379
+ The list of same servers for the zone.
408
380
  """
409
381
  return pulumi.get(self, "ns")
410
382
 
@@ -412,7 +384,7 @@ class DomainZone(pulumi.CustomResource):
412
384
  @pulumi.getter(name="nsDefaults")
413
385
  def ns_defaults(self) -> pulumi.Output[Sequence[str]]:
414
386
  """
415
- NameServer default list for zone.
387
+ The default list of same servers for the zone.
416
388
  """
417
389
  return pulumi.get(self, "ns_defaults")
418
390
 
@@ -420,7 +392,7 @@ class DomainZone(pulumi.CustomResource):
420
392
  @pulumi.getter(name="nsMasters")
421
393
  def ns_masters(self) -> pulumi.Output[Sequence[str]]:
422
394
  """
423
- NameServer master list for zone.
395
+ The master list of same servers for the zone.
424
396
  """
425
397
  return pulumi.get(self, "ns_masters")
426
398
 
@@ -428,7 +400,7 @@ class DomainZone(pulumi.CustomResource):
428
400
  @pulumi.getter(name="projectId")
429
401
  def project_id(self) -> pulumi.Output[str]:
430
402
  """
431
- `project_id`) The ID of the project the domain is associated with.
403
+ `project_id`) The ID of the Project associated with the domain.
432
404
  """
433
405
  return pulumi.get(self, "project_id")
434
406
 
@@ -436,7 +408,7 @@ class DomainZone(pulumi.CustomResource):
436
408
  @pulumi.getter
437
409
  def status(self) -> pulumi.Output[str]:
438
410
  """
439
- The domain zone status.
411
+ The status of the domain zone.
440
412
  """
441
413
  return pulumi.get(self, "status")
442
414
 
@@ -444,7 +416,7 @@ class DomainZone(pulumi.CustomResource):
444
416
  @pulumi.getter
445
417
  def subdomain(self) -> pulumi.Output[str]:
446
418
  """
447
- The subdomain(zone name) to create in the domain.
419
+ The name of the subdomain (zone name) to create within the domain.
448
420
  """
449
421
  return pulumi.get(self, "subdomain")
450
422
 
@@ -452,7 +424,7 @@ class DomainZone(pulumi.CustomResource):
452
424
  @pulumi.getter(name="updatedAt")
453
425
  def updated_at(self) -> pulumi.Output[str]:
454
426
  """
455
- The date and time of the last update of the DNS zone.
427
+ The date and time at which the DNS zone was last updated.
456
428
  """
457
429
  return pulumi.get(self, "updated_at")
458
430