pulumi-digitalocean 4.41.0a1742794810__py3-none-any.whl → 4.42.0__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.

Potentially problematic release.


This version of pulumi-digitalocean might be problematic. Click here for more details.

Files changed (111) hide show
  1. pulumi_digitalocean/__init__.py +21 -0
  2. pulumi_digitalocean/_enums.py +10 -8
  3. pulumi_digitalocean/_inputs.py +2936 -2693
  4. pulumi_digitalocean/app.py +64 -63
  5. pulumi_digitalocean/cdn.py +85 -84
  6. pulumi_digitalocean/certificate.py +111 -110
  7. pulumi_digitalocean/config/__init__.py +1 -0
  8. pulumi_digitalocean/config/__init__.pyi +1 -0
  9. pulumi_digitalocean/config/vars.py +1 -0
  10. pulumi_digitalocean/container_registry.py +71 -70
  11. pulumi_digitalocean/container_registry_docker_credentials.py +57 -56
  12. pulumi_digitalocean/custom_image.py +141 -140
  13. pulumi_digitalocean/database_cluster.py +274 -273
  14. pulumi_digitalocean/database_connection_pool.py +127 -126
  15. pulumi_digitalocean/database_db.py +29 -28
  16. pulumi_digitalocean/database_firewall.py +15 -14
  17. pulumi_digitalocean/database_kafka_config.py +253 -252
  18. pulumi_digitalocean/database_kafka_topic.py +64 -63
  19. pulumi_digitalocean/database_mongodb_config.py +85 -84
  20. pulumi_digitalocean/database_mysql_config.py +393 -392
  21. pulumi_digitalocean/database_opensearch_config.py +547 -546
  22. pulumi_digitalocean/database_postgresql_config.py +701 -700
  23. pulumi_digitalocean/database_redis_config.py +169 -168
  24. pulumi_digitalocean/database_replica.py +158 -157
  25. pulumi_digitalocean/database_user.py +71 -70
  26. pulumi_digitalocean/dns_record.py +148 -147
  27. pulumi_digitalocean/domain.py +43 -42
  28. pulumi_digitalocean/droplet.py +312 -311
  29. pulumi_digitalocean/droplet_autoscale.py +36 -35
  30. pulumi_digitalocean/droplet_snapshot.py +57 -56
  31. pulumi_digitalocean/firewall.py +57 -56
  32. pulumi_digitalocean/floating_ip.py +50 -49
  33. pulumi_digitalocean/floating_ip_assignment.py +29 -28
  34. pulumi_digitalocean/get_account.py +9 -8
  35. pulumi_digitalocean/get_app.py +15 -14
  36. pulumi_digitalocean/get_certificate.py +13 -12
  37. pulumi_digitalocean/get_container_registry.py +13 -12
  38. pulumi_digitalocean/get_database_ca.py +8 -7
  39. pulumi_digitalocean/get_database_cluster.py +33 -32
  40. pulumi_digitalocean/get_database_connection_pool.py +22 -21
  41. pulumi_digitalocean/get_database_replica.py +29 -28
  42. pulumi_digitalocean/get_database_user.py +17 -16
  43. pulumi_digitalocean/get_domain.py +10 -9
  44. pulumi_digitalocean/get_domains.py +2 -1
  45. pulumi_digitalocean/get_droplet.py +44 -43
  46. pulumi_digitalocean/get_droplet_autoscale.py +14 -13
  47. pulumi_digitalocean/get_droplet_snapshot.py +27 -26
  48. pulumi_digitalocean/get_droplets.py +7 -6
  49. pulumi_digitalocean/get_firewall.py +20 -19
  50. pulumi_digitalocean/get_floating_ip.py +10 -9
  51. pulumi_digitalocean/get_image.py +33 -32
  52. pulumi_digitalocean/get_images.py +2 -1
  53. pulumi_digitalocean/get_kubernetes_cluster.py +45 -29
  54. pulumi_digitalocean/get_kubernetes_versions.py +9 -8
  55. pulumi_digitalocean/get_load_balancer.py +31 -30
  56. pulumi_digitalocean/get_partner_attachment.py +170 -0
  57. pulumi_digitalocean/get_project.py +20 -19
  58. pulumi_digitalocean/get_projects.py +2 -1
  59. pulumi_digitalocean/get_record.py +20 -19
  60. pulumi_digitalocean/get_records.py +7 -6
  61. pulumi_digitalocean/get_region.py +11 -10
  62. pulumi_digitalocean/get_regions.py +2 -1
  63. pulumi_digitalocean/get_reserved_ip.py +10 -9
  64. pulumi_digitalocean/get_reserved_ipv6.py +10 -9
  65. pulumi_digitalocean/get_sizes.py +2 -1
  66. pulumi_digitalocean/get_spaces_bucket.py +15 -14
  67. pulumi_digitalocean/get_spaces_bucket_object.py +38 -37
  68. pulumi_digitalocean/get_spaces_bucket_objects.py +35 -34
  69. pulumi_digitalocean/get_spaces_buckets.py +2 -1
  70. pulumi_digitalocean/get_spaces_key.py +158 -0
  71. pulumi_digitalocean/get_ssh_key.py +9 -8
  72. pulumi_digitalocean/get_ssh_keys.py +2 -1
  73. pulumi_digitalocean/get_tag.py +13 -12
  74. pulumi_digitalocean/get_tags.py +2 -1
  75. pulumi_digitalocean/get_volume.py +23 -22
  76. pulumi_digitalocean/get_volume_snapshot.py +28 -27
  77. pulumi_digitalocean/get_vpc.py +21 -20
  78. pulumi_digitalocean/get_vpc_peering.py +18 -17
  79. pulumi_digitalocean/kubernetes_cluster.py +272 -238
  80. pulumi_digitalocean/kubernetes_node_pool.py +134 -133
  81. pulumi_digitalocean/load_balancer.py +277 -276
  82. pulumi_digitalocean/monitor_alert.py +120 -119
  83. pulumi_digitalocean/outputs.py +3185 -2989
  84. pulumi_digitalocean/partner_attachment.py +433 -0
  85. pulumi_digitalocean/project.py +113 -112
  86. pulumi_digitalocean/project_resources.py +29 -28
  87. pulumi_digitalocean/provider.py +69 -68
  88. pulumi_digitalocean/pulumi-plugin.json +1 -1
  89. pulumi_digitalocean/reserved_ip.py +50 -49
  90. pulumi_digitalocean/reserved_ip_assignment.py +29 -28
  91. pulumi_digitalocean/reserved_ipv6.py +44 -43
  92. pulumi_digitalocean/reserved_ipv6_assignment.py +29 -28
  93. pulumi_digitalocean/spaces_bucket.py +78 -77
  94. pulumi_digitalocean/spaces_bucket_cors_configuration.py +29 -28
  95. pulumi_digitalocean/spaces_bucket_object.py +232 -231
  96. pulumi_digitalocean/spaces_bucket_policy.py +43 -42
  97. pulumi_digitalocean/spaces_key.py +388 -0
  98. pulumi_digitalocean/ssh_key.py +36 -35
  99. pulumi_digitalocean/tag.py +57 -56
  100. pulumi_digitalocean/uptime_alert.py +85 -84
  101. pulumi_digitalocean/uptime_check.py +71 -70
  102. pulumi_digitalocean/volume.py +148 -147
  103. pulumi_digitalocean/volume_attachment.py +29 -28
  104. pulumi_digitalocean/volume_snapshot.py +71 -70
  105. pulumi_digitalocean/vpc.py +78 -77
  106. pulumi_digitalocean/vpc_peering.py +43 -42
  107. {pulumi_digitalocean-4.41.0a1742794810.dist-info → pulumi_digitalocean-4.42.0.dist-info}/METADATA +1 -1
  108. pulumi_digitalocean-4.42.0.dist-info/RECORD +112 -0
  109. {pulumi_digitalocean-4.41.0a1742794810.dist-info → pulumi_digitalocean-4.42.0.dist-info}/WHEEL +1 -1
  110. pulumi_digitalocean-4.41.0a1742794810.dist-info/RECORD +0 -108
  111. {pulumi_digitalocean-4.41.0a1742794810.dist-info → pulumi_digitalocean-4.42.0.dist-info}/top_level.txt +0 -0
