pulumi-gcp 8.13.0a1736231082__py3-none-any.whl → 8.13.1__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 +43 -0
- pulumi_gcp/accesscontextmanager/_inputs.py +3 -3
- pulumi_gcp/accesscontextmanager/outputs.py +2 -2
- pulumi_gcp/artifactregistry/_inputs.py +83 -0
- pulumi_gcp/artifactregistry/get_repository.py +15 -4
- pulumi_gcp/artifactregistry/outputs.py +112 -0
- pulumi_gcp/artifactregistry/repository.py +93 -7
- pulumi_gcp/backupdisasterrecovery/get_backup.py +38 -2
- pulumi_gcp/backupdisasterrecovery/get_data_source.py +38 -2
- pulumi_gcp/backupdisasterrecovery/outputs.py +8 -8
- pulumi_gcp/bigquery/_inputs.py +369 -0
- pulumi_gcp/bigquery/dataset_access.py +61 -0
- pulumi_gcp/bigquery/job.py +6 -18
- pulumi_gcp/bigquery/outputs.py +350 -0
- pulumi_gcp/bigquery/table.py +47 -0
- pulumi_gcp/chronicle/__init__.py +10 -0
- pulumi_gcp/chronicle/_inputs.py +169 -0
- pulumi_gcp/chronicle/outputs.py +107 -0
- pulumi_gcp/chronicle/watchlist.py +776 -0
- pulumi_gcp/cloudrunv2/_inputs.py +6 -3
- pulumi_gcp/cloudrunv2/outputs.py +10 -6
- pulumi_gcp/composer/_inputs.py +80 -5
- pulumi_gcp/composer/outputs.py +111 -4
- pulumi_gcp/compute/_inputs.py +181 -87
- pulumi_gcp/compute/firewall_policy_association.py +50 -39
- pulumi_gcp/compute/get_network.py +17 -2
- pulumi_gcp/compute/get_subnetwork.py +18 -4
- pulumi_gcp/compute/network.py +39 -2
- pulumi_gcp/compute/outputs.py +157 -58
- pulumi_gcp/compute/region_network_endpoint_group.py +1 -1
- pulumi_gcp/compute/resize_request.py +26 -40
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/dataproc/batch.py +4 -18
- pulumi_gcp/datastream/_inputs.py +68 -0
- pulumi_gcp/datastream/outputs.py +41 -1
- pulumi_gcp/developerconnect/connection.py +58 -12
- pulumi_gcp/diagflow/_inputs.py +3 -3
- pulumi_gcp/diagflow/outputs.py +2 -2
- pulumi_gcp/filestore/backup.py +71 -3
- pulumi_gcp/firebase/hosting_custom_domain.py +4 -4
- pulumi_gcp/firestore/_inputs.py +3 -3
- pulumi_gcp/firestore/outputs.py +2 -2
- pulumi_gcp/gkehub/__init__.py +1 -0
- pulumi_gcp/gkehub/get_feature.py +226 -0
- pulumi_gcp/gkehub/outputs.py +1153 -0
- pulumi_gcp/gkeonprem/__init__.py +1 -0
- pulumi_gcp/gkeonprem/_inputs.py +2364 -0
- pulumi_gcp/gkeonprem/outputs.py +1780 -0
- pulumi_gcp/gkeonprem/vmware_admin_cluster.py +1715 -0
- pulumi_gcp/integrationconnectors/_inputs.py +6 -6
- pulumi_gcp/integrationconnectors/connection.py +7 -7
- pulumi_gcp/integrationconnectors/outputs.py +4 -4
- pulumi_gcp/kms/__init__.py +2 -0
- pulumi_gcp/kms/get_autokey_config.py +121 -0
- pulumi_gcp/kms/get_key_handle.py +185 -0
- pulumi_gcp/netapp/kmsconfig.py +2 -14
- pulumi_gcp/networkconnectivity/hub.py +108 -0
- pulumi_gcp/networkconnectivity/spoke.py +195 -0
- pulumi_gcp/networkmanagement/vpc_flow_logs_config.py +4 -0
- pulumi_gcp/networksecurity/__init__.py +2 -0
- pulumi_gcp/networksecurity/_inputs.py +78 -0
- pulumi_gcp/networksecurity/intercept_endpoint_group.py +723 -0
- pulumi_gcp/networksecurity/intercept_endpoint_group_association.py +815 -0
- pulumi_gcp/networksecurity/outputs.py +48 -0
- pulumi_gcp/oracledatabase/autonomous_database.py +2 -2
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/parallelstore/instance.py +149 -0
- pulumi_gcp/projects/usage_export_bucket.py +42 -110
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pubsub/subscription.py +6 -6
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/securesourcemanager/instance.py +4 -16
- pulumi_gcp/spanner/instance_iam_binding.py +14 -0
- pulumi_gcp/spanner/instance_iam_member.py +14 -0
- pulumi_gcp/sql/database_instance.py +7 -7
- pulumi_gcp/storage/__init__.py +1 -0
- pulumi_gcp/storage/_inputs.py +431 -0
- pulumi_gcp/storage/folder.py +483 -0
- pulumi_gcp/storage/outputs.py +363 -0
- pulumi_gcp/storage/transfer_job.py +84 -38
- pulumi_gcp/vertex/_inputs.py +26 -25
- pulumi_gcp/vertex/ai_endpoint.py +4 -4
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
- pulumi_gcp/vertex/outputs.py +15 -14
- pulumi_gcp/workstations/workstation.py +55 -1
- {pulumi_gcp-8.13.0a1736231082.dist-info → pulumi_gcp-8.13.1.dist-info}/METADATA +2 -2
- {pulumi_gcp-8.13.0a1736231082.dist-info → pulumi_gcp-8.13.1.dist-info}/RECORD +90 -79
- {pulumi_gcp-8.13.0a1736231082.dist-info → pulumi_gcp-8.13.1.dist-info}/WHEEL +1 -1
- {pulumi_gcp-8.13.0a1736231082.dist-info → pulumi_gcp-8.13.1.dist-info}/top_level.txt +0 -0
pulumi_gcp/cloudrunv2/_inputs.py
CHANGED
@@ -4480,7 +4480,8 @@ if not MYPY:
|
|
4480
4480
|
class ServiceTemplateScalingArgsDict(TypedDict):
|
4481
4481
|
max_instance_count: NotRequired[pulumi.Input[int]]
|
4482
4482
|
"""
|
4483
|
-
Maximum number of serving instances that this resource should have.
|
4483
|
+
Maximum number of serving instances that this resource should have. Must not be less than minimum instance count. If absent, Cloud Run will calculate
|
4484
|
+
a default value based on the project's available container instances quota in the region and specified instance size.
|
4484
4485
|
"""
|
4485
4486
|
min_instance_count: NotRequired[pulumi.Input[int]]
|
4486
4487
|
"""
|
@@ -4495,7 +4496,8 @@ class ServiceTemplateScalingArgs:
|
|
4495
4496
|
max_instance_count: Optional[pulumi.Input[int]] = None,
|
4496
4497
|
min_instance_count: Optional[pulumi.Input[int]] = None):
|
4497
4498
|
"""
|
4498
|
-
:param pulumi.Input[int] max_instance_count: Maximum number of serving instances that this resource should have.
|
4499
|
+
:param pulumi.Input[int] max_instance_count: Maximum number of serving instances that this resource should have. Must not be less than minimum instance count. If absent, Cloud Run will calculate
|
4500
|
+
a default value based on the project's available container instances quota in the region and specified instance size.
|
4499
4501
|
:param pulumi.Input[int] min_instance_count: Minimum number of instances for the service, to be divided among all revisions receiving traffic.
|
4500
4502
|
"""
|
4501
4503
|
if max_instance_count is not None:
|
@@ -4507,7 +4509,8 @@ class ServiceTemplateScalingArgs:
|
|
4507
4509
|
@pulumi.getter(name="maxInstanceCount")
|
4508
4510
|
def max_instance_count(self) -> Optional[pulumi.Input[int]]:
|
4509
4511
|
"""
|
4510
|
-
Maximum number of serving instances that this resource should have.
|
4512
|
+
Maximum number of serving instances that this resource should have. Must not be less than minimum instance count. If absent, Cloud Run will calculate
|
4513
|
+
a default value based on the project's available container instances quota in the region and specified instance size.
|
4511
4514
|
"""
|
4512
4515
|
return pulumi.get(self, "max_instance_count")
|
4513
4516
|
|
pulumi_gcp/cloudrunv2/outputs.py
CHANGED
@@ -3366,7 +3366,8 @@ class ServiceTemplateScaling(dict):
|
|
3366
3366
|
max_instance_count: Optional[int] = None,
|
3367
3367
|
min_instance_count: Optional[int] = None):
|
3368
3368
|
"""
|
3369
|
-
:param int max_instance_count: Maximum number of serving instances that this resource should have.
|
3369
|
+
:param int max_instance_count: Maximum number of serving instances that this resource should have. Must not be less than minimum instance count. If absent, Cloud Run will calculate
|
3370
|
+
a default value based on the project's available container instances quota in the region and specified instance size.
|
3370
3371
|
:param int min_instance_count: Minimum number of instances for the service, to be divided among all revisions receiving traffic.
|
3371
3372
|
"""
|
3372
3373
|
if max_instance_count is not None:
|
@@ -3378,7 +3379,8 @@ class ServiceTemplateScaling(dict):
|
|
3378
3379
|
@pulumi.getter(name="maxInstanceCount")
|
3379
3380
|
def max_instance_count(self) -> Optional[int]:
|
3380
3381
|
"""
|
3381
|
-
Maximum number of serving instances that this resource should have.
|
3382
|
+
Maximum number of serving instances that this resource should have. Must not be less than minimum instance count. If absent, Cloud Run will calculate
|
3383
|
+
a default value based on the project's available container instances quota in the region and specified instance size.
|
3382
3384
|
"""
|
3383
3385
|
return pulumi.get(self, "max_instance_count")
|
3384
3386
|
|
@@ -6442,8 +6444,9 @@ class GetServiceTemplateScalingResult(dict):
|
|
6442
6444
|
max_instance_count: int,
|
6443
6445
|
min_instance_count: int):
|
6444
6446
|
"""
|
6445
|
-
:param int max_instance_count: Maximum number of serving instances that this resource should have.
|
6446
|
-
|
6447
|
+
:param int max_instance_count: Maximum number of serving instances that this resource should have. Must not be less than minimum instance count. If absent, Cloud Run will calculate
|
6448
|
+
a default value based on the project's available container instances quota in the region and specified instance size.
|
6449
|
+
:param int min_instance_count: Minimum number of serving instances that this resource should have. Defaults to 0. Must not be greater than maximum instance count.
|
6447
6450
|
"""
|
6448
6451
|
pulumi.set(__self__, "max_instance_count", max_instance_count)
|
6449
6452
|
pulumi.set(__self__, "min_instance_count", min_instance_count)
|
@@ -6452,7 +6455,8 @@ class GetServiceTemplateScalingResult(dict):
|
|
6452
6455
|
@pulumi.getter(name="maxInstanceCount")
|
6453
6456
|
def max_instance_count(self) -> int:
|
6454
6457
|
"""
|
6455
|
-
Maximum number of serving instances that this resource should have.
|
6458
|
+
Maximum number of serving instances that this resource should have. Must not be less than minimum instance count. If absent, Cloud Run will calculate
|
6459
|
+
a default value based on the project's available container instances quota in the region and specified instance size.
|
6456
6460
|
"""
|
6457
6461
|
return pulumi.get(self, "max_instance_count")
|
6458
6462
|
|
@@ -6460,7 +6464,7 @@ class GetServiceTemplateScalingResult(dict):
|
|
6460
6464
|
@pulumi.getter(name="minInstanceCount")
|
6461
6465
|
def min_instance_count(self) -> int:
|
6462
6466
|
"""
|
6463
|
-
Minimum number of serving instances that this resource should have.
|
6467
|
+
Minimum number of serving instances that this resource should have. Defaults to 0. Must not be greater than maximum instance count.
|
6464
6468
|
"""
|
6465
6469
|
return pulumi.get(self, "min_instance_count")
|
6466
6470
|
|
pulumi_gcp/composer/_inputs.py
CHANGED
@@ -19,6 +19,8 @@ __all__ = [
|
|
19
19
|
'EnvironmentConfigArgsDict',
|
20
20
|
'EnvironmentConfigDataRetentionConfigArgs',
|
21
21
|
'EnvironmentConfigDataRetentionConfigArgsDict',
|
22
|
+
'EnvironmentConfigDataRetentionConfigAirflowMetadataRetentionConfigArgs',
|
23
|
+
'EnvironmentConfigDataRetentionConfigAirflowMetadataRetentionConfigArgsDict',
|
22
24
|
'EnvironmentConfigDataRetentionConfigTaskLogsRetentionConfigArgs',
|
23
25
|
'EnvironmentConfigDataRetentionConfigTaskLogsRetentionConfigArgsDict',
|
24
26
|
'EnvironmentConfigDatabaseConfigArgs',
|
@@ -498,7 +500,11 @@ class EnvironmentConfigArgs:
|
|
498
500
|
|
499
501
|
if not MYPY:
|
500
502
|
class EnvironmentConfigDataRetentionConfigArgsDict(TypedDict):
|
501
|
-
|
503
|
+
airflow_metadata_retention_configs: NotRequired[pulumi.Input[Sequence[pulumi.Input['EnvironmentConfigDataRetentionConfigAirflowMetadataRetentionConfigArgsDict']]]]
|
504
|
+
"""
|
505
|
+
Optional. The configuration setting for database retention.
|
506
|
+
"""
|
507
|
+
task_logs_retention_configs: NotRequired[pulumi.Input[Sequence[pulumi.Input['EnvironmentConfigDataRetentionConfigTaskLogsRetentionConfigArgsDict']]]]
|
502
508
|
"""
|
503
509
|
Optional. The configuration setting for Task Logs.
|
504
510
|
"""
|
@@ -508,25 +514,94 @@ elif False:
|
|
508
514
|
@pulumi.input_type
|
509
515
|
class EnvironmentConfigDataRetentionConfigArgs:
|
510
516
|
def __init__(__self__, *,
|
511
|
-
|
517
|
+
airflow_metadata_retention_configs: Optional[pulumi.Input[Sequence[pulumi.Input['EnvironmentConfigDataRetentionConfigAirflowMetadataRetentionConfigArgs']]]] = None,
|
518
|
+
task_logs_retention_configs: Optional[pulumi.Input[Sequence[pulumi.Input['EnvironmentConfigDataRetentionConfigTaskLogsRetentionConfigArgs']]]] = None):
|
512
519
|
"""
|
520
|
+
:param pulumi.Input[Sequence[pulumi.Input['EnvironmentConfigDataRetentionConfigAirflowMetadataRetentionConfigArgs']]] airflow_metadata_retention_configs: Optional. The configuration setting for database retention.
|
513
521
|
:param pulumi.Input[Sequence[pulumi.Input['EnvironmentConfigDataRetentionConfigTaskLogsRetentionConfigArgs']]] task_logs_retention_configs: Optional. The configuration setting for Task Logs.
|
514
522
|
"""
|
515
|
-
|
523
|
+
if airflow_metadata_retention_configs is not None:
|
524
|
+
pulumi.set(__self__, "airflow_metadata_retention_configs", airflow_metadata_retention_configs)
|
525
|
+
if task_logs_retention_configs is not None:
|
526
|
+
pulumi.set(__self__, "task_logs_retention_configs", task_logs_retention_configs)
|
527
|
+
|
528
|
+
@property
|
529
|
+
@pulumi.getter(name="airflowMetadataRetentionConfigs")
|
530
|
+
def airflow_metadata_retention_configs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['EnvironmentConfigDataRetentionConfigAirflowMetadataRetentionConfigArgs']]]]:
|
531
|
+
"""
|
532
|
+
Optional. The configuration setting for database retention.
|
533
|
+
"""
|
534
|
+
return pulumi.get(self, "airflow_metadata_retention_configs")
|
535
|
+
|
536
|
+
@airflow_metadata_retention_configs.setter
|
537
|
+
def airflow_metadata_retention_configs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['EnvironmentConfigDataRetentionConfigAirflowMetadataRetentionConfigArgs']]]]):
|
538
|
+
pulumi.set(self, "airflow_metadata_retention_configs", value)
|
516
539
|
|
517
540
|
@property
|
518
541
|
@pulumi.getter(name="taskLogsRetentionConfigs")
|
519
|
-
def task_logs_retention_configs(self) -> pulumi.Input[Sequence[pulumi.Input['EnvironmentConfigDataRetentionConfigTaskLogsRetentionConfigArgs']]]:
|
542
|
+
def task_logs_retention_configs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['EnvironmentConfigDataRetentionConfigTaskLogsRetentionConfigArgs']]]]:
|
520
543
|
"""
|
521
544
|
Optional. The configuration setting for Task Logs.
|
522
545
|
"""
|
523
546
|
return pulumi.get(self, "task_logs_retention_configs")
|
524
547
|
|
525
548
|
@task_logs_retention_configs.setter
|
526
|
-
def task_logs_retention_configs(self, value: pulumi.Input[Sequence[pulumi.Input['EnvironmentConfigDataRetentionConfigTaskLogsRetentionConfigArgs']]]):
|
549
|
+
def task_logs_retention_configs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['EnvironmentConfigDataRetentionConfigTaskLogsRetentionConfigArgs']]]]):
|
527
550
|
pulumi.set(self, "task_logs_retention_configs", value)
|
528
551
|
|
529
552
|
|
553
|
+
if not MYPY:
|
554
|
+
class EnvironmentConfigDataRetentionConfigAirflowMetadataRetentionConfigArgsDict(TypedDict):
|
555
|
+
retention_days: NotRequired[pulumi.Input[int]]
|
556
|
+
"""
|
557
|
+
How many days data should be retained for. This field is supported for Cloud Composer environments in composer 3 and newer.
|
558
|
+
"""
|
559
|
+
retention_mode: NotRequired[pulumi.Input[str]]
|
560
|
+
"""
|
561
|
+
Whether database retention is enabled or not. This field is supported for Cloud Composer environments in composer 3 and newer.
|
562
|
+
"""
|
563
|
+
elif False:
|
564
|
+
EnvironmentConfigDataRetentionConfigAirflowMetadataRetentionConfigArgsDict: TypeAlias = Mapping[str, Any]
|
565
|
+
|
566
|
+
@pulumi.input_type
|
567
|
+
class EnvironmentConfigDataRetentionConfigAirflowMetadataRetentionConfigArgs:
|
568
|
+
def __init__(__self__, *,
|
569
|
+
retention_days: Optional[pulumi.Input[int]] = None,
|
570
|
+
retention_mode: Optional[pulumi.Input[str]] = None):
|
571
|
+
"""
|
572
|
+
:param pulumi.Input[int] retention_days: How many days data should be retained for. This field is supported for Cloud Composer environments in composer 3 and newer.
|
573
|
+
:param pulumi.Input[str] retention_mode: Whether database retention is enabled or not. This field is supported for Cloud Composer environments in composer 3 and newer.
|
574
|
+
"""
|
575
|
+
if retention_days is not None:
|
576
|
+
pulumi.set(__self__, "retention_days", retention_days)
|
577
|
+
if retention_mode is not None:
|
578
|
+
pulumi.set(__self__, "retention_mode", retention_mode)
|
579
|
+
|
580
|
+
@property
|
581
|
+
@pulumi.getter(name="retentionDays")
|
582
|
+
def retention_days(self) -> Optional[pulumi.Input[int]]:
|
583
|
+
"""
|
584
|
+
How many days data should be retained for. This field is supported for Cloud Composer environments in composer 3 and newer.
|
585
|
+
"""
|
586
|
+
return pulumi.get(self, "retention_days")
|
587
|
+
|
588
|
+
@retention_days.setter
|
589
|
+
def retention_days(self, value: Optional[pulumi.Input[int]]):
|
590
|
+
pulumi.set(self, "retention_days", value)
|
591
|
+
|
592
|
+
@property
|
593
|
+
@pulumi.getter(name="retentionMode")
|
594
|
+
def retention_mode(self) -> Optional[pulumi.Input[str]]:
|
595
|
+
"""
|
596
|
+
Whether database retention is enabled or not. This field is supported for Cloud Composer environments in composer 3 and newer.
|
597
|
+
"""
|
598
|
+
return pulumi.get(self, "retention_mode")
|
599
|
+
|
600
|
+
@retention_mode.setter
|
601
|
+
def retention_mode(self, value: Optional[pulumi.Input[str]]):
|
602
|
+
pulumi.set(self, "retention_mode", value)
|
603
|
+
|
604
|
+
|
530
605
|
if not MYPY:
|
531
606
|
class EnvironmentConfigDataRetentionConfigTaskLogsRetentionConfigArgsDict(TypedDict):
|
532
607
|
storage_mode: NotRequired[pulumi.Input[str]]
|
pulumi_gcp/composer/outputs.py
CHANGED
@@ -18,6 +18,7 @@ from . import outputs
|
|
18
18
|
__all__ = [
|
19
19
|
'EnvironmentConfig',
|
20
20
|
'EnvironmentConfigDataRetentionConfig',
|
21
|
+
'EnvironmentConfigDataRetentionConfigAirflowMetadataRetentionConfig',
|
21
22
|
'EnvironmentConfigDataRetentionConfigTaskLogsRetentionConfig',
|
22
23
|
'EnvironmentConfigDatabaseConfig',
|
23
24
|
'EnvironmentConfigEncryptionConfig',
|
@@ -43,6 +44,7 @@ __all__ = [
|
|
43
44
|
'EnvironmentStorageConfig',
|
44
45
|
'GetEnvironmentConfigResult',
|
45
46
|
'GetEnvironmentConfigDataRetentionConfigResult',
|
47
|
+
'GetEnvironmentConfigDataRetentionConfigAirflowMetadataRetentionConfigResult',
|
46
48
|
'GetEnvironmentConfigDataRetentionConfigTaskLogsRetentionConfigResult',
|
47
49
|
'GetEnvironmentConfigDatabaseConfigResult',
|
48
50
|
'GetEnvironmentConfigEncryptionConfigResult',
|
@@ -386,7 +388,9 @@ class EnvironmentConfigDataRetentionConfig(dict):
|
|
386
388
|
@staticmethod
|
387
389
|
def __key_warning(key: str):
|
388
390
|
suggest = None
|
389
|
-
if key == "
|
391
|
+
if key == "airflowMetadataRetentionConfigs":
|
392
|
+
suggest = "airflow_metadata_retention_configs"
|
393
|
+
elif key == "taskLogsRetentionConfigs":
|
390
394
|
suggest = "task_logs_retention_configs"
|
391
395
|
|
392
396
|
if suggest:
|
@@ -401,21 +405,84 @@ class EnvironmentConfigDataRetentionConfig(dict):
|
|
401
405
|
return super().get(key, default)
|
402
406
|
|
403
407
|
def __init__(__self__, *,
|
404
|
-
|
408
|
+
airflow_metadata_retention_configs: Optional[Sequence['outputs.EnvironmentConfigDataRetentionConfigAirflowMetadataRetentionConfig']] = None,
|
409
|
+
task_logs_retention_configs: Optional[Sequence['outputs.EnvironmentConfigDataRetentionConfigTaskLogsRetentionConfig']] = None):
|
405
410
|
"""
|
411
|
+
:param Sequence['EnvironmentConfigDataRetentionConfigAirflowMetadataRetentionConfigArgs'] airflow_metadata_retention_configs: Optional. The configuration setting for database retention.
|
406
412
|
:param Sequence['EnvironmentConfigDataRetentionConfigTaskLogsRetentionConfigArgs'] task_logs_retention_configs: Optional. The configuration setting for Task Logs.
|
407
413
|
"""
|
408
|
-
|
414
|
+
if airflow_metadata_retention_configs is not None:
|
415
|
+
pulumi.set(__self__, "airflow_metadata_retention_configs", airflow_metadata_retention_configs)
|
416
|
+
if task_logs_retention_configs is not None:
|
417
|
+
pulumi.set(__self__, "task_logs_retention_configs", task_logs_retention_configs)
|
418
|
+
|
419
|
+
@property
|
420
|
+
@pulumi.getter(name="airflowMetadataRetentionConfigs")
|
421
|
+
def airflow_metadata_retention_configs(self) -> Optional[Sequence['outputs.EnvironmentConfigDataRetentionConfigAirflowMetadataRetentionConfig']]:
|
422
|
+
"""
|
423
|
+
Optional. The configuration setting for database retention.
|
424
|
+
"""
|
425
|
+
return pulumi.get(self, "airflow_metadata_retention_configs")
|
409
426
|
|
410
427
|
@property
|
411
428
|
@pulumi.getter(name="taskLogsRetentionConfigs")
|
412
|
-
def task_logs_retention_configs(self) -> Sequence['outputs.EnvironmentConfigDataRetentionConfigTaskLogsRetentionConfig']:
|
429
|
+
def task_logs_retention_configs(self) -> Optional[Sequence['outputs.EnvironmentConfigDataRetentionConfigTaskLogsRetentionConfig']]:
|
413
430
|
"""
|
414
431
|
Optional. The configuration setting for Task Logs.
|
415
432
|
"""
|
416
433
|
return pulumi.get(self, "task_logs_retention_configs")
|
417
434
|
|
418
435
|
|
436
|
+
@pulumi.output_type
|
437
|
+
class EnvironmentConfigDataRetentionConfigAirflowMetadataRetentionConfig(dict):
|
438
|
+
@staticmethod
|
439
|
+
def __key_warning(key: str):
|
440
|
+
suggest = None
|
441
|
+
if key == "retentionDays":
|
442
|
+
suggest = "retention_days"
|
443
|
+
elif key == "retentionMode":
|
444
|
+
suggest = "retention_mode"
|
445
|
+
|
446
|
+
if suggest:
|
447
|
+
pulumi.log.warn(f"Key '{key}' not found in EnvironmentConfigDataRetentionConfigAirflowMetadataRetentionConfig. Access the value via the '{suggest}' property getter instead.")
|
448
|
+
|
449
|
+
def __getitem__(self, key: str) -> Any:
|
450
|
+
EnvironmentConfigDataRetentionConfigAirflowMetadataRetentionConfig.__key_warning(key)
|
451
|
+
return super().__getitem__(key)
|
452
|
+
|
453
|
+
def get(self, key: str, default = None) -> Any:
|
454
|
+
EnvironmentConfigDataRetentionConfigAirflowMetadataRetentionConfig.__key_warning(key)
|
455
|
+
return super().get(key, default)
|
456
|
+
|
457
|
+
def __init__(__self__, *,
|
458
|
+
retention_days: Optional[int] = None,
|
459
|
+
retention_mode: Optional[str] = None):
|
460
|
+
"""
|
461
|
+
:param int retention_days: How many days data should be retained for. This field is supported for Cloud Composer environments in composer 3 and newer.
|
462
|
+
:param str retention_mode: Whether database retention is enabled or not. This field is supported for Cloud Composer environments in composer 3 and newer.
|
463
|
+
"""
|
464
|
+
if retention_days is not None:
|
465
|
+
pulumi.set(__self__, "retention_days", retention_days)
|
466
|
+
if retention_mode is not None:
|
467
|
+
pulumi.set(__self__, "retention_mode", retention_mode)
|
468
|
+
|
469
|
+
@property
|
470
|
+
@pulumi.getter(name="retentionDays")
|
471
|
+
def retention_days(self) -> Optional[int]:
|
472
|
+
"""
|
473
|
+
How many days data should be retained for. This field is supported for Cloud Composer environments in composer 3 and newer.
|
474
|
+
"""
|
475
|
+
return pulumi.get(self, "retention_days")
|
476
|
+
|
477
|
+
@property
|
478
|
+
@pulumi.getter(name="retentionMode")
|
479
|
+
def retention_mode(self) -> Optional[str]:
|
480
|
+
"""
|
481
|
+
Whether database retention is enabled or not. This field is supported for Cloud Composer environments in composer 3 and newer.
|
482
|
+
"""
|
483
|
+
return pulumi.get(self, "retention_mode")
|
484
|
+
|
485
|
+
|
419
486
|
@pulumi.output_type
|
420
487
|
class EnvironmentConfigDataRetentionConfigTaskLogsRetentionConfig(dict):
|
421
488
|
@staticmethod
|
@@ -2169,12 +2236,23 @@ class GetEnvironmentConfigResult(dict):
|
|
2169
2236
|
@pulumi.output_type
|
2170
2237
|
class GetEnvironmentConfigDataRetentionConfigResult(dict):
|
2171
2238
|
def __init__(__self__, *,
|
2239
|
+
airflow_metadata_retention_configs: Sequence['outputs.GetEnvironmentConfigDataRetentionConfigAirflowMetadataRetentionConfigResult'],
|
2172
2240
|
task_logs_retention_configs: Sequence['outputs.GetEnvironmentConfigDataRetentionConfigTaskLogsRetentionConfigResult']):
|
2173
2241
|
"""
|
2242
|
+
:param Sequence['GetEnvironmentConfigDataRetentionConfigAirflowMetadataRetentionConfigArgs'] airflow_metadata_retention_configs: Optional. The configuration setting for database retention.
|
2174
2243
|
:param Sequence['GetEnvironmentConfigDataRetentionConfigTaskLogsRetentionConfigArgs'] task_logs_retention_configs: Optional. The configuration setting for Task Logs.
|
2175
2244
|
"""
|
2245
|
+
pulumi.set(__self__, "airflow_metadata_retention_configs", airflow_metadata_retention_configs)
|
2176
2246
|
pulumi.set(__self__, "task_logs_retention_configs", task_logs_retention_configs)
|
2177
2247
|
|
2248
|
+
@property
|
2249
|
+
@pulumi.getter(name="airflowMetadataRetentionConfigs")
|
2250
|
+
def airflow_metadata_retention_configs(self) -> Sequence['outputs.GetEnvironmentConfigDataRetentionConfigAirflowMetadataRetentionConfigResult']:
|
2251
|
+
"""
|
2252
|
+
Optional. The configuration setting for database retention.
|
2253
|
+
"""
|
2254
|
+
return pulumi.get(self, "airflow_metadata_retention_configs")
|
2255
|
+
|
2178
2256
|
@property
|
2179
2257
|
@pulumi.getter(name="taskLogsRetentionConfigs")
|
2180
2258
|
def task_logs_retention_configs(self) -> Sequence['outputs.GetEnvironmentConfigDataRetentionConfigTaskLogsRetentionConfigResult']:
|
@@ -2184,6 +2262,35 @@ class GetEnvironmentConfigDataRetentionConfigResult(dict):
|
|
2184
2262
|
return pulumi.get(self, "task_logs_retention_configs")
|
2185
2263
|
|
2186
2264
|
|
2265
|
+
@pulumi.output_type
|
2266
|
+
class GetEnvironmentConfigDataRetentionConfigAirflowMetadataRetentionConfigResult(dict):
|
2267
|
+
def __init__(__self__, *,
|
2268
|
+
retention_days: int,
|
2269
|
+
retention_mode: str):
|
2270
|
+
"""
|
2271
|
+
:param int retention_days: How many days data should be retained for. This field is supported for Cloud Composer environments in composer 3 and newer.
|
2272
|
+
:param str retention_mode: Whether database retention is enabled or not. This field is supported for Cloud Composer environments in composer 3 and newer.
|
2273
|
+
"""
|
2274
|
+
pulumi.set(__self__, "retention_days", retention_days)
|
2275
|
+
pulumi.set(__self__, "retention_mode", retention_mode)
|
2276
|
+
|
2277
|
+
@property
|
2278
|
+
@pulumi.getter(name="retentionDays")
|
2279
|
+
def retention_days(self) -> int:
|
2280
|
+
"""
|
2281
|
+
How many days data should be retained for. This field is supported for Cloud Composer environments in composer 3 and newer.
|
2282
|
+
"""
|
2283
|
+
return pulumi.get(self, "retention_days")
|
2284
|
+
|
2285
|
+
@property
|
2286
|
+
@pulumi.getter(name="retentionMode")
|
2287
|
+
def retention_mode(self) -> str:
|
2288
|
+
"""
|
2289
|
+
Whether database retention is enabled or not. This field is supported for Cloud Composer environments in composer 3 and newer.
|
2290
|
+
"""
|
2291
|
+
return pulumi.get(self, "retention_mode")
|
2292
|
+
|
2293
|
+
|
2187
2294
|
@pulumi.output_type
|
2188
2295
|
class GetEnvironmentConfigDataRetentionConfigTaskLogsRetentionConfigResult(dict):
|
2189
2296
|
def __init__(__self__, *,
|