pulumi-newrelic 5.24.0__py3-none-any.whl → 5.24.0a1714110957__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.
@@ -21,6 +21,9 @@ class AlertPolicyArgs:
21
21
  """
22
22
  The set of arguments for constructing a AlertPolicy resource.
23
23
  :param pulumi.Input[int] account_id: The New Relic account ID to operate on.
24
+ :param pulumi.Input[Sequence[pulumi.Input[int]]] channel_ids: An array of channel IDs (integers) to assign to the policy. Adding or removing channel IDs from this array will result
25
+ in a new alert policy resource being created and the old one being destroyed. Also note that channel IDs cannot be
26
+ imported via terraform import.
24
27
  :param pulumi.Input[str] incident_preference: The rollup strategy for the policy. Options include: PER_POLICY, PER_CONDITION, or PER_CONDITION_AND_TARGET. The default
25
28
  is PER_POLICY.
26
29
  :param pulumi.Input[str] name: The name of the policy.
@@ -52,6 +55,11 @@ class AlertPolicyArgs:
52
55
  @property
53
56
  @pulumi.getter(name="channelIds")
54
57
  def channel_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[int]]]]:
58
+ """
59
+ An array of channel IDs (integers) to assign to the policy. Adding or removing channel IDs from this array will result
60
+ in a new alert policy resource being created and the old one being destroyed. Also note that channel IDs cannot be
61
+ imported via terraform import.
62
+ """
55
63
  warnings.warn("""The `channel_ids` attribute is deprecated and will be removed in the next major release of the provider.""", DeprecationWarning)
56
64
  pulumi.log.warn("""channel_ids is deprecated: The `channel_ids` attribute is deprecated and will be removed in the next major release of the provider.""")
57
65
 
@@ -97,6 +105,9 @@ class _AlertPolicyState:
97
105
  """
98
106
  Input properties used for looking up and filtering AlertPolicy resources.
99
107
  :param pulumi.Input[int] account_id: The New Relic account ID to operate on.
108
+ :param pulumi.Input[Sequence[pulumi.Input[int]]] channel_ids: An array of channel IDs (integers) to assign to the policy. Adding or removing channel IDs from this array will result
109
+ in a new alert policy resource being created and the old one being destroyed. Also note that channel IDs cannot be
110
+ imported via terraform import.
100
111
  :param pulumi.Input[str] incident_preference: The rollup strategy for the policy. Options include: PER_POLICY, PER_CONDITION, or PER_CONDITION_AND_TARGET. The default
101
112
  is PER_POLICY.
102
113
  :param pulumi.Input[str] name: The name of the policy.
@@ -128,6 +139,11 @@ class _AlertPolicyState:
128
139
  @property
129
140
  @pulumi.getter(name="channelIds")
130
141
  def channel_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[int]]]]:
142
+ """
143
+ An array of channel IDs (integers) to assign to the policy. Adding or removing channel IDs from this array will result
144
+ in a new alert policy resource being created and the old one being destroyed. Also note that channel IDs cannot be
145
+ imported via terraform import.
146
+ """
131
147
  warnings.warn("""The `channel_ids` attribute is deprecated and will be removed in the next major release of the provider.""", DeprecationWarning)
132
148
  pulumi.log.warn("""channel_ids is deprecated: The `channel_ids` attribute is deprecated and will be removed in the next major release of the provider.""")
133
149
 
@@ -267,6 +283,9 @@ class AlertPolicy(pulumi.CustomResource):
267
283
  :param str resource_name: The name of the resource.
268
284
  :param pulumi.ResourceOptions opts: Options for the resource.
269
285
  :param pulumi.Input[int] account_id: The New Relic account ID to operate on.
286
+ :param pulumi.Input[Sequence[pulumi.Input[int]]] channel_ids: An array of channel IDs (integers) to assign to the policy. Adding or removing channel IDs from this array will result
287
+ in a new alert policy resource being created and the old one being destroyed. Also note that channel IDs cannot be
288
+ imported via terraform import.
270
289
  :param pulumi.Input[str] incident_preference: The rollup strategy for the policy. Options include: PER_POLICY, PER_CONDITION, or PER_CONDITION_AND_TARGET. The default
271
290
  is PER_POLICY.
272
291
  :param pulumi.Input[str] name: The name of the policy.
@@ -422,6 +441,9 @@ class AlertPolicy(pulumi.CustomResource):
422
441
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
423
442
  :param pulumi.ResourceOptions opts: Options for the resource.
424
443
  :param pulumi.Input[int] account_id: The New Relic account ID to operate on.
444
+ :param pulumi.Input[Sequence[pulumi.Input[int]]] channel_ids: An array of channel IDs (integers) to assign to the policy. Adding or removing channel IDs from this array will result
445
+ in a new alert policy resource being created and the old one being destroyed. Also note that channel IDs cannot be
446
+ imported via terraform import.
425
447
  :param pulumi.Input[str] incident_preference: The rollup strategy for the policy. Options include: PER_POLICY, PER_CONDITION, or PER_CONDITION_AND_TARGET. The default
426
448
  is PER_POLICY.
427
449
  :param pulumi.Input[str] name: The name of the policy.
@@ -447,6 +469,11 @@ class AlertPolicy(pulumi.CustomResource):
447
469
  @property
448
470
  @pulumi.getter(name="channelIds")
449
471
  def channel_ids(self) -> pulumi.Output[Optional[Sequence[int]]]:
472
+ """
473
+ An array of channel IDs (integers) to assign to the policy. Adding or removing channel IDs from this array will result
474
+ in a new alert policy resource being created and the old one being destroyed. Also note that channel IDs cannot be
475
+ imported via terraform import.
476
+ """
450
477
  warnings.warn("""The `channel_ids` attribute is deprecated and will be removed in the next major release of the provider.""", DeprecationWarning)
451
478
  pulumi.log.warn("""channel_ids is deprecated: The `channel_ids` attribute is deprecated and will be removed in the next major release of the provider.""")
452
479