pulumi-digitalocean 4.41.0a1742960094__py3-none-any.whl → 4.42.0__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 pulumi-digitalocean might be problematic. Click here for more details.
- pulumi_digitalocean/__init__.py +11 -0
- pulumi_digitalocean/_enums.py +10 -8
- pulumi_digitalocean/_inputs.py +2829 -2713
- pulumi_digitalocean/app.py +64 -63
- pulumi_digitalocean/cdn.py +85 -84
- pulumi_digitalocean/certificate.py +111 -110
- pulumi_digitalocean/config/__init__.py +1 -0
- pulumi_digitalocean/config/__init__.pyi +1 -0
- pulumi_digitalocean/config/vars.py +1 -0
- pulumi_digitalocean/container_registry.py +71 -70
- pulumi_digitalocean/container_registry_docker_credentials.py +57 -56
- pulumi_digitalocean/custom_image.py +141 -140
- pulumi_digitalocean/database_cluster.py +274 -273
- pulumi_digitalocean/database_connection_pool.py +127 -126
- pulumi_digitalocean/database_db.py +29 -28
- pulumi_digitalocean/database_firewall.py +15 -14
- pulumi_digitalocean/database_kafka_config.py +253 -252
- pulumi_digitalocean/database_kafka_topic.py +64 -63
- pulumi_digitalocean/database_mongodb_config.py +85 -84
- pulumi_digitalocean/database_mysql_config.py +393 -392
- pulumi_digitalocean/database_opensearch_config.py +547 -546
- pulumi_digitalocean/database_postgresql_config.py +701 -700
- pulumi_digitalocean/database_redis_config.py +169 -168
- pulumi_digitalocean/database_replica.py +158 -157
- pulumi_digitalocean/database_user.py +71 -70
- pulumi_digitalocean/dns_record.py +148 -147
- pulumi_digitalocean/domain.py +43 -42
- pulumi_digitalocean/droplet.py +312 -311
- pulumi_digitalocean/droplet_autoscale.py +36 -35
- pulumi_digitalocean/droplet_snapshot.py +57 -56
- pulumi_digitalocean/firewall.py +57 -56
- pulumi_digitalocean/floating_ip.py +50 -49
- pulumi_digitalocean/floating_ip_assignment.py +29 -28
- pulumi_digitalocean/get_account.py +9 -8
- pulumi_digitalocean/get_app.py +15 -14
- pulumi_digitalocean/get_certificate.py +13 -12
- pulumi_digitalocean/get_container_registry.py +13 -12
- pulumi_digitalocean/get_database_ca.py +8 -7
- pulumi_digitalocean/get_database_cluster.py +33 -32
- pulumi_digitalocean/get_database_connection_pool.py +22 -21
- pulumi_digitalocean/get_database_replica.py +29 -28
- pulumi_digitalocean/get_database_user.py +17 -16
- pulumi_digitalocean/get_domain.py +10 -9
- pulumi_digitalocean/get_domains.py +2 -1
- pulumi_digitalocean/get_droplet.py +44 -43
- pulumi_digitalocean/get_droplet_autoscale.py +14 -13
- pulumi_digitalocean/get_droplet_snapshot.py +27 -26
- pulumi_digitalocean/get_droplets.py +7 -6
- pulumi_digitalocean/get_firewall.py +20 -19
- pulumi_digitalocean/get_floating_ip.py +10 -9
- pulumi_digitalocean/get_image.py +33 -32
- pulumi_digitalocean/get_images.py +2 -1
- pulumi_digitalocean/get_kubernetes_cluster.py +29 -28
- pulumi_digitalocean/get_kubernetes_versions.py +9 -8
- pulumi_digitalocean/get_load_balancer.py +31 -30
- pulumi_digitalocean/get_partner_attachment.py +170 -0
- pulumi_digitalocean/get_project.py +20 -19
- pulumi_digitalocean/get_projects.py +2 -1
- pulumi_digitalocean/get_record.py +20 -19
- pulumi_digitalocean/get_records.py +7 -6
- pulumi_digitalocean/get_region.py +11 -10
- pulumi_digitalocean/get_regions.py +2 -1
- pulumi_digitalocean/get_reserved_ip.py +10 -9
- pulumi_digitalocean/get_reserved_ipv6.py +10 -9
- pulumi_digitalocean/get_sizes.py +2 -1
- pulumi_digitalocean/get_spaces_bucket.py +15 -14
- pulumi_digitalocean/get_spaces_bucket_object.py +38 -37
- pulumi_digitalocean/get_spaces_bucket_objects.py +35 -34
- pulumi_digitalocean/get_spaces_buckets.py +2 -1
- pulumi_digitalocean/get_spaces_key.py +9 -8
- pulumi_digitalocean/get_ssh_key.py +9 -8
- pulumi_digitalocean/get_ssh_keys.py +2 -1
- pulumi_digitalocean/get_tag.py +13 -12
- pulumi_digitalocean/get_tags.py +2 -1
- pulumi_digitalocean/get_volume.py +23 -22
- pulumi_digitalocean/get_volume_snapshot.py +28 -27
- pulumi_digitalocean/get_vpc.py +21 -20
- pulumi_digitalocean/get_vpc_peering.py +18 -17
- pulumi_digitalocean/kubernetes_cluster.py +225 -224
- pulumi_digitalocean/kubernetes_node_pool.py +134 -133
- pulumi_digitalocean/load_balancer.py +277 -276
- pulumi_digitalocean/monitor_alert.py +120 -119
- pulumi_digitalocean/outputs.py +3099 -3007
- pulumi_digitalocean/partner_attachment.py +433 -0
- pulumi_digitalocean/project.py +113 -112
- pulumi_digitalocean/project_resources.py +29 -28
- pulumi_digitalocean/provider.py +69 -68
- pulumi_digitalocean/pulumi-plugin.json +1 -1
- pulumi_digitalocean/reserved_ip.py +50 -49
- pulumi_digitalocean/reserved_ip_assignment.py +29 -28
- pulumi_digitalocean/reserved_ipv6.py +44 -43
- pulumi_digitalocean/reserved_ipv6_assignment.py +29 -28
- pulumi_digitalocean/spaces_bucket.py +78 -77
- pulumi_digitalocean/spaces_bucket_cors_configuration.py +29 -28
- pulumi_digitalocean/spaces_bucket_object.py +232 -231
- pulumi_digitalocean/spaces_bucket_policy.py +43 -42
- pulumi_digitalocean/spaces_key.py +36 -35
- pulumi_digitalocean/ssh_key.py +36 -35
- pulumi_digitalocean/tag.py +57 -56
- pulumi_digitalocean/uptime_alert.py +85 -84
- pulumi_digitalocean/uptime_check.py +71 -70
- pulumi_digitalocean/volume.py +148 -147
- pulumi_digitalocean/volume_attachment.py +29 -28
- pulumi_digitalocean/volume_snapshot.py +71 -70
- pulumi_digitalocean/vpc.py +78 -77
- pulumi_digitalocean/vpc_peering.py +43 -42
- {pulumi_digitalocean-4.41.0a1742960094.dist-info → pulumi_digitalocean-4.42.0.dist-info}/METADATA +1 -1
- pulumi_digitalocean-4.42.0.dist-info/RECORD +112 -0
- pulumi_digitalocean-4.41.0a1742960094.dist-info/RECORD +0 -110
- {pulumi_digitalocean-4.41.0a1742960094.dist-info → pulumi_digitalocean-4.42.0.dist-info}/WHEEL +0 -0
- {pulumi_digitalocean-4.41.0a1742960094.dist-info → pulumi_digitalocean-4.42.0.dist-info}/top_level.txt +0 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -20,28 +21,28 @@ __all__ = ['DnsRecordArgs', 'DnsRecord']
|
|
|
20
21
|
@pulumi.input_type
|
|
21
22
|
class DnsRecordArgs:
|
|
22
23
|
def __init__(__self__, *,
|
|
23
|
-
domain: pulumi.Input[str],
|
|
24
|
-
type: pulumi.Input[Union[str, 'RecordType']],
|
|
25
|
-
value: pulumi.Input[str],
|
|
26
|
-
flags: Optional[pulumi.Input[int]] = None,
|
|
27
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
28
|
-
port: Optional[pulumi.Input[int]] = None,
|
|
29
|
-
priority: Optional[pulumi.Input[int]] = None,
|
|
30
|
-
tag: Optional[pulumi.Input[str]] = None,
|
|
31
|
-
ttl: Optional[pulumi.Input[int]] = None,
|
|
32
|
-
weight: Optional[pulumi.Input[int]] = None):
|
|
24
|
+
domain: pulumi.Input[builtins.str],
|
|
25
|
+
type: pulumi.Input[Union[builtins.str, 'RecordType']],
|
|
26
|
+
value: pulumi.Input[builtins.str],
|
|
27
|
+
flags: Optional[pulumi.Input[builtins.int]] = None,
|
|
28
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
29
|
+
port: Optional[pulumi.Input[builtins.int]] = None,
|
|
30
|
+
priority: Optional[pulumi.Input[builtins.int]] = None,
|
|
31
|
+
tag: Optional[pulumi.Input[builtins.str]] = None,
|
|
32
|
+
ttl: Optional[pulumi.Input[builtins.int]] = None,
|
|
33
|
+
weight: Optional[pulumi.Input[builtins.int]] = None):
|
|
33
34
|
"""
|
|
34
35
|
The set of arguments for constructing a DnsRecord resource.
|
|
35
|
-
:param pulumi.Input[str] domain: The domain to add the record to.
|
|
36
|
-
:param pulumi.Input[Union[str, 'RecordType']] type: The type of record. Must be one of `A`, `AAAA`, `CAA`, `CNAME`, `MX`, `NS`, `TXT`, or `SRV`.
|
|
37
|
-
:param pulumi.Input[str] value: The value of the record.
|
|
38
|
-
:param pulumi.Input[int] flags: The flags of the record. Only valid when type is `CAA`. Must be between 0 and 255.
|
|
39
|
-
:param pulumi.Input[str] name: The hostname of the record. Use `@` for records on domain's name itself.
|
|
40
|
-
:param pulumi.Input[int] port: The port of the record. Only valid when type is `SRV`. Must be between 1 and 65535.
|
|
41
|
-
:param pulumi.Input[int] priority: The priority of the record. Only valid when type is `MX` or `SRV`. Must be between 0 and 65535.
|
|
42
|
-
:param pulumi.Input[str] tag: The tag of the record. Only valid when type is `CAA`. Must be one of `issue`, `issuewild`, or `iodef`.
|
|
43
|
-
:param pulumi.Input[int] ttl: The time to live for the record, in seconds. Must be at least 0. Defaults to 1800.
|
|
44
|
-
:param pulumi.Input[int] weight: The weight of the record. Only valid when type is `SRV`. Must be between 0 and 65535.
|
|
36
|
+
:param pulumi.Input[builtins.str] domain: The domain to add the record to.
|
|
37
|
+
:param pulumi.Input[Union[builtins.str, 'RecordType']] type: The type of record. Must be one of `A`, `AAAA`, `CAA`, `CNAME`, `MX`, `NS`, `TXT`, or `SRV`.
|
|
38
|
+
:param pulumi.Input[builtins.str] value: The value of the record.
|
|
39
|
+
:param pulumi.Input[builtins.int] flags: The flags of the record. Only valid when type is `CAA`. Must be between 0 and 255.
|
|
40
|
+
:param pulumi.Input[builtins.str] name: The hostname of the record. Use `@` for records on domain's name itself.
|
|
41
|
+
:param pulumi.Input[builtins.int] port: The port of the record. Only valid when type is `SRV`. Must be between 1 and 65535.
|
|
42
|
+
:param pulumi.Input[builtins.int] priority: The priority of the record. Only valid when type is `MX` or `SRV`. Must be between 0 and 65535.
|
|
43
|
+
:param pulumi.Input[builtins.str] tag: The tag of the record. Only valid when type is `CAA`. Must be one of `issue`, `issuewild`, or `iodef`.
|
|
44
|
+
:param pulumi.Input[builtins.int] ttl: The time to live for the record, in seconds. Must be at least 0. Defaults to 1800.
|
|
45
|
+
:param pulumi.Input[builtins.int] weight: The weight of the record. Only valid when type is `SRV`. Must be between 0 and 65535.
|
|
45
46
|
"""
|
|
46
47
|
pulumi.set(__self__, "domain", domain)
|
|
47
48
|
pulumi.set(__self__, "type", type)
|
|
@@ -63,152 +64,152 @@ class DnsRecordArgs:
|
|
|
63
64
|
|
|
64
65
|
@property
|
|
65
66
|
@pulumi.getter
|
|
66
|
-
def domain(self) -> pulumi.Input[str]:
|
|
67
|
+
def domain(self) -> pulumi.Input[builtins.str]:
|
|
67
68
|
"""
|
|
68
69
|
The domain to add the record to.
|
|
69
70
|
"""
|
|
70
71
|
return pulumi.get(self, "domain")
|
|
71
72
|
|
|
72
73
|
@domain.setter
|
|
73
|
-
def domain(self, value: pulumi.Input[str]):
|
|
74
|
+
def domain(self, value: pulumi.Input[builtins.str]):
|
|
74
75
|
pulumi.set(self, "domain", value)
|
|
75
76
|
|
|
76
77
|
@property
|
|
77
78
|
@pulumi.getter
|
|
78
|
-
def type(self) -> pulumi.Input[Union[str, 'RecordType']]:
|
|
79
|
+
def type(self) -> pulumi.Input[Union[builtins.str, 'RecordType']]:
|
|
79
80
|
"""
|
|
80
81
|
The type of record. Must be one of `A`, `AAAA`, `CAA`, `CNAME`, `MX`, `NS`, `TXT`, or `SRV`.
|
|
81
82
|
"""
|
|
82
83
|
return pulumi.get(self, "type")
|
|
83
84
|
|
|
84
85
|
@type.setter
|
|
85
|
-
def type(self, value: pulumi.Input[Union[str, 'RecordType']]):
|
|
86
|
+
def type(self, value: pulumi.Input[Union[builtins.str, 'RecordType']]):
|
|
86
87
|
pulumi.set(self, "type", value)
|
|
87
88
|
|
|
88
89
|
@property
|
|
89
90
|
@pulumi.getter
|
|
90
|
-
def value(self) -> pulumi.Input[str]:
|
|
91
|
+
def value(self) -> pulumi.Input[builtins.str]:
|
|
91
92
|
"""
|
|
92
93
|
The value of the record.
|
|
93
94
|
"""
|
|
94
95
|
return pulumi.get(self, "value")
|
|
95
96
|
|
|
96
97
|
@value.setter
|
|
97
|
-
def value(self, value: pulumi.Input[str]):
|
|
98
|
+
def value(self, value: pulumi.Input[builtins.str]):
|
|
98
99
|
pulumi.set(self, "value", value)
|
|
99
100
|
|
|
100
101
|
@property
|
|
101
102
|
@pulumi.getter
|
|
102
|
-
def flags(self) -> Optional[pulumi.Input[int]]:
|
|
103
|
+
def flags(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
103
104
|
"""
|
|
104
105
|
The flags of the record. Only valid when type is `CAA`. Must be between 0 and 255.
|
|
105
106
|
"""
|
|
106
107
|
return pulumi.get(self, "flags")
|
|
107
108
|
|
|
108
109
|
@flags.setter
|
|
109
|
-
def flags(self, value: Optional[pulumi.Input[int]]):
|
|
110
|
+
def flags(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
110
111
|
pulumi.set(self, "flags", value)
|
|
111
112
|
|
|
112
113
|
@property
|
|
113
114
|
@pulumi.getter
|
|
114
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
115
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
115
116
|
"""
|
|
116
117
|
The hostname of the record. Use `@` for records on domain's name itself.
|
|
117
118
|
"""
|
|
118
119
|
return pulumi.get(self, "name")
|
|
119
120
|
|
|
120
121
|
@name.setter
|
|
121
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
122
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
122
123
|
pulumi.set(self, "name", value)
|
|
123
124
|
|
|
124
125
|
@property
|
|
125
126
|
@pulumi.getter
|
|
126
|
-
def port(self) -> Optional[pulumi.Input[int]]:
|
|
127
|
+
def port(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
127
128
|
"""
|
|
128
129
|
The port of the record. Only valid when type is `SRV`. Must be between 1 and 65535.
|
|
129
130
|
"""
|
|
130
131
|
return pulumi.get(self, "port")
|
|
131
132
|
|
|
132
133
|
@port.setter
|
|
133
|
-
def port(self, value: Optional[pulumi.Input[int]]):
|
|
134
|
+
def port(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
134
135
|
pulumi.set(self, "port", value)
|
|
135
136
|
|
|
136
137
|
@property
|
|
137
138
|
@pulumi.getter
|
|
138
|
-
def priority(self) -> Optional[pulumi.Input[int]]:
|
|
139
|
+
def priority(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
139
140
|
"""
|
|
140
141
|
The priority of the record. Only valid when type is `MX` or `SRV`. Must be between 0 and 65535.
|
|
141
142
|
"""
|
|
142
143
|
return pulumi.get(self, "priority")
|
|
143
144
|
|
|
144
145
|
@priority.setter
|
|
145
|
-
def priority(self, value: Optional[pulumi.Input[int]]):
|
|
146
|
+
def priority(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
146
147
|
pulumi.set(self, "priority", value)
|
|
147
148
|
|
|
148
149
|
@property
|
|
149
150
|
@pulumi.getter
|
|
150
|
-
def tag(self) -> Optional[pulumi.Input[str]]:
|
|
151
|
+
def tag(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
151
152
|
"""
|
|
152
153
|
The tag of the record. Only valid when type is `CAA`. Must be one of `issue`, `issuewild`, or `iodef`.
|
|
153
154
|
"""
|
|
154
155
|
return pulumi.get(self, "tag")
|
|
155
156
|
|
|
156
157
|
@tag.setter
|
|
157
|
-
def tag(self, value: Optional[pulumi.Input[str]]):
|
|
158
|
+
def tag(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
158
159
|
pulumi.set(self, "tag", value)
|
|
159
160
|
|
|
160
161
|
@property
|
|
161
162
|
@pulumi.getter
|
|
162
|
-
def ttl(self) -> Optional[pulumi.Input[int]]:
|
|
163
|
+
def ttl(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
163
164
|
"""
|
|
164
165
|
The time to live for the record, in seconds. Must be at least 0. Defaults to 1800.
|
|
165
166
|
"""
|
|
166
167
|
return pulumi.get(self, "ttl")
|
|
167
168
|
|
|
168
169
|
@ttl.setter
|
|
169
|
-
def ttl(self, value: Optional[pulumi.Input[int]]):
|
|
170
|
+
def ttl(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
170
171
|
pulumi.set(self, "ttl", value)
|
|
171
172
|
|
|
172
173
|
@property
|
|
173
174
|
@pulumi.getter
|
|
174
|
-
def weight(self) -> Optional[pulumi.Input[int]]:
|
|
175
|
+
def weight(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
175
176
|
"""
|
|
176
177
|
The weight of the record. Only valid when type is `SRV`. Must be between 0 and 65535.
|
|
177
178
|
"""
|
|
178
179
|
return pulumi.get(self, "weight")
|
|
179
180
|
|
|
180
181
|
@weight.setter
|
|
181
|
-
def weight(self, value: Optional[pulumi.Input[int]]):
|
|
182
|
+
def weight(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
182
183
|
pulumi.set(self, "weight", value)
|
|
183
184
|
|
|
184
185
|
|
|
185
186
|
@pulumi.input_type
|
|
186
187
|
class _DnsRecordState:
|
|
187
188
|
def __init__(__self__, *,
|
|
188
|
-
domain: Optional[pulumi.Input[str]] = None,
|
|
189
|
-
flags: Optional[pulumi.Input[int]] = None,
|
|
190
|
-
fqdn: Optional[pulumi.Input[str]] = None,
|
|
191
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
192
|
-
port: Optional[pulumi.Input[int]] = None,
|
|
193
|
-
priority: Optional[pulumi.Input[int]] = None,
|
|
194
|
-
tag: Optional[pulumi.Input[str]] = None,
|
|
195
|
-
ttl: Optional[pulumi.Input[int]] = None,
|
|
196
|
-
type: Optional[pulumi.Input[Union[str, 'RecordType']]] = None,
|
|
197
|
-
value: Optional[pulumi.Input[str]] = None,
|
|
198
|
-
weight: Optional[pulumi.Input[int]] = None):
|
|
189
|
+
domain: Optional[pulumi.Input[builtins.str]] = None,
|
|
190
|
+
flags: Optional[pulumi.Input[builtins.int]] = None,
|
|
191
|
+
fqdn: Optional[pulumi.Input[builtins.str]] = None,
|
|
192
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
193
|
+
port: Optional[pulumi.Input[builtins.int]] = None,
|
|
194
|
+
priority: Optional[pulumi.Input[builtins.int]] = None,
|
|
195
|
+
tag: Optional[pulumi.Input[builtins.str]] = None,
|
|
196
|
+
ttl: Optional[pulumi.Input[builtins.int]] = None,
|
|
197
|
+
type: Optional[pulumi.Input[Union[builtins.str, 'RecordType']]] = None,
|
|
198
|
+
value: Optional[pulumi.Input[builtins.str]] = None,
|
|
199
|
+
weight: Optional[pulumi.Input[builtins.int]] = None):
|
|
199
200
|
"""
|
|
200
201
|
Input properties used for looking up and filtering DnsRecord resources.
|
|
201
|
-
:param pulumi.Input[str] domain: The domain to add the record to.
|
|
202
|
-
:param pulumi.Input[int] flags: The flags of the record. Only valid when type is `CAA`. Must be between 0 and 255.
|
|
203
|
-
:param pulumi.Input[str] fqdn: The FQDN of the record
|
|
204
|
-
:param pulumi.Input[str] name: The hostname of the record. Use `@` for records on domain's name itself.
|
|
205
|
-
:param pulumi.Input[int] port: The port of the record. Only valid when type is `SRV`. Must be between 1 and 65535.
|
|
206
|
-
:param pulumi.Input[int] priority: The priority of the record. Only valid when type is `MX` or `SRV`. Must be between 0 and 65535.
|
|
207
|
-
:param pulumi.Input[str] tag: The tag of the record. Only valid when type is `CAA`. Must be one of `issue`, `issuewild`, or `iodef`.
|
|
208
|
-
:param pulumi.Input[int] ttl: The time to live for the record, in seconds. Must be at least 0. Defaults to 1800.
|
|
209
|
-
:param pulumi.Input[Union[str, 'RecordType']] type: The type of record. Must be one of `A`, `AAAA`, `CAA`, `CNAME`, `MX`, `NS`, `TXT`, or `SRV`.
|
|
210
|
-
:param pulumi.Input[str] value: The value of the record.
|
|
211
|
-
:param pulumi.Input[int] weight: The weight of the record. Only valid when type is `SRV`. Must be between 0 and 65535.
|
|
202
|
+
:param pulumi.Input[builtins.str] domain: The domain to add the record to.
|
|
203
|
+
:param pulumi.Input[builtins.int] flags: The flags of the record. Only valid when type is `CAA`. Must be between 0 and 255.
|
|
204
|
+
:param pulumi.Input[builtins.str] fqdn: The FQDN of the record
|
|
205
|
+
:param pulumi.Input[builtins.str] name: The hostname of the record. Use `@` for records on domain's name itself.
|
|
206
|
+
:param pulumi.Input[builtins.int] port: The port of the record. Only valid when type is `SRV`. Must be between 1 and 65535.
|
|
207
|
+
:param pulumi.Input[builtins.int] priority: The priority of the record. Only valid when type is `MX` or `SRV`. Must be between 0 and 65535.
|
|
208
|
+
:param pulumi.Input[builtins.str] tag: The tag of the record. Only valid when type is `CAA`. Must be one of `issue`, `issuewild`, or `iodef`.
|
|
209
|
+
:param pulumi.Input[builtins.int] ttl: The time to live for the record, in seconds. Must be at least 0. Defaults to 1800.
|
|
210
|
+
:param pulumi.Input[Union[builtins.str, 'RecordType']] type: The type of record. Must be one of `A`, `AAAA`, `CAA`, `CNAME`, `MX`, `NS`, `TXT`, or `SRV`.
|
|
211
|
+
:param pulumi.Input[builtins.str] value: The value of the record.
|
|
212
|
+
:param pulumi.Input[builtins.int] weight: The weight of the record. Only valid when type is `SRV`. Must be between 0 and 65535.
|
|
212
213
|
"""
|
|
213
214
|
if domain is not None:
|
|
214
215
|
pulumi.set(__self__, "domain", domain)
|
|
@@ -235,134 +236,134 @@ class _DnsRecordState:
|
|
|
235
236
|
|
|
236
237
|
@property
|
|
237
238
|
@pulumi.getter
|
|
238
|
-
def domain(self) -> Optional[pulumi.Input[str]]:
|
|
239
|
+
def domain(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
239
240
|
"""
|
|
240
241
|
The domain to add the record to.
|
|
241
242
|
"""
|
|
242
243
|
return pulumi.get(self, "domain")
|
|
243
244
|
|
|
244
245
|
@domain.setter
|
|
245
|
-
def domain(self, value: Optional[pulumi.Input[str]]):
|
|
246
|
+
def domain(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
246
247
|
pulumi.set(self, "domain", value)
|
|
247
248
|
|
|
248
249
|
@property
|
|
249
250
|
@pulumi.getter
|
|
250
|
-
def flags(self) -> Optional[pulumi.Input[int]]:
|
|
251
|
+
def flags(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
251
252
|
"""
|
|
252
253
|
The flags of the record. Only valid when type is `CAA`. Must be between 0 and 255.
|
|
253
254
|
"""
|
|
254
255
|
return pulumi.get(self, "flags")
|
|
255
256
|
|
|
256
257
|
@flags.setter
|
|
257
|
-
def flags(self, value: Optional[pulumi.Input[int]]):
|
|
258
|
+
def flags(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
258
259
|
pulumi.set(self, "flags", value)
|
|
259
260
|
|
|
260
261
|
@property
|
|
261
262
|
@pulumi.getter
|
|
262
|
-
def fqdn(self) -> Optional[pulumi.Input[str]]:
|
|
263
|
+
def fqdn(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
263
264
|
"""
|
|
264
265
|
The FQDN of the record
|
|
265
266
|
"""
|
|
266
267
|
return pulumi.get(self, "fqdn")
|
|
267
268
|
|
|
268
269
|
@fqdn.setter
|
|
269
|
-
def fqdn(self, value: Optional[pulumi.Input[str]]):
|
|
270
|
+
def fqdn(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
270
271
|
pulumi.set(self, "fqdn", value)
|
|
271
272
|
|
|
272
273
|
@property
|
|
273
274
|
@pulumi.getter
|
|
274
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
275
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
275
276
|
"""
|
|
276
277
|
The hostname of the record. Use `@` for records on domain's name itself.
|
|
277
278
|
"""
|
|
278
279
|
return pulumi.get(self, "name")
|
|
279
280
|
|
|
280
281
|
@name.setter
|
|
281
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
282
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
282
283
|
pulumi.set(self, "name", value)
|
|
283
284
|
|
|
284
285
|
@property
|
|
285
286
|
@pulumi.getter
|
|
286
|
-
def port(self) -> Optional[pulumi.Input[int]]:
|
|
287
|
+
def port(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
287
288
|
"""
|
|
288
289
|
The port of the record. Only valid when type is `SRV`. Must be between 1 and 65535.
|
|
289
290
|
"""
|
|
290
291
|
return pulumi.get(self, "port")
|
|
291
292
|
|
|
292
293
|
@port.setter
|
|
293
|
-
def port(self, value: Optional[pulumi.Input[int]]):
|
|
294
|
+
def port(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
294
295
|
pulumi.set(self, "port", value)
|
|
295
296
|
|
|
296
297
|
@property
|
|
297
298
|
@pulumi.getter
|
|
298
|
-
def priority(self) -> Optional[pulumi.Input[int]]:
|
|
299
|
+
def priority(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
299
300
|
"""
|
|
300
301
|
The priority of the record. Only valid when type is `MX` or `SRV`. Must be between 0 and 65535.
|
|
301
302
|
"""
|
|
302
303
|
return pulumi.get(self, "priority")
|
|
303
304
|
|
|
304
305
|
@priority.setter
|
|
305
|
-
def priority(self, value: Optional[pulumi.Input[int]]):
|
|
306
|
+
def priority(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
306
307
|
pulumi.set(self, "priority", value)
|
|
307
308
|
|
|
308
309
|
@property
|
|
309
310
|
@pulumi.getter
|
|
310
|
-
def tag(self) -> Optional[pulumi.Input[str]]:
|
|
311
|
+
def tag(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
311
312
|
"""
|
|
312
313
|
The tag of the record. Only valid when type is `CAA`. Must be one of `issue`, `issuewild`, or `iodef`.
|
|
313
314
|
"""
|
|
314
315
|
return pulumi.get(self, "tag")
|
|
315
316
|
|
|
316
317
|
@tag.setter
|
|
317
|
-
def tag(self, value: Optional[pulumi.Input[str]]):
|
|
318
|
+
def tag(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
318
319
|
pulumi.set(self, "tag", value)
|
|
319
320
|
|
|
320
321
|
@property
|
|
321
322
|
@pulumi.getter
|
|
322
|
-
def ttl(self) -> Optional[pulumi.Input[int]]:
|
|
323
|
+
def ttl(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
323
324
|
"""
|
|
324
325
|
The time to live for the record, in seconds. Must be at least 0. Defaults to 1800.
|
|
325
326
|
"""
|
|
326
327
|
return pulumi.get(self, "ttl")
|
|
327
328
|
|
|
328
329
|
@ttl.setter
|
|
329
|
-
def ttl(self, value: Optional[pulumi.Input[int]]):
|
|
330
|
+
def ttl(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
330
331
|
pulumi.set(self, "ttl", value)
|
|
331
332
|
|
|
332
333
|
@property
|
|
333
334
|
@pulumi.getter
|
|
334
|
-
def type(self) -> Optional[pulumi.Input[Union[str, 'RecordType']]]:
|
|
335
|
+
def type(self) -> Optional[pulumi.Input[Union[builtins.str, 'RecordType']]]:
|
|
335
336
|
"""
|
|
336
337
|
The type of record. Must be one of `A`, `AAAA`, `CAA`, `CNAME`, `MX`, `NS`, `TXT`, or `SRV`.
|
|
337
338
|
"""
|
|
338
339
|
return pulumi.get(self, "type")
|
|
339
340
|
|
|
340
341
|
@type.setter
|
|
341
|
-
def type(self, value: Optional[pulumi.Input[Union[str, 'RecordType']]]):
|
|
342
|
+
def type(self, value: Optional[pulumi.Input[Union[builtins.str, 'RecordType']]]):
|
|
342
343
|
pulumi.set(self, "type", value)
|
|
343
344
|
|
|
344
345
|
@property
|
|
345
346
|
@pulumi.getter
|
|
346
|
-
def value(self) -> Optional[pulumi.Input[str]]:
|
|
347
|
+
def value(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
347
348
|
"""
|
|
348
349
|
The value of the record.
|
|
349
350
|
"""
|
|
350
351
|
return pulumi.get(self, "value")
|
|
351
352
|
|
|
352
353
|
@value.setter
|
|
353
|
-
def value(self, value: Optional[pulumi.Input[str]]):
|
|
354
|
+
def value(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
354
355
|
pulumi.set(self, "value", value)
|
|
355
356
|
|
|
356
357
|
@property
|
|
357
358
|
@pulumi.getter
|
|
358
|
-
def weight(self) -> Optional[pulumi.Input[int]]:
|
|
359
|
+
def weight(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
359
360
|
"""
|
|
360
361
|
The weight of the record. Only valid when type is `SRV`. Must be between 0 and 65535.
|
|
361
362
|
"""
|
|
362
363
|
return pulumi.get(self, "weight")
|
|
363
364
|
|
|
364
365
|
@weight.setter
|
|
365
|
-
def weight(self, value: Optional[pulumi.Input[int]]):
|
|
366
|
+
def weight(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
366
367
|
pulumi.set(self, "weight", value)
|
|
367
368
|
|
|
368
369
|
|
|
@@ -371,16 +372,16 @@ class DnsRecord(pulumi.CustomResource):
|
|
|
371
372
|
def __init__(__self__,
|
|
372
373
|
resource_name: str,
|
|
373
374
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
374
|
-
domain: Optional[pulumi.Input[str]] = None,
|
|
375
|
-
flags: Optional[pulumi.Input[int]] = None,
|
|
376
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
377
|
-
port: Optional[pulumi.Input[int]] = None,
|
|
378
|
-
priority: Optional[pulumi.Input[int]] = None,
|
|
379
|
-
tag: Optional[pulumi.Input[str]] = None,
|
|
380
|
-
ttl: Optional[pulumi.Input[int]] = None,
|
|
381
|
-
type: Optional[pulumi.Input[Union[str, 'RecordType']]] = None,
|
|
382
|
-
value: Optional[pulumi.Input[str]] = None,
|
|
383
|
-
weight: Optional[pulumi.Input[int]] = None,
|
|
375
|
+
domain: Optional[pulumi.Input[builtins.str]] = None,
|
|
376
|
+
flags: Optional[pulumi.Input[builtins.int]] = None,
|
|
377
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
378
|
+
port: Optional[pulumi.Input[builtins.int]] = None,
|
|
379
|
+
priority: Optional[pulumi.Input[builtins.int]] = None,
|
|
380
|
+
tag: Optional[pulumi.Input[builtins.str]] = None,
|
|
381
|
+
ttl: Optional[pulumi.Input[builtins.int]] = None,
|
|
382
|
+
type: Optional[pulumi.Input[Union[builtins.str, 'RecordType']]] = None,
|
|
383
|
+
value: Optional[pulumi.Input[builtins.str]] = None,
|
|
384
|
+
weight: Optional[pulumi.Input[builtins.int]] = None,
|
|
384
385
|
__props__=None):
|
|
385
386
|
"""
|
|
386
387
|
Provides a DigitalOcean DNS record resource.
|
|
@@ -421,16 +422,16 @@ class DnsRecord(pulumi.CustomResource):
|
|
|
421
422
|
|
|
422
423
|
:param str resource_name: The name of the resource.
|
|
423
424
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
424
|
-
:param pulumi.Input[str] domain: The domain to add the record to.
|
|
425
|
-
:param pulumi.Input[int] flags: The flags of the record. Only valid when type is `CAA`. Must be between 0 and 255.
|
|
426
|
-
:param pulumi.Input[str] name: The hostname of the record. Use `@` for records on domain's name itself.
|
|
427
|
-
:param pulumi.Input[int] port: The port of the record. Only valid when type is `SRV`. Must be between 1 and 65535.
|
|
428
|
-
:param pulumi.Input[int] priority: The priority of the record. Only valid when type is `MX` or `SRV`. Must be between 0 and 65535.
|
|
429
|
-
:param pulumi.Input[str] tag: The tag of the record. Only valid when type is `CAA`. Must be one of `issue`, `issuewild`, or `iodef`.
|
|
430
|
-
:param pulumi.Input[int] ttl: The time to live for the record, in seconds. Must be at least 0. Defaults to 1800.
|
|
431
|
-
:param pulumi.Input[Union[str, 'RecordType']] type: The type of record. Must be one of `A`, `AAAA`, `CAA`, `CNAME`, `MX`, `NS`, `TXT`, or `SRV`.
|
|
432
|
-
:param pulumi.Input[str] value: The value of the record.
|
|
433
|
-
:param pulumi.Input[int] weight: The weight of the record. Only valid when type is `SRV`. Must be between 0 and 65535.
|
|
425
|
+
:param pulumi.Input[builtins.str] domain: The domain to add the record to.
|
|
426
|
+
:param pulumi.Input[builtins.int] flags: The flags of the record. Only valid when type is `CAA`. Must be between 0 and 255.
|
|
427
|
+
:param pulumi.Input[builtins.str] name: The hostname of the record. Use `@` for records on domain's name itself.
|
|
428
|
+
:param pulumi.Input[builtins.int] port: The port of the record. Only valid when type is `SRV`. Must be between 1 and 65535.
|
|
429
|
+
:param pulumi.Input[builtins.int] priority: The priority of the record. Only valid when type is `MX` or `SRV`. Must be between 0 and 65535.
|
|
430
|
+
:param pulumi.Input[builtins.str] tag: The tag of the record. Only valid when type is `CAA`. Must be one of `issue`, `issuewild`, or `iodef`.
|
|
431
|
+
:param pulumi.Input[builtins.int] ttl: The time to live for the record, in seconds. Must be at least 0. Defaults to 1800.
|
|
432
|
+
:param pulumi.Input[Union[builtins.str, 'RecordType']] type: The type of record. Must be one of `A`, `AAAA`, `CAA`, `CNAME`, `MX`, `NS`, `TXT`, or `SRV`.
|
|
433
|
+
:param pulumi.Input[builtins.str] value: The value of the record.
|
|
434
|
+
:param pulumi.Input[builtins.int] weight: The weight of the record. Only valid when type is `SRV`. Must be between 0 and 65535.
|
|
434
435
|
"""
|
|
435
436
|
...
|
|
436
437
|
@overload
|
|
@@ -490,16 +491,16 @@ class DnsRecord(pulumi.CustomResource):
|
|
|
490
491
|
def _internal_init(__self__,
|
|
491
492
|
resource_name: str,
|
|
492
493
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
493
|
-
domain: Optional[pulumi.Input[str]] = None,
|
|
494
|
-
flags: Optional[pulumi.Input[int]] = None,
|
|
495
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
496
|
-
port: Optional[pulumi.Input[int]] = None,
|
|
497
|
-
priority: Optional[pulumi.Input[int]] = None,
|
|
498
|
-
tag: Optional[pulumi.Input[str]] = None,
|
|
499
|
-
ttl: Optional[pulumi.Input[int]] = None,
|
|
500
|
-
type: Optional[pulumi.Input[Union[str, 'RecordType']]] = None,
|
|
501
|
-
value: Optional[pulumi.Input[str]] = None,
|
|
502
|
-
weight: Optional[pulumi.Input[int]] = None,
|
|
494
|
+
domain: Optional[pulumi.Input[builtins.str]] = None,
|
|
495
|
+
flags: Optional[pulumi.Input[builtins.int]] = None,
|
|
496
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
497
|
+
port: Optional[pulumi.Input[builtins.int]] = None,
|
|
498
|
+
priority: Optional[pulumi.Input[builtins.int]] = None,
|
|
499
|
+
tag: Optional[pulumi.Input[builtins.str]] = None,
|
|
500
|
+
ttl: Optional[pulumi.Input[builtins.int]] = None,
|
|
501
|
+
type: Optional[pulumi.Input[Union[builtins.str, 'RecordType']]] = None,
|
|
502
|
+
value: Optional[pulumi.Input[builtins.str]] = None,
|
|
503
|
+
weight: Optional[pulumi.Input[builtins.int]] = None,
|
|
503
504
|
__props__=None):
|
|
504
505
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
505
506
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -536,17 +537,17 @@ class DnsRecord(pulumi.CustomResource):
|
|
|
536
537
|
def get(resource_name: str,
|
|
537
538
|
id: pulumi.Input[str],
|
|
538
539
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
539
|
-
domain: Optional[pulumi.Input[str]] = None,
|
|
540
|
-
flags: Optional[pulumi.Input[int]] = None,
|
|
541
|
-
fqdn: Optional[pulumi.Input[str]] = None,
|
|
542
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
543
|
-
port: Optional[pulumi.Input[int]] = None,
|
|
544
|
-
priority: Optional[pulumi.Input[int]] = None,
|
|
545
|
-
tag: Optional[pulumi.Input[str]] = None,
|
|
546
|
-
ttl: Optional[pulumi.Input[int]] = None,
|
|
547
|
-
type: Optional[pulumi.Input[Union[str, 'RecordType']]] = None,
|
|
548
|
-
value: Optional[pulumi.Input[str]] = None,
|
|
549
|
-
weight: Optional[pulumi.Input[int]] = None) -> 'DnsRecord':
|
|
540
|
+
domain: Optional[pulumi.Input[builtins.str]] = None,
|
|
541
|
+
flags: Optional[pulumi.Input[builtins.int]] = None,
|
|
542
|
+
fqdn: Optional[pulumi.Input[builtins.str]] = None,
|
|
543
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
544
|
+
port: Optional[pulumi.Input[builtins.int]] = None,
|
|
545
|
+
priority: Optional[pulumi.Input[builtins.int]] = None,
|
|
546
|
+
tag: Optional[pulumi.Input[builtins.str]] = None,
|
|
547
|
+
ttl: Optional[pulumi.Input[builtins.int]] = None,
|
|
548
|
+
type: Optional[pulumi.Input[Union[builtins.str, 'RecordType']]] = None,
|
|
549
|
+
value: Optional[pulumi.Input[builtins.str]] = None,
|
|
550
|
+
weight: Optional[pulumi.Input[builtins.int]] = None) -> 'DnsRecord':
|
|
550
551
|
"""
|
|
551
552
|
Get an existing DnsRecord resource's state with the given name, id, and optional extra
|
|
552
553
|
properties used to qualify the lookup.
|
|
@@ -554,17 +555,17 @@ class DnsRecord(pulumi.CustomResource):
|
|
|
554
555
|
:param str resource_name: The unique name of the resulting resource.
|
|
555
556
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
556
557
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
557
|
-
:param pulumi.Input[str] domain: The domain to add the record to.
|
|
558
|
-
:param pulumi.Input[int] flags: The flags of the record. Only valid when type is `CAA`. Must be between 0 and 255.
|
|
559
|
-
:param pulumi.Input[str] fqdn: The FQDN of the record
|
|
560
|
-
:param pulumi.Input[str] name: The hostname of the record. Use `@` for records on domain's name itself.
|
|
561
|
-
:param pulumi.Input[int] port: The port of the record. Only valid when type is `SRV`. Must be between 1 and 65535.
|
|
562
|
-
:param pulumi.Input[int] priority: The priority of the record. Only valid when type is `MX` or `SRV`. Must be between 0 and 65535.
|
|
563
|
-
:param pulumi.Input[str] tag: The tag of the record. Only valid when type is `CAA`. Must be one of `issue`, `issuewild`, or `iodef`.
|
|
564
|
-
:param pulumi.Input[int] ttl: The time to live for the record, in seconds. Must be at least 0. Defaults to 1800.
|
|
565
|
-
:param pulumi.Input[Union[str, 'RecordType']] type: The type of record. Must be one of `A`, `AAAA`, `CAA`, `CNAME`, `MX`, `NS`, `TXT`, or `SRV`.
|
|
566
|
-
:param pulumi.Input[str] value: The value of the record.
|
|
567
|
-
:param pulumi.Input[int] weight: The weight of the record. Only valid when type is `SRV`. Must be between 0 and 65535.
|
|
558
|
+
:param pulumi.Input[builtins.str] domain: The domain to add the record to.
|
|
559
|
+
:param pulumi.Input[builtins.int] flags: The flags of the record. Only valid when type is `CAA`. Must be between 0 and 255.
|
|
560
|
+
:param pulumi.Input[builtins.str] fqdn: The FQDN of the record
|
|
561
|
+
:param pulumi.Input[builtins.str] name: The hostname of the record. Use `@` for records on domain's name itself.
|
|
562
|
+
:param pulumi.Input[builtins.int] port: The port of the record. Only valid when type is `SRV`. Must be between 1 and 65535.
|
|
563
|
+
:param pulumi.Input[builtins.int] priority: The priority of the record. Only valid when type is `MX` or `SRV`. Must be between 0 and 65535.
|
|
564
|
+
:param pulumi.Input[builtins.str] tag: The tag of the record. Only valid when type is `CAA`. Must be one of `issue`, `issuewild`, or `iodef`.
|
|
565
|
+
:param pulumi.Input[builtins.int] ttl: The time to live for the record, in seconds. Must be at least 0. Defaults to 1800.
|
|
566
|
+
:param pulumi.Input[Union[builtins.str, 'RecordType']] type: The type of record. Must be one of `A`, `AAAA`, `CAA`, `CNAME`, `MX`, `NS`, `TXT`, or `SRV`.
|
|
567
|
+
:param pulumi.Input[builtins.str] value: The value of the record.
|
|
568
|
+
:param pulumi.Input[builtins.int] weight: The weight of the record. Only valid when type is `SRV`. Must be between 0 and 65535.
|
|
568
569
|
"""
|
|
569
570
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
570
571
|
|
|
@@ -585,7 +586,7 @@ class DnsRecord(pulumi.CustomResource):
|
|
|
585
586
|
|
|
586
587
|
@property
|
|
587
588
|
@pulumi.getter
|
|
588
|
-
def domain(self) -> pulumi.Output[str]:
|
|
589
|
+
def domain(self) -> pulumi.Output[builtins.str]:
|
|
589
590
|
"""
|
|
590
591
|
The domain to add the record to.
|
|
591
592
|
"""
|
|
@@ -593,7 +594,7 @@ class DnsRecord(pulumi.CustomResource):
|
|
|
593
594
|
|
|
594
595
|
@property
|
|
595
596
|
@pulumi.getter
|
|
596
|
-
def flags(self) -> pulumi.Output[Optional[int]]:
|
|
597
|
+
def flags(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
597
598
|
"""
|
|
598
599
|
The flags of the record. Only valid when type is `CAA`. Must be between 0 and 255.
|
|
599
600
|
"""
|
|
@@ -601,7 +602,7 @@ class DnsRecord(pulumi.CustomResource):
|
|
|
601
602
|
|
|
602
603
|
@property
|
|
603
604
|
@pulumi.getter
|
|
604
|
-
def fqdn(self) -> pulumi.Output[str]:
|
|
605
|
+
def fqdn(self) -> pulumi.Output[builtins.str]:
|
|
605
606
|
"""
|
|
606
607
|
The FQDN of the record
|
|
607
608
|
"""
|
|
@@ -609,7 +610,7 @@ class DnsRecord(pulumi.CustomResource):
|
|
|
609
610
|
|
|
610
611
|
@property
|
|
611
612
|
@pulumi.getter
|
|
612
|
-
def name(self) -> pulumi.Output[str]:
|
|
613
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
|
613
614
|
"""
|
|
614
615
|
The hostname of the record. Use `@` for records on domain's name itself.
|
|
615
616
|
"""
|
|
@@ -617,7 +618,7 @@ class DnsRecord(pulumi.CustomResource):
|
|
|
617
618
|
|
|
618
619
|
@property
|
|
619
620
|
@pulumi.getter
|
|
620
|
-
def port(self) -> pulumi.Output[Optional[int]]:
|
|
621
|
+
def port(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
621
622
|
"""
|
|
622
623
|
The port of the record. Only valid when type is `SRV`. Must be between 1 and 65535.
|
|
623
624
|
"""
|
|
@@ -625,7 +626,7 @@ class DnsRecord(pulumi.CustomResource):
|
|
|
625
626
|
|
|
626
627
|
@property
|
|
627
628
|
@pulumi.getter
|
|
628
|
-
def priority(self) -> pulumi.Output[Optional[int]]:
|
|
629
|
+
def priority(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
629
630
|
"""
|
|
630
631
|
The priority of the record. Only valid when type is `MX` or `SRV`. Must be between 0 and 65535.
|
|
631
632
|
"""
|
|
@@ -633,7 +634,7 @@ class DnsRecord(pulumi.CustomResource):
|
|
|
633
634
|
|
|
634
635
|
@property
|
|
635
636
|
@pulumi.getter
|
|
636
|
-
def tag(self) -> pulumi.Output[Optional[str]]:
|
|
637
|
+
def tag(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
637
638
|
"""
|
|
638
639
|
The tag of the record. Only valid when type is `CAA`. Must be one of `issue`, `issuewild`, or `iodef`.
|
|
639
640
|
"""
|
|
@@ -641,7 +642,7 @@ class DnsRecord(pulumi.CustomResource):
|
|
|
641
642
|
|
|
642
643
|
@property
|
|
643
644
|
@pulumi.getter
|
|
644
|
-
def ttl(self) -> pulumi.Output[int]:
|
|
645
|
+
def ttl(self) -> pulumi.Output[builtins.int]:
|
|
645
646
|
"""
|
|
646
647
|
The time to live for the record, in seconds. Must be at least 0. Defaults to 1800.
|
|
647
648
|
"""
|
|
@@ -649,7 +650,7 @@ class DnsRecord(pulumi.CustomResource):
|
|
|
649
650
|
|
|
650
651
|
@property
|
|
651
652
|
@pulumi.getter
|
|
652
|
-
def type(self) -> pulumi.Output[str]:
|
|
653
|
+
def type(self) -> pulumi.Output[builtins.str]:
|
|
653
654
|
"""
|
|
654
655
|
The type of record. Must be one of `A`, `AAAA`, `CAA`, `CNAME`, `MX`, `NS`, `TXT`, or `SRV`.
|
|
655
656
|
"""
|
|
@@ -657,7 +658,7 @@ class DnsRecord(pulumi.CustomResource):
|
|
|
657
658
|
|
|
658
659
|
@property
|
|
659
660
|
@pulumi.getter
|
|
660
|
-
def value(self) -> pulumi.Output[str]:
|
|
661
|
+
def value(self) -> pulumi.Output[builtins.str]:
|
|
661
662
|
"""
|
|
662
663
|
The value of the record.
|
|
663
664
|
"""
|
|
@@ -665,7 +666,7 @@ class DnsRecord(pulumi.CustomResource):
|
|
|
665
666
|
|
|
666
667
|
@property
|
|
667
668
|
@pulumi.getter
|
|
668
|
-
def weight(self) -> pulumi.Output[Optional[int]]:
|
|
669
|
+
def weight(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
669
670
|
"""
|
|
670
671
|
The weight of the record. Only valid when type is `SRV`. Must be between 0 and 65535.
|
|
671
672
|
"""
|