@@ -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,22 +22,22 @@ __all__ = ['UptimeAlertArgs', 'UptimeAlert']
21
22
  @pulumi.input_type
22
23
  class UptimeAlertArgs:
23
24
  def __init__(__self__, *,
24
- check_id: pulumi.Input[str],
25
+ check_id: pulumi.Input[builtins.str],
25
26
  notifications: pulumi.Input[Sequence[pulumi.Input['UptimeAlertNotificationArgs']]],
26
- type: pulumi.Input[str],
27
- comparison: Optional[pulumi.Input[str]] = None,
28
- name: Optional[pulumi.Input[str]] = None,
29
- period: Optional[pulumi.Input[str]] = None,
30
- threshold: Optional[pulumi.Input[int]] = None):
27
+ type: pulumi.Input[builtins.str],
28
+ comparison: Optional[pulumi.Input[builtins.str]] = None,
29
+ name: Optional[pulumi.Input[builtins.str]] = None,
30
+ period: Optional[pulumi.Input[builtins.str]] = None,
31
+ threshold: Optional[pulumi.Input[builtins.int]] = None):
31
32
  """
32
33
  The set of arguments for constructing a UptimeAlert resource.
33
- :param pulumi.Input[str] check_id: A unique identifier for a check
34
+ :param pulumi.Input[builtins.str] check_id: A unique identifier for a check
34
35
  :param pulumi.Input[Sequence[pulumi.Input['UptimeAlertNotificationArgs']]] notifications: The notification settings for a trigger alert.
35
- :param pulumi.Input[str] type: The type of health check to perform. Must be one of `latency`, `down`, `down_global` or `ssl_expiry`.
36
- :param pulumi.Input[str] comparison: The comparison operator used against the alert's threshold. Must be one of `greater_than` or `less_than`.
37
- :param pulumi.Input[str] name: A human-friendly display name.
38
- :param pulumi.Input[str] period: Period of time the threshold must be exceeded to trigger the alert. Must be one of `2m`, `3m`, `5m`, `10m`, `15m`, `30m` or `1h`.
39
- :param pulumi.Input[int] threshold: The threshold at which the alert will enter a trigger state. The specific threshold is dependent on the alert type.
36
+ :param pulumi.Input[builtins.str] type: The type of health check to perform. Must be one of `latency`, `down`, `down_global` or `ssl_expiry`.
37
+ :param pulumi.Input[builtins.str] comparison: The comparison operator used against the alert's threshold. Must be one of `greater_than` or `less_than`.
38
+ :param pulumi.Input[builtins.str] name: A human-friendly display name.
39
+ :param pulumi.Input[builtins.str] period: Period of time the threshold must be exceeded to trigger the alert. Must be one of `2m`, `3m`, `5m`, `10m`, `15m`, `30m` or `1h`.
40
+ :param pulumi.Input[builtins.int] threshold: The threshold at which the alert will enter a trigger state. The specific threshold is dependent on the alert type.
40
41
  """
