You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"github.com/stackitcloud/stackit-sdk-go/services/foo"// Import service "foo" from the STACKIT SDK for Go
21
23
"github.com/stackitcloud/stackit-sdk-go/services/foo/wait"// Import service "foo" waiters from the STACKIT SDK for Go (in case the service API has asynchronous endpoints)
@@ -32,13 +34,14 @@ var (
32
34
33
35
// Model is the internal model of the terraform resource
Copy file name to clipboardExpand all lines: docs/data-sources/dns_record_set.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,10 @@ data "stackit_dns_record_set" "example" {
29
29
-`record_set_id` (String) The rr set id.
30
30
-`zone_id` (String) The zone ID to which is dns record set is associated.
31
31
32
+
### Optional
33
+
34
+
-`timeouts` (Attributes) (see [below for nested schema](#nestedatt--timeouts))
35
+
32
36
### Read-Only
33
37
34
38
-`active` (Boolean) Specifies if the record set is active or not.
@@ -41,3 +45,10 @@ data "stackit_dns_record_set" "example" {
41
45
-`state` (String) Record set state.
42
46
-`ttl` (Number) Time to live. E.g. 3600
43
47
-`type` (String) The record set type. E.g. `A` or `CNAME`
48
+
49
+
<aid="nestedatt--timeouts"></a>
50
+
### Nested Schema for `timeouts`
51
+
52
+
Optional:
53
+
54
+
-`read` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Copy file name to clipboardExpand all lines: docs/data-sources/dns_zone.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,7 @@ data "stackit_dns_zone" "example" {
29
29
### Optional
30
30
31
31
-`dns_name` (String) The zone name. E.g. `example.com` (must not end with a trailing dot).
32
+
-`timeouts` (Attributes) (see [below for nested schema](#nestedatt--timeouts))
32
33
-`zone_id` (String) The zone ID.
33
34
34
35
### Read-Only
@@ -52,3 +53,10 @@ data "stackit_dns_zone" "example" {
52
53
-`state` (String) Zone state.
53
54
-`type` (String) Zone type.
54
55
-`visibility` (String) Visibility of the zone.
56
+
57
+
<aid="nestedatt--timeouts"></a>
58
+
### Nested Schema for `timeouts`
59
+
60
+
Optional:
61
+
62
+
-`read` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Copy file name to clipboardExpand all lines: docs/resources/dns_record_set.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,7 @@ import {
44
44
45
45
-`active` (Boolean) Specifies if the record set is active or not. Defaults to `true`
46
46
-`comment` (String) Comment.
47
+
-`timeouts` (Attributes) (see [below for nested schema](#nestedatt--timeouts))
47
48
-`ttl` (Number) Time to live. E.g. 3600
48
49
49
50
### Read-Only
@@ -53,3 +54,13 @@ import {
53
54
-`id` (String) Terraform's internal resource ID. It is structured as "`project_id`,`zone_id`,`record_set_id`".
54
55
-`record_set_id` (String) The rr set id.
55
56
-`state` (String) Record set state.
57
+
58
+
<aid="nestedatt--timeouts"></a>
59
+
### Nested Schema for `timeouts`
60
+
61
+
Optional:
62
+
63
+
-`create` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
64
+
-`delete` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
65
+
-`read` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
66
+
-`update` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Copy file name to clipboardExpand all lines: docs/resources/dns_zone.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,7 @@ import {
53
53
-`primaries` (List of String) Primary name server for secondary zone. E.g. ["1.2.3.4"]
54
54
-`refresh_time` (Number) Refresh time. E.g. 3600
55
55
-`retry_time` (Number) Retry time. E.g. 600
56
+
-`timeouts` (Attributes) (see [below for nested schema](#nestedatt--timeouts))
56
57
-`type` (String) Zone type. Defaults to `primary`. Possible values are: `primary`, `secondary`.
57
58
58
59
### Read-Only
@@ -64,3 +65,13 @@ import {
64
65
-`state` (String) Zone state. E.g. `CREATE_SUCCEEDED`.
65
66
-`visibility` (String) Visibility of the zone. E.g. `public`.
66
67
-`zone_id` (String) The zone ID.
68
+
69
+
<aid="nestedatt--timeouts"></a>
70
+
### Nested Schema for `timeouts`
71
+
72
+
Optional:
73
+
74
+
-`create` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
75
+
-`delete` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
76
+
-`read` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
77
+
-`update` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
DatasourceRegionFallbackDocstring="Uses the `default_region` specified in the provider configuration as a fallback in case no `region` is defined on datasource level."
0 commit comments