pulumi-ns1 3.6.2a1744169292__py3-none-any.whl → 3.7.0a1744265376__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
@@ -103,7 +104,7 @@ class NotifyList(pulumi.CustomResource):
103
104
  def __init__(__self__,
104
105
  resource_name: str,
105
106
  opts: Optional[pulumi.ResourceOptions] = None,
106
- name: Optional[pulumi.Input[str]] = None,
107
+ name: Optional[pulumi.Input[builtins.str]] = None,
107
108
  notifications: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotifyListNotificationArgs', 'NotifyListNotificationArgsDict']]]]] = None,
108
109
  __props__=None):
109
110
  """
@@ -145,7 +146,7 @@ class NotifyList(pulumi.CustomResource):
145
146
 
146
147
  :param str resource_name: The name of the resource.
147
148
  :param pulumi.ResourceOptions opts: Options for the resource.
148
- :param pulumi.Input[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.
149
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.
150
151
  """
151
152
  ...
@@ -206,7 +207,7 @@ class NotifyList(pulumi.CustomResource):
206
207
  def _internal_init(__self__,
207
208
  resource_name: str,
208
209
  opts: Optional[pulumi.ResourceOptions] = None,
209
- name: Optional[pulumi.Input[str]] = None,
210
+ name: Optional[pulumi.Input[builtins.str]] = None,
210
211
  notifications: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotifyListNotificationArgs', 'NotifyListNotificationArgsDict']]]]] = None,
211
212
  __props__=None):
212
213
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
@@ -229,7 +230,7 @@ class NotifyList(pulumi.CustomResource):
229
230
  def get(resource_name: str,
230
231
  id: pulumi.Input[str],
231
232
  opts: Optional[pulumi.ResourceOptions] = None,
232
- name: Optional[pulumi.Input[str]] = None,
233
+ name: Optional[pulumi.Input[builtins.str]] = None,
233
234
  notifications: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NotifyListNotificationArgs', 'NotifyListNotificationArgsDict']]]]] = None) -> 'NotifyList':
234
235
  """
235
236
  Get an existing NotifyList resource's state with the given name, id, and optional extra
@@ -238,7 +239,7 @@ class NotifyList(pulumi.CustomResource):
238
239
  :param str resource_name: The unique name of the resulting resource.
239
240
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
240
241
  :param pulumi.ResourceOptions opts: Options for the resource.
241
- :param pulumi.Input[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.
242
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.
243
244
  """
244
245
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -251,7 +252,7 @@ class NotifyList(pulumi.CustomResource):
251
252
 
252
253
  @property
253
254
  @pulumi.getter
254
- def name(self) -> pulumi.Output[str]:
255
+ def name(self) -> pulumi.Output[builtins.str]:
255
256
  """
256
257
  The free-form display name for the notify list.
257
258
  """