41
42
  pulumi.set(__self__, "check_id", check_id)
42
43
  pulumi.set(__self__, "notifications", notifications)
@@ -52,14 +53,14 @@ class UptimeAlertArgs:
52
53
 
53
54
  @property
54
55
  @pulumi.getter(name="checkId")
55
- def check_id(self) -> pulumi.Input[str]:
56
+ def check_id(self) -> pulumi.Input[builtins.str]:
56
57
  """
57
58
  A unique identifier for a check
58
59
  """
59
60
  return pulumi.get(self, "check_id")
60
61
 
61
62
  @check_id.setter
62
- def check_id(self, value: pulumi.Input[str]):
63
+ def check_id(self, value: pulumi.Input[builtins.str]):
63
64
  pulumi.set(self, "check_id", value)
64
65
 
65
66
  @property
@@ -76,84 +77,84 @@ class UptimeAlertArgs:
76
77
 
77
78
  @property
78
79
  @pulumi.getter
79
- def type(self) -> pulumi.Input[str]:
80
+ def type(self) -> pulumi.Input[builtins.str]:
80
81
  """
81
82
  The type of health check to perform. Must be one of `latency`, `down`, `down_global` or `ssl_expiry`.
82
83
  """
83
84
  return pulumi.get(self, "type")
84
85
 
