pulumi-ns1 3.4.4__py3-none-any.whl → 3.4.5__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/_inputs.py +317 -0
- pulumi_ns1/_utilities.py +1 -1
- pulumi_ns1/account_whitelist.py +5 -0
- pulumi_ns1/api_key.py +5 -0
- pulumi_ns1/application.py +5 -0
- pulumi_ns1/config/__init__.pyi +5 -0
- pulumi_ns1/config/vars.py +5 -0
- pulumi_ns1/data_feed.py +5 -0
- pulumi_ns1/data_source.py +5 -0
- pulumi_ns1/dataset.py +5 -0
- pulumi_ns1/dnsview.py +5 -0
- pulumi_ns1/get_dns_sec.py +14 -4
- pulumi_ns1/get_monitoring_regions.py +12 -4
- pulumi_ns1/get_networks.py +11 -4
- pulumi_ns1/get_record.py +38 -5
- pulumi_ns1/get_zone.py +31 -4
- pulumi_ns1/monitoring_job.py +5 -0
- pulumi_ns1/notify_list.py +5 -0
- pulumi_ns1/outputs.py +5 -0
- pulumi_ns1/provider.py +5 -0
- pulumi_ns1/pulsar_job.py +5 -0
- pulumi_ns1/pulumi-plugin.json +1 -1
- pulumi_ns1/record.py +39 -0
- pulumi_ns1/redirect.py +5 -13
- pulumi_ns1/redirect_certificate.py +5 -0
- pulumi_ns1/team.py +5 -0
- pulumi_ns1/tsigkey.py +5 -0
- pulumi_ns1/user.py +5 -0
- pulumi_ns1/zone.py +5 -0
- {pulumi_ns1-3.4.4.dist-info → pulumi_ns1-3.4.5.dist-info}/METADATA +3 -2
- pulumi_ns1-3.4.5.dist-info/RECORD +36 -0
- pulumi_ns1-3.4.4.dist-info/RECORD +0 -36
- {pulumi_ns1-3.4.4.dist-info → pulumi_ns1-3.4.5.dist-info}/WHEEL +0 -0
- {pulumi_ns1-3.4.4.dist-info → pulumi_ns1-3.4.5.dist-info}/top_level.txt +0 -0
pulumi_ns1/_inputs.py
CHANGED
@@ -4,36 +4,74 @@
|
|
4
4
|
|
5
5
|
import copy
|
6
6
|
import warnings
|
7
|
+
import sys
|
7
8
|
import pulumi
|
8
9
|
import pulumi.runtime
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
10
15
|
from . import _utilities
|
11
16
|
|
12
17
|
__all__ = [
|
13
18
|
'APIKeyDnsRecordsAllowArgs',
|
19
|
+
'APIKeyDnsRecordsAllowArgsDict',
|
14
20
|
'APIKeyDnsRecordsDenyArgs',
|
21
|
+
'APIKeyDnsRecordsDenyArgsDict',
|
15
22
|
'ApplicationDefaultConfigArgs',
|
23
|
+
'ApplicationDefaultConfigArgsDict',
|
16
24
|
'DatasetDatatypeArgs',
|
25
|
+
'DatasetDatatypeArgsDict',
|
17
26
|
'DatasetRepeatArgs',
|
27
|
+
'DatasetRepeatArgsDict',
|
18
28
|
'DatasetReportArgs',
|
29
|
+
'DatasetReportArgsDict',
|
19
30
|
'DatasetTimeframeArgs',
|
31
|
+
'DatasetTimeframeArgsDict',
|
20
32
|
'MonitoringJobRuleArgs',
|
33
|
+
'MonitoringJobRuleArgsDict',
|
21
34
|
'NotifyListNotificationArgs',
|
35
|
+
'NotifyListNotificationArgsDict',
|
22
36
|
'PulsarJobBlendMetricWeightsArgs',
|
37
|
+
'PulsarJobBlendMetricWeightsArgsDict',
|
23
38
|
'PulsarJobConfigArgs',
|
39
|
+
'PulsarJobConfigArgsDict',
|
24
40
|
'PulsarJobWeightArgs',
|
41
|
+
'PulsarJobWeightArgsDict',
|
25
42
|
'RecordAnswerArgs',
|
43
|
+
'RecordAnswerArgsDict',
|
26
44
|
'RecordFilterArgs',
|
45
|
+
'RecordFilterArgsDict',
|
27
46
|
'RecordRegionArgs',
|
47
|
+
'RecordRegionArgsDict',
|
28
48
|
'TeamDnsRecordsAllowArgs',
|
49
|
+
'TeamDnsRecordsAllowArgsDict',
|
29
50
|
'TeamDnsRecordsDenyArgs',
|
51
|
+
'TeamDnsRecordsDenyArgsDict',
|
30
52
|
'TeamIpWhitelistArgs',
|
53
|
+
'TeamIpWhitelistArgsDict',
|
31
54
|
'UserDnsRecordsAllowArgs',
|
55
|
+
'UserDnsRecordsAllowArgsDict',
|
32
56
|
'UserDnsRecordsDenyArgs',
|
57
|
+
'UserDnsRecordsDenyArgsDict',
|
33
58
|
'ZoneSecondaryArgs',
|
59
|
+
'ZoneSecondaryArgsDict',
|
34
60
|
'GetMonitoringRegionsRegionArgs',
|
61
|
+
'GetMonitoringRegionsRegionArgsDict',
|
35
62
|
]
|
36
63
|
|
64
|
+
MYPY = False
|
65
|
+
|
66
|
+
if not MYPY:
|
67
|
+
class APIKeyDnsRecordsAllowArgsDict(TypedDict):
|
68
|
+
domain: pulumi.Input[str]
|
69
|
+
include_subdomains: pulumi.Input[bool]
|
70
|
+
type: pulumi.Input[str]
|
71
|
+
zone: pulumi.Input[str]
|
72
|
+
elif False:
|
73
|
+
APIKeyDnsRecordsAllowArgsDict: TypeAlias = Mapping[str, Any]
|
74
|
+
|
37
75
|
@pulumi.input_type
|
38
76
|
class APIKeyDnsRecordsAllowArgs:
|
39
77
|
def __init__(__self__, *,
|
@@ -83,6 +121,15 @@ class APIKeyDnsRecordsAllowArgs:
|
|
83
121
|
pulumi.set(self, "zone", value)
|
84
122
|
|
85
123
|
|
124
|
+
if not MYPY:
|
125
|
+
class APIKeyDnsRecordsDenyArgsDict(TypedDict):
|
126
|
+
domain: pulumi.Input[str]
|
127
|
+
include_subdomains: pulumi.Input[bool]
|
128
|
+
type: pulumi.Input[str]
|
129
|
+
zone: pulumi.Input[str]
|
130
|
+
elif False:
|
131
|
+
APIKeyDnsRecordsDenyArgsDict: TypeAlias = Mapping[str, Any]
|
132
|
+
|
86
133
|
@pulumi.input_type
|
87
134
|
class APIKeyDnsRecordsDenyArgs:
|
88
135
|
def __init__(__self__, *,
|
@@ -132,6 +179,36 @@ class APIKeyDnsRecordsDenyArgs:
|
|
132
179
|
pulumi.set(self, "zone", value)
|
133
180
|
|
134
181
|
|
182
|
+
if not MYPY:
|
183
|
+
class ApplicationDefaultConfigArgsDict(TypedDict):
|
184
|
+
http: pulumi.Input[bool]
|
185
|
+
"""
|
186
|
+
Indicates whether or not to use HTTP in measurements.
|
187
|
+
"""
|
188
|
+
https: NotRequired[pulumi.Input[bool]]
|
189
|
+
"""
|
190
|
+
Indicates whether or not to use HTTPS in measurements.
|
191
|
+
"""
|
192
|
+
job_timeout_millis: NotRequired[pulumi.Input[int]]
|
193
|
+
"""
|
194
|
+
Maximum timeout per job
|
195
|
+
0, the primary NSONE Global Network. Normally, you should not have to worry about this.
|
196
|
+
"""
|
197
|
+
request_timeout_millis: NotRequired[pulumi.Input[int]]
|
198
|
+
"""
|
199
|
+
Maximum timeout per request.
|
200
|
+
"""
|
201
|
+
static_values: NotRequired[pulumi.Input[bool]]
|
202
|
+
"""
|
203
|
+
Indicates whether or not to skip aggregation for this job's measurements
|
204
|
+
"""
|
205
|
+
use_xhr: NotRequired[pulumi.Input[bool]]
|
206
|
+
"""
|
207
|
+
Whether to use XMLHttpRequest (XHR) when taking measurements.
|
208
|
+
"""
|
209
|
+
elif False:
|
210
|
+
ApplicationDefaultConfigArgsDict: TypeAlias = Mapping[str, Any]
|
211
|
+
|
135
212
|
@pulumi.input_type
|
136
213
|
class ApplicationDefaultConfigArgs:
|
137
214
|
def __init__(__self__, *,
|
@@ -236,6 +313,14 @@ class ApplicationDefaultConfigArgs:
|
|
236
313
|
pulumi.set(self, "use_xhr", value)
|
237
314
|
|
238
315
|
|
316
|
+
if not MYPY:
|
317
|
+
class DatasetDatatypeArgsDict(TypedDict):
|
318
|
+
data: pulumi.Input[Mapping[str, pulumi.Input[str]]]
|
319
|
+
scope: pulumi.Input[str]
|
320
|
+
type: pulumi.Input[str]
|
321
|
+
elif False:
|
322
|
+
DatasetDatatypeArgsDict: TypeAlias = Mapping[str, Any]
|
323
|
+
|
239
324
|
@pulumi.input_type
|
240
325
|
class DatasetDatatypeArgs:
|
241
326
|
def __init__(__self__, *,
|
@@ -274,6 +359,14 @@ class DatasetDatatypeArgs:
|
|
274
359
|
pulumi.set(self, "type", value)
|
275
360
|
|
276
361
|
|
362
|
+
if not MYPY:
|
363
|
+
class DatasetRepeatArgsDict(TypedDict):
|
364
|
+
end_after_n: pulumi.Input[int]
|
365
|
+
repeats_every: pulumi.Input[str]
|
366
|
+
start: pulumi.Input[int]
|
367
|
+
elif False:
|
368
|
+
DatasetRepeatArgsDict: TypeAlias = Mapping[str, Any]
|
369
|
+
|
277
370
|
@pulumi.input_type
|
278
371
|
class DatasetRepeatArgs:
|
279
372
|
def __init__(__self__, *,
|
@@ -312,6 +405,16 @@ class DatasetRepeatArgs:
|
|
312
405
|
pulumi.set(self, "start", value)
|
313
406
|
|
314
407
|
|
408
|
+
if not MYPY:
|
409
|
+
class DatasetReportArgsDict(TypedDict):
|
410
|
+
created_at: NotRequired[pulumi.Input[int]]
|
411
|
+
end: NotRequired[pulumi.Input[int]]
|
412
|
+
id: NotRequired[pulumi.Input[str]]
|
413
|
+
start: NotRequired[pulumi.Input[int]]
|
414
|
+
status: NotRequired[pulumi.Input[str]]
|
415
|
+
elif False:
|
416
|
+
DatasetReportArgsDict: TypeAlias = Mapping[str, Any]
|
417
|
+
|
315
418
|
@pulumi.input_type
|
316
419
|
class DatasetReportArgs:
|
317
420
|
def __init__(__self__, *,
|
@@ -377,6 +480,15 @@ class DatasetReportArgs:
|
|
377
480
|
pulumi.set(self, "status", value)
|
378
481
|
|
379
482
|
|
483
|
+
if not MYPY:
|
484
|
+
class DatasetTimeframeArgsDict(TypedDict):
|
485
|
+
aggregation: pulumi.Input[str]
|
486
|
+
cycles: NotRequired[pulumi.Input[int]]
|
487
|
+
from_: NotRequired[pulumi.Input[int]]
|
488
|
+
to: NotRequired[pulumi.Input[int]]
|
489
|
+
elif False:
|
490
|
+
DatasetTimeframeArgsDict: TypeAlias = Mapping[str, Any]
|
491
|
+
|
380
492
|
@pulumi.input_type
|
381
493
|
class DatasetTimeframeArgs:
|
382
494
|
def __init__(__self__, *,
|
@@ -429,6 +541,14 @@ class DatasetTimeframeArgs:
|
|
429
541
|
pulumi.set(self, "to", value)
|
430
542
|
|
431
543
|
|
544
|
+
if not MYPY:
|
545
|
+
class MonitoringJobRuleArgsDict(TypedDict):
|
546
|
+
comparison: pulumi.Input[str]
|
547
|
+
key: pulumi.Input[str]
|
548
|
+
value: pulumi.Input[str]
|
549
|
+
elif False:
|
550
|
+
MonitoringJobRuleArgsDict: TypeAlias = Mapping[str, Any]
|
551
|
+
|
432
552
|
@pulumi.input_type
|
433
553
|
class MonitoringJobRuleArgs:
|
434
554
|
def __init__(__self__, *,
|
@@ -467,6 +587,19 @@ class MonitoringJobRuleArgs:
|
|
467
587
|
pulumi.set(self, "value", value)
|
468
588
|
|
469
589
|
|
590
|
+
if not MYPY:
|
591
|
+
class NotifyListNotificationArgsDict(TypedDict):
|
592
|
+
config: pulumi.Input[Mapping[str, pulumi.Input[str]]]
|
593
|
+
"""
|
594
|
+
Configuration details for the given notifier type.
|
595
|
+
"""
|
596
|
+
type: pulumi.Input[str]
|
597
|
+
"""
|
598
|
+
The type of notifier. Available notifiers are indicated in /notifytypes endpoint.
|
599
|
+
"""
|
600
|
+
elif False:
|
601
|
+
NotifyListNotificationArgsDict: TypeAlias = Mapping[str, Any]
|
602
|
+
|
470
603
|
@pulumi.input_type
|
471
604
|
class NotifyListNotificationArgs:
|
472
605
|
def __init__(__self__, *,
|
@@ -504,6 +637,12 @@ class NotifyListNotificationArgs:
|
|
504
637
|
pulumi.set(self, "type", value)
|
505
638
|
|
506
639
|
|
640
|
+
if not MYPY:
|
641
|
+
class PulsarJobBlendMetricWeightsArgsDict(TypedDict):
|
642
|
+
timestamp: pulumi.Input[int]
|
643
|
+
elif False:
|
644
|
+
PulsarJobBlendMetricWeightsArgsDict: TypeAlias = Mapping[str, Any]
|
645
|
+
|
507
646
|
@pulumi.input_type
|
508
647
|
class PulsarJobBlendMetricWeightsArgs:
|
509
648
|
def __init__(__self__, *,
|
@@ -520,6 +659,19 @@ class PulsarJobBlendMetricWeightsArgs:
|
|
520
659
|
pulumi.set(self, "timestamp", value)
|
521
660
|
|
522
661
|
|
662
|
+
if not MYPY:
|
663
|
+
class PulsarJobConfigArgsDict(TypedDict):
|
664
|
+
host: NotRequired[pulumi.Input[str]]
|
665
|
+
http: NotRequired[pulumi.Input[bool]]
|
666
|
+
https: NotRequired[pulumi.Input[bool]]
|
667
|
+
job_timeout_millis: NotRequired[pulumi.Input[int]]
|
668
|
+
request_timeout_millis: NotRequired[pulumi.Input[int]]
|
669
|
+
static_values: NotRequired[pulumi.Input[bool]]
|
670
|
+
url_path: NotRequired[pulumi.Input[str]]
|
671
|
+
use_xhr: NotRequired[pulumi.Input[bool]]
|
672
|
+
elif False:
|
673
|
+
PulsarJobConfigArgsDict: TypeAlias = Mapping[str, Any]
|
674
|
+
|
523
675
|
@pulumi.input_type
|
524
676
|
class PulsarJobConfigArgs:
|
525
677
|
def __init__(__self__, *,
|
@@ -621,6 +773,15 @@ class PulsarJobConfigArgs:
|
|
621
773
|
pulumi.set(self, "use_xhr", value)
|
622
774
|
|
623
775
|
|
776
|
+
if not MYPY:
|
777
|
+
class PulsarJobWeightArgsDict(TypedDict):
|
778
|
+
default_value: pulumi.Input[float]
|
779
|
+
name: pulumi.Input[str]
|
780
|
+
weight: pulumi.Input[int]
|
781
|
+
maximize: NotRequired[pulumi.Input[bool]]
|
782
|
+
elif False:
|
783
|
+
PulsarJobWeightArgsDict: TypeAlias = Mapping[str, Any]
|
784
|
+
|
624
785
|
@pulumi.input_type
|
625
786
|
class PulsarJobWeightArgs:
|
626
787
|
def __init__(__self__, *,
|
@@ -671,6 +832,46 @@ class PulsarJobWeightArgs:
|
|
671
832
|
pulumi.set(self, "maximize", value)
|
672
833
|
|
673
834
|
|
835
|
+
if not MYPY:
|
836
|
+
class RecordAnswerArgsDict(TypedDict):
|
837
|
+
answer: NotRequired[pulumi.Input[str]]
|
838
|
+
"""
|
839
|
+
Space delimited string of RDATA fields dependent on the record type.
|
840
|
+
|
841
|
+
A:
|
842
|
+
|
843
|
+
answer = "1.2.3.4"
|
844
|
+
|
845
|
+
CNAME:
|
846
|
+
|
847
|
+
answer = "www.example.com"
|
848
|
+
|
849
|
+
MX:
|
850
|
+
|
851
|
+
answer = "5 mail.example.com"
|
852
|
+
|
853
|
+
SRV:
|
854
|
+
|
855
|
+
answer = "10 0 2380 node-1.example.com"
|
856
|
+
|
857
|
+
SPF:
|
858
|
+
|
859
|
+
answer = "v=DKIM1; k=rsa; p=XXXXXXXX"
|
860
|
+
"""
|
861
|
+
meta: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
|
862
|
+
region: NotRequired[pulumi.Input[str]]
|
863
|
+
"""
|
864
|
+
The region (Answer Group really) that this answer
|
865
|
+
belongs to. This should be one of the names specified in `regions`. Only a
|
866
|
+
single `region` per answer is currently supported. If you want an answer in
|
867
|
+
multiple regions, duplicating the answer (including metadata) is the correct
|
868
|
+
approach.
|
869
|
+
* ` meta` - (Optional) meta is supported at the `answer` level. Meta
|
870
|
+
is documented below.
|
871
|
+
"""
|
872
|
+
elif False:
|
873
|
+
RecordAnswerArgsDict: TypeAlias = Mapping[str, Any]
|
874
|
+
|
674
875
|
@pulumi.input_type
|
675
876
|
class RecordAnswerArgs:
|
676
877
|
def __init__(__self__, *,
|
@@ -774,6 +975,25 @@ class RecordAnswerArgs:
|
|
774
975
|
pulumi.set(self, "region", value)
|
775
976
|
|
776
977
|
|
978
|
+
if not MYPY:
|
979
|
+
class RecordFilterArgsDict(TypedDict):
|
980
|
+
filter: pulumi.Input[str]
|
981
|
+
"""
|
982
|
+
The type of filter.
|
983
|
+
"""
|
984
|
+
config: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
|
985
|
+
"""
|
986
|
+
The filters' configuration. Simple key/value pairs
|
987
|
+
determined by the filter type.
|
988
|
+
"""
|
989
|
+
disabled: NotRequired[pulumi.Input[bool]]
|
990
|
+
"""
|
991
|
+
Determines whether the filter is applied in the
|
992
|
+
filter chain.
|
993
|
+
"""
|
994
|
+
elif False:
|
995
|
+
RecordFilterArgsDict: TypeAlias = Mapping[str, Any]
|
996
|
+
|
777
997
|
@pulumi.input_type
|
778
998
|
class RecordFilterArgs:
|
779
999
|
def __init__(__self__, *,
|
@@ -832,6 +1052,16 @@ class RecordFilterArgs:
|
|
832
1052
|
pulumi.set(self, "disabled", value)
|
833
1053
|
|
834
1054
|
|
1055
|
+
if not MYPY:
|
1056
|
+
class RecordRegionArgsDict(TypedDict):
|
1057
|
+
name: pulumi.Input[str]
|
1058
|
+
"""
|
1059
|
+
Name of the region (or Answer Group).
|
1060
|
+
"""
|
1061
|
+
meta: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
|
1062
|
+
elif False:
|
1063
|
+
RecordRegionArgsDict: TypeAlias = Mapping[str, Any]
|
1064
|
+
|
835
1065
|
@pulumi.input_type
|
836
1066
|
class RecordRegionArgs:
|
837
1067
|
def __init__(__self__, *,
|
@@ -866,6 +1096,15 @@ class RecordRegionArgs:
|
|
866
1096
|
pulumi.set(self, "meta", value)
|
867
1097
|
|
868
1098
|
|
1099
|
+
if not MYPY:
|
1100
|
+
class TeamDnsRecordsAllowArgsDict(TypedDict):
|
1101
|
+
domain: pulumi.Input[str]
|
1102
|
+
include_subdomains: pulumi.Input[bool]
|
1103
|
+
type: pulumi.Input[str]
|
1104
|
+
zone: pulumi.Input[str]
|
1105
|
+
elif False:
|
1106
|
+
TeamDnsRecordsAllowArgsDict: TypeAlias = Mapping[str, Any]
|
1107
|
+
|
869
1108
|
@pulumi.input_type
|
870
1109
|
class TeamDnsRecordsAllowArgs:
|
871
1110
|
def __init__(__self__, *,
|
@@ -915,6 +1154,15 @@ class TeamDnsRecordsAllowArgs:
|
|
915
1154
|
pulumi.set(self, "zone", value)
|
916
1155
|
|
917
1156
|
|
1157
|
+
if not MYPY:
|
1158
|
+
class TeamDnsRecordsDenyArgsDict(TypedDict):
|
1159
|
+
domain: pulumi.Input[str]
|
1160
|
+
include_subdomains: pulumi.Input[bool]
|
1161
|
+
type: pulumi.Input[str]
|
1162
|
+
zone: pulumi.Input[str]
|
1163
|
+
elif False:
|
1164
|
+
TeamDnsRecordsDenyArgsDict: TypeAlias = Mapping[str, Any]
|
1165
|
+
|
918
1166
|
@pulumi.input_type
|
919
1167
|
class TeamDnsRecordsDenyArgs:
|
920
1168
|
def __init__(__self__, *,
|
@@ -964,6 +1212,16 @@ class TeamDnsRecordsDenyArgs:
|
|
964
1212
|
pulumi.set(self, "zone", value)
|
965
1213
|
|
966
1214
|
|
1215
|
+
if not MYPY:
|
1216
|
+
class TeamIpWhitelistArgsDict(TypedDict):
|
1217
|
+
name: pulumi.Input[str]
|
1218
|
+
"""
|
1219
|
+
The free form name of the team.
|
1220
|
+
"""
|
1221
|
+
values: pulumi.Input[Sequence[pulumi.Input[str]]]
|
1222
|
+
elif False:
|
1223
|
+
TeamIpWhitelistArgsDict: TypeAlias = Mapping[str, Any]
|
1224
|
+
|
967
1225
|
@pulumi.input_type
|
968
1226
|
class TeamIpWhitelistArgs:
|
969
1227
|
def __init__(__self__, *,
|
@@ -997,6 +1255,15 @@ class TeamIpWhitelistArgs:
|
|
997
1255
|
pulumi.set(self, "values", value)
|
998
1256
|
|
999
1257
|
|
1258
|
+
if not MYPY:
|
1259
|
+
class UserDnsRecordsAllowArgsDict(TypedDict):
|
1260
|
+
domain: pulumi.Input[str]
|
1261
|
+
include_subdomains: pulumi.Input[bool]
|
1262
|
+
type: pulumi.Input[str]
|
1263
|
+
zone: pulumi.Input[str]
|
1264
|
+
elif False:
|
1265
|
+
UserDnsRecordsAllowArgsDict: TypeAlias = Mapping[str, Any]
|
1266
|
+
|
1000
1267
|
@pulumi.input_type
|
1001
1268
|
class UserDnsRecordsAllowArgs:
|
1002
1269
|
def __init__(__self__, *,
|
@@ -1046,6 +1313,15 @@ class UserDnsRecordsAllowArgs:
|
|
1046
1313
|
pulumi.set(self, "zone", value)
|
1047
1314
|
|
1048
1315
|
|
1316
|
+
if not MYPY:
|
1317
|
+
class UserDnsRecordsDenyArgsDict(TypedDict):
|
1318
|
+
domain: pulumi.Input[str]
|
1319
|
+
include_subdomains: pulumi.Input[bool]
|
1320
|
+
type: pulumi.Input[str]
|
1321
|
+
zone: pulumi.Input[str]
|
1322
|
+
elif False:
|
1323
|
+
UserDnsRecordsDenyArgsDict: TypeAlias = Mapping[str, Any]
|
1324
|
+
|
1049
1325
|
@pulumi.input_type
|
1050
1326
|
class UserDnsRecordsDenyArgs:
|
1051
1327
|
def __init__(__self__, *,
|
@@ -1095,6 +1371,30 @@ class UserDnsRecordsDenyArgs:
|
|
1095
1371
|
pulumi.set(self, "zone", value)
|
1096
1372
|
|
1097
1373
|
|
1374
|
+
if not MYPY:
|
1375
|
+
class ZoneSecondaryArgsDict(TypedDict):
|
1376
|
+
ip: pulumi.Input[str]
|
1377
|
+
"""
|
1378
|
+
IPv4 address of the secondary server.
|
1379
|
+
"""
|
1380
|
+
networks: NotRequired[pulumi.Input[Sequence[pulumi.Input[int]]]]
|
1381
|
+
"""
|
1382
|
+
List of network IDs (`int`) for which the zone
|
1383
|
+
should be made available. Default is network 0, the primary NSONE Global
|
1384
|
+
Network. Normally, you should not have to worry about this.
|
1385
|
+
"""
|
1386
|
+
notify: NotRequired[pulumi.Input[bool]]
|
1387
|
+
"""
|
1388
|
+
Whether we send `NOTIFY` messages to the secondary host
|
1389
|
+
when the zone changes. Default `false`.
|
1390
|
+
"""
|
1391
|
+
port: NotRequired[pulumi.Input[int]]
|
1392
|
+
"""
|
1393
|
+
Port of the the secondary server. Default `53`.
|
1394
|
+
"""
|
1395
|
+
elif False:
|
1396
|
+
ZoneSecondaryArgsDict: TypeAlias = Mapping[str, Any]
|
1397
|
+
|
1098
1398
|
@pulumi.input_type
|
1099
1399
|
class ZoneSecondaryArgs:
|
1100
1400
|
def __init__(__self__, *,
|
@@ -1171,6 +1471,23 @@ class ZoneSecondaryArgs:
|
|
1171
1471
|
pulumi.set(self, "port", value)
|
1172
1472
|
|
1173
1473
|
|
1474
|
+
if not MYPY:
|
1475
|
+
class GetMonitoringRegionsRegionArgsDict(TypedDict):
|
1476
|
+
code: NotRequired[str]
|
1477
|
+
"""
|
1478
|
+
3-letter city code identifying the location of the monitor.
|
1479
|
+
"""
|
1480
|
+
name: NotRequired[str]
|
1481
|
+
"""
|
1482
|
+
City name identifying the location of the monitor.
|
1483
|
+
"""
|
1484
|
+
subnets: NotRequired[Sequence[str]]
|
1485
|
+
"""
|
1486
|
+
A list of IPv4 and IPv6 subnets the monitor sources requests from.
|
1487
|
+
"""
|
1488
|
+
elif False:
|
1489
|
+
GetMonitoringRegionsRegionArgsDict: TypeAlias = Mapping[str, Any]
|
1490
|
+
|
1174
1491
|
@pulumi.input_type
|
1175
1492
|
class GetMonitoringRegionsRegionArgs:
|
1176
1493
|
def __init__(__self__, *,
|
pulumi_ns1/_utilities.py
CHANGED
@@ -264,7 +264,7 @@ def call_plain(
|
|
264
264
|
output = pulumi.runtime.call(tok, props, res, typ)
|
265
265
|
|
266
266
|
# Ingoring deps silently. They are typically non-empty, r.f() calls include r as a dependency.
|
267
|
-
result, known, secret, _ = _sync_await(asyncio.
|
267
|
+
result, known, secret, _ = _sync_await(asyncio.create_task(_await_output(output)))
|
268
268
|
|
269
269
|
problem = None
|
270
270
|
if not known:
|
pulumi_ns1/account_whitelist.py
CHANGED
@@ -4,9 +4,14 @@
|
|
4
4
|
|
5
5
|
import copy
|
6
6
|
import warnings
|
7
|
+
import sys
|
7
8
|
import pulumi
|
8
9
|
import pulumi.runtime
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
10
15
|
from . import _utilities
|
11
16
|
|
12
17
|
__all__ = ['AccountWhitelistArgs', 'AccountWhitelist']
|
pulumi_ns1/api_key.py
CHANGED
@@ -4,9 +4,14 @@
|
|
4
4
|
|
5
5
|
import copy
|
6
6
|
import warnings
|
7
|
+
import sys
|
7
8
|
import pulumi
|
8
9
|
import pulumi.runtime
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
10
15
|
from . import _utilities
|
11
16
|
from . import outputs
|
12
17
|
from ._inputs import *
|
pulumi_ns1/application.py
CHANGED
@@ -4,9 +4,14 @@
|
|
4
4
|
|
5
5
|
import copy
|
6
6
|
import warnings
|
7
|
+
import sys
|
7
8
|
import pulumi
|
8
9
|
import pulumi.runtime
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
10
15
|
from . import _utilities
|
11
16
|
from . import outputs
|
12
17
|
from ._inputs import *
|
pulumi_ns1/config/__init__.pyi
CHANGED
@@ -4,9 +4,14 @@
|
|
4
4
|
|
5
5
|
import copy
|
6
6
|
import warnings
|
7
|
+
import sys
|
7
8
|
import pulumi
|
8
9
|
import pulumi.runtime
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
10
15
|
from .. import _utilities
|
11
16
|
|
12
17
|
apikey: Optional[str]
|
pulumi_ns1/config/vars.py
CHANGED
@@ -4,9 +4,14 @@
|
|
4
4
|
|
5
5
|
import copy
|
6
6
|
import warnings
|
7
|
+
import sys
|
7
8
|
import pulumi
|
8
9
|
import pulumi.runtime
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
10
15
|
from .. import _utilities
|
11
16
|
|
12
17
|
import types
|
pulumi_ns1/data_feed.py
CHANGED
@@ -4,9 +4,14 @@
|
|
4
4
|
|
5
5
|
import copy
|
6
6
|
import warnings
|
7
|
+
import sys
|
7
8
|
import pulumi
|
8
9
|
import pulumi.runtime
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
10
15
|
from . import _utilities
|
11
16
|
|
12
17
|
__all__ = ['DataFeedArgs', 'DataFeed']
|
pulumi_ns1/data_source.py
CHANGED
@@ -4,9 +4,14 @@
|
|
4
4
|
|
5
5
|
import copy
|
6
6
|
import warnings
|
7
|
+
import sys
|
7
8
|
import pulumi
|
8
9
|
import pulumi.runtime
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
10
15
|
from . import _utilities
|
11
16
|
|
12
17
|
__all__ = ['DataSourceArgs', 'DataSource']
|
pulumi_ns1/dataset.py
CHANGED
@@ -4,9 +4,14 @@
|
|
4
4
|
|
5
5
|
import copy
|
6
6
|
import warnings
|
7
|
+
import sys
|
7
8
|
import pulumi
|
8
9
|
import pulumi.runtime
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
10
15
|
from . import _utilities
|
11
16
|
from . import outputs
|
12
17
|
from ._inputs import *
|
pulumi_ns1/dnsview.py
CHANGED
@@ -4,9 +4,14 @@
|
|
4
4
|
|
5
5
|
import copy
|
6
6
|
import warnings
|
7
|
+
import sys
|
7
8
|
import pulumi
|
8
9
|
import pulumi.runtime
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
10
15
|
from . import _utilities
|
11
16
|
|
12
17
|
__all__ = ['DnsviewArgs', 'Dnsview']
|
pulumi_ns1/get_dns_sec.py
CHANGED
@@ -4,9 +4,14 @@
|
|
4
4
|
|
5
5
|
import copy
|
6
6
|
import warnings
|
7
|
+
import sys
|
7
8
|
import pulumi
|
8
9
|
import pulumi.runtime
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
10
15
|
from . import _utilities
|
11
16
|
from . import outputs
|
12
17
|
|
@@ -110,9 +115,6 @@ def get_dns_sec(zone: Optional[str] = None,
|
|
110
115
|
id=pulumi.get(__ret__, 'id'),
|
111
116
|
keys=pulumi.get(__ret__, 'keys'),
|
112
117
|
zone=pulumi.get(__ret__, 'zone'))
|
113
|
-
|
114
|
-
|
115
|
-
@_utilities.lift_output_func(get_dns_sec)
|
116
118
|
def get_dns_sec_output(zone: Optional[pulumi.Input[str]] = None,
|
117
119
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDNSSecResult]:
|
118
120
|
"""
|
@@ -134,4 +136,12 @@ def get_dns_sec_output(zone: Optional[pulumi.Input[str]] = None,
|
|
134
136
|
|
135
137
|
:param str zone: The name of the zone to get DNSSEC details for.
|
136
138
|
"""
|
137
|
-
|
139
|
+
__args__ = dict()
|
140
|
+
__args__['zone'] = zone
|
141
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
142
|
+
__ret__ = pulumi.runtime.invoke_output('ns1:index/getDNSSec:getDNSSec', __args__, opts=opts, typ=GetDNSSecResult)
|
143
|
+
return __ret__.apply(lambda __response__: GetDNSSecResult(
|
144
|
+
delegations=pulumi.get(__response__, 'delegations'),
|
145
|
+
id=pulumi.get(__response__, 'id'),
|
146
|
+
keys=pulumi.get(__response__, 'keys'),
|
147
|
+
zone=pulumi.get(__response__, 'zone')))
|