pulumi-ns1 3.4.0a1722603428__py3-none-any.whl → 3.4.1a1724660491__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.
@@ -16,7 +16,7 @@ __all__ = ['MonitoringJobArgs', 'MonitoringJob']
16
16
  @pulumi.input_type
17
17
  class MonitoringJobArgs:
18
18
  def __init__(__self__, *,
19
- config: pulumi.Input[Mapping[str, Any]],
19
+ config: pulumi.Input[Mapping[str, pulumi.Input[str]]],
20
20
  frequency: pulumi.Input[int],
21
21
  job_type: pulumi.Input[str],
22
22
  regions: pulumi.Input[Sequence[pulumi.Input[str]]],
@@ -34,7 +34,7 @@ class MonitoringJobArgs:
34
34
  rules: Optional[pulumi.Input[Sequence[pulumi.Input['MonitoringJobRuleArgs']]]] = None):
35
35
  """
36
36
  The set of arguments for constructing a MonitoringJob resource.
37
- :param pulumi.Input[Mapping[str, Any]] config: A configuration dictionary with keys and values depending on the job_type. Configuration details for each job_type are found by submitting a GET request to https://api.nsone.net/v1/monitoring/jobtypes.
37
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] config: A configuration dictionary with keys and values depending on the job_type. Configuration details for each job_type are found by submitting a GET request to https://api.nsone.net/v1/monitoring/jobtypes.
38
38
  :param pulumi.Input[int] frequency: The frequency, in seconds, at which to run the monitoring job in each region.
39
39
  :param pulumi.Input[str] job_type: The type of monitoring job to be run. Refer to the NS1 API documentation (https://ns1.com/api#monitoring-jobs) for supported values which include ping, tcp, dns, http.
40
40
  :param pulumi.Input[Sequence[pulumi.Input[str]]] regions: The list of region codes in which to run the monitoring
@@ -83,14 +83,14 @@ class MonitoringJobArgs:
83
83
 
84
84
  @property
85
85
  @pulumi.getter
86
- def config(self) -> pulumi.Input[Mapping[str, Any]]:
86
+ def config(self) -> pulumi.Input[Mapping[str, pulumi.Input[str]]]:
87
87
  """
88
88
  A configuration dictionary with keys and values depending on the job_type. Configuration details for each job_type are found by submitting a GET request to https://api.nsone.net/v1/monitoring/jobtypes.
89
89
  """
90
90
  return pulumi.get(self, "config")
91
91
 
92
92
  @config.setter
93
- def config(self, value: pulumi.Input[Mapping[str, Any]]):
93
+ def config(self, value: pulumi.Input[Mapping[str, pulumi.Input[str]]]):
94
94
  pulumi.set(self, "config", value)
95
95
 
96
96
  @property
@@ -277,7 +277,7 @@ class MonitoringJobArgs:
277
277
  class _MonitoringJobState:
278
278
  def __init__(__self__, *,
279
279
  active: Optional[pulumi.Input[bool]] = None,
280
- config: Optional[pulumi.Input[Mapping[str, Any]]] = None,
280
+ config: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
281
281
  frequency: Optional[pulumi.Input[int]] = None,
282
282
  job_type: Optional[pulumi.Input[str]] = None,
283
283
  mute: Optional[pulumi.Input[bool]] = None,
@@ -295,7 +295,7 @@ class _MonitoringJobState:
295
295
  """
296
296
  Input properties used for looking up and filtering MonitoringJob resources.
297
297
  :param pulumi.Input[bool] active: Indicates if the job is active or temporarily disabled.
298
- :param pulumi.Input[Mapping[str, Any]] config: A configuration dictionary with keys and values depending on the job_type. Configuration details for each job_type are found by submitting a GET request to https://api.nsone.net/v1/monitoring/jobtypes.
298
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] config: A configuration dictionary with keys and values depending on the job_type. Configuration details for each job_type are found by submitting a GET request to https://api.nsone.net/v1/monitoring/jobtypes.
299
299
  :param pulumi.Input[int] frequency: The frequency, in seconds, at which to run the monitoring job in each region.