85
86
  @type.setter
86
- def type(self, value: pulumi.Input[str]):
87
+ def type(self, value: pulumi.Input[builtins.str]):
87
88
  pulumi.set(self, "type", value)
88
89
 
89
90
  @property
90
91
  @pulumi.getter
91
- def comparison(self) -> Optional[pulumi.Input[str]]:
92
+ def comparison(self) -> Optional[pulumi.Input[builtins.str]]:
92
93
  """
93
94
  The comparison operator used against the alert's threshold. Must be one of `greater_than` or `less_than`.
94
95
  """
95
96
  return pulumi.get(self, "comparison")
96
97
 
97
98
  @comparison.setter
98
- def comparison(self, value: Optional[pulumi.Input[str]]):
99
+ def comparison(self, value: Optional[pulumi.Input[builtins.str]]):
99
100
  pulumi.set(self, "comparison", value)
100
101
 
101
102
  @property
102
103
  @pulumi.getter
103
- def name(self) -> Optional[pulumi.Input[str]]:
104
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
104
105
  """
105
106
  A human-friendly display name.
106
107
  """
107
108
  return pulumi.get(self, "name")
108
109
 
109
110
  @name.setter
110
- def name(self, value: Optional[pulumi.Input[str]]):
111
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
111
112
  pulumi.set(self, "name", value)
112
113
 
113
114
  @property
114
115
  @pulumi.getter
115
- def period(self) -> Optional[pulumi.Input[str]]:
116
+ def period(self) -> Optional[pulumi.Input[builtins.str]]:
116
117
  """
117
118
  Period of time the threshold must be exceeded to trigger the alert. Must be one of `2m`, `3m`, `5m`, `10m`, `15m`, `30m` or `1h`.
118
119
  """
119
120
  return pulumi.get(self, "period")
120
121
 
121
122
  @period.setter
122
- def period(self, value: Optional[pulumi.Input[str]]):
123
+ def period(self, value: Optional[pulumi.Input[builtins.str]]):
123
124
  pulumi.set(self, "period", value)
124
125
 
125
126
  @property
126
127
  @pulumi.getter
127
- def threshold(self) -> Optional[pulumi.Input[int]]:
128
+ def threshold(self) -> Optional[pulumi.Input[builtins.int]]:
128
129
  """
129
130
  The threshold at which the alert will enter a trigger state. The specific threshold is dependent on the alert type.
130
131
  """
131
132
  return pulumi.get(self, "threshold")
132
133
 
133
134
  @threshold.setter
134
- def threshold(self, value: Optional[pulumi.Input[int]]):
135
+ def threshold(self, value: Optional[pulumi.Input[builtins.int]]):
135
136
  pulumi.set(self, "threshold", value)
136
137
 
137
138
 
138
139
  @pulumi.input_type
139
140
  class _UptimeAlertState:
