pulumi-ns1 3.7.0a1752905838__py3-none-any.whl → 3.7.0a1753397901__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 +1 -1
- pulumi_ns1/_inputs.py +424 -425
- pulumi_ns1/account_whitelist.py +35 -36
- pulumi_ns1/alert.py +139 -140
- pulumi_ns1/api_key.py +526 -527
- pulumi_ns1/application.py +72 -73
- pulumi_ns1/config/__init__.py +1 -1
- pulumi_ns1/config/__init__.pyi +1 -2
- pulumi_ns1/config/vars.py +7 -8
- pulumi_ns1/data_feed.py +52 -53
- pulumi_ns1/data_source.py +52 -53
- pulumi_ns1/dataset.py +51 -52
- pulumi_ns1/dnsview.py +93 -94
- pulumi_ns1/get_billing_usage.py +48 -49
- pulumi_ns1/get_dns_sec.py +11 -12
- pulumi_ns1/get_monitoring_regions.py +4 -5
- pulumi_ns1/get_networks.py +4 -5
- pulumi_ns1/get_record.py +40 -41
- pulumi_ns1/get_zone.py +52 -53
- pulumi_ns1/monitoring_job.py +255 -256
- pulumi_ns1/notify_list.py +21 -22
- pulumi_ns1/outputs.py +414 -415
- pulumi_ns1/provider.py +56 -57
- pulumi_ns1/pulsar_job.py +96 -97
- pulumi_ns1/pulumi-plugin.json +1 -1
- pulumi_ns1/record.py +194 -195
- pulumi_ns1/redirect.py +168 -169
- pulumi_ns1/redirect_certificate.py +49 -50
- pulumi_ns1/team.py +469 -470
- pulumi_ns1/tsigkey.py +52 -53
- pulumi_ns1/user.py +568 -569
- pulumi_ns1/zone.py +329 -330
- {pulumi_ns1-3.7.0a1752905838.dist-info → pulumi_ns1-3.7.0a1753397901.dist-info}/METADATA +1 -1
- pulumi_ns1-3.7.0a1753397901.dist-info/RECORD +38 -0
- pulumi_ns1-3.7.0a1752905838.dist-info/RECORD +0 -38
- {pulumi_ns1-3.7.0a1752905838.dist-info → pulumi_ns1-3.7.0a1753397901.dist-info}/WHEEL +0 -0
- {pulumi_ns1-3.7.0a1752905838.dist-info → pulumi_ns1-3.7.0a1753397901.dist-info}/top_level.txt +0 -0
pulumi_ns1/data_feed.py
CHANGED
@@ -2,8 +2,7 @@
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
|
-
import builtins
|
6
|
-
import copy
|
5
|
+
import builtins as _builtins
|
7
6
|
import warnings
|
8
7
|
import sys
|
9
8
|
import pulumi
|
@@ -20,15 +19,15 @@ __all__ = ['DataFeedArgs', 'DataFeed']
|
|
20
19
|
@pulumi.input_type
|
21
20
|
class DataFeedArgs:
|
22
21
|
def __init__(__self__, *,
|
23
|
-
source_id: pulumi.Input[
|
24
|
-
config: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
25
|
-
name: Optional[pulumi.Input[
|
22
|
+
source_id: pulumi.Input[_builtins.str],
|
23
|
+
config: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
24
|
+
name: Optional[pulumi.Input[_builtins.str]] = None):
|
26
25
|
"""
|
27
26
|
The set of arguments for constructing a DataFeed resource.
|
28
|
-
:param pulumi.Input[
|
29
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
27
|
+
:param pulumi.Input[_builtins.str] source_id: The data source id that this feed is connected to.
|
28
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] config: The feeds configuration matching the specification in
|
30
29
|
`feed_config` from /data/sourcetypes. `jobid` is required in the `config` for datafeeds connected to NS1 monitoring.
|
31
|
-
:param pulumi.Input[
|
30
|
+
:param pulumi.Input[_builtins.str] name: The free form name of the data feed.
|
32
31
|
"""
|
33
32
|
pulumi.set(__self__, "source_id", source_id)
|
34
33
|
if config is not None:
|
@@ -36,21 +35,21 @@ class DataFeedArgs:
|
|
36
35
|
if name is not None:
|
37
36
|
pulumi.set(__self__, "name", name)
|
38
37
|
|
39
|
-
@property
|
38
|
+
@_builtins.property
|
40
39
|
@pulumi.getter(name="sourceId")
|
41
|
-
def source_id(self) -> pulumi.Input[
|
40
|
+
def source_id(self) -> pulumi.Input[_builtins.str]:
|
42
41
|
"""
|
43
42
|
The data source id that this feed is connected to.
|
44
43
|
"""
|
45
44
|
return pulumi.get(self, "source_id")
|
46
45
|
|
47
46
|
@source_id.setter
|
48
|
-
def source_id(self, value: pulumi.Input[
|
47
|
+
def source_id(self, value: pulumi.Input[_builtins.str]):
|
49
48
|
pulumi.set(self, "source_id", value)
|
50
49
|
|
51
|
-
@property
|
50
|
+
@_builtins.property
|
52
51
|
@pulumi.getter
|
53
|
-
def config(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
52
|
+
def config(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
54
53
|
"""
|
55
54
|
The feeds configuration matching the specification in
|
56
55
|
`feed_config` from /data/sourcetypes. `jobid` is required in the `config` for datafeeds connected to NS1 monitoring.
|
@@ -58,34 +57,34 @@ class DataFeedArgs:
|
|
58
57
|
return pulumi.get(self, "config")
|
59
58
|
|
60
59
|
@config.setter
|
61
|
-
def config(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
60
|
+
def config(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
62
61
|
pulumi.set(self, "config", value)
|
63
62
|
|
64
|
-
@property
|
63
|
+
@_builtins.property
|
65
64
|
@pulumi.getter
|
66
|
-
def name(self) -> Optional[pulumi.Input[
|
65
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
67
66
|
"""
|
68
67
|
The free form name of the data feed.
|
69
68
|
"""
|
70
69
|
return pulumi.get(self, "name")
|
71
70
|
|
72
71
|
@name.setter
|
73
|
-
def name(self, value: Optional[pulumi.Input[
|
72
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
74
73
|
pulumi.set(self, "name", value)
|
75
74
|
|
76
75
|
|
77
76
|
@pulumi.input_type
|
78
77
|
class _DataFeedState:
|
79
78
|
def __init__(__self__, *,
|
80
|
-
config: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
81
|
-
name: Optional[pulumi.Input[
|
82
|
-
source_id: Optional[pulumi.Input[
|
79
|
+
config: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
80
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
81
|
+
source_id: Optional[pulumi.Input[_builtins.str]] = None):
|
83
82
|
"""
|
84
83
|
Input properties used for looking up and filtering DataFeed resources.
|
85
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
84
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] config: The feeds configuration matching the specification in
|
86
85
|
`feed_config` from /data/sourcetypes. `jobid` is required in the `config` for datafeeds connected to NS1 monitoring.
|
87
|
-
:param pulumi.Input[
|
88
|
-
:param pulumi.Input[
|
86
|
+
:param pulumi.Input[_builtins.str] name: The free form name of the data feed.
|
87
|
+
:param pulumi.Input[_builtins.str] source_id: The data source id that this feed is connected to.
|
89
88
|
"""
|
90
89
|
if config is not None:
|
91
90
|
pulumi.set(__self__, "config", config)
|
@@ -94,9 +93,9 @@ class _DataFeedState:
|
|
94
93
|
if source_id is not None:
|
95
94
|
pulumi.set(__self__, "source_id", source_id)
|
96
95
|
|
97
|
-
@property
|
96
|
+
@_builtins.property
|
98
97
|
@pulumi.getter
|
99
|
-
def config(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
98
|
+
def config(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
100
99
|
"""
|
101
100
|
The feeds configuration matching the specification in
|
102
101
|
`feed_config` from /data/sourcetypes. `jobid` is required in the `config` for datafeeds connected to NS1 monitoring.
|
@@ -104,31 +103,31 @@ class _DataFeedState:
|
|
104
103
|
return pulumi.get(self, "config")
|
105
104
|
|
106
105
|
@config.setter
|
107
|
-
def config(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
106
|
+
def config(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
108
107
|
pulumi.set(self, "config", value)
|
109
108
|
|
110
|
-
@property
|
109
|
+
@_builtins.property
|
111
110
|
@pulumi.getter
|
112
|
-
def name(self) -> Optional[pulumi.Input[
|
111
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
113
112
|
"""
|
114
113
|
The free form name of the data feed.
|
115
114
|
"""
|
116
115
|
return pulumi.get(self, "name")
|
117
116
|
|
118
117
|
@name.setter
|
119
|
-
def name(self, value: Optional[pulumi.Input[
|
118
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
120
119
|
pulumi.set(self, "name", value)
|
121
120
|
|
122
|
-
@property
|
121
|
+
@_builtins.property
|
123
122
|
@pulumi.getter(name="sourceId")
|
124
|
-
def source_id(self) -> Optional[pulumi.Input[
|
123
|
+
def source_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
125
124
|
"""
|
126
125
|
The data source id that this feed is connected to.
|
127
126
|
"""
|
128
127
|
return pulumi.get(self, "source_id")
|
129
128
|
|
130
129
|
@source_id.setter
|
131
|
-
def source_id(self, value: Optional[pulumi.Input[
|
130
|
+
def source_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
132
131
|
pulumi.set(self, "source_id", value)
|
133
132
|
|
134
133
|
|
@@ -138,9 +137,9 @@ class DataFeed(pulumi.CustomResource):
|
|
138
137
|
def __init__(__self__,
|
139
138
|
resource_name: str,
|
140
139
|
opts: Optional[pulumi.ResourceOptions] = None,
|
141
|
-
config: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
142
|
-
name: Optional[pulumi.Input[
|
143
|
-
source_id: Optional[pulumi.Input[
|
140
|
+
config: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
141
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
142
|
+
source_id: Optional[pulumi.Input[_builtins.str]] = None,
|
144
143
|
__props__=None):
|
145
144
|
"""
|
146
145
|
Provides a NS1 Data Feed resource. This can be used to create, modify, and delete data feeds.
|
@@ -189,10 +188,10 @@ class DataFeed(pulumi.CustomResource):
|
|
189
188
|
|
190
189
|
:param str resource_name: The name of the resource.
|
191
190
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
192
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
191
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] config: The feeds configuration matching the specification in
|
193
192
|
`feed_config` from /data/sourcetypes. `jobid` is required in the `config` for datafeeds connected to NS1 monitoring.
|
194
|
-
:param pulumi.Input[
|
195
|
-
:param pulumi.Input[
|
193
|
+
:param pulumi.Input[_builtins.str] name: The free form name of the data feed.
|
194
|
+
:param pulumi.Input[_builtins.str] source_id: The data source id that this feed is connected to.
|
196
195
|
"""
|
197
196
|
...
|
198
197
|
@overload
|
@@ -260,9 +259,9 @@ class DataFeed(pulumi.CustomResource):
|
|
260
259
|
def _internal_init(__self__,
|
261
260
|
resource_name: str,
|
262
261
|
opts: Optional[pulumi.ResourceOptions] = None,
|
263
|
-
config: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
264
|
-
name: Optional[pulumi.Input[
|
265
|
-
source_id: Optional[pulumi.Input[
|
262
|
+
config: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
263
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
264
|
+
source_id: Optional[pulumi.Input[_builtins.str]] = None,
|
266
265
|
__props__=None):
|
267
266
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
268
267
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -287,9 +286,9 @@ class DataFeed(pulumi.CustomResource):
|
|
287
286
|
def get(resource_name: str,
|
288
287
|
id: pulumi.Input[str],
|
289
288
|
opts: Optional[pulumi.ResourceOptions] = None,
|
290
|
-
config: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
291
|
-
name: Optional[pulumi.Input[
|
292
|
-
source_id: Optional[pulumi.Input[
|
289
|
+
config: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
290
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
291
|
+
source_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'DataFeed':
|
293
292
|
"""
|
294
293
|
Get an existing DataFeed resource's state with the given name, id, and optional extra
|
295
294
|
properties used to qualify the lookup.
|
@@ -297,10 +296,10 @@ class DataFeed(pulumi.CustomResource):
|
|
297
296
|
:param str resource_name: The unique name of the resulting resource.
|
298
297
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
299
298
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
300
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
299
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] config: The feeds configuration matching the specification in
|
301
300
|
`feed_config` from /data/sourcetypes. `jobid` is required in the `config` for datafeeds connected to NS1 monitoring.
|
302
|
-
:param pulumi.Input[
|
303
|
-
:param pulumi.Input[
|
301
|
+
:param pulumi.Input[_builtins.str] name: The free form name of the data feed.
|
302
|
+
:param pulumi.Input[_builtins.str] source_id: The data source id that this feed is connected to.
|
304
303
|
"""
|
305
304
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
306
305
|
|
@@ -311,26 +310,26 @@ class DataFeed(pulumi.CustomResource):
|
|
311
310
|
__props__.__dict__["source_id"] = source_id
|
312
311
|
return DataFeed(resource_name, opts=opts, __props__=__props__)
|
313
312
|
|
314
|
-
@property
|
313
|
+
@_builtins.property
|
315
314
|
@pulumi.getter
|
316
|
-
def config(self) -> pulumi.Output[Optional[Mapping[str,
|
315
|
+
def config(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]:
|
317
316
|
"""
|
318
317
|
The feeds configuration matching the specification in
|
319
318
|
`feed_config` from /data/sourcetypes. `jobid` is required in the `config` for datafeeds connected to NS1 monitoring.
|
320
319
|
"""
|
321
320
|
return pulumi.get(self, "config")
|
322
321
|
|
323
|
-
@property
|
322
|
+
@_builtins.property
|
324
323
|
@pulumi.getter
|
325
|
-
def name(self) -> pulumi.Output[
|
324
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
326
325
|
"""
|
327
326
|
The free form name of the data feed.
|
328
327
|
"""
|
329
328
|
return pulumi.get(self, "name")
|
330
329
|
|
331
|
-
@property
|
330
|
+
@_builtins.property
|
332
331
|
@pulumi.getter(name="sourceId")
|
333
|
-
def source_id(self) -> pulumi.Output[
|
332
|
+
def source_id(self) -> pulumi.Output[_builtins.str]:
|
334
333
|
"""
|
335
334
|
The data source id that this feed is connected to.
|
336
335
|
"""
|
pulumi_ns1/data_source.py
CHANGED
@@ -2,8 +2,7 @@
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
|
-
import builtins
|
6
|
-
import copy
|
5
|
+
import builtins as _builtins
|
7
6
|
import warnings
|
8
7
|
import sys
|
9
8
|
import pulumi
|
@@ -20,15 +19,15 @@ __all__ = ['DataSourceArgs', 'DataSource']
|
|
20
19
|
@pulumi.input_type
|
21
20
|
class DataSourceArgs:
|
22
21
|
def __init__(__self__, *,
|
23
|
-
sourcetype: pulumi.Input[
|
24
|
-
config: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
25
|
-
name: Optional[pulumi.Input[
|
22
|
+
sourcetype: pulumi.Input[_builtins.str],
|
23
|
+
config: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
24
|
+
name: Optional[pulumi.Input[_builtins.str]] = None):
|
26
25
|
"""
|
27
26
|
The set of arguments for constructing a DataSource resource.
|
28
|
-
:param pulumi.Input[
|
29
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
27
|
+
:param pulumi.Input[_builtins.str] sourcetype: The data sources type, listed in API endpoint https://api.nsone.net/v1/data/sourcetypes.
|
28
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] config: The data source configuration, determined by its type,
|
30
29
|
matching the specification in `config` from /data/sourcetypes.
|
31
|
-
:param pulumi.Input[
|
30
|
+
:param pulumi.Input[_builtins.str] name: The free form name of the data source.
|
32
31
|
"""
|
33
32
|
pulumi.set(__self__, "sourcetype", sourcetype)
|
34
33
|
if config is not None:
|
@@ -36,21 +35,21 @@ class DataSourceArgs:
|
|
36
35
|
if name is not None:
|
37
36
|
pulumi.set(__self__, "name", name)
|
38
37
|
|
39
|
-
@property
|
38
|
+
@_builtins.property
|
40
39
|
@pulumi.getter
|
41
|
-
def sourcetype(self) -> pulumi.Input[
|
40
|
+
def sourcetype(self) -> pulumi.Input[_builtins.str]:
|
42
41
|
"""
|
43
42
|
The data sources type, listed in API endpoint https://api.nsone.net/v1/data/sourcetypes.
|
44
43
|
"""
|
45
44
|
return pulumi.get(self, "sourcetype")
|
46
45
|
|
47
46
|
@sourcetype.setter
|
48
|
-
def sourcetype(self, value: pulumi.Input[
|
47
|
+
def sourcetype(self, value: pulumi.Input[_builtins.str]):
|
49
48
|
pulumi.set(self, "sourcetype", value)
|
50
49
|
|
51
|
-
@property
|
50
|
+
@_builtins.property
|
52
51
|
@pulumi.getter
|
53
|
-
def config(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
52
|
+
def config(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
54
53
|
"""
|
55
54
|
The data source configuration, determined by its type,
|
56
55
|
matching the specification in `config` from /data/sourcetypes.
|
@@ -58,34 +57,34 @@ class DataSourceArgs:
|
|
58
57
|
return pulumi.get(self, "config")
|
59
58
|
|
60
59
|
@config.setter
|
61
|
-
def config(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
60
|
+
def config(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
62
61
|
pulumi.set(self, "config", value)
|
63
62
|
|
64
|
-
@property
|
63
|
+
@_builtins.property
|
65
64
|
@pulumi.getter
|
66
|
-
def name(self) -> Optional[pulumi.Input[
|
65
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
67
66
|
"""
|
68
67
|
The free form name of the data source.
|
69
68
|
"""
|
70
69
|
return pulumi.get(self, "name")
|
71
70
|
|
72
71
|
@name.setter
|
73
|
-
def name(self, value: Optional[pulumi.Input[
|
72
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
74
73
|
pulumi.set(self, "name", value)
|
75
74
|
|
76
75
|
|
77
76
|
@pulumi.input_type
|
78
77
|
class _DataSourceState:
|
79
78
|
def __init__(__self__, *,
|
80
|
-
config: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
81
|
-
name: Optional[pulumi.Input[
|
82
|
-
sourcetype: Optional[pulumi.Input[
|
79
|
+
config: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
80
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
81
|
+
sourcetype: Optional[pulumi.Input[_builtins.str]] = None):
|
83
82
|
"""
|
84
83
|
Input properties used for looking up and filtering DataSource resources.
|
85
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
84
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] config: The data source configuration, determined by its type,
|
86
85
|
matching the specification in `config` from /data/sourcetypes.
|
87
|
-
:param pulumi.Input[
|
88
|
-
:param pulumi.Input[
|
86
|
+
:param pulumi.Input[_builtins.str] name: The free form name of the data source.
|
87
|
+
:param pulumi.Input[_builtins.str] sourcetype: The data sources type, listed in API endpoint https://api.nsone.net/v1/data/sourcetypes.
|
89
88
|
"""
|
90
89
|
if config is not None:
|
91
90
|
pulumi.set(__self__, "config", config)
|
@@ -94,9 +93,9 @@ class _DataSourceState:
|
|
94
93
|
if sourcetype is not None:
|
95
94
|
pulumi.set(__self__, "sourcetype", sourcetype)
|
96
95
|
|
97
|
-
@property
|
96
|
+
@_builtins.property
|
98
97
|
@pulumi.getter
|
99
|
-
def config(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
98
|
+
def config(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
100
99
|
"""
|
101
100
|
The data source configuration, determined by its type,
|
102
101
|
matching the specification in `config` from /data/sourcetypes.
|
@@ -104,31 +103,31 @@ class _DataSourceState:
|
|
104
103
|
return pulumi.get(self, "config")
|
105
104
|
|
106
105
|
@config.setter
|
107
|
-
def config(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
106
|
+
def config(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
108
107
|
pulumi.set(self, "config", value)
|
109
108
|
|
110
|
-
@property
|
109
|
+
@_builtins.property
|
111
110
|
@pulumi.getter
|
112
|
-
def name(self) -> Optional[pulumi.Input[
|
111
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
113
112
|
"""
|
114
113
|
The free form name of the data source.
|
115
114
|
"""
|
116
115
|
return pulumi.get(self, "name")
|
117
116
|
|
118
117
|
@name.setter
|
119
|
-
def name(self, value: Optional[pulumi.Input[
|
118
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
120
119
|
pulumi.set(self, "name", value)
|
121
120
|
|
122
|
-
@property
|
121
|
+
@_builtins.property
|
123
122
|
@pulumi.getter
|
124
|
-
def sourcetype(self) -> Optional[pulumi.Input[
|
123
|
+
def sourcetype(self) -> Optional[pulumi.Input[_builtins.str]]:
|
125
124
|
"""
|
126
125
|
The data sources type, listed in API endpoint https://api.nsone.net/v1/data/sourcetypes.
|
127
126
|
"""
|
128
127
|
return pulumi.get(self, "sourcetype")
|
129
128
|
|
130
129
|
@sourcetype.setter
|
131
|
-
def sourcetype(self, value: Optional[pulumi.Input[
|
130
|
+
def sourcetype(self, value: Optional[pulumi.Input[_builtins.str]]):
|
132
131
|
pulumi.set(self, "sourcetype", value)
|
133
132
|
|
134
133
|
|
@@ -138,9 +137,9 @@ class DataSource(pulumi.CustomResource):
|
|
138
137
|
def __init__(__self__,
|
139
138
|
resource_name: str,
|
140
139
|
opts: Optional[pulumi.ResourceOptions] = None,
|
141
|
-
config: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
142
|
-
name: Optional[pulumi.Input[
|
143
|
-
sourcetype: Optional[pulumi.Input[
|
140
|
+
config: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
141
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
142
|
+
sourcetype: Optional[pulumi.Input[_builtins.str]] = None,
|
144
143
|
__props__=None):
|
145
144
|
"""
|
146
145
|
Provides a NS1 Data Source resource. This can be used to create, modify, and delete data sources.
|
@@ -168,10 +167,10 @@ class DataSource(pulumi.CustomResource):
|
|
168
167
|
|
169
168
|
:param str resource_name: The name of the resource.
|
170
169
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
171
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
170
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] config: The data source configuration, determined by its type,
|
172
171
|
matching the specification in `config` from /data/sourcetypes.
|
173
|
-
:param pulumi.Input[
|
174
|
-
:param pulumi.Input[
|
172
|
+
:param pulumi.Input[_builtins.str] name: The free form name of the data source.
|
173
|
+
:param pulumi.Input[_builtins.str] sourcetype: The data sources type, listed in API endpoint https://api.nsone.net/v1/data/sourcetypes.
|
175
174
|
"""
|
176
175
|
...
|
177
176
|
@overload
|
@@ -218,9 +217,9 @@ class DataSource(pulumi.CustomResource):
|
|
218
217
|
def _internal_init(__self__,
|
219
218
|
resource_name: str,
|
220
219
|
opts: Optional[pulumi.ResourceOptions] = None,
|
221
|
-
config: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
222
|
-
name: Optional[pulumi.Input[
|
223
|
-
sourcetype: Optional[pulumi.Input[
|
220
|
+
config: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
221
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
222
|
+
sourcetype: Optional[pulumi.Input[_builtins.str]] = None,
|
224
223
|
__props__=None):
|
225
224
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
226
225
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -245,9 +244,9 @@ class DataSource(pulumi.CustomResource):
|
|
245
244
|
def get(resource_name: str,
|
246
245
|
id: pulumi.Input[str],
|
247
246
|
opts: Optional[pulumi.ResourceOptions] = None,
|
248
|
-
config: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
249
|
-
name: Optional[pulumi.Input[
|
250
|
-
sourcetype: Optional[pulumi.Input[
|
247
|
+
config: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
248
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
249
|
+
sourcetype: Optional[pulumi.Input[_builtins.str]] = None) -> 'DataSource':
|
251
250
|
"""
|
252
251
|
Get an existing DataSource resource's state with the given name, id, and optional extra
|
253
252
|
properties used to qualify the lookup.
|
@@ -255,10 +254,10 @@ class DataSource(pulumi.CustomResource):
|
|
255
254
|
:param str resource_name: The unique name of the resulting resource.
|
256
255
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
257
256
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
258
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
257
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] config: The data source configuration, determined by its type,
|
259
258
|
matching the specification in `config` from /data/sourcetypes.
|
260
|
-
:param pulumi.Input[
|
261
|
-
:param pulumi.Input[
|
259
|
+
:param pulumi.Input[_builtins.str] name: The free form name of the data source.
|
260
|
+
:param pulumi.Input[_builtins.str] sourcetype: The data sources type, listed in API endpoint https://api.nsone.net/v1/data/sourcetypes.
|
262
261
|
"""
|
263
262
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
264
263
|
|
@@ -269,26 +268,26 @@ class DataSource(pulumi.CustomResource):
|
|
269
268
|
__props__.__dict__["sourcetype"] = sourcetype
|
270
269
|
return DataSource(resource_name, opts=opts, __props__=__props__)
|
271
270
|
|
272
|
-
@property
|
271
|
+
@_builtins.property
|
273
272
|
@pulumi.getter
|
274
|
-
def config(self) -> pulumi.Output[Optional[Mapping[str,
|
273
|
+
def config(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]:
|
275
274
|
"""
|
276
275
|
The data source configuration, determined by its type,
|
277
276
|
matching the specification in `config` from /data/sourcetypes.
|
278
277
|
"""
|
279
278
|
return pulumi.get(self, "config")
|
280
279
|
|
281
|
-
@property
|
280
|
+
@_builtins.property
|
282
281
|
@pulumi.getter
|
283
|
-
def name(self) -> pulumi.Output[
|
282
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
284
283
|
"""
|
285
284
|
The free form name of the data source.
|
286
285
|
"""
|
287
286
|
return pulumi.get(self, "name")
|
288
287
|
|
289
|
-
@property
|
288
|
+
@_builtins.property
|
290
289
|
@pulumi.getter
|
291
|
-
def sourcetype(self) -> pulumi.Output[
|
290
|
+
def sourcetype(self) -> pulumi.Output[_builtins.str]:
|
292
291
|
"""
|
293
292
|
The data sources type, listed in API endpoint https://api.nsone.net/v1/data/sourcetypes.
|
294
293
|
"""
|