300
300
  :param pulumi.Input[str] job_type: The type of monitoring job to be run. Refer to the NS1 API documentation (https://ns1.com/api#monitoring-jobs) for supported values which include ping, tcp, dns, http.
301
301
  :param pulumi.Input[bool] mute: turn off the notifications for the monitoring job.
@@ -359,14 +359,14 @@ class _MonitoringJobState:
359
359
 
360
360
  @property
361
361
  @pulumi.getter
362
- def config(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
362
+ def config(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
363
363
  """
364
364
  A configuration dictionary with keys and values depending on the job_type. Configuration details for each job_type are found by submitting a GET request to https://api.nsone.net/v1/monitoring/jobtypes.
365
365
  """
366
366
  return pulumi.get(self, "config")
367
367
 
368
368
  @config.setter
369
- def config(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
369
+ def config(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
370
370
  pulumi.set(self, "config", value)
371
371
 
372
372
  @property
@@ -543,7 +543,7 @@ class MonitoringJob(pulumi.CustomResource):
543
543
  resource_name: str,
544
544
  opts: Optional[pulumi.ResourceOptions] = None,
545
545
  active: Optional[pulumi.Input[bool]] = None,
546
- config: Optional[pulumi.Input[Mapping[str, Any]]] = None,
546
+ config: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
547
547
  frequency: Optional[pulumi.Input[int]] = None,
548
548
  job_type: Optional[pulumi.Input[str]] = None,
549
549
  mute: Optional[pulumi.Input[bool]] = None,
@@ -557,7 +557,7 @@ class MonitoringJob(pulumi.CustomResource):
557
557
  policy: Optional[pulumi.Input[str]] = None,
558
558
  rapid_recheck: Optional[pulumi.Input[bool]] = None,
559
559
  regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
560
- rules: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MonitoringJobRuleArgs']]]]] = None,
560
+ rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MonitoringJobRuleArgs', 'MonitoringJobRuleArgsDict']]]]] = None,
561
561
  __props__=None):
562
562
  """
563
563
  Provides a NS1 Monitoring Job resource. This can be used to create, modify, and delete monitoring jobs.
@@ -582,16 +582,16 @@ class MonitoringJob(pulumi.CustomResource):
582
582
  policy="quorum",
583
583
  mute=True,
584
584
  config={
585
- "ssl": 1,
585
+ "ssl": "1",
586
586
  "send": "HEAD / HTTP/1.0\\\\r\\\\n\\\\r\\\\n",
587
- "port": 443,
587
+ "port": "443",
588
588
  "host": "example-elb-uswest.aws.amazon.com",
589
589
  },
590
- rules=[ns1.MonitoringJobRuleArgs(
591
- value="200 OK",
592
- comparison="contains",
593
- key="output",
594
- )])
590
+ rules=[{
591
+ "value": "200 OK",
592
+ "comparison": "contains",
593
+ "key": "output",
594
+ }])
595
595
  ```
596
596
 
597
597
  ## NS1 Documentation
@@ -607,7 +607,7 @@ class MonitoringJob(pulumi.CustomResource):
607
607
  :param str resource_name: The name of the resource.
608
608
  :param pulumi.ResourceOptions opts: Options for the resource.
609
609
  :param pulumi.Input[bool] active: Indicates if the job is active or temporarily disabled.
610
- :param pulumi.Input[Mapping[str, Any]] config: A configuration dictionary with keys and values depending on the job_type. Configuration details for each job_type are found by submitting a GET request to https://api.nsone.net/v1/monitoring/jobtypes.
610
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] config: A configuration dictionary with keys and values depending on the job_type. Configuration details for each job_type are found by submitting a GET request to https://api.nsone.net/v1/monitoring/jobtypes.
611
611
  :param pulumi.Input[int] frequency: The frequency, in seconds, at which to run the monitoring job in each region.
612
612
  :param pulumi.Input[str] job_type: The type of monitoring job to be run. Refer to the NS1 API documentation (https://ns1.com/api#monitoring-jobs) for supported values which include ping, tcp, dns, http.
613
613
  :param pulumi.Input[bool] mute: turn off the notifications for the monitoring job.
@@ -622,7 +622,7 @@ class MonitoringJob(pulumi.CustomResource):
622
622
  :param pulumi.Input[bool] rapid_recheck: If true, on any apparent state change, the job is quickly re-run after one second to confirm the state change before notification.
623
623
  :param pulumi.Input[Sequence[pulumi.Input[str]]] regions: The list of region codes in which to run the monitoring
624
624
  job. See NS1 API docs for supported values.
625
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MonitoringJobRuleArgs']]]] rules: A list of rules for determining failure conditions. Each rule acts on one of the outputs from the monitoring job. You must specify key (the output key); comparison (a comparison to perform on the the output); and value (the value to compare to). For example, {"key":"rtt", "comparison":"<", "value":100} is a rule requiring the rtt from a job to be under 100ms, or the job will be marked failed. Available output keys, comparators, and value types are are found by submitting a GET request to https://api.nsone.net/v1/monitoring/jobtypes.
625
+ :param pulumi.Input[Sequence[pulumi.Input[Union['MonitoringJobRuleArgs', 'MonitoringJobRuleArgsDict']]]] rules: A list of rules for determining failure conditions. Each rule acts on one of the outputs from the monitoring job. You must specify key (the output key); comparison (a comparison to perform on the the output); and value (the value to compare to). For example, {"key":"rtt", "comparison":"<", "value":100} is a rule requiring the rtt from a job to be under 100ms, or the job will be marked failed. Available output keys, comparators, and value types are are found by submitting a GET request to https://api.nsone.net/v1/monitoring/jobtypes.
626
626
  """
627
627
  ...
628
628
  @overload
@@ -653,16 +653,16 @@ class MonitoringJob(pulumi.CustomResource):
653
653
  policy="quorum",
654
654
  mute=True,
655
655
  config={
656
- "ssl": 1,
656
+ "ssl": "1",
657
657
  "send": "HEAD / HTTP/1.0\\\\r\\\\n\\\\r\\\\n",
658
- "port": 443,
658
+ "port": "443",
659
659
  "host": "example-elb-uswest.aws.amazon.com",
660
660
  },
661
- rules=[ns1.MonitoringJobRuleArgs(
662
- value="200 OK",
663
- comparison="contains",
664
- key="output",
665
- )])
661
+ rules=[{
662
+ "value": "200 OK",
663
+ "comparison": "contains",
664
+ "key": "output",
665
+ }])
666
666
  ```
667
667
 
668
668
  ## NS1 Documentation
@@ -691,7 +691,7 @@ class MonitoringJob(pulumi.CustomResource):
691
691
  resource_name: str,
692
692
  opts: Optional[pulumi.ResourceOptions] = None,
693
693
  active: Optional[pulumi.Input[bool]] = None,
694
- config: Optional[pulumi.Input[Mapping[str, Any]]] = None,
694
+ config: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
695
695
  frequency: Optional[pulumi.Input[int]] = None,
696
696
  job_type: Optional[pulumi.Input[str]] = None,
697
697
  mute: Optional[pulumi.Input[bool]] = None,
@@ -705,7 +705,7 @@ class MonitoringJob(pulumi.CustomResource):
705
705
  policy: Optional[pulumi.Input[str]] = None,
706
706
  rapid_recheck: Optional[pulumi.Input[bool]] = None,
707
707
  regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
708
- rules: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MonitoringJobRuleArgs']]]]] = None,
708
+ rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MonitoringJobRuleArgs', 'MonitoringJobRuleArgsDict']]]]] = None,
709
709
  __props__=None):
710
710
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
711
711
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -750,7 +750,7 @@ class MonitoringJob(pulumi.CustomResource):
750
750
  id: pulumi.Input[str],
751
751
  opts: Optional[pulumi.ResourceOptions] = None,
752
752
  active: Optional[pulumi.Input[bool]] = None,
753
- config: Optional[pulumi.Input[Mapping[str, Any]]] = None,
753
+ config: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
754
754
  frequency: Optional[pulumi.Input[int]] = None,
755
755
  job_type: Optional[pulumi.Input[str]] = None,
756
756
  mute: Optional[pulumi.Input[bool]] = None,
@@ -764,7 +764,7 @@ class MonitoringJob(pulumi.CustomResource):
764
764
  policy: Optional[pulumi.Input[str]] = None,
765
765
  rapid_recheck: Optional[pulumi.Input[bool]] = None,
766
766
  regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
767
- rules: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MonitoringJobRuleArgs']]]]] = None) -> 'MonitoringJob':
767
+ rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MonitoringJobRuleArgs', 'MonitoringJobRuleArgsDict']]]]] = None) -> 'MonitoringJob':
768
768
  """
769
769
  Get an existing MonitoringJob resource's state with the given name, id, and optional extra
770
770
  properties used to qualify the lookup.
@@ -773,7 +773,7 @@ class MonitoringJob(pulumi.CustomResource):
773
773
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
774
774
  :param pulumi.ResourceOptions opts: Options for the resource.
775
775
  :param pulumi.Input[bool] active: Indicates if the job is active or temporarily disabled.
776
- :param pulumi.Input[Mapping[str, Any]] config: A configuration dictionary with keys and values depending on the job_type. Configuration details for each job_type are found by submitting a GET request to https://api.nsone.net/v1/monitoring/jobtypes.
776
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] config: A configuration dictionary with keys and values depending on the job_type. Configuration details for each job_type are found by submitting a GET request to https://api.nsone.net/v1/monitoring/jobtypes.
777
777
  :param pulumi.Input[int] frequency: The frequency, in seconds, at which to run the monitoring job in each region.
778
778
  :param pulumi.Input[str] job_type: The type of monitoring job to be run. Refer to the NS1 API documentation (https://ns1.com/api#monitoring-jobs) for supported values which include ping, tcp, dns, http.
779
779
  :param pulumi.Input[bool] mute: turn off the notifications for the monitoring job.
@@ -788,7 +788,7 @@ class MonitoringJob(pulumi.CustomResource):
788
788
  :param pulumi.Input[bool] rapid_recheck: If true, on any apparent state change, the job is quickly re-run after one second to confirm the state change before notification.
789
789
  :param pulumi.Input[Sequence[pulumi.Input[str]]] regions: The list of region codes in which to run the monitoring
790
790
  job. See NS1 API docs for supported values.
791
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MonitoringJobRuleArgs']]]] rules: A list of rules for determining failure conditions. Each rule acts on one of the outputs from the monitoring job. You must specify key (the output key); comparison (a comparison to perform on the the output); and value (the value to compare to). For example, {"key":"rtt", "comparison":"<", "value":100} is a rule requiring the rtt from a job to be under 100ms, or the job will be marked failed. Available output keys, comparators, and value types are are found by submitting a GET request to https://api.nsone.net/v1/monitoring/jobtypes.
791
+ :param pulumi.Input[Sequence[pulumi.Input[Union['MonitoringJobRuleArgs', 'MonitoringJobRuleArgsDict']]]] rules: A list of rules for determining failure conditions. Each rule acts on one of the outputs from the monitoring job. You must specify key (the output key); comparison (a comparison to perform on the the output); and value (the value to compare to). For example, {"key":"rtt", "comparison":"<", "value":100} is a rule requiring the rtt from a job to be under 100ms, or the job will be marked failed. Available output keys, comparators, and value types are are found by submitting a GET request to https://api.nsone.net/v1/monitoring/jobtypes.
792
792
  """
793
793
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
794
794
 
@@ -822,7 +822,7 @@ class MonitoringJob(pulumi.CustomResource):
822
822
 
823
823
  @property
824
824
  @pulumi.getter
825
- def config(self) -> pulumi.Output[Mapping[str, Any]]:
825
+ def config(self) -> pulumi.Output[Mapping[str, str]]:
826
826
  """
827
827
  A configuration dictionary with keys and values depending on the job_type. Configuration details for each job_type are found by submitting a GET request to https://api.nsone.net/v1/monitoring/jobtypes.
828
828
  """
pulumi_ns1/notify_list.py CHANGED
@@ -99,7 +99,7 @@ class NotifyList(pulumi.CustomResource):
99
99
  resource_name: str,
100
100
  opts: Optional[pulumi.ResourceOptions] = None,
101
101
  name: Optional[pulumi.Input[str]] = None,
102
- notifications: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NotifyListNotificationArgs']]]]] = None,
102
+ notifications: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotifyListNotificationArgs', 'NotifyListNotificationArgsDict']]]]] = None,
103
103
  __props__=None):
104
104
  """
105
105
  Provides a NS1 Notify List resource. This can be used to create, modify, and delete notify lists.
@@ -113,18 +113,18 @@ class NotifyList(pulumi.CustomResource):
113
113
  nl = ns1.NotifyList("nl",
114
114
  name="my notify list",
115
115
  notifications=[
116
- ns1.NotifyListNotificationArgs(
117
- type="webhook",
118
- config={
116
+ {
117
+ "type": "webhook",
118
+ "config": {
119
119
  "url": "http://www.mywebhook.com",
120
120
  },
121
- ),
122
- ns1.NotifyListNotificationArgs(
123
- type="email",
124
- config={
121
+ },
122
+ {
123
+ "type": "email",
124
+ "config": {
125
125
  "email": "test@test.com",
126
126
  },
127
- ),
127
+ },
128
128
  ])
129
129
  ```
130
130
 
@@ -141,7 +141,7 @@ class NotifyList(pulumi.CustomResource):
141
141
  :param str resource_name: The name of the resource.
142
142
  :param pulumi.ResourceOptions opts: Options for the resource.
143
143
  :param pulumi.Input[str] name: The free-form display name for the notify list.
144
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NotifyListNotificationArgs']]]] notifications: A list of notifiers. All notifiers in a notification list will receive notifications whenever an event is send to the list (e.g., when a monitoring job fails). Notifiers are documented below.
144
+ :param pulumi.Input[Sequence[pulumi.Input[Union['NotifyListNotificationArgs', 'NotifyListNotificationArgsDict']]]] notifications: A list of notifiers. All notifiers in a notification list will receive notifications whenever an event is send to the list (e.g., when a monitoring job fails). Notifiers are documented below.
145
145
  """
146
146
  ...
147
147
  @overload
@@ -161,18 +161,18 @@ class NotifyList(pulumi.CustomResource):
161
161
  nl = ns1.NotifyList("nl",
162
162
  name="my notify list",
163
163
  notifications=[
164
- ns1.NotifyListNotificationArgs(
165
- type="webhook",
166
- config={
164
+ {
165
+ "type": "webhook",
166
+ "config": {
167
167
  "url": "http://www.mywebhook.com",
168
168
  },
169
- ),
170
- ns1.NotifyListNotificationArgs(
171
- type="email",
172
- config={
169
+ },
170
+ {
171
+ "type": "email",
172
+ "config": {
173
173
  "email": "test@test.com",
174
174
  },
175
- ),
175
+ },
176
176
  ])
177
177
  ```
178
178
 
@@ -202,7 +202,7 @@ class NotifyList(pulumi.CustomResource):
202
202
  resource_name: str,
203
203
  opts: Optional[pulumi.ResourceOptions] = None,
204
204
  name: Optional[pulumi.Input[str]] = None,
205
- notifications: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NotifyListNotificationArgs']]]]] = None,
205
+ notifications: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotifyListNotificationArgs', 'NotifyListNotificationArgsDict']]]]] = None,
206
206
  __props__=None):
207
207
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
208
208
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -225,7 +225,7 @@ class NotifyList(pulumi.CustomResource):
225
225
  id: pulumi.Input[str],
226
226
  opts: Optional[pulumi.ResourceOptions] = None,
227
227
  name: Optional[pulumi.Input[str]] = None,
228
- notifications: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NotifyListNotificationArgs']]]]] = None) -> 'NotifyList':
228
+ notifications: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotifyListNotificationArgs', 'NotifyListNotificationArgsDict']]]]] = None) -> 'NotifyList':
229
229
  """
230
230
  Get an existing NotifyList resource's state with the given name, id, and optional extra
231
231
  properties used to qualify the lookup.
@@ -234,7 +234,7 @@ class NotifyList(pulumi.CustomResource):
234
234
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
235
235
  :param pulumi.ResourceOptions opts: Options for the resource.
236
236
  :param pulumi.Input[str] name: The free-form display name for the notify list.
237
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NotifyListNotificationArgs']]]] notifications: A list of notifiers. All notifiers in a notification list will receive notifications whenever an event is send to the list (e.g., when a monitoring job fails). Notifiers are documented below.
237
+ :param pulumi.Input[Sequence[pulumi.Input[Union['NotifyListNotificationArgs', 'NotifyListNotificationArgsDict']]]] notifications: A list of notifiers. All notifiers in a notification list will receive notifications whenever an event is send to the list (e.g., when a monitoring job fails). Notifiers are documented below.
238
238
  """
239
239
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
240
240
 
pulumi_ns1/outputs.py CHANGED
@@ -251,7 +251,7 @@ class ApplicationDefaultConfig(dict):
251
251
  @pulumi.output_type
252
252
  class DatasetDatatype(dict):
253
253
  def __init__(__self__, *,
254
- data: Mapping[str, Any],
254
+ data: Mapping[str, str],
255
255
  scope: str,
256
256
  type: str):
257
257
  pulumi.set(__self__, "data", data)
@@ -260,7 +260,7 @@ class DatasetDatatype(dict):
260
260
 
261
261
  @property
262
262
  @pulumi.getter
263
- def data(self) -> Mapping[str, Any]:
263
+ def data(self) -> Mapping[str, str]:
264
264
  return pulumi.get(self, "data")
265
265
 
266
266
  @property
@@ -463,10 +463,10 @@ class MonitoringJobRule(dict):
463
463
  @pulumi.output_type
464
464
  class NotifyListNotification(dict):
465
465
  def __init__(__self__, *,
466
- config: Mapping[str, Any],
466
+ config: Mapping[str, str],
467
467
  type: str):
468
468
  """
469
- :param Mapping[str, Any] config: Configuration details for the given notifier type.
469
+ :param Mapping[str, str] config: Configuration details for the given notifier type.
470
470
  :param str type: The type of notifier. Available notifiers are indicated in /notifytypes endpoint.
471
471
  """
472
472
  pulumi.set(__self__, "config", config)
@@ -474,7 +474,7 @@ class NotifyListNotification(dict):
474
474
 
475
475
  @property
476
476
  @pulumi.getter
477
- def config(self) -> Mapping[str, Any]:
477
+ def config(self) -> Mapping[str, str]:
478
478
  """
479
479
  Configuration details for the given notifier type.
480
480
  """
@@ -650,7 +650,7 @@ class PulsarJobWeight(dict):
650
650
  class RecordAnswer(dict):
651
651
  def __init__(__self__, *,
652
652
  answer: Optional[str] = None,
653
- meta: Optional[Mapping[str, Any]] = None,
653
+ meta: Optional[Mapping[str, str]] = None,
654
654
  region: Optional[str] = None):
655
655
  """
656
656
  :param str answer: Space delimited string of RDATA fields dependent on the record type.
@@ -719,7 +719,7 @@ class RecordAnswer(dict):
719
719
 
720
720
  @property
721
721
  @pulumi.getter
722
- def meta(self) -> Optional[Mapping[str, Any]]:
722
+ def meta(self) -> Optional[Mapping[str, str]]:
723
723
  return pulumi.get(self, "meta")
724
724
 
725
725
  @property
@@ -741,11 +741,11 @@ class RecordAnswer(dict):
741
741
  class RecordFilter(dict):
742
742
  def __init__(__self__, *,
743
743
  filter: str,
744
- config: Optional[Mapping[str, Any]] = None,
744
+ config: Optional[Mapping[str, str]] = None,
745
745
  disabled: Optional[bool] = None):
746
746
  """
747
747
  :param str filter: The type of filter.
748
- :param Mapping[str, Any] config: The filters' configuration. Simple key/value pairs
748
+ :param Mapping[str, str] config: The filters' configuration. Simple key/value pairs
749
749
  determined by the filter type.
750
750
  :param bool disabled: Determines whether the filter is applied in the
751
751
  filter chain.
@@ -766,7 +766,7 @@ class RecordFilter(dict):
766
766
 
767
767
  @property
768
768
  @pulumi.getter
769
- def config(self) -> Optional[Mapping[str, Any]]:
769
+ def config(self) -> Optional[Mapping[str, str]]:
770
770
  """
771
771
  The filters' configuration. Simple key/value pairs
772
772
  determined by the filter type.
@@ -787,7 +787,7 @@ class RecordFilter(dict):
787
787
  class RecordRegion(dict):
788
788
  def __init__(__self__, *,
789
789
  name: str,
790
- meta: Optional[Mapping[str, Any]] = None):
790
+ meta: Optional[Mapping[str, str]] = None):
791
791
  """
792
792
  :param str name: Name of the region (or Answer Group).
793
793
  """
@@ -805,7 +805,7 @@ class RecordRegion(dict):
805
805
 
806
806
  @property
807
807
  @pulumi.getter
808
- def meta(self) -> Optional[Mapping[str, Any]]:
808
+ def meta(self) -> Optional[Mapping[str, str]]:
809
809
  return pulumi.get(self, "meta")
810
810
 
811
811
 
@@ -1403,10 +1403,10 @@ class GetNetworksNetworkResult(dict):
1403
1403
  class GetRecordAnswerResult(dict):
1404
1404
  def __init__(__self__, *,
1405
1405
  answer: str,
1406
- meta: Mapping[str, Any],
1406
+ meta: Mapping[str, str],
1407
1407
  region: str):
1408
1408
  """
1409
- :param Mapping[str, Any] meta: Map of metadata
1409
+ :param Mapping[str, str] meta: Map of metadata
1410
1410
  """
1411
1411
  pulumi.set(__self__, "answer", answer)
1412
1412
  pulumi.set(__self__, "meta", meta)
@@ -1419,7 +1419,7 @@ class GetRecordAnswerResult(dict):
1419
1419
 
1420
1420
  @property
1421
1421
  @pulumi.getter
1422
- def meta(self) -> Mapping[str, Any]:
1422
+ def meta(self) -> Mapping[str, str]:
1423
1423
  """
1424
1424
  Map of metadata
1425
1425
  """
@@ -1434,7 +1434,7 @@ class GetRecordAnswerResult(dict):
1434
1434
  @pulumi.output_type
1435
1435
  class GetRecordFilterResult(dict):
1436
1436
  def __init__(__self__, *,
1437
- config: Mapping[str, Any],
1437
+ config: Mapping[str, str],
1438
1438
  disabled: bool,
1439
1439
  filter: str):
1440
1440
  pulumi.set(__self__, "config", config)
@@ -1443,7 +1443,7 @@ class GetRecordFilterResult(dict):
1443
1443
 
1444
1444
  @property
1445
1445
  @pulumi.getter
1446
- def config(self) -> Mapping[str, Any]:
1446
+ def config(self) -> Mapping[str, str]:
1447
1447
  return pulumi.get(self, "config")
1448
1448
 
1449
1449
  @property
@@ -1460,17 +1460,17 @@ class GetRecordFilterResult(dict):
1460
1460
  @pulumi.output_type
1461
1461
  class GetRecordRegionResult(dict):
1462
1462
  def __init__(__self__, *,
1463
- meta: Mapping[str, Any],
1463
+ meta: Mapping[str, str],
1464
1464
  name: str):
1465
1465
  """
1466
- :param Mapping[str, Any] meta: Map of metadata
1466
+ :param Mapping[str, str] meta: Map of metadata
1467
1467
  """
1468
1468
  pulumi.set(__self__, "meta", meta)
1469
1469
  pulumi.set(__self__, "name", name)
1470
1470
 
1471
1471
  @property
1472
1472
  @pulumi.getter
1473
- def meta(self) -> Mapping[str, Any]:
1473
+ def meta(self) -> Mapping[str, str]:
1474
1474
  """
1475
1475
  Map of metadata
1476
1476
  """
pulumi_ns1/pulsar_job.py CHANGED
@@ -262,12 +262,12 @@ class PulsarJob(pulumi.CustomResource):
262
262
  opts: Optional[pulumi.ResourceOptions] = None,
263
263
  active: Optional[pulumi.Input[bool]] = None,
264
264
  app_id: Optional[pulumi.Input[str]] = None,
265
- blend_metric_weights: Optional[pulumi.Input[pulumi.InputType['PulsarJobBlendMetricWeightsArgs']]] = None,
266
- config: Optional[pulumi.Input[pulumi.InputType['PulsarJobConfigArgs']]] = None,
265
+ blend_metric_weights: Optional[pulumi.Input[Union['PulsarJobBlendMetricWeightsArgs', 'PulsarJobBlendMetricWeightsArgsDict']]] = None,
266
+ config: Optional[pulumi.Input[Union['PulsarJobConfigArgs', 'PulsarJobConfigArgsDict']]] = None,
267
267
  name: Optional[pulumi.Input[str]] = None,
268
268
  shared: Optional[pulumi.Input[bool]] = None,
269
269
  type_id: Optional[pulumi.Input[str]] = None,
270
- weights: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PulsarJobWeightArgs']]]]] = None,
270
+ weights: Optional[pulumi.Input[Sequence[pulumi.Input[Union['PulsarJobWeightArgs', 'PulsarJobWeightArgsDict']]]]] = None,
271
271
  __props__=None):