140
141
  def __init__(__self__, *,
141
- check_id: Optional[pulumi.Input[str]] = None,
142
- comparison: Optional[pulumi.Input[str]] = None,
143
- name: Optional[pulumi.Input[str]] = None,
142
+ check_id: Optional[pulumi.Input[builtins.str]] = None,
143
+ comparison: Optional[pulumi.Input[builtins.str]] = None,
144
+ name: Optional[pulumi.Input[builtins.str]] = None,
144
145
  notifications: Optional[pulumi.Input[Sequence[pulumi.Input['UptimeAlertNotificationArgs']]]] = None,
145
- period: Optional[pulumi.Input[str]] = None,
146
- threshold: Optional[pulumi.Input[int]] = None,
147
- type: Optional[pulumi.Input[str]] = None):
146
+ period: Optional[pulumi.Input[builtins.str]] = None,
147
+ threshold: Optional[pulumi.Input[builtins.int]] = None,
148
+ type: Optional[pulumi.Input[builtins.str]] = None):
148
149
  """
149
150
  Input properties used for looking up and filtering UptimeAlert resources.
150
- :param pulumi.Input[str] check_id: A unique identifier for a check
151
- :param pulumi.Input[str] comparison: The comparison operator used against the alert's threshold. Must be one of `greater_than` or `less_than`.
152
- :param pulumi.Input[str] name: A human-friendly display name.
151
+ :param pulumi.Input[builtins.str] check_id: A unique identifier for a check
152
+ :param pulumi.Input[builtins.str] comparison: The comparison operator used against the alert's threshold. Must be one of `greater_than` or `less_than`.
153
+ :param pulumi.Input[builtins.str] name: A human-friendly display name.
153
154
  :param pulumi.Input[Sequence[pulumi.Input['UptimeAlertNotificationArgs']]] notifications: The notification settings for a trigger alert.
154
- :param pulumi.Input[str] period: Period of time the threshold must be exceeded to trigger the alert. Must be one of `2m`, `3m`, `5m`, `10m`, `15m`, `30m` or `1h`.
155
- :param pulumi.Input[int] threshold: The threshold at which the alert will enter a trigger state. The specific threshold is dependent on the alert type.
156
- :param pulumi.Input[str] type: The type of health check to perform. Must be one of `latency`, `down`, `down_global` or `ssl_expiry`.
155
+ :param pulumi.Input[builtins.str] period: Period of time the threshold must be exceeded to trigger the alert. Must be one of `2m`, `3m`, `5m`, `10m`, `15m`, `30m` or `1h`.
156
+ :param pulumi.Input[builtins.int] threshold: The threshold at which the alert will enter a trigger state. The specific threshold is dependent on the alert type.
157
+ :param pulumi.Input[builtins.str] type: The type of health check to perform. Must be one of `latency`, `down`, `down_global` or `ssl_expiry`.
157
158
  """
158
159
  if check_id is not None:
159
160
  pulumi.set(__self__, "check_id", check_id)
@@ -172,38 +173,38 @@ class _UptimeAlertState:
172
173
 
173
174
  @property
174
175
  @pulumi.getter(name="checkId")
175
- def check_id(self) -> Optional[pulumi.Input[str]]:
176
+ def check_id(self) -> Optional[pulumi.Input[builtins.str]]:
176
177
  """
177
178
  A unique identifier for a check
178
179
  """
179
180
  return pulumi.get(self, "check_id")
180
181
 
181
182
  @check_id.setter
182
- def check_id(self, value: Optional[pulumi.Input[str]]):
183
+ def check_id(self, value: Optional[pulumi.Input[builtins.str]]):
183
184
  pulumi.set(self, "check_id", value)
184
185
 
185
186
  @property
186
187
  @pulumi.getter
187
- def comparison(self) -> Optional[pulumi.Input[str]]:
188
+ def comparison(self) -> Optional[pulumi.Input[builtins.str]]:
188
189
  """
189
190
  The comparison operator used against the alert's threshold. Must be one of `greater_than` or `less_than`.
190
191
  """
191
192
  return pulumi.get(self, "comparison")
192
193
 
193
194
  @comparison.setter
194
- def comparison(self, value: Optional[pulumi.Input[str]]):
195
+ def comparison(self, value: Optional[pulumi.Input[builtins.str]]):
195
196
  pulumi.set(self, "comparison", value)
196
197
 
197
198
  @property
198
199
  @pulumi.getter
199
- def name(self) -> Optional[pulumi.Input[str]]:
200
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
200
201
  """
201
202
  A human-friendly display name.
202
203
  """
203
204
  return pulumi.get(self, "name")
204
205
 
205
206
  @name.setter
206
- def name(self, value: Optional[pulumi.Input[str]]):
207
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
207
208
  pulumi.set(self, "name", value)
208
209
 
209
210
  @property
@@ -220,38 +221,38 @@ class _UptimeAlertState:
220
221
 
221
222
  @property
222
223
  @pulumi.getter
223
- def period(self) -> Optional[pulumi.Input[str]]:
224
+ def period(self) -> Optional[pulumi.Input[builtins.str]]:
224
225
  """
225
226
  Period of time the threshold must be exceeded to trigger the alert. Must be one of `2m`, `3m`, `5m`, `10m`, `15m`, `30m` or `1h`.
226
227
  """
227
228
  return pulumi.get(self, "period")
228
229
 
229
230
  @period.setter
230
- def period(self, value: Optional[pulumi.Input[str]]):
231
+ def period(self, value: Optional[pulumi.Input[builtins.str]]):
231
232
  pulumi.set(self, "period", value)
