pulumi-gcp 7.19.0__py3-none-any.whl → 7.19.0a1713292926__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 +0 -11
- pulumi_gcp/accesscontextmanager/access_policy.py +4 -4
- pulumi_gcp/apigee/sync_authorization.py +4 -4
- pulumi_gcp/compute/_inputs.py +0 -24
- pulumi_gcp/compute/get_router_nat.py +1 -11
- pulumi_gcp/compute/instance_settings.py +0 -16
- pulumi_gcp/compute/outputs.py +0 -41
- pulumi_gcp/compute/router_interface.py +0 -47
- pulumi_gcp/compute/router_nat.py +0 -68
- pulumi_gcp/compute/router_peer.py +0 -141
- pulumi_gcp/config/__init__.pyi +0 -2
- pulumi_gcp/config/vars.py +0 -4
- pulumi_gcp/container/_inputs.py +7 -48
- pulumi_gcp/container/outputs.py +8 -67
- pulumi_gcp/datastore/data_store_index.py +0 -14
- pulumi_gcp/dns/_inputs.py +22 -22
- pulumi_gcp/dns/outputs.py +22 -22
- pulumi_gcp/firestore/_inputs.py +11 -80
- pulumi_gcp/firestore/document.py +4 -0
- pulumi_gcp/firestore/index.py +42 -116
- pulumi_gcp/firestore/outputs.py +11 -70
- pulumi_gcp/gkebackup/_inputs.py +3 -358
- pulumi_gcp/gkebackup/backup_plan.py +0 -294
- pulumi_gcp/gkebackup/outputs.py +3 -353
- pulumi_gcp/networksecurity/firewall_endpoint.py +0 -2
- pulumi_gcp/networksecurity/firewall_endpoint_association.py +0 -61
- pulumi_gcp/provider.py +0 -20
- pulumi_gcp/sql/_inputs.py +0 -16
- pulumi_gcp/sql/outputs.py +0 -36
- pulumi_gcp/tags/__init__.py +0 -2
- pulumi_gcp/tags/outputs.py +0 -200
- pulumi_gcp/vmwareengine/get_private_cloud.py +1 -21
- pulumi_gcp/vmwareengine/private_cloud.py +7 -101
- {pulumi_gcp-7.19.0.dist-info → pulumi_gcp-7.19.0a1713292926.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.19.0.dist-info → pulumi_gcp-7.19.0a1713292926.dist-info}/RECORD +37 -41
- pulumi_gcp/parallelstore/__init__.py +0 -8
- pulumi_gcp/parallelstore/instance.py +0 -1128
- pulumi_gcp/tags/get_tag_keys.py +0 -101
- pulumi_gcp/tags/get_tag_values.py +0 -101
- {pulumi_gcp-7.19.0.dist-info → pulumi_gcp-7.19.0a1713292926.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.19.0.dist-info → pulumi_gcp-7.19.0a1713292926.dist-info}/top_level.txt +0 -0
pulumi_gcp/gkebackup/outputs.py
CHANGED
@@ -17,11 +17,6 @@ __all__ = [
|
|
17
17
|
'BackupPlanBackupConfigSelectedApplicationsNamespacedName',
|
18
18
|
'BackupPlanBackupConfigSelectedNamespaces',
|
19
19
|
'BackupPlanBackupSchedule',
|
20
|
-
'BackupPlanBackupScheduleRpoConfig',
|
21
|
-
'BackupPlanBackupScheduleRpoConfigExclusionWindow',
|
22
|
-
'BackupPlanBackupScheduleRpoConfigExclusionWindowDaysOfWeek',
|
23
|
-
'BackupPlanBackupScheduleRpoConfigExclusionWindowSingleOccurrenceDate',
|
24
|
-
'BackupPlanBackupScheduleRpoConfigExclusionWindowStartTime',
|
25
20
|
'BackupPlanIamBindingCondition',
|
26
21
|
'BackupPlanIamMemberCondition',
|
27
22
|
'BackupPlanRetentionPolicy',
|
@@ -285,8 +280,6 @@ class BackupPlanBackupSchedule(dict):
|
|
285
280
|
suggest = None
|
286
281
|
if key == "cronSchedule":
|
287
282
|
suggest = "cron_schedule"
|
288
|
-
elif key == "rpoConfig":
|
289
|
-
suggest = "rpo_config"
|
290
283
|
|
291
284
|
if suggest:
|
292
285
|
pulumi.log.warn(f"Key '{key}' not found in BackupPlanBackupSchedule. Access the value via the '{suggest}' property getter instead.")
|
@@ -301,26 +294,17 @@ class BackupPlanBackupSchedule(dict):
|
|
301
294
|
|
302
295
|
def __init__(__self__, *,
|
303
296
|
cron_schedule: Optional[str] = None,
|
304
|
-
paused: Optional[bool] = None
|
305
|
-
rpo_config: Optional['outputs.BackupPlanBackupScheduleRpoConfig'] = None):
|
297
|
+
paused: Optional[bool] = None):
|
306
298
|
"""
|
307
299
|
:param str cron_schedule: A standard cron string that defines a repeating schedule for
|
308
300
|
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.
|
311
301
|
If this is defined, then backupRetainDays must also be defined.
|
312
302
|
: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.
|
317
303
|
"""
|
318
304
|
if cron_schedule is not None:
|
319
305
|
pulumi.set(__self__, "cron_schedule", cron_schedule)
|
320
306
|
if paused is not None:
|
321
307
|
pulumi.set(__self__, "paused", paused)
|
322
|
-
if rpo_config is not None:
|
323
|
-
pulumi.set(__self__, "rpo_config", rpo_config)
|
324
308
|
|
325
309
|
@property
|
326
310
|
@pulumi.getter(name="cronSchedule")
|
@@ -328,8 +312,6 @@ class BackupPlanBackupSchedule(dict):
|
|
328
312
|
"""
|
329
313
|
A standard cron string that defines a repeating schedule for
|
330
314
|
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.
|
333
315
|
If this is defined, then backupRetainDays must also be defined.
|
334
316
|
"""
|
335
317
|
return pulumi.get(self, "cron_schedule")
|
@@ -342,334 +324,6 @@ class BackupPlanBackupSchedule(dict):
|
|
342
324
|
"""
|
343
325
|
return pulumi.get(self, "paused")
|
344
326
|
|
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
|
-
|
673
327
|
|
674
328
|
@pulumi.output_type
|
675
329
|
class BackupPlanIamBindingCondition(dict):
|
@@ -766,9 +420,7 @@ class BackupPlanRetentionPolicy(dict):
|
|
766
420
|
existing Backups under it. Backups created AFTER a successful update
|
767
421
|
will automatically pick up the new value.
|
768
422
|
NOTE: backupRetainDays must be >= backupDeleteLockDays.
|
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)
|
423
|
+
If cronSchedule is defined, then this must be <= 360 * the creation interval.]
|
772
424
|
:param bool locked: This flag denotes whether the retention policy of this BackupPlan is locked.
|
773
425
|
If set to True, no further update is allowed on this policy, including
|
774
426
|
the locked field itself.
|
@@ -806,9 +458,7 @@ class BackupPlanRetentionPolicy(dict):
|
|
806
458
|
existing Backups under it. Backups created AFTER a successful update
|
807
459
|
will automatically pick up the new value.
|
808
460
|
NOTE: backupRetainDays must be >= backupDeleteLockDays.
|
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)
|
461
|
+
If cronSchedule is defined, then this must be <= 360 * the creation interval.]
|
812
462
|
"""
|
813
463
|
return pulumi.get(self, "backup_retain_days")
|
814
464
|
|
@@ -373,7 +373,6 @@ 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",
|
377
376
|
labels={
|
378
377
|
"foo": "bar",
|
379
378
|
})
|
@@ -427,7 +426,6 @@ class FirewallEndpoint(pulumi.CustomResource):
|
|
427
426
|
name="my-firewall-endpoint",
|
428
427
|
parent="organizations/123456789",
|
429
428
|
location="us-central1-a",
|
430
|
-
billing_project_id="my-project-name",
|
431
429
|
labels={
|
432
430
|
"foo": "bar",
|
433
431
|
})
|
@@ -17,7 +17,6 @@ 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,
|
21
20
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
22
21
|
name: Optional[pulumi.Input[str]] = None,
|
23
22
|
parent: Optional[pulumi.Input[str]] = None,
|
@@ -30,9 +29,6 @@ class FirewallEndpointAssociationArgs:
|
|
30
29
|
|
31
30
|
- - -
|
32
31
|
: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.
|
36
32
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A map of key/value label pairs to assign to the resource.
|
37
33
|
|
38
34
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
@@ -45,8 +41,6 @@ class FirewallEndpointAssociationArgs:
|
|
45
41
|
pulumi.set(__self__, "firewall_endpoint", firewall_endpoint)
|
46
42
|
pulumi.set(__self__, "location", location)
|
47
43
|
pulumi.set(__self__, "network", network)
|
48
|
-
if disabled is not None:
|
49
|
-
pulumi.set(__self__, "disabled", disabled)
|
50
44
|
if labels is not None:
|
51
45
|
pulumi.set(__self__, "labels", labels)
|
52
46
|
if name is not None:
|
@@ -95,20 +89,6 @@ class FirewallEndpointAssociationArgs:
|
|
95
89
|
def network(self, value: pulumi.Input[str]):
|
96
90
|
pulumi.set(self, "network", value)
|
97
91
|
|
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
|
-
|
112
92
|
@property
|
113
93
|
@pulumi.getter
|
114
94
|
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
@@ -166,7 +146,6 @@ class FirewallEndpointAssociationArgs:
|
|
166
146
|
class _FirewallEndpointAssociationState:
|
167
147
|
def __init__(__self__, *,
|
168
148
|
create_time: Optional[pulumi.Input[str]] = None,
|
169
|
-
disabled: Optional[pulumi.Input[bool]] = None,
|
170
149
|
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
171
150
|
firewall_endpoint: Optional[pulumi.Input[str]] = None,
|
172
151
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
@@ -183,9 +162,6 @@ class _FirewallEndpointAssociationState:
|
|
183
162
|
"""
|
184
163
|
Input properties used for looking up and filtering FirewallEndpointAssociation resources.
|
185
164
|
: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.
|
189
165
|
: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.
|
190
166
|
:param pulumi.Input[str] firewall_endpoint: The URL of the firewall endpoint that is being associated.
|
191
167
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A map of key/value label pairs to assign to the resource.
|
@@ -210,8 +186,6 @@ class _FirewallEndpointAssociationState:
|
|
210
186
|
"""
|
211
187
|
if create_time is not None:
|
212
188
|
pulumi.set(__self__, "create_time", create_time)
|
213
|
-
if disabled is not None:
|
214
|
-
pulumi.set(__self__, "disabled", disabled)
|
215
189
|
if effective_labels is not None:
|
216
190
|
pulumi.set(__self__, "effective_labels", effective_labels)
|
217
191
|
if firewall_endpoint is not None:
|
@@ -251,20 +225,6 @@ class _FirewallEndpointAssociationState:
|
|
251
225
|
def create_time(self, value: Optional[pulumi.Input[str]]):
|
252
226
|
pulumi.set(self, "create_time", value)
|
253
227
|
|
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
|
-
|
268
228
|
@property
|
269
229
|
@pulumi.getter(name="effectiveLabels")
|
270
230
|
def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
@@ -435,7 +395,6 @@ class FirewallEndpointAssociation(pulumi.CustomResource):
|
|
435
395
|
def __init__(__self__,
|
436
396
|
resource_name: str,
|
437
397
|
opts: Optional[pulumi.ResourceOptions] = None,
|
438
|
-
disabled: Optional[pulumi.Input[bool]] = None,
|
439
398
|
firewall_endpoint: Optional[pulumi.Input[str]] = None,
|
440
399
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
441
400
|
location: Optional[pulumi.Input[str]] = None,
|
@@ -485,9 +444,6 @@ class FirewallEndpointAssociation(pulumi.CustomResource):
|
|
485
444
|
|
486
445
|
:param str resource_name: The name of the resource.
|
487
446
|
: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.
|
491
447
|
:param pulumi.Input[str] firewall_endpoint: The URL of the firewall endpoint that is being associated.
|
492
448
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A map of key/value label pairs to assign to the resource.
|
493
449
|
|
@@ -563,7 +519,6 @@ class FirewallEndpointAssociation(pulumi.CustomResource):
|
|
563
519
|
def _internal_init(__self__,
|
564
520
|
resource_name: str,
|
565
521
|
opts: Optional[pulumi.ResourceOptions] = None,
|
566
|
-
disabled: Optional[pulumi.Input[bool]] = None,
|
567
522
|
firewall_endpoint: Optional[pulumi.Input[str]] = None,
|
568
523
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
569
524
|
location: Optional[pulumi.Input[str]] = None,
|
@@ -580,7 +535,6 @@ class FirewallEndpointAssociation(pulumi.CustomResource):
|
|
580
535
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
581
536
|
__props__ = FirewallEndpointAssociationArgs.__new__(FirewallEndpointAssociationArgs)
|
582
537
|
|
583
|
-
__props__.__dict__["disabled"] = disabled
|
584
538
|
if firewall_endpoint is None and not opts.urn:
|
585
539
|
raise TypeError("Missing required property 'firewall_endpoint'")
|
586
540
|
__props__.__dict__["firewall_endpoint"] = firewall_endpoint
|
@@ -614,7 +568,6 @@ class FirewallEndpointAssociation(pulumi.CustomResource):
|
|
614
568
|
id: pulumi.Input[str],
|
615
569
|
opts: Optional[pulumi.ResourceOptions] = None,
|
616
570
|
create_time: Optional[pulumi.Input[str]] = None,
|
617
|
-
disabled: Optional[pulumi.Input[bool]] = None,
|
618
571
|
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
619
572
|
firewall_endpoint: Optional[pulumi.Input[str]] = None,
|
620
573
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
@@ -636,9 +589,6 @@ class FirewallEndpointAssociation(pulumi.CustomResource):
|
|
636
589
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
637
590
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
638
591
|
: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.
|
642
592
|
: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.
|
643
593
|
:param pulumi.Input[str] firewall_endpoint: The URL of the firewall endpoint that is being associated.
|
644
594
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A map of key/value label pairs to assign to the resource.
|
@@ -666,7 +616,6 @@ class FirewallEndpointAssociation(pulumi.CustomResource):
|
|
666
616
|
__props__ = _FirewallEndpointAssociationState.__new__(_FirewallEndpointAssociationState)
|
667
617
|
|
668
618
|
__props__.__dict__["create_time"] = create_time
|
669
|
-
__props__.__dict__["disabled"] = disabled
|
670
619
|
__props__.__dict__["effective_labels"] = effective_labels
|
671
620
|
__props__.__dict__["firewall_endpoint"] = firewall_endpoint
|
672
621
|
__props__.__dict__["labels"] = labels
|
@@ -690,16 +639,6 @@ class FirewallEndpointAssociation(pulumi.CustomResource):
|
|
690
639
|
"""
|
691
640
|
return pulumi.get(self, "create_time")
|
692
641
|
|
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
|
-
|
703
642
|
@property
|
704
643
|
@pulumi.getter(name="effectiveLabels")
|
705
644
|
def effective_labels(self) -> pulumi.Output[Mapping[str, str]]:
|
pulumi_gcp/provider.py
CHANGED
@@ -138,7 +138,6 @@ class ProviderArgs:
|
|
138
138
|
org_policy_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
139
139
|
os_config_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
140
140
|
os_login_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
141
|
-
parallelstore_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
142
141
|
privateca_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
143
142
|
project: Optional[pulumi.Input[str]] = None,
|
144
143
|
public_ca_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
@@ -432,8 +431,6 @@ class ProviderArgs:
|
|
432
431
|
pulumi.set(__self__, "os_config_custom_endpoint", os_config_custom_endpoint)
|
433
432
|
if os_login_custom_endpoint is not None:
|
434
433
|
pulumi.set(__self__, "os_login_custom_endpoint", os_login_custom_endpoint)
|
435
|
-
if parallelstore_custom_endpoint is not None:
|
436
|
-
pulumi.set(__self__, "parallelstore_custom_endpoint", parallelstore_custom_endpoint)
|
437
434
|
if privateca_custom_endpoint is not None:
|
438
435
|
pulumi.set(__self__, "privateca_custom_endpoint", privateca_custom_endpoint)
|
439
436
|
if project is None:
|
@@ -1636,15 +1633,6 @@ class ProviderArgs:
|
|
1636
1633
|
def os_login_custom_endpoint(self, value: Optional[pulumi.Input[str]]):
|
1637
1634
|
pulumi.set(self, "os_login_custom_endpoint", value)
|
1638
1635
|
|
1639
|
-
@property
|
1640
|
-
@pulumi.getter(name="parallelstoreCustomEndpoint")
|
1641
|
-
def parallelstore_custom_endpoint(self) -> Optional[pulumi.Input[str]]:
|
1642
|
-
return pulumi.get(self, "parallelstore_custom_endpoint")
|
1643
|
-
|
1644
|
-
@parallelstore_custom_endpoint.setter
|
1645
|
-
def parallelstore_custom_endpoint(self, value: Optional[pulumi.Input[str]]):
|
1646
|
-
pulumi.set(self, "parallelstore_custom_endpoint", value)
|
1647
|
-
|
1648
1636
|
@property
|
1649
1637
|
@pulumi.getter(name="privatecaCustomEndpoint")
|
1650
1638
|
def privateca_custom_endpoint(self) -> Optional[pulumi.Input[str]]:
|
@@ -2170,7 +2158,6 @@ class Provider(pulumi.ProviderResource):
|
|
2170
2158
|
org_policy_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2171
2159
|
os_config_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2172
2160
|
os_login_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2173
|
-
parallelstore_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2174
2161
|
privateca_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2175
2162
|
project: Optional[pulumi.Input[str]] = None,
|
2176
2163
|
public_ca_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
@@ -2375,7 +2362,6 @@ class Provider(pulumi.ProviderResource):
|
|
2375
2362
|
org_policy_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2376
2363
|
os_config_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2377
2364
|
os_login_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2378
|
-
parallelstore_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2379
2365
|
privateca_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2380
2366
|
project: Optional[pulumi.Input[str]] = None,
|
2381
2367
|
public_ca_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
@@ -2552,7 +2538,6 @@ class Provider(pulumi.ProviderResource):
|
|
2552
2538
|
__props__.__dict__["org_policy_custom_endpoint"] = org_policy_custom_endpoint
|
2553
2539
|
__props__.__dict__["os_config_custom_endpoint"] = os_config_custom_endpoint
|
2554
2540
|
__props__.__dict__["os_login_custom_endpoint"] = os_login_custom_endpoint
|
2555
|
-
__props__.__dict__["parallelstore_custom_endpoint"] = parallelstore_custom_endpoint
|
2556
2541
|
__props__.__dict__["privateca_custom_endpoint"] = privateca_custom_endpoint
|
2557
2542
|
if project is None:
|
2558
2543
|
project = _utilities.get_env('GOOGLE_PROJECT', 'GOOGLE_CLOUD_PROJECT', 'GCLOUD_PROJECT', 'CLOUDSDK_CORE_PROJECT')
|
@@ -3199,11 +3184,6 @@ class Provider(pulumi.ProviderResource):
|
|
3199
3184
|
def os_login_custom_endpoint(self) -> pulumi.Output[Optional[str]]:
|
3200
3185
|
return pulumi.get(self, "os_login_custom_endpoint")
|
3201
3186
|
|
3202
|
-
@property
|
3203
|
-
@pulumi.getter(name="parallelstoreCustomEndpoint")
|
3204
|
-
def parallelstore_custom_endpoint(self) -> pulumi.Output[Optional[str]]:
|
3205
|
-
return pulumi.get(self, "parallelstore_custom_endpoint")
|
3206
|
-
|
3207
3187
|
@property
|
3208
3188
|
@pulumi.getter(name="privatecaCustomEndpoint")
|
3209
3189
|
def privateca_custom_endpoint(self) -> pulumi.Output[Optional[str]]:
|