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/outputs.py
CHANGED
@@ -17,6 +17,11 @@ __all__ = [
|
|
17
17
|
'BackupPlanBackupConfigSelectedApplicationsNamespacedName',
|
18
18
|
'BackupPlanBackupConfigSelectedNamespaces',
|
19
19
|
'BackupPlanBackupSchedule',
|
20
|
+
'BackupPlanBackupScheduleRpoConfig',
|
21
|
+
'BackupPlanBackupScheduleRpoConfigExclusionWindow',
|
22
|
+
'BackupPlanBackupScheduleRpoConfigExclusionWindowDaysOfWeek',
|
23
|
+
'BackupPlanBackupScheduleRpoConfigExclusionWindowSingleOccurrenceDate',
|
24
|
+
'BackupPlanBackupScheduleRpoConfigExclusionWindowStartTime',
|
20
25
|
'BackupPlanIamBindingCondition',
|
21
26
|
'BackupPlanIamMemberCondition',
|
22
27
|
'BackupPlanRetentionPolicy',
|
@@ -280,6 +285,8 @@ class BackupPlanBackupSchedule(dict):
|
|
280
285
|
suggest = None
|
281
286
|
if key == "cronSchedule":
|
282
287
|
suggest = "cron_schedule"
|
288
|
+
elif key == "rpoConfig":
|
289
|
+
suggest = "rpo_config"
|
283
290
|
|
284
291
|
if suggest:
|
285
292
|
pulumi.log.warn(f"Key '{key}' not found in BackupPlanBackupSchedule. Access the value via the '{suggest}' property getter instead.")
|
@@ -294,17 +301,26 @@ class BackupPlanBackupSchedule(dict):
|
|
294
301
|
|
295
302
|
def __init__(__self__, *,
|
296
303
|
cron_schedule: Optional[str] = None,
|
297
|
-
paused: Optional[bool] = None
|
304
|
+
paused: Optional[bool] = None,
|
305
|
+
rpo_config: Optional['outputs.BackupPlanBackupScheduleRpoConfig'] = None):
|
298
306
|
"""
|
299
307
|
:param str cron_schedule: A standard cron string that defines a repeating schedule for
|
300
308
|
creating Backups via this BackupPlan.
|
309
|
+
This is mutually exclusive with the rpoConfig field since at most one
|
310
|
+
schedule can be defined for a BackupPlan.
|
301
311
|
If this is defined, then backupRetainDays must also be defined.
|
302
312
|
:param bool paused: This flag denotes whether automatic Backup creation is paused for this BackupPlan.
|
313
|
+
:param 'BackupPlanBackupScheduleRpoConfigArgs' rpo_config: Defines the RPO schedule configuration for this BackupPlan. This is mutually
|
314
|
+
exclusive with the cronSchedule field since at most one schedule can be defined
|
315
|
+
for a BackupPLan. If this is defined, then backupRetainDays must also be defined.
|
316
|
+
Structure is documented below.
|
303
317
|
"""
|
304
318
|
if cron_schedule is not None:
|
305
319
|
pulumi.set(__self__, "cron_schedule", cron_schedule)
|
306
320
|
if paused is not None:
|
307
321
|
pulumi.set(__self__, "paused", paused)
|
322
|
+
if rpo_config is not None:
|
323
|
+
pulumi.set(__self__, "rpo_config", rpo_config)
|
308
324
|
|
309
325
|
@property
|
310
326
|
@pulumi.getter(name="cronSchedule")
|
@@ -312,6 +328,8 @@ class BackupPlanBackupSchedule(dict):
|
|
312
328
|
"""
|
313
329
|
A standard cron string that defines a repeating schedule for
|
314
330
|
creating Backups via this BackupPlan.
|
331
|
+
This is mutually exclusive with the rpoConfig field since at most one
|
332
|
+
schedule can be defined for a BackupPlan.
|
315
333
|
If this is defined, then backupRetainDays must also be defined.
|
316
334
|
"""
|
317
335
|
return pulumi.get(self, "cron_schedule")
|
@@ -324,6 +342,334 @@ class BackupPlanBackupSchedule(dict):
|
|
324
342
|
"""
|
325
343
|
return pulumi.get(self, "paused")
|
326
344
|
|
345
|
+
@property
|
346
|
+
@pulumi.getter(name="rpoConfig")
|
347
|
+
def rpo_config(self) -> Optional['outputs.BackupPlanBackupScheduleRpoConfig']:
|
348
|
+
"""
|
349
|
+
Defines the RPO schedule configuration for this BackupPlan. This is mutually
|
350
|
+
exclusive with the cronSchedule field since at most one schedule can be defined
|
351
|
+
for a BackupPLan. If this is defined, then backupRetainDays must also be defined.
|
352
|
+
Structure is documented below.
|
353
|
+
"""
|
354
|
+
return pulumi.get(self, "rpo_config")
|
355
|
+
|
356
|
+
|
357
|
+
@pulumi.output_type
|
358
|
+
class BackupPlanBackupScheduleRpoConfig(dict):
|
359
|
+
@staticmethod
|
360
|
+
def __key_warning(key: str):
|
361
|
+
suggest = None
|
362
|
+
if key == "targetRpoMinutes":
|
363
|
+
suggest = "target_rpo_minutes"
|
364
|
+
elif key == "exclusionWindows":
|
365
|
+
suggest = "exclusion_windows"
|
366
|
+
|
367
|
+
if suggest:
|
368
|
+
pulumi.log.warn(f"Key '{key}' not found in BackupPlanBackupScheduleRpoConfig. Access the value via the '{suggest}' property getter instead.")
|
369
|
+
|
370
|
+
def __getitem__(self, key: str) -> Any:
|
371
|
+
BackupPlanBackupScheduleRpoConfig.__key_warning(key)
|
372
|
+
return super().__getitem__(key)
|
373
|
+
|
374
|
+
def get(self, key: str, default = None) -> Any:
|
375
|
+
BackupPlanBackupScheduleRpoConfig.__key_warning(key)
|
376
|
+
return super().get(key, default)
|
377
|
+
|
378
|
+
def __init__(__self__, *,
|
379
|
+
target_rpo_minutes: int,
|
380
|
+
exclusion_windows: Optional[Sequence['outputs.BackupPlanBackupScheduleRpoConfigExclusionWindow']] = None):
|
381
|
+
"""
|
382
|
+
:param int target_rpo_minutes: Defines the target RPO for the BackupPlan in minutes, which means the target
|
383
|
+
maximum data loss in time that is acceptable for this BackupPlan. This must be
|
384
|
+
at least 60, i.e., 1 hour, and at most 86400, i.e., 60 days.
|
385
|
+
:param Sequence['BackupPlanBackupScheduleRpoConfigExclusionWindowArgs'] exclusion_windows: User specified time windows during which backup can NOT happen for this BackupPlan.
|
386
|
+
Backups should start and finish outside of any given exclusion window. Note: backup
|
387
|
+
jobs will be scheduled to start and finish outside the duration of the window as
|
388
|
+
much as possible, but running jobs will not get canceled when it runs into the window.
|
389
|
+
All the time and date values in exclusionWindows entry in the API are in UTC. We
|
390
|
+
only allow <=1 recurrence (daily or weekly) exclusion window for a BackupPlan while no
|
391
|
+
restriction on number of single occurrence windows.
|
392
|
+
Structure is documented below.
|
393
|
+
"""
|
394
|
+
pulumi.set(__self__, "target_rpo_minutes", target_rpo_minutes)
|
395
|
+
if exclusion_windows is not None:
|
396
|
+
pulumi.set(__self__, "exclusion_windows", exclusion_windows)
|
397
|
+
|
398
|
+
@property
|
399
|
+
@pulumi.getter(name="targetRpoMinutes")
|
400
|
+
def target_rpo_minutes(self) -> int:
|
401
|
+
"""
|
402
|
+
Defines the target RPO for the BackupPlan in minutes, which means the target
|
403
|
+
maximum data loss in time that is acceptable for this BackupPlan. This must be
|
404
|
+
at least 60, i.e., 1 hour, and at most 86400, i.e., 60 days.
|
405
|
+
"""
|
406
|
+
return pulumi.get(self, "target_rpo_minutes")
|
407
|
+
|
408
|
+
@property
|
409
|
+
@pulumi.getter(name="exclusionWindows")
|
410
|
+
def exclusion_windows(self) -> Optional[Sequence['outputs.BackupPlanBackupScheduleRpoConfigExclusionWindow']]:
|
411
|
+
"""
|
412
|
+
User specified time windows during which backup can NOT happen for this BackupPlan.
|
413
|
+
Backups should start and finish outside of any given exclusion window. Note: backup
|
414
|
+
jobs will be scheduled to start and finish outside the duration of the window as
|
415
|
+
much as possible, but running jobs will not get canceled when it runs into the window.
|
416
|
+
All the time and date values in exclusionWindows entry in the API are in UTC. We
|
417
|
+
only allow <=1 recurrence (daily or weekly) exclusion window for a BackupPlan while no
|
418
|
+
restriction on number of single occurrence windows.
|
419
|
+
Structure is documented below.
|
420
|
+
"""
|
421
|
+
return pulumi.get(self, "exclusion_windows")
|
422
|
+
|
423
|
+
|
424
|
+
@pulumi.output_type
|
425
|
+
class BackupPlanBackupScheduleRpoConfigExclusionWindow(dict):
|
426
|
+
@staticmethod
|
427
|
+
def __key_warning(key: str):
|
428
|
+
suggest = None
|
429
|
+
if key == "startTime":
|
430
|
+
suggest = "start_time"
|
431
|
+
elif key == "daysOfWeek":
|
432
|
+
suggest = "days_of_week"
|
433
|
+
elif key == "singleOccurrenceDate":
|
434
|
+
suggest = "single_occurrence_date"
|
435
|
+
|
436
|
+
if suggest:
|
437
|
+
pulumi.log.warn(f"Key '{key}' not found in BackupPlanBackupScheduleRpoConfigExclusionWindow. Access the value via the '{suggest}' property getter instead.")
|
438
|
+
|
439
|
+
def __getitem__(self, key: str) -> Any:
|
440
|
+
BackupPlanBackupScheduleRpoConfigExclusionWindow.__key_warning(key)
|
441
|
+
return super().__getitem__(key)
|
442
|
+
|
443
|
+
def get(self, key: str, default = None) -> Any:
|
444
|
+
BackupPlanBackupScheduleRpoConfigExclusionWindow.__key_warning(key)
|
445
|
+
return super().get(key, default)
|
446
|
+
|
447
|
+
def __init__(__self__, *,
|
448
|
+
duration: str,
|
449
|
+
start_time: 'outputs.BackupPlanBackupScheduleRpoConfigExclusionWindowStartTime',
|
450
|
+
daily: Optional[bool] = None,
|
451
|
+
days_of_week: Optional['outputs.BackupPlanBackupScheduleRpoConfigExclusionWindowDaysOfWeek'] = None,
|
452
|
+
single_occurrence_date: Optional['outputs.BackupPlanBackupScheduleRpoConfigExclusionWindowSingleOccurrenceDate'] = None):
|
453
|
+
"""
|
454
|
+
:param str duration: Specifies duration of the window in seconds with up to nine fractional digits,
|
455
|
+
terminated by 's'. Example: "3.5s". Restrictions for duration based on the
|
456
|
+
recurrence type to allow some time for backup to happen:
|
457
|
+
- single_occurrence_date: no restriction
|
458
|
+
- daily window: duration < 24 hours
|
459
|
+
- weekly window:
|
460
|
+
- days of week includes all seven days of a week: duration < 24 hours
|
461
|
+
- all other weekly window: duration < 168 hours (i.e., 24 * 7 hours)
|
462
|
+
:param 'BackupPlanBackupScheduleRpoConfigExclusionWindowStartTimeArgs' start_time: Specifies the start time of the window using time of the day in UTC.
|
463
|
+
Structure is documented below.
|
464
|
+
:param bool daily: The exclusion window occurs every day if set to "True".
|
465
|
+
Specifying this field to "False" is an error.
|
466
|
+
Only one of singleOccurrenceDate, daily and daysOfWeek may be set.
|
467
|
+
:param 'BackupPlanBackupScheduleRpoConfigExclusionWindowDaysOfWeekArgs' days_of_week: The exclusion window occurs on these days of each week in UTC.
|
468
|
+
Only one of singleOccurrenceDate, daily and daysOfWeek may be set.
|
469
|
+
Structure is documented below.
|
470
|
+
:param 'BackupPlanBackupScheduleRpoConfigExclusionWindowSingleOccurrenceDateArgs' single_occurrence_date: No recurrence. The exclusion window occurs only once and on this date in UTC.
|
471
|
+
Only one of singleOccurrenceDate, daily and daysOfWeek may be set.
|
472
|
+
Structure is documented below.
|
473
|
+
"""
|
474
|
+
pulumi.set(__self__, "duration", duration)
|
475
|
+
pulumi.set(__self__, "start_time", start_time)
|
476
|
+
if daily is not None:
|
477
|
+
pulumi.set(__self__, "daily", daily)
|
478
|
+
if days_of_week is not None:
|
479
|
+
pulumi.set(__self__, "days_of_week", days_of_week)
|
480
|
+
if single_occurrence_date is not None:
|
481
|
+
pulumi.set(__self__, "single_occurrence_date", single_occurrence_date)
|
482
|
+
|
483
|
+
@property
|
484
|
+
@pulumi.getter
|
485
|
+
def duration(self) -> str:
|
486
|
+
"""
|
487
|
+
Specifies duration of the window in seconds with up to nine fractional digits,
|
488
|
+
terminated by 's'. Example: "3.5s". Restrictions for duration based on the
|
489
|
+
recurrence type to allow some time for backup to happen:
|
490
|
+
- single_occurrence_date: no restriction
|
491
|
+
- daily window: duration < 24 hours
|
492
|
+
- weekly window:
|
493
|
+
- days of week includes all seven days of a week: duration < 24 hours
|
494
|
+
- all other weekly window: duration < 168 hours (i.e., 24 * 7 hours)
|
495
|
+
"""
|
496
|
+
return pulumi.get(self, "duration")
|
497
|
+
|
498
|
+
@property
|
499
|
+
@pulumi.getter(name="startTime")
|
500
|
+
def start_time(self) -> 'outputs.BackupPlanBackupScheduleRpoConfigExclusionWindowStartTime':
|
501
|
+
"""
|
502
|
+
Specifies the start time of the window using time of the day in UTC.
|
503
|
+
Structure is documented below.
|
504
|
+
"""
|
505
|
+
return pulumi.get(self, "start_time")
|
506
|
+
|
507
|
+
@property
|
508
|
+
@pulumi.getter
|
509
|
+
def daily(self) -> Optional[bool]:
|
510
|
+
"""
|
511
|
+
The exclusion window occurs every day if set to "True".
|
512
|
+
Specifying this field to "False" is an error.
|
513
|
+
Only one of singleOccurrenceDate, daily and daysOfWeek may be set.
|
514
|
+
"""
|
515
|
+
return pulumi.get(self, "daily")
|
516
|
+
|
517
|
+
@property
|
518
|
+
@pulumi.getter(name="daysOfWeek")
|
519
|
+
def days_of_week(self) -> Optional['outputs.BackupPlanBackupScheduleRpoConfigExclusionWindowDaysOfWeek']:
|
520
|
+
"""
|
521
|
+
The exclusion window occurs on these days of each week in UTC.
|
522
|
+
Only one of singleOccurrenceDate, daily and daysOfWeek may be set.
|
523
|
+
Structure is documented below.
|
524
|
+
"""
|
525
|
+
return pulumi.get(self, "days_of_week")
|
526
|
+
|
527
|
+
@property
|
528
|
+
@pulumi.getter(name="singleOccurrenceDate")
|
529
|
+
def single_occurrence_date(self) -> Optional['outputs.BackupPlanBackupScheduleRpoConfigExclusionWindowSingleOccurrenceDate']:
|
530
|
+
"""
|
531
|
+
No recurrence. The exclusion window occurs only once and on this date in UTC.
|
532
|
+
Only one of singleOccurrenceDate, daily and daysOfWeek may be set.
|
533
|
+
Structure is documented below.
|
534
|
+
"""
|
535
|
+
return pulumi.get(self, "single_occurrence_date")
|
536
|
+
|
537
|
+
|
538
|
+
@pulumi.output_type
|
539
|
+
class BackupPlanBackupScheduleRpoConfigExclusionWindowDaysOfWeek(dict):
|
540
|
+
@staticmethod
|
541
|
+
def __key_warning(key: str):
|
542
|
+
suggest = None
|
543
|
+
if key == "daysOfWeeks":
|
544
|
+
suggest = "days_of_weeks"
|
545
|
+
|
546
|
+
if suggest:
|
547
|
+
pulumi.log.warn(f"Key '{key}' not found in BackupPlanBackupScheduleRpoConfigExclusionWindowDaysOfWeek. Access the value via the '{suggest}' property getter instead.")
|
548
|
+
|
549
|
+
def __getitem__(self, key: str) -> Any:
|
550
|
+
BackupPlanBackupScheduleRpoConfigExclusionWindowDaysOfWeek.__key_warning(key)
|
551
|
+
return super().__getitem__(key)
|
552
|
+
|
553
|
+
def get(self, key: str, default = None) -> Any:
|
554
|
+
BackupPlanBackupScheduleRpoConfigExclusionWindowDaysOfWeek.__key_warning(key)
|
555
|
+
return super().get(key, default)
|
556
|
+
|
557
|
+
def __init__(__self__, *,
|
558
|
+
days_of_weeks: Optional[Sequence[str]] = None):
|
559
|
+
"""
|
560
|
+
:param Sequence[str] days_of_weeks: A list of days of week.
|
561
|
+
Each value may be one of: `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`, `SUNDAY`.
|
562
|
+
"""
|
563
|
+
if days_of_weeks is not None:
|
564
|
+
pulumi.set(__self__, "days_of_weeks", days_of_weeks)
|
565
|
+
|
566
|
+
@property
|
567
|
+
@pulumi.getter(name="daysOfWeeks")
|
568
|
+
def days_of_weeks(self) -> Optional[Sequence[str]]:
|
569
|
+
"""
|
570
|
+
A list of days of week.
|
571
|
+
Each value may be one of: `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`, `SUNDAY`.
|
572
|
+
"""
|
573
|
+
return pulumi.get(self, "days_of_weeks")
|
574
|
+
|
575
|
+
|
576
|
+
@pulumi.output_type
|
577
|
+
class BackupPlanBackupScheduleRpoConfigExclusionWindowSingleOccurrenceDate(dict):
|
578
|
+
def __init__(__self__, *,
|
579
|
+
day: Optional[int] = None,
|
580
|
+
month: Optional[int] = None,
|
581
|
+
year: Optional[int] = None):
|
582
|
+
"""
|
583
|
+
:param int day: Day of a month.
|
584
|
+
:param int month: Month of a year.
|
585
|
+
:param int year: Year of the date.
|
586
|
+
"""
|
587
|
+
if day is not None:
|
588
|
+
pulumi.set(__self__, "day", day)
|
589
|
+
if month is not None:
|
590
|
+
pulumi.set(__self__, "month", month)
|
591
|
+
if year is not None:
|
592
|
+
pulumi.set(__self__, "year", year)
|
593
|
+
|
594
|
+
@property
|
595
|
+
@pulumi.getter
|
596
|
+
def day(self) -> Optional[int]:
|
597
|
+
"""
|
598
|
+
Day of a month.
|
599
|
+
"""
|
600
|
+
return pulumi.get(self, "day")
|
601
|
+
|
602
|
+
@property
|
603
|
+
@pulumi.getter
|
604
|
+
def month(self) -> Optional[int]:
|
605
|
+
"""
|
606
|
+
Month of a year.
|
607
|
+
"""
|
608
|
+
return pulumi.get(self, "month")
|
609
|
+
|
610
|
+
@property
|
611
|
+
@pulumi.getter
|
612
|
+
def year(self) -> Optional[int]:
|
613
|
+
"""
|
614
|
+
Year of the date.
|
615
|
+
"""
|
616
|
+
return pulumi.get(self, "year")
|
617
|
+
|
618
|
+
|
619
|
+
@pulumi.output_type
|
620
|
+
class BackupPlanBackupScheduleRpoConfigExclusionWindowStartTime(dict):
|
621
|
+
def __init__(__self__, *,
|
622
|
+
hours: Optional[int] = None,
|
623
|
+
minutes: Optional[int] = None,
|
624
|
+
nanos: Optional[int] = None,
|
625
|
+
seconds: Optional[int] = None):
|
626
|
+
"""
|
627
|
+
:param int hours: Hours of day in 24 hour format.
|
628
|
+
:param int minutes: Minutes of hour of day.
|
629
|
+
:param int nanos: Fractions of seconds in nanoseconds.
|
630
|
+
:param int seconds: Seconds of minutes of the time.
|
631
|
+
"""
|
632
|
+
if hours is not None:
|
633
|
+
pulumi.set(__self__, "hours", hours)
|
634
|
+
if minutes is not None:
|
635
|
+
pulumi.set(__self__, "minutes", minutes)
|
636
|
+
if nanos is not None:
|
637
|
+
pulumi.set(__self__, "nanos", nanos)
|
638
|
+
if seconds is not None:
|
639
|
+
pulumi.set(__self__, "seconds", seconds)
|
640
|
+
|
641
|
+
@property
|
642
|
+
@pulumi.getter
|
643
|
+
def hours(self) -> Optional[int]:
|
644
|
+
"""
|
645
|
+
Hours of day in 24 hour format.
|
646
|
+
"""
|
647
|
+
return pulumi.get(self, "hours")
|
648
|
+
|
649
|
+
@property
|
650
|
+
@pulumi.getter
|
651
|
+
def minutes(self) -> Optional[int]:
|
652
|
+
"""
|
653
|
+
Minutes of hour of day.
|
654
|
+
"""
|
655
|
+
return pulumi.get(self, "minutes")
|
656
|
+
|
657
|
+
@property
|
658
|
+
@pulumi.getter
|
659
|
+
def nanos(self) -> Optional[int]:
|
660
|
+
"""
|
661
|
+
Fractions of seconds in nanoseconds.
|
662
|
+
"""
|
663
|
+
return pulumi.get(self, "nanos")
|
664
|
+
|
665
|
+
@property
|
666
|
+
@pulumi.getter
|
667
|
+
def seconds(self) -> Optional[int]:
|
668
|
+
"""
|
669
|
+
Seconds of minutes of the time.
|
670
|
+
"""
|
671
|
+
return pulumi.get(self, "seconds")
|
672
|
+
|
327
673
|
|
328
674
|
@pulumi.output_type
|
329
675
|
class BackupPlanIamBindingCondition(dict):
|
@@ -420,7 +766,9 @@ class BackupPlanRetentionPolicy(dict):
|
|
420
766
|
existing Backups under it. Backups created AFTER a successful update
|
421
767
|
will automatically pick up the new value.
|
422
768
|
NOTE: backupRetainDays must be >= backupDeleteLockDays.
|
423
|
-
If cronSchedule is defined, then this must be <= 360 * the creation interval.
|
769
|
+
If cronSchedule is defined, then this must be <= 360 * the creation interval.
|
770
|
+
If rpo_config is defined, then this must be
|
771
|
+
<= 360 * targetRpoMinutes/(1440minutes/day)
|
424
772
|
:param bool locked: This flag denotes whether the retention policy of this BackupPlan is locked.
|
425
773
|
If set to True, no further update is allowed on this policy, including
|
426
774
|
the locked field itself.
|
@@ -458,7 +806,9 @@ class BackupPlanRetentionPolicy(dict):
|
|
458
806
|
existing Backups under it. Backups created AFTER a successful update
|
459
807
|
will automatically pick up the new value.
|
460
808
|
NOTE: backupRetainDays must be >= backupDeleteLockDays.
|
461
|
-
If cronSchedule is defined, then this must be <= 360 * the creation interval.
|
809
|
+
If cronSchedule is defined, then this must be <= 360 * the creation interval.
|
810
|
+
If rpo_config is defined, then this must be
|
811
|
+
<= 360 * targetRpoMinutes/(1440minutes/day)
|
462
812
|
"""
|
463
813
|
return pulumi.get(self, "backup_retain_days")
|
464
814
|
|
@@ -373,6 +373,7 @@ class FirewallEndpoint(pulumi.CustomResource):
|
|
373
373
|
name="my-firewall-endpoint",
|
374
374
|
parent="organizations/123456789",
|
375
375
|
location="us-central1-a",
|
376
|
+
billing_project_id="my-project-name",
|
376
377
|
labels={
|
377
378
|
"foo": "bar",
|
378
379
|
})
|
@@ -426,6 +427,7 @@ class FirewallEndpoint(pulumi.CustomResource):
|
|
426
427
|
name="my-firewall-endpoint",
|
427
428
|
parent="organizations/123456789",
|
428
429
|
location="us-central1-a",
|
430
|
+
billing_project_id="my-project-name",
|
429
431
|
labels={
|
430
432
|
"foo": "bar",
|
431
433
|
})
|
@@ -17,6 +17,7 @@ class FirewallEndpointAssociationArgs:
|
|
17
17
|
firewall_endpoint: pulumi.Input[str],
|
18
18
|
location: pulumi.Input[str],
|
19
19
|
network: pulumi.Input[str],
|
20
|
+
disabled: Optional[pulumi.Input[bool]] = None,
|
20
21
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
21
22
|
name: Optional[pulumi.Input[str]] = None,
|
22
23
|
parent: Optional[pulumi.Input[str]] = None,
|
@@ -29,6 +30,9 @@ class FirewallEndpointAssociationArgs:
|
|
29
30
|
|
30
31
|
- - -
|
31
32
|
:param pulumi.Input[str] network: The URL of the network that is being associated.
|
33
|
+
:param pulumi.Input[bool] disabled: Whether the association is disabled. True indicates that traffic will not be intercepted.
|
34
|
+
> **Note:** The API will reject the request if this value is set to true when creating the resource,
|
35
|
+
otherwise on an update the association can be disabled.
|
32
36
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A map of key/value label pairs to assign to the resource.
|
33
37
|
|
34
38
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
@@ -41,6 +45,8 @@ class FirewallEndpointAssociationArgs:
|
|
41
45
|
pulumi.set(__self__, "firewall_endpoint", firewall_endpoint)
|
42
46
|
pulumi.set(__self__, "location", location)
|
43
47
|
pulumi.set(__self__, "network", network)
|
48
|
+
if disabled is not None:
|
49
|
+
pulumi.set(__self__, "disabled", disabled)
|
44
50
|
if labels is not None:
|
45
51
|
pulumi.set(__self__, "labels", labels)
|
46
52
|
if name is not None:
|
@@ -89,6 +95,20 @@ class FirewallEndpointAssociationArgs:
|
|
89
95
|
def network(self, value: pulumi.Input[str]):
|
90
96
|
pulumi.set(self, "network", value)
|
91
97
|
|
98
|
+
@property
|
99
|
+
@pulumi.getter
|
100
|
+
def disabled(self) -> Optional[pulumi.Input[bool]]:
|
101
|
+
"""
|
102
|
+
Whether the association is disabled. True indicates that traffic will not be intercepted.
|
103
|
+
> **Note:** The API will reject the request if this value is set to true when creating the resource,
|
104
|
+
otherwise on an update the association can be disabled.
|
105
|
+
"""
|
106
|
+
return pulumi.get(self, "disabled")
|
107
|
+
|
108
|
+
@disabled.setter
|
109
|
+
def disabled(self, value: Optional[pulumi.Input[bool]]):
|
110
|
+
pulumi.set(self, "disabled", value)
|
111
|
+
|
92
112
|
@property
|
93
113
|
@pulumi.getter
|
94
114
|
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
@@ -146,6 +166,7 @@ class FirewallEndpointAssociationArgs:
|
|
146
166
|
class _FirewallEndpointAssociationState:
|
147
167
|
def __init__(__self__, *,
|
148
168
|
create_time: Optional[pulumi.Input[str]] = None,
|
169
|
+
disabled: Optional[pulumi.Input[bool]] = None,
|
149
170
|
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
150
171
|
firewall_endpoint: Optional[pulumi.Input[str]] = None,
|
151
172
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
@@ -162,6 +183,9 @@ class _FirewallEndpointAssociationState:
|
|
162
183
|
"""
|
163
184
|
Input properties used for looking up and filtering FirewallEndpointAssociation resources.
|
164
185
|
:param pulumi.Input[str] create_time: Time the firewall endpoint was created in UTC.
|
186
|
+
:param pulumi.Input[bool] disabled: Whether the association is disabled. True indicates that traffic will not be intercepted.
|
187
|
+
> **Note:** The API will reject the request if this value is set to true when creating the resource,
|
188
|
+
otherwise on an update the association can be disabled.
|
165
189
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
166
190
|
:param pulumi.Input[str] firewall_endpoint: The URL of the firewall endpoint that is being associated.
|
167
191
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A map of key/value label pairs to assign to the resource.
|
@@ -186,6 +210,8 @@ class _FirewallEndpointAssociationState:
|
|
186
210
|
"""
|
187
211
|
if create_time is not None:
|
188
212
|
pulumi.set(__self__, "create_time", create_time)
|
213
|
+
if disabled is not None:
|
214
|
+
pulumi.set(__self__, "disabled", disabled)
|
189
215
|
if effective_labels is not None:
|
190
216
|
pulumi.set(__self__, "effective_labels", effective_labels)
|
191
217
|
if firewall_endpoint is not None:
|
@@ -225,6 +251,20 @@ class _FirewallEndpointAssociationState:
|
|
225
251
|
def create_time(self, value: Optional[pulumi.Input[str]]):
|
226
252
|
pulumi.set(self, "create_time", value)
|
227
253
|
|
254
|
+
@property
|
255
|
+
@pulumi.getter
|
256
|
+
def disabled(self) -> Optional[pulumi.Input[bool]]:
|
257
|
+
"""
|
258
|
+
Whether the association is disabled. True indicates that traffic will not be intercepted.
|
259
|
+
> **Note:** The API will reject the request if this value is set to true when creating the resource,
|
260
|
+
otherwise on an update the association can be disabled.
|
261
|
+
"""
|
262
|
+
return pulumi.get(self, "disabled")
|
263
|
+
|
264
|
+
@disabled.setter
|
265
|
+
def disabled(self, value: Optional[pulumi.Input[bool]]):
|
266
|
+
pulumi.set(self, "disabled", value)
|
267
|
+
|
228
268
|
@property
|
229
269
|
@pulumi.getter(name="effectiveLabels")
|
230
270
|
def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
@@ -395,6 +435,7 @@ class FirewallEndpointAssociation(pulumi.CustomResource):
|
|
395
435
|
def __init__(__self__,
|
396
436
|
resource_name: str,
|
397
437
|
opts: Optional[pulumi.ResourceOptions] = None,
|
438
|
+
disabled: Optional[pulumi.Input[bool]] = None,
|
398
439
|
firewall_endpoint: Optional[pulumi.Input[str]] = None,
|
399
440
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
400
441
|
location: Optional[pulumi.Input[str]] = None,
|
@@ -444,6 +485,9 @@ class FirewallEndpointAssociation(pulumi.CustomResource):
|
|
444
485
|
|
445
486
|
:param str resource_name: The name of the resource.
|
446
487
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
488
|
+
:param pulumi.Input[bool] disabled: Whether the association is disabled. True indicates that traffic will not be intercepted.
|
489
|
+
> **Note:** The API will reject the request if this value is set to true when creating the resource,
|
490
|
+
otherwise on an update the association can be disabled.
|
447
491
|
:param pulumi.Input[str] firewall_endpoint: The URL of the firewall endpoint that is being associated.
|
448
492
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A map of key/value label pairs to assign to the resource.
|
449
493
|
|
@@ -519,6 +563,7 @@ class FirewallEndpointAssociation(pulumi.CustomResource):
|
|
519
563
|
def _internal_init(__self__,
|
520
564
|
resource_name: str,
|
521
565
|
opts: Optional[pulumi.ResourceOptions] = None,
|
566
|
+
disabled: Optional[pulumi.Input[bool]] = None,
|
522
567
|
firewall_endpoint: Optional[pulumi.Input[str]] = None,
|
523
568
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
524
569
|
location: Optional[pulumi.Input[str]] = None,
|
@@ -535,6 +580,7 @@ class FirewallEndpointAssociation(pulumi.CustomResource):
|
|
535
580
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
536
581
|
__props__ = FirewallEndpointAssociationArgs.__new__(FirewallEndpointAssociationArgs)
|
537
582
|
|
583
|
+
__props__.__dict__["disabled"] = disabled
|
538
584
|
if firewall_endpoint is None and not opts.urn:
|
539
585
|
raise TypeError("Missing required property 'firewall_endpoint'")
|
540
586
|
__props__.__dict__["firewall_endpoint"] = firewall_endpoint
|
@@ -568,6 +614,7 @@ class FirewallEndpointAssociation(pulumi.CustomResource):
|
|
568
614
|
id: pulumi.Input[str],
|
569
615
|
opts: Optional[pulumi.ResourceOptions] = None,
|
570
616
|
create_time: Optional[pulumi.Input[str]] = None,
|
617
|
+
disabled: Optional[pulumi.Input[bool]] = None,
|
571
618
|
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
572
619
|
firewall_endpoint: Optional[pulumi.Input[str]] = None,
|
573
620
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
@@ -589,6 +636,9 @@ class FirewallEndpointAssociation(pulumi.CustomResource):
|
|
589
636
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
590
637
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
591
638
|
:param pulumi.Input[str] create_time: Time the firewall endpoint was created in UTC.
|
639
|
+
:param pulumi.Input[bool] disabled: Whether the association is disabled. True indicates that traffic will not be intercepted.
|
640
|
+
> **Note:** The API will reject the request if this value is set to true when creating the resource,
|
641
|
+
otherwise on an update the association can be disabled.
|
592
642
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
593
643
|
:param pulumi.Input[str] firewall_endpoint: The URL of the firewall endpoint that is being associated.
|
594
644
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A map of key/value label pairs to assign to the resource.
|
@@ -616,6 +666,7 @@ class FirewallEndpointAssociation(pulumi.CustomResource):
|
|
616
666
|
__props__ = _FirewallEndpointAssociationState.__new__(_FirewallEndpointAssociationState)
|
617
667
|
|
618
668
|
__props__.__dict__["create_time"] = create_time
|
669
|
+
__props__.__dict__["disabled"] = disabled
|
619
670
|
__props__.__dict__["effective_labels"] = effective_labels
|
620
671
|
__props__.__dict__["firewall_endpoint"] = firewall_endpoint
|
621
672
|
__props__.__dict__["labels"] = labels
|
@@ -639,6 +690,16 @@ class FirewallEndpointAssociation(pulumi.CustomResource):
|
|
639
690
|
"""
|
640
691
|
return pulumi.get(self, "create_time")
|
641
692
|
|
693
|
+
@property
|
694
|
+
@pulumi.getter
|
695
|
+
def disabled(self) -> pulumi.Output[Optional[bool]]:
|
696
|
+
"""
|
697
|
+
Whether the association is disabled. True indicates that traffic will not be intercepted.
|
698
|
+
> **Note:** The API will reject the request if this value is set to true when creating the resource,
|
699
|
+
otherwise on an update the association can be disabled.
|
700
|
+
"""
|
701
|
+
return pulumi.get(self, "disabled")
|
702
|
+
|
642
703
|
@property
|
643
704
|
@pulumi.getter(name="effectiveLabels")
|
644
705
|
def effective_labels(self) -> pulumi.Output[Mapping[str, str]]:
|
@@ -0,0 +1,8 @@
|
|
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
|
+
from .. import _utilities
|
6
|
+
import typing
|
7
|
+
# Export this package's modules as members:
|
8
|
+
from .instance import *
|