pulumi-ns1 3.6.2__py3-none-any.whl → 3.7.0a1744183164__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.
pulumi_ns1/get_record.py CHANGED
@@ -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
@@ -84,7 +85,7 @@ class GetRecordResult:
84
85
 
85
86
  @property
86
87
  @pulumi.getter
87
- def domain(self) -> str:
88
+ def domain(self) -> builtins.str:
88
89
  return pulumi.get(self, "domain")
89
90
 
90
91
  @property
@@ -97,7 +98,7 @@ class GetRecordResult:
97
98
 
98
99
  @property
99
100
  @pulumi.getter
100
- def id(self) -> str:
101
+ def id(self) -> builtins.str:
101
102
  """
102
103
  The provider-assigned unique ID for this managed resource.
103
104
  """
@@ -105,7 +106,7 @@ class GetRecordResult:
105
106
 
106
107
  @property
107
108
  @pulumi.getter
108
- def link(self) -> str:
109
+ def link(self) -> builtins.str:
109
110
  """
110
111
  The target record this links to.
111
112
  """
@@ -113,7 +114,7 @@ class GetRecordResult:
113
114
 
114
115
  @property
115
116
  @pulumi.getter
116
- def meta(self) -> Mapping[str, str]:
117
+ def meta(self) -> Mapping[str, builtins.str]:
117
118
  """
118
119
  Map of metadata
119
120
  """
@@ -121,12 +122,12 @@ class GetRecordResult:
121
122
 
122
123
  @property
123
124
  @pulumi.getter(name="overrideAddressRecords")
124
- def override_address_records(self) -> bool:
125
+ def override_address_records(self) -> builtins.bool:
125
126
  return pulumi.get(self, "override_address_records")
126
127
 
127
128
  @property
128
129
  @pulumi.getter(name="overrideTtl")
129
- def override_ttl(self) -> bool:
130
+ def override_ttl(self) -> builtins.bool:
130
131
  return pulumi.get(self, "override_ttl")
131
132
 
132
133
  @property
@@ -139,17 +140,17 @@ class GetRecordResult:
139
140
 
140
141
  @property
141
142
  @pulumi.getter(name="shortAnswers")
142
- def short_answers(self) -> Sequence[str]:
143
+ def short_answers(self) -> Sequence[builtins.str]:
143
144
  return pulumi.get(self, "short_answers")
144
145
 
145
146
  @property
146
147
  @pulumi.getter
147
- def tags(self) -> Mapping[str, str]:
148
+ def tags(self) -> Mapping[str, builtins.str]:
148
149
  return pulumi.get(self, "tags")
149
150
 
150
151
  @property
151
152
  @pulumi.getter
152
- def ttl(self) -> int:
153
+ def ttl(self) -> builtins.int:
153
154
  """
154
155
  The records' time to live (in seconds).
155
156
  """
@@ -157,12 +158,12 @@ class GetRecordResult:
157
158
 
158
159
  @property
159
160
  @pulumi.getter
160
- def type(self) -> str:
161
+ def type(self) -> builtins.str:
161
162
  return pulumi.get(self, "type")
162
163
 
163
164
  @property
164
165
  @pulumi.getter(name="useClientSubnet")
165
- def use_client_subnet(self) -> bool:
166
+ def use_client_subnet(self) -> builtins.bool:
166
167
  """
167
168
  Whether to use EDNS client subnet data when available (in filter chain).
168
169
  """
@@ -170,7 +171,7 @@ class GetRecordResult:
170
171
 
171
172
  @property
172
173
  @pulumi.getter
173
- def zone(self) -> str:
174
+ def zone(self) -> builtins.str:
174
175
  return pulumi.get(self, "zone")
175
176
 
176
177
 
@@ -197,9 +198,9 @@ class AwaitableGetRecordResult(GetRecordResult):
197
198
  zone=self.zone)
198
199
 
199
200
 
