pulumi-cloudamqp 3.21.0a1743571485__py3-none-any.whl → 3.22.0a1744182778__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-cloudamqp might be problematic. Click here for more details.

Files changed (49) hide show
  1. pulumi_cloudamqp/__init__.py +10 -0
  2. pulumi_cloudamqp/_inputs.py +92 -72
  3. pulumi_cloudamqp/account_action.py +39 -31
  4. pulumi_cloudamqp/alarm.py +229 -168
  5. pulumi_cloudamqp/config/__init__.py +1 -0
  6. pulumi_cloudamqp/config/__init__.pyi +1 -0
  7. pulumi_cloudamqp/config/vars.py +1 -0
  8. pulumi_cloudamqp/custom_domain.py +81 -38
  9. pulumi_cloudamqp/extra_disk_size.py +172 -155
  10. pulumi_cloudamqp/get_account.py +10 -3
  11. pulumi_cloudamqp/get_account_vpcs.py +15 -41
  12. pulumi_cloudamqp/get_alarm.py +74 -67
  13. pulumi_cloudamqp/get_credentials.py +19 -26
  14. pulumi_cloudamqp/get_instance.py +75 -25
  15. pulumi_cloudamqp/get_nodes.py +10 -56
  16. pulumi_cloudamqp/get_notification.py +39 -41
  17. pulumi_cloudamqp/get_plugins.py +28 -54
  18. pulumi_cloudamqp/get_plugins_community.py +29 -52
  19. pulumi_cloudamqp/get_upgradable_versions.py +19 -24
  20. pulumi_cloudamqp/get_vpc_gcp_info.py +44 -138
  21. pulumi_cloudamqp/get_vpc_info.py +34 -127
  22. pulumi_cloudamqp/instance.py +557 -333
  23. pulumi_cloudamqp/integration_aws_eventbridge.py +182 -117
  24. pulumi_cloudamqp/integration_log.py +488 -402
  25. pulumi_cloudamqp/integration_metric.py +345 -296
  26. pulumi_cloudamqp/maintenance_window.py +516 -0
  27. pulumi_cloudamqp/node_actions.py +82 -59
  28. pulumi_cloudamqp/notification.py +174 -92
  29. pulumi_cloudamqp/outputs.py +216 -125
  30. pulumi_cloudamqp/plugin.py +170 -105
  31. pulumi_cloudamqp/plugin_community.py +168 -107
  32. pulumi_cloudamqp/privatelink_aws.py +140 -347
  33. pulumi_cloudamqp/privatelink_azure.py +142 -345
  34. pulumi_cloudamqp/provider.py +22 -21
  35. pulumi_cloudamqp/pulumi-plugin.json +1 -1
  36. pulumi_cloudamqp/rabbit_configuration.py +334 -210
  37. pulumi_cloudamqp/security_firewall.py +111 -57
  38. pulumi_cloudamqp/upgrade_lavinmq.py +29 -102
  39. pulumi_cloudamqp/upgrade_rabbitmq.py +53 -299
  40. pulumi_cloudamqp/vpc.py +112 -79
  41. pulumi_cloudamqp/vpc_connect.py +219 -606
  42. pulumi_cloudamqp/vpc_gcp_peering.py +227 -591
  43. pulumi_cloudamqp/vpc_peering.py +120 -105
  44. pulumi_cloudamqp/webhook.py +143 -103
  45. {pulumi_cloudamqp-3.21.0a1743571485.dist-info → pulumi_cloudamqp-3.22.0a1744182778.dist-info}/METADATA +1 -1
  46. pulumi_cloudamqp-3.22.0a1744182778.dist-info/RECORD +50 -0
  47. pulumi_cloudamqp-3.21.0a1743571485.dist-info/RECORD +0 -49
  48. {pulumi_cloudamqp-3.21.0a1743571485.dist-info → pulumi_cloudamqp-3.22.0a1744182778.dist-info}/WHEEL +0 -0
  49. {pulumi_cloudamqp-3.21.0a1743571485.dist-info → pulumi_cloudamqp-3.22.0a1744182778.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,516 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins
6
+ import copy
7
+ import warnings
8
+ import sys
9
+ import pulumi
10
+ import pulumi.runtime
11
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
12
+ if sys.version_info >= (3, 11):
13
+ from typing import NotRequired, TypedDict, TypeAlias
14
+ else:
15
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
16
+ from . import _utilities
17
+
18
+ __all__ = ['MaintenanceWindowArgs', 'MaintenanceWindow']
19
+
20
+ @pulumi.input_type
21
+ class MaintenanceWindowArgs:
22
+ def __init__(__self__, *,
23
+ instance_id: pulumi.Input[builtins.int],
24
+ automatic_updates: Optional[pulumi.Input[builtins.str]] = None,
25
+ preferred_day: Optional[pulumi.Input[builtins.str]] = None,
26
+ preferred_time: Optional[pulumi.Input[builtins.str]] = None):
27
+ """
28
+ The set of arguments for constructing a MaintenanceWindow resource.
29
+ :param pulumi.Input[builtins.int] instance_id: The CloudAMQP instance ID.
30
+ :param pulumi.Input[builtins.str] automatic_updates: Allow scheduling of a maintenance for version update
31
+ once a new LavinMQ version been released.
32
+ :param pulumi.Input[builtins.str] preferred_day: Preferred day of the week when to schedule maintenance.
33
+ :param pulumi.Input[builtins.str] preferred_time: Preferred time (UTC) of the day when to schedule maintenance.
34
+ """
35
+ pulumi.set(__self__, "instance_id", instance_id)
36
+ if automatic_updates is not None:
37
+ pulumi.set(__self__, "automatic_updates", automatic_updates)
38
+ if preferred_day is not None:
39
+ pulumi.set(__self__, "preferred_day", preferred_day)
40
+ if preferred_time is not None:
41
+ pulumi.set(__self__, "preferred_time", preferred_time)
42
+
43
+ @property
44
+ @pulumi.getter(name="instanceId")
45
+ def instance_id(self) -> pulumi.Input[builtins.int]:
46
+ """
47
+ The CloudAMQP instance ID.
48
+ """
49
+ return pulumi.get(self, "instance_id")
50
+
51
+ @instance_id.setter
52
+ def instance_id(self, value: pulumi.Input[builtins.int]):
53
+ pulumi.set(self, "instance_id", value)
54
+
55
+ @property
56
+ @pulumi.getter(name="automaticUpdates")
57
+ def automatic_updates(self) -> Optional[pulumi.Input[builtins.str]]:
58
+ """
59
+ Allow scheduling of a maintenance for version update
60
+ once a new LavinMQ version been released.
61
+ """
62
+ return pulumi.get(self, "automatic_updates")
63
+
64
+ @automatic_updates.setter
65
+ def automatic_updates(self, value: Optional[pulumi.Input[builtins.str]]):
66
+ pulumi.set(self, "automatic_updates", value)
67
+
68
+ @property
69
+ @pulumi.getter(name="preferredDay")
70
+ def preferred_day(self) -> Optional[pulumi.Input[builtins.str]]:
71
+ """
72
+ Preferred day of the week when to schedule maintenance.
73
+ """
74
+ return pulumi.get(self, "preferred_day")
75
+
76
+ @preferred_day.setter
77
+ def preferred_day(self, value: Optional[pulumi.Input[builtins.str]]):
78
+ pulumi.set(self, "preferred_day", value)
79
+
80
+ @property
81
+ @pulumi.getter(name="preferredTime")
82
+ def preferred_time(self) -> Optional[pulumi.Input[builtins.str]]:
83
+ """
84
+ Preferred time (UTC) of the day when to schedule maintenance.
85
+ """
86
+ return pulumi.get(self, "preferred_time")
87
+
88
+ @preferred_time.setter
89
+ def preferred_time(self, value: Optional[pulumi.Input[builtins.str]]):
90
+ pulumi.set(self, "preferred_time", value)
91
+
92
+
93
+ @pulumi.input_type
94
+ class _MaintenanceWindowState:
95
+ def __init__(__self__, *,
96
+ automatic_updates: Optional[pulumi.Input[builtins.str]] = None,
97
+ instance_id: Optional[pulumi.Input[builtins.int]] = None,
98
+ preferred_day: Optional[pulumi.Input[builtins.str]] = None,
99
+ preferred_time: Optional[pulumi.Input[builtins.str]] = None):
100
+ """
101
+ Input properties used for looking up and filtering MaintenanceWindow resources.
102
+ :param pulumi.Input[builtins.str] automatic_updates: Allow scheduling of a maintenance for version update
103
+ once a new LavinMQ version been released.
104
+ :param pulumi.Input[builtins.int] instance_id: The CloudAMQP instance ID.
105
+ :param pulumi.Input[builtins.str] preferred_day: Preferred day of the week when to schedule maintenance.
106
+ :param pulumi.Input[builtins.str] preferred_time: Preferred time (UTC) of the day when to schedule maintenance.
107
+ """
108
+ if automatic_updates is not None:
109
+ pulumi.set(__self__, "automatic_updates", automatic_updates)
110
+ if instance_id is not None:
111
+ pulumi.set(__self__, "instance_id", instance_id)
112
+ if preferred_day is not None:
113
+ pulumi.set(__self__, "preferred_day", preferred_day)
114
+ if preferred_time is not None:
115
+ pulumi.set(__self__, "preferred_time", preferred_time)
116
+
117
+ @property
118
+ @pulumi.getter(name="automaticUpdates")
119
+ def automatic_updates(self) -> Optional[pulumi.Input[builtins.str]]:
120
+ """
121
+ Allow scheduling of a maintenance for version update
122
+ once a new LavinMQ version been released.
123
+ """
124
+ return pulumi.get(self, "automatic_updates")
125
+
126
+ @automatic_updates.setter
127
+ def automatic_updates(self, value: Optional[pulumi.Input[builtins.str]]):
128
+ pulumi.set(self, "automatic_updates", value)
129
+
130
+ @property
131
+ @pulumi.getter(name="instanceId")
132
+ def instance_id(self) -> Optional[pulumi.Input[builtins.int]]:
133
+ """
134
+ The CloudAMQP instance ID.
135
+ """
136
+ return pulumi.get(self, "instance_id")
137
+
138
+ @instance_id.setter
139
+ def instance_id(self, value: Optional[pulumi.Input[builtins.int]]):
140
+ pulumi.set(self, "instance_id", value)
141
+
142
+ @property
143
+ @pulumi.getter(name="preferredDay")
144
+ def preferred_day(self) -> Optional[pulumi.Input[builtins.str]]:
145
+ """
146
+ Preferred day of the week when to schedule maintenance.
147
+ """
148
+ return pulumi.get(self, "preferred_day")
149
+
150
+ @preferred_day.setter
151
+ def preferred_day(self, value: Optional[pulumi.Input[builtins.str]]):
152
+ pulumi.set(self, "preferred_day", value)
153
+
154
+ @property
155
+ @pulumi.getter(name="preferredTime")
156
+ def preferred_time(self) -> Optional[pulumi.Input[builtins.str]]:
157
+ """
158
+ Preferred time (UTC) of the day when to schedule maintenance.
159
+ """
160
+ return pulumi.get(self, "preferred_time")
161
+
162
+ @preferred_time.setter
163
+ def preferred_time(self, value: Optional[pulumi.Input[builtins.str]]):
164
+ pulumi.set(self, "preferred_time", value)
165
+
166
+
167
+ class MaintenanceWindow(pulumi.CustomResource):
168
+ @overload
169
+ def __init__(__self__,
170
+ resource_name: str,
171
+ opts: Optional[pulumi.ResourceOptions] = None,
172
+ automatic_updates: Optional[pulumi.Input[builtins.str]] = None,
173
+ instance_id: Optional[pulumi.Input[builtins.int]] = None,
174
+ preferred_day: Optional[pulumi.Input[builtins.str]] = None,
175
+ preferred_time: Optional[pulumi.Input[builtins.str]] = None,
176
+ __props__=None):
177
+ """
178
+ This resource allows you to set the preferred start of new scheduled maintenances. The maintenance
179
+ windows are 3 hours long and CloudAMQP attempts to begin the maintenance as close as possible to the
180
+ preferred start. A maintenance will never start before the window.
181
+
182
+ Available for dedicated subscription plans.
183
+
184
+ ## Example Usage
185
+
186
+ <details>
187
+ <summary>
188
+ <b>Set the preferred maintenance start</b>
189
+ </summary>
190
+
191
+ ```python
192
+ import pulumi
193
+ import pulumi_cloudamqp as cloudamqp
194
+
195
+ this = cloudamqp.MaintenanceWindow("this",
196
+ instance_id=instance["id"],
197
+ preferred_day="Monday",
198
+ preferred_time="23:00")
199
+ ```
200
+
201
+ </details>
202
+
203
+ <details>
204
+ <summary>
205
+ <b>Set the preferred maintenance start with automatic updates</b>
206
+ </summary>
207
+
208
+ When setting the automatic updates to "on", a maintenance for version update will be scheduled once
209
+ a new LavinMQ version been released.
210
+
211
+ ```python
212
+ import pulumi
213
+ import pulumi_cloudamqp as cloudamqp
214
+
215
+ this = cloudamqp.MaintenanceWindow("this",
216
+ instance_id=instance["id"],
217
+ preferred_day="Monday",
218
+ preferred_time="23:00",
219
+ automatic_updates="on")
220
+ ```
221
+
222
+ </details>
223
+
224
+ <details>
225
+ <summary>
226
+ <b>Only set preferred time of day</b>
227
+ </summary>
228
+
229
+ ```python
230
+ import pulumi
231
+ import pulumi_cloudamqp as cloudamqp
232
+
233
+ this = cloudamqp.MaintenanceWindow("this",
234
+ instance_id=instance["id"],
235
+ preferred_time="23:00")
236
+ ```
237
+
238
+ </details>
239
+
240
+ <details>
241
+ <summary>
242
+ <b>Only set preferred day of week</b>
243
+ </summary>
244
+
245
+ ```python
246
+ import pulumi
247
+ import pulumi_cloudamqp as cloudamqp
248
+
249
+ this = cloudamqp.MaintenanceWindow("this",
250
+ instance_id=instance["id"],
251
+ preferred_day="Monday")
252
+ ```
253
+
254
+ </details>
255
+
256
+ ## Dependency
257
+
258
+ This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
259
+
260
+ ## Import
261
+
262
+ `cloudamqp_maintenance_window` can be imported using CloudAMQP instance identifier. To retrieve the
263
+
264
+ identifier of an instance, use [CloudAMQP API list instances].
265
+
266
+ From Terraform v1.5.0, the `import` block can be used to import this resource:
267
+
268
+ hcl
269
+
270
+ import {
271
+
272
+ to = cloudamqp_maintenance_window.this
273
+
274
+ id = cloudamqp_instance.instance.id
275
+
276
+ }
277
+
278
+ Or with Terraform CLI:
279
+
280
+ ```sh
281
+ $ pulumi import cloudamqp:index/maintenanceWindow:MaintenanceWindow this <id>`
282
+ ```
283
+
284
+ [CloudAMQP API list instances]: https://docs.cloudamqp.com/#list-instances
285
+
286
+ [format]: https://developer.hashicorp.com/terraform/language/functions/formatdate#specification-syntax
287
+
288
+ :param str resource_name: The name of the resource.
289
+ :param pulumi.ResourceOptions opts: Options for the resource.
290
+ :param pulumi.Input[builtins.str] automatic_updates: Allow scheduling of a maintenance for version update
291
+ once a new LavinMQ version been released.
292
+ :param pulumi.Input[builtins.int] instance_id: The CloudAMQP instance ID.
293
+ :param pulumi.Input[builtins.str] preferred_day: Preferred day of the week when to schedule maintenance.
294
+ :param pulumi.Input[builtins.str] preferred_time: Preferred time (UTC) of the day when to schedule maintenance.
295
+ """
296
+ ...
297
+ @overload
298
+ def __init__(__self__,
299
+ resource_name: str,
300
+ args: MaintenanceWindowArgs,
301
+ opts: Optional[pulumi.ResourceOptions] = None):
302
+ """
303
+ This resource allows you to set the preferred start of new scheduled maintenances. The maintenance
304
+ windows are 3 hours long and CloudAMQP attempts to begin the maintenance as close as possible to the
305
+ preferred start. A maintenance will never start before the window.
306
+
307
+ Available for dedicated subscription plans.
308
+
309
+ ## Example Usage
310
+
311
+ <details>
312
+ <summary>
313
+ <b>Set the preferred maintenance start</b>
314
+ </summary>
315
+
316
+ ```python
317
+ import pulumi
318
+ import pulumi_cloudamqp as cloudamqp
319
+
320
+ this = cloudamqp.MaintenanceWindow("this",
321
+ instance_id=instance["id"],
322
+ preferred_day="Monday",
323
+ preferred_time="23:00")
324
+ ```
325
+
326
+ </details>
327
+
328
+ <details>
329
+ <summary>
330
+ <b>Set the preferred maintenance start with automatic updates</b>
331
+ </summary>
332
+
333
+ When setting the automatic updates to "on", a maintenance for version update will be scheduled once
334
+ a new LavinMQ version been released.
335
+
336
+ ```python
337
+ import pulumi
338
+ import pulumi_cloudamqp as cloudamqp
339
+
340
+ this = cloudamqp.MaintenanceWindow("this",
341
+ instance_id=instance["id"],
342
+ preferred_day="Monday",
343
+ preferred_time="23:00",
344
+ automatic_updates="on")
345
+ ```
346
+
347
+ </details>
348
+
349
+ <details>
350
+ <summary>
351
+ <b>Only set preferred time of day</b>
352
+ </summary>
353
+
354
+ ```python
355
+ import pulumi
356
+ import pulumi_cloudamqp as cloudamqp
357
+
358
+ this = cloudamqp.MaintenanceWindow("this",
359
+ instance_id=instance["id"],
360
+ preferred_time="23:00")
361
+ ```
362
+
363
+ </details>
364
+
365
+ <details>
366
+ <summary>
367
+ <b>Only set preferred day of week</b>
368
+ </summary>
369
+
370
+ ```python
371
+ import pulumi
372
+ import pulumi_cloudamqp as cloudamqp
373
+
374
+ this = cloudamqp.MaintenanceWindow("this",
375
+ instance_id=instance["id"],
376
+ preferred_day="Monday")
377
+ ```
378
+
379
+ </details>
380
+
381
+ ## Dependency
382
+
383
+ This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
384
+
385
+ ## Import
386
+
387
+ `cloudamqp_maintenance_window` can be imported using CloudAMQP instance identifier. To retrieve the
388
+
389
+ identifier of an instance, use [CloudAMQP API list instances].
390
+
391
+ From Terraform v1.5.0, the `import` block can be used to import this resource:
392
+
393
+ hcl
394
+
395
+ import {
396
+
397
+ to = cloudamqp_maintenance_window.this
398
+
399
+ id = cloudamqp_instance.instance.id
400
+
401
+ }
402
+
403
+ Or with Terraform CLI:
404
+
405
+ ```sh
406
+ $ pulumi import cloudamqp:index/maintenanceWindow:MaintenanceWindow this <id>`
407
+ ```
408
+
409
+ [CloudAMQP API list instances]: https://docs.cloudamqp.com/#list-instances
410
+
411
+ [format]: https://developer.hashicorp.com/terraform/language/functions/formatdate#specification-syntax
412
+
413
+ :param str resource_name: The name of the resource.
414
+ :param MaintenanceWindowArgs args: The arguments to use to populate this resource's properties.
415
+ :param pulumi.ResourceOptions opts: Options for the resource.
416
+ """
417
+ ...
418
+ def __init__(__self__, resource_name: str, *args, **kwargs):
419
+ resource_args, opts = _utilities.get_resource_args_opts(MaintenanceWindowArgs, pulumi.ResourceOptions, *args, **kwargs)
420
+ if resource_args is not None:
421
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
422
+ else:
423
+ __self__._internal_init(resource_name, *args, **kwargs)
424
+
425
+ def _internal_init(__self__,
426
+ resource_name: str,
427
+ opts: Optional[pulumi.ResourceOptions] = None,
428
+ automatic_updates: Optional[pulumi.Input[builtins.str]] = None,
429
+ instance_id: Optional[pulumi.Input[builtins.int]] = None,
430
+ preferred_day: Optional[pulumi.Input[builtins.str]] = None,
431
+ preferred_time: Optional[pulumi.Input[builtins.str]] = None,
432
+ __props__=None):
433
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
434
+ if not isinstance(opts, pulumi.ResourceOptions):
435
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
436
+ if opts.id is None:
437
+ if __props__ is not None:
438
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
439
+ __props__ = MaintenanceWindowArgs.__new__(MaintenanceWindowArgs)
440
+
441
+ __props__.__dict__["automatic_updates"] = automatic_updates
442
+ if instance_id is None and not opts.urn:
443
+ raise TypeError("Missing required property 'instance_id'")
444
+ __props__.__dict__["instance_id"] = instance_id
445
+ __props__.__dict__["preferred_day"] = preferred_day
446
+ __props__.__dict__["preferred_time"] = preferred_time
447
+ super(MaintenanceWindow, __self__).__init__(
448
+ 'cloudamqp:index/maintenanceWindow:MaintenanceWindow',
449
+ resource_name,
450
+ __props__,
451
+ opts)
452
+
453
+ @staticmethod
454
+ def get(resource_name: str,
455
+ id: pulumi.Input[str],
456
+ opts: Optional[pulumi.ResourceOptions] = None,
457
+ automatic_updates: Optional[pulumi.Input[builtins.str]] = None,
458
+ instance_id: Optional[pulumi.Input[builtins.int]] = None,
459
+ preferred_day: Optional[pulumi.Input[builtins.str]] = None,
460
+ preferred_time: Optional[pulumi.Input[builtins.str]] = None) -> 'MaintenanceWindow':
461
+ """
462
+ Get an existing MaintenanceWindow resource's state with the given name, id, and optional extra
463
+ properties used to qualify the lookup.
464
+
465
+ :param str resource_name: The unique name of the resulting resource.
466
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
467
+ :param pulumi.ResourceOptions opts: Options for the resource.
468
+ :param pulumi.Input[builtins.str] automatic_updates: Allow scheduling of a maintenance for version update
469
+ once a new LavinMQ version been released.
470
+ :param pulumi.Input[builtins.int] instance_id: The CloudAMQP instance ID.
471
+ :param pulumi.Input[builtins.str] preferred_day: Preferred day of the week when to schedule maintenance.
472
+ :param pulumi.Input[builtins.str] preferred_time: Preferred time (UTC) of the day when to schedule maintenance.
473
+ """
474
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
475
+
476
+ __props__ = _MaintenanceWindowState.__new__(_MaintenanceWindowState)
477
+
478
+ __props__.__dict__["automatic_updates"] = automatic_updates
479
+ __props__.__dict__["instance_id"] = instance_id
480
+ __props__.__dict__["preferred_day"] = preferred_day
481
+ __props__.__dict__["preferred_time"] = preferred_time
482
+ return MaintenanceWindow(resource_name, opts=opts, __props__=__props__)
483
+
484
+ @property
485
+ @pulumi.getter(name="automaticUpdates")
486
+ def automatic_updates(self) -> pulumi.Output[builtins.str]:
487
+ """
488
+ Allow scheduling of a maintenance for version update
489
+ once a new LavinMQ version been released.
490
+ """
491
+ return pulumi.get(self, "automatic_updates")
492
+
493
+ @property
494
+ @pulumi.getter(name="instanceId")
495
+ def instance_id(self) -> pulumi.Output[builtins.int]:
496
+ """
497
+ The CloudAMQP instance ID.
498
+ """
499
+ return pulumi.get(self, "instance_id")
500
+
501
+ @property
502
+ @pulumi.getter(name="preferredDay")
503
+ def preferred_day(self) -> pulumi.Output[Optional[builtins.str]]:
504
+ """
505
+ Preferred day of the week when to schedule maintenance.
506
+ """
507
+ return pulumi.get(self, "preferred_day")
508
+
509
+ @property
510
+ @pulumi.getter(name="preferredTime")
511
+ def preferred_time(self) -> pulumi.Output[Optional[builtins.str]]:
512
+ """
513
+ Preferred time (UTC) of the day when to schedule maintenance.
514
+ """
515
+ return pulumi.get(self, "preferred_time")
516
+