pulumi-ns1 3.5.0__py3-none-any.whl → 3.5.0a1723009616__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/__init__.py +0 -9
- pulumi_ns1/_inputs.py +17 -334
- pulumi_ns1/_utilities.py +1 -1
- pulumi_ns1/account_whitelist.py +0 -5
- pulumi_ns1/api_key.py +10 -15
- pulumi_ns1/application.py +5 -10
- pulumi_ns1/config/__init__.pyi +0 -5
- pulumi_ns1/config/vars.py +0 -5
- pulumi_ns1/data_feed.py +14 -19
- pulumi_ns1/data_source.py +14 -19
- pulumi_ns1/dataset.py +10 -15
- pulumi_ns1/dnsview.py +0 -5
- pulumi_ns1/get_dns_sec.py +5 -15
- pulumi_ns1/get_monitoring_regions.py +9 -17
- pulumi_ns1/get_networks.py +5 -12
- pulumi_ns1/get_record.py +8 -41
- pulumi_ns1/get_zone.py +6 -33
- pulumi_ns1/monitoring_job.py +33 -38
- pulumi_ns1/notify_list.py +21 -26
- pulumi_ns1/outputs.py +20 -25
- pulumi_ns1/provider.py +0 -5
- pulumi_ns1/pulsar_job.py +9 -14
- pulumi_ns1/pulumi-plugin.json +1 -1
- pulumi_ns1/record.py +81 -120
- pulumi_ns1/redirect.py +13 -5
- pulumi_ns1/redirect_certificate.py +0 -5
- pulumi_ns1/team.py +43 -48
- pulumi_ns1/tsigkey.py +0 -5
- pulumi_ns1/user.py +22 -27
- pulumi_ns1/zone.py +5 -10
- {pulumi_ns1-3.5.0.dist-info → pulumi_ns1-3.5.0a1723009616.dist-info}/METADATA +5 -6
- pulumi_ns1-3.5.0a1723009616.dist-info/RECORD +36 -0
- {pulumi_ns1-3.5.0.dist-info → pulumi_ns1-3.5.0a1723009616.dist-info}/WHEEL +1 -1
- pulumi_ns1/alert.py +0 -549
- pulumi_ns1-3.5.0.dist-info/RECORD +0 -37
- {pulumi_ns1-3.5.0.dist-info → pulumi_ns1-3.5.0a1723009616.dist-info}/top_level.txt +0 -0
pulumi_ns1/__init__.py
CHANGED
@@ -6,7 +6,6 @@ from . import _utilities
|
|
6
6
|
import typing
|
7
7
|
# Export this package's modules as members:
|
8
8
|
from .account_whitelist import *
|
9
|
-
from .alert import *
|
10
9
|
from .api_key import *
|
11
10
|
from .application import *
|
12
11
|
from .data_feed import *
|
@@ -58,14 +57,6 @@ _utilities.register(
|
|
58
57
|
"ns1:index/accountWhitelist:AccountWhitelist": "AccountWhitelist"
|
59
58
|
}
|
60
59
|
},
|
61
|
-
{
|
62
|
-
"pkg": "ns1",
|
63
|
-
"mod": "index/alert",
|
64
|
-
"fqn": "pulumi_ns1",
|
65
|
-
"classes": {
|
66
|
-
"ns1:index/alert:Alert": "Alert"
|
67
|
-
}
|
68
|
-
},
|
69
60
|
{
|
70
61
|
"pkg": "ns1",
|
71
62
|
"mod": "index/application",
|
pulumi_ns1/_inputs.py
CHANGED
@@ -4,74 +4,36 @@
|
|
4
4
|
|
5
5
|
import copy
|
6
6
|
import warnings
|
7
|
-
import sys
|
8
7
|
import pulumi
|
9
8
|
import pulumi.runtime
|
10
9
|
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
|
15
10
|
from . import _utilities
|
16
11
|
|
17
12
|
__all__ = [
|
18
13
|
'APIKeyDnsRecordsAllowArgs',
|
19
|
-
'APIKeyDnsRecordsAllowArgsDict',
|
20
14
|
'APIKeyDnsRecordsDenyArgs',
|
21
|
-
'APIKeyDnsRecordsDenyArgsDict',
|
22
15
|
'ApplicationDefaultConfigArgs',
|
23
|
-
'ApplicationDefaultConfigArgsDict',
|
24
16
|
'DatasetDatatypeArgs',
|
25
|
-
'DatasetDatatypeArgsDict',
|
26
17
|
'DatasetRepeatArgs',
|
27
|
-
'DatasetRepeatArgsDict',
|
28
18
|
'DatasetReportArgs',
|
29
|
-
'DatasetReportArgsDict',
|
30
19
|
'DatasetTimeframeArgs',
|
31
|
-
'DatasetTimeframeArgsDict',
|
32
20
|
'MonitoringJobRuleArgs',
|
33
|
-
'MonitoringJobRuleArgsDict',
|
34
21
|
'NotifyListNotificationArgs',
|
35
|
-
'NotifyListNotificationArgsDict',
|
36
22
|
'PulsarJobBlendMetricWeightsArgs',
|
37
|
-
'PulsarJobBlendMetricWeightsArgsDict',
|
38
23
|
'PulsarJobConfigArgs',
|
39
|
-
'PulsarJobConfigArgsDict',
|
40
24
|
'PulsarJobWeightArgs',
|
41
|
-
'PulsarJobWeightArgsDict',
|
42
25
|
'RecordAnswerArgs',
|
43
|
-
'RecordAnswerArgsDict',
|
44
26
|
'RecordFilterArgs',
|
45
|
-
'RecordFilterArgsDict',
|
46
27
|
'RecordRegionArgs',
|
47
|
-
'RecordRegionArgsDict',
|
48
28
|
'TeamDnsRecordsAllowArgs',
|
49
|
-
'TeamDnsRecordsAllowArgsDict',
|
50
29
|
'TeamDnsRecordsDenyArgs',
|
51
|
-
'TeamDnsRecordsDenyArgsDict',
|
52
30
|
'TeamIpWhitelistArgs',
|
53
|
-
'TeamIpWhitelistArgsDict',
|
54
31
|
'UserDnsRecordsAllowArgs',
|
55
|
-
'UserDnsRecordsAllowArgsDict',
|
56
32
|
'UserDnsRecordsDenyArgs',
|
57
|
-
'UserDnsRecordsDenyArgsDict',
|
58
33
|
'ZoneSecondaryArgs',
|
59
|
-
'ZoneSecondaryArgsDict',
|
60
34
|
'GetMonitoringRegionsRegionArgs',
|
61
|
-
'GetMonitoringRegionsRegionArgsDict',
|
62
35
|
]
|
63
36
|
|
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
|
-
|
75
37
|
@pulumi.input_type
|
76
38
|
class APIKeyDnsRecordsAllowArgs:
|
77
39
|
def __init__(__self__, *,
|
@@ -121,15 +83,6 @@ class APIKeyDnsRecordsAllowArgs:
|
|
121
83
|
pulumi.set(self, "zone", value)
|
122
84
|
|
123
85
|
|
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
|
-
|
133
86
|
@pulumi.input_type
|
134
87
|
class APIKeyDnsRecordsDenyArgs:
|
135
88
|
def __init__(__self__, *,
|
@@ -179,36 +132,6 @@ class APIKeyDnsRecordsDenyArgs:
|
|
179
132
|
pulumi.set(self, "zone", value)
|
180
133
|
|
181
134
|
|
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
|
-
|
212
135
|
@pulumi.input_type
|
213
136
|
class ApplicationDefaultConfigArgs:
|
214
137
|
def __init__(__self__, *,
|
@@ -313,18 +236,10 @@ class ApplicationDefaultConfigArgs:
|
|
313
236
|
pulumi.set(self, "use_xhr", value)
|
314
237
|
|
315
238
|
|
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
|
-
|
324
239
|
@pulumi.input_type
|
325
240
|
class DatasetDatatypeArgs:
|
326
241
|
def __init__(__self__, *,
|
327
|
-
data: pulumi.Input[Mapping[str,
|
242
|
+
data: pulumi.Input[Mapping[str, Any]],
|
328
243
|
scope: pulumi.Input[str],
|
329
244
|
type: pulumi.Input[str]):
|
330
245
|
pulumi.set(__self__, "data", data)
|
@@ -333,11 +248,11 @@ class DatasetDatatypeArgs:
|
|
333
248
|
|
334
249
|
@property
|
335
250
|
@pulumi.getter
|
336
|
-
def data(self) -> pulumi.Input[Mapping[str,
|
251
|
+
def data(self) -> pulumi.Input[Mapping[str, Any]]:
|
337
252
|
return pulumi.get(self, "data")
|
338
253
|
|
339
254
|
@data.setter
|
340
|
-
def data(self, value: pulumi.Input[Mapping[str,
|
255
|
+
def data(self, value: pulumi.Input[Mapping[str, Any]]):
|
341
256
|
pulumi.set(self, "data", value)
|
342
257
|
|
343
258
|
@property
|
@@ -359,14 +274,6 @@ class DatasetDatatypeArgs:
|
|
359
274
|
pulumi.set(self, "type", value)
|
360
275
|
|
361
276
|
|
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
|
-
|
370
277
|
@pulumi.input_type
|
371
278
|
class DatasetRepeatArgs:
|
372
279
|
def __init__(__self__, *,
|
@@ -405,16 +312,6 @@ class DatasetRepeatArgs:
|
|
405
312
|
pulumi.set(self, "start", value)
|
406
313
|
|
407
314
|
|
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
|
-
|
418
315
|
@pulumi.input_type
|
419
316
|
class DatasetReportArgs:
|
420
317
|
def __init__(__self__, *,
|
@@ -480,15 +377,6 @@ class DatasetReportArgs:
|
|
480
377
|
pulumi.set(self, "status", value)
|
481
378
|
|
482
379
|
|
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
|
-
|
492
380
|
@pulumi.input_type
|
493
381
|
class DatasetTimeframeArgs:
|
494
382
|
def __init__(__self__, *,
|
@@ -541,14 +429,6 @@ class DatasetTimeframeArgs:
|
|
541
429
|
pulumi.set(self, "to", value)
|
542
430
|
|
543
431
|
|
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
|
-
|
552
432
|
@pulumi.input_type
|
553
433
|
class MonitoringJobRuleArgs:
|
554
434
|
def __init__(__self__, *,
|
@@ -587,26 +467,13 @@ class MonitoringJobRuleArgs:
|
|
587
467
|
pulumi.set(self, "value", value)
|
588
468
|
|
589
469
|
|
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
|
-
|
603
470
|
@pulumi.input_type
|
604
471
|
class NotifyListNotificationArgs:
|
605
472
|
def __init__(__self__, *,
|
606
|
-
config: pulumi.Input[Mapping[str,
|
473
|
+
config: pulumi.Input[Mapping[str, Any]],
|
607
474
|
type: pulumi.Input[str]):
|
608
475
|
"""
|
609
|
-
:param pulumi.Input[Mapping[str,
|
476
|
+
:param pulumi.Input[Mapping[str, Any]] config: Configuration details for the given notifier type.
|
610
477
|
:param pulumi.Input[str] type: The type of notifier. Available notifiers are indicated in /notifytypes endpoint.
|
611
478
|
"""
|
612
479
|
pulumi.set(__self__, "config", config)
|
@@ -614,14 +481,14 @@ class NotifyListNotificationArgs:
|
|
614
481
|
|
615
482
|
@property
|
616
483
|
@pulumi.getter
|
617
|
-
def config(self) -> pulumi.Input[Mapping[str,
|
484
|
+
def config(self) -> pulumi.Input[Mapping[str, Any]]:
|
618
485
|
"""
|
619
486
|
Configuration details for the given notifier type.
|
620
487
|
"""
|
621
488
|
return pulumi.get(self, "config")
|
622
489
|
|
623
490
|
@config.setter
|
624
|
-
def config(self, value: pulumi.Input[Mapping[str,
|
491
|
+
def config(self, value: pulumi.Input[Mapping[str, Any]]):
|
625
492
|
pulumi.set(self, "config", value)
|
626
493
|
|
627
494
|
@property
|
@@ -637,12 +504,6 @@ class NotifyListNotificationArgs:
|
|
637
504
|
pulumi.set(self, "type", value)
|
638
505
|
|
639
506
|
|
640
|
-
if not MYPY:
|
641
|
-
class PulsarJobBlendMetricWeightsArgsDict(TypedDict):
|
642
|
-
timestamp: pulumi.Input[int]
|
643
|
-
elif False:
|
644
|
-
PulsarJobBlendMetricWeightsArgsDict: TypeAlias = Mapping[str, Any]
|
645
|
-
|
646
507
|
@pulumi.input_type
|
647
508
|
class PulsarJobBlendMetricWeightsArgs:
|
648
509
|
def __init__(__self__, *,
|
@@ -659,19 +520,6 @@ class PulsarJobBlendMetricWeightsArgs:
|
|
659
520
|
pulumi.set(self, "timestamp", value)
|
660
521
|
|
661
522
|
|
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
|
-
|
675
523
|
@pulumi.input_type
|
676
524
|
class PulsarJobConfigArgs:
|
677
525
|
def __init__(__self__, *,
|
@@ -773,15 +621,6 @@ class PulsarJobConfigArgs:
|
|
773
621
|
pulumi.set(self, "use_xhr", value)
|
774
622
|
|
775
623
|
|
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
|
-
|
785
624
|
@pulumi.input_type
|
786
625
|
class PulsarJobWeightArgs:
|
787
626
|
def __init__(__self__, *,
|
@@ -832,51 +671,11 @@ class PulsarJobWeightArgs:
|
|
832
671
|
pulumi.set(self, "maximize", value)
|
833
672
|
|
834
673
|
|
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
|
-
|
875
674
|
@pulumi.input_type
|
876
675
|
class RecordAnswerArgs:
|
877
676
|
def __init__(__self__, *,
|
878
677
|
answer: Optional[pulumi.Input[str]] = None,
|
879
|
-
meta: Optional[pulumi.Input[Mapping[str,
|
678
|
+
meta: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
880
679
|
region: Optional[pulumi.Input[str]] = None):
|
881
680
|
"""
|
882
681
|
:param pulumi.Input[str] answer: Space delimited string of RDATA fields dependent on the record type.
|
@@ -949,11 +748,11 @@ class RecordAnswerArgs:
|
|
949
748
|
|
950
749
|
@property
|
951
750
|
@pulumi.getter
|
952
|
-
def meta(self) -> Optional[pulumi.Input[Mapping[str,
|
751
|
+
def meta(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
953
752
|
return pulumi.get(self, "meta")
|
954
753
|
|
955
754
|
@meta.setter
|
956
|
-
def meta(self, value: Optional[pulumi.Input[Mapping[str,
|
755
|
+
def meta(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
957
756
|
pulumi.set(self, "meta", value)
|
958
757
|
|
959
758
|
@property
|
@@ -975,34 +774,15 @@ class RecordAnswerArgs:
|
|
975
774
|
pulumi.set(self, "region", value)
|
976
775
|
|
977
776
|
|
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
|
-
|
997
777
|
@pulumi.input_type
|
998
778
|
class RecordFilterArgs:
|
999
779
|
def __init__(__self__, *,
|
1000
780
|
filter: pulumi.Input[str],
|
1001
|
-
config: Optional[pulumi.Input[Mapping[str,
|
781
|
+
config: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
1002
782
|
disabled: Optional[pulumi.Input[bool]] = None):
|
1003
783
|
"""
|
1004
784
|
:param pulumi.Input[str] filter: The type of filter.
|
1005
|
-
:param pulumi.Input[Mapping[str,
|
785
|
+
:param pulumi.Input[Mapping[str, Any]] config: The filters' configuration. Simple key/value pairs
|
1006
786
|
determined by the filter type.
|
1007
787
|
:param pulumi.Input[bool] disabled: Determines whether the filter is applied in the
|
1008
788
|
filter chain.
|
@@ -1027,7 +807,7 @@ class RecordFilterArgs:
|
|
1027
807
|
|
1028
808
|
@property
|
1029
809
|
@pulumi.getter
|
1030
|
-
def config(self) -> Optional[pulumi.Input[Mapping[str,
|
810
|
+
def config(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
1031
811
|
"""
|
1032
812
|
The filters' configuration. Simple key/value pairs
|
1033
813
|
determined by the filter type.
|
@@ -1035,7 +815,7 @@ class RecordFilterArgs:
|
|
1035
815
|
return pulumi.get(self, "config")
|
1036
816
|
|
1037
817
|
@config.setter
|
1038
|
-
def config(self, value: Optional[pulumi.Input[Mapping[str,
|
818
|
+
def config(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
1039
819
|
pulumi.set(self, "config", value)
|
1040
820
|
|
1041
821
|
@property
|
@@ -1052,21 +832,11 @@ class RecordFilterArgs:
|
|
1052
832
|
pulumi.set(self, "disabled", value)
|
1053
833
|
|
1054
834
|
|
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
|
-
|
1065
835
|
@pulumi.input_type
|
1066
836
|
class RecordRegionArgs:
|
1067
837
|
def __init__(__self__, *,
|
1068
838
|
name: pulumi.Input[str],
|
1069
|
-
meta: Optional[pulumi.Input[Mapping[str,
|
839
|
+
meta: Optional[pulumi.Input[Mapping[str, Any]]] = None):
|
1070
840
|
"""
|
1071
841
|
:param pulumi.Input[str] name: Name of the region (or Answer Group).
|
1072
842
|
"""
|
@@ -1088,23 +858,14 @@ class RecordRegionArgs:
|
|
1088
858
|
|
1089
859
|
@property
|
1090
860
|
@pulumi.getter
|
1091
|
-
def meta(self) -> Optional[pulumi.Input[Mapping[str,
|
861
|
+
def meta(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
1092
862
|
return pulumi.get(self, "meta")
|
1093
863
|
|
1094
864
|
@meta.setter
|
1095
|
-
def meta(self, value: Optional[pulumi.Input[Mapping[str,
|
865
|
+
def meta(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
1096
866
|
pulumi.set(self, "meta", value)
|
1097
867
|
|
1098
868
|
|
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
|
-
|
1108
869
|
@pulumi.input_type
|
1109
870
|
class TeamDnsRecordsAllowArgs:
|
1110
871
|
def __init__(__self__, *,
|
@@ -1154,15 +915,6 @@ class TeamDnsRecordsAllowArgs:
|
|
1154
915
|
pulumi.set(self, "zone", value)
|
1155
916
|
|
1156
917
|
|
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
|
-
|
1166
918
|
@pulumi.input_type
|
1167
919
|
class TeamDnsRecordsDenyArgs:
|
1168
920
|
def __init__(__self__, *,
|
@@ -1212,16 +964,6 @@ class TeamDnsRecordsDenyArgs:
|
|
1212
964
|
pulumi.set(self, "zone", value)
|
1213
965
|
|
1214
966
|
|
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
|
-
|
1225
967
|
@pulumi.input_type
|
1226
968
|
class TeamIpWhitelistArgs:
|
1227
969
|
def __init__(__self__, *,
|
@@ -1255,15 +997,6 @@ class TeamIpWhitelistArgs:
|
|
1255
997
|
pulumi.set(self, "values", value)
|
1256
998
|
|
1257
999
|
|
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
|
-
|
1267
1000
|
@pulumi.input_type
|
1268
1001
|
class UserDnsRecordsAllowArgs:
|
1269
1002
|
def __init__(__self__, *,
|
@@ -1313,15 +1046,6 @@ class UserDnsRecordsAllowArgs:
|
|
1313
1046
|
pulumi.set(self, "zone", value)
|
1314
1047
|
|
1315
1048
|
|
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
|
-
|
1325
1049
|
@pulumi.input_type
|
1326
1050
|
class UserDnsRecordsDenyArgs:
|
1327
1051
|
def __init__(__self__, *,
|
@@ -1371,30 +1095,6 @@ class UserDnsRecordsDenyArgs:
|
|
1371
1095
|
pulumi.set(self, "zone", value)
|
1372
1096
|
|
1373
1097
|
|
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
|
-
|
1398
1098
|
@pulumi.input_type
|
1399
1099
|
class ZoneSecondaryArgs:
|
1400
1100
|
def __init__(__self__, *,
|
@@ -1471,23 +1171,6 @@ class ZoneSecondaryArgs:
|
|
1471
1171
|
pulumi.set(self, "port", value)
|
1472
1172
|
|
1473
1173
|
|
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
|
-
|
1491
1174
|
@pulumi.input_type
|
1492
1175
|
class GetMonitoringRegionsRegionArgs:
|
1493
1176
|
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.ensure_future(_await_output(output)))
|
268
268
|
|
269
269
|
problem = None
|
270
270
|
if not known:
|
pulumi_ns1/account_whitelist.py
CHANGED
@@ -4,14 +4,9 @@
|
|
4
4
|
|
5
5
|
import copy
|
6
6
|
import warnings
|
7
|
-
import sys
|
8
7
|
import pulumi
|
9
8
|
import pulumi.runtime
|
10
9
|
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
|
15
10
|
from . import _utilities
|
16
11
|
|
17
12
|
__all__ = ['AccountWhitelistArgs', 'AccountWhitelist']
|