232
233
 
233
234
  @property
234
235
  @pulumi.getter
235
- def threshold(self) -> Optional[pulumi.Input[int]]:
236
+ def threshold(self) -> Optional[pulumi.Input[builtins.int]]:
236
237
  """
237
238
  The threshold at which the alert will enter a trigger state. The specific threshold is dependent on the alert type.
238
239
  """
239
240
  return pulumi.get(self, "threshold")
240
241
 
241
242
  @threshold.setter
242
- def threshold(self, value: Optional[pulumi.Input[int]]):
243
+ def threshold(self, value: Optional[pulumi.Input[builtins.int]]):
243
244
  pulumi.set(self, "threshold", value)
244
245
 
245
246
  @property
246
247
  @pulumi.getter
247
- def type(self) -> Optional[pulumi.Input[str]]:
248
+ def type(self) -> Optional[pulumi.Input[builtins.str]]:
248
249
  """
249
250
  The type of health check to perform. Must be one of `latency`, `down`, `down_global` or `ssl_expiry`.
250
251
  """
251
252
  return pulumi.get(self, "type")
252
253
 
253
254
  @type.setter
254
- def type(self, value: Optional[pulumi.Input[str]]):
255
+ def type(self, value: Optional[pulumi.Input[builtins.str]]):
255
256
  pulumi.set(self, "type", value)
256
257
 
257
258
 
@@ -260,13 +261,13 @@ class UptimeAlert(pulumi.CustomResource):
260
261
  def __init__(__self__,
261
262
  resource_name: str,
262
263
  opts: Optional[pulumi.ResourceOptions] = None,
263
- check_id: Optional[pulumi.Input[str]] = None,
264
- comparison: Optional[pulumi.Input[str]] = None,
265
- name: Optional[pulumi.Input[str]] = None,
264
+ check_id: Optional[pulumi.Input[builtins.str]] = None,
265
+ comparison: Optional[pulumi.Input[builtins.str]] = None,
266
+ name: Optional[pulumi.Input[builtins.str]] = None,
266
267
  notifications: Optional[pulumi.Input[Sequence[pulumi.Input[Union['UptimeAlertNotificationArgs', 'UptimeAlertNotificationArgsDict']]]]] = None,
267
- period: Optional[pulumi.Input[str]] = None,
268
- threshold: Optional[pulumi.Input[int]] = None,
269
- type: Optional[pulumi.Input[str]] = None,
268
+ period: Optional[pulumi.Input[builtins.str]] = None,
269
+ threshold: Optional[pulumi.Input[builtins.int]] = None,
270
+ type: Optional[pulumi.Input[builtins.str]] = None,
270
271
  __props__=None):
271
272
  """
272
273
  Provides a [DigitalOcean Uptime Alerts](https://docs.digitalocean.com/reference/api/digitalocean/#tag/Uptime/operation/uptime_create_alert)
@@ -284,13 +285,13 @@ class UptimeAlert(pulumi.CustomResource):
284
285
 
285
286
  :param str resource_name: The name of the resource.
286
287
  :param pulumi.ResourceOptions opts: Options for the resource.
287
- :param pulumi.Input[str] check_id: A unique identifier for a check
288
- :param pulumi.Input[str] comparison: The comparison operator used against the alert's threshold. Must be one of `greater_than` or `less_than`.
289
- :param pulumi.Input[str] name: A human-friendly display name.
288
+ :param pulumi.Input[builtins.str] check_id: A unique identifier for a check
289
+ :param pulumi.Input[builtins.str] comparison: The comparison operator used against the alert's threshold. Must be one of `greater_than` or `less_than`.
290
+ :param pulumi.Input[builtins.str] name: A human-friendly display name.
290
291
  :param pulumi.Input[Sequence[pulumi.Input[Union['UptimeAlertNotificationArgs', 'UptimeAlertNotificationArgsDict']]]] notifications: The notification settings for a trigger alert.
291
- :param pulumi.Input[str] period: Period of time the threshold must be exceeded to trigger the alert. Must be one of `2m`, `3m`, `5m`, `10m`, `15m`, `30m` or `1h`.
292
- :param pulumi.Input[int] threshold: The threshold at which the alert will enter a trigger state. The specific threshold is dependent on the alert type.
293
- :param pulumi.Input[str] type: The type of health check to perform. Must be one of `latency`, `down`, `down_global` or `ssl_expiry`.
292
+ :param pulumi.Input[builtins.str] period: Period of time the threshold must be exceeded to trigger the alert. Must be one of `2m`, `3m`, `5m`, `10m`, `15m`, `30m` or `1h`.
293
+ :param pulumi.Input[builtins.int] threshold: The threshold at which the alert will enter a trigger state. The specific threshold is dependent on the alert type.
294
+ :param pulumi.Input[builtins.str] type: The type of health check to perform. Must be one of `latency`, `down`, `down_global` or `ssl_expiry`.
294
295
  """
