pulumi-gcp 7.7.0a1705990280__py3-none-any.whl → 7.8.0a1706310284__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. pulumi_gcp/__init__.py +56 -0
  2. pulumi_gcp/alloydb/cluster.py +26 -21
  3. pulumi_gcp/bigquery/_inputs.py +231 -0
  4. pulumi_gcp/bigquery/outputs.py +229 -0
  5. pulumi_gcp/bigquery/routine.py +256 -10
  6. pulumi_gcp/bigquery/table.py +47 -0
  7. pulumi_gcp/cloudbuildv2/repository.py +60 -53
  8. pulumi_gcp/cloudrunv2/_inputs.py +176 -4
  9. pulumi_gcp/cloudrunv2/outputs.py +256 -3
  10. pulumi_gcp/cloudrunv2/service.py +148 -0
  11. pulumi_gcp/composer/_inputs.py +24 -0
  12. pulumi_gcp/composer/outputs.py +34 -0
  13. pulumi_gcp/compute/_inputs.py +4 -2
  14. pulumi_gcp/compute/disk.py +14 -14
  15. pulumi_gcp/compute/outputs.py +4 -2
  16. pulumi_gcp/healthcare/fhir_store.py +56 -0
  17. pulumi_gcp/kms/crypto_key.py +2 -2
  18. pulumi_gcp/kms/crypto_key_iam_binding.py +2 -2
  19. pulumi_gcp/kms/crypto_key_iam_member.py +2 -2
  20. pulumi_gcp/kms/crypto_key_iam_policy.py +2 -2
  21. pulumi_gcp/kms/crypto_key_version.py +2 -2
  22. pulumi_gcp/kms/secret_ciphertext.py +2 -2
  23. pulumi_gcp/netapp/__init__.py +4 -0
  24. pulumi_gcp/netapp/_inputs.py +643 -0
  25. pulumi_gcp/netapp/backup_policy.py +829 -0
  26. pulumi_gcp/netapp/kmsconfig.py +2 -2
  27. pulumi_gcp/netapp/outputs.py +651 -0
  28. pulumi_gcp/netapp/volume.py +1467 -0
  29. pulumi_gcp/networksecurity/__init__.py +5 -0
  30. pulumi_gcp/networksecurity/_inputs.py +228 -0
  31. pulumi_gcp/networksecurity/address_group_iam_binding.py +324 -0
  32. pulumi_gcp/networksecurity/address_group_iam_member.py +324 -0
  33. pulumi_gcp/networksecurity/address_group_iam_policy.py +492 -0
  34. pulumi_gcp/networksecurity/get_address_group_iam_policy.py +144 -0
  35. pulumi_gcp/networksecurity/outputs.py +212 -0
  36. pulumi_gcp/networksecurity/security_profile.py +800 -0
  37. pulumi_gcp/networkservices/gateway.py +1 -1
  38. pulumi_gcp/organizations/get_folders.py +1 -1
  39. pulumi_gcp/orgpolicy/_inputs.py +12 -12
  40. pulumi_gcp/orgpolicy/outputs.py +12 -12
  41. pulumi_gcp/securesourcemanager/instance.py +4 -2
  42. pulumi_gcp/storage/insights_report_config.py +12 -10
  43. pulumi_gcp/vertex/__init__.py +1 -0
  44. pulumi_gcp/vertex/ai_feature_group_feature.py +767 -0
  45. pulumi_gcp/workstations/workstation_config.py +47 -0
  46. {pulumi_gcp-7.7.0a1705990280.dist-info → pulumi_gcp-7.8.0a1706310284.dist-info}/METADATA +1 -1
  47. {pulumi_gcp-7.7.0a1705990280.dist-info → pulumi_gcp-7.8.0a1706310284.dist-info}/RECORD +49 -39
  48. {pulumi_gcp-7.7.0a1705990280.dist-info → pulumi_gcp-7.8.0a1706310284.dist-info}/WHEEL +0 -0
  49. {pulumi_gcp-7.7.0a1705990280.dist-info → pulumi_gcp-7.8.0a1706310284.dist-info}/top_level.txt +0 -0
@@ -345,7 +345,7 @@ class Kmsconfig(pulumi.CustomResource):
345
345
 
346
346
  keyring = gcp.kms.KeyRing("keyring", location="us-central1")
347
347
  crypto_key = gcp.kms.CryptoKey("cryptoKey", key_ring=keyring.id)
