pulumi-ns1 3.6.2a1744169292__py3-none-any.whl → 3.6.3__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/notify_list.py CHANGED
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -21,11 +22,11 @@ __all__ = ['NotifyListArgs', 'NotifyList']
21
22
  @pulumi.input_type
22
23
  class NotifyListArgs:
23
24
  def __init__(__self__, *,
24
- name: Optional[pulumi.Input[str]] = None,
25
+ name: Optional[pulumi.Input[builtins.str]] = None,
25
26
  notifications: Optional[pulumi.Input[Sequence[pulumi.Input['NotifyListNotificationArgs']]]] = None):
26
27
  """
27
28
  The set of arguments for constructing a NotifyList resource.
28
- :param pulumi.Input[str] name: The free-form display name for the notify list.
29
+ :param pulumi.Input[builtins.str] name: The free-form display name for the notify list.
29
30
  :param pulumi.Input[Sequence[pulumi.Input['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.
30
31
  """
31
32
  if name is not None:
@@ -35,14 +36,14 @@ class NotifyListArgs:
35
36
 
36
37
  @property
37
38
  @pulumi.getter
38
- def name(self) -> Optional[pulumi.Input[str]]:
39
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
39
40
  """
40
41
  The free-form display name for the notify list.
41
42
  """
42
43
  return pulumi.get(self, "name")
43
44
 
44
45
  @name.setter
45
- def name(self, value: Optional[pulumi.Input[str]]):
46
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
46
47
  pulumi.set(self, "name", value)
47
48
 
48
49
  @property
@@ -61,11 +62,11 @@ class NotifyListArgs:
61
62
  @pulumi.input_type
62
63
  class _NotifyListState:
63
64
  def __init__(__self__, *,
64
- name: Optional[pulumi.Input[str]] = None,
65
+ name: Optional[pulumi.Input[builtins.str]] = None,
65
66
  notifications: Optional[pulumi.Input[Sequence[pulumi.Input['NotifyListNotificationArgs']]]] = None):
66
67
  """
67
68
  Input properties used for looking up and filtering NotifyList resources.
68
- :param pulumi.Input[str] name: The free-form display name for the notify list.
69
+ :param pulumi.Input[builtins.str] name: The free-form display name for the notify list.
69
70
  :param pulumi.Input[Sequence[pulumi.Input['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.
70
71
  """
71
72
  if name is not None:
@@ -75,14 +76,14 @@ class _NotifyListState:
75
76
 
76
77
  @property
77
78
  @pulumi.getter
78
- def name(self) -> Optional[pulumi.Input[str]]:
79
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
79
80
  """
80
81
  The free-form display name for the notify list.
81
82
  """
82
83
  return pulumi.get(self, "name")
83
84
 
84
85
  @name.setter
85
- def name(self, value: Optional[pulumi.Input[str]]):
86
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
86
87
  pulumi.set(self, "name", value)
87
88
 
88
89
  @property
@@ -99,11 +100,14 @@ class _NotifyListState:
99
100
 
100
101
 
101
102
  class NotifyList(pulumi.CustomResource):
103
+
104
+ pulumi_type = "ns1:index/notifyList:NotifyList"
105
+
102
106
  @overload
103
107
  def __init__(__self__,
104
108
  resource_name: str,
105
109
  opts: Optional[pulumi.ResourceOptions] = None,
106
- name: Optional[pulumi.Input[str]] = None,
110
+ name: Optional[pulumi.Input[builtins.str]] = None,
107
111
  notifications: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotifyListNotificationArgs', 'NotifyListNotificationArgsDict']]]]] = None,
108
112
  __props__=None):
109
113
  """
@@ -145,7 +149,7 @@ class NotifyList(pulumi.CustomResource):
145
149
 
146
150
  :param str resource_name: The name of the resource.
147
151
  :param pulumi.ResourceOptions opts: Options for the resource.
148
- :param pulumi.Input[str] name: The free-form display name for the notify list.
152
+ :param pulumi.Input[builtins.str] name: The free-form display name for the notify list.
149
153
  :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.
150
154
  """
151
155
  ...
@@ -206,7 +210,7 @@ class NotifyList(pulumi.CustomResource):
206
210
  def _internal_init(__self__,
207
211
  resource_name: str,
208
212
  opts: Optional[pulumi.ResourceOptions] = None,
209
- name: Optional[pulumi.Input[str]] = None,
213
+ name: Optional[pulumi.Input[builtins.str]] = None,
210
214
  notifications: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotifyListNotificationArgs', 'NotifyListNotificationArgsDict']]]]] = None,
211
215
  __props__=None):
212
216
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
@@ -229,7 +233,7 @@ class NotifyList(pulumi.CustomResource):
229
233
  def get(resource_name: str,
230
234
  id: pulumi.Input[str],
231
235
  opts: Optional[pulumi.ResourceOptions] = None,
232
- name: Optional[pulumi.Input[str]] = None,
236
+ name: Optional[pulumi.Input[builtins.str]] = None,
233
237
  notifications: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotifyListNotificationArgs', 'NotifyListNotificationArgsDict']]]]] = None) -> 'NotifyList':
234
238
  """
235
239
  Get an existing NotifyList resource's state with the given name, id, and optional extra
@@ -238,7 +242,7 @@ class NotifyList(pulumi.CustomResource):
238
242
  :param str resource_name: The unique name of the resulting resource.
239
243
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
240
244
  :param pulumi.ResourceOptions opts: Options for the resource.
241
- :param pulumi.Input[str] name: The free-form display name for the notify list.
245
+ :param pulumi.Input[builtins.str] name: The free-form display name for the notify list.
242
246
  :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.
243
247
  """
244
248
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -251,7 +255,7 @@ class NotifyList(pulumi.CustomResource):
251
255
 
252
256
  @property
253
257
  @pulumi.getter
254
- def name(self) -> pulumi.Output[str]:
258
+ def name(self) -> pulumi.Output[builtins.str]:
255
259
  """
256
260
  The free-form display name for the notify list.
257
261
  """