295
296
  ...
296
297
  @overload
@@ -327,13 +328,13 @@ class UptimeAlert(pulumi.CustomResource):
327
328
  def _internal_init(__self__,
328
329
  resource_name: str,
329
330
  opts: Optional[pulumi.ResourceOptions] = None,
330
- check_id: Optional[pulumi.Input[str]] = None,
331
- comparison: Optional[pulumi.Input[str]] = None,
332
- name: Optional[pulumi.Input[str]] = None,
331
+ check_id: Optional[pulumi.Input[builtins.str]] = None,
332
+ comparison: Optional[pulumi.Input[builtins.str]] = None,
333
+ name: Optional[pulumi.Input[builtins.str]] = None,
333
334
  notifications: Optional[pulumi.Input[Sequence[pulumi.Input[Union['UptimeAlertNotificationArgs', 'UptimeAlertNotificationArgsDict']]]]] = None,
334
- period: Optional[pulumi.Input[str]] = None,
335
- threshold: Optional[pulumi.Input[int]] = None,
336
- type: Optional[pulumi.Input[str]] = None,
335
+ period: Optional[pulumi.Input[builtins.str]] = None,
336
+ threshold: Optional[pulumi.Input[builtins.int]] = None,
337
+ type: Optional[pulumi.Input[builtins.str]] = None,
337
338
  __props__=None):
338
339
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
339
340
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -366,13 +367,13 @@ class UptimeAlert(pulumi.CustomResource):
366
367
  def get(resource_name: str,
367
368
  id: pulumi.Input[str],
368
369
  opts: Optional[pulumi.ResourceOptions] = None,
369
- check_id: Optional[pulumi.Input[str]] = None,
370
- comparison: Optional[pulumi.Input[str]] = None,
371
- name: Optional[pulumi.Input[str]] = None,
370
+ check_id: Optional[pulumi.Input[builtins.str]] = None,
371
+ comparison: Optional[pulumi.Input[builtins.str]] = None,
372
+ name: Optional[pulumi.Input[builtins.str]] = None,
372
373
  notifications: Optional[pulumi.Input[Sequence[pulumi.Input[Union['UptimeAlertNotificationArgs', 'UptimeAlertNotificationArgsDict']]]]] = None,
373
- period: Optional[pulumi.Input[str]] = None,
374
- threshold: Optional[pulumi.Input[int]] = None,
375
- type: Optional[pulumi.Input[str]] = None) -> 'UptimeAlert':
374
+ period: Optional[pulumi.Input[builtins.str]] = None,
375
+ threshold: Optional[pulumi.Input[builtins.int]] = None,
376
+ type: Optional[pulumi.Input[builtins.str]] = None) -> 'UptimeAlert':
376
377
  """
377
378
  Get an existing UptimeAlert resource's state with the given name, id, and optional extra
378
379
  properties used to qualify the lookup.
@@ -380,13 +381,13 @@ class UptimeAlert(pulumi.CustomResource):
380
381
  :param str resource_name: The unique name of the resulting resource.
381
382
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
382
383
  :param pulumi.ResourceOptions opts: Options for the resource.
383
- :param pulumi.Input[str] check_id: A unique identifier for a check
384
- :param pulumi.Input[str] comparison: The comparison operator used against the alert's threshold. Must be one of `greater_than` or `less_than`.
385
- :param pulumi.Input[str] name: A human-friendly display name.
384
+ :param pulumi.Input[builtins.str] check_id: A unique identifier for a check
385
+ :param pulumi.Input[builtins.str] comparison: The comparison operator used against the alert's threshold. Must be one of `greater_than` or `less_than`.
386
+ :param pulumi.Input[builtins.str] name: A human-friendly display name.
386
387
  :param pulumi.Input[Sequence[pulumi.Input[Union['UptimeAlertNotificationArgs', 'UptimeAlertNotificationArgsDict']]]] notifications: The notification settings for a trigger alert.
387
- :param pulumi.Input[str] period: Period of time the threshold must be exceeded to trigger the alert. Must be one of `2m`, `3m`, `5m`, `10m`, `15m`, `30m` or `1h`.
388
- :param pulumi.Input[int] threshold: The threshold at which the alert will enter a trigger state. The specific threshold is dependent on the alert type.
389
- :param pulumi.Input[str] type: The type of health check to perform. Must be one of `latency`, `down`, `down_global` or `ssl_expiry`.
388
+ :param pulumi.Input[builtins.str] period: Period of time the threshold must be exceeded to trigger the alert. Must be one of `2m`, `3m`, `5m`, `10m`, `15m`, `30m` or `1h`.
389
+ :param pulumi.Input[builtins.int] threshold: The threshold at which the alert will enter a trigger state. The specific threshold is dependent on the alert type.
390
+ :param pulumi.Input[builtins.str] type: The type of health check to perform. Must be one of `latency`, `down`, `down_global` or `ssl_expiry`.
390
391
  """