272
272
  """
273
273
  Create a PulsarJob resource with the given unique name, props, and options.
@@ -299,12 +299,12 @@ class PulsarJob(pulumi.CustomResource):
299
299
  opts: Optional[pulumi.ResourceOptions] = None,
300
300
  active: Optional[pulumi.Input[bool]] = None,
301
301
  app_id: Optional[pulumi.Input[str]] = None,
302
- blend_metric_weights: Optional[pulumi.Input[pulumi.InputType['PulsarJobBlendMetricWeightsArgs']]] = None,
303
- config: Optional[pulumi.Input[pulumi.InputType['PulsarJobConfigArgs']]] = None,
302
+ blend_metric_weights: Optional[pulumi.Input[Union['PulsarJobBlendMetricWeightsArgs', 'PulsarJobBlendMetricWeightsArgsDict']]] = None,
303
+ config: Optional[pulumi.Input[Union['PulsarJobConfigArgs', 'PulsarJobConfigArgsDict']]] = None,
304
304
  name: Optional[pulumi.Input[str]] = None,
305
305
  shared: Optional[pulumi.Input[bool]] = None,
306
306
  type_id: Optional[pulumi.Input[str]] = None,
307
- weights: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PulsarJobWeightArgs']]]]] = None,
307
+ weights: Optional[pulumi.Input[Sequence[pulumi.Input[Union['PulsarJobWeightArgs', 'PulsarJobWeightArgsDict']]]]] = None,
308
308
  __props__=None):
309
309
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
310
310
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -341,15 +341,15 @@ class PulsarJob(pulumi.CustomResource):
341
341
  opts: Optional[pulumi.ResourceOptions] = None,
342
342
  active: Optional[pulumi.Input[bool]] = None,
343
343
  app_id: Optional[pulumi.Input[str]] = None,
344
- blend_metric_weights: Optional[pulumi.Input[pulumi.InputType['PulsarJobBlendMetricWeightsArgs']]] = None,
344
+ blend_metric_weights: Optional[pulumi.Input[Union['PulsarJobBlendMetricWeightsArgs', 'PulsarJobBlendMetricWeightsArgsDict']]] = None,
345
345
  community: Optional[pulumi.Input[bool]] = None,
346
- config: Optional[pulumi.Input[pulumi.InputType['PulsarJobConfigArgs']]] = None,
346
+ config: Optional[pulumi.Input[Union['PulsarJobConfigArgs', 'PulsarJobConfigArgsDict']]] = None,
347
347
  customer: Optional[pulumi.Input[int]] = None,
348
348
  job_id: Optional[pulumi.Input[str]] = None,
349
349
  name: Optional[pulumi.Input[str]] = None,
350
350
  shared: Optional[pulumi.Input[bool]] = None,
351
351
  type_id: Optional[pulumi.Input[str]] = None,
352
- weights: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PulsarJobWeightArgs']]]]] = None) -> 'PulsarJob':
352
+ weights: Optional[pulumi.Input[Sequence[pulumi.Input[Union['PulsarJobWeightArgs', 'PulsarJobWeightArgsDict']]]]] = None) -> 'PulsarJob':
353
353
  """
354
354
  Get an existing PulsarJob resource's state with the given name, id, and optional extra
355
355
  properties used to qualify the lookup.
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "ns1",
4
- "version": "3.4.0-alpha.1722603428"
4
+ "version": "3.4.1-alpha.1724660491"
5
5
  }