pulumi-ns1 3.7.0a1753337859__py3-none-any.whl → 3.7.0a1753510566__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,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
@@ -22,11 +21,11 @@ __all__ = ['NotifyListArgs', 'NotifyList']
22
21
  @pulumi.input_type
23
22
  class NotifyListArgs:
24
23
  def __init__(__self__, *,
25
- name: Optional[pulumi.Input[builtins.str]] = None,
24
+ name: Optional[pulumi.Input[_builtins.str]] = None,
26
25
  notifications: Optional[pulumi.Input[Sequence[pulumi.Input['NotifyListNotificationArgs']]]] = None):
27
26
  """
28
27
  The set of arguments for constructing a NotifyList resource.
29
- :param pulumi.Input[builtins.str] name: The free-form display name for the notify list.
28
+ :param pulumi.Input[_builtins.str] name: The free-form display name for the notify list.
30
29
  :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.
31
30
  """
32
31
  if name is not None:
@@ -34,19 +33,19 @@ class NotifyListArgs:
34
33
  if notifications is not None:
35
34
  pulumi.set(__self__, "notifications", notifications)
36
35
 
37
- @property
36
+ @_builtins.property
38
37
  @pulumi.getter
39
- def name(self) -> Optional[pulumi.Input[builtins.str]]:
38
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
40
39
  """
41
40
  The free-form display name for the notify list.
42
41
  """
43
42
  return pulumi.get(self, "name")
44
43
 
45
44
  @name.setter
46
- def name(self, value: Optional[pulumi.Input[builtins.str]]):
45
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
47
46
  pulumi.set(self, "name", value)
48
47
 
49
- @property
48
+ @_builtins.property
50
49
  @pulumi.getter
51
50
  def notifications(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NotifyListNotificationArgs']]]]:
52
51
  """
@@ -62,11 +61,11 @@ class NotifyListArgs:
62
61
  @pulumi.input_type
63
62
  class _NotifyListState:
64
63
  def __init__(__self__, *,
65
- name: Optional[pulumi.Input[builtins.str]] = None,
64
+ name: Optional[pulumi.Input[_builtins.str]] = None,
66
65
  notifications: Optional[pulumi.Input[Sequence[pulumi.Input['NotifyListNotificationArgs']]]] = None):
67
66
  """
68
67
  Input properties used for looking up and filtering NotifyList resources.
69
- :param pulumi.Input[builtins.str] name: The free-form display name for the notify list.
68
+ :param pulumi.Input[_builtins.str] name: The free-form display name for the notify list.
70
69
  :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.
71
70
  """
72
71
  if name is not None:
@@ -74,19 +73,19 @@ class _NotifyListState:
74
73
  if notifications is not None:
75
74
  pulumi.set(__self__, "notifications", notifications)
76
75
 
77
- @property
76
+ @_builtins.property
78
77
  @pulumi.getter
79
- def name(self) -> Optional[pulumi.Input[builtins.str]]:
78
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
80
79
  """
81
80
  The free-form display name for the notify list.
82
81
  """
83
82
  return pulumi.get(self, "name")
84
83
 
85
84
  @name.setter
86
- def name(self, value: Optional[pulumi.Input[builtins.str]]):
85
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
87
86
  pulumi.set(self, "name", value)
88
87
 
89
- @property
88
+ @_builtins.property
90
89
  @pulumi.getter
91
90
  def notifications(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NotifyListNotificationArgs']]]]:
92
91
  """
@@ -105,7 +104,7 @@ class NotifyList(pulumi.CustomResource):
105
104
  def __init__(__self__,
106
105
  resource_name: str,
107
106
  opts: Optional[pulumi.ResourceOptions] = None,
108
- name: Optional[pulumi.Input[builtins.str]] = None,
107
+ name: Optional[pulumi.Input[_builtins.str]] = None,
109
108
  notifications: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotifyListNotificationArgs', 'NotifyListNotificationArgsDict']]]]] = None,
110
109
  __props__=None):
111
110
  """
@@ -147,7 +146,7 @@ class NotifyList(pulumi.CustomResource):
147
146
 
148
147
  :param str resource_name: The name of the resource.
149
148
  :param pulumi.ResourceOptions opts: Options for the resource.
150
- :param pulumi.Input[builtins.str] name: The free-form display name for the notify list.
149
+ :param pulumi.Input[_builtins.str] name: The free-form display name for the notify list.
151
150
  :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.
152
151
  """
153
152
  ...
@@ -208,7 +207,7 @@ class NotifyList(pulumi.CustomResource):
208
207
  def _internal_init(__self__,
209
208
  resource_name: str,
210
209
  opts: Optional[pulumi.ResourceOptions] = None,
211
- name: Optional[pulumi.Input[builtins.str]] = None,
210
+ name: Optional[pulumi.Input[_builtins.str]] = None,
212
211
  notifications: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotifyListNotificationArgs', 'NotifyListNotificationArgsDict']]]]] = None,
213
212
  __props__=None):
214
213
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
@@ -231,7 +230,7 @@ class NotifyList(pulumi.CustomResource):
231
230
  def get(resource_name: str,
232
231
  id: pulumi.Input[str],
233
232
  opts: Optional[pulumi.ResourceOptions] = None,
234
- name: Optional[pulumi.Input[builtins.str]] = None,
233
+ name: Optional[pulumi.Input[_builtins.str]] = None,
235
234
  notifications: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotifyListNotificationArgs', 'NotifyListNotificationArgsDict']]]]] = None) -> 'NotifyList':
236
235
  """
237
236
  Get an existing NotifyList resource's state with the given name, id, and optional extra
@@ -240,7 +239,7 @@ class NotifyList(pulumi.CustomResource):
240
239
  :param str resource_name: The unique name of the resulting resource.
241
240
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
242
241
  :param pulumi.ResourceOptions opts: Options for the resource.
243
- :param pulumi.Input[builtins.str] name: The free-form display name for the notify list.
242
+ :param pulumi.Input[_builtins.str] name: The free-form display name for the notify list.
244
243
  :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.
245
244
  """
246
245
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -251,15 +250,15 @@ class NotifyList(pulumi.CustomResource):
251
250
  __props__.__dict__["notifications"] = notifications
252
251
  return NotifyList(resource_name, opts=opts, __props__=__props__)
253
252
 
254
- @property
253
+ @_builtins.property
255
254
  @pulumi.getter
256
- def name(self) -> pulumi.Output[builtins.str]:
255
+ def name(self) -> pulumi.Output[_builtins.str]:
257
256
  """
258
257
  The free-form display name for the notify list.
259
258
  """
260
259
  return pulumi.get(self, "name")
261
260
 
262
- @property
261
+ @_builtins.property
263
262
  @pulumi.getter
264
263
  def notifications(self) -> pulumi.Output[Optional[Sequence['outputs.NotifyListNotification']]]:
265
264
  """