348
- # rotation_period = "100000s"
348
+ # rotation_period = "7776000s"
349
349
  kms_config = gcp.netapp.Kmsconfig("kmsConfig",
350
350
  description="this is a test description",
351
351
  crypto_key_name=crypto_key.id,
@@ -418,7 +418,7 @@ class Kmsconfig(pulumi.CustomResource):
418
418
 
419
419
  keyring = gcp.kms.KeyRing("keyring", location="us-central1")
420
420
  crypto_key = gcp.kms.CryptoKey("cryptoKey", key_ring=keyring.id)
421
- # rotation_period = "100000s"
421
+ # rotation_period = "7776000s"
422
422
  kms_config = gcp.netapp.Kmsconfig("kmsConfig",
423
423
  description="this is a test description",
424
424
  crypto_key_name=crypto_key.id,
@@ -0,0 +1,651 @@
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 copy
6
+ import warnings
7
+ import pulumi
8
+ import pulumi.runtime
9
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
10
+ from .. import _utilities
11
+ from . import outputs
12
+
13
+ __all__ = [
14
+ 'VolumeExportPolicy',
15
+ 'VolumeExportPolicyRule',
16
+ 'VolumeMountOption',
17
+ 'VolumeSnapshotPolicy',
18
+ 'VolumeSnapshotPolicyDailySchedule',
19
+ 'VolumeSnapshotPolicyHourlySchedule',
20
+ 'VolumeSnapshotPolicyMonthlySchedule',
21
+ 'VolumeSnapshotPolicyWeeklySchedule',
22
+ ]
23
+
24
+ @pulumi.output_type
25
+ class VolumeExportPolicy(dict):
26
+ def __init__(__self__, *,
27
+ rules: Sequence['outputs.VolumeExportPolicyRule']):
28
+ """
29
+ :param Sequence['VolumeExportPolicyRuleArgs'] rules: Export rules (up to 5) control NFS volume access.
30
+ Structure is documented below.
31
+ """
32
+ pulumi.set(__self__, "rules", rules)
33
+
34
+ @property
35
+ @pulumi.getter
36
+ def rules(self) -> Sequence['outputs.VolumeExportPolicyRule']:
37
+ """
38
+ Export rules (up to 5) control NFS volume access.
39
+ Structure is documented below.
40
+ """
41
+ return pulumi.get(self, "rules")
42
+
43
+
44
+ @pulumi.output_type
45
+ class VolumeExportPolicyRule(dict):
46
+ @staticmethod
47
+ def __key_warning(key: str):
48
+ suggest = None
49
+ if key == "accessType":
50
+ suggest = "access_type"
51
+ elif key == "allowedClients":
52
+ suggest = "allowed_clients"
53
+ elif key == "hasRootAccess":
54
+ suggest = "has_root_access"
55
+ elif key == "kerberos5ReadOnly":
56
+ suggest = "kerberos5_read_only"
57
+ elif key == "kerberos5ReadWrite":
58
+ suggest = "kerberos5_read_write"
59
+ elif key == "kerberos5iReadOnly":
60
+ suggest = "kerberos5i_read_only"
61
+ elif key == "kerberos5iReadWrite":
62
+ suggest = "kerberos5i_read_write"
63
+ elif key == "kerberos5pReadOnly":
64
+ suggest = "kerberos5p_read_only"
65
+ elif key == "kerberos5pReadWrite":
66
+ suggest = "kerberos5p_read_write"
67
+
68
+ if suggest:
69
+ pulumi.log.warn(f"Key '{key}' not found in VolumeExportPolicyRule. Access the value via the '{suggest}' property getter instead.")
70
+
71
+ def __getitem__(self, key: str) -> Any:
72
+ VolumeExportPolicyRule.__key_warning(key)
73
+ return super().__getitem__(key)
74
+
75
+ def get(self, key: str, default = None) -> Any:
76
+ VolumeExportPolicyRule.__key_warning(key)
77
+ return super().get(key, default)
78
+
79
+ def __init__(__self__, *,
80
+ access_type: Optional[str] = None,
81
+ allowed_clients: Optional[str] = None,
82
+ has_root_access: Optional[str] = None,
83
+ kerberos5_read_only: Optional[bool] = None,
84
+ kerberos5_read_write: Optional[bool] = None,
85
+ kerberos5i_read_only: Optional[bool] = None,
86
+ kerberos5i_read_write: Optional[bool] = None,
87
+ kerberos5p_read_only: Optional[bool] = None,
88
+ kerberos5p_read_write: Optional[bool] = None,
89
+ nfsv3: Optional[bool] = None,
90
+ nfsv4: Optional[bool] = None):
91
+ """
92
+ :param str access_type: Defines the access type for clients matching the `allowedClients` specification.
93
+ Possible values are: `READ_ONLY`, `READ_WRITE`, `READ_NONE`.
94
+ :param str allowed_clients: Defines the client ingress specification (allowed clients) as a comma seperated list with IPv4 CIDRs or IPv4 host addresses.
95
+ :param str has_root_access: If enabled, the root user (UID = 0) of the specified clients doesn't get mapped to nobody (UID = 65534). This is also known as no_root_squash.
96
+ :param bool kerberos5_read_only: If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'authentication' kerberos security mode.
97
+ :param bool kerberos5_read_write: If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'authentication' kerberos security mode. The 'kerberos5ReadOnly' value is ignored if this is enabled.
98
+ :param bool kerberos5i_read_only: If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'integrity' kerberos security mode.
99
+ :param bool kerberos5i_read_write: If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'integrity' kerberos security mode. The 'kerberos5iReadOnly' value is ignored if this is enabled.
100
+ :param bool kerberos5p_read_only: If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'privacy' kerberos security mode.
101
+ :param bool kerberos5p_read_write: If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'privacy' kerberos security mode. The 'kerberos5pReadOnly' value is ignored if this is enabled.
102
+ :param bool nfsv3: Enable to apply the export rule to NFSV3 clients.
103
+ :param bool nfsv4: Enable to apply the export rule to NFSV4.1 clients.
104
+ """
105
+ if access_type is not None:
106
+ pulumi.set(__self__, "access_type", access_type)
107
+ if allowed_clients is not None:
108
+ pulumi.set(__self__, "allowed_clients", allowed_clients)
109
+ if has_root_access is not None:
110
+ pulumi.set(__self__, "has_root_access", has_root_access)
111
+ if kerberos5_read_only is not None:
112
+ pulumi.set(__self__, "kerberos5_read_only", kerberos5_read_only)
113
+ if kerberos5_read_write is not None:
114
+ pulumi.set(__self__, "kerberos5_read_write", kerberos5_read_write)
115
+ if kerberos5i_read_only is not None:
116
+ pulumi.set(__self__, "kerberos5i_read_only", kerberos5i_read_only)
117
+ if kerberos5i_read_write is not None:
118
+ pulumi.set(__self__, "kerberos5i_read_write", kerberos5i_read_write)
119
+ if kerberos5p_read_only is not None:
120
+ pulumi.set(__self__, "kerberos5p_read_only", kerberos5p_read_only)
121
+ if kerberos5p_read_write is not None:
122
+ pulumi.set(__self__, "kerberos5p_read_write", kerberos5p_read_write)
123
+ if nfsv3 is not None:
124
+ pulumi.set(__self__, "nfsv3", nfsv3)
125
+ if nfsv4 is not None:
126
+ pulumi.set(__self__, "nfsv4", nfsv4)
127
+
128
+ @property
129
+ @pulumi.getter(name="accessType")
130
+ def access_type(self) -> Optional[str]:
131
+ """
132
+ Defines the access type for clients matching the `allowedClients` specification.
133
+ Possible values are: `READ_ONLY`, `READ_WRITE`, `READ_NONE`.
134
+ """
135
+ return pulumi.get(self, "access_type")
136
+
137
+ @property
138
+ @pulumi.getter(name="allowedClients")
139
+ def allowed_clients(self) -> Optional[str]:
140
+ """
141
+ Defines the client ingress specification (allowed clients) as a comma seperated list with IPv4 CIDRs or IPv4 host addresses.
142
+ """
143
+ return pulumi.get(self, "allowed_clients")
144
+
145
+ @property
146
+ @pulumi.getter(name="hasRootAccess")
147
+ def has_root_access(self) -> Optional[str]:
148
+ """
149
+ If enabled, the root user (UID = 0) of the specified clients doesn't get mapped to nobody (UID = 65534). This is also known as no_root_squash.
150
+ """
151
+ return pulumi.get(self, "has_root_access")
152
+
153
+ @property
154
+ @pulumi.getter(name="kerberos5ReadOnly")
155
+ def kerberos5_read_only(self) -> Optional[bool]:
156
+ """
157
+ If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'authentication' kerberos security mode.
158
+ """
159
+ return pulumi.get(self, "kerberos5_read_only")
160
+
161
+ @property
162
+ @pulumi.getter(name="kerberos5ReadWrite")
163
+ def kerberos5_read_write(self) -> Optional[bool]:
164
+ """
165
+ If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'authentication' kerberos security mode. The 'kerberos5ReadOnly' value is ignored if this is enabled.
166
+ """
167
+ return pulumi.get(self, "kerberos5_read_write")
168
+
169
+ @property
170
+ @pulumi.getter(name="kerberos5iReadOnly")
171
+ def kerberos5i_read_only(self) -> Optional[bool]:
172
+ """
173
+ If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'integrity' kerberos security mode.
174
+ """
175
+ return pulumi.get(self, "kerberos5i_read_only")
176
+
177
+ @property
178
+ @pulumi.getter(name="kerberos5iReadWrite")
179
+ def kerberos5i_read_write(self) -> Optional[bool]:
180
+ """
181
+ If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'integrity' kerberos security mode. The 'kerberos5iReadOnly' value is ignored if this is enabled.
182
+ """
183
+ return pulumi.get(self, "kerberos5i_read_write")
184
+
185
+ @property
186
+ @pulumi.getter(name="kerberos5pReadOnly")
187
+ def kerberos5p_read_only(self) -> Optional[bool]:
188
+ """
189
+ If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'privacy' kerberos security mode.
190
+ """
191
+ return pulumi.get(self, "kerberos5p_read_only")
192
+
193
+ @property
194
+ @pulumi.getter(name="kerberos5pReadWrite")
195
+ def kerberos5p_read_write(self) -> Optional[bool]:
196
+ """
197
+ If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'privacy' kerberos security mode. The 'kerberos5pReadOnly' value is ignored if this is enabled.
198
+ """
199
+ return pulumi.get(self, "kerberos5p_read_write")
200
+
201
+ @property
202
+ @pulumi.getter
203
+ def nfsv3(self) -> Optional[bool]:
204
+ """
205
+ Enable to apply the export rule to NFSV3 clients.
206
+ """
207
+ return pulumi.get(self, "nfsv3")
208
+
209
+ @property
210
+ @pulumi.getter
211
+ def nfsv4(self) -> Optional[bool]:
212
+ """
213
+ Enable to apply the export rule to NFSV4.1 clients.
214
+ """
215
+ return pulumi.get(self, "nfsv4")
216
+
217
+
218
+ @pulumi.output_type
219
+ class VolumeMountOption(dict):
220
+ @staticmethod
221
+ def __key_warning(key: str):
222
+ suggest = None
223
+ if key == "exportFull":
224
+ suggest = "export_full"
225
+
226
+ if suggest:
227
+ pulumi.log.warn(f"Key '{key}' not found in VolumeMountOption. Access the value via the '{suggest}' property getter instead.")
228
+
229
+ def __getitem__(self, key: str) -> Any:
230
+ VolumeMountOption.__key_warning(key)
231
+ return super().__getitem__(key)
232
+
233
+ def get(self, key: str, default = None) -> Any:
234
+ VolumeMountOption.__key_warning(key)
235
+ return super().get(key, default)
236
+
237
+ def __init__(__self__, *,
238
+ export: Optional[str] = None,
239
+ export_full: Optional[str] = None,
240
+ instructions: Optional[str] = None,
241
+ protocol: Optional[str] = None):
242
+ """
243
+ :param str export: (Output)
244
+ Export path of the volume.
245
+ :param str export_full: (Output)
246
+ Full export path of the volume.
247
+ Format for NFS volumes: `<export_ip>:/<shareName>`
248
+ Format for SMB volumes: `\\\\\\\\netbios_prefix-four_random_hex_letters.domain_name\\\\shareName`
249
+ :param str instructions: (Output)
250
+ Human-readable mount instructions.
251
+ :param str protocol: (Output)
252
+ Protocol to mount with.
253
+ """
254
+ if export is not None:
255
+ pulumi.set(__self__, "export", export)
256
+ if export_full is not None:
257
+ pulumi.set(__self__, "export_full", export_full)
258
+ if instructions is not None:
259
+ pulumi.set(__self__, "instructions", instructions)
260
+ if protocol is not None:
261
+ pulumi.set(__self__, "protocol", protocol)
262
+
263
+ @property
264
+ @pulumi.getter
265
+ def export(self) -> Optional[str]:
266
+ """
267
+ (Output)
268
+ Export path of the volume.
269
+ """
270
+ return pulumi.get(self, "export")
271
+
272
+ @property
273
+ @pulumi.getter(name="exportFull")
274
+ def export_full(self) -> Optional[str]:
275
+ """
276
+ (Output)
277
+ Full export path of the volume.
278
+ Format for NFS volumes: `<export_ip>:/<shareName>`
279
+ Format for SMB volumes: `\\\\\\\\netbios_prefix-four_random_hex_letters.domain_name\\\\shareName`
280
+ """
281
+ return pulumi.get(self, "export_full")
282
+
283
+ @property
284
+ @pulumi.getter
285
+ def instructions(self) -> Optional[str]:
286
+ """
287
+ (Output)
288
+ Human-readable mount instructions.
289
+ """
290
+ return pulumi.get(self, "instructions")
291
+
292
+ @property
293
+ @pulumi.getter
294
+ def protocol(self) -> Optional[str]:
295
+ """
296
+ (Output)
297
+ Protocol to mount with.
298
+ """
299
+ return pulumi.get(self, "protocol")
300
+
301
+
302
+ @pulumi.output_type
303
+ class VolumeSnapshotPolicy(dict):
304
+ @staticmethod
305
+ def __key_warning(key: str):
306
+ suggest = None
307
+ if key == "dailySchedule":
308
+ suggest = "daily_schedule"
309
+ elif key == "hourlySchedule":
310
+ suggest = "hourly_schedule"
311
+ elif key == "monthlySchedule":
312
+ suggest = "monthly_schedule"
313
+ elif key == "weeklySchedule":
314
+ suggest = "weekly_schedule"
315
+
316
+ if suggest:
317
+ pulumi.log.warn(f"Key '{key}' not found in VolumeSnapshotPolicy. Access the value via the '{suggest}' property getter instead.")
318
+
319
+ def __getitem__(self, key: str) -> Any:
320
+ VolumeSnapshotPolicy.__key_warning(key)
321
+ return super().__getitem__(key)
322
+
323
+ def get(self, key: str, default = None) -> Any:
324
+ VolumeSnapshotPolicy.__key_warning(key)
325
+ return super().get(key, default)
326
+
327
+ def __init__(__self__, *,
328
+ daily_schedule: Optional['outputs.VolumeSnapshotPolicyDailySchedule'] = None,
329
+ enabled: Optional[bool] = None,
330
+ hourly_schedule: Optional['outputs.VolumeSnapshotPolicyHourlySchedule'] = None,
331
+ monthly_schedule: Optional['outputs.VolumeSnapshotPolicyMonthlySchedule'] = None,
332
+ weekly_schedule: Optional['outputs.VolumeSnapshotPolicyWeeklySchedule'] = None):
333
+ """
334
+ :param 'VolumeSnapshotPolicyDailyScheduleArgs' daily_schedule: Daily schedule policy.
335
+ Structure is documented below.
336
+ :param bool enabled: Enables automated snapshot creation according to defined schedule. Default is false.
337
+ To disable automatic snapshot creation you have to remove the whole snapshot_policy block.
338
+ :param 'VolumeSnapshotPolicyHourlyScheduleArgs' hourly_schedule: Hourly schedule policy.
339
+ Structure is documented below.
340
+ :param 'VolumeSnapshotPolicyMonthlyScheduleArgs' monthly_schedule: Monthly schedule policy.
341
+ Structure is documented below.
342
+ :param 'VolumeSnapshotPolicyWeeklyScheduleArgs' weekly_schedule: Weekly schedule policy.
343
+ Structure is documented below.
344
+ """
345
+ if daily_schedule is not None:
346
+ pulumi.set(__self__, "daily_schedule", daily_schedule)
347
+ if enabled is not None:
348
+ pulumi.set(__self__, "enabled", enabled)
349
+ if hourly_schedule is not None:
350
+ pulumi.set(__self__, "hourly_schedule", hourly_schedule)
351
+ if monthly_schedule is not None:
352
+ pulumi.set(__self__, "monthly_schedule", monthly_schedule)
353
+ if weekly_schedule is not None:
354
+ pulumi.set(__self__, "weekly_schedule", weekly_schedule)
355
+
356
+ @property
357
+ @pulumi.getter(name="dailySchedule")
358
+ def daily_schedule(self) -> Optional['outputs.VolumeSnapshotPolicyDailySchedule']:
359
+ """
360
+ Daily schedule policy.
361
+ Structure is documented below.
362
+ """
363
+ return pulumi.get(self, "daily_schedule")
364
+
365
+ @property
366
+ @pulumi.getter
367
+ def enabled(self) -> Optional[bool]:
368
+ """
369
+ Enables automated snapshot creation according to defined schedule. Default is false.
370
+ To disable automatic snapshot creation you have to remove the whole snapshot_policy block.
371
+ """
372
+ return pulumi.get(self, "enabled")
373
+
374
+ @property
375
+ @pulumi.getter(name="hourlySchedule")
376
+ def hourly_schedule(self) -> Optional['outputs.VolumeSnapshotPolicyHourlySchedule']:
377
+ """
378
+ Hourly schedule policy.
379
+ Structure is documented below.
380
+ """
381
+ return pulumi.get(self, "hourly_schedule")
382
+
383
+ @property
384
+ @pulumi.getter(name="monthlySchedule")
385
+ def monthly_schedule(self) -> Optional['outputs.VolumeSnapshotPolicyMonthlySchedule']:
386
+ """
387
+ Monthly schedule policy.
388
+ Structure is documented below.
389
+ """
390
+ return pulumi.get(self, "monthly_schedule")
391
+
392
+ @property
393
+ @pulumi.getter(name="weeklySchedule")
394
+ def weekly_schedule(self) -> Optional['outputs.VolumeSnapshotPolicyWeeklySchedule']:
395
+ """
396
+ Weekly schedule policy.
397
+ Structure is documented below.
398
+ """
399
+ return pulumi.get(self, "weekly_schedule")
400
+
401
+
402
+ @pulumi.output_type
403
+ class VolumeSnapshotPolicyDailySchedule(dict):
404
+ @staticmethod
405
+ def __key_warning(key: str):
406
+ suggest = None
407
+ if key == "snapshotsToKeep":
408
+ suggest = "snapshots_to_keep"
409
+
410
+ if suggest:
411
+ pulumi.log.warn(f"Key '{key}' not found in VolumeSnapshotPolicyDailySchedule. Access the value via the '{suggest}' property getter instead.")
412
+
413
+ def __getitem__(self, key: str) -> Any:
414
+ VolumeSnapshotPolicyDailySchedule.__key_warning(key)
415
+ return super().__getitem__(key)
416
+
417
+ def get(self, key: str, default = None) -> Any:
418
+ VolumeSnapshotPolicyDailySchedule.__key_warning(key)
419
+ return super().get(key, default)
420
+
421
+ def __init__(__self__, *,
422
+ snapshots_to_keep: int,
423
+ hour: Optional[int] = None,
424
+ minute: Optional[int] = None):
425
+ """
426
+ :param int snapshots_to_keep: The maximum number of snapshots to keep for the daily schedule.
427
+ :param int hour: Set the hour to create the snapshot (0-23), defaults to midnight (0).
428
+ :param int minute: Set the minute of the hour to create the snapshot (0-59), defaults to the top of the hour (0).
429
+ """
430
+ pulumi.set(__self__, "snapshots_to_keep", snapshots_to_keep)
431
+ if hour is not None:
432
+ pulumi.set(__self__, "hour", hour)
433
+ if minute is not None:
434
+ pulumi.set(__self__, "minute", minute)
435
+
436
+ @property
437
+ @pulumi.getter(name="snapshotsToKeep")
438
+ def snapshots_to_keep(self) -> int:
439
+ """
440
+ The maximum number of snapshots to keep for the daily schedule.
441
+ """
442
+ return pulumi.get(self, "snapshots_to_keep")
443
+
444
+ @property
445
+ @pulumi.getter
446
+ def hour(self) -> Optional[int]:
447
+ """
448
+ Set the hour to create the snapshot (0-23), defaults to midnight (0).
449
+ """
450
+ return pulumi.get(self, "hour")
451
+
452
+ @property
453
+ @pulumi.getter
454
+ def minute(self) -> Optional[int]:
455
+ """
456
+ Set the minute of the hour to create the snapshot (0-59), defaults to the top of the hour (0).
457
+ """
458
+ return pulumi.get(self, "minute")
459
+
460
+
461
+ @pulumi.output_type
462
+ class VolumeSnapshotPolicyHourlySchedule(dict):
463
+ @staticmethod
464
+ def __key_warning(key: str):
465
+ suggest = None
466
+ if key == "snapshotsToKeep":
467
+ suggest = "snapshots_to_keep"
468
+
469
+ if suggest:
470
+ pulumi.log.warn(f"Key '{key}' not found in VolumeSnapshotPolicyHourlySchedule. Access the value via the '{suggest}' property getter instead.")
471
+
472
+ def __getitem__(self, key: str) -> Any:
473
+ VolumeSnapshotPolicyHourlySchedule.__key_warning(key)
474
+ return super().__getitem__(key)
475
+
476
+ def get(self, key: str, default = None) -> Any:
477
+ VolumeSnapshotPolicyHourlySchedule.__key_warning(key)
478
+ return super().get(key, default)
479
+
480
+ def __init__(__self__, *,
481
+ snapshots_to_keep: int,
482
+ minute: Optional[int] = None):
483
+ """
484
+ :param int snapshots_to_keep: The maximum number of snapshots to keep for the hourly schedule.
485
+ :param int minute: Set the minute of the hour to create the snapshot (0-59), defaults to the top of the hour (0).
486
+ """
487
+ pulumi.set(__self__, "snapshots_to_keep", snapshots_to_keep)
488
+ if minute is not None:
489
+ pulumi.set(__self__, "minute", minute)
490
+
491
+ @property
492
+ @pulumi.getter(name="snapshotsToKeep")
493
+ def snapshots_to_keep(self) -> int:
494
+ """
495
+ The maximum number of snapshots to keep for the hourly schedule.
496
+ """
497
+ return pulumi.get(self, "snapshots_to_keep")
498
+
499
+ @property
500
+ @pulumi.getter
501
+ def minute(self) -> Optional[int]:
502
+ """
503
+ Set the minute of the hour to create the snapshot (0-59), defaults to the top of the hour (0).
504
+ """
505
+ return pulumi.get(self, "minute")
506
+
507
+
508
+ @pulumi.output_type
509
+ class VolumeSnapshotPolicyMonthlySchedule(dict):
510
+ @staticmethod
511
+ def __key_warning(key: str):
512
+ suggest = None
513
+ if key == "snapshotsToKeep":
514
+ suggest = "snapshots_to_keep"
515
+ elif key == "daysOfMonth":
516
+ suggest = "days_of_month"
517
+
518
+ if suggest:
519
+ pulumi.log.warn(f"Key '{key}' not found in VolumeSnapshotPolicyMonthlySchedule. Access the value via the '{suggest}' property getter instead.")
520
+
521
+ def __getitem__(self, key: str) -> Any:
522
+ VolumeSnapshotPolicyMonthlySchedule.__key_warning(key)
523
+ return super().__getitem__(key)
524
+
525
+ def get(self, key: str, default = None) -> Any:
526
+ VolumeSnapshotPolicyMonthlySchedule.__key_warning(key)
527
+ return super().get(key, default)
528
+
529
+ def __init__(__self__, *,
530
+ snapshots_to_keep: int,
531
+ days_of_month: Optional[str] = None,
532
+ hour: Optional[int] = None,
533
+ minute: Optional[int] = None):
534
+ """
535
+ :param int snapshots_to_keep: The maximum number of snapshots to keep for the monthly schedule
536
+ :param str days_of_month: Set the day or days of the month to make a snapshot (1-31). Accepts a comma separated number of days. Defaults to '1'.
537
+ :param int hour: Set the hour to create the snapshot (0-23), defaults to midnight (0).
538
+ :param int minute: Set the minute of the hour to create the snapshot (0-59), defaults to the top of the hour (0).
539
+ """
540
+ pulumi.set(__self__, "snapshots_to_keep", snapshots_to_keep)
541
+ if days_of_month is not None:
542
+ pulumi.set(__self__, "days_of_month", days_of_month)
543
+ if hour is not None:
544
+ pulumi.set(__self__, "hour", hour)
545
+ if minute is not None:
546
+ pulumi.set(__self__, "minute", minute)
547
+
548
+ @property
549
+ @pulumi.getter(name="snapshotsToKeep")
550
+ def snapshots_to_keep(self) -> int:
551
+ """
552
+ The maximum number of snapshots to keep for the monthly schedule
553
+ """
554
+ return pulumi.get(self, "snapshots_to_keep")
555
+
556
+ @property
557
+ @pulumi.getter(name="daysOfMonth")
558
+ def days_of_month(self) -> Optional[str]:
559
+ """
560
+ Set the day or days of the month to make a snapshot (1-31). Accepts a comma separated number of days. Defaults to '1'.
561
+ """
562
+ return pulumi.get(self, "days_of_month")
563
+
564
+ @property
565
+ @pulumi.getter
566
+ def hour(self) -> Optional[int]:
567
+ """
568
+ Set the hour to create the snapshot (0-23), defaults to midnight (0).
569
+ """
570
+ return pulumi.get(self, "hour")
571
+
572
+ @property
573
+ @pulumi.getter
574
+ def minute(self) -> Optional[int]:
575
+ """
576
+ Set the minute of the hour to create the snapshot (0-59), defaults to the top of the hour (0).
577
+ """
578
+ return pulumi.get(self, "minute")
579
+
580
+
581
+ @pulumi.output_type
582
+ class VolumeSnapshotPolicyWeeklySchedule(dict):
583
+ @staticmethod
584
+ def __key_warning(key: str):
585
+ suggest = None
586
+ if key == "snapshotsToKeep":
587
+ suggest = "snapshots_to_keep"
588
+
589
+ if suggest:
590
+ pulumi.log.warn(f"Key '{key}' not found in VolumeSnapshotPolicyWeeklySchedule. Access the value via the '{suggest}' property getter instead.")
591
+
592
+ def __getitem__(self, key: str) -> Any:
593
+ VolumeSnapshotPolicyWeeklySchedule.__key_warning(key)
594
+ return super().__getitem__(key)
595
+
596
+ def get(self, key: str, default = None) -> Any:
597
+ VolumeSnapshotPolicyWeeklySchedule.__key_warning(key)
598
+ return super().get(key, default)
599
+
600
+ def __init__(__self__, *,
601
+ snapshots_to_keep: int,
602
+ day: Optional[str] = None,
603
+ hour: Optional[int] = None,
604
+ minute: Optional[int] = None):
605
+ """
606
+ :param int snapshots_to_keep: The maximum number of snapshots to keep for the weekly schedule.
607
+ :param str day: Set the day or days of the week to make a snapshot. Accepts a comma separated days of the week. Defaults to 'Sunday'.
608
+ :param int hour: Set the hour to create the snapshot (0-23), defaults to midnight (0).
609
+ :param int minute: Set the minute of the hour to create the snapshot (0-59), defaults to the top of the hour (0).
610
+ """
611
+ pulumi.set(__self__, "snapshots_to_keep", snapshots_to_keep)
612
+ if day is not None:
613
+ pulumi.set(__self__, "day", day)
614
+ if hour is not None:
615
+ pulumi.set(__self__, "hour", hour)
616
+ if minute is not None:
617
+ pulumi.set(__self__, "minute", minute)
618
+
619
+ @property
620
+ @pulumi.getter(name="snapshotsToKeep")
621
+ def snapshots_to_keep(self) -> int:
622
+ """
623
+ The maximum number of snapshots to keep for the weekly schedule.
624
+ """
625
+ return pulumi.get(self, "snapshots_to_keep")
626
+
627
+ @property
628
+ @pulumi.getter
629
+ def day(self) -> Optional[str]:
630
+ """
631
+ Set the day or days of the week to make a snapshot. Accepts a comma separated days of the week. Defaults to 'Sunday'.
632
+ """
633
+ return pulumi.get(self, "day")
634
+
635
+ @property
636
+ @pulumi.getter
637
+ def hour(self) -> Optional[int]:
638
+ """
639
+ Set the hour to create the snapshot (0-23), defaults to midnight (0).
640
+ """
641
+ return pulumi.get(self, "hour")
642
+
643
+ @property
644
+ @pulumi.getter
645
+ def minute(self) -> Optional[int]:
646
+ """
647
+ Set the minute of the hour to create the snapshot (0-59), defaults to the top of the hour (0).
648
+ """
649
+ return pulumi.get(self, "minute")
650
+
651
+