200
- def get_record(domain: Optional[str] = None,
201
- type: Optional[str] = None,
202
- zone: Optional[str] = None,
201
+ def get_record(domain: Optional[builtins.str] = None,
202
+ type: Optional[builtins.str] = None,
203
+ zone: Optional[builtins.str] = None,
203
204
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRecordResult:
204
205
  """
205
206
  Provides details about a NS1 Record. Use this if you would simply like to read
@@ -219,9 +220,9 @@ def get_record(domain: Optional[str] = None,
219
220
  ```
220
221
 
221
222
 
222
- :param str domain: The records' domain.
223
- :param str type: The records' RR type.
224
- :param str zone: The zone the record belongs to.
223
+ :param builtins.str domain: The records' domain.
224
+ :param builtins.str type: The records' RR type.
225
+ :param builtins.str zone: The zone the record belongs to.
225
226
  """
226
227
  __args__ = dict()
227
228
  __args__['domain'] = domain
@@ -246,9 +247,9 @@ def get_record(domain: Optional[str] = None,
246
247
  type=pulumi.get(__ret__, 'type'),
247
248
  use_client_subnet=pulumi.get(__ret__, 'use_client_subnet'),
248
249
  zone=pulumi.get(__ret__, 'zone'))
249
- def get_record_output(domain: Optional[pulumi.Input[str]] = None,
250
- type: Optional[pulumi.Input[str]] = None,
251
- zone: Optional[pulumi.Input[str]] = None,
250
+ def get_record_output(domain: Optional[pulumi.Input[builtins.str]] = None,
251
+ type: Optional[pulumi.Input[builtins.str]] = None,
252
+ zone: Optional[pulumi.Input[builtins.str]] = None,
252
253
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRecordResult]:
253
254
  """
254
255
  Provides details about a NS1 Record. Use this if you would simply like to read
@@ -268,9 +269,9 @@ def get_record_output(domain: Optional[pulumi.Input[str]] = None,
268
269
  ```
269
270
 
270
271
 
271
- :param str domain: The records' domain.
272
- :param str type: The records' RR type.
273
- :param str zone: The zone the record belongs to.
272
+ :param builtins.str domain: The records' domain.
273
+ :param builtins.str type: The records' RR type.
274
+ :param builtins.str zone: The zone the record belongs to.
274
275
  """
275
276
  __args__ = dict()
276
277
  __args__['domain'] = domain
pulumi_ns1/get_zone.py CHANGED
@@ -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
@@ -88,12 +89,12 @@ class GetZoneResult:
88
89
 
89
90
  @property
90
91
  @pulumi.getter(name="additionalPorts")
91
- def additional_ports(self) -> Optional[Sequence[int]]:
92
+ def additional_ports(self) -> Optional[Sequence[builtins.int]]:
92
93
  return pulumi.get(self, "additional_ports")
93
94
 
94
95
  @property
95
96
  @pulumi.getter(name="additionalPrimaries")
96
- def additional_primaries(self) -> Optional[Sequence[str]]:
97
+ def additional_primaries(self) -> Optional[Sequence[builtins.str]]:
97
98
  """
98
99
  List of additional IPv4 addresses for the primary
99
100
  zone.
@@ -102,7 +103,7 @@ class GetZoneResult:
102
103
 
103
104
  @property
104
105
  @pulumi.getter(name="dnsServers")
105
- def dns_servers(self) -> str:
106
+ def dns_servers(self) -> builtins.str:
106
107
  """
107
108
  Authoritative Name Servers.
108
109
  """
@@ -110,7 +111,7 @@ class GetZoneResult:
110
111
 
111
112
  @property
112
113
  @pulumi.getter
113
- def dnssec(self) -> bool:
114
+ def dnssec(self) -> builtins.bool:
114
115
  """
115
116
  Whether or not DNSSEC is enabled for the zone.
116
117
  """
@@ -118,7 +119,7 @@ class GetZoneResult:
118
119
 
119
120
  @property
120
121
  @pulumi.getter
121
- def expiry(self) -> int:
122
+ def expiry(self) -> builtins.int:
122
123
  """
123
124
  The SOA Expiry.
124
125
  """
@@ -126,7 +127,7 @@ class GetZoneResult:
126
127
 
127
128
  @property
128
129
  @pulumi.getter
129
- def hostmaster(self) -> str:
130
+ def hostmaster(self) -> builtins.str:
130
131
  """
131
132
  The SOA Hostmaster.
132
133
  """
@@ -134,7 +135,7 @@ class GetZoneResult:
134
135
 
135
136
  @property
136
137
  @pulumi.getter
137
- def id(self) -> str:
138
+ def id(self) -> builtins.str:
138
139
  """
139
140
  The provider-assigned unique ID for this managed resource.
140
141
  """
@@ -142,7 +143,7 @@ class GetZoneResult:
142
143
 
143
144
  @property
144
145
  @pulumi.getter
145
- def link(self) -> str:
146
+ def link(self) -> builtins.str:
146
147
  """
147
148
  The linked target zone.
148
149
  """
@@ -150,7 +151,7 @@ class GetZoneResult:
150
151
 
151
152
  @property
152
153
  @pulumi.getter
153
- def networks(self) -> Sequence[int]:
154
+ def networks(self) -> Sequence[builtins.int]:
154
155
  """
155
156
  List of network IDs (`int`) for which the zone should be made
156
157
  available. Default is network 0, the primary NSONE Global Network.
@@ -159,7 +160,7 @@ class GetZoneResult:
159
160
 
160
161
  @property
161
162
  @pulumi.getter(name="nxTtl")
162
- def nx_ttl(self) -> int:
163
+ def nx_ttl(self) -> builtins.int:
163
164
  """
164
165
  The SOA NX TTL.
165
166
  """
@@ -167,7 +168,7 @@ class GetZoneResult:
167
168
 
168
169
  @property
169
170
  @pulumi.getter
170
- def primary(self) -> str:
171
+ def primary(self) -> builtins.str:
171
172
  """
172
173
  The primary zones' IPv4 address.
173
174
  """
@@ -175,17 +176,17 @@ class GetZoneResult:
175
176
 
176
177
  @property
177
178
  @pulumi.getter(name="primaryNetwork")
178
- def primary_network(self) -> Optional[int]:
179
+ def primary_network(self) -> Optional[builtins.int]:
179
180
  return pulumi.get(self, "primary_network")
180
181
 
181
182
  @property
182
183
  @pulumi.getter(name="primaryPort")
183
- def primary_port(self) -> Optional[int]:
184
+ def primary_port(self) -> Optional[builtins.int]:
184
185
  return pulumi.get(self, "primary_port")
185
186
 
186
187
  @property
187
188
  @pulumi.getter
188
- def refresh(self) -> int:
189
+ def refresh(self) -> builtins.int:
189
190
  """
190
191
  The SOA Refresh.
191
192
  """
@@ -193,7 +194,7 @@ class GetZoneResult:
193
194
 
194
195
  @property
195
196
  @pulumi.getter
196
- def retry(self) -> int:
197
+ def retry(self) -> builtins.int:
197
198
  """
198
199
  The SOA Retry.
199
200
  """
@@ -210,12 +211,12 @@ class GetZoneResult:
210
211
 
211
212
  @property
212
213
  @pulumi.getter
213
- def tags(self) -> Mapping[str, str]:
214
+ def tags(self) -> Mapping[str, builtins.str]:
214
215
  return pulumi.get(self, "tags")
215
216
 
216
217
  @property
217
218
  @pulumi.getter
218
- def ttl(self) -> int:
219
+ def ttl(self) -> builtins.int:
219
220
  """
220
221
  The SOA TTL.
221
222
  """
@@ -223,7 +224,7 @@ class GetZoneResult:
223
224
 
224
225
  @property
225
226
  @pulumi.getter
226
- def zone(self) -> str:
227
+ def zone(self) -> builtins.str:
227
228
  return pulumi.get(self, "zone")
228
229
 
229
230
 
@@ -254,11 +255,11 @@ class AwaitableGetZoneResult(GetZoneResult):
254
255
  zone=self.zone)
255
256
 
256
257
 
257
- def get_zone(additional_ports: Optional[Sequence[int]] = None,
258
- additional_primaries: Optional[Sequence[str]] = None,
259
- primary_network: Optional[int] = None,
260
- primary_port: Optional[int] = None,
261
- zone: Optional[str] = None,
258
+ def get_zone(additional_ports: Optional[Sequence[builtins.int]] = None,
259
+ additional_primaries: Optional[Sequence[builtins.str]] = None,
260
+ primary_network: Optional[builtins.int] = None,
261
+ primary_port: Optional[builtins.int] = None,
262
+ zone: Optional[builtins.str] = None,
262
263
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetZoneResult:
263
264
  """
264
265
  Provides details about a NS1 Zone. Use this if you would simply like to read
@@ -276,9 +277,9 @@ def get_zone(additional_ports: Optional[Sequence[int]] = None,
276
277
  ```
277
278
 
278
279
 
279
- :param Sequence[str] additional_primaries: List of additional IPv4 addresses for the primary
280
+ :param Sequence[builtins.str] additional_primaries: List of additional IPv4 addresses for the primary
280
281
  zone.
281
- :param str zone: The domain name of the zone.
282
+ :param builtins.str zone: The domain name of the zone.
282
283
  """
283
284
  __args__ = dict()
284
285
  __args__['additionalPorts'] = additional_ports
@@ -309,11 +310,11 @@ def get_zone(additional_ports: Optional[Sequence[int]] = None,
309
310
  tags=pulumi.get(__ret__, 'tags'),
310
311
  ttl=pulumi.get(__ret__, 'ttl'),
311
312
  zone=pulumi.get(__ret__, 'zone'))
312
- def get_zone_output(additional_ports: Optional[pulumi.Input[Optional[Sequence[int]]]] = None,
313
- additional_primaries: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
314
- primary_network: Optional[pulumi.Input[Optional[int]]] = None,
315
- primary_port: Optional[pulumi.Input[Optional[int]]] = None,
316
- zone: Optional[pulumi.Input[str]] = None,
313
+ def get_zone_output(additional_ports: Optional[pulumi.Input[Optional[Sequence[builtins.int]]]] = None,
314
+ additional_primaries: Optional[pulumi.Input[Optional[Sequence[builtins.str]]]] = None,
315
+ primary_network: Optional[pulumi.Input[Optional[builtins.int]]] = None,
316
+ primary_port: Optional[pulumi.Input[Optional[builtins.int]]] = None,
317
+ zone: Optional[pulumi.Input[builtins.str]] = None,
317
318
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetZoneResult]:
318
319
  """
319
320
  Provides details about a NS1 Zone. Use this if you would simply like to read
@@ -331,9 +332,9 @@ def get_zone_output(additional_ports: Optional[pulumi.Input[Optional[Sequence[in
331
332
  ```
332
333
 
333
334
 
334
- :param Sequence[str] additional_primaries: List of additional IPv4 addresses for the primary
335
+ :param Sequence[builtins.str] additional_primaries: List of additional IPv4 addresses for the primary
335
336
  zone.
336
- :param str zone: The domain name of the zone.
337
+ :param builtins.str zone: The domain name of the zone.
337
338
  """
338
339
  __args__ = dict()
339
340
  __args__['additionalPorts'] = additional_ports