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/api_key.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
|
from . import outputs
|
17
12
|
from ._inputs import *
|
@@ -1072,8 +1067,8 @@ class APIKey(pulumi.CustomResource):
|
|
1072
1067
|
data_manage_datasources: Optional[pulumi.Input[bool]] = None,
|
1073
1068
|
data_push_to_datafeeds: Optional[pulumi.Input[bool]] = None,
|
1074
1069
|
dns_manage_zones: Optional[pulumi.Input[bool]] = None,
|
1075
|
-
dns_records_allows: Optional[pulumi.Input[Sequence[pulumi.Input[
|
1076
|
-
dns_records_denies: Optional[pulumi.Input[Sequence[pulumi.Input[
|
1070
|
+
dns_records_allows: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['APIKeyDnsRecordsAllowArgs']]]]] = None,
|
1071
|
+
dns_records_denies: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['APIKeyDnsRecordsDenyArgs']]]]] = None,
|
1077
1072
|
dns_view_zones: Optional[pulumi.Input[bool]] = None,
|
1078
1073
|
dns_zones_allow_by_default: Optional[pulumi.Input[bool]] = None,
|
1079
1074
|
dns_zones_allows: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
@@ -1156,8 +1151,8 @@ class APIKey(pulumi.CustomResource):
|
|
1156
1151
|
:param pulumi.Input[bool] data_manage_datasources: Whether the apikey can modify data sources.
|
1157
1152
|
:param pulumi.Input[bool] data_push_to_datafeeds: Whether the apikey can publish to data feeds.
|
1158
1153
|
:param pulumi.Input[bool] dns_manage_zones: Whether the apikey can modify the accounts zones.
|
1159
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
1160
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
1154
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['APIKeyDnsRecordsAllowArgs']]]] dns_records_allows: List of records that the apikey may access.
|
1155
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['APIKeyDnsRecordsDenyArgs']]]] dns_records_denies: List of records that the apikey may not access.
|
1161
1156
|
:param pulumi.Input[bool] dns_view_zones: Whether the apikey can view the accounts zones.
|
1162
1157
|
:param pulumi.Input[bool] dns_zones_allow_by_default: If true, enable the `dns_zones_allow` list, otherwise enable the `dns_zones_deny` list.
|
1163
1158
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] dns_zones_allows: List of zones that the apikey may access.
|
@@ -1260,8 +1255,8 @@ class APIKey(pulumi.CustomResource):
|
|
1260
1255
|
data_manage_datasources: Optional[pulumi.Input[bool]] = None,
|
1261
1256
|
data_push_to_datafeeds: Optional[pulumi.Input[bool]] = None,
|
1262
1257
|
dns_manage_zones: Optional[pulumi.Input[bool]] = None,
|
1263
|
-
dns_records_allows: Optional[pulumi.Input[Sequence[pulumi.Input[
|
1264
|
-
dns_records_denies: Optional[pulumi.Input[Sequence[pulumi.Input[
|
1258
|
+
dns_records_allows: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['APIKeyDnsRecordsAllowArgs']]]]] = None,
|
1259
|
+
dns_records_denies: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['APIKeyDnsRecordsDenyArgs']]]]] = None,
|
1265
1260
|
dns_view_zones: Optional[pulumi.Input[bool]] = None,
|
1266
1261
|
dns_zones_allow_by_default: Optional[pulumi.Input[bool]] = None,
|
1267
1262
|
dns_zones_allows: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
@@ -1344,8 +1339,8 @@ class APIKey(pulumi.CustomResource):
|
|
1344
1339
|
data_manage_datasources: Optional[pulumi.Input[bool]] = None,
|
1345
1340
|
data_push_to_datafeeds: Optional[pulumi.Input[bool]] = None,
|
1346
1341
|
dns_manage_zones: Optional[pulumi.Input[bool]] = None,
|
1347
|
-
dns_records_allows: Optional[pulumi.Input[Sequence[pulumi.Input[
|
1348
|
-
dns_records_denies: Optional[pulumi.Input[Sequence[pulumi.Input[
|
1342
|
+
dns_records_allows: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['APIKeyDnsRecordsAllowArgs']]]]] = None,
|
1343
|
+
dns_records_denies: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['APIKeyDnsRecordsDenyArgs']]]]] = None,
|
1349
1344
|
dns_view_zones: Optional[pulumi.Input[bool]] = None,
|
1350
1345
|
dns_zones_allow_by_default: Optional[pulumi.Input[bool]] = None,
|
1351
1346
|
dns_zones_allows: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
@@ -1383,8 +1378,8 @@ class APIKey(pulumi.CustomResource):
|
|
1383
1378
|
:param pulumi.Input[bool] data_manage_datasources: Whether the apikey can modify data sources.
|
1384
1379
|
:param pulumi.Input[bool] data_push_to_datafeeds: Whether the apikey can publish to data feeds.
|
1385
1380
|
:param pulumi.Input[bool] dns_manage_zones: Whether the apikey can modify the accounts zones.
|
1386
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
1387
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
1381
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['APIKeyDnsRecordsAllowArgs']]]] dns_records_allows: List of records that the apikey may access.
|
1382
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['APIKeyDnsRecordsDenyArgs']]]] dns_records_denies: List of records that the apikey may not access.
|
1388
1383
|
:param pulumi.Input[bool] dns_view_zones: Whether the apikey can view the accounts zones.
|
1389
1384
|
:param pulumi.Input[bool] dns_zones_allow_by_default: If true, enable the `dns_zones_allow` list, otherwise enable the `dns_zones_deny` list.
|
1390
1385
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] dns_zones_allows: List of zones that the apikey may access.
|
pulumi_ns1/application.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
|
from . import outputs
|
17
12
|
from ._inputs import *
|
@@ -213,7 +208,7 @@ class Application(pulumi.CustomResource):
|
|
213
208
|
opts: Optional[pulumi.ResourceOptions] = None,
|
214
209
|
active: Optional[pulumi.Input[bool]] = None,
|
215
210
|
browser_wait_millis: Optional[pulumi.Input[int]] = None,
|
216
|
-
default_config: Optional[pulumi.Input[
|
211
|
+
default_config: Optional[pulumi.Input[pulumi.InputType['ApplicationDefaultConfigArgs']]] = None,
|
217
212
|
jobs_per_transaction: Optional[pulumi.Input[int]] = None,
|
218
213
|
name: Optional[pulumi.Input[str]] = None,
|
219
214
|
__props__=None):
|
@@ -238,7 +233,7 @@ class Application(pulumi.CustomResource):
|
|
238
233
|
steering.
|
239
234
|
:param pulumi.Input[int] browser_wait_millis: The amount of time (in milliseconds) the browser should wait before running
|
240
235
|
measurements.
|
241
|
-
:param pulumi.Input[
|
236
|
+
:param pulumi.Input[pulumi.InputType['ApplicationDefaultConfigArgs']] default_config: Default job configuration. If a field is present here and not on a specific job
|
242
237
|
associated with this application, the default value specified here is used..
|
243
238
|
:param pulumi.Input[int] jobs_per_transaction: Number of jobs to measure per user impression.
|
244
239
|
:param pulumi.Input[str] name: Descriptive name for this Pulsar app.
|
@@ -281,7 +276,7 @@ class Application(pulumi.CustomResource):
|
|
281
276
|
opts: Optional[pulumi.ResourceOptions] = None,
|
282
277
|
active: Optional[pulumi.Input[bool]] = None,
|
283
278
|
browser_wait_millis: Optional[pulumi.Input[int]] = None,
|
284
|
-
default_config: Optional[pulumi.Input[
|
279
|
+
default_config: Optional[pulumi.Input[pulumi.InputType['ApplicationDefaultConfigArgs']]] = None,
|
285
280
|
jobs_per_transaction: Optional[pulumi.Input[int]] = None,
|
286
281
|
name: Optional[pulumi.Input[str]] = None,
|
287
282
|
__props__=None):
|
@@ -310,7 +305,7 @@ class Application(pulumi.CustomResource):
|
|
310
305
|
opts: Optional[pulumi.ResourceOptions] = None,
|
311
306
|
active: Optional[pulumi.Input[bool]] = None,
|
312
307
|
browser_wait_millis: Optional[pulumi.Input[int]] = None,
|
313
|
-
default_config: Optional[pulumi.Input[
|
308
|
+
default_config: Optional[pulumi.Input[pulumi.InputType['ApplicationDefaultConfigArgs']]] = None,
|
314
309
|
jobs_per_transaction: Optional[pulumi.Input[int]] = None,
|
315
310
|
name: Optional[pulumi.Input[str]] = None) -> 'Application':
|
316
311
|
"""
|
@@ -324,7 +319,7 @@ class Application(pulumi.CustomResource):
|
|
324
319
|
steering.
|
325
320
|
:param pulumi.Input[int] browser_wait_millis: The amount of time (in milliseconds) the browser should wait before running
|
326
321
|
measurements.
|
327
|
-
:param pulumi.Input[
|
322
|
+
:param pulumi.Input[pulumi.InputType['ApplicationDefaultConfigArgs']] default_config: Default job configuration. If a field is present here and not on a specific job
|
328
323
|
associated with this application, the default value specified here is used..
|
329
324
|
:param pulumi.Input[int] jobs_per_transaction: Number of jobs to measure per user impression.
|
330
325
|
:param pulumi.Input[str] name: Descriptive name for this Pulsar app.
|
pulumi_ns1/config/__init__.pyi
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
|
apikey: Optional[str]
|
pulumi_ns1/config/vars.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
|
import types
|
pulumi_ns1/data_feed.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__ = ['DataFeedArgs', 'DataFeed']
|
@@ -20,12 +15,12 @@ __all__ = ['DataFeedArgs', 'DataFeed']
|
|
20
15
|
class DataFeedArgs:
|
21
16
|
def __init__(__self__, *,
|
22
17
|
source_id: pulumi.Input[str],
|
23
|
-
config: Optional[pulumi.Input[Mapping[str,
|
18
|
+
config: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
24
19
|
name: Optional[pulumi.Input[str]] = None):
|
25
20
|
"""
|
26
21
|
The set of arguments for constructing a DataFeed resource.
|
27
22
|
:param pulumi.Input[str] source_id: The data source id that this feed is connected to.
|
28
|
-
:param pulumi.Input[Mapping[str,
|
23
|
+
:param pulumi.Input[Mapping[str, Any]] config: The feeds configuration matching the specification in
|
29
24
|
`feed_config` from /data/sourcetypes. `jobid` is required in the `config` for datafeeds connected to NS1 monitoring.
|
30
25
|
:param pulumi.Input[str] name: The free form name of the data feed.
|
31
26
|
"""
|
@@ -49,7 +44,7 @@ class DataFeedArgs:
|
|
49
44
|
|
50
45
|
@property
|
51
46
|
@pulumi.getter
|
52
|
-
def config(self) -> Optional[pulumi.Input[Mapping[str,
|
47
|
+
def config(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
53
48
|
"""
|
54
49
|
The feeds configuration matching the specification in
|
55
50
|
`feed_config` from /data/sourcetypes. `jobid` is required in the `config` for datafeeds connected to NS1 monitoring.
|
@@ -57,7 +52,7 @@ class DataFeedArgs:
|
|
57
52
|
return pulumi.get(self, "config")
|
58
53
|
|
59
54
|
@config.setter
|
60
|
-
def config(self, value: Optional[pulumi.Input[Mapping[str,
|
55
|
+
def config(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
61
56
|
pulumi.set(self, "config", value)
|
62
57
|
|
63
58
|
@property
|
@@ -76,12 +71,12 @@ class DataFeedArgs:
|
|
76
71
|
@pulumi.input_type
|
77
72
|
class _DataFeedState:
|
78
73
|
def __init__(__self__, *,
|
79
|
-
config: Optional[pulumi.Input[Mapping[str,
|
74
|
+
config: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
80
75
|
name: Optional[pulumi.Input[str]] = None,
|
81
76
|
source_id: Optional[pulumi.Input[str]] = None):
|
82
77
|
"""
|
83
78
|
Input properties used for looking up and filtering DataFeed resources.
|
84
|
-
:param pulumi.Input[Mapping[str,
|
79
|
+
:param pulumi.Input[Mapping[str, Any]] config: The feeds configuration matching the specification in
|
85
80
|
`feed_config` from /data/sourcetypes. `jobid` is required in the `config` for datafeeds connected to NS1 monitoring.
|
86
81
|
:param pulumi.Input[str] name: The free form name of the data feed.
|
87
82
|
:param pulumi.Input[str] source_id: The data source id that this feed is connected to.
|
@@ -95,7 +90,7 @@ class _DataFeedState:
|
|
95
90
|
|
96
91
|
@property
|
97
92
|
@pulumi.getter
|
98
|
-
def config(self) -> Optional[pulumi.Input[Mapping[str,
|
93
|
+
def config(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
99
94
|
"""
|
100
95
|
The feeds configuration matching the specification in
|
101
96
|
`feed_config` from /data/sourcetypes. `jobid` is required in the `config` for datafeeds connected to NS1 monitoring.
|
@@ -103,7 +98,7 @@ class _DataFeedState:
|
|
103
98
|
return pulumi.get(self, "config")
|
104
99
|
|
105
100
|
@config.setter
|
106
|
-
def config(self, value: Optional[pulumi.Input[Mapping[str,
|
101
|
+
def config(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
107
102
|
pulumi.set(self, "config", value)
|
108
103
|
|
109
104
|
@property
|
@@ -136,7 +131,7 @@ class DataFeed(pulumi.CustomResource):
|
|
136
131
|
def __init__(__self__,
|
137
132
|
resource_name: str,
|
138
133
|
opts: Optional[pulumi.ResourceOptions] = None,
|
139
|
-
config: Optional[pulumi.Input[Mapping[str,
|
134
|
+
config: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
140
135
|
name: Optional[pulumi.Input[str]] = None,
|
141
136
|
source_id: Optional[pulumi.Input[str]] = None,
|
142
137
|
__props__=None):
|
@@ -187,7 +182,7 @@ class DataFeed(pulumi.CustomResource):
|
|
187
182
|
|
188
183
|
:param str resource_name: The name of the resource.
|
189
184
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
190
|
-
:param pulumi.Input[Mapping[str,
|
185
|
+
:param pulumi.Input[Mapping[str, Any]] config: The feeds configuration matching the specification in
|
191
186
|
`feed_config` from /data/sourcetypes. `jobid` is required in the `config` for datafeeds connected to NS1 monitoring.
|
192
187
|
:param pulumi.Input[str] name: The free form name of the data feed.
|
193
188
|
:param pulumi.Input[str] source_id: The data source id that this feed is connected to.
|
@@ -258,7 +253,7 @@ class DataFeed(pulumi.CustomResource):
|
|
258
253
|
def _internal_init(__self__,
|
259
254
|
resource_name: str,
|
260
255
|
opts: Optional[pulumi.ResourceOptions] = None,
|
261
|
-
config: Optional[pulumi.Input[Mapping[str,
|
256
|
+
config: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
262
257
|
name: Optional[pulumi.Input[str]] = None,
|
263
258
|
source_id: Optional[pulumi.Input[str]] = None,
|
264
259
|
__props__=None):
|
@@ -285,7 +280,7 @@ class DataFeed(pulumi.CustomResource):
|
|
285
280
|
def get(resource_name: str,
|
286
281
|
id: pulumi.Input[str],
|
287
282
|
opts: Optional[pulumi.ResourceOptions] = None,
|
288
|
-
config: Optional[pulumi.Input[Mapping[str,
|
283
|
+
config: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
289
284
|
name: Optional[pulumi.Input[str]] = None,
|
290
285
|
source_id: Optional[pulumi.Input[str]] = None) -> 'DataFeed':
|
291
286
|
"""
|
@@ -295,7 +290,7 @@ class DataFeed(pulumi.CustomResource):
|
|
295
290
|
:param str resource_name: The unique name of the resulting resource.
|
296
291
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
297
292
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
298
|
-
:param pulumi.Input[Mapping[str,
|
293
|
+
:param pulumi.Input[Mapping[str, Any]] config: The feeds configuration matching the specification in
|
299
294
|
`feed_config` from /data/sourcetypes. `jobid` is required in the `config` for datafeeds connected to NS1 monitoring.
|
300
295
|
:param pulumi.Input[str] name: The free form name of the data feed.
|
301
296
|
:param pulumi.Input[str] source_id: The data source id that this feed is connected to.
|
@@ -311,7 +306,7 @@ class DataFeed(pulumi.CustomResource):
|
|
311
306
|
|
312
307
|
@property
|
313
308
|
@pulumi.getter
|
314
|
-
def config(self) -> pulumi.Output[Optional[Mapping[str,
|
309
|
+
def config(self) -> pulumi.Output[Optional[Mapping[str, Any]]]:
|
315
310
|
"""
|
316
311
|
The feeds configuration matching the specification in
|
317
312
|
`feed_config` from /data/sourcetypes. `jobid` is required in the `config` for datafeeds connected to NS1 monitoring.
|
pulumi_ns1/data_source.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__ = ['DataSourceArgs', 'DataSource']
|
@@ -20,12 +15,12 @@ __all__ = ['DataSourceArgs', 'DataSource']
|
|
20
15
|
class DataSourceArgs:
|
21
16
|
def __init__(__self__, *,
|
22
17
|
sourcetype: pulumi.Input[str],
|
23
|
-
config: Optional[pulumi.Input[Mapping[str,
|
18
|
+
config: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
24
19
|
name: Optional[pulumi.Input[str]] = None):
|
25
20
|
"""
|
26
21
|
The set of arguments for constructing a DataSource resource.
|
27
22
|
:param pulumi.Input[str] sourcetype: The data sources type, listed in API endpoint https://api.nsone.net/v1/data/sourcetypes.
|
28
|
-
:param pulumi.Input[Mapping[str,
|
23
|
+
:param pulumi.Input[Mapping[str, Any]] config: The data source configuration, determined by its type,
|
29
24
|
matching the specification in `config` from /data/sourcetypes.
|
30
25
|
:param pulumi.Input[str] name: The free form name of the data source.
|
31
26
|
"""
|
@@ -49,7 +44,7 @@ class DataSourceArgs:
|
|
49
44
|
|
50
45
|
@property
|
51
46
|
@pulumi.getter
|
52
|
-
def config(self) -> Optional[pulumi.Input[Mapping[str,
|
47
|
+
def config(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
53
48
|
"""
|
54
49
|
The data source configuration, determined by its type,
|
55
50
|
matching the specification in `config` from /data/sourcetypes.
|
@@ -57,7 +52,7 @@ class DataSourceArgs:
|
|
57
52
|
return pulumi.get(self, "config")
|
58
53
|
|
59
54
|
@config.setter
|
60
|
-
def config(self, value: Optional[pulumi.Input[Mapping[str,
|
55
|
+
def config(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
61
56
|
pulumi.set(self, "config", value)
|
62
57
|
|
63
58
|
@property
|
@@ -76,12 +71,12 @@ class DataSourceArgs:
|
|
76
71
|
@pulumi.input_type
|
77
72
|
class _DataSourceState:
|
78
73
|
def __init__(__self__, *,
|
79
|
-
config: Optional[pulumi.Input[Mapping[str,
|
74
|
+
config: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
80
75
|
name: Optional[pulumi.Input[str]] = None,
|
81
76
|
sourcetype: Optional[pulumi.Input[str]] = None):
|
82
77
|
"""
|
83
78
|
Input properties used for looking up and filtering DataSource resources.
|
84
|
-
:param pulumi.Input[Mapping[str,
|
79
|
+
:param pulumi.Input[Mapping[str, Any]] config: The data source configuration, determined by its type,
|
85
80
|
matching the specification in `config` from /data/sourcetypes.
|
86
81
|
:param pulumi.Input[str] name: The free form name of the data source.
|
87
82
|
:param pulumi.Input[str] sourcetype: The data sources type, listed in API endpoint https://api.nsone.net/v1/data/sourcetypes.
|
@@ -95,7 +90,7 @@ class _DataSourceState:
|
|
95
90
|
|
96
91
|
@property
|
97
92
|
@pulumi.getter
|
98
|
-
def config(self) -> Optional[pulumi.Input[Mapping[str,
|
93
|
+
def config(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
99
94
|
"""
|
100
95
|
The data source configuration, determined by its type,
|
101
96
|
matching the specification in `config` from /data/sourcetypes.
|
@@ -103,7 +98,7 @@ class _DataSourceState:
|
|
103
98
|
return pulumi.get(self, "config")
|
104
99
|
|
105
100
|
@config.setter
|
106
|
-
def config(self, value: Optional[pulumi.Input[Mapping[str,
|
101
|
+
def config(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
107
102
|
pulumi.set(self, "config", value)
|
108
103
|
|
109
104
|
@property
|
@@ -136,7 +131,7 @@ class DataSource(pulumi.CustomResource):
|
|
136
131
|
def __init__(__self__,
|
137
132
|
resource_name: str,
|
138
133
|
opts: Optional[pulumi.ResourceOptions] = None,
|
139
|
-
config: Optional[pulumi.Input[Mapping[str,
|
134
|
+
config: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
140
135
|
name: Optional[pulumi.Input[str]] = None,
|
141
136
|
sourcetype: Optional[pulumi.Input[str]] = None,
|
142
137
|
__props__=None):
|
@@ -166,7 +161,7 @@ class DataSource(pulumi.CustomResource):
|
|
166
161
|
|
167
162
|
:param str resource_name: The name of the resource.
|
168
163
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
169
|
-
:param pulumi.Input[Mapping[str,
|
164
|
+
:param pulumi.Input[Mapping[str, Any]] config: The data source configuration, determined by its type,
|
170
165
|
matching the specification in `config` from /data/sourcetypes.
|
171
166
|
:param pulumi.Input[str] name: The free form name of the data source.
|
172
167
|
:param pulumi.Input[str] sourcetype: The data sources type, listed in API endpoint https://api.nsone.net/v1/data/sourcetypes.
|
@@ -216,7 +211,7 @@ class DataSource(pulumi.CustomResource):
|
|
216
211
|
def _internal_init(__self__,
|
217
212
|
resource_name: str,
|
218
213
|
opts: Optional[pulumi.ResourceOptions] = None,
|
219
|
-
config: Optional[pulumi.Input[Mapping[str,
|
214
|
+
config: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
220
215
|
name: Optional[pulumi.Input[str]] = None,
|
221
216
|
sourcetype: Optional[pulumi.Input[str]] = None,
|
222
217
|
__props__=None):
|
@@ -243,7 +238,7 @@ class DataSource(pulumi.CustomResource):
|
|
243
238
|
def get(resource_name: str,
|
244
239
|
id: pulumi.Input[str],
|
245
240
|
opts: Optional[pulumi.ResourceOptions] = None,
|
246
|
-
config: Optional[pulumi.Input[Mapping[str,
|
241
|
+
config: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
247
242
|
name: Optional[pulumi.Input[str]] = None,
|
248
243
|
sourcetype: Optional[pulumi.Input[str]] = None) -> 'DataSource':
|
249
244
|
"""
|
@@ -253,7 +248,7 @@ class DataSource(pulumi.CustomResource):
|
|
253
248
|
:param str resource_name: The unique name of the resulting resource.
|
254
249
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
255
250
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
256
|
-
:param pulumi.Input[Mapping[str,
|
251
|
+
:param pulumi.Input[Mapping[str, Any]] config: The data source configuration, determined by its type,
|
257
252
|
matching the specification in `config` from /data/sourcetypes.
|
258
253
|
:param pulumi.Input[str] name: The free form name of the data source.
|
259
254
|
:param pulumi.Input[str] sourcetype: The data sources type, listed in API endpoint https://api.nsone.net/v1/data/sourcetypes.
|
@@ -269,7 +264,7 @@ class DataSource(pulumi.CustomResource):
|
|
269
264
|
|
270
265
|
@property
|
271
266
|
@pulumi.getter
|
272
|
-
def config(self) -> pulumi.Output[Optional[Mapping[str,
|
267
|
+
def config(self) -> pulumi.Output[Optional[Mapping[str, Any]]]:
|
273
268
|
"""
|
274
269
|
The data source configuration, determined by its type,
|
275
270
|
matching the specification in `config` from /data/sourcetypes.
|
pulumi_ns1/dataset.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
|
from . import outputs
|
17
12
|
from ._inputs import *
|
@@ -192,12 +187,12 @@ class Dataset(pulumi.CustomResource):
|
|
192
187
|
def __init__(__self__,
|
193
188
|
resource_name: str,
|
194
189
|
opts: Optional[pulumi.ResourceOptions] = None,
|
195
|
-
datatype: Optional[pulumi.Input[
|
190
|
+
datatype: Optional[pulumi.Input[pulumi.InputType['DatasetDatatypeArgs']]] = None,
|
196
191
|
export_type: Optional[pulumi.Input[str]] = None,
|
197
192
|
name: Optional[pulumi.Input[str]] = None,
|
198
193
|
recipient_emails: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
199
|
-
repeat: Optional[pulumi.Input[
|
200
|
-
timeframe: Optional[pulumi.Input[
|
194
|
+
repeat: Optional[pulumi.Input[pulumi.InputType['DatasetRepeatArgs']]] = None,
|
195
|
+
timeframe: Optional[pulumi.Input[pulumi.InputType['DatasetTimeframeArgs']]] = None,
|
201
196
|
__props__=None):
|
202
197
|
"""
|
203
198
|
Create a Dataset resource with the given unique name, props, and options.
|
@@ -227,12 +222,12 @@ class Dataset(pulumi.CustomResource):
|
|
227
222
|
def _internal_init(__self__,
|
228
223
|
resource_name: str,
|
229
224
|
opts: Optional[pulumi.ResourceOptions] = None,
|
230
|
-
datatype: Optional[pulumi.Input[
|
225
|
+
datatype: Optional[pulumi.Input[pulumi.InputType['DatasetDatatypeArgs']]] = None,
|
231
226
|
export_type: Optional[pulumi.Input[str]] = None,
|
232
227
|
name: Optional[pulumi.Input[str]] = None,
|
233
228
|
recipient_emails: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
234
|
-
repeat: Optional[pulumi.Input[
|
235
|
-
timeframe: Optional[pulumi.Input[
|
229
|
+
repeat: Optional[pulumi.Input[pulumi.InputType['DatasetRepeatArgs']]] = None,
|
230
|
+
timeframe: Optional[pulumi.Input[pulumi.InputType['DatasetTimeframeArgs']]] = None,
|
236
231
|
__props__=None):
|
237
232
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
238
233
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -265,13 +260,13 @@ class Dataset(pulumi.CustomResource):
|
|
265
260
|
def get(resource_name: str,
|
266
261
|
id: pulumi.Input[str],
|
267
262
|
opts: Optional[pulumi.ResourceOptions] = None,
|
268
|
-
datatype: Optional[pulumi.Input[
|
263
|
+
datatype: Optional[pulumi.Input[pulumi.InputType['DatasetDatatypeArgs']]] = None,
|
269
264
|
export_type: Optional[pulumi.Input[str]] = None,
|
270
265
|
name: Optional[pulumi.Input[str]] = None,
|
271
266
|
recipient_emails: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
272
|
-
repeat: Optional[pulumi.Input[
|
273
|
-
reports: Optional[pulumi.Input[Sequence[pulumi.Input[
|
274
|
-
timeframe: Optional[pulumi.Input[
|
267
|
+
repeat: Optional[pulumi.Input[pulumi.InputType['DatasetRepeatArgs']]] = None,
|
268
|
+
reports: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DatasetReportArgs']]]]] = None,
|
269
|
+
timeframe: Optional[pulumi.Input[pulumi.InputType['DatasetTimeframeArgs']]] = None) -> 'Dataset':
|
275
270
|
"""
|
276
271
|
Get an existing Dataset resource's state with the given name, id, and optional extra
|
277
272
|
properties used to qualify the lookup.
|
pulumi_ns1/dnsview.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__ = ['DnsviewArgs', 'Dnsview']
|
pulumi_ns1/get_dns_sec.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
|
from . import outputs
|
17
12
|
|
@@ -115,8 +110,11 @@ def get_dns_sec(zone: Optional[str] = None,
|
|
115
110
|
id=pulumi.get(__ret__, 'id'),
|
116
111
|
keys=pulumi.get(__ret__, 'keys'),
|
117
112
|
zone=pulumi.get(__ret__, 'zone'))
|
113
|
+
|
114
|
+
|
115
|
+
@_utilities.lift_output_func(get_dns_sec)
|
118
116
|
def get_dns_sec_output(zone: Optional[pulumi.Input[str]] = None,
|
119
|
-
opts: Optional[
|
117
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDNSSecResult]:
|
120
118
|
"""
|
121
119
|
Provides DNSSEC details about a NS1 Zone.
|
122
120
|
|
@@ -136,12 +134,4 @@ def get_dns_sec_output(zone: Optional[pulumi.Input[str]] = None,
|
|
136
134
|
|
137
135
|
:param str zone: The name of the zone to get DNSSEC details for.
|
138
136
|
"""
|
139
|
-
|
140
|
-
__args__['zone'] = zone
|
141
|
-
opts = pulumi.InvokeOutputOptions.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')))
|
137
|
+
...
|
@@ -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
|
from . import outputs
|
17
12
|
from ._inputs import *
|
@@ -64,7 +59,7 @@ class AwaitableGetMonitoringRegionsResult(GetMonitoringRegionsResult):
|
|
64
59
|
regions=self.regions)
|
65
60
|
|
66
61
|
|
67
|
-
def get_monitoring_regions(regions: Optional[Sequence[
|
62
|
+
def get_monitoring_regions(regions: Optional[Sequence[pulumi.InputType['GetMonitoringRegionsRegionArgs']]] = None,
|
68
63
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMonitoringRegionsResult:
|
69
64
|
"""
|
70
65
|
Provides details of all available monitoring regions.
|
@@ -80,7 +75,7 @@ def get_monitoring_regions(regions: Optional[Sequence[Union['GetMonitoringRegion
|
|
80
75
|
```
|
81
76
|
|
82
77
|
|
83
|
-
:param Sequence[
|
78
|
+
:param Sequence[pulumi.InputType['GetMonitoringRegionsRegionArgs']] regions: A set of the available monitoring regions. Regions is
|
84
79
|
documented below.
|
85
80
|
"""
|
86
81
|
__args__ = dict()
|
@@ -91,8 +86,11 @@ def get_monitoring_regions(regions: Optional[Sequence[Union['GetMonitoringRegion
|
|
91
86
|
return AwaitableGetMonitoringRegionsResult(
|
92
87
|
id=pulumi.get(__ret__, 'id'),
|
93
88
|
regions=pulumi.get(__ret__, 'regions'))
|
94
|
-
|
95
|
-
|
89
|
+
|
90
|
+
|
91
|
+
@_utilities.lift_output_func(get_monitoring_regions)
|
92
|
+
def get_monitoring_regions_output(regions: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetMonitoringRegionsRegionArgs']]]]] = None,
|
93
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMonitoringRegionsResult]:
|
96
94
|
"""
|
97
95
|
Provides details of all available monitoring regions.
|
98
96
|
|
@@ -107,13 +105,7 @@ def get_monitoring_regions_output(regions: Optional[pulumi.Input[Optional[Sequen
|
|
107
105
|
```
|
108
106
|
|
109
107
|
|
110
|
-
:param Sequence[
|
108
|
+
:param Sequence[pulumi.InputType['GetMonitoringRegionsRegionArgs']] regions: A set of the available monitoring regions. Regions is
|
111
109
|
documented below.
|
112
110
|
"""
|
113
|
-
|
114
|
-
__args__['regions'] = regions
|
115
|
-
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
116
|
-
__ret__ = pulumi.runtime.invoke_output('ns1:index/getMonitoringRegions:getMonitoringRegions', __args__, opts=opts, typ=GetMonitoringRegionsResult)
|
117
|
-
return __ret__.apply(lambda __response__: GetMonitoringRegionsResult(
|
118
|
-
id=pulumi.get(__response__, 'id'),
|
119
|
-
regions=pulumi.get(__response__, 'regions')))
|
111
|
+
...
|
pulumi_ns1/get_networks.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
|
from . import outputs
|
17
12
|
|
@@ -86,7 +81,10 @@ def get_networks(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNet
|
|
86
81
|
return AwaitableGetNetworksResult(
|
87
82
|
id=pulumi.get(__ret__, 'id'),
|
88
83
|
networks=pulumi.get(__ret__, 'networks'))
|
89
|
-
|
84
|
+
|
85
|
+
|
86
|
+
@_utilities.lift_output_func(get_networks)
|
87
|
+
def get_networks_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetworksResult]:
|
90
88
|
"""
|
91
89
|
Provides details about NS1 Networks. Use this if you would simply like to read
|
92
90
|
information from NS1 into your configurations. For read/write operations, you
|
@@ -102,9 +100,4 @@ def get_networks_output(opts: Optional[Union[pulumi.InvokeOptions, pulumi.Invoke
|
|
102
100
|
example = ns1.get_networks()
|
103
101
|
```
|
104
102
|
"""
|
105
|
-
|
106
|
-
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
107
|
-
__ret__ = pulumi.runtime.invoke_output('ns1:index/getNetworks:getNetworks', __args__, opts=opts, typ=GetNetworksResult)
|
108
|
-
return __ret__.apply(lambda __response__: GetNetworksResult(
|
109
|
-
id=pulumi.get(__response__, 'id'),
|
110
|
-
networks=pulumi.get(__response__, 'networks')))
|
103
|
+
...
|