pulumi-gcp 7.19.0a1713292926__py3-none-any.whl → 7.19.0a1713444144__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_gcp/__init__.py +11 -0
- pulumi_gcp/accesscontextmanager/access_policy.py +4 -4
- pulumi_gcp/apigee/sync_authorization.py +4 -4
- pulumi_gcp/compute/_inputs.py +24 -0
- pulumi_gcp/compute/get_router_nat.py +11 -1
- pulumi_gcp/compute/instance_settings.py +16 -0
- pulumi_gcp/compute/outputs.py +41 -0
- pulumi_gcp/compute/router_interface.py +47 -0
- pulumi_gcp/compute/router_nat.py +68 -0
- pulumi_gcp/compute/router_peer.py +141 -0
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/container/_inputs.py +48 -7
- pulumi_gcp/container/outputs.py +67 -8
- pulumi_gcp/datastore/data_store_index.py +14 -0
- pulumi_gcp/dns/_inputs.py +22 -22
- pulumi_gcp/dns/outputs.py +22 -22
- pulumi_gcp/firestore/_inputs.py +80 -11
- pulumi_gcp/firestore/document.py +0 -4
- pulumi_gcp/firestore/index.py +116 -42
- pulumi_gcp/firestore/outputs.py +70 -11
- pulumi_gcp/gkebackup/_inputs.py +358 -3
- pulumi_gcp/gkebackup/backup_plan.py +294 -0
- pulumi_gcp/gkebackup/outputs.py +353 -3
- pulumi_gcp/networksecurity/firewall_endpoint.py +2 -0
- pulumi_gcp/networksecurity/firewall_endpoint_association.py +61 -0
- pulumi_gcp/parallelstore/__init__.py +8 -0
- pulumi_gcp/parallelstore/instance.py +1128 -0
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/sql/_inputs.py +16 -0
- pulumi_gcp/sql/outputs.py +36 -0
- pulumi_gcp/tags/__init__.py +2 -0
- pulumi_gcp/tags/get_tag_keys.py +101 -0
- pulumi_gcp/tags/get_tag_values.py +101 -0
- pulumi_gcp/tags/outputs.py +200 -0
- pulumi_gcp/vmwareengine/get_private_cloud.py +21 -1
- pulumi_gcp/vmwareengine/private_cloud.py +101 -7
- {pulumi_gcp-7.19.0a1713292926.dist-info → pulumi_gcp-7.19.0a1713444144.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.19.0a1713292926.dist-info → pulumi_gcp-7.19.0a1713444144.dist-info}/RECORD +41 -37
- {pulumi_gcp-7.19.0a1713292926.dist-info → pulumi_gcp-7.19.0a1713444144.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.19.0a1713292926.dist-info → pulumi_gcp-7.19.0a1713444144.dist-info}/top_level.txt +0 -0
pulumi_gcp/gkebackup/_inputs.py
CHANGED
@@ -16,6 +16,11 @@ __all__ = [
|
|
16
16
|
'BackupPlanBackupConfigSelectedApplicationsNamespacedNameArgs',
|
17
17
|
'BackupPlanBackupConfigSelectedNamespacesArgs',
|
18
18
|
'BackupPlanBackupScheduleArgs',
|
19
|
+
'BackupPlanBackupScheduleRpoConfigArgs',
|
20
|
+
'BackupPlanBackupScheduleRpoConfigExclusionWindowArgs',
|
21
|
+
'BackupPlanBackupScheduleRpoConfigExclusionWindowDaysOfWeekArgs',
|
22
|
+
'BackupPlanBackupScheduleRpoConfigExclusionWindowSingleOccurrenceDateArgs',
|
23
|
+
'BackupPlanBackupScheduleRpoConfigExclusionWindowStartTimeArgs',
|
19
24
|
'BackupPlanIamBindingConditionArgs',
|
20
25
|
'BackupPlanIamMemberConditionArgs',
|
21
26
|
'BackupPlanRetentionPolicyArgs',
|
@@ -259,17 +264,26 @@ class BackupPlanBackupConfigSelectedNamespacesArgs:
|
|
259
264
|
class BackupPlanBackupScheduleArgs:
|
260
265
|
def __init__(__self__, *,
|
261
266
|
cron_schedule: Optional[pulumi.Input[str]] = None,
|
262
|
-
paused: Optional[pulumi.Input[bool]] = None
|
267
|
+
paused: Optional[pulumi.Input[bool]] = None,
|
268
|
+
rpo_config: Optional[pulumi.Input['BackupPlanBackupScheduleRpoConfigArgs']] = None):
|
263
269
|
"""
|
264
270
|
:param pulumi.Input[str] cron_schedule: A standard cron string that defines a repeating schedule for
|
265
271
|
creating Backups via this BackupPlan.
|
272
|
+
This is mutually exclusive with the rpoConfig field since at most one
|
273
|
+
schedule can be defined for a BackupPlan.
|
266
274
|
If this is defined, then backupRetainDays must also be defined.
|
267
275
|
:param pulumi.Input[bool] paused: This flag denotes whether automatic Backup creation is paused for this BackupPlan.
|
276
|
+
:param pulumi.Input['BackupPlanBackupScheduleRpoConfigArgs'] rpo_config: Defines the RPO schedule configuration for this BackupPlan. This is mutually
|
277
|
+
exclusive with the cronSchedule field since at most one schedule can be defined
|
278
|
+
for a BackupPLan. If this is defined, then backupRetainDays must also be defined.
|
279
|
+
Structure is documented below.
|
268
280
|
"""
|
269
281
|
if cron_schedule is not None:
|
270
282
|
pulumi.set(__self__, "cron_schedule", cron_schedule)
|
271
283
|
if paused is not None:
|
272
284
|
pulumi.set(__self__, "paused", paused)
|
285
|
+
if rpo_config is not None:
|
286
|
+
pulumi.set(__self__, "rpo_config", rpo_config)
|
273
287
|
|
274
288
|
@property
|
275
289
|
@pulumi.getter(name="cronSchedule")
|
@@ -277,6 +291,8 @@ class BackupPlanBackupScheduleArgs:
|
|
277
291
|
"""
|
278
292
|
A standard cron string that defines a repeating schedule for
|
279
293
|
creating Backups via this BackupPlan.
|
294
|
+
This is mutually exclusive with the rpoConfig field since at most one
|
295
|
+
schedule can be defined for a BackupPlan.
|
280
296
|
If this is defined, then backupRetainDays must also be defined.
|
281
297
|
"""
|
282
298
|
return pulumi.get(self, "cron_schedule")
|
@@ -297,6 +313,341 @@ class BackupPlanBackupScheduleArgs:
|
|
297
313
|
def paused(self, value: Optional[pulumi.Input[bool]]):
|
298
314
|
pulumi.set(self, "paused", value)
|
299
315
|
|
316
|
+
@property
|
317
|
+
@pulumi.getter(name="rpoConfig")
|
318
|
+
def rpo_config(self) -> Optional[pulumi.Input['BackupPlanBackupScheduleRpoConfigArgs']]:
|
319
|
+
"""
|
320
|
+
Defines the RPO schedule configuration for this BackupPlan. This is mutually
|
321
|
+
exclusive with the cronSchedule field since at most one schedule can be defined
|
322
|
+
for a BackupPLan. If this is defined, then backupRetainDays must also be defined.
|
323
|
+
Structure is documented below.
|
324
|
+
"""
|
325
|
+
return pulumi.get(self, "rpo_config")
|
326
|
+
|
327
|
+
@rpo_config.setter
|
328
|
+
def rpo_config(self, value: Optional[pulumi.Input['BackupPlanBackupScheduleRpoConfigArgs']]):
|
329
|
+
pulumi.set(self, "rpo_config", value)
|
330
|
+
|
331
|
+
|
332
|
+
@pulumi.input_type
|
333
|
+
class BackupPlanBackupScheduleRpoConfigArgs:
|
334
|
+
def __init__(__self__, *,
|
335
|
+
target_rpo_minutes: pulumi.Input[int],
|
336
|
+
exclusion_windows: Optional[pulumi.Input[Sequence[pulumi.Input['BackupPlanBackupScheduleRpoConfigExclusionWindowArgs']]]] = None):
|
337
|
+
"""
|
338
|
+
:param pulumi.Input[int] target_rpo_minutes: Defines the target RPO for the BackupPlan in minutes, which means the target
|
339
|
+
maximum data loss in time that is acceptable for this BackupPlan. This must be
|
340
|
+
at least 60, i.e., 1 hour, and at most 86400, i.e., 60 days.
|
341
|
+
:param pulumi.Input[Sequence[pulumi.Input['BackupPlanBackupScheduleRpoConfigExclusionWindowArgs']]] exclusion_windows: User specified time windows during which backup can NOT happen for this BackupPlan.
|
342
|
+
Backups should start and finish outside of any given exclusion window. Note: backup
|
343
|
+
jobs will be scheduled to start and finish outside the duration of the window as
|
344
|
+
much as possible, but running jobs will not get canceled when it runs into the window.
|
345
|
+
All the time and date values in exclusionWindows entry in the API are in UTC. We
|
346
|
+
only allow <=1 recurrence (daily or weekly) exclusion window for a BackupPlan while no
|
347
|
+
restriction on number of single occurrence windows.
|
348
|
+
Structure is documented below.
|
349
|
+
"""
|
350
|
+
pulumi.set(__self__, "target_rpo_minutes", target_rpo_minutes)
|
351
|
+
if exclusion_windows is not None:
|
352
|
+
pulumi.set(__self__, "exclusion_windows", exclusion_windows)
|
353
|
+
|
354
|
+
@property
|
355
|
+
@pulumi.getter(name="targetRpoMinutes")
|
356
|
+
def target_rpo_minutes(self) -> pulumi.Input[int]:
|
357
|
+
"""
|
358
|
+
Defines the target RPO for the BackupPlan in minutes, which means the target
|
359
|
+
maximum data loss in time that is acceptable for this BackupPlan. This must be
|
360
|
+
at least 60, i.e., 1 hour, and at most 86400, i.e., 60 days.
|
361
|
+
"""
|
362
|
+
return pulumi.get(self, "target_rpo_minutes")
|
363
|
+
|
364
|
+
@target_rpo_minutes.setter
|
365
|
+
def target_rpo_minutes(self, value: pulumi.Input[int]):
|
366
|
+
pulumi.set(self, "target_rpo_minutes", value)
|
367
|
+
|
368
|
+
@property
|
369
|
+
@pulumi.getter(name="exclusionWindows")
|
370
|
+
def exclusion_windows(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['BackupPlanBackupScheduleRpoConfigExclusionWindowArgs']]]]:
|
371
|
+
"""
|
372
|
+
User specified time windows during which backup can NOT happen for this BackupPlan.
|
373
|
+
Backups should start and finish outside of any given exclusion window. Note: backup
|
374
|
+
jobs will be scheduled to start and finish outside the duration of the window as
|
375
|
+
much as possible, but running jobs will not get canceled when it runs into the window.
|
376
|
+
All the time and date values in exclusionWindows entry in the API are in UTC. We
|
377
|
+
only allow <=1 recurrence (daily or weekly) exclusion window for a BackupPlan while no
|
378
|
+
restriction on number of single occurrence windows.
|
379
|
+
Structure is documented below.
|
380
|
+
"""
|
381
|
+
return pulumi.get(self, "exclusion_windows")
|
382
|
+
|
383
|
+
@exclusion_windows.setter
|
384
|
+
def exclusion_windows(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['BackupPlanBackupScheduleRpoConfigExclusionWindowArgs']]]]):
|
385
|
+
pulumi.set(self, "exclusion_windows", value)
|
386
|
+
|
387
|
+
|
388
|
+
@pulumi.input_type
|
389
|
+
class BackupPlanBackupScheduleRpoConfigExclusionWindowArgs:
|
390
|
+
def __init__(__self__, *,
|
391
|
+
duration: pulumi.Input[str],
|
392
|
+
start_time: pulumi.Input['BackupPlanBackupScheduleRpoConfigExclusionWindowStartTimeArgs'],
|
393
|
+
daily: Optional[pulumi.Input[bool]] = None,
|
394
|
+
days_of_week: Optional[pulumi.Input['BackupPlanBackupScheduleRpoConfigExclusionWindowDaysOfWeekArgs']] = None,
|
395
|
+
single_occurrence_date: Optional[pulumi.Input['BackupPlanBackupScheduleRpoConfigExclusionWindowSingleOccurrenceDateArgs']] = None):
|
396
|
+
"""
|
397
|
+
:param pulumi.Input[str] duration: Specifies duration of the window in seconds with up to nine fractional digits,
|
398
|
+
terminated by 's'. Example: "3.5s". Restrictions for duration based on the
|
399
|
+
recurrence type to allow some time for backup to happen:
|
400
|
+
- single_occurrence_date: no restriction
|
401
|
+
- daily window: duration < 24 hours
|
402
|
+
- weekly window:
|
403
|
+
- days of week includes all seven days of a week: duration < 24 hours
|
404
|
+
- all other weekly window: duration < 168 hours (i.e., 24 * 7 hours)
|
405
|
+
:param pulumi.Input['BackupPlanBackupScheduleRpoConfigExclusionWindowStartTimeArgs'] start_time: Specifies the start time of the window using time of the day in UTC.
|
406
|
+
Structure is documented below.
|
407
|
+
:param pulumi.Input[bool] daily: The exclusion window occurs every day if set to "True".
|
408
|
+
Specifying this field to "False" is an error.
|
409
|
+
Only one of singleOccurrenceDate, daily and daysOfWeek may be set.
|
410
|
+
:param pulumi.Input['BackupPlanBackupScheduleRpoConfigExclusionWindowDaysOfWeekArgs'] days_of_week: The exclusion window occurs on these days of each week in UTC.
|
411
|
+
Only one of singleOccurrenceDate, daily and daysOfWeek may be set.
|
412
|
+
Structure is documented below.
|
413
|
+
:param pulumi.Input['BackupPlanBackupScheduleRpoConfigExclusionWindowSingleOccurrenceDateArgs'] single_occurrence_date: No recurrence. The exclusion window occurs only once and on this date in UTC.
|
414
|
+
Only one of singleOccurrenceDate, daily and daysOfWeek may be set.
|
415
|
+
Structure is documented below.
|
416
|
+
"""
|
417
|
+
pulumi.set(__self__, "duration", duration)
|
418
|
+
pulumi.set(__self__, "start_time", start_time)
|
419
|
+
if daily is not None:
|
420
|
+
pulumi.set(__self__, "daily", daily)
|
421
|
+
if days_of_week is not None:
|
422
|
+
pulumi.set(__self__, "days_of_week", days_of_week)
|
423
|
+
if single_occurrence_date is not None:
|
424
|
+
pulumi.set(__self__, "single_occurrence_date", single_occurrence_date)
|
425
|
+
|
426
|
+
@property
|
427
|
+
@pulumi.getter
|
428
|
+
def duration(self) -> pulumi.Input[str]:
|
429
|
+
"""
|
430
|
+
Specifies duration of the window in seconds with up to nine fractional digits,
|
431
|
+
terminated by 's'. Example: "3.5s". Restrictions for duration based on the
|
432
|
+
recurrence type to allow some time for backup to happen:
|
433
|
+
- single_occurrence_date: no restriction
|
434
|
+
- daily window: duration < 24 hours
|
435
|
+
- weekly window:
|
436
|
+
- days of week includes all seven days of a week: duration < 24 hours
|
437
|
+
- all other weekly window: duration < 168 hours (i.e., 24 * 7 hours)
|
438
|
+
"""
|
439
|
+
return pulumi.get(self, "duration")
|
440
|
+
|
441
|
+
@duration.setter
|
442
|
+
def duration(self, value: pulumi.Input[str]):
|
443
|
+
pulumi.set(self, "duration", value)
|
444
|
+
|
445
|
+
@property
|
446
|
+
@pulumi.getter(name="startTime")
|
447
|
+
def start_time(self) -> pulumi.Input['BackupPlanBackupScheduleRpoConfigExclusionWindowStartTimeArgs']:
|
448
|
+
"""
|
449
|
+
Specifies the start time of the window using time of the day in UTC.
|
450
|
+
Structure is documented below.
|
451
|
+
"""
|
452
|
+
return pulumi.get(self, "start_time")
|
453
|
+
|
454
|
+
@start_time.setter
|
455
|
+
def start_time(self, value: pulumi.Input['BackupPlanBackupScheduleRpoConfigExclusionWindowStartTimeArgs']):
|
456
|
+
pulumi.set(self, "start_time", value)
|
457
|
+
|
458
|
+
@property
|
459
|
+
@pulumi.getter
|
460
|
+
def daily(self) -> Optional[pulumi.Input[bool]]:
|
461
|
+
"""
|
462
|
+
The exclusion window occurs every day if set to "True".
|
463
|
+
Specifying this field to "False" is an error.
|
464
|
+
Only one of singleOccurrenceDate, daily and daysOfWeek may be set.
|
465
|
+
"""
|
466
|
+
return pulumi.get(self, "daily")
|
467
|
+
|
468
|
+
@daily.setter
|
469
|
+
def daily(self, value: Optional[pulumi.Input[bool]]):
|
470
|
+
pulumi.set(self, "daily", value)
|
471
|
+
|
472
|
+
@property
|
473
|
+
@pulumi.getter(name="daysOfWeek")
|
474
|
+
def days_of_week(self) -> Optional[pulumi.Input['BackupPlanBackupScheduleRpoConfigExclusionWindowDaysOfWeekArgs']]:
|
475
|
+
"""
|
476
|
+
The exclusion window occurs on these days of each week in UTC.
|
477
|
+
Only one of singleOccurrenceDate, daily and daysOfWeek may be set.
|
478
|
+
Structure is documented below.
|
479
|
+
"""
|
480
|
+
return pulumi.get(self, "days_of_week")
|
481
|
+
|
482
|
+
@days_of_week.setter
|
483
|
+
def days_of_week(self, value: Optional[pulumi.Input['BackupPlanBackupScheduleRpoConfigExclusionWindowDaysOfWeekArgs']]):
|
484
|
+
pulumi.set(self, "days_of_week", value)
|
485
|
+
|
486
|
+
@property
|
487
|
+
@pulumi.getter(name="singleOccurrenceDate")
|
488
|
+
def single_occurrence_date(self) -> Optional[pulumi.Input['BackupPlanBackupScheduleRpoConfigExclusionWindowSingleOccurrenceDateArgs']]:
|
489
|
+
"""
|
490
|
+
No recurrence. The exclusion window occurs only once and on this date in UTC.
|
491
|
+
Only one of singleOccurrenceDate, daily and daysOfWeek may be set.
|
492
|
+
Structure is documented below.
|
493
|
+
"""
|
494
|
+
return pulumi.get(self, "single_occurrence_date")
|
495
|
+
|
496
|
+
@single_occurrence_date.setter
|
497
|
+
def single_occurrence_date(self, value: Optional[pulumi.Input['BackupPlanBackupScheduleRpoConfigExclusionWindowSingleOccurrenceDateArgs']]):
|
498
|
+
pulumi.set(self, "single_occurrence_date", value)
|
499
|
+
|
500
|
+
|
501
|
+
@pulumi.input_type
|
502
|
+
class BackupPlanBackupScheduleRpoConfigExclusionWindowDaysOfWeekArgs:
|
503
|
+
def __init__(__self__, *,
|
504
|
+
days_of_weeks: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
505
|
+
"""
|
506
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] days_of_weeks: A list of days of week.
|
507
|
+
Each value may be one of: `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`, `SUNDAY`.
|
508
|
+
"""
|
509
|
+
if days_of_weeks is not None:
|
510
|
+
pulumi.set(__self__, "days_of_weeks", days_of_weeks)
|
511
|
+
|
512
|
+
@property
|
513
|
+
@pulumi.getter(name="daysOfWeeks")
|
514
|
+
def days_of_weeks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
515
|
+
"""
|
516
|
+
A list of days of week.
|
517
|
+
Each value may be one of: `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`, `SUNDAY`.
|
518
|
+
"""
|
519
|
+
return pulumi.get(self, "days_of_weeks")
|
520
|
+
|
521
|
+
@days_of_weeks.setter
|
522
|
+
def days_of_weeks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
523
|
+
pulumi.set(self, "days_of_weeks", value)
|
524
|
+
|
525
|
+
|
526
|
+
@pulumi.input_type
|
527
|
+
class BackupPlanBackupScheduleRpoConfigExclusionWindowSingleOccurrenceDateArgs:
|
528
|
+
def __init__(__self__, *,
|
529
|
+
day: Optional[pulumi.Input[int]] = None,
|
530
|
+
month: Optional[pulumi.Input[int]] = None,
|
531
|
+
year: Optional[pulumi.Input[int]] = None):
|
532
|
+
"""
|
533
|
+
:param pulumi.Input[int] day: Day of a month.
|
534
|
+
:param pulumi.Input[int] month: Month of a year.
|
535
|
+
:param pulumi.Input[int] year: Year of the date.
|
536
|
+
"""
|
537
|
+
if day is not None:
|
538
|
+
pulumi.set(__self__, "day", day)
|
539
|
+
if month is not None:
|
540
|
+
pulumi.set(__self__, "month", month)
|
541
|
+
if year is not None:
|
542
|
+
pulumi.set(__self__, "year", year)
|
543
|
+
|
544
|
+
@property
|
545
|
+
@pulumi.getter
|
546
|
+
def day(self) -> Optional[pulumi.Input[int]]:
|
547
|
+
"""
|
548
|
+
Day of a month.
|
549
|
+
"""
|
550
|
+
return pulumi.get(self, "day")
|
551
|
+
|
552
|
+
@day.setter
|
553
|
+
def day(self, value: Optional[pulumi.Input[int]]):
|
554
|
+
pulumi.set(self, "day", value)
|
555
|
+
|
556
|
+
@property
|
557
|
+
@pulumi.getter
|
558
|
+
def month(self) -> Optional[pulumi.Input[int]]:
|
559
|
+
"""
|
560
|
+
Month of a year.
|
561
|
+
"""
|
562
|
+
return pulumi.get(self, "month")
|
563
|
+
|
564
|
+
@month.setter
|
565
|
+
def month(self, value: Optional[pulumi.Input[int]]):
|
566
|
+
pulumi.set(self, "month", value)
|
567
|
+
|
568
|
+
@property
|
569
|
+
@pulumi.getter
|
570
|
+
def year(self) -> Optional[pulumi.Input[int]]:
|
571
|
+
"""
|
572
|
+
Year of the date.
|
573
|
+
"""
|
574
|
+
return pulumi.get(self, "year")
|
575
|
+
|
576
|
+
@year.setter
|
577
|
+
def year(self, value: Optional[pulumi.Input[int]]):
|
578
|
+
pulumi.set(self, "year", value)
|
579
|
+
|
580
|
+
|
581
|
+
@pulumi.input_type
|
582
|
+
class BackupPlanBackupScheduleRpoConfigExclusionWindowStartTimeArgs:
|
583
|
+
def __init__(__self__, *,
|
584
|
+
hours: Optional[pulumi.Input[int]] = None,
|
585
|
+
minutes: Optional[pulumi.Input[int]] = None,
|
586
|
+
nanos: Optional[pulumi.Input[int]] = None,
|
587
|
+
seconds: Optional[pulumi.Input[int]] = None):
|
588
|
+
"""
|
589
|
+
:param pulumi.Input[int] hours: Hours of day in 24 hour format.
|
590
|
+
:param pulumi.Input[int] minutes: Minutes of hour of day.
|
591
|
+
:param pulumi.Input[int] nanos: Fractions of seconds in nanoseconds.
|
592
|
+
:param pulumi.Input[int] seconds: Seconds of minutes of the time.
|
593
|
+
"""
|
594
|
+
if hours is not None:
|
595
|
+
pulumi.set(__self__, "hours", hours)
|
596
|
+
if minutes is not None:
|
597
|
+
pulumi.set(__self__, "minutes", minutes)
|
598
|
+
if nanos is not None:
|
599
|
+
pulumi.set(__self__, "nanos", nanos)
|
600
|
+
if seconds is not None:
|
601
|
+
pulumi.set(__self__, "seconds", seconds)
|
602
|
+
|
603
|
+
@property
|
604
|
+
@pulumi.getter
|
605
|
+
def hours(self) -> Optional[pulumi.Input[int]]:
|
606
|
+
"""
|
607
|
+
Hours of day in 24 hour format.
|
608
|
+
"""
|
609
|
+
return pulumi.get(self, "hours")
|
610
|
+
|
611
|
+
@hours.setter
|
612
|
+
def hours(self, value: Optional[pulumi.Input[int]]):
|
613
|
+
pulumi.set(self, "hours", value)
|
614
|
+
|
615
|
+
@property
|
616
|
+
@pulumi.getter
|
617
|
+
def minutes(self) -> Optional[pulumi.Input[int]]:
|
618
|
+
"""
|
619
|
+
Minutes of hour of day.
|
620
|
+
"""
|
621
|
+
return pulumi.get(self, "minutes")
|
622
|
+
|
623
|
+
@minutes.setter
|
624
|
+
def minutes(self, value: Optional[pulumi.Input[int]]):
|
625
|
+
pulumi.set(self, "minutes", value)
|
626
|
+
|
627
|
+
@property
|
628
|
+
@pulumi.getter
|
629
|
+
def nanos(self) -> Optional[pulumi.Input[int]]:
|
630
|
+
"""
|
631
|
+
Fractions of seconds in nanoseconds.
|
632
|
+
"""
|
633
|
+
return pulumi.get(self, "nanos")
|
634
|
+
|
635
|
+
@nanos.setter
|
636
|
+
def nanos(self, value: Optional[pulumi.Input[int]]):
|
637
|
+
pulumi.set(self, "nanos", value)
|
638
|
+
|
639
|
+
@property
|
640
|
+
@pulumi.getter
|
641
|
+
def seconds(self) -> Optional[pulumi.Input[int]]:
|
642
|
+
"""
|
643
|
+
Seconds of minutes of the time.
|
644
|
+
"""
|
645
|
+
return pulumi.get(self, "seconds")
|
646
|
+
|
647
|
+
@seconds.setter
|
648
|
+
def seconds(self, value: Optional[pulumi.Input[int]]):
|
649
|
+
pulumi.set(self, "seconds", value)
|
650
|
+
|
300
651
|
|
301
652
|
@pulumi.input_type
|
302
653
|
class BackupPlanIamBindingConditionArgs:
|
@@ -398,7 +749,9 @@ class BackupPlanRetentionPolicyArgs:
|
|
398
749
|
existing Backups under it. Backups created AFTER a successful update
|
399
750
|
will automatically pick up the new value.
|
400
751
|
NOTE: backupRetainDays must be >= backupDeleteLockDays.
|
401
|
-
If cronSchedule is defined, then this must be <= 360 * the creation interval.
|
752
|
+
If cronSchedule is defined, then this must be <= 360 * the creation interval.
|
753
|
+
If rpo_config is defined, then this must be
|
754
|
+
<= 360 * targetRpoMinutes/(1440minutes/day)
|
402
755
|
:param pulumi.Input[bool] locked: This flag denotes whether the retention policy of this BackupPlan is locked.
|
403
756
|
If set to True, no further update is allowed on this policy, including
|
404
757
|
the locked field itself.
|
@@ -440,7 +793,9 @@ class BackupPlanRetentionPolicyArgs:
|
|
440
793
|
existing Backups under it. Backups created AFTER a successful update
|
441
794
|
will automatically pick up the new value.
|
442
795
|
NOTE: backupRetainDays must be >= backupDeleteLockDays.
|
443
|
-
If cronSchedule is defined, then this must be <= 360 * the creation interval.
|
796
|
+
If cronSchedule is defined, then this must be <= 360 * the creation interval.
|
797
|
+
If rpo_config is defined, then this must be
|
798
|
+
<= 360 * targetRpoMinutes/(1440minutes/day)
|
444
799
|
"""
|
445
800
|
return pulumi.get(self, "backup_retain_days")
|
446
801
|
|