391
392
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
392
393
 
@@ -403,7 +404,7 @@ class UptimeAlert(pulumi.CustomResource):
403
404
 
404
405
  @property
405
406
  @pulumi.getter(name="checkId")
406
- def check_id(self) -> pulumi.Output[str]:
407
+ def check_id(self) -> pulumi.Output[builtins.str]:
407
408
  """
408
409
  A unique identifier for a check
409
410
  """
@@ -411,7 +412,7 @@ class UptimeAlert(pulumi.CustomResource):
411
412
 
412
413
  @property
413
414
  @pulumi.getter
414
- def comparison(self) -> pulumi.Output[Optional[str]]:
415
+ def comparison(self) -> pulumi.Output[Optional[builtins.str]]:
415
416
  """
416
417
  The comparison operator used against the alert's threshold. Must be one of `greater_than` or `less_than`.
417
418
  """
@@ -419,7 +420,7 @@ class UptimeAlert(pulumi.CustomResource):
419
420
 
420
421
  @property
421
422
  @pulumi.getter
422
- def name(self) -> pulumi.Output[str]:
423
+ def name(self) -> pulumi.Output[builtins.str]:
423
424
  """
424
425
  A human-friendly display name.
425
426
  """
@@ -435,7 +436,7 @@ class UptimeAlert(pulumi.CustomResource):
435
436
 
436
437
  @property
437
438
  @pulumi.getter
438
- def period(self) -> pulumi.Output[Optional[str]]:
439
+ def period(self) -> pulumi.Output[Optional[builtins.str]]:
439
440
  """
440
441
  Period of time the threshold must be exceeded to trigger the alert. Must be one of `2m`, `3m`, `5m`, `10m`, `15m`, `30m` or `1h`.
441
442
  """
@@ -443,7 +444,7 @@ class UptimeAlert(pulumi.CustomResource):
443
444
 
444
445
  @property
445
446
  @pulumi.getter
446
- def threshold(self) -> pulumi.Output[Optional[int]]:
447
+ def threshold(self) -> pulumi.Output[Optional[builtins.int]]:
447
448
  """
448
449
  The threshold at which the alert will enter a trigger state. The specific threshold is dependent on the alert type.
449
450
  """
@@ -451,7 +452,7 @@ class UptimeAlert(pulumi.CustomResource):
451
452
 
452
453
  @property
453
454
  @pulumi.getter
454
- def type(self) -> pulumi.Output[str]:
455
+ def type(self) -> pulumi.Output[builtins.str]:
455
456
  """
456
457
  The type of health check to perform. Must be one of `latency`, `down`, `down_global` or `ssl_expiry`